:root {
  --navy: #102a43;
  --ink: #1f2933;
  --muted: #627d98;
  --teal: #087f8c;
  --teal-bright: #2f9e9e;
  --rule: #d9e2ec;
  --mist: #f7fafc;
  --white: #ffffff;
  --page: #f7f7f4;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 0%, rgba(47, 158, 158, 0.09), transparent 28rem),
    var(--page);
}

button,
textarea,
input {
  font: inherit;
}

a {
  color: var(--teal);
  text-underline-offset: 0.16em;
}

a:hover { color: var(--navy); }

a:focus-visible,
button:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(8, 127, 140, 0.32);
  outline-offset: 3px;
}

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

.hero {
  padding: 72px 0 44px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(2.7rem, 8vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 710px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}

.privacy-note {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
}

.privacy-note strong { color: var(--navy); }

.lesson {
  margin: 0 0 28px;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(16, 42, 67, 0.05);
}

.lesson-number {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lesson h2 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.lesson p {
  max-width: 760px;
  line-height: 1.6;
}

.lesson label strong { color: var(--navy); }

textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 8px;
  padding: 14px;
  resize: vertical;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
}

textarea:focus-visible { border-color: var(--teal); }

.output {
  min-height: 52px;
  margin-top: 14px;
  padding: 14px;
  overflow-wrap: anywhere;
  border-radius: 12px;
  background: var(--navy);
  color: #f3f6f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5;
}

.callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: var(--mist);
  line-height: 1.55;
}

.callout strong { color: var(--navy); }

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

.roadmap li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.roadmap-index {
  color: var(--teal);
  font-weight: 800;
}

.status {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--muted);
}

footer {
  padding: 24px 0 64px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
