/* ===== Theme tokens ===== */
:root {
  --accent: #f5f5f5;
  --radius: 14px;
  --maxw: 1100px;
  --font-display: 'Anton', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Blackout theme (default) */
[data-theme="blackout"] {
  --accent: #f5f5f5;
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --surface: #171717;
  --surface-2: #1f1f1f;
  --text: #f5f5f5;
  --text-dim: #9a9a9a;
  --border: #2a2a2a;
  --shadow: 0 20px 50px rgba(0, 0, 0, .6);
  --on-accent: #0a0a0a;
}

/* Off-white theme (Nike cream) */
[data-theme="offwhite"] {
  --accent: #111111;
  --bg: #f4f1ea;
  --bg-alt: #ece7dd;
  --surface: #ffffff;
  --surface-2: #f4f1ea;
  --text: #111111;
  --text-dim: #6b6b6b;
  --border: #dcd6c8;
  --shadow: 0 20px 50px rgba(0, 0, 0, .12);
  --on-accent: #ffffff;
}

/* When accent is very light, flip text-on-accent to dark for contrast */
[data-theme="offwhite"] { --on-accent: #ffffff; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  position: relative;
}
body > *:not(.gym-lights):not(.theme-bar):not(.mobile-bar):not(.cookie-banner) { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

/* ===== Gym lights (subtle) =====
   Three soft overhead glows. They flicker on once at page load,
   then hold a faint steady wash — felt more than seen. */
.gym-lights {
  position: absolute; top: 0; left: 0; right: 0; height: 55vh;
  display: flex; justify-content: space-evenly;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.beam {
  width: 26vw; max-width: 360px; height: 100%;
  background: radial-gradient(ellipse 58% 88% at 50% 0%,
    color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%);
  opacity: 0;
  will-change: opacity;
  /* fade up calmly on load, then hold a faint living hum — no flicker */
  animation:
    gymFadeIn 1.4s var(--ease) both,
    gymHum 7.5s ease-in-out 1.4s infinite;
}
[data-theme="offwhite"] .beam {
  background: radial-gradient(ellipse 58% 88% at 50% 0%, rgba(0,0,0,.06), transparent 72%);
}
@keyframes gymFadeIn { from { opacity: 0; } to { opacity: 1; } }
/* very subtle ongoing flicker — a faint breathing, barely a dip */
@keyframes gymHum {
  0%   { opacity: 1; }
  25%  { opacity: .98; }
  50%  { opacity: .95; }
  52%  { opacity: .92; }
  55%  { opacity: .97; }
  78%  { opacity: .99; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .beam { animation: none; opacity: 1; }
}

/* ===== Newsletter signup (under the basketball) ===== */
.news-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 16px; flex-wrap: wrap;
  max-width: 470px; margin: 30px auto 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 20px;
}
.news-bar.hidden { display: none; }
.nb-copy { font-size: 13.5px; color: var(--text-dim); }
.nb-copy strong { color: var(--text); font-weight: 700; }
.nb-form { display: flex; gap: 8px; align-items: center; }
.nb-form input[type="email"] {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 15px; color: var(--text); font-family: var(--font-body); font-size: 13.5px;
  width: 210px; transition: border-color .2s;
}
.nb-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.nb-btn {
  background: var(--accent); color: var(--on-accent); border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  padding: 9px 20px; border-radius: 999px;
  transition: transform .15s var(--ease), opacity .2s;
}
.nb-btn:hover:not(:disabled) { transform: translateY(-1px); }
.nb-btn:disabled { opacity: .55; cursor: not-allowed; }
.nb-msg { font-size: 12.5px; font-weight: 600; color: var(--text-dim); width: 100%; text-align: center; }
.nb-msg:empty { display: none; }
.nb-msg.ok { color: var(--accent); }
.nb-msg.err { color: #e05b4a; }

@media (max-width: 620px) {
  .news-bar { border-radius: var(--radius); padding: 14px 16px; max-width: none; }
  .nb-copy { font-size: 12.5px; width: 100%; text-align: center; }
  .nb-form { width: 100%; }
  .nb-form input[type="email"] { flex: 1; width: auto; min-width: 0; }
}

/* ===== Theme bar ===== */
.theme-bar {
  position: fixed;
  top: 14px; right: 14px;
  z-index: 100;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  border-radius: 999px;
  padding: 4px 6px;
  opacity: .5;
  transition: opacity .25s var(--ease), border-color .25s, background .25s;
}
.theme-bar:hover, .theme-bar:focus-within { opacity: 1; border-color: var(--border); }
.theme-toggle {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: none; color: var(--text-dim);
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .4px; text-transform: uppercase;
  cursor: pointer; padding: 3px 6px;
  transition: color .2s;
}
.theme-bar:hover .theme-toggle, .theme-bar:focus-within .theme-toggle { color: var(--text); }
.theme-toggle .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--text-dim); border: 1px solid var(--border);
  transition: background .2s;
}
.theme-bar:hover .theme-toggle .dot { background: var(--text); }
/* ===== Nav ===== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto;
  padding: 30px 24px 22px;
}
.nav .nav-links { padding-top: 26px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.logo-mark {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1px; line-height: 1.2;
  background: var(--accent); color: var(--on-accent);
  padding: 3px 14px; border-radius: 8px;
}
.logo-text {
  font-weight: 800; letter-spacing: 1.5px; font-size: 11px;
  color: var(--text-dim); text-transform: uppercase; white-space: nowrap;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 14px; }
.nav-links a { color: var(--text-dim); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--accent); color: var(--on-accent) !important;
  padding: 9px 18px; border-radius: 999px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s var(--ease), background .2s, color .2s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn.sm { padding: 9px 16px; font-size: 13px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  padding: 30px 24px 70px;
}
.hero-grid {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.hero-sub { margin: 0 auto 34px; font-size: 19px; color: var(--text-dim); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* interactive dot basketball */
.ball-wrap { text-align: center; touch-action: none; }
#ballCanvas {
  width: 100%; max-width: 500px; aspect-ratio: 1 / 1;
  cursor: grab; display: inline-block;
}
#ballCanvas.dragging { cursor: grabbing; }
.ball-hint {
  font-size: 5px; letter-spacing: .4px; text-transform: uppercase;
  color: var(--text-dim); font-weight: 600; margin-top: 0;
  text-align: right; padding-right: 8px;
  animation: hintFade 3s ease 4s both;
}
@keyframes hintFade { to { opacity: .35; } }

@media (max-width: 860px) {
  #ballCanvas { max-width: 330px; }
}

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; }
.section.alt { background: var(--bg-alt); max-width: none; }
.section.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 44px; text-align: center; }
.section-head h1, .section-head h2 {
  font-family: var(--font-display); font-size: clamp(38px, 7vw, 64px);
  letter-spacing: 1px; text-transform: uppercase; font-weight: 400; line-height: 1.05;
}
.section-head p { color: var(--text-dim); margin-top: 8px; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s var(--ease);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--accent); border-width: 2px; }
/* gold badge, sitting straight in the corner */
.price-badge {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, #e6b432, #f5d67a 45%, #c9971f);
  color: #1a1205;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.price-name { font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .5px; }
.price-sessions { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.price-amount {
  font-family: var(--font-display); font-size: 52px; margin: 14px 0 2px; line-height: 1;
}
.price-amount .per { font-family: var(--font-body); font-size: 15px; color: var(--text-dim); font-weight: 500; }
.price-details {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  opacity: 0; margin-top: 0;
}
.price-card.open .price-details { max-height: 220px; opacity: 1; margin-top: 18px; }
.price-details ul { list-style: none; display: grid; gap: 8px; }
.price-details li {
  display: flex; justify-content: space-between; font-size: 14px;
  padding: 8px 0; border-top: 1px solid var(--border); color: var(--text-dim);
}
.price-details li b { color: var(--text); }
.price-toggle { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.price-toggle::after { content: '›'; transition: transform .3s var(--ease); font-size: 18px; }
.price-card.open .price-toggle::after { transform: rotate(90deg); }
.pricing-note { text-align: center; margin-top: 34px; color: var(--text-dim); font-size: 14px; }
.pricing-note a { color: var(--accent); font-weight: 600; }

/* ===== Coaches ===== */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 720px; }
.coach-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px; text-align: center;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s var(--ease);
}
.coach-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.coach-avatar {
  width: 66px; height: 66px; margin: 0 auto 14px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-size: 30px;
}
.coach-card h3 { font-size: 22px; font-weight: 800; }
.coach-phone { color: var(--text-dim); margin: 4px 0 18px; font-weight: 600; letter-spacing: .5px; }
.coach-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ===== Contact form ===== */
.contact-form { max-width: 620px; margin: 0 auto; display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-dim); }
.contact-form input, .contact-form select, .contact-form textarea {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact-form .checkbox-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer;
}
.contact-form .checkbox-row input {
  width: 18px; height: 18px; flex: 0 0 auto;
  accent-color: var(--accent); cursor: pointer;
}
.contact-form .btn { justify-self: start; }
.form-hint { font-size: 13px; color: var(--text-dim); }

/* ===== Map ===== */
.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  margin-bottom: 20px; box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }
#location { text-align: center; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 56px 24px; text-align: center;
}
.footer-logo { justify-content: center; margin-bottom: 26px; }
.socials { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.social {
  width: 54px; height: 54px; flex: 0 0 auto;
  display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 50%; box-shadow: var(--shadow);
  animation: floatBob 3.6s ease-in-out infinite;
  transition: border-color .2s, color .2s, box-shadow .25s var(--ease), background .2s;
}
.social:nth-child(2) { animation-delay: .6s; }
.social:nth-child(3) { animation-delay: 1.2s; }
.social:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 16px 34px rgba(0,0,0,.45); }
@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .social { animation: none; } }
.footer-links {
  display: flex; gap: 8px 20px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 18px; font-size: 13px; font-weight: 600;
}
.footer-links a { color: var(--text-dim); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.copyright { color: var(--text-dim); font-size: 13px; }

/* ===== Cookie consent banner ===== */
.cookie-banner {
  position: fixed; z-index: 120;
  left: 50%; bottom: 18px; transform: translate(-50%, 180%);
  width: min(680px, calc(100% - 28px));
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow);
  transition: transform .5s var(--ease); pointer-events: none;
}
.cookie-banner.show { transform: translate(-50%, 0); pointer-events: auto; }
.cookie-text { flex: 1 1 260px; margin: 0; font-size: 13px; color: var(--text-dim); }
.cookie-text a { color: var(--accent); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }

/* ===== Latest news (home page) ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s var(--ease);
}
.news-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* placeholder when a post has no image */
.news-media-empty { display: grid; place-items: center; }
.news-media-empty span {
  font-family: var(--font-display); font-size: 30px;
  background: var(--accent); color: var(--on-accent); padding: 2px 14px; border-radius: 8px; opacity: .9;
}
.news-text { padding: 20px 22px 24px; }
.news-date { color: var(--text-dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; }
.news-title {
  font-family: var(--font-display); font-size: 22px; text-transform: uppercase;
  letter-spacing: .5px; line-height: 1.12; margin: 6px 0 8px;
}
.news-excerpt {
  color: var(--text-dim); font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== Blog / announcements ===== */
.muted-center { text-align: center; color: var(--text-dim); }
.post-list { display: grid; gap: 20px; max-width: 780px; margin: 0 auto; }
.post-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s var(--ease);
}
/* hero image on an announcement — bleeds to the card edges */
.post-hero {
  margin: -30px -28px 22px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2);
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
/* TF&F pill logo, tucked in the corner of every announcement */
.post-badge {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: .5px; line-height: 1.3;
  background: var(--accent); color: var(--on-accent);
  padding: 2px 11px; border-radius: 7px;
}
.post-date {
  color: var(--text-dim); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
}
.post-title {
  font-family: var(--font-display); font-size: clamp(26px, 4.5vw, 38px);
  text-transform: uppercase; letter-spacing: .5px; line-height: 1.08;
  margin: 8px 0 12px; padding-right: 64px;
}
.post-excerpt { color: var(--text); font-size: 17px; font-weight: 500; margin-bottom: 16px; }
.post-body { color: var(--text-dim); font-size: 15px; }
.post-title a { color: inherit; }
.post-title a:hover { color: var(--accent); }
.post-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent); }

/* single post page */
.post-single {
  max-width: 780px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
}
.post-single .post-title { padding-right: 0; }
.post-hero.solo { margin: -34px -30px 24px; }
.crumbs {
  max-width: 780px; margin: 0 auto 16px;
  font-size: 12px; font-weight: 600; color: var(--text-dim);
  letter-spacing: .5px; display: flex; gap: 8px;
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--accent); }

/* ===== Local-SEO landing pages ===== */
.loc-body { max-width: 780px; margin: 0 auto; display: grid; gap: 18px; }
.loc-body p { color: var(--text-dim); font-size: 16px; }
.loc-body a { color: var(--accent); font-weight: 600; }

.loc-plans { max-width: 780px; margin: 0 auto; }
.loc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.loc-table th {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border);
  color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px;
}
.loc-table td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.loc-table td b { color: var(--text); font-size: 17px; }
.loc-table tr:last-child td { border-bottom: none; }

.loc-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--accent); flex: 0 0 auto; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--text-dim); font-size: 14px; margin-top: 10px; }
.faq-item a { color: var(--accent); font-weight: 600; }

.loc-chip {
  display: inline-block; margin: 4px 2px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: border-color .2s, color .2s, transform .15s var(--ease);
}
.loc-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.loc-chip span { color: var(--text-dim); font-weight: 500; font-size: 12px; }
.loc-county {
  font-family: var(--font-display); font-size: 22px; text-transform: uppercase;
  letter-spacing: 1px; margin: 34px 0 12px; text-align: center;
}
.loc-links { text-align: center; max-width: 900px; margin: 0 auto; }

/* ===== Legal pages ===== */
.legal { max-width: 780px; margin: 0 auto; padding: 60px 24px 110px; }
.legal .back { display: inline-block; margin-bottom: 26px; color: var(--accent); font-weight: 600; font-size: 14px; }
.legal h1 {
  font-family: var(--font-display); font-size: clamp(34px, 6vw, 52px);
  text-transform: uppercase; letter-spacing: 1px; line-height: 1.05;
}
.legal .updated { color: var(--text-dim); font-size: 13px; margin: 8px 0 28px; }
.legal h2 { font-size: 20px; font-weight: 800; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-dim); font-size: 15px; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal a { color: var(--accent); font-weight: 600; }
.legal-note {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: 10px;
  padding: 14px 16px; margin: 24px 0; font-size: 13px; color: var(--text-dim);
}

/* ===== Sticky mobile action bar ===== */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mb-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 700; font-size: 14px; padding: 12px 0;
  border-radius: 999px; border: 1.5px solid var(--border); color: var(--text);
}
.mb-ico { font-size: 15px; }
.mb-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav { flex-direction: column; gap: 12px; padding: 20px 16px 8px; }
  .nav .nav-links { padding-top: 0; gap: 18px; font-size: 13px; flex-wrap: wrap; justify-content: center; }
  .contact-form .row { grid-template-columns: 1fr; }
  .theme-bar { top: auto; bottom: calc(72px + env(safe-area-inset-bottom)); right: 12px; }
  /* sit just above the sticky action bar; stack the buttons full-width for easy tapping */
  .cookie-banner {
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    padding: 14px 16px; gap: 12px;
    max-height: calc(100vh - 150px); overflow-y: auto;
  }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; text-align: center; }
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 110px; }
}
