:root {
  --paper: #f7f7fa;
  --ink: #1c1f2a;
  --muted: #575d70;
  --accent: #46578f;
  --accent-ink: #ffffff;
  --gold: #a8823c;
  --card: #ffffff;
  --line: #dcdfe8;
  --frame: #2a2d3a;
  --shadow: 0 18px 50px -18px rgba(28, 31, 42, .35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14161f;
    --ink: #e8eaf2;
    --muted: #9aa1b5;
    --accent: #8fa0d4;
    --accent-ink: #14161f;
    --gold: #c9a55c;
    --card: #1c1f2b;
    --line: #2e3242;
    --frame: #000000;
    --shadow: 0 18px 50px -18px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --paper: #14161f;
  --ink: #e8eaf2;
  --muted: #9aa1b5;
  --accent: #8fa0d4;
  --accent-ink: #14161f;
  --gold: #c9a55c;
  --card: #1c1f2b;
  --line: #2e3242;
  --frame: #000000;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .8);
}
:root[data-theme="light"] {
  --paper: #f7f7fa;
  --ink: #1c1f2a;
  --muted: #575d70;
  --accent: #46578f;
  --accent-ink: #ffffff;
  --gold: #a8823c;
  --card: #ffffff;
  --line: #dcdfe8;
  --frame: #2a2d3a;
  --shadow: 0 18px 50px -18px rgba(28, 31, 42, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}
.serif { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ---- Hero ---- */
header.hero { padding: 88px 0 0; text-align: center; }
.hero .epigraph {
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero p.tagline {
  max-width: 560px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 19px;
  text-wrap: balance;
}
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid var(--accent);
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { color: var(--accent); background: transparent; }

/* screenshot frames */
.frame {
  background: var(--frame);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.frame img { border-radius: 7px; }
.hero .frame { max-width: 920px; margin: 0 auto -120px; }
.hero-spacer { height: 190px; }

/* ---- Sections ---- */
section { padding: 72px 0; }
section.alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  margin: 6px 0 14px;
  font-weight: 600;
  text-wrap: balance;
}
.section-intro { max-width: 620px; color: var(--muted); margin: 0 0 40px; }

/* feature rows */
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .copy { order: 2; }
.feature h3 { font-size: 24px; margin: 6px 0 10px; font-weight: 600; }
.feature p { color: var(--muted); margin: 0 0 10px; }
.feature ul { color: var(--muted); margin: 10px 0 0; padding-left: 20px; }
.feature li { margin: 4px 0; }
@media (max-width: 780px) {
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feature:nth-child(even) .copy { order: 0; }
}

/* how it works */
.flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 8px; }
.flow .step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 18px;
}
.flow .step .n {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .06em;
}
.flow .step h3 { margin: 6px 0 8px; font-size: 19px; }
.flow .step p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 780px) { .flow { grid-template-columns: 1fr; } }

/* platforms */
.plats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.plat {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--ink);
}
.plat b { color: var(--accent); }

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  color: var(--muted);
  font-size: 15px;
}
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
