@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --cream: #f7f5e9;
  --cream-2: #efecd9;
  --sage: #a8c9a1;
  --sage-soft: #dfe9d6;
  --ink: #2d4035;
  --ink-soft: #5d6d62;
  --orange: #ffb15e;
  --lilac: #b9a7f5;
  --lilac-soft: #ebe5fc;
  --line: rgba(45, 64, 53, 0.12);
  --radius: 28px;
  --max: 1120px;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-weight: 700; font-size: 30px; letter-spacing: -0.04em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(45,64,53,.18); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn.small { padding: 9px 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.is-soon { background: var(--cream-2); color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--line); pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px;
  background: var(--sage-soft); padding: 6px 14px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 0.98; letter-spacing: -0.045em;
  margin: 22px 0 22px; font-weight: 700;
}
.hl { background: linear-gradient(transparent 62%, var(--sage) 62%, var(--sage) 92%, transparent 92%); padding: 0 .06em; }
.lead { font-size: 21px; max-width: 30em; color: var(--ink); margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin-top: 18px; }

.stage { position: relative; aspect-ratio: 1 / 0.92; }
.stage .sun { position: absolute; inset: 6% 8% 22% 8%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #fbe3c2 0%, rgba(251,227,194,0) 68%); }
.stage .cloud { position: absolute; width: 22%; }
.stage .cloud.a { top: 10%; left: 4%; animation: drift 14s ease-in-out infinite alternate; }
.stage .cloud.b { top: 2%; right: 2%; width: 28%; animation: drift 18s ease-in-out infinite alternate-reverse; }
.stage .hill { position: absolute; left: -12%; right: -12%; top: 66%; bottom: 0; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: linear-gradient(#d6e5cf, #c3d9bb 60%); box-shadow: inset 0 4px 0 #a8c9a1; }
.stage::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -1px; height: 22%; background: linear-gradient(transparent, var(--cream)); }
.stage .tuck { position: absolute; left: 50%; bottom: 29%; width: 68%; transform: translateX(-50%); transform-origin: 50% 92%; animation: breathe 4.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: translateX(-50%) scale(1, 1); } 50% { transform: translateX(-50%) scale(1.012, 0.985); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(18px); } }

/* Sections */
section { padding: 96px 0; }
.kicker { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); margin: 0 0 12px; }
h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 18px; }
.sub { font-size: 20px; color: var(--ink-soft); max-width: 34em; margin: 0; }

.band { background: var(--sage-soft); border-radius: 48px; margin: 0 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.step .n { font-family: var(--mono); font-size: 14px; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--cream); }
.step h3 { font-size: 24px; letter-spacing: -0.02em; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; align-items: start; }
.phone { margin: 0; }
.phone .frame { border-radius: 44px; padding: 10px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(45,64,53,.45); }
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 786 / 1704; object-fit: cover; object-position: top; }
.phone figcaption { margin-top: 18px; text-align: center; }
.phone figcaption strong { display: block; font-size: 19px; }
.phone figcaption span { color: var(--ink-soft); font-size: 16px; }
.screens .phone:nth-child(2) { margin-top: 48px; }

/* Mascot states */
.states { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.state { text-align: center; }
.state img { width: 100%; transition: transform .25s ease; }
.state:hover img { transform: translateY(-6px) rotate(-2deg); }
.state .name { font-family: var(--mono); font-size: 15px; margin-top: 4px; }
.state .what { color: var(--ink-soft); font-size: 15px; }

/* Quiet list */
.quiet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.quiet div { border-top: 2px solid var(--ink); padding-top: 16px; }
.quiet h3 { margin: 0 0 6px; font-size: 21px; }
.quiet p { margin: 0; color: var(--ink-soft); }

/* Updates */
.log { margin-top: 40px; display: grid; gap: 16px; }
.entry { display: grid; grid-template-columns: 180px 1fr; gap: 24px; background: #fbfaf2; border: 1px solid var(--line); border-radius: 22px; padding: 24px 28px; }
.entry .ver { font-family: var(--mono); font-weight: 500; }
.entry .date { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); }
.entry h3 { margin: 0 0 6px; font-size: 20px; }
.entry ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--ink-soft); max-width: 44em; }

/* Final CTA */
.final { text-align: center; }
.final .card { background: var(--ink); color: var(--cream); border-radius: 48px; padding: 72px 24px; position: relative; overflow: hidden; }
.final img { width: 180px; margin: 0 auto 8px; }
.final h2 { color: var(--cream); }
.final .sub { color: #c9d6c6; margin: 0 auto 32px; }
.final .btn { background: var(--cream); color: var(--ink); }
.final .btn.is-soon { background: rgba(247,245,233,.12); color: #c9d6c6; box-shadow: inset 0 0 0 1.5px rgba(247,245,233,.25); }

footer { padding: 40px 0 56px; font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 24px; }

/* Long-form pages (privacy) */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); }
.doc h2 { font-size: 26px; margin-top: 44px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink); }
.doc .todo { background: #fff1d9; border-radius: 6px; padding: 0 4px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 8px; }
  .stage { order: -1; max-width: 360px; margin: 0 auto -24px; width: 100%; }
  .steps, .quiet { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .screens .phone:nth-child(2) { margin-top: 0; }
  .states { grid-template-columns: repeat(3, 1fr); }
  .entry { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  section { padding: 72px 0; }
  .band { margin: 0 8px; border-radius: 32px; }
  .lead { font-size: 19px; }
  .final .card { border-radius: 32px; padding: 56px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
