/* ==========================================================================
   FambaiPay landing page
   Brand: Terracotta #B5481F · Indigo #233A6B · Gold #E3A030 · Teal #1F7A72
          Ink #2A1E17 · Cream #F7F1E7 · Sora (headings) · Inter (body)
   ========================================================================== */

:root {
    --terra: #B5481F;
    --terra-dark: #973B18;
    --indigo: #233A6B;
    --indigo-dark: #1A2C53;
    --gold: #E3A030;
    --teal: #1F7A72;
    --ink: #2A1E17;
    --cream: #F7F1E7;
    --paper: #FFFCF7;
    --sand: #EFE5D4;
    --muted: #6B5D52;
    --line: rgba(42, 30, 23, .12);

    --font-head: "Sora", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(42, 30, 23, .06), 0 2px 8px rgba(42, 30, 23, .05);
    --shadow: 0 10px 30px -10px rgba(42, 30, 23, .25);
    --shadow-lg: 0 30px 60px -20px rgba(35, 58, 107, .35);
    --container: 1180px;
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font: 600 .95rem/1 var(--font-body);
    padding: .85rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--terra); color: var(--cream); box-shadow: 0 8px 20px -8px rgba(181, 72, 31, .7); }
.btn-primary:hover { background: var(--terra-dark); box-shadow: 0 12px 26px -10px rgba(181, 72, 31, .8); }
.btn-ghost { background: rgba(255, 255, 255, .55); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-cream .icon { transition: transform .18s ease; }
.btn-cream:hover .icon { transform: translateX(3px); }
.btn-whatsapp { background: #1F7A72; color: #fff; }
.btn-whatsapp:hover { background: #18635C; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 241, 231, .78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42, 30, 23, .5); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: .9rem; }

.lang-switch { display: inline-flex; padding: 3px; background: rgba(42, 30, 23, .06); border-radius: 999px; }
.lang-switch a {
    font: 600 .75rem/1 var(--font-body); letter-spacing: .04em; text-decoration: none;
    padding: .45rem .65rem; border-radius: 999px; color: var(--muted);
}
.lang-switch a.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.nav-toggle {
    display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(600px 420px at 85% 20%, rgba(227, 160, 48, .28), transparent 70%),
        radial-gradient(520px 420px at 65% 85%, rgba(31, 122, 114, .18), transparent 70%),
        radial-gradient(500px 360px at 5% 10%, rgba(181, 72, 31, .10), transparent 70%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    opacity: .45;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .85rem; font-weight: 600; color: var(--teal);
    background: rgba(31, 122, 114, .1); border: 1px solid rgba(31, 122, 114, .2);
    padding: .4rem .85rem .4rem .7rem; border-radius: 999px;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.pulse::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal);
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero-title { margin: 1.4rem 0 1.25rem; font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.hero-title .line { display: block; }
.hero-title .accent {
    background: linear-gradient(100deg, var(--terra) 0%, #D0702C 45%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-bottom: .08em;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.75rem; font-size: .9rem; color: var(--muted); font-style: italic; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.phone {
    position: relative; width: 300px; aspect-ratio: 300 / 610;
    background: var(--ink); border-radius: 46px; padding: 12px;
    box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
    transform: rotate(-3deg);
    animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: var(--ink); border-radius: 20px; z-index: 2; }
.phone-screen {
    height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper);
    padding: 52px 16px 16px; display: flex; flex-direction: column; gap: 14px; font-size: 12px;
}
.app-top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.app-top .avatar {
    margin-left: auto; width: 28px; height: 28px; border-radius: 50%;
    background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 12px;
}
.balance-card {
    position: relative; overflow: hidden; padding: 16px; border-radius: 20px; color: var(--cream);
    background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%);
    display: flex; flex-direction: column; gap: 4px;
}
.balance-card::after {
    content: ""; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px;
    background: url("../img/bogolan-tile.svg") center / 40px; opacity: .18; border-radius: 50%;
}
.balance-label { font-size: 11px; opacity: .75; }
.balance-card strong { font-family: var(--font-head); font-size: 26px; letter-spacing: -.02em; }
.balance-card strong small { font-size: 13px; font-weight: 500; opacity: .8; }
.balance-sub { font-size: 11px; color: var(--gold); }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; font-weight: 500; font-size: 11px; }
.quick-actions > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qa-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.qa-icon .icon { width: 18px; height: 18px; }
.qa-teal { background: var(--teal); }
.qa-gold { background: var(--gold); color: var(--ink); }
.qa-terra { background: var(--terra); }
.app-section { font-weight: 600; font-size: 12px; margin-top: 2px; }
.tx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tx-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 10px; }
.tx-dot { width: 26px; height: 26px; border-radius: 9px; flex-shrink: 0; }
.tx-main { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tx-main b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-main small { color: var(--muted); font-size: 10.5px; }
.tx-amt { margin-left: auto; font-weight: 600; font-size: 12px; white-space: nowrap; }
.tx-amt.neg { color: var(--ink); }
.tx-amt.pos { color: var(--teal); }

.float-card {
    position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; box-shadow: var(--shadow);
    padding: 12px 14px; font-size: 12px; line-height: 1.3;
}
.float-card small { display: block; color: var(--muted); font-size: 11px; }
.float-card b { display: block; font-family: var(--font-head); font-size: 16px; letter-spacing: -.01em; }
.float-received { left: -6%; top: 47%; display: flex; gap: 10px; align-items: center; animation: float-b 6s ease-in-out infinite; }
.float-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.float-icon .icon { width: 18px; height: 18px; }
.float-sales { right: -4%; bottom: 2%; min-width: 190px; animation: float-b 8s ease-in-out infinite reverse; }
.float-sales b span { font-size: 11px; font-weight: 500; color: var(--muted); }
.trend { position: absolute; top: 12px; right: 12px; font-weight: 700; font-size: 11px; color: var(--teal); background: rgba(31, 122, 114, .1); padding: 2px 7px; border-radius: 999px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 8px; }
.bars i { flex: 1; border-radius: 4px; background: var(--sand); }
.bars i:nth-child(1) { height: 35%; } .bars i:nth-child(2) { height: 55%; } .bars i:nth-child(3) { height: 45%; }
.bars i:nth-child(4) { height: 70%; } .bars i:nth-child(5) { height: 60%; } .bars i:nth-child(6) { height: 85%; }
.bars i:nth-child(7) { height: 100%; background: var(--terra); }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Payment method colours (dots only, no third-party logos) */
.dot-orange { background: #FF7900; }
.dot-moov { background: #0066B3; }
.dot-wave { background: #1DC8F2; }
.dot-sama { background: #2E9E4F; }
.dot-visa { background: #1A1F71; }
.dot-mastercard { background: linear-gradient(90deg, #EB001B 50%, #F79E1B 50%); }
.dot-gim { background: var(--teal); }
.dot-bank { background: var(--indigo); }

/* ---------- Methods strip ---------- */
.methods { padding: 2rem 0 1rem; }
.methods-label { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.methods-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.methods-list li {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .6rem 1rem; background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
    border-radius: 999px; font-weight: 600; font-size: .92rem;
}
.methods-list .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--sand); }
.section-head { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.section-head p:not(.kicker) { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: .9rem; }
.kicker-gold { color: var(--gold); }

/* Currencies */
.currencies { padding-top: clamp(3rem, 6vw, 4.5rem); }
.currency-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.currency-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.currency-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.currency-symbol {
    min-width: 56px; height: 56px; padding: 0 .9rem; border-radius: 16px; display: grid; place-items: center;
    font: 700 1.35rem/1 var(--font-head); letter-spacing: -.02em;
}
.currency-code { font: 600 .8rem/1 var(--font-body); letter-spacing: .12em; color: var(--muted); padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; }
.currency-card h3 { margin-bottom: .45rem; }
.currency-card p { color: var(--muted); font-size: .95rem; }
.currency-note { text-align: center; margin-top: 1.75rem; font-size: .88rem; color: var(--muted); }

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.audience-card {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.75rem);
    color: var(--cream); display: flex; flex-direction: column; gap: 1.25rem;
}
.audience-card::before {
    content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
    background: url("../img/bogolan-tile.svg") center / 56px; opacity: .12;
}
.card-business { background: linear-gradient(150deg, var(--indigo) 0%, var(--indigo-dark) 100%); }
.card-individual { background: linear-gradient(150deg, var(--teal) 0%, #16605A 100%); }
.audience-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; max-width: 20ch; }
.card-badge {
    align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem;
    font-size: .8rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
    background: rgba(247, 241, 231, .14); border: 1px solid rgba(247, 241, 231, .2);
}
.audience-card .btn { align-self: flex-start; margin-top: auto; }

.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; }
.feature-list .icon {
    width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
    background: rgba(227, 160, 48, .2); color: var(--gold); stroke-width: 3;
}
.audience-card .feature-list li span { opacity: .92; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: none; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.step-num { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--gold); letter-spacing: -.04em; margin-bottom: 1rem; line-height: 1; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); }
.step:not(:last-child)::after {
    content: ""; position: absolute; top: 3.1rem; right: -1.1rem; width: .7rem; height: .7rem;
    border-top: 2px solid var(--terra); border-right: 2px solid var(--terra); transform: rotate(45deg);
}

/* Developers */
.dev { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; }
.dev::before {
    content: ""; position: absolute; inset: 0; background: url("../img/bogolan-tile.svg") 0 0 / 80px; opacity: .05;
}
.dev-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.dev-copy > p { color: rgba(247, 241, 231, .75); margin: 1rem 0 1.75rem; font-size: 1.08rem; }
.code-window { background: #1C1410; border: 1px solid rgba(247, 241, 231, .1); border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000; overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 7px; padding: .8rem 1rem; border-bottom: 1px solid rgba(247, 241, 231, .08); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(247, 241, 231, .18); }
.code-bar i:nth-child(1) { background: var(--terra); }
.code-bar i:nth-child(2) { background: var(--gold); }
.code-bar i:nth-child(3) { background: var(--teal); }
.code-bar span { margin-left: auto; font-size: .75rem; color: rgba(247, 241, 231, .5); }
.code-window pre { margin: 0; padding: 1.4rem 1.5rem; overflow-x: auto; font: 13.5px/1.7 ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: #E9DFD0; }
.c-cmd { color: var(--gold); font-weight: 600; }
.c-str { color: #8FD3C9; }
.c-num { color: #F2A57E; }
.c-key { color: #A9B9E8; }
.c-com { color: rgba(247, 241, 231, .4); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .2s ease, box-shadow .2s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card h3 { margin: 1.1rem 0 .45rem; font-size: 1.1rem; }
.why-card p { color: var(--muted); font-size: .95rem; }
.why-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.why-icon .icon { width: 22px; height: 22px; }
.tone-terra { background: rgba(181, 72, 31, .12); color: var(--terra); }
.tone-indigo { background: rgba(35, 58, 107, .1); color: var(--indigo); }
.tone-gold { background: rgba(227, 160, 48, .18); color: #A86F12; }
.tone-teal { background: rgba(31, 122, 114, .12); color: var(--teal); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.4rem; }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.2rem 0; font-weight: 600; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chevron { transition: transform .2s ease; color: var(--terra); }
.faq-item[open] .chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 0 1.3rem; color: var(--muted); }

/* ---------- Waitlist ---------- */
.waitlist {
    position: relative; overflow: hidden;
    background:
        radial-gradient(700px 500px at 0% 0%, rgba(227, 160, 48, .22), transparent 60%),
        linear-gradient(160deg, var(--indigo) 0%, var(--indigo-dark) 100%);
    color: var(--cream);
}
.waitlist::before {
    content: ""; position: absolute; inset: 0; background: url("../img/bogolan-tile.svg") 0 0 / 80px; opacity: .05;
}
.waitlist-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.waitlist-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.waitlist-copy > p { color: rgba(247, 241, 231, .78); margin-top: 1rem; font-size: 1.1rem; }
.perk-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: .9rem; }
.perk-list li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.perk-list .icon { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--gold); color: var(--ink); stroke-width: 3; }

.waitlist-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--sand); border-radius: 999px; margin-bottom: 1.75rem; }
.tab {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font: 600 .95rem/1 var(--font-body); color: var(--muted);
    border: 0; background: transparent; padding: .85rem 1rem; border-radius: 999px; cursor: pointer; transition: all .2s ease;
}
.tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab.is-active .icon { color: var(--terra); }

/* Without JS: no tabs, both forms stacked. With JS: one at a time. */
.no-js .tabs { display: none; }
.form-title-nojs { display: none; }
.no-js .form-title-nojs { display: block; margin-bottom: 1rem; }
.no-js .wl-form + .wl-form { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.js .wl-form:not(.is-active) { display: none; }
.js .wl-form.is-active { animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .88rem; font-weight: 600; padding: 0; }
.field legend { margin-bottom: .6rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
    width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem;
    transition: border-color .15s ease, box-shadow .15s ease;
    appearance: none; -webkit-appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5D52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.4rem;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #A69A8F; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 122, 114, .15); }
.field [aria-invalid="true"] { border-color: var(--terra) !important; background-color: #FFF7F3 !important; }
.field-error { font-size: .82rem; color: var(--terra); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
    display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem;
    border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
    font-size: .88rem; font-weight: 500; transition: all .15s ease; user-select: none;
}
.chip span::before {
    content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #B9AEA3; transition: all .15s ease;
}
.chip:hover span { border-color: rgba(42, 30, 23, .35); }
.chip input:checked + span { border-color: var(--teal); background: rgba(31, 122, 114, .08); color: var(--teal); }
.chip input:checked + span::before {
    border-color: var(--teal);
    background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); flex-shrink: 0; }

.form-alert {
    background: #FDEDE6; color: var(--terra-dark); border: 1px solid rgba(181, 72, 31, .25);
    padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; font-weight: 500; margin-bottom: 1.25rem;
}
.form-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- About page ---------- */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.about-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 3rem; align-items: center; }
.about-title { margin: 1.4rem 0 1.25rem; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; max-width: 16ch; }
.about-mark { display: grid; place-items: center; }
.about-mark img {
    width: min(100%, 260px); height: auto; padding: 2.25rem; border-radius: 40px; background: var(--paper);
    box-shadow: var(--shadow-lg); transform: rotate(-4deg);
}
.about-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 1.1rem; font-size: 1.08rem; color: #4A3D33; }
.about-card-text { opacity: .9; max-width: 46ch; }
.about-name h2 { font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -.05em; }
.about-name-meaning { margin-top: .6rem; font-size: 1.2rem; font-style: italic; color: var(--terra); }
.about-colors { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; font-size: .95rem; }
.about-colors li { display: flex; align-items: center; gap: .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; }
.swatch { width: 22px; height: 22px; border-radius: 6px; transform: rotate(45deg); flex-shrink: 0; }
.sw-terra { background: var(--terra); } .sw-gold { background: var(--gold); }
.sw-indigo { background: var(--indigo); } .sw-teal { background: var(--teal); }
.about-cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.about-cta-inner > p:not(.kicker) { color: rgba(247, 241, 231, .8); max-width: 40rem; font-size: 1.1rem; }
.about-cta-inner .hero-ctas { justify-content: center; margin-top: 1rem; }

/* ---------- Thank you / 404 ---------- */
.thanks { position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h) - 160px); display: grid; place-items: center; padding: 5rem 0; }
.thanks-inner { display: flex; justify-content: center; }
.thanks-card {
    width: min(100%, 620px); text-align: center; background: rgba(255, 252, 247, .9); backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.25rem); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.thanks-card h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.thanks-card .lead { margin: 0 auto; }
.thanks-icon {
    width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--teal), #16605A); box-shadow: 0 14px 30px -10px rgba(31, 122, 114, .7);
    animation: pop .5s cubic-bezier(.2, 1.4, .5, 1);
}
.thanks-icon .icon { width: 34px; height: 34px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks-position {
    display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .5rem;
    background: var(--sand); padding: .8rem 1.3rem; border-radius: 999px; color: var(--muted); font-weight: 500;
}
.thanks-position strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--terra); letter-spacing: -.02em; }
.thanks-share { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: .5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); width: 100%; }
.thanks-share p { font-weight: 600; }
.back-link { color: var(--muted); font-size: .92rem; }
.error-code { font-family: var(--font-head); font-size: 4.5rem; font-weight: 700; color: var(--terra); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247, 241, 231, .7); padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(247, 241, 231, .1); }
.footer-brand img { height: 32px; width: auto; margin-bottom: .9rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; }

/* ---------- Scroll reveal (only with JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .dev-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 920px) {
    .about-hero-grid, .about-split { grid-template-columns: 1fr; gap: 2rem; }
    .about-mark { display: none; }
    .currency-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-ctas, .hero-note { justify-content: center; }
    .hero-visual { margin-top: 1rem; }
    .waitlist-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .waitlist-copy { position: static; }
    .audience-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step:not(:last-child)::after { display: none; }

    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .header-actions { margin-left: auto; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
        flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.5rem;
        background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(42, 30, 23, .3);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
    }
    .nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
    .nav .nav-cta-mobile { display: inline-flex; margin-top: 1rem; border: 0; color: var(--cream); }
    .no-js .nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; box-shadow: none; }
}

@media (max-width: 560px) {
    .about-colors { grid-template-columns: 1fr; }
    .container { width: min(100% - 2rem, var(--container)); }
    .header-inner { gap: 1rem; }
    .brand img { height: 28px; }
    .form-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .phone { width: 260px; }
    .float-received { left: -2%; top: 47%; }
    .float-sales { right: -2%; min-width: 160px; }
    .hero-ctas .btn { width: 100%; }
    .tab { font-size: .88rem; padding: .8rem .5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
