/* ==========================================================================
   RoutinePoint marketing site — design tokens
   Base: skill theme t001 "Editorial Dark", re-tinted to RoutinePoint's real
   in-app brand tokens (see DESIGN-RATIONALE.md, "Final palette").
   ========================================================================== */

:root{
  --bg:#170D10;
  --surface:#241319;
  --surface-2:#2E1620;
  --surface-border:rgba(243,236,227,0.10);
  --text:#F3ECE3;
  --muted:#C2A199;
  --gold:#D99A5B;
  --gold-rgb:217,154,91;
  --copper:#B87333;
  --copper-rgb:184,115,51;
  --rose:#A8626B;
  --rose-rgb:168,98,107;
  --success:#7FB88A;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --radius-pill:999px;
  --shadow-card:0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 30px -14px rgba(0,0,0,0.55);
  --shadow-lift:0 20px 40px -16px rgba(0,0,0,0.65);
  --container:1180px;
  --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:'JetBrains Mono', 'SF Mono', Monaco, Consolas, Arial, sans-serif;
}

/* Google Fonts' default subset for Inter/JetBrains Mono excludes the ₪
   (Israeli shekel, U+20AA) codepoint. Patch it in from a local system font
   without affecting any other glyph. */
@font-face{ font-family:'Inter'; src:local('Arial'), local('Segoe UI'); unicode-range:U+20AA; }
@font-face{ font-family:'JetBrains Mono'; src:local('Arial'), local('Consolas'); unicode-range:U+20AA; }
@font-face{ font-family:'Fraunces'; src:local('Arial'), local('Georgia'); unicode-range:U+20AA; }

*,*::before,*::after{ box-sizing:border-box; }

/* ---------------- Splash intro (matches the app's own opening) ---------------- */
.splash-intro{
  display:flex; position:fixed; inset:0; z-index:1000; flex-direction:column; align-items:center; justify-content:center;
  background:radial-gradient(ellipse at 50% 35%, var(--surface-2) 0%, var(--bg) 55%, #0d0709 100%);
  opacity:1; transition:opacity 500ms ease;
}
/* Visible by default (matches the app: its splash view is "active" in the
   raw markup, painted before any script runs) — JS below only ever hides it,
   via a plain setTimeout (not a CSS animation-delay: some browsers pause
   running CSS animations on an occluded/backgrounded page but still fire
   JS timers, so a timer is the more reliable of the two here). */
.splash-intro.is-hidden{ opacity:0; pointer-events:none; }
.splash-intro .orbit-field{ position:absolute; inset:0; overflow:hidden; z-index:0; }
.splash-intro .orbit-field::before{
  content:""; position:absolute; inset:-20%;
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--gold-rgb),0.22), transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(var(--copper-rgb),0.14), transparent 45%);
  animation:splashDrift 6s ease-in-out infinite alternate;
}
@keyframes splashDrift{ 0%{ transform:translate(0,0) scale(1); } 100%{ transform:translate(3%,-2%) scale(1.06); } }
.splash-mark{ position:relative; width:140px; height:140px; display:flex; align-items:center; justify-content:center; z-index:2; }
.orbit-sweep{ width:100px; height:100px; animation:spin 2.2s linear infinite; }
.orbit-sweep circle{ fill:none; stroke:var(--copper); stroke-width:3.5; stroke-linecap:round; stroke-dasharray:210 400; }
.orbit-sweep path{ fill:var(--copper); }
@keyframes spin{ to{ transform:rotate(360deg); } }
.splash-core{ position:absolute; width:14px; height:14px; border-radius:50%; background:var(--gold); box-shadow:0 0 30px 6px rgba(var(--gold-rgb),0.6); }
.splash-brand{ z-index:2; margin-top:18px; font-family:var(--font-display); font-weight:600; font-size:1.6rem; }
.splash-brand span{ color:var(--gold); }
.splash-tag{ z-index:2; color:var(--muted); font-size:0.85rem; margin-top:6px; }
.splash-loader{ z-index:2; margin-top:28px; width:120px; height:3px; background:rgba(243,236,227,0.12); border-radius:3px; overflow:hidden; }
.splash-loader i{ display:block; height:100%; width:40%; border-radius:3px; background:linear-gradient(90deg,var(--copper),var(--gold)); animation:splashLoad 1s ease-in-out infinite; }
@keyframes splashLoad{ 0%{ transform:translateX(-100%); } 100%{ transform:translateX(350%); } }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

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

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  margin:0 0 0.5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem, 4.5vw, 3.6rem); font-weight:500; }
h2{ font-size:clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; color:var(--muted); }
p:last-child{ margin-bottom:0; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; }
.section--tight{ padding:64px 0; }
.section-eyebrow{
  display:inline-block; font-family:var(--font-mono); font-size:0.72rem;
  letter-spacing:0.14em; text-transform:uppercase; color:var(--gold);
  margin-bottom:14px;
}
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head p{ font-size:1.05rem; }

/* Skip link — accessibility, guides/14 */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--gold); color:#1c1008;
  padding:12px 20px; border-radius:0 0 8px 0; z-index:1000; font-weight:600;
}
.skip-link:focus{ left:0; }

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }

/* ---------------- Nav ---------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(23,13,16,0.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--surface-border);
  transition:padding 220ms ease;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:76px; transition:height 220ms ease; }
.site-header.is-shrunk .container{ height:58px; }
.brand{ font-family:var(--font-display); font-size:1.3rem; font-weight:600; display:flex; align-items:center; gap:8px; }
.brand .dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); }
.brand span.accent{ color:var(--gold); }

.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{
  font-size:0.92rem; color:var(--muted); position:relative; padding:6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold); transition:width 220ms ease;
}
.nav-links a:hover{ color:var(--text); }
.nav-links a:hover::after{ width:100%; }
.nav-links a.is-active{ color:var(--text); }
.nav-links a.is-active::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; background:none; border:1px solid var(--surface-border); color:var(--text);
  width:40px; height:40px; border-radius:var(--radius-sm); cursor:pointer;
}

.mobile-panel{
  display:none; position:fixed; inset:58px 0 0 0; background:var(--bg); z-index:99;
  padding:24px; overflow-y:auto;
}
.mobile-panel.is-open{ display:block; }
.mobile-panel a{ display:block; padding:16px 0; border-bottom:1px solid var(--surface-border); font-size:1.1rem; }

@media (max-width:860px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav-actions .btn{ display:none; }
}

/* ---------------- Language switcher ---------------- */
.lang-switch{ position:relative; }
.lang-btn{
  display:flex; align-items:center; gap:6px; background:none; border:1px solid var(--surface-border);
  color:var(--text); padding:9px 14px; border-radius:var(--radius-pill); font-size:0.86rem; cursor:pointer;
  font-family:var(--font-body);
}
.lang-btn:hover{ border-color:rgba(var(--gold-rgb),0.4); color:var(--gold); }
.lang-menu{
  display:none; position:absolute; top:calc(100% + 8px); inset-inline-end:0; min-width:190px; max-width:220px;
  max-height:340px; overflow-y:auto;
  background:var(--surface); border:1px solid var(--surface-border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lift); padding:6px; z-index:50;
}
.lang-menu.is-open{ display:block; }
.lang-menu button{
  display:block; width:100%; text-align:start; background:none; border:none; color:var(--muted);
  padding:10px 12px; border-radius:var(--radius-sm); font-size:0.9rem; cursor:pointer; font-family:var(--font-body);
}
.lang-menu button:hover{ background:var(--surface-2); color:var(--text); }
.lang-menu button.is-current{ color:var(--gold); font-weight:600; }
.mobile-lang-row{ display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; }
.mobile-lang-row button{
  flex:0 0 auto; padding:10px 16px; border-radius:var(--radius-pill); border:1px solid var(--surface-border);
  background:none; color:var(--text); font-family:var(--font-body); font-size:0.86rem; cursor:pointer;
}
.mobile-lang-row button.is-current{ border-color:var(--gold); color:var(--gold); }
@media (max-width:860px){ .lang-switch{ display:none; } }

/* ---------------- Hebrew/Arabic: swap to a typeface with real coverage.
   CJK / Thai / Devanagari fall through to the existing sans-serif system
   fallback already at the end of each font stack (matches the app's own
   approach: one loaded display font, system fallback for scripts it lacks). */
html[lang="he"] body, html[lang="ar"] body,
html[lang="he"] h1, html[lang="ar"] h1, html[lang="he"] h2, html[lang="ar"] h2,
html[lang="he"] h3, html[lang="ar"] h3, html[lang="he"] h4, html[lang="ar"] h4,
html[lang="he"] .brand, html[lang="ar"] .brand, html[lang="he"] .btn, html[lang="ar"] .btn,
html[lang="he"] .lang-btn, html[lang="ar"] .lang-btn, html[lang="he"] .lang-menu button, html[lang="ar"] .lang-menu button{
  font-family:'Rubik', sans-serif;
}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:0.92rem;
  padding:13px 24px; border-radius:var(--radius-pill); border:1px solid transparent;
  cursor:pointer; white-space:nowrap; position:relative; overflow:hidden;
  transition:transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{
  background:linear-gradient(180deg, var(--gold), var(--copper));
  color:#211008;
}
.btn-primary:hover{ box-shadow:0 10px 26px -10px rgba(var(--gold-rgb),0.55); }
.btn-ghost{
  background:transparent; border-color:var(--surface-border); color:var(--text);
}
.btn-ghost:hover{ border-color:rgba(var(--gold-rgb),0.5); color:var(--gold); }
.btn-lg{ padding:16px 30px; font-size:1rem; }
.btn-block{ width:100%; }

/* Button Sheen Sweep (a060) — reserved for primary CTAs only */
.btn-primary.btn-sheen::before{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform:skewX(-20deg);
}
.btn-primary.btn-sheen:hover::before{ animation:sheenSweep 900ms ease forwards; }

/* ---------------- Cards ---------------- */
.card{
  background:var(--surface); border:1px solid var(--surface-border);
  border-radius:var(--radius-lg); padding:28px; box-shadow:var(--shadow-card);
}
.card-lift{ transition:transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card-lift:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lift); border-color:rgba(var(--gold-rgb),0.35); }

.card-glow{ position:relative; }
.card-glow::before{
  content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background:linear-gradient(135deg, rgba(var(--gold-rgb),0.9), rgba(var(--copper-rgb),0.1), rgba(var(--gold-rgb),0.9));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  opacity:0; transition:opacity 260ms ease;
}
.card-glow:hover::before{ opacity:1; }

/* ---------------- Grids ---------------- */
.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

/* ---------------- Hero ---------------- */
.hero{ padding:72px 0 40px; }
.hero-split{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-split{ grid-template-columns:1fr; } }
.hero-eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.hero-eyebrow .pill{
  font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.08em;
  background:rgba(var(--gold-rgb),0.14); color:var(--gold); padding:6px 12px; border-radius:var(--radius-pill);
}
.hero h1{ margin-bottom:22px; }
.hero h1 .word{ display:inline-block; }
.hero-sub{ font-size:1.12rem; max-width:480px; margin-bottom:32px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-proof{ display:flex; align-items:center; gap:12px; color:var(--muted); font-size:0.88rem; }
.hero-proof strong{ color:var(--text); font-family:var(--font-body); font-weight:700; }

/* Product mockup — hand-built recreation of the real app UI, using the
   same tokens, never a stock illustration (see DESIGN-RATIONALE.md). */
.mockup{
  background:var(--surface); border:1px solid var(--surface-border);
  border-radius:var(--radius-lg); padding:18px; box-shadow:var(--shadow-lift);
  transform:perspective(1400px) rotateY(-4deg) rotateX(1deg);
}
.mockup-bar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.mockup-bar .who{ display:flex; align-items:center; gap:10px; font-size:0.85rem; color:var(--muted); }
.mockup-bar .avatar{
  width:26px; height:26px; border-radius:50%; background:linear-gradient(145deg,var(--copper),var(--gold));
  display:flex; align-items:center; justify-content:center; font-size:0.7rem; color:#241319; font-weight:700;
}
.mockup-title{ font-family:var(--font-display); font-size:1rem; color:var(--text); margin-bottom:14px; }
.mockup-cal{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:16px; }
.mockup-cal .d{
  aspect-ratio:1; border-radius:8px; background:var(--surface-2); display:flex; align-items:center;
  justify-content:center; font-size:0.72rem; color:var(--muted); opacity:0;
}
.mockup-cal .d.sel{ background:var(--gold); color:#241319; font-weight:700; }
.mockup-cal .d.dot{ position:relative; }
.mockup-cal .d.dot::after{ content:""; position:absolute; bottom:3px; width:4px; height:4px; border-radius:50%; background:var(--copper); }
.mockup-row{
  display:flex; align-items:center; justify-content:space-between; background:var(--surface-2);
  border-radius:var(--radius-md); padding:12px 14px; margin-bottom:8px; opacity:0; transform:translateY(6px);
}
.mockup-row .time{ font-family:var(--font-body); font-variant-numeric:tabular-nums; color:var(--gold); font-size:0.82rem; width:52px; }
.mockup-row .info{ flex:1; padding:0 10px; }
.mockup-row .info b{ display:block; font-size:0.86rem; }
.mockup-row .info span{ font-size:0.74rem; color:var(--muted); }
.mockup-row .amt{ font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:0.82rem; color:var(--success); }

/* ---------------- Who we are ---------------- */
.who-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:start; }
@media (max-width:900px){ .who-grid{ grid-template-columns:1fr; } }
.who-quote{
  background:var(--surface); border:1px solid var(--surface-border); border-radius:var(--radius-lg);
  padding:36px 32px; box-shadow:var(--shadow-card); position:relative;
}
.who-quote-mark{
  font-family:var(--font-display); font-size:3.2rem; line-height:1; color:var(--gold);
  opacity:0.5; margin-bottom:4px;
}
.who-quote-text{ font-family:var(--font-display); font-size:1.2rem; line-height:1.5; color:var(--text); font-weight:500; }
.who-quote-attr{ margin-top:18px; font-size:0.82rem; color:var(--muted); font-family:var(--font-mono); }

/* ---------------- Stats strip ---------------- */
.stats{ display:flex; gap:48px; flex-wrap:wrap; padding:40px 0; border-top:1px solid var(--surface-border); border-bottom:1px solid var(--surface-border); }
.stat b{
  display:block; font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:2rem;
  color:var(--text); font-weight:700;
}
.stat span{ font-size:0.85rem; color:var(--muted); }

/* ---------------- Feature / audience split ---------------- */
.audience-tag{
  display:inline-flex; align-items:center; gap:8px; font-size:0.8rem; color:var(--muted);
  border:1px solid var(--surface-border); padding:6px 14px; border-radius:var(--radius-pill); margin-bottom:16px;
}
.audience-tag.customer{ border-color:rgba(var(--rose-rgb),0.4); color:var(--rose); }
.audience-tag.business{ border-color:rgba(var(--gold-rgb),0.4); color:var(--gold); }

.feature-row{ display:grid; grid-template-columns:44px 1fr; gap:16px; padding:18px 0; border-bottom:1px solid var(--surface-border); }
.feature-row:last-child{ border-bottom:none; }
.feature-icon{
  width:44px; height:44px; border-radius:var(--radius-sm); background:var(--surface-2);
  display:flex; align-items:center; justify-content:center; color:var(--gold);
}
.feature-row h4{ font-family:var(--font-body); font-weight:700; font-size:0.98rem; margin-bottom:4px; color:var(--text); }
.feature-row p{ font-size:0.92rem; margin:0; }

/* ---------------- Walkthrough (How it works) ---------------- */
.walk-step{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; padding:64px 0;
  border-bottom:1px solid var(--surface-border);
}
.walk-step:last-child{ border-bottom:none; }
.walk-step.reverse{ direction:rtl; }
.walk-step.reverse > *{ direction:ltr; }
.walk-num{ font-family:var(--font-mono); color:var(--gold); font-size:0.8rem; letter-spacing:0.1em; margin-bottom:10px; display:block; }
@media (max-width:820px){ .walk-step,.walk-step.reverse{ grid-template-columns:1fr; direction:ltr; } }

.video-slot{
  position:relative; aspect-ratio:16/10; border-radius:var(--radius-lg); overflow:hidden;
  background:var(--surface); border:1px solid var(--surface-border);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-card);
}
.video-slot .play{
  width:64px; height:64px; border-radius:50%; background:rgba(var(--gold-rgb),0.16);
  border:1px solid rgba(var(--gold-rgb),0.4); display:flex; align-items:center; justify-content:center;
  color:var(--gold); cursor:pointer; transition:transform 200ms ease, background 200ms ease;
}
.video-slot .play:hover{ transform:scale(1.08); background:rgba(var(--gold-rgb),0.26); }
.video-slot .label{ position:absolute; bottom:14px; left:14px; font-size:0.72rem; color:var(--muted); font-family:var(--font-mono); }

/* ---------------- Live demo player (replaces static video with a real,
   looping, pausable recreation of the step being described) ---------------- */
.demo-player{ padding:28px; align-items:stretch; }
.demo-frame{ width:100%; display:flex; flex-direction:column; justify-content:center; gap:12px; }
.demo-toggle{
  position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%;
  background:rgba(var(--gold-rgb),0.14); border:1px solid rgba(var(--gold-rgb),0.35); color:var(--gold);
  cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:0.8rem;
  transition:background 200ms ease;
}
.demo-toggle:hover{ background:rgba(var(--gold-rgb),0.26); }
.demo-fade{ animation:demoFadeIn 380ms ease both; }
@keyframes demoFadeIn{ from{ opacity:0; transform:translateY(4px); } to{ opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){ .demo-fade{ animation:none; } }

.demo-row{ display:flex; align-items:center; justify-content:space-between; background:var(--surface-2); border-radius:var(--radius-md); padding:11px 14px; font-size:0.86rem; }
.demo-row.dim{ opacity:0.45; }
.demo-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.demo-chip{ padding:9px 16px; border-radius:var(--radius-pill); background:var(--surface-2); border:1px solid var(--surface-border); font-size:0.84rem; font-family:var(--font-body); font-variant-numeric:tabular-nums; }
.demo-chip.sel{ background:var(--gold); color:#211008; border-color:var(--gold); font-weight:700; }
.demo-check{ color:var(--success); font-weight:700; }
.demo-toast{ display:inline-flex; align-items:center; gap:8px; background:rgba(127,184,138,0.14); border:1px solid rgba(127,184,138,0.4); color:var(--success); padding:9px 16px; border-radius:var(--radius-pill); font-size:0.84rem; align-self:flex-start; }
.demo-field{ background:var(--surface-2); border-radius:var(--radius-md); padding:11px 14px; }
.demo-field label{ display:block; font-size:0.72rem; color:var(--muted); margin-bottom:4px; }
.demo-field b{ font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:0.94rem; }
.demo-total{ display:flex; justify-content:space-between; font-family:var(--font-body); font-variant-numeric:tabular-nums; font-weight:700; font-size:1.1rem; border-top:1px solid var(--surface-border); padding-top:12px; margin-top:4px; }
.demo-badge{ font-family:var(--font-mono); font-size:0.7rem; color:var(--gold); letter-spacing:0.06em; text-transform:uppercase; }

/* ---------------- Pricing ---------------- */
.plan-card{ display:flex; flex-direction:column; gap:18px; }
.plan-card .price{ font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:2.2rem; color:var(--text); font-weight:700; }
.plan-card .price span{ font-size:0.9rem; color:var(--muted); font-family:var(--font-body); }
.plan-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.plan-list li{ display:flex; gap:10px; font-size:0.9rem; color:var(--muted); align-items:flex-start; }
.plan-list li::before{ content:"✓"; color:var(--success); font-weight:700; flex-shrink:0; }
.plan-card.featured{ border-color:rgba(var(--gold-rgb),0.5); background:var(--surface-2); }
.plan-badge{ font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.1em; color:var(--gold); text-transform:uppercase; }

/* ---------------- Forms ---------------- */
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:0.84rem; color:var(--muted); margin-bottom:8px; }
.field input,.field textarea,.field select{
  width:100%; background:var(--surface-2); border:1px solid var(--surface-border); color:var(--text);
  border-radius:var(--radius-sm); padding:13px 14px; font-family:var(--font-body); font-size:0.94rem;
}
.field input:focus,.field textarea:focus{ border-color:var(--gold); outline:none; }
.field textarea{ min-height:120px; resize:vertical; }
.form-card{ max-width:460px; margin:0 auto; }
.form-note{ text-align:center; font-size:0.84rem; margin-top:18px; }
.form-note a{ color:var(--gold); }
.tab-switch{ display:flex; background:var(--surface-2); border-radius:var(--radius-pill); padding:4px; margin-bottom:28px; }
.tab-switch button{
  flex:1; border:none; background:transparent; color:var(--muted); padding:10px; border-radius:var(--radius-pill);
  font-family:var(--font-body); font-weight:600; font-size:0.86rem; cursor:pointer; transition:all 200ms ease;
}
.tab-switch button.is-active{ background:var(--gold); color:#211008; }

/* How-it-works audience picker */
.hiw-tabs{ display:flex; gap:6px; max-width:640px; margin-top:28px; background:var(--surface-2); border:1px solid var(--surface-border); border-radius:var(--radius-pill); padding:5px; }
.hiw-tabs button{
  flex:1; border:none; background:transparent; color:var(--muted); padding:13px 16px; border-radius:var(--radius-pill);
  font-family:var(--font-body); font-weight:600; font-size:0.9rem; cursor:pointer; transition:background 200ms ease, color 200ms ease;
}
.hiw-tabs button:hover{ color:var(--text); }
.hiw-tabs button.is-active{ background:var(--gold); color:#211008; }
@media (max-width:560px){ .hiw-tabs{ flex-direction:column; border-radius:var(--radius-md); } .hiw-tabs button{ border-radius:var(--radius-sm); } }

.notice{
  background:rgba(var(--gold-rgb),0.1); border:1px solid rgba(var(--gold-rgb),0.3); border-radius:var(--radius-md);
  padding:14px 16px; font-size:0.84rem; color:var(--muted); display:flex; gap:10px; align-items:flex-start;
}

/* ---------------- Footer ---------------- */
.site-footer{ border-top:1px solid var(--surface-border); padding:64px 0 32px; margin-top:80px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:48px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-col h5{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); margin-bottom:16px; }
.footer-col a{ display:block; font-size:0.9rem; color:var(--muted); padding:6px 0; }
.footer-col a:hover{ color:var(--gold); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding-top:24px; border-top:1px solid var(--surface-border); color:var(--muted); font-size:0.82rem; }

/* ---------------- Utility / prose (about, privacy, terms) ---------------- */
.prose{ max-width:760px; }
.prose h2{ margin-top:2em; }
.prose ul,.prose ol{ color:var(--muted); }
.prose li{ margin-bottom:0.5em; }
.eyebrow-page{ padding:56px 0 32px; }
.back-link{ display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:0.88rem; margin-bottom:14px; }
.back-link:hover{ color:var(--gold); }

.avatar-strip{ display:flex; }
.avatar-strip .a{
  width:34px; height:34px; border-radius:50%; border:2px solid var(--bg); margin-right:-10px;
  background:linear-gradient(145deg,var(--copper),var(--gold)); display:flex; align-items:center; justify-content:center;
  font-size:0.72rem; font-weight:700; color:#241319;
}

/* Reveal-on-scroll base state (a034 reveal mask, a026-style fallback) */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity 640ms cubic-bezier(0.25,1,0.5,1), transform 640ms cubic-bezier(0.25,1,0.5,1); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }
