/* MILO marketing site. Shared by every page; all colors are the variables in :root. */

:root {
  /* MILO green comes from the Naples AI brand; the rest is warm paper and ink */
  --milo: #2f7a5a;
  --milo-deep: #1f5a42;
  --milo-soft: #e2f1e8;
  --sage: #cfe3d6;
  --forest: #16332a;
  --forest-2: #1e4236;
  --honey: #e0a458;
  --honey-soft: #f6e5c4;
  --highlight: #f4e2a8;
  --orange: #f59e42;
  --orange-deep: #e8812a;

  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --card: #fffdf9;
  --ink: #1b2822;
  --ink-2: #43524a;
  --muted: #737f78;
  --line: #e4ded2;
  --line-2: #d6cfc1;

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: 32px;
  --header-h: 72px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27, 40, 34, 0.04), 0 12px 32px -12px rgba(27, 40, 34, 0.14);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--highlight); }
:focus-visible { outline: 2px solid var(--milo); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; top: -48px; left: 0;
  background: var(--ink); color: #fff;
  padding: 10px 16px; font-weight: 500; text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 0; }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ── Type ─────────────────────────────────────── */
h1, h2, .h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
}
h2, .h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.35; }
h1 em, h2 em { font-style: italic; }

.squiggle { position: relative; white-space: nowrap; font-style: italic; }
.squiggle svg {
  position: absolute; left: 0; right: 0; bottom: -0.14em;
  width: 100%; height: 0.32em; overflow: visible;
}
.squiggle path { stroke: var(--honey); stroke-width: 3; fill: none; stroke-linecap: round; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--milo);
}
.lede { font-size: 1.14rem; line-height: 1.62; color: var(--ink-2); max-width: 54ch; }

/* ── Buttons & links ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--milo); color: #fff; }
.btn-primary:hover { background: var(--milo-deep); }
.btn-orange { background: var(--orange); color: #1b2822; box-shadow: 0 10px 24px -10px rgba(245, 158, 66, 0.7); }
.btn-orange:hover { background: #f8b062; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink-2); background: var(--card); }
.btn-light { background: var(--card); color: var(--forest); }
.btn-light:hover { background: var(--honey-soft); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, 0.7); }

.link {
  font-weight: 500;
  color: var(--milo-deep);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease;
}
.link:hover { text-decoration-color: var(--milo); }

/* ── Reveal ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .arr { transition: none; }
}

/* ── Header ───────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand svg { width: 32px; height: 32px; }
.brand img {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sage);
  object-fit: cover;
}
.brand small {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--line-2);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 0.93rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { padding: 10px 18px; font-size: 0.9rem; }
/* Log in and Claim your free spot read as one pair, closer than the text links. */
.nav-links .btn + .btn { margin-left: -18px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: 12px;
  cursor: pointer; color: var(--ink);
}

/* ── Hero ─────────────────────────────────────── */
/* Full-bleed color like MIA, set in Naples AI's serif */
.hero {
  padding: 80px 0 112px;
  position: relative;
  overflow: hidden;
  color: #d9eadf;
  background:
    radial-gradient(70% 90% at 92% 8%, rgba(245, 158, 66, 0.22), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(95, 191, 143, 0.28), transparent 60%),
    linear-gradient(135deg, #16332a 0%, #1f5a42 48%, #2f7a5a 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lede { color: #d4e6da; }
.hero .accent { font-style: italic; color: var(--orange); }
.hero .link { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }
.hero .link:hover { text-decoration-color: #fff; }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles i {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  animation: drift 14s ease-in-out infinite alternate;
}
.bubbles i:nth-child(1) { width: 22px; height: 22px; left: 8%; top: 14%; }
.bubbles i:nth-child(2) { width: 12px; height: 26px; left: 46%; top: 9%; animation-delay: -3s; }
.bubbles i:nth-child(3) { width: 30px; height: 30px; left: 52%; top: 72%; animation-delay: -6s; }
.bubbles i:nth-child(4) { width: 14px; height: 14px; left: 22%; top: 88%; animation-delay: -2s; }
.bubbles i:nth-child(5) { width: 12px; height: 30px; left: 94%; top: 30%; animation-delay: -8s; }
.bubbles i:nth-child(6) { width: 18px; height: 18px; left: 36%; top: 46%; animation-delay: -5s; background: rgba(245, 158, 66, 0.18); }
.bubbles i:nth-child(7) { width: 10px; height: 10px; left: 86%; top: 86%; animation-delay: -10s; }
@keyframes drift { to { transform: translateY(-18px); } }
@media (prefers-reduced-motion: reduce) { .bubbles i { animation: none; } }

.perks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; list-style: none; font-size: 0.88rem; color: #b9d3c3; }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

/* Strip under the hero: everything MILO makes */
.outputs { background: var(--card); border-bottom: 1px solid var(--line); }
.outputs ul {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px;
  padding: 26px 0;
}
.outputs li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em; color: var(--ink); }
.outputs li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--milo); }
.outputs li:nth-child(even)::before { background: var(--orange); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 64px;
  align-items: center;
}
.notice {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.88rem;
  color: #e4f0e8;
  text-decoration: none;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
  transition: border-color 0.2s ease;
}
.notice:hover { border-color: rgba(255, 255, 255, 0.6); }
.notice b {
  font-weight: 600; font-size: 0.75rem;
  background: var(--orange); color: var(--ink);
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* The desk: a lesson plan card, materials, and a sticky note */
.desk { position: relative; padding: 28px 8px 36px 28px; }
.desk::before {
  content: '';
  position: absolute; inset: 0 0 0 0;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.desk .sheet { box-shadow: 0 30px 60px -24px rgba(5, 20, 14, 0.6); }
.sheet {
  position: relative;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 20px;
}
.sheet-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sheet-top svg { width: 28px; height: 28px; flex: none; }
.sheet-top b { font-weight: 500; font-size: 0.92rem; }
.status {
  margin-left: auto;
  font-size: 0.74rem; font-weight: 500;
  color: var(--milo-deep);
  background: var(--milo-soft);
  padding: 4px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--milo); }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--paper); border-radius: 12px; margin-bottom: 18px; }
.tab {
  flex: 1;
  font: inherit; font-size: 0.82rem; font-weight: 500;
  color: var(--muted);
  background: none; border: 0; border-radius: 9px;
  padding: 8px 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(27, 40, 34, 0.1); }

.panel[hidden] { display: none; }
.plan-title { font-family: var(--serif); font-size: 1.42rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 4px; }
.plan-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
.rows { list-style: none; }
.rows li {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem; color: var(--ink-2);
}
.rows li b { font-weight: 500; font-size: 0.76rem; color: var(--milo); padding-top: 2px; }
.q { counter-increment: q; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.level { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 0.8rem; color: var(--ink-2); line-height: 1.45; }
.level b { display: block; font-weight: 500; font-size: 0.74rem; color: var(--ink); margin-bottom: 4px; }
.level i { display: block; height: 5px; border-radius: 4px; background: var(--paper-2); margin-top: 8px; }
.level i + i { width: 70%; margin-top: 5px; }
.sheet-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.sheet-actions span {
  font-size: 0.78rem; font-weight: 500;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2);
}
.sheet-actions span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }

.files {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 16px;
}
.file {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 6px 12px 6px 8px; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(27, 40, 34, 0.05);
}
.file i {
  width: 18px; height: 22px; border-radius: 3px;
  background: var(--milo-soft);
  border: 1px solid var(--sage);
  flex: none;
}
.file:nth-child(2) i { background: var(--honey-soft); border-color: #ecd3a3; }
.file:nth-child(3) i { background: #f3e1d8; border-color: #e8c9b9; }

.sticky {
  position: absolute;
  right: -10px; bottom: -6px;
  width: 178px;
  background: #f8e7a8;
  color: #4b4023;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.32;
  padding: 16px 16px 18px;
  border-radius: 3px 3px 14px 3px;
  transform: rotate(3deg);
  box-shadow: 0 14px 24px -14px rgba(75, 64, 35, 0.45);
}
.sticky::before {
  content: '';
  position: absolute; top: -9px; left: 50%;
  width: 64px; height: 18px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mascot-badge {
  position: absolute;
  left: -48px; bottom: -96px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 24px 40px -18px rgba(5, 20, 14, 0.7);
  object-fit: cover;
  transform: rotate(-4deg);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(-2deg) translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .mascot-badge { animation: none; } }

/* ── Sections ─────────────────────────────────── */
.section { padding: 112px 0; }
.section-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section-top .eyebrow { margin-bottom: 18px; }

/* Origin */
.origin { padding: 96px 0 112px; }
.origin-card {
  display: grid;
  grid-template-columns: auto 1fr 300px;
  gap: 40px;
  align-items: center;
  padding: 40px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 6.5rem;
  line-height: 0.7;
  color: var(--honey);
}
.origin-card p.big {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.origin-card p.small { color: var(--ink-2); max-width: 62ch; }
.origin-card .eyebrow { margin-bottom: 14px; }
.origin-card .sign { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--milo-deep); }
.origin-mascot { width: 300px; height: auto; align-self: end; margin-bottom: -40px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--milo);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.step-num::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.step h3 { margin-bottom: 10px; font-size: 1.15rem; }
.step p { color: var(--ink-2); font-size: 0.97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.chips span {
  font-size: 0.76rem; color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}

/* Makes */
.makes-band { background: var(--paper-2); }
.makes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.make {
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.make:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.make.wide { grid-column: span 3; }
.make-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--milo-soft); color: var(--milo-deep);
  margin-bottom: 22px;
}
.make-icon svg { width: 22px; height: 22px; }
.make:nth-child(3n+2) .make-icon { background: var(--honey-soft); color: #8a5a1c; }
.make:nth-child(3n+3) .make-icon { background: #fde8d3; color: #a5561a; }
.make h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.make p { color: var(--ink-2); font-size: 0.95rem; }

/* Every student */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split .eyebrow { margin-bottom: 18px; }
.split h2 { margin-bottom: 22px; }
.ticks { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); }
.ticks li::before {
  content: '';
  width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background: var(--milo-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks b { font-weight: 500; color: var(--ink); }

.variants { position: relative; display: grid; gap: 14px; }
.variant {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  box-shadow: 0 1px 2px rgba(27, 40, 34, 0.04);
}
.variant:nth-child(2) { margin-left: 32px; }
.variant:nth-child(3) { margin-left: 64px; }
.variant .tag {
  font-size: 0.72rem; font-weight: 500;
  padding: 5px 10px; border-radius: 999px;
  background: var(--milo-soft); color: var(--milo-deep);
  white-space: nowrap;
}
.variant:nth-child(2) .tag { background: var(--honey-soft); color: #8a5a1c; }
.variant:nth-child(3) .tag { background: #f3e1d8; color: #8b4527; }
.variant p { font-size: 0.92rem; color: var(--ink-2); }
.variant p b { display: block; font-weight: 500; color: var(--ink); margin-bottom: 2px; }

/* Principles (dark band) */
.forest {
  background: var(--forest);
  color: #c9d8cf;
  position: relative;
  overflow: hidden;
}
.forest::before {
  content: '';
  position: absolute;
  width: 720px; height: 720px;
  right: -240px; top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 164, 88, 0.16), transparent 62%);
  pointer-events: none;
}
.forest h2 { color: #fff; }
.forest .eyebrow { color: #9fb8aa; }
.forest .eyebrow::before { background: var(--orange); }
.forest .lede { color: #c9d8cf; }
.principles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.principle { padding: 34px 28px 8px 0; }
.principle + .principle { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.principle .n { font-family: var(--serif); font-style: italic; color: var(--orange); font-size: 1.1rem; margin-bottom: 14px; display: block; }
.principle h3 { color: #fff; margin-bottom: 10px; }
.principle p { font-size: 0.95rem; line-height: 1.6; }

/* Shape MILO */
.shape {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--milo-soft);
  border-radius: 28px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.shape .eyebrow { margin-bottom: 18px; }
.shape h2 { margin-bottom: 18px; }
.shape .lede { margin-bottom: 30px; }
.shape-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.questions {
  list-style: none;
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 26px;
  box-shadow: var(--shadow);
  counter-reset: q;
  transform: rotate(-1.2deg);
}
.questions li {
  counter-increment: q;
  display: grid; grid-template-columns: 30px 1fr; gap: 8px;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.38;
  color: var(--ink);
}
.questions li + li { border-top: 1px dashed var(--line); }
.questions li::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.74rem; font-weight: 500;
  color: var(--milo);
  padding-top: 5px;
}
.questions .more { color: var(--muted); font-family: var(--sans); font-size: 0.86rem; }
.questions .more::before { content: '+'; font-size: 0.95rem; padding-top: 0; }

/* Built for */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audience:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.audience h3 { margin-bottom: 8px; }
.audience p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 18px; }
.audience:nth-child(2) .make-icon { background: #fde8d3; color: #a5561a; }
.audience:nth-child(3) .make-icon { background: var(--honey-soft); color: #8a5a1c; }
.audience--cta { background: var(--milo-soft); border-color: var(--sage); }
.audience--cta .make-icon { background: var(--milo); color: #fff; }
.audience .link { margin-top: auto; font-size: 0.93rem; }

.family {
  margin-top: 28px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 20px 26px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.family p { flex: 1; min-width: 240px; color: var(--ink-2); font-size: 0.97rem; }
.family b { font-weight: 600; color: var(--ink); }
.family-marks { display: flex; }
.fm {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 3px solid var(--paper);
}
.fm--mia { background: #3c83f6; }
.fm--milo { background: var(--milo); margin-left: -12px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head .eyebrow { margin-bottom: 16px; }
details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2822' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
details[open] summary::after { transform: rotate(45deg); background-color: var(--card); }
details p { color: var(--ink-2); padding: 0 56px 26px 0; max-width: 68ch; }

/* Closing CTA */
.closing { padding: 0 0 112px; }
.closing-card {
  background: linear-gradient(135deg, #1f5a42 0%, #2f7a5a 55%, #3f9671 100%);
  box-shadow: 0 30px 60px -30px rgba(31, 90, 66, 0.6);
  border-radius: 32px;
  padding: 88px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #c9d8cf;
}
.closing-card::before, .closing-card::after {
  content: '';
  position: absolute; border-radius: 50%; pointer-events: none;
}
.closing-card::before { width: 520px; height: 520px; left: -200px; bottom: -300px; background: radial-gradient(circle, rgba(22, 51, 42, 0.5), transparent 65%); }
.closing-card::after { width: 460px; height: 460px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(245, 158, 66, 0.3), transparent 65%); }
.closing-card > * { position: relative; }
.closing-card h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); margin: 0 auto 20px; max-width: 16ch; }
.closing-card h2 em { color: var(--orange); }
.closing-mascot {
  width: 132px; height: 132px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
  object-fit: cover;
}
.closing-card p { max-width: 50ch; margin: 0 auto 36px; font-size: 1.1rem; }
.closing-card .hero-actions { justify-content: center; }

/* Footer */
footer { padding: 0 0 48px; font-size: 0.9rem; color: var(--muted); }
.foot {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
}
.foot p { margin-top: 16px; max-width: 34ch; }
.foot h4 { font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink); margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { text-decoration: none; transition: color 0.2s ease; }
.foot a:hover { color: var(--ink); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1040px) {
  .hero-grid, .split, .shape, .section-top { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .desk { max-width: 600px; }
  .section-top { gap: 22px; align-items: start; }
  .principles { grid-template-columns: 1fr 1fr; }
  .origin-card { grid-template-columns: auto 1fr 220px; padding: 36px 36px; }
  .origin-mascot { width: 220px; }
  .audiences { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .makes { grid-template-columns: 1fr 1fr; }
  .make, .make.wide { grid-column: span 1; }
  .foot { grid-template-columns: 1fr 1fr; }
  .split { gap: 48px; }
  .shape { gap: 44px; }
  /* Room for both header buttons before the menu collapses at 720px. */
  .brand small { display: none; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { white-space: nowrap; }
  .nav-links .btn + .btn { margin-left: -8px; }
}
/* Two header buttons plus five links stop fitting below ~900px. */
@media (max-width: 900px) {
  .brand small { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.active { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
  .nav-links .btn + .btn { margin-left: 0; margin-top: 10px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .hero { padding: 40px 0 72px; }
  .notice { margin-bottom: 24px; }
  .section { padding: 80px 0; }
  .origin { padding: 64px 0 80px; }
  .origin-card { grid-template-columns: 1fr; gap: 8px; padding: 32px 24px 0; }
  .origin-mascot { width: 240px; justify-self: center; margin: 12px 0 0; }
  .mascot-badge { width: 104px; height: 104px; left: -4px; bottom: -64px; border-width: 4px; }
  .hero { padding-bottom: 104px; }
  .outputs ul { justify-content: center; gap: 10px 22px; }
  .outputs li { font-size: 1.12rem; }
  .quote-mark { font-size: 4.5rem; }
  .steps { grid-template-columns: 1fr; }
  .makes { grid-template-columns: 1fr; }
  .make { min-height: 0; }
  .principles { grid-template-columns: 1fr; }
  .audiences { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0 4px; border-left: 0; }
  .principle + .principle { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .shape { padding: 36px 22px; border-radius: 22px; }
  .questions { transform: none; padding: 6px 18px; }
  .variant:nth-child(2) { margin-left: 16px; }
  .variant:nth-child(3) { margin-left: 32px; }
  .variant { grid-template-columns: 1fr; gap: 10px; }
  .variant .tag { justify-self: start; }
  .desk { padding: 18px 4px 56px 14px; }
  .sheet { padding: 18px 16px 16px; }
  .levels { grid-template-columns: 1fr; }
  .sticky { right: 0; bottom: -10px; width: 160px; font-size: 0.94rem; }
  .closing-card { padding: 64px 22px; border-radius: 24px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  details p { padding-right: 0; }
  summary { font-size: 1.18rem; }

}
/* ── Launch offer ─────────────────────────────── */
/* The offer pill has no badge chip, so it gets even padding. */
.notice--offer { padding: 8px 16px; }
.offer-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 500; line-height: 1.45;
  color: #fff;
  margin: -16px 0 30px;
}
.offer-line svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
/* Live "X of 200 lifetime spots left". Hidden until the count loads. */
.spots {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--milo-deep);
}
.spots[hidden], .offer-line[hidden] { display: none; }
.spots::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(245, 158, 66, 0.6);
  animation: spot-pulse 2.4s ease-out infinite;
  flex: none;
}
@keyframes spot-pulse { 70%, 100% { box-shadow: 0 0 0 8px rgba(245, 158, 66, 0); } }
@media (prefers-reduced-motion: reduce) { .spots::before { animation: none; } }
.hero .spots { color: #fff; order: 3; flex-basis: 100%; }
.hero .hero-actions .btn-orange { order: 1; }
.hero .hero-actions .btn-ghost-light { order: 2; }

/* Offer section, in the old early-access card */
.offer .offer-spots { margin-bottom: 26px; font-size: 1rem; }
.offer .shape-actions small { font-size: 0.88rem; color: var(--muted); }
.offer-art {
  justify-self: center;
  width: min(100%, 360px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 0;
  transform: rotate(-1.2deg);
}
.offer-art img { width: 100%; height: auto; }

/* Ad landing page: logo and Log in only, at every width */
.nav-links--min,
.nav-links--min.active {
  display: flex;
  position: static;
  flex-direction: row;
  padding: 0;
  background: none;
  border: 0;
}
.nav-links--min { gap: 10px; }
.nav-links--min .btn { margin-top: 0; }
.nav-links--min .btn + .btn { margin-left: 0; margin-top: 0; }

/* Explainer video */
.video-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.video-play {
  position: absolute; left: 50%; bottom: 32px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 26px 12px 12px;
  border: 0; border-radius: 999px;
  background: var(--orange); color: var(--ink);
  font: inherit; font-weight: 600; font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(27, 40, 34, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-play:hover { background: #f8b062; transform: translateX(-50%) translateY(-2px); }
.video-play svg {
  flex: none;
  width: 44px; height: 44px; padding: 11px 9px 11px 13px;
  border-radius: 50%; background: var(--ink); color: #fff;
}
.video-play small { font-weight: 500; color: rgba(27, 40, 34, 0.65); margin-left: 6px; }
.video-frame.is-playing .video-play { display: none; }
@media (max-width: 720px) {
  .video-frame { border-radius: 18px; }
  .video-play { bottom: 12px; padding: 6px 16px 6px 6px; font-size: 0.86rem; gap: 10px; }
  .video-play small { display: none; }
  .video-play svg { width: 34px; height: 34px; padding: 8px 6px 8px 10px; }
}

/* Footer legal links */
.foot-legal { display: inline-flex; gap: 18px; }

/* Privacy and terms */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 0 96px; }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 14px; }
.legal h2 { font-size: 1.6rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; max-width: 68ch; }
.legal ul { padding-left: 22px; }
.legal .updated { font-size: 0.9rem; color: var(--muted); }
.todo-note {
  background: var(--honey-soft);
  border: 1px dashed var(--honey);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 28px 0;
  color: #6b4a17;
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .offer-art { width: min(100%, 300px); }
}
@media (max-width: 720px) {
  /* Keep the signup button and the live count on a phone's first screen. */
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(2.3rem, 10.4vw, 2.8rem); margin-bottom: 16px; }
  .hero .lede { font-size: 1.02rem; line-height: 1.55; margin-bottom: 26px; }
  .notice { font-size: 0.82rem; margin-bottom: 18px; }
  .offer-line { font-size: 0.95rem; margin: -12px 0 20px; }
  .hero .spots { order: 2; }
  .hero .hero-actions .btn-ghost-light { order: 3; }
  .offer-art { display: none; }
  /* Legal pages: Log in only on phones; the page itself is the content. */
  .nav-links--min .btn-primary { display: none; }
  .legal { padding: 48px 0 72px; }
}
