/* ============================================================
   Forever Yield — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Palette */
  --bg:            #070A12;
  --bg-2:          #0A0E17;
  --surface:       #0F1524;
  --surface-2:     #141B2D;
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);

  --emerald:  #22D3A6;
  --emerald-d:#0FBF8F;
  --gold:     #F5B944;
  --cyan:     #38E0D0;
  --danger:   #FF6B6B;

  --text:     #E9EEF7;
  --text-mut: #9AA6BC;
  --text-dim: #6B7690;

  --grad: linear-gradient(100deg, var(--emerald-d) 0%, var(--emerald) 45%, var(--gold) 100%);
  --grad-soft: linear-gradient(135deg, rgba(34,211,166,0.14), rgba(245,185,68,0.10));
  --glow: 0 0 40px rgba(34,211,166,0.25);

  --radius:   16px;
  --radius-lg:24px;
  --radius-sm:10px;

  --shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
  --maxw: 1180px;
  --nav-h: 72px;

  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* Ambient background glow */
body::before {
  content:"";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(34,211,166,0.10), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(245,185,68,0.08), transparent 55%),
    radial-gradient(70% 60% at 50% 100%, rgba(56,224,208,0.06), transparent 60%);
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { color: var(--text-mut); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-mut); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald);
  padding: 6px 14px; border: 1px solid var(--border-strong);
  border-radius: 100px; background: rgba(34,211,166,0.06);
}
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; }
.muted { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #04140F; box-shadow: 0 10px 30px -10px rgba(34,211,166,0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(34,211,166,0.7); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--emerald); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(7,10,18,0.6); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(7,10,18,0.85); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg, .brand img { width: 36px; height: 36px; }
.brand .fy-word { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 1.34rem; letter-spacing: .005em; line-height: 1; }
.brand .fy-word b { font-weight: 700; color: var(--text); }
.brand .fy-word span { color: var(--gold-2); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--text-mut); font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: var(--font-head); font-size: 1.7rem; color: var(--text); }
.hero-trust .t span { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Chart card (hero visual) ---------- */
.chart-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.chart-card::before {
  content:""; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: linear-gradient(140deg, rgba(34,211,166,0.5), transparent 40%, rgba(245,185,68,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; opacity:.6;
}
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chart-head .sym { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; }
.chart-head .sym .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px var(--emerald); }
.chart-head .chg { color: var(--emerald); font-weight: 600; font-family: var(--font-head); }
.chart-price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; margin-bottom: 2px; }
.chart-svg { width: 100%; height: auto; margin-top: 6px; }
.chart-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 5px 11px; border-radius: 100px; border: 1px solid var(--border); color: var(--text-mut); background: rgba(255,255,255,0.02); }
.tag.buy { color: var(--emerald); border-color: rgba(34,211,166,0.35); background: rgba(34,211,166,0.08); }
.tag.ai  { color: var(--gold); border-color: rgba(245,185,68,0.35); background: rgba(245,185,68,0.08); }
.float-badge {
  position: absolute; right: -14px; top: 40px; background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 12px 15px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .85rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-badge .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #04140F; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* ---------- Marquee / logos ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; background: rgba(255,255,255,0.01); }
.strip-inner { display: flex; align-items: center; gap: 48px; justify-content: center; flex-wrap: wrap; opacity: .8; }
.strip-inner span { font-family: var(--font-head); font-weight: 600; color: var(--text-dim); letter-spacing: .04em; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, border-color .25s ease, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card .ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 18px; color: var(--emerald);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.96rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem,4vw,2.8rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; }
.step .num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #04140F; background: var(--grad); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--text-mut); }
.check-list li svg { flex: none; width: 22px; height: 22px; color: var(--emerald); margin-top: 2px; }
.check-list li b { color: var(--text); font-weight: 600; }
.media-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.media-panel::after { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:.5; z-index:-1; }

/* mini signal rows */
.signal-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); margin-bottom: 12px; }
.signal-row:last-child { margin-bottom: 0; }
.signal-row .l { display: flex; align-items: center; gap: 12px; }
.signal-row .coin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .8rem; background: var(--grad-soft); border: 1px solid var(--border); }
.signal-row .name b { display: block; font-family: var(--font-head); }
.signal-row .name span { font-size: .78rem; color: var(--text-dim); }
.pill { font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 5px 12px; border-radius: 100px; }
.pill.up { color: var(--emerald); background: rgba(34,211,166,0.12); }
.pill.watch { color: var(--gold); background: rgba(245,185,68,0.12); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: transparent; background: linear-gradient(var(--surface),var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: var(--glow); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #04140F; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; }
.price-card h3 { font-size: 1.25rem; }
.price-card .tier-desc { font-size: .9rem; color: var(--text-dim); margin: 6px 0 20px; min-height: 40px; }
.price-card .amount { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; }
.price-card .amount small { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.price-card .per { color: var(--text-dim); font-size: .85rem; margin-bottom: 24px; }
.price-card ul { margin-bottom: 28px; flex: 1; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: .93rem; color: var(--text-mut); border-top: 1px solid var(--border); }
.price-card ul li:first-child { border-top: 0; }
.price-card ul li svg { flex: none; width: 19px; height: 19px; color: var(--emerald); margin-top: 3px; }
.price-card ul li.off { color: var(--text-dim); }
.price-card ul li.off svg { color: var(--text-dim); }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; }
.billing-toggle span { font-family: var(--font-head); font-weight: 600; color: var(--text-dim); }
.billing-toggle span.on { color: var(--text); }
.switch { position: relative; width: 56px; height: 30px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border-strong); }
.switch::after { content:""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); transition: transform .25s; }
.switch.year::after { transform: translateX(26px); }
.save-badge { font-size: .72rem; font-weight: 700; color: var(--emerald); background: rgba(34,211,166,0.12); padding: 3px 9px; border-radius: 100px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform .25s; color: var(--emerald); }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background: currentColor; border-radius: 2px; }
.faq-q .plus::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 2px; bottom: 2px; width: 2px; transform: translateX(-50%); transition: opacity .25s; }
.faq-item.open .faq-q .plus { transform: rotate(180deg); }
.faq-item.open .faq-q .plus::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; overflow: hidden; background: var(--surface); border: 1px solid var(--border-strong); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 120% at 50% 0%, rgba(34,211,166,0.18), transparent 60%), radial-gradient(50% 120% at 80% 100%, rgba(245,185,68,0.14), transparent 55%); z-index:0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { margin: 0 auto 28px; max-width: 52ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 15px; margin-bottom: 26px; }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; color: var(--emerald); }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item h4 { font-family: var(--font-head); margin-bottom: 3px; }
.info-item p, .info-item a { font-size: .95rem; color: var(--text-mut); }
.info-item a:hover { color: var(--emerald); }
form.card { padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--text); font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: var(--bg-2); border: 1px solid var(--border-strong);
  border-radius: 10px; color: var(--text); font-family: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(34,211,166,0.15); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--text-dim); margin-top: 14px; }
.form-success { display: none; padding: 16px; border-radius: 10px; background: rgba(34,211,166,0.1); border: 1px solid rgba(34,211,166,0.35); color: var(--emerald); font-size: .92rem; margin-bottom: 18px; }
.form-success.show { display: block; }

/* ---------- Legal / prose pages ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero p { margin: 14px auto 0; max-width: 60ch; }
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 42px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-mut); margin-bottom: 14px; font-size: .98rem; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.toc { position: sticky; top: 96px; }

/* Risk callout */
.callout { border: 1px solid rgba(245,185,68,0.35); background: rgba(245,185,68,0.06); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0; }
.callout h4 { font-family: var(--font-head); color: var(--gold); margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.callout p { color: var(--text-mut); font-size: .94rem; margin: 0; }
.callout.danger { border-color: rgba(255,107,107,0.35); background: rgba(255,107,107,0.06); }
.callout.danger h4 { color: var(--danger); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--emerald); }
.team-card h3 { font-size: 1.1rem; }
.team-card .role { color: var(--emerald); font-size: .85rem; font-family: var(--font-head); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: .9rem; }

/* value cards for about */
.value-card .ic { color: var(--gold); background: var(--grad-soft); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer .brand { margin-bottom: 16px; }
.footer-col h5 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-mut); font-size: .93rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--emerald); }
.footer-about p { font-size: .93rem; max-width: 34ch; margin-bottom: 18px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-mut); transition: all .2s; }
.socials a:hover { color: var(--emerald); border-color: var(--emerald); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .85rem; color: var(--text-dim); }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a { font-size: .85rem; color: var(--text-dim); }
.footer-bottom .links a:hover { color: var(--text); }
.footer-disclaimer { font-size: .78rem; color: var(--text-dim); line-height: 1.6; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); max-width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .grid-3, .grid-4, .steps, .price-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-badge { display: none; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column;
    gap: 4px; padding: 18px 24px; background: var(--bg-2); border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links a { padding: 10px 0; width: 100%; }
  .grid-2, .grid-3, .grid-4, .steps, .price-grid, .stats, .form-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px; }
  .cta-band { padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   INVITE-ONLY / PRIVATE MEMBERSHIP  (marketing layer)
   ============================================================ */
:root{
  --grad-gold: linear-gradient(105deg,#B8862B 0%,#F3D680 40%,#E8B94A 70%,#C9962F 100%);
  --gold-2:#E8C877;
}
.gold-text{ background:var(--grad-gold); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.eyebrow.gold{ color:var(--gold-2); border-color:rgba(232,200,119,.35); background:rgba(232,200,119,.06); }
.btn-gold{ background:var(--grad-gold); color:#160F02; box-shadow:0 10px 30px -10px rgba(232,185,74,.55); }
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 16px 40px -12px rgba(232,185,74,.7); }

/* Scarcity / status bar */
.status-bar{ display:flex; align-items:center; justify-content:center; gap:10px; font-family:var(--font-head); font-size:.82rem; letter-spacing:.06em; color:var(--gold-2); background:linear-gradient(90deg,transparent,rgba(232,200,119,.08),transparent); border-bottom:1px solid var(--border); padding:11px 16px; text-transform:uppercase; }
.status-bar .pulse{ width:8px; height:8px; border-radius:50%; background:var(--gold-2); box-shadow:0 0 12px var(--gold-2); animation:pulse 2s infinite; }
@keyframes pulse{ 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.7);} }

/* VIP chip */
.vip-badge{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:700; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-2); border:1px solid rgba(232,200,119,.4); padding:7px 16px; border-radius:100px; background:rgba(232,200,119,.05); }

/* "Reserved for" grid */
.reserved-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.reserved-grid .r{ text-align:center; padding:28px 16px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.reserved-grid .r svg{ width:30px; height:30px; color:var(--gold-2); margin:0 auto 12px; }
.reserved-grid .r b{ font-family:var(--font-head); display:block; margin-bottom:4px; }
.reserved-grid .r span{ font-size:.85rem; color:var(--text-dim); }

/* Not-for list */
.split-verdict{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.verdict{ border:1px solid var(--border); border-radius:var(--radius); padding:28px; background:var(--surface); }
.verdict h3{ display:flex; align-items:center; gap:10px; margin-bottom:16px; font-size:1.1rem; }
.verdict h3 svg{ flex:none; width:22px; height:22px; }
.verdict.yes h3{ color:var(--emerald); } .verdict.no h3{ color:var(--text-dim); }
.verdict li{ display:flex; gap:10px; align-items:flex-start; margin-bottom:12px; color:var(--text-mut); font-size:.95rem; }
.verdict li svg{ flex:none; width:18px; height:18px; margin-top:3px; }
.verdict.yes li svg{ color:var(--emerald); } .verdict.no li svg{ color:var(--text-dim); }

/* ---------- INVITE GATE ---------- */
.gate-wrap{ max-width:560px; margin:0 auto; }
.invite-card{ position:relative; background:linear-gradient(var(--surface),var(--surface)) padding-box, var(--grad-gold) border-box; border:1px solid transparent; border-radius:var(--radius-lg); padding:44px 40px; box-shadow:0 30px 80px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(232,185,74,.25); text-align:center; }
.invite-card .seal{ width:64px; height:64px; margin:0 auto 20px; border-radius:50%; display:grid; place-items:center; background:rgba(232,200,119,.08); border:1px solid rgba(232,200,119,.4); color:var(--gold-2); }
.invite-card h2{ font-size:1.7rem; margin-bottom:8px; }
.invite-card .sub{ color:var(--text-mut); font-size:.95rem; margin-bottom:28px; }
.code-field{ position:relative; margin-bottom:16px; }
.code-input{ width:100%; text-align:center; font-family:var(--font-head); font-size:1.3rem; font-weight:600; letter-spacing:.28em; text-transform:uppercase; padding:18px 16px; background:var(--bg-2); border:1px solid var(--border-strong); border-radius:12px; color:var(--gold-2); transition:border-color .2s, box-shadow .2s; }
.code-input::placeholder{ color:var(--text-dim); letter-spacing:.15em; }
.code-input:focus{ outline:0; border-color:var(--gold-2); box-shadow:0 0 0 3px rgba(232,200,119,.15); }
.gate-msg{ min-height:22px; font-size:.9rem; margin:6px 0 14px; }
.gate-msg.err{ color:var(--danger); } .gate-msg.ok{ color:var(--emerald); }
.shake{ animation:shake .4s; }
@keyframes shake{ 0%,100%{transform:translateX(0);} 20%{transform:translateX(-9px);} 40%{transform:translateX(9px);} 60%{transform:translateX(-6px);} 80%{transform:translateX(6px);} }
.gate-alt{ margin-top:22px; font-size:.9rem; color:var(--text-dim); }
.gate-alt a{ color:var(--gold-2); text-decoration:underline; text-underline-offset:3px; }

/* unlocked onboarding */
.enroll{ display:none; }
.enroll.show{ display:block; animation:fadeUp .6s ease; }
.gate-lock.hide{ display:none; }
@keyframes fadeUp{ from{opacity:0; transform:translateY(16px);} to{opacity:1; transform:none;} }

/* application / waitlist */
.apply-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:36px; }
.apply-card .waitline{ font-family:var(--font-head); color:var(--gold-2); font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }

@media (max-width:640px){
  .reserved-grid{ grid-template-columns:1fr 1fr; }
  .split-verdict{ grid-template-columns:1fr; }
  .invite-card{ padding:34px 22px; }
  .code-input{ font-size:1.05rem; letter-spacing:.18em; }
}

/* ============================================================
   MOBILE-FIRST POLISH  (most users are on phones)
   ============================================================ */
.menu-cta{ display:none; }               /* hidden on desktop; shown inside open mobile menu */
.brand .fy-word{ white-space:nowrap; }

/* Mobile navigation: hamburger at a generous breakpoint so tablets get it too */
@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }               /* remove cramped top-bar button */
  .nav-toggle{ display:inline-flex; }
  .nav .container{ position:relative; }
  .nav.open .nav-links{
    display:flex; flex-direction:column; align-items:stretch;
    position:absolute; top:var(--nav-h); left:0; right:0; gap:2px;
    padding:14px 18px 20px; background:var(--bg-2);
    border-bottom:1px solid var(--border); box-shadow:var(--shadow);
  }
  .nav.open .nav-links a{ padding:14px 6px; font-size:1.06rem; width:100%; border-bottom:1px solid var(--border); }
  .nav.open .nav-links a:last-of-type{ border-bottom:0; }
  .nav.open .nav-links .menu-cta{
    display:block; text-align:center; margin-top:14px; padding:16px;
    color:#160F02; font-size:1.05rem; border-bottom:0;
  }
}

/* Phone layout tuning */
@media (max-width: 640px){
  .status-bar{ font-size:.66rem; letter-spacing:.03em; padding:9px 14px; line-height:1.45; }
  .container{ padding:0 18px; }
  section{ padding:56px 0; }
  .section-sm{ padding:44px 0; }
  .section-head{ margin-bottom:36px; }

  .hero{ padding:44px 0 52px; }
  h1{ font-size:2.2rem; }
  .hero .lead, .lead{ font-size:1.02rem; }
  .hero-actions{ flex-direction:column; align-items:stretch; width:100%; }
  .hero-actions .btn{ width:100%; }
  .hero-trust{ gap:16px 24px; margin-top:32px; }
  .hero-trust .t b{ font-size:1.3rem; }

  .btn-lg{ padding:15px 24px; font-size:1rem; }
  .cta-band{ padding:40px 20px; }
  .cta-band .hero-actions .btn{ width:100%; }

  .reserved-grid{ grid-template-columns:1fr 1fr; gap:12px; }
  .reserved-grid .r{ padding:22px 12px; }
  .invite-card{ padding:30px 18px; }
  .invite-card h2{ font-size:1.45rem; }
  .code-input{ font-size:1.05rem; letter-spacing:.16em; padding:16px 12px; }
  .apply-card{ padding:24px 18px; }

  .prose h2{ font-size:1.3rem; }
  .page-hero{ padding:52px 0 34px; }
  .footer{ padding:52px 0 28px; }
  .footer-grid{ gap:24px 20px; }
}

/* Prevent any accidental horizontal scroll on small screens */
@media (max-width: 640px){
  html, body{ max-width:100%; overflow-x:hidden; }
  .split-media, .media-panel, .chart-card{ max-width:100%; }
}

/* ============================================================
   APPLICATION LANDING PAGE  (apply.html)
   ============================================================ */
.landing-nav{ position:relative; z-index:20; padding:16px 0; display:flex; align-items:center; }
.landing-nav .container{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.landing-nav .exists{ font-size:.88rem; color:var(--text-mut); text-align:right; }
.landing-nav .exists a{ color:var(--gold-2); text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }

.landing-hero{ position:relative; padding:40px 0 80px; overflow:hidden; }
.landing-hero::before{ content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(232,200,119,.12), transparent 60%),
    radial-gradient(50% 50% at 90% 20%, rgba(34,211,166,.08), transparent 55%); }
.landing-grid{ display:grid; grid-template-columns:1.05fr .95fr; column-gap:56px; row-gap:0; align-items:start; }
.landing-intro{ grid-column:1; grid-row:1; }
.landing-details{ grid-column:1; grid-row:2; margin-top:32px; align-self:start; }
/* form spans many rows so its extra height overflows BELOW details,
   not into the gap between intro and details */
.landing-form{ grid-column:2; grid-row:1 / span 50; align-self:start; }
.landing-intro .lead{ margin-bottom:0; }
.landing-hero h1{ margin:20px 0 20px; }
.landing-hero .lead{ margin-bottom:28px; }

/* trust bullets */
.trust-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:30px; }
.trust-list li{ display:flex; gap:11px; align-items:flex-start; color:var(--text-mut); font-size:.98rem; }
.trust-list li svg{ flex:none; width:20px; height:20px; color:var(--gold-2); margin-top:3px; }
.trust-list li b{ color:var(--text); }

/* anonymous social-proof row */
.circle-proof{ display:flex; align-items:center; gap:14px; }
.avatars{ display:flex; }
.avatars span{ width:38px; height:38px; border-radius:50%; border:2px solid var(--bg); margin-left:-12px; background:var(--grad-soft); display:grid; place-items:center; font-family:var(--font-head); font-weight:700; font-size:.8rem; color:var(--gold-2); }
.avatars span:first-child{ margin-left:0; }
.avatars .more{ background:var(--surface-2); color:var(--text-mut); }
.circle-proof p{ font-size:.86rem; color:var(--text-dim); margin:0; }

/* countdown */
.countdown{ display:flex; gap:10px; margin:6px 0 4px; }
.cd-box{ flex:1; text-align:center; background:var(--bg-2); border:1px solid var(--border-strong); border-radius:12px; padding:12px 6px; }
.cd-box b{ display:block; font-family:var(--font-head); font-size:1.7rem; font-weight:700; color:var(--gold-2); line-height:1; font-variant-numeric:tabular-nums; }
.cd-box span{ font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-dim); }
.cd-label{ display:flex; align-items:center; gap:8px; font-family:var(--font-head); font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-2); margin-bottom:12px; }
.cd-label .pulse{ width:8px; height:8px; border-radius:50%; background:var(--gold-2); box-shadow:0 0 12px var(--gold-2); animation:pulse 2s infinite; }

/* seats progress */
.seats{ margin:22px 0 4px; }
.seats-top{ display:flex; justify-content:space-between; font-size:.82rem; margin-bottom:8px; }
.seats-top b{ font-family:var(--font-head); color:var(--gold-2); }
.seats-track{ height:8px; border-radius:100px; background:var(--bg-2); border:1px solid var(--border); overflow:hidden; }
.seats-fill{ height:100%; width:0; border-radius:100px; background:var(--grad-gold); transition:width 1.4s cubic-bezier(.22,1,.36,1); }

/* application form card */
.apply-panel{ position:relative; background:linear-gradient(var(--surface),var(--surface)) padding-box, var(--grad-gold) border-box; border:1px solid transparent; border-radius:var(--radius-lg); padding:34px 32px; box-shadow:0 30px 80px -30px rgba(0,0,0,.8), 0 0 60px -24px rgba(232,185,74,.22); }
.apply-panel .form-head{ text-align:center; margin-bottom:22px; }
.apply-panel .form-head .vip-badge{ margin-bottom:12px; }
.apply-panel .form-head h2{ font-size:1.5rem; }
.apply-panel .form-head p{ font-size:.9rem; margin-top:6px; }
.apply-consent{ display:flex; gap:10px; align-items:flex-start; margin:4px 0 18px; font-size:.82rem; color:var(--text-dim); }
.apply-consent input{ margin-top:3px; width:16px; height:16px; accent-color:var(--gold-2); flex:none; }
.no-guarantee{ text-align:center; font-size:.8rem; color:var(--text-dim); margin-top:14px; }

/* FOMO ribbon under form */
.mini-fomo{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:14px; font-size:.82rem; color:var(--gold-2); }
.mini-fomo .pulse{ width:7px; height:7px; border-radius:50%; background:var(--gold-2); box-shadow:0 0 10px var(--gold-2); animation:pulse 2s infinite; }

@media (max-width: 860px){
  .landing-grid{ grid-template-columns:1fr; row-gap:30px; }
  .landing-intro{ grid-column:1; grid-row:1; }
  .landing-form{ grid-column:1; grid-row:2; align-self:stretch; }
  .landing-details{ grid-column:1; grid-row:3; margin-top:0; }
  .landing-intro .lead{ margin-bottom:4px; }
  .landing-hero{ padding:24px 0 52px; }
}
@media (max-width: 640px){
  .landing-hero{ padding:16px 0 44px; }
  .landing-nav .exists .pre{ display:none; }
  .apply-panel{ padding:26px 18px; }
  .cd-box b{ font-size:1.4rem; }
  .landing-nav .exists{ font-size:.82rem; }
}

/* ============================================================
   LANGUAGE SWITCHER (flags)
   ============================================================ */
.lang-switch{ position:relative; margin-left:4px; }
.lang-current{ display:inline-flex; align-items:center; gap:7px; padding:7px 11px; border:1px solid var(--border-strong); border-radius:100px; background:rgba(255,255,255,.03); color:var(--text); font-family:var(--font-head); font-weight:600; font-size:.82rem; transition:border-color .2s, background .2s; }
.lang-current:hover{ border-color:var(--gold-2); background:rgba(255,255,255,.06); }
.lang-code{ letter-spacing:.05em; }
.lang-current .chev{ opacity:.65; transition:transform .2s; }
.lang-switch.open .chev{ transform:rotate(180deg); }
.flag{ width:22px; height:15px; border-radius:3px; overflow:hidden; display:inline-flex; flex:none; box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); }
.flag svg{ width:100%; height:100%; object-fit:cover; display:block; }
.lang-menu{ position:absolute; top:calc(100% + 10px); right:0; min-width:180px; background:var(--surface-2); border:1px solid var(--border-strong); border-radius:12px; padding:6px; box-shadow:var(--shadow); display:none; z-index:300; }
.lang-switch.open .lang-menu{ display:block; animation:fadeUp .18s ease; }
.lang-item{ display:flex; align-items:center; gap:11px; width:100%; text-align:left; background:none; border:0; color:var(--text-mut); font-family:var(--font-body); font-size:.92rem; padding:10px 11px; border-radius:8px; transition:background .15s, color .15s; }
.lang-item:hover{ background:rgba(255,255,255,.05); color:var(--text); }
.lang-item.active{ color:var(--gold-2); font-weight:600; }
.landing-nav .lang-switch{ margin-left:0; }
@media (max-width:640px){
  .lang-current{ padding:6px 9px; font-size:.78rem; }
  .lang-menu{ min-width:160px; }
  .landing-nav .container{ flex-wrap:wrap; row-gap:10px; }
}

/* Honeypot (spam trap) — visually hidden, off-screen */
.hp-field{ position:absolute !important; left:-9999px !important; top:auto; width:1px; height:1px; opacity:0; pointer-events:none; }
