:root {
  color-scheme: light dark;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #22211f;
  --muted: #6d6a64;
  --line: #e4e1da;
  --accent: #3b5bdb;
  --accent-soft: #e8ecfc;
  --user: #eef3ec;
  --warn: #b4441f;
  --frame: #22211f;
  --radius: 10px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #18181a;
    --surface: #222225;
    --text: #e9e7e3;
    --muted: #9c9891;
    --line: #34343a;
    --accent: #8ea4ff;
    --accent-soft: #2a3150;
    --user: #24302a;
    --warn: #ff9d7a;
    --frame: #3a3a40;
  }
}
:root[data-theme='dark'] {
  --bg: #18181a;
  --surface: #222225;
  --text: #e9e7e3;
  --muted: #9c9891;
  --line: #34343a;
  --accent: #8ea4ff;
  --accent-soft: #2a3150;
  --user: #24302a;
  --warn: #ff9d7a;
  --frame: #3a3a40;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 40rem; }
section { padding: 72px 0; border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; }
h2 { font-size: 1.9rem; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: 1.15rem; color: var(--muted); }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 20px; font-size: 0.95rem; }
.top nav a:not(.button) { color: var(--muted); text-decoration: none; }
.top nav a:not(.button):hover { color: var(--text); }
.top nav .button { padding: 7px 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 56px 0 88px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.025em; margin-bottom: 0.35em; }
.hero .tagline { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5em; }
.hero .pitch { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.6em; }
.hero .pitch a { color: var(--text); text-decoration-color: var(--line); text-underline-offset: 3px; }
.summary { padding: 0 0 64px; border-top: 0; }
.summary .cards { margin-top: 0; }
.questions { list-style: none; padding: 0; margin: 0 0 28px; color: var(--muted); font-style: italic; }
.questions li { margin: 4px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-block; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .button.primary { color: #111; } }

/* Phone frames around the screenshots */
.phone { background: var(--frame); border-radius: 34px; padding: 10px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.35); max-width: 300px; margin: 0 auto; }
.phone img { border-radius: 25px; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; width: 100%; background: var(--bg); }

/* The call */
.call { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.player { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.player audio { width: 100%; margin: 8px 0 12px; }
.note { font-size: 0.85rem; color: var(--muted); }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.script { margin-top: 16px; display: grid; gap: 8px; font-size: 0.95rem; }
.script p { margin: 0; padding: 8px 12px; border-radius: 10px; max-width: 90%; }
.script .cope { background: var(--bg); border: 1px solid var(--line); }
.script .user { background: var(--user); justify-self: end; }
.script .consultant { background: var(--accent-soft); }
.script .fx { color: var(--muted); font-style: italic; font-size: 0.85rem; padding: 0 12px; }
.script b { font-weight: 600; font-size: 0.8rem; color: var(--muted); display: block; }

/* Features with screenshots */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature:nth-child(even) .shot { order: -1; }
.feature p { color: var(--muted); }
.feature h3 { font-size: 1.45rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card h3 a { color: var(--text); text-decoration-color: var(--line); text-underline-offset: 3px; }
.card h3 a:hover { text-decoration-color: var(--accent); }
@media (max-width: 980px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
.card .num { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.soon { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }

table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 0.92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
td:first-child { font-weight: 600; }
td:nth-child(3) { color: var(--muted); }
.table-scroll { overflow-x: auto; }

ul.plain { padding-left: 1.1em; }
ul.plain li { margin: 0 0 0.7em; }
ul.plain li strong { color: var(--text); }
.limits li { color: var(--muted); }

/* Manifesto */
.manifesto { background: var(--surface); }
.manifesto .prose { margin: 0 auto; }
.manifesto h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 2.3rem; font-weight: 400; }
.etymology { font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; line-height: 1.6; }
.beliefs { list-style: none; padding: 0; margin: 36px 0; counter-reset: b; }
.beliefs li { counter-increment: b; position: relative; padding: 0 0 0 52px; margin: 0 0 26px; color: var(--muted); }
.beliefs li::before { content: counter(b); position: absolute; left: 0; top: -2px; font-family: Georgia, serif; font-size: 1.6rem; color: var(--accent); }
.ladder { margin: 20px 0 10px; }
.ladder li { margin: 0 0 18px; }
.ladder li strong { color: var(--text); }
.beliefs strong { display: block; color: var(--text); font-size: 1.08rem; margin-bottom: 2px; }
.manifesto h3 { margin-top: 44px; font-size: 1.2rem; }

footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 820px) {
  .hero, .call, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature:nth-child(even) .shot { order: 0; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .top nav a[href$="how"], .top nav a[href$="different"] { display: none; }
  section { padding: 52px 0; }
  .hero { padding: 32px 0 60px; }
  .phone { max-width: 260px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .wrap.top { padding: 14px 16px; }
  .top .name { font-size: 0; }
  .actions .button { flex: 1 1 auto; text-align: center; }
  table, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 2px 0; }
  td:nth-child(2)::before { content: 'Does well: '; color: var(--muted); }
  td:nth-child(3)::before { content: 'Lacks: '; }
}
