:root {
  color-scheme: light dark;
  --paper: #f6f1e6;
  --paper-2: #eaf1fb;
  --ink: #22211d;
  --muted: #5f5c55;
  --blue: #8abaf5;
  --blue-deep: #2459b8;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(34, 33, 29, 0.1);
  --button: #22211d;
  --button-ink: #f6f1e6;
  --shadow: 0 28px 70px rgba(34, 33, 29, 0.14);
  --radius: 22px;
  --rounded: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121519;
    --paper-2: #1a2230;
    --ink: #f1ece2;
    --muted: #b9b4aa;
    --blue: #6c9fe0;
    --blue-deep: #a4c8ff;
    --card: rgba(30, 35, 41, 0.92);
    --line: rgba(241, 236, 226, 0.12);
    --button: #a4c8ff;
    --button-ink: #0e1a2e;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 55%, var(--paper) 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-deep); }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--rounded);
  font-weight: 800;
  font-size: 19px;
}

.brand img { width: 40px; height: 40px; border-radius: 10px; }

.header-cta {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--rounded);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(46px, 7.4vw, 84px);
  line-height: 0.98;
}

.lede {
  margin: 22px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 560;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.button svg { width: 20px; height: 20px; fill: currentColor; }

.fine {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.phone {
  width: min(320px, 78vw);
  margin: 0 auto;
  border-radius: 44px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--paper);
}

/* Sections */
section { padding: 64px 0; }

.section-head { max-width: 640px; margin-bottom: 36px; }

.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; }

.section-head p { color: var(--muted); font-size: 19px; font-weight: 560; margin: 14px 0 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 22px;
}

.step img {
  border-radius: 20px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  width: 100%;
}

.step .num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 26%, transparent);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
}

.step h3 { font-size: 21px; line-height: 1.2; }

.step p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }

.modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mode {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.mode .time {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue-deep);
  background: color-mix(in srgb, var(--blue) 20%, transparent);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.mode h3 { font-size: 24px; }

.mode p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }

.scripts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.script {
  margin: 0;
  padding: 22px;
  border-radius: 20px 20px 20px 6px;
  background: color-mix(in srgb, var(--blue) 18%, var(--card));
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
}

.script cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.facts li {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
}

.facts li strong { display: block; font-family: var(--rounded); font-size: 19px; }

.facts li span { color: var(--muted); font-weight: 500; }

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

details summary {
  cursor: pointer;
  font-family: var(--rounded);
  font-weight: 800;
  font-size: 20px;
  list-style: none;
}

details summary::-webkit-details-marker { display: none; }

details summary::after { content: "+"; float: right; color: var(--blue-deep); }

details[open] summary::after { content: "–"; }

details p { color: var(--muted); font-size: 17px; margin: 10px 0 0; }

.closing {
  text-align: center;
  padding: 80px 0;
}

.closing h2 { font-size: clamp(36px, 5vw, 56px); }

.closing .cta-row { justify-content: center; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 15px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

footer a { font-weight: 700; text-decoration: none; }

/* Plain pages (support, privacy) */
.page { max-width: 720px; padding: 24px 0 64px; }

.page h1 { font-size: clamp(40px, 6vw, 60px); }

.page h2 { font-size: 26px; margin-top: 40px; }

.page p, .page li { font-size: 18px; color: var(--ink); }

.page .muted { color: var(--muted); }

.page ol, .page ul { padding-left: 1.2em; }

.page li { margin: 6px 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .steps, .modes, .scripts { grid-template-columns: 1fr; }
  .step img { max-width: 260px; margin-left: auto; margin-right: auto; }
  section { padding: 44px 0; }
  .button { width: 100%; }
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise 0.8s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
