:root {
  --bg: #07080c;
  --bg-2: #0d0f15;
  --card: #11131a;
  --ink: #f4f1ea;
  --muted: #a39d90;
  --faint: #6f6a60;
  --line: #24221d;
  --acc: #c4b5fd;
  --acc-ink: #1b1530;
  --good: #86efac;
  --warn: #fcd34d;
  --bad: #fca5a5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 8, 12, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; text-decoration: none; font-size: 1.05rem; }
.brand .mark { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #3b82f6); display: grid; place-items: center; flex: none; }
.brand .mark svg { width: 18px; height: 18px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .9rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--bg) !important; text-decoration: none; border: 0; border-radius: 999px; padding: 11px 20px; font: 600 .92rem var(--sans); cursor: pointer; white-space: nowrap; }
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.sm { padding: 8px 16px; font-size: .85rem; }
@media (max-width: 860px) { .nav .hide-m { display: none; } }

/* Type */
.kicker { font: 600 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; }
h3 { font-size: 1.35rem; line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

section { padding: 104px 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 46rem; margin-bottom: 56px; }
.sec-head h2 { margin: 14px 0 16px; }

/* Hero */
.hero { padding: 72px 0 96px; border-top: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--acc); }
.hero .lead { margin: 24px 0 32px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 32px; font-size: .84rem; color: var(--muted); }
.badges span::before { content: "✓"; color: var(--good); margin-right: 6px; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The morning read (product mock) */
.brief { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px -30px rgba(139, 92, 246, .35); }
.brief-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.brief-head b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.brief-head small { color: var(--faint); font-size: .76rem; }
.item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item:last-of-type { border-bottom: 0; }
.score { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font: 700 1.05rem var(--mono); }
.s-good { background: rgba(134, 239, 172, .12); color: var(--good); }
.s-warn { background: rgba(252, 211, 77, .12); color: var(--warn); }
.s-bad { background: rgba(252, 165, 165, .12); color: var(--bad); }
.item h4 { font: 600 .95rem var(--sans); margin-bottom: 3px; }
.item p { font-size: .86rem; color: var(--muted); }
.change { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink); background: var(--bg-2); }
.chip.acc { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); font-weight: 600; }
.mock-note { margin-top: 12px; text-align: right; font-size: .72rem; color: var(--faint); }

/* Three questions */
.qs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.q { background: var(--bg); padding: 34px 30px; }
.q .n { font: 700 .78rem var(--mono); color: var(--acc); }
.q h3 { margin: 14px 0 10px; }
.q p { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .qs { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { border-top: 2px solid var(--line); padding-top: 20px; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 .8rem var(--mono); color: var(--faint); }
.step h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: .93rem; }
.step:hover { border-top-color: var(--acc); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 112px; }
.split.rev > :first-child { order: 2; }
.split ul { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.split li { padding-left: 26px; position: relative; color: var(--muted); }
.split li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--acc); }
.split li b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.panel-title { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }

/* Regime timeline */
.timeline { position: relative; height: 210px; }
.timeline .axis { position: absolute; left: 0; right: 0; top: 120px; height: 2px; background: var(--line); }
.era { position: absolute; top: 96px; height: 50px; border-radius: 8px; }
.era span { position: absolute; top: -26px; left: 8px; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.marker { position: absolute; top: 18px; bottom: 30px; width: 0; border-left: 1px dashed var(--faint); }
.marker span { position: absolute; top: -2px; left: 6px; font-size: .72rem; color: var(--ink); white-space: nowrap; }
.dot { position: absolute; top: 113px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--bg); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

/* ROAS bars */
.bars { display: grid; gap: 18px; }
.bar label { display: flex; justify-content: space-between; font-size: .86rem; margin-bottom: 8px; }
.bar .track { height: 14px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 99px; }
.callout { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(196, 181, 253, .08); border: 1px solid rgba(196, 181, 253, .25); font-size: .88rem; }

/* Safety */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(196, 181, 253, .12); color: var(--acc); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 18px; height: 18px; }
.card h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .grid4 { grid-template-columns: 1fr; } }

/* Claude */
.claude { background: linear-gradient(180deg, var(--bg) 0%, #0c0a14 100%); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.role { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.role h3 { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.role ul { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.role li { padding-left: 20px; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--acc); }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }

/* Channels */
.channels { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.channels .chip { padding: 8px 16px; font-size: .9rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan.feat { border-color: var(--acc); background: rgba(196, 181, 253, .04); }
.plan h3 { font-size: 1.5rem; }
.plan .for { color: var(--muted); font-size: .9rem; margin: 4px 0 20px; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; margin-bottom: 28px; flex: 1; }
.plan li::before { content: "✓"; color: var(--good); margin-right: 8px; }
.pilot { margin-top: 20px; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative; font-size: 1.05rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.4rem; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 46rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
form { display: grid; gap: 12px; }
form label { font-size: .82rem; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); padding: 12px 14px; font: inherit; font-size: 1rem; border-radius: 10px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acc); outline-offset: 0; border-color: transparent; }
form .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: .86rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 46rem; padding: 64px 24px 96px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.legal .updated { color: var(--faint); font-size: .86rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #d6d1c6; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .9rem; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px 10px 0; vertical-align: top; color: #d6d1c6; }
.legal th { color: var(--ink); font-weight: 600; }
.legal a { color: var(--acc); }

.kicker + h1, .kicker + h2 { margin-top: 14px; }
