/* ── CT Pay — "Night Ledger" dark design system (see DESIGN.md) ────────
   Dark, editorial fintech surface: near-black canvas, warm cream text, serif
   display headings (Georgia), and an emerald + gold accent pair. Ported from
   the CT-Home redesign template; only styles change — page content is intact.
   Legacy --primary/--warning/etc. tokens are kept as aliases so inline HTML
   references (and the dark icon strokes that sit on bright accent chips) keep
   working. ──────────────────────────────────────────────────────────────── */
:root {
    /* new core palette */
    --night: #0c0f0d;
    --night-2: #0d100d;
    --panel: #141814;
    --paper: #efeadf;
    --ink: #f8f5ee;       /* warm cream — primary text + headings */
    --muted: #c8c3b7;     /* body copy */
    --soft: #928c7e;      /* captions / labels */
    --line: rgba(248, 245, 238, .14);
    --line-strong: rgba(248, 245, 238, .26);
    --emerald: #39d98a;
    --emerald-deep: #0e7a50;
    --gold: #d5b66a;
    --blue: #6ea8be;
    --clay: #b8784f;

    /* legacy aliases (referenced inline in the HTML; remapped to the new palette) */
    --primary: #39d98a;
    --on-primary: #08100c;
    --primary-active: #5fe6a3;
    --primary-neutral: #9ad8b9;
    --primary-pale: rgba(57, 217, 138, .12);
    --ink-deep: #bfe7d2;
    --body: var(--muted);
    --mute: var(--soft);
    --canvas: var(--panel);
    --sage: var(--night-2);
    --positive-deep: #4fe39a;
    --warning: #d5b66a;
    --warning-content: #2a230f;
    --warning-deep: #d5b66a;
    --negative-bg: #320707;
    --accent-cyan: #6ea8be;
    --accent-orange: #d5b66a;
    --cyan-pale: rgba(110, 168, 190, .15);
    --orange-pale: rgba(213, 182, 106, .15);
    --cyan-deep: #8cc2d4;

    --r-sm: 8px; --r-md: 8px; --r-lg: 8px; --r-xl: 10px; --pill: 9999px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .42);
    --serif: Georgia, 'Times New Roman', serif;
    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--muted);
    background: var(--night);
    font-size: 16px; line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "calt";
}
a { text-decoration: none; color: inherit; }
svg { display: block; }
img { display: block; max-width: 100%; }
::selection { background: rgba(213, 182, 106, .28); color: var(--ink); }
.container { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 0; }
section[id] { scroll-margin-top: 90px; }

h1, h2, h3, h4 { color: var(--ink); letter-spacing: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 760; line-height: 18px;
    color: var(--gold); background: transparent;
    padding: 0; border-radius: 0;
    text-transform: uppercase; letter-spacing: .11em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.on-dark { color: var(--gold); background: transparent; }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-family: var(--serif); font-size: clamp(34px, 4.8vw, 60px); font-weight: 500; line-height: .98; letter-spacing: 0; }
.section-head p { margin-top: 18px; font-size: 19px; line-height: 30px; color: var(--muted); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 44px; font-size: 15px; font-weight: 720; line-height: 1; padding: 0 18px;
    border-radius: var(--pill); border: 1px solid transparent; cursor: pointer;
    transition: background .16s ease, transform .16s ease, color .16s ease, border-color .16s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid rgba(213, 182, 106, .82); outline-offset: 4px; }
.btn svg path { stroke: currentColor; }
.btn-primary { background: var(--ink); color: #0b0f0d; }
.btn-primary:hover { background: #fffdf7; }
.btn-secondary { background: rgba(248, 245, 238, .08); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(248, 245, 238, .14); }
.btn-tertiary { background: rgba(248, 245, 238, .06); color: var(--ink); border-color: var(--line-strong); }
.btn-tertiary:hover { background: rgba(248, 245, 238, .12); border-color: var(--gold); }
.btn-on-dark { background: rgba(248, 245, 238, .06); color: var(--ink); border-color: var(--line-strong); }
.btn-on-dark:hover { background: rgba(248, 245, 238, .12); }
.btn-lg { min-height: 50px; padding: 0 28px; font-size: 16px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; font-size: 19px; letter-spacing: 0; color: var(--ink); }
.logo .mark { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(57, 217, 138, .95), rgba(213, 182, 106, .85));
    border: 1px solid rgba(57, 217, 138, .45); box-shadow: 0 0 0 5px rgba(57, 217, 138, .07); }
.logo .mark svg { width: 19px; height: 19px; }

/* Nav */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 15, 13, .82); backdrop-filter: saturate(140%) blur(18px); border-bottom: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
header.nav.scrolled { border-bottom-color: var(--line-strong); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); position: relative; padding: 26px 0; transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; width: 100%; transform: scaleX(0); transform-origin: center; background: var(--gold); transition: transform .18s ease; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .signin { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-cta .signin:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero */
.hero { background: var(--night); overflow: hidden; position: relative; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
    background-image: linear-gradient(rgba(248, 245, 238, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 245, 238, .03) 1px, transparent 1px);
    background-size: 96px 96px; mask-image: radial-gradient(120% 80% at 80% 0%, rgba(0, 0, 0, .7), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 64px 0 80px; position: relative; z-index: 1; }
.hero h1 { font-family: var(--serif); font-size: clamp(56px, 8vw, 116px); font-weight: 500; line-height: .86; letter-spacing: 0; }
.hero p.lead { margin-top: 24px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted); max-width: 540px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.social-proof { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--night); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #08100c; margin-left: -10px; }
.avatars span:first-child { margin-left: 0; }
.social-proof .txt { font-size: 13px; color: var(--muted); line-height: 1.35; }
.social-proof .txt b { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.hero-trust { margin-top: 38px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-trust .n { font-size: 30px; font-weight: 780; color: var(--ink); letter-spacing: 0; }
.hero-trust .l { font-size: 13px; color: var(--soft); }

/* Hero decorative blobs */
.hero-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-blobs span { position: absolute; border-radius: 50%; }
.hero-blobs .b1 { width: 460px; height: 460px; background: var(--emerald); opacity: .16; top: -150px; right: -70px; filter: blur(110px); }
.hero-blobs .b2 { width: 380px; height: 380px; background: var(--gold); opacity: .12; bottom: -170px; left: -90px; filter: blur(120px); }
.hero-blobs .b3 { width: 300px; height: 300px; background: var(--blue); opacity: .10; top: 36%; left: 40%; filter: blur(120px); }

/* Converter / preview card */
.converter { background: rgba(10, 13, 11, .72); border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: 22px; backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.converter h3 { font-size: 14px; font-weight: 600; color: var(--muted); }
.conv-field { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; background: rgba(248, 245, 238, .05); transition: border-color .15s; }
.conv-field:focus-within, .conv-field:hover { border-color: var(--gold); }
.conv-field .l { font-size: 12px; color: var(--soft); }
.conv-field .v { font-size: 24px; font-weight: 780; color: var(--ink); letter-spacing: 0; }
.cur { display: inline-flex; align-items: center; gap: 8px; background: rgba(248, 245, 238, .08); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 12px; font-weight: 700; font-size: 13px; color: var(--ink); }
.cur .flag { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.conv-rail { padding: 6px 0 6px 16px; display: flex; flex-direction: column; gap: 8px; margin: 8px 0; border-left: 1px solid var(--line); }
.conv-rail .li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.conv-rail .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.converter .btn { width: 100%; margin-top: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; line-height: 18px; padding: 4px 11px; border-radius: var(--pill); }
.badge-pos { background: rgba(57, 217, 138, .14); color: #bff3d8; border: 1px solid rgba(57, 217, 138, .3); }

/* Trust strip — inverted "paper" band for rhythm */
.strip { background: var(--paper); color: #171912; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip-inner .label { font-size: 14px; font-weight: 600; color: #666052; }
.brands { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.brands .b { display: flex; align-items: center; gap: 8px; font-weight: 780; color: #7d776a; font-size: 16px; letter-spacing: 0; }
.brands .b svg { width: 18px; height: 18px; opacity: .7; }

/* Bands */
.band { padding: 86px 0; border-bottom: 1px solid var(--line); }
.band.sage { background: var(--night-2); }
.band.white { background: var(--night); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; background: linear-gradient(180deg, rgba(248, 245, 238, .06), rgba(248, 245, 238, .025)); transition: transform .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card.white, .card.sage, .card.green, .card.cyan, .card.orange, .card.dark { background: linear-gradient(180deg, rgba(248, 245, 238, .06), rgba(248, 245, 238, .025)); }
.card.dark { background: linear-gradient(135deg, rgba(213, 182, 106, .14), rgba(57, 217, 138, .07)), rgba(248, 245, 238, .04); }
.card h3, .card.dark h3 { color: var(--ink); }
.card p, .card.dark p { color: var(--muted); }
.card li, .card.dark li { color: var(--soft); }
.sys-ic { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 18px; background: var(--emerald); color: #08100c; }
.sys-ic svg { width: 24px; height: 24px; }
.grid-3 .card:nth-child(2) .sys-ic { background: var(--blue); }
.grid-3 .card:nth-child(3) .sys-ic { background: var(--gold); }
.grid-3 .card:nth-child(4) .sys-ic { background: var(--gold); }
.grid-3 .card:nth-child(5) .sys-ic { background: var(--blue); }
.grid-3 .card:nth-child(6) .sys-ic { background: var(--emerald); }
.role { font-size: 12px; font-weight: 820; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.card.dark .role { color: var(--gold); }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card ul { list-style: none; margin-top: 20px; display: grid; gap: 9px; }
.card li { display: flex; gap: 9px; font-size: 13px; color: var(--soft); align-items: center; }
.card li svg { width: 17px; height: 17px; color: var(--emerald); flex-shrink: 0; margin-top: 1px; }
.card.dark li svg { color: var(--emerald); }

/* Feature rows */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 44px 0; }
.frow:nth-child(even) .ftext { order: 2; }
.ftext h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 50px); font-weight: 500; line-height: 1; letter-spacing: 0; margin-top: 14px; }
.ftext p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 27px; }
.flist { margin-top: 26px; display: grid; gap: 16px; }
.flist .it { display: flex; gap: 14px; }
.flist .it .ic { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--emerald); color: #08100c; display: grid; place-items: center; flex-shrink: 0; }
.flist .it .ic svg { width: 18px; height: 18px; }
.flist .it b { font-size: 16px; color: var(--ink); }
.flist .it span { font-size: 14px; color: var(--muted); display: block; }
.frow:nth-child(2) .flist .it .ic { background: var(--blue); }
.frow:nth-child(3) .flist .it .ic { background: var(--gold); }

.fvisual { background: rgba(248, 245, 238, .04); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.frow .fvisual.green { background: linear-gradient(135deg, rgba(57, 217, 138, .12), rgba(213, 182, 106, .06)); }
.mini { background: rgba(248, 245, 238, .045); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mini + .mini { margin-top: 12px; }
.mini .l { font-size: 12px; color: var(--soft); }
.mini .v { font-size: 20px; font-weight: 780; color: var(--ink); margin-top: 4px; letter-spacing: 0; }
.row { display: flex; align-items: center; justify-content: space-between; padding: 9px 4px; font-size: 14px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--emerald), var(--emerald-deep)); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 252px; background: #05070600; border: 1px solid var(--line-strong); border-radius: 34px; padding: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.phone .screen { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.phone .notch { height: 22px; display: flex; justify-content: center; }
.phone .notch::before { content: ""; width: 90px; height: 18px; background: #05060500; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; }
.ph-top { background: linear-gradient(160deg, rgba(57, 217, 138, .22), rgba(12, 15, 13, .9)); color: var(--ink); padding: 4px 18px 18px; }
.ph-top .l { font-size: 11px; color: #9fb39a; }
.ph-top .bal { font-size: 27px; font-weight: 780; letter-spacing: 0; }
.ph-top .cur2 { font-size: 12px; color: var(--emerald); font-weight: 700; }
.ph-actions { display: flex; gap: 8px; padding: 14px; }
.ph-actions .a { flex: 1; background: rgba(248, 245, 238, .05); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 6px; text-align: center; font-size: 11px; font-weight: 700; color: var(--ink); }
.ph-actions .a .d { width: 26px; height: 26px; border-radius: 50%; background: var(--emerald); margin: 0 auto 6px; display: grid; place-items: center; }
.ph-actions .a .d svg { width: 14px; height: 14px; }
.ph-list { padding: 0 14px 16px; }
.ph-item { background: rgba(248, 245, 238, .05); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ph-item .t { font-size: 12px; font-weight: 600; color: var(--ink); }
.ph-item .s { font-size: 10px; color: var(--soft); }
.ph-item .amt { font-size: 13px; font-weight: 800; color: var(--ink); }
.ph-item .amt.pos { color: var(--emerald); }

/* Included checklist (feature band card) */
.included { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 46px; background: linear-gradient(135deg, rgba(213, 182, 106, .12), rgba(57, 217, 138, .06)), var(--night-2); }
.included .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.included h2 { color: var(--ink); font-size: clamp(28px, 3.6vw, 40px); font-weight: 500; line-height: 1.05; }
.included .top p { color: var(--muted); font-size: 16px; max-width: 360px; }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.inc-col h4 { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-weight: 820; }
.inc-col ul { list-style: none; display: grid; gap: 11px; }
.inc-col li { display: flex; gap: 10px; font-size: 13px; color: var(--soft); }
.inc-col li svg { width: 16px; height: 16px; color: var(--emerald); flex-shrink: 0; margin-top: 2px; }

/* Security (dark band) */
.dark-band { background: var(--night-2); padding: 86px 0; border-bottom: 1px solid var(--line); }
.dark-band .section-head h2 { color: var(--ink); }
.dark-band .section-head p { color: var(--muted); }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 12px; }
.sec-card { background: rgba(248, 245, 238, .045); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; transition: transform .18s ease, border-color .18s; }
.sec-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.sec-card .ic { width: 44px; height: 44px; border-radius: var(--r-md); background: rgba(57, 217, 138, .1); border: 1px solid var(--line); color: var(--emerald); display: grid; place-items: center; margin-bottom: 16px; }
.sec-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.sec-card p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.step { background: var(--panel); border-radius: 0; padding: 26px; position: relative; }
.step .num { width: 40px; height: 40px; border-radius: var(--r-md); background: transparent; border: 1px solid rgba(213, 182, 106, .42); color: var(--gold); font-weight: 760; font-size: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.step:nth-child(2), .step:nth-child(3) { background: var(--panel); }

/* Quote band */
.quote-band { background: var(--night-2); }
.quote-box { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-box .mark-q { font-size: 64px; font-weight: 700; color: var(--gold); line-height: .5; font-family: var(--serif); }
.quote-box blockquote { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 38px); font-weight: 500; color: var(--ink); line-height: 1.18; letter-spacing: 0; margin: 16px 0 28px; }
.quote-by { display: inline-flex; align-items: center; gap: 12px; }
.quote-by .av { width: 44px; height: 44px; border-radius: 50%; background: var(--emerald); color: #08100c; display: grid; place-items: center; font-weight: 800; }
.quote-by .who { text-align: left; }
.quote-by .who b { display: block; color: var(--ink); font-size: 15px; }
.quote-by .who span { font-size: 13px; color: var(--muted); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid .n { font-size: 50px; font-weight: 780; color: var(--ink); letter-spacing: 0; line-height: 1; }
.stats-grid .l { font-size: 15px; color: var(--muted); margin-top: 10px; }
.stats-grid > div:nth-child(1) .n { color: var(--emerald); }
.stats-grid > div:nth-child(2) .n { color: var(--blue); }
.stats-grid > div:nth-child(3) .n { color: var(--gold); }

/* FAQ */
.faq-wrap { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq { background: rgba(248, 245, 238, .04); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; border-radius: 50%; background: rgba(248, 245, 238, .08); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; transition: transform .2s, background .2s, color .2s; color: var(--ink); }
.faq[open] summary .pm { transform: rotate(45deg); background: var(--gold); color: #08100c; }
.faq .ans { padding: 0 24px 20px; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* CTA */
.cta-box { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 70px 56px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(213, 182, 106, .12), rgba(57, 217, 138, .07)), var(--night-2); }
.cta-box::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(57, 217, 138, .18), transparent 70%); top: -120px; right: -80px; }
.cta-box::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(213, 182, 106, .18), transparent 70%); bottom: -130px; left: -70px; z-index: 1; }
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 56px); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: 0; }
.cta-box p { margin: 20px auto 30px; font-size: 19px; color: var(--muted); max-width: 560px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { background: #070907; color: var(--soft); padding: 70px 0 36px; border-top: 1px solid var(--line); }
footer .logo { color: var(--ink); }
footer .desc { margin-top: 16px; font-size: 14px; color: var(--soft); max-width: 280px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; }
.foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); margin-bottom: 16px; font-weight: 700; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--soft); }

/* ── Inner-page utilities ───────────────────────────────────────── */
.page-hero { background: var(--night); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
    background-image: linear-gradient(rgba(248, 245, 238, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 245, 238, .03) 1px, transparent 1px);
    background-size: 96px 96px; mask-image: radial-gradient(120% 80% at 80% 0%, rgba(0, 0, 0, .7), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.page-hero.center .container { text-align: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 78px); font-weight: 500; line-height: .9; letter-spacing: 0; margin-top: 18px; }
.page-hero .lead { margin-top: 22px; font-size: 20px; line-height: 30px; color: var(--muted); max-width: 620px; }
.page-hero .hero-actions { margin-top: 30px; }

.lead-c { max-width: 660px; margin: 18px auto 0; text-align: center; font-size: 20px; line-height: 30px; color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.tier { background: rgba(248, 245, 238, .04); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease; }
.tier:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tier.featured { background: linear-gradient(135deg, rgba(213, 182, 106, .15), rgba(57, 217, 138, .08)), var(--night-2); border-color: rgba(213, 182, 106, .4); color: var(--muted); }
.tier.featured h3, .tier.featured .price { color: var(--ink); }
.tier .pill-tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: var(--pill); background: var(--gold); color: #08100c; margin-bottom: 14px; }
.tier h3 { font-size: 21px; font-weight: 700; }
.tier .sub { font-size: 14px; color: var(--soft); margin-top: 4px; }
.tier.featured .sub { color: var(--muted); }
.tier .price { font-size: 42px; font-weight: 780; letter-spacing: 0; margin: 18px 0 4px; color: var(--ink); }
.tier .price small { font-size: 15px; font-weight: 600; color: var(--soft); }
.tier ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 12px; }
.tier li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.tier li svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink: 0; margin-top: 1px; }
.tier.featured li { color: var(--muted); }
.tier.featured li svg { color: var(--emerald); }
.tier .btn { margin-top: auto; width: 100%; }

/* Forms */
.form-card { background: rgba(248, 245, 238, .04); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
    font-family: var(--font); font-size: 15px; color: var(--ink);
    background: rgba(248, 245, 238, .05); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 12px 16px; width: 100%; transition: box-shadow .15s, border-color .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(213, 182, 106, .18); }
.field input::placeholder, .field textarea::placeholder { color: var(--soft); }
.field select option { color: #111; }

/* Contact split */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-points { display: grid; gap: 18px; margin-top: 26px; }
.contact-points .it { display: flex; gap: 13px; }
.contact-points .it .ic { width: 38px; height: 38px; border-radius: var(--r-md); background: var(--emerald); color: #08100c; display: grid; place-items: center; flex-shrink: 0; }
.contact-points .it .ic svg { width: 18px; height: 18px; }
.contact-points .it b { font-size: 15px; color: var(--ink); display: block; }
.contact-points .it span { font-size: 14px; color: var(--muted); }

/* Legal / prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.prose ul { margin: 0 0 14px 20px; }
.prose li { font-size: 16px; color: var(--muted); margin-bottom: 8px; line-height: 1.6; }
.prose .meta { font-size: 14px; color: var(--soft); margin-bottom: 28px; }

/* Two-column timeline / about values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 940px) {
    .hero-grid, .frow, .foot-grid, .included .top, .contact-grid { grid-template-columns: 1fr; }
    .frow:nth-child(even) .ftext { order: 0; }
    .grid-3, .grid-2, .sec-grid, .steps, .stats-grid, .inc-grid, .pricing, .values { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .included { padding: 34px 28px; }
    .hero-visual, .converter { margin-top: 8px; }
}
@media (max-width: 560px) {
    .grid-3, .grid-2, .sec-grid, .steps, .stats-grid, .inc-grid, .pricing, .values, .form-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 46px 26px; }
    .band { padding: 60px 0; }
    .strip-inner { gap: 14px; }
}

/* ============ AI-ready platform (kept dark; new accents) ============ */
.ai-band { background: radial-gradient(120% 120% at 50% -10%, #11160f 0%, var(--night) 50%, #07090700 100%), var(--night); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.ai-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 48% at 82% -4%, rgba(213, 182, 106, .1), transparent 62%); pointer-events: none; }
.ai-band .container { position: relative; z-index: 1; }
.ai-band .section-head { max-width: 760px; }
.ai-band .section-head p b { color: var(--ink); }

.ai-ladder { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; margin-top: 4px; }
.ai-stage { background: rgba(248, 245, 238, .045); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; transition: transform .18s ease, border-color .18s; }
.ai-stage:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.ai-step { font-size: 12px; font-weight: 820; letter-spacing: .12em; color: var(--gold); }
.ai-ic { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--emerald); color: #08100c; display: grid; place-items: center; margin: 12px 0 16px; }
.ai-ic svg { width: 24px; height: 24px; }
.ai-stage h3 { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.ai-stage p { margin-top: 8px; font-size: 14px; line-height: 21px; color: var(--muted); }
.ai-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.ai-tags span { font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(248, 245, 238, .06); border: 1px solid var(--line); border-radius: var(--pill); padding: 3px 10px; }
.ai-arrow { align-self: center; color: var(--gold); opacity: .65; font-size: 22px; font-weight: 900; }

.ai-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; margin-top: 22px; align-items: stretch; }
.ai-console { background: #0a0c08; border: 1px solid var(--line-strong); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.ai-console .bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.ai-console .bar i { width: 11px; height: 11px; border-radius: 50%; }
.ai-console .bar .t { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--soft); }
.ai-console .body { padding: 20px; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 13px; line-height: 22px; }
.ai-console .you { color: var(--ink); }
.ai-console .you b { color: var(--emerald); font-weight: 700; }
.ai-console .ai { color: var(--muted); margin-top: 8px; }
.ai-console .ai b { color: var(--ink); font-weight: 700; }
.ai-console .warn { color: var(--gold); }
.ai-console .act { color: var(--emerald); }
.ai-console .blink { display: inline-block; width: 8px; height: 15px; background: var(--emerald); margin-left: 3px; vertical-align: -2px; animation: aiblink 1.1s step-end infinite; }
@keyframes aiblink { 50% { opacity: 0; } }

.ai-founder { background: linear-gradient(158deg, rgba(213, 182, 106, .15), rgba(57, 217, 138, .05)); border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.ai-founder h3 { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 30px); font-weight: 500; color: var(--ink); letter-spacing: 0; line-height: 1.08; }
.ai-founder p { margin-top: 13px; color: var(--muted); font-size: 15px; line-height: 23px; }
.ai-founder ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 11px; }
.ai-founder li { display: flex; gap: 9px; font-size: 14.5px; color: var(--muted); }
.ai-founder li svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.ai-founder .btn { align-self: flex-start; }

@media (max-width: 940px) {
    .ai-ladder { grid-template-columns: 1fr; }
    .ai-arrow { display: none; }
    .ai-split { grid-template-columns: 1fr; }
}
