:root {
  --paper: #f6f4ef;
  --ink: #16150f;
  --muted: #66635a;
  --line: #dedad0;
  --black: #000;
  --on-black: #f5f4f0;
  --on-black-muted: #a9a79f;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2f6fed; outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn.small { padding: 10px 18px; font-size: 16px; }
.btn.light { background: var(--on-black); color: var(--black); }
.link { font-weight: 600; text-underline-offset: 4px; }

/* Black panels: the artwork sits on black, so it belongs on one. */
.stage {
  background: var(--black);
  color: var(--on-black);
  border-radius: 28px;
}

/* Hero */
.hero { padding: 8px 0 0; }
.hero .stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 24px;
  padding: 56px 56px 48px;
}
h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 20px;
}
.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--on-black-muted);
  max-width: 36ch;
  margin: 0 0 30px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.stage .link { color: var(--on-black); }
.fineprint { color: var(--on-black-muted); font-size: 15px; margin: 18px 0 0; }
.hero-art img { width: min(400px, 100%); margin-inline: auto; }

/* Sections */
section { padding: 88px 0; }
.hero + section { padding-top: 96px; }
h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
}
.section-lede { color: var(--muted); max-width: 52ch; margin: 0 0 40px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Chat example, drawn like the real thing */
.chats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 48px; }
.chats figure { margin: 0; }
.chats figcaption { font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.chat {
  background: #efeae2;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.chat-top img { width: 40px; height: 40px; border-radius: 50%; }
.chat-top strong { display: block; line-height: 1.2; font-size: 17px; }
.chat-top span { color: var(--muted); font-size: 14px; }
.bubbles { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 20px; }
.bubble {
  max-width: 84%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15.5px;
  line-height: 1.4;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}
.bubble.me { align-self: flex-end; background: #d9fdd3; }
.bubble.oreo { align-self: flex-start; background: #fff; }
.bubble .tag { display: block; font-size: 13px; color: #667781; font-style: italic; margin-bottom: 2px; }

.points { list-style: none; padding: 0; margin: 0; }
.points li { padding: 16px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points strong { display: block; }
.points span { color: var(--muted); }
.points.row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.points.row li, .points.row li:last-child { border-bottom: 0; }

/* What it does: a plain two-column list */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 0;
}
.features div { padding: 22px 0; border-top: 1px solid var(--line); }
.features dt { font-weight: 700; font-size: 20px; margin-bottom: 4px; }
.features dd { margin: 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.steps strong { display: block; font-size: 20px; margin-bottom: 4px; }
.steps span { color: var(--muted); }

/* Two plain columns: coming next, and privacy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split p { color: var(--muted); margin: 0 0 14px; max-width: 46ch; }
.split ul { margin: 0; padding-left: 20px; color: var(--muted); }
.split li { padding: 3px 0; }
code {
  font-family: inherit;
  font-weight: 700;
  color: var(--ink);
  background: #e9e5da;
  padding: 1px 7px;
  border-radius: 6px;
}

/* Final call */
.final { padding-top: 0; }
.final .stage { text-align: center; padding: 56px 24px 60px; }
.final img { width: 150px; margin: 0 auto 10px; }
.final h2 { margin-bottom: 8px; }
.final p { color: var(--on-black-muted); margin: 0 0 26px; }
.final .fineprint { margin-top: 20px; }

/* Footer */
.site-footer { padding: 0 0 44px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 26px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer .note { flex-basis: 100%; font-size: 14px; margin: 0; }

/* Long-form pages */
.prose { max-width: 700px; padding: 40px 0 90px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose li { color: #3b3932; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero .stage { grid-template-columns: 1fr; padding: 28px 24px 36px; border-radius: 22px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(240px, 70%); }
  .lede { max-width: none; }
  .chats, .split, .points.row { grid-template-columns: 1fr; }
  .chats { gap: 28px; }
  .split { gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  section, .hero + section { padding: 60px 0; }
  .final { padding-top: 0; }
  .btn { display: block; width: 100%; }
  .btn.small { display: inline-block; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
