/* ======================================================================
   FluteGym — molten gold × warm light
   Single-page app: index.html hosts a persistent WebGL stage (#stage)
   behind the routed content (#view). Views are rendered by js/views.js.

   The exact brand palette (designer-specified): `#D99A38` (gold) and
   `#F4C76B` (champagne highlight) for backgrounds/buttons/large decorative
   use, over a light, cream canvas with `#232323` text. `#D99A38` falls below
   WCAG AA as a small-text/link/icon color on the cream canvas (~2.2:1), so
   `--gold` — the text-weight role — is a same-hue derivative darkened just
   enough to clear 4.5:1 (`#94651C`, matching the app's light-mode primary
   exactly). The legacy accent names (--teal/--pink/--rose/--violet) are kept
   as aliases so the existing rules stay valid — each now resolves to a tone
   of gold.
   ====================================================================== */

:root {
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-disp: 'Rajdhani', var(--font-body);
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;

  --bg: #f7f4f0;
  --bg-2: #eeeae4;

  /* Gold accent system (light). */
  --gold: #94651C;         /* AA-safe text/links/icons on cream (4.6:1) */
  --gold-mid: #94651C;     /* same AA-safe tone -- was previously a distinct,
                               non-AA-compliant hover shade (2.7:1); collapsed
                               to fix that while keeping the hover glow cue */
  --gold-bright: #D99A38;  /* exact brand gold -- large/decorative use only */
  --gold-hi: #F4C76B;      /* exact brand champagne highlight */

  /* Legacy aliases → gold family. */
  --teal: var(--gold);
  --teal-2: var(--gold-mid);
  --pink: var(--gold-bright);
  --pink-2: var(--gold-hi);
  --violet: var(--gold);

  --rose: var(--gold-mid);
  --rose-2: var(--gold-bright);
  --rose-deep: #7a5410;

  --text: #232323;
  --muted: #4e5c6e;
  --faint: #8898aa;

  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(20, 35, 55, 0.10);
  --border-teal: rgba(165, 118, 26, 0.34);
  --border-rose: rgba(165, 118, 26, 0.28);

  --glow-teal: 0 4px 20px rgba(217, 154, 56, 0.24), 0 2px 6px rgba(0, 0, 0, 0.06);
  --glow-pink: 0 4px 20px rgba(217, 154, 56, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);

  --maxw: 1220px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --ink-on-accent: #231701;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

::selection { background: var(--teal); color: var(--ink-on-accent); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ======================================================================
   BACKDROP — warm light canvas dusted with gold
   ====================================================================== */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Full-bleed children fill the container by default. */
.bg > div { position: absolute; inset: 0; }
/* Positioned children that must NOT fill the container — override inset AND coordinates
   at higher specificity (0,2,0) so they beat the .bg > div rule (0,1,1). */
.bg > .bg-flow-1 { inset: auto; top: -20%; right: -12%; bottom: auto; left: auto; }
.bg > .bg-flow-2 { inset: auto; bottom: -18%; left: -10%; top: auto; right: auto; }

/* Base cream gradient, dusted with faint gold flecks (a tileable SVG of small
   gold dots echoing the brand logo's sparks) sitting over the warm gradient. */
.bg-base {
  background-color: #f4efe4;
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'%3E%3Cg%20fill='%23b0842b'%3E%3Ccircle%20cx='28'%20cy='42'%20r='1.4'%20opacity='.30'/%3E%3Ccircle%20cx='150'%20cy='30'%20r='1'%20opacity='.22'/%3E%3Ccircle%20cx='92'%20cy='120'%20r='1.2'%20opacity='.26'/%3E%3Ccircle%20cx='200'%20cy='150'%20r='1'%20opacity='.20'/%3E%3Ccircle%20cx='52'%20cy='190'%20r='1.3'%20opacity='.24'/%3E%3Ccircle%20cx='172'%20cy='212'%20r='.9'%20opacity='.18'/%3E%3Ccircle%20cx='212'%20cy='80'%20r='1.1'%20opacity='.22'/%3E%3Ccircle%20cx='112'%20cy='70'%20r='.8'%20opacity='.16'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #f7f4f0 0%, #f2ece0 55%, #f6efdc 100%);
  background-repeat: repeat, no-repeat;
  background-size: 240px 240px, cover;
}

/* Ambient color flows — large blurred soft shapes behind the flute. */
.bg-flow-1 {
  width: 75%; height: 90%;
  background: radial-gradient(ellipse, rgba(217, 154, 56, 0.13) 0%, rgba(217, 154, 56, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  animation: flow-drift 30s ease-in-out infinite alternate;
}
.bg-flow-2 {
  width: 65%; height: 80%;
  background: radial-gradient(ellipse, rgba(217, 154, 56, 0.09) 0%, rgba(217, 154, 56, 0.03) 50%, transparent 70%);
  filter: blur(90px);
  animation: flow-drift 24s ease-in-out infinite alternate-reverse;
}
@keyframes flow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}

/* The circular halo behind the flute was removed by request — the gold-dusted
   backdrop (see .bg-base) now carries the ambient glow on its own. */

/* Subtle top-bottom fade so content edges read cleanly */
.bg-vignette {
  background: linear-gradient(to bottom,
    rgba(247, 244, 240, 0.55) 0%,
    transparent 16%,
    transparent 84%,
    rgba(240, 236, 230, 0.55) 100%
  );
}

/* Legal pages: pause the ambient flows */
body.calm-bg .bg-flow-1, body.calm-bg .bg-flow-2 { opacity: 0.5; animation-play-state: paused; }

/* ======================================================================
   3D STAGE
   ====================================================================== */
#stage {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease, filter 0.9s ease;
}
body.scene-ready #stage { opacity: 1; }
body.dim-stage #stage { opacity: 0.34; filter: blur(2px) saturate(0.85); }
body.no-webgl #stage { display: none; }

/* Content sits above the stage. */
.nav, main, footer { position: relative; z-index: 2; }

/* ======================================================================
   TYPOGRAPHY
   ====================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

h1, h2, h3 { line-height: 1.06; }

.display {
  font-family: var(--font-disp);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
}
.h2 {
  font-family: var(--font-disp);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.0;
}

/* The fusion accent: rose gold serif italic inside techno headlines. */
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  background: linear-gradient(115deg, var(--rose-2) 8%, var(--rose) 42%, var(--rose-deep) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 3px rgba(120, 85, 20, 0.20));
  padding-right: 0.06em;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--muted); }

.mono-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--faint); }

/* ======================================================================
   BUTTONS & STORE BADGES
   ====================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-disp); font-weight: 700; font-size: 15.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease;
}
.btn-primary {
  /* The app's exact metallic-gold gradient: a champagne highlight sweeping
     through a flat field of the brand gold, both literal designer hexes. */
  background: linear-gradient(125deg, var(--gold-bright) 0%, var(--gold-bright) 28%, var(--gold-hi) 50%, var(--gold-bright) 72%, var(--gold-bright) 100%);
  color: var(--ink-on-accent);
  box-shadow: var(--glow-teal);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(217, 154, 56, 0.55), 0 0 80px rgba(217, 154, 56, 0.18); }
.btn-ghost {
  background: rgba(217, 154, 56, 0.04);
  color: var(--text);
  border-color: var(--border-teal);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-2); box-shadow: var(--glow-teal); transform: translateY(-1px); }
.btn-rose {
  background: rgba(217, 154, 56, 0.05);
  color: var(--rose-2);
  border-color: var(--border-rose);
}
.btn-rose:hover { border-color: var(--rose); box-shadow: 0 0 24px rgba(217, 154, 56, 0.3); transform: translateY(-1px); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 16px; border-radius: 13px;
  border: 1px solid var(--border-teal);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease;
}
.store:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: var(--glow-teal); }
.store svg { flex-shrink: 0; }
.store .st-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store .st-small { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.store .st-big { font-family: var(--font-disp); font-size: 17px; font-weight: 700; letter-spacing: 0.03em; }

/* ======================================================================
   NAV
   ====================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 240, 0.88);
  backdrop-filter: saturate(120%) blur(20px);
  -webkit-backdrop-filter: saturate(120%) blur(20px);
  border-bottom: 1px solid rgba(20, 35, 55, 0.08);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 13px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-name { font-family: var(--font-disp); font-weight: 600; letter-spacing: 0.04em; }
.brand-name b {
  font-weight: 700;
  background: linear-gradient(115deg, var(--rose-2), var(--rose-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.logo-ph {
  width: 34px; height: 34px; border-radius: 9px;
  background-image: url('/images/logo-mark.png');
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(217, 154, 56, 0.35);
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-disp); font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); transition: color .15s ease, text-shadow .15s ease;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--teal); box-shadow: 0 0 8px var(--teal);
  transition: right .22s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); text-shadow: 0 0 14px rgba(217, 154, 56, 0.4); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--border);
  color: var(--text); cursor: pointer;
  transition: border-color .15s ease;
}
.icon-btn:hover { border-color: var(--teal); }

.hamburger { display: none; }
.mobile-menu { display: none; }

/* ======================================================================
   SCROLL-REVEAL PRIMITIVES
   ====================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 54px, 0) scale(0.985);
}
.reveal.from-left  { transform: translate3d(-70px, 30px, 0) rotateY(7deg) scale(0.985); }
.reveal.from-right { transform: translate3d(70px, 30px, 0) rotateY(-7deg) scale(0.985); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ======================================================================
   HUD GLASS CARDS (shared by features / support / values)
   ====================================================================== */
.hud-card {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(20, 35, 55, 0.10);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}
.hud-card::before, .hud-card::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
}
.hud-card::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--teal); border-left: 2px solid var(--teal);
  border-top-left-radius: var(--radius);
  filter: drop-shadow(0 0 6px rgba(217, 154, 56, 0.8));
}
.hud-card::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--pink); border-right: 2px solid var(--pink);
  border-bottom-right-radius: var(--radius);
  filter: drop-shadow(0 0 6px rgba(217, 154, 56, 0.7));
}
.hud-card.rose::before { border-color: var(--rose); filter: drop-shadow(0 0 6px rgba(217, 154, 56, 0.8)); }

/* ======================================================================
   HERO (home)
   ====================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex; align-items: center;
  padding: clamp(32px, 5vw, 64px) 0;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; width: 100%;
}
.hero-copy h1 { margin: 20px 0 22px; max-width: 15ch; }
.hero-copy .lead { margin-bottom: 32px; max-width: 46ch; }
.hero-cta { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero-note { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; }

/* Right column is intentionally empty — the 3D flute occupies it. */
.hero-stagegap { min-height: 40vh; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.3em;
  color: var(--teal); text-transform: uppercase;
  text-shadow: 0 0 12px rgba(217, 154, 56, 0.6);
  animation: hint-bob 2.4s ease-in-out infinite;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--teal), transparent);
  box-shadow: 0 0 8px rgba(217, 154, 56, 0.8);
}
@keyframes hint-bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50%      { transform: translate(-50%, 8px); opacity: 0.55; }
}

/* ======================================================================
   FEATURE SECTIONS — one viewport each; the flute descends alongside.
   ====================================================================== */
.feat {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(48px, 7vw, 90px) 0;
  perspective: 1100px;
}
.feat .wrap { display: flex; width: 100%; }
.feat.side-right .wrap { justify-content: flex-end; }
.feat.side-left .wrap { justify-content: flex-start; }

.feat-card {
  width: min(820px, 100%);
  padding: clamp(32px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 3.6vw, 48px);
  align-items: center;
}
.feat-card .eyebrow { margin-bottom: 16px; }
.feat-card h2 { margin-bottom: 16px; }
.feat-card > .feat-copy p { color: var(--muted); font-size: 16px; }

.feat-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.feat-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.feat-points svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); filter: drop-shadow(0 0 5px rgba(217, 154, 56, 0.7)); }

.phone {
  border-radius: 26px;
  border: 1px solid rgba(20, 35, 55, 0.12);
  box-shadow:
    0 0 0 1px rgba(20, 35, 55, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.14),
    0 30px 60px -30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  background: #12151e;
  transform: rotate(2.2deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.feat.side-left .phone { transform: rotate(-2.2deg); }
.phone:hover { transform: rotate(0deg) scale(1.02); box-shadow: 0 0 34px rgba(217, 154, 56, 0.3), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.phone img { display: block; width: 100%; height: auto; }

/* ======================================================================
   ESSENTIALS GRID + BMC + FINAL CTA (home)
   ====================================================================== */
.more { padding: clamp(48px, 7vw, 88px) 0; }
.more-head { text-align: center; max-width: 42ch; margin: 0 auto clamp(32px, 5vw, 52px); }
.more-head h2 { margin-top: 14px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mini { padding: 24px 22px; transition: transform .18s ease; }
.mini:hover { transform: translateY(-3px); }
.mini-ic {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(217, 154, 56, 0.08); color: var(--teal);
  border: 1px solid var(--border-teal);
  display: grid; place-items: center; margin-bottom: 14px;
  filter: drop-shadow(0 0 8px rgba(217, 154, 56, 0.25));
}
.mini h3 { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.15rem; margin-bottom: 7px; }
.mini p { font-size: 14px; color: var(--muted); }

.bmc { margin: 0 auto; max-width: var(--maxw); }
.bmc-inner {
  margin: 0 var(--gutter);
  padding: clamp(24px, 3.6vw, 36px) clamp(22px, 3.6vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.bmc-inner h3 { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.4rem; margin-bottom: 6px; }
.bmc-inner p { color: var(--muted); font-size: 15px; max-width: 48ch; }

.cta {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: center;
  text-align: center;
  padding: clamp(56px, 9vw, 100px) 0;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { margin: 16px auto; max-width: 18ch; }
.cta .lead { margin: 0 auto 30px; max-width: 44ch; }
.cta .stores { justify-content: center; }

/* ======================================================================
   INNER PAGE HEADER (about, support)
   ====================================================================== */
.page-head { position: relative; padding: clamp(56px, 9vw, 104px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { margin: 18px 0 20px; max-width: 18ch; }
.page-head .lead { max-width: 54ch; }

/* Keep inner-page text off the flute's half of the screen. */
.half-right { margin-left: auto; width: min(660px, 100%); }
.half-left { margin-right: auto; width: min(660px, 100%); }

/* ---------- about ---------- */
section.block { padding: clamp(30px, 4.5vw, 52px) 0; }
.block .prose-panel { padding: clamp(24px, 3.4vw, 40px); }
.block p { color: var(--muted); margin-bottom: 16px; }
.block p:last-child { margin-bottom: 0; }
.block p strong { color: var(--text); font-weight: 700; }

.pull {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25;
  background: linear-gradient(115deg, var(--rose-2), var(--rose-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  border-left: 2px solid var(--rose);
  padding: 4px 0 4px 22px; margin: 20px 0 !important;
  filter: drop-shadow(0 0 14px rgba(217, 154, 56, 0.25));
}

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 26px; }
.vcard { padding: 24px 22px; }
.vcard .ic {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(217, 154, 56, 0.08); color: var(--rose);
  border: 1px solid var(--border-rose);
  display: grid; place-items: center; margin-bottom: 14px;
}
.vcard h3 { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.1rem; margin-bottom: 7px; }
.vcard p { font-size: 14px; color: var(--muted); margin: 0; }

.cta-band { margin: clamp(36px, 5vw, 64px) auto 0; max-width: var(--maxw); }
.cta-band .inner { margin: 0 var(--gutter); padding: clamp(30px, 4.5vw, 48px); text-align: center; }
.cta-band h2 { margin: 14px 0 10px; }
.cta-band p { color: var(--muted); margin-bottom: 22px; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- support ---------- */
.contact { padding: clamp(20px, 3.4vw, 36px) 0; }
.contact-col { display: flex; flex-direction: column; gap: 16px; }
.ccard { padding: clamp(24px, 3vw, 32px); }
.ccard .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(217, 154, 56, 0.08); color: var(--teal);
  border: 1px solid var(--border-teal);
  display: grid; place-items: center; margin-bottom: 16px;
}
.ccard h2, .ccard h3 { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 9px; }
.ccard h2 { font-size: 1.45rem; }
.ccard h3 { font-size: 1.2rem; }
.ccard p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.mail {
  font-family: var(--font-mono); font-size: 1.05rem; color: var(--teal);
  word-break: break-all; text-shadow: 0 0 12px rgba(217, 154, 56, 0.45);
}
.mail:hover { color: var(--teal-2); }
.ccard .small { font-size: 13px; color: var(--faint); margin: 12px 0 0; }

.faq { padding: clamp(28px, 4.5vw, 48px) 0 clamp(40px, 6vw, 64px); }
.faq h2 { margin-bottom: 22px; }
.qa { border-bottom: 1px solid var(--border); padding: 20px 0; }
.qa:first-of-type { border-top: 1px solid var(--border); }
.qa h3 { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.08rem; margin-bottom: 7px; }
.qa p { color: var(--muted); font-size: 15px; }
.qa a { color: var(--teal); }
.qa a:hover { color: var(--teal-2); }

/* ======================================================================
   LEGAL PAGES — readable panel over the dimmed diagonal flute.
   ====================================================================== */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(44px, 6.5vw, 80px) var(--gutter) clamp(52px, 7.5vw, 88px); }
.legal-panel {
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4.5vw, 56px);
}
/* Termly policy embed: reserve height while the iframe loads/resizes and let
   it span the panel. Termly auto-sizes the iframe height via postMessage. */
.legal-embed { min-height: 60vh; }
.legal-embed iframe { width: 1px; min-width: 100%; border: 0; }

/* ======================================================================
   FOOTER
   ====================================================================== */
footer {
  border-top: 1px solid rgba(20, 35, 55, 0.08);
  padding: clamp(44px, 6.5vw, 64px) 0 36px;
  background: linear-gradient(180deg, rgba(247, 244, 240, 0.7), rgba(238, 234, 228, 0.96));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; text-shadow: 0 0 10px rgba(217, 154, 56, 0.35); }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .15s ease, text-shadow .15s ease; }
.foot-col a:hover { color: var(--text); text-shadow: 0 0 12px rgba(217, 154, 56, 0.5); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); }
.foot-bottom p { font-size: 13px; color: var(--faint); }

.noscript { position: relative; z-index: 3; padding: 40px 24px; text-align: center; color: var(--text); }
.noscript a { color: var(--teal); }

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stagegap { min-height: 46vh; order: -1; }
  .hero-copy h1, .hero-copy .lead { max-width: none; }

  .feat { min-height: auto; padding: clamp(40px, 7vw, 72px) 0; }
  .feat .wrap { justify-content: center !important; }
  .feat-card { width: min(680px, 100%); }

  .half-right, .half-left { margin: 0; width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .hamburger { display: grid; }
  .mobile-menu.open {
    display: block; border-top: 1px solid var(--border);
    background: var(--glass-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .mobile-menu a {
    display: block; padding: 14px var(--gutter); color: var(--text);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-disp); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  }

  .feat-card { grid-template-columns: 1fr; }
  .phone { max-width: 230px; margin: 0 auto; }
  .bmc-inner { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none !important; }
  .reveal, .reveal.from-left, .reveal.from-right { opacity: 1; transform: none; transition: none; }
  #stage { transition: none; }
}
