@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/*
  Light only. Shape rule: photos and cards use --radius-lg, buttons and
  inputs use --radius-sm, small labels are fully round.
*/
:root {
  color-scheme: light;
  --bg: #ffffff;
  --tint: #f3f4f6;
  --ink: #111318;
  --muted: #4b5161;
  --line: #dfe2e8;
  --input-line: #767d8f;
  --accent: #1d44b8;
  --accent-hover: #15348f;
  --accent-ink: #ffffff;
  --accent-soft: #eaeffc;
  --error: #b42318;
  --focus: #d97706;
  --radius-lg: 18px;
  --radius-sm: 12px;
  --display: "Satoshi", "Atkinson Hyperlegible Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

section { padding: 104px 0; }
.section-sub { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-bottom: 48px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 30px;
  border-radius: var(--radius-sm); border: 2px solid var(--accent);
  font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-quiet { background: transparent; color: var(--accent); }
.btn-quiet:hover { background: var(--accent-soft); }
.btn-inverse { background: #fff; color: var(--accent); border-color: #fff; }
.btn-inverse:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-sm { min-height: 48px; padding: 0 20px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* Wordmark: the bar is a text cursor, the moment before you type a prompt */
.wordmark {
  font-family: var(--display); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center;
}
.cursor { display: inline-block; width: 0.16em; height: 0.82em; background: var(--accent); margin-left: 0.08em; border-radius: 2px; transform: translateY(0.02em); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }

/* Hero */
.hero { padding: 64px 0 104px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.eyebrow { font-weight: 700; font-size: 1rem; color: var(--accent); margin-bottom: 18px; }
.hero-sub { font-size: 1.25rem; color: var(--muted); max-width: 26em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-visual { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 60% 40%; border-radius: var(--radius-lg); }
.hero-chip {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: #fff; border-radius: var(--radius-sm); padding: 18px 20px;
  box-shadow: 0 24px 48px -20px rgb(17 19 24 / .45);
}
.chip-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin: 0 0 4px; }
.chip-text { font-size: 1rem; line-height: 1.45; margin: 0 0 12px; }
.chip-done { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 700; color: var(--accent); margin: 0; }
.chip-done svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Who it's for */
.who { padding-top: 0; }
.who h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 32px; }
.who-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.who-grid p { font-weight: 700; margin: 12px 0 0; }
.who-more { color: var(--muted); margin: 28px 0 0; }

/* How it works */
.how { background: var(--tint); }
.how h2 { max-width: 16em; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.flow-step { background: #fff; border-radius: var(--radius-lg); padding: 28px; }
.flow-label { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; color: var(--muted); margin: 0 0 14px; }
.flow-num {
  width: 34px; height: 34px; border-radius: 999px; flex: none;
  display: grid; place-items: center; background: var(--tint); color: var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 1rem;
}
.flow-text { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.flow-you { background: var(--accent); color: var(--accent-ink); }
.flow-you .flow-label { color: var(--accent-ink); opacity: .85; }
.flow-you .flow-num { background: rgb(255 255 255 / .18); color: var(--accent-ink); }
.flow-you .flow-text { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.35; }
.flow-reply { box-shadow: inset 0 0 0 2px var(--accent); }
.flow-reply .flow-num { background: var(--accent); color: var(--accent-ink); }

/* Compare */
.compare h2 { max-width: 14em; margin-bottom: 48px; }
.compare-grid { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 24px; }
.compare-head { display: none; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row h3 { margin: 0 0 4px; }
.compare-row p { margin: 0; color: var(--muted); }
.compare-row .win { color: var(--ink); font-weight: 700; }
.m-label { font-weight: 700; color: var(--muted); }
.win .m-label { color: var(--accent); }

/* Why */
.why { background: var(--tint); }
.why-grid { display: grid; gap: 48px; align-items: center; }
.why-photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.why h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 36px; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.reasons li { display: flex; gap: 16px; align-items: flex-start; }
.reasons h3 { margin-bottom: 2px; }
.reasons p { margin: 0; color: var(--muted); }
.ico { width: 30px; height: 30px; flex: none; fill: var(--accent); margin-top: 2px; }

/* Lessons */
.parts { display: grid; gap: 16px; }
.part { background: var(--tint); border-radius: var(--radius-lg); padding: 32px; }
.part h3 { font-family: var(--display); font-weight: 900; font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 16px; }
.part ol { margin: 0; padding-left: 1.6em; }
.part li { margin-bottom: 12px; }
.part li:last-child { margin-bottom: 0; }
.part li::marker { font-weight: 800; color: var(--accent); }

/* Free guide */
.free { background: var(--accent-soft); }
.free-grid { display: grid; gap: 48px; align-items: center; }
.free-pages { position: relative; max-width: 440px; width: 100%; margin: 0 auto; aspect-ratio: 1 / 1.08; }
.pg { position: absolute; width: 72%; border-radius: 6px; background: #fff; box-shadow: 0 24px 48px -20px rgb(17 19 24 / .4); }
.pg-back { right: 0; top: 0; transform: rotate(4deg); }
.pg-front { left: 0; bottom: 0; transform: rotate(-3deg); }

.form, .thanks { background: #fff; border-radius: var(--radius-lg); padding: 32px; }
.field { margin-bottom: 22px; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
input[type="email"], input:not([type]) {
  width: 100%; min-height: 58px; padding: 0 16px;
  font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--input-line); border-radius: var(--radius-sm);
}
input:focus { border-color: var(--accent); }
.help { font-size: .92rem; color: var(--muted); margin: 8px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 1rem; margin: 4px 0 24px; cursor: pointer; }
.check input { width: 26px; height: 26px; flex: none; margin: 2px 0 0; accent-color: var(--accent); }
.form-msg { color: var(--error); font-weight: 700; margin: 12px 0 0; }
.form-msg:empty { display: none; }
.thanks h3 { font-size: 1.35rem; }

/* Pricing */
.notice { background: var(--accent-soft); border-left: 5px solid var(--accent); padding: 16px 20px; border-radius: 6px; font-weight: 700; max-width: 40em; }
.plans { display: grid; gap: 16px; margin: 40px 0 28px; align-items: stretch; }
.plan { border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.3rem; }
.plan .btn { margin-top: auto; }
.plan-main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.price { font-family: var(--display); font-size: 3.4rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin: 6px 0 24px; }
.price span { font-family: "Atkinson Hyperlegible Next", sans-serif; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan-main .price span { color: var(--accent-ink); opacity: .85; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; background: var(--accent);
  -webkit-mask: url("/icons/check-bold.svg") center / contain no-repeat;
          mask: url("/icons/check-bold.svg") center / contain no-repeat;
}
.plan-main .ticks li::before { background: var(--accent-ink); }
.guarantee { display: flex; gap: 16px; align-items: flex-start; max-width: 44em; }
.guarantee p { margin: 0; }

/* FAQ */
.faq { background: var(--tint); }
.faq-wrap { display: grid; gap: 32px; }
.faq-list details { background: #fff; border-radius: var(--radius-sm); }
.faq-list details + details { margin-top: 10px; }
.faq-list summary { padding: 18px 24px; font-weight: 700; cursor: pointer; min-height: 62px; display: flex; align-items: center; }
.faq-list details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }
.faq-more { margin: 24px 0 0; }

/* Final call */
.last { padding: 0; background: var(--accent); color: var(--accent-ink); }
.last-grid { display: grid; }
.last-photo { width: 100%; height: 100%; min-height: 280px; max-height: 640px; object-fit: cover; object-position: 50% 30%; }
.last-copy { padding: 64px 20px; }
.last h2 { margin-bottom: 12px; }
.last p { font-size: 1.2rem; margin: 0 0 28px; opacity: .9; }

/* Footer */
.foot { padding: 48px 0 36px; font-size: .95rem; color: var(--muted); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.foot .wordmark { font-size: 1.3rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot nav a { color: var(--ink); }
.foot-note { font-size: .85rem; margin-top: 28px; }

/* Plain document pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.doc h2 { font-size: 1.7rem; margin-top: 1.6em; }
.doc .lede { font-size: 1.25rem; color: var(--muted); }
.doc .say { background: #fff; border: 2px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 1.2em; }
.doc .say strong { display: block; font-size: .85rem; color: var(--accent); }
.doc .cta-box { background: var(--accent-soft); border-radius: var(--radius-lg); padding: 32px; margin-top: 56px; }
.doc .cta-box h2 { margin-top: 0; }
.doc li { margin-bottom: 8px; }

/* Phones */
@media (max-width: 640px) {
  body { font-size: 19px; }
  section { padding: 72px 0; }
  .nav a:not(.btn) { display: none; }
  .btn { white-space: normal; text-align: center; }
  .actions .btn { width: 100%; }
  .hero { padding: 40px 0 72px; }
  .hero-chip { position: relative; left: auto; right: auto; bottom: auto; z-index: 1; margin: -48px 12px 0; }
  .plan { padding: 28px; }
}

/* Tablets and up */
@media (min-width: 768px) {
  .who-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .flow { grid-template-columns: 1fr 1fr 1.35fr; align-items: stretch; }
  .compare-head {
    display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 24px;
    background: var(--tint); font-weight: 700; font-size: .95rem; color: var(--muted); padding: 16px 32px;
  }
  .compare-row { grid-template-columns: 0.8fr 1fr 1fr; gap: 24px; padding: 26px 32px; align-items: baseline; }
  .compare-row h3 { margin: 0; }
  .m-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .parts { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1.15fr 1fr; }
  .last-grid { grid-template-columns: 1fr 1fr; }
  .last-copy { padding: 96px 56px; align-self: center; max-width: 640px; }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero { padding: 72px 0 112px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
  .hero-chip { left: -48px; right: auto; bottom: 40px; max-width: 340px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .free-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
  .faq-wrap { grid-template-columns: 0.75fr 1.25fr; gap: 72px; align-items: start; }
}

/* Launch offer */
.launch-bar { background: var(--ink); color: #fff; text-align: center; padding: 12px 20px; font-size: 1rem; }
.launch-bar a { color: #fff; font-weight: 700; margin-left: 6px; }
.price .was { font-size: 1.6rem; opacity: .6; margin-right: 6px; font-weight: 700; }
.launch-note { font-weight: 700; margin: -12px 0 20px; font-size: .95rem; }

/* Free lesson preview */
.preview-grid { display: grid; gap: 40px; align-items: center; }
.preview-player { background: #111318; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.preview-player video { width: 100%; height: 100%; display: block; }

/* Live course vs Promptly */
.versus { background: var(--tint); }
.versus h2 { max-width: 16em; margin-bottom: 40px; }
.versus-grid { background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.versus-head { display: none; }
.versus-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 20px 24px; }
.versus-row + .versus-row { border-top: 1px solid var(--line); }
.versus-row h3 { grid-column: 1 / -1; margin: 0; font-size: 1rem; color: var(--muted); }
.versus-row p { margin: 0; color: var(--muted); }
.versus-row .win { color: var(--ink); font-weight: 700; }
@media (min-width: 768px) {
  .versus-head { display: grid; grid-template-columns: 0.6fr 1fr 1fr; gap: 24px; padding: 16px 32px; font-weight: 700; color: var(--muted); font-size: .95rem; background: var(--accent-soft); }
  .versus-head span:last-child { color: var(--accent); }
  .versus-row { grid-template-columns: 0.6fr 1fr 1fr; gap: 24px; padding: 22px 32px; align-items: baseline; }
  .versus-row h3 { grid-column: auto; color: var(--ink); font-size: 1.1rem; }
}
@media (min-width: 1024px) { .preview-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
