:root {
  --ink: #192841;
  --paper: #fdf9f3;
  --stone: #7a8590;
  --vermillion: #e05545;
  --rule: #e6e0d6;
  --max: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2ece3;
    --paper: #121a26;
    --stone: #9aa4b0;
    --rule: #2a3446;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 3rem 1.25rem 6rem;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
main { max-width: var(--max); margin: 0 auto; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .35rem; letter-spacing: -0.02em; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 .6rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1.5rem 0 .4rem; }
.updated { color: var(--stone); font-size: .875rem; margin: 0 0 2rem; }
a { color: var(--vermillion); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9375rem; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }
.wrap { overflow-x: auto; }
ul { padding-left: 1.15rem; }
li { margin: .3rem 0; }
footer { max-width: var(--max); margin: 4rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--stone); font-size: .875rem; }
footer a { margin-right: 1rem; }
.note { background: color-mix(in srgb, var(--vermillion) 8%, transparent); border-left: 3px solid var(--vermillion); padding: .85rem 1rem; margin: 1.5rem 0; font-size: .9375rem; border-radius: 0 6px 6px 0; }

/* ============================================================
   Marketing pages (landing + blog). The legal pages above keep
   their narrow measure; these need full-width layout.
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

body.wide { padding: 0 0 4rem; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; max-width: 68rem; margin: 0 auto; padding: 1.25rem 1.25rem 0;
}
.brand {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: 1.25rem; }
.nav nav a { color: var(--stone); text-decoration: none; font-size: .9375rem; }
.nav nav a:hover { color: var(--ink); }
.nav .nav-cta {
  color: var(--vermillion); font-weight: 600;
}

.hero {
  max-width: 68rem; margin: 0 auto; padding: 3.5rem 1.25rem 2rem;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center;
}
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 340px; height: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
  font-weight: 700; color: var(--vermillion); margin: 0 0 .75rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
}
.accent { color: var(--vermillion); }
.lede { font-size: 1.0625rem; line-height: 1.7; color: var(--stone); margin: 0 0 1.75rem; max-width: 34rem; }
.lede strong { color: var(--ink); }

.btn {
  display: inline-block; background: var(--vermillion); color: #fff;
  padding: .9rem 1.6rem; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: 1rem;
}
.btn:hover { filter: brightness(.94); }
.micro { font-size: .8125rem; color: var(--stone); margin: .75rem 0 0; }

.strip {
  max-width: 68rem; margin: 1rem auto 0; padding: 1.5rem 1.25rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.strip-item { display: flex; flex-direction: column; gap: .15rem; }
.strip-item strong { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--vermillion); }
.strip-item span { font-size: .875rem; color: var(--stone); }

.features, .honest, .waitlist { max-width: 68rem; margin: 0 auto; padding: 3.5rem 1.25rem 0; }
.features h2, .honest h2, .waitlist h2 {
  font-size: 1.75rem; letter-spacing: -0.02em; margin: 0 0 1.75rem;
}
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
.feature img { width: 96px; height: auto; margin-bottom: .5rem; }
.feature h3 { font-size: 1.125rem; margin: 0 0 .5rem; }
.feature p { margin: 0; color: var(--stone); line-height: 1.65; }

.honest { max-width: 46rem; }
.honest p { color: var(--stone); line-height: 1.7; }

.waitlist { max-width: 40rem; text-align: center; }
.waitlist p { color: var(--stone); margin: 0 0 1.5rem; }
#waitlist-form { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
#waitlist-form input {
  flex: 1 1 18rem; min-width: 0; padding: .85rem 1rem; font-size: 1rem;
  border: 1px solid var(--rule); border-radius: 8px;
  background: var(--paper); color: var(--ink);
}
#waitlist-form input:focus { outline: 2px solid var(--vermillion); outline-offset: 1px; }
#waitlist-form button {
  padding: .85rem 1.5rem; font-size: 1rem; font-weight: 600; cursor: pointer;
  background: var(--vermillion); color: #fff; border: 0; border-radius: 8px;
}
#waitlist-form button[disabled] { opacity: .6; cursor: default; }
.form-msg { min-height: 1.4em; margin: .9rem 0 0; font-size: .9375rem; }
.form-msg.ok { color: var(--vermillion); font-weight: 600; }
.form-msg.error { color: var(--vermillion); }

.footer-note { display: block; margin-top: .75rem; }

/* Blog */
.post-list { max-width: 46rem; margin: 0 auto; padding: 2rem 1.25rem 0; list-style: none; }
.post-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.post-list h2 { font-size: 1.25rem; margin: 0 0 .35rem; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--vermillion); }
.post-list p { margin: 0; color: var(--stone); font-size: .9375rem; line-height: 1.6; }
.post-meta { font-size: .8125rem; color: var(--stone); margin-top: .4rem; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 2rem; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 200px; }
  .grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Alternating character + copy sections */
.split {
  max-width: 68rem; margin: 0 auto; padding: 3.5rem 1.25rem 0;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: center;
}
.split.reverse { grid-template-columns: 1.2fr .8fr; }
.split.reverse .split-art { order: 2; }
.split-art { display: flex; justify-content: center; }
.split-art img { width: 100%; max-width: 280px; height: auto; }
.split-copy h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 1rem; line-height: 1.2; }
.split-copy p { color: var(--stone); line-height: 1.7; margin: 0 0 .9rem; }
.split-copy p strong { color: var(--ink); }

.fun { max-width: 46rem; margin: 0 auto; padding: 3.5rem 1.25rem 0; text-align: center; }
.fun h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 1rem; }
.fun p { color: var(--stone); line-height: 1.7; margin: 0 auto 1.75rem; }
.fun-row { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.fun-row img { width: 78px; height: auto; }

@media (max-width: 760px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-art { order: -1; }
  .split-art img { max-width: 190px; }
  .fun-row img { width: 58px; }
}

/* ============================================================
   Scroll reveals + character motion
   The start state is scoped to .reveal-ready, which _reveal.js
   adds only once it knows it can remove it again. Without JS the
   page renders normally rather than as invisible sections.
   ============================================================ */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .65s cubic-bezier(.22,.61,.36,1),
              transform .65s cubic-bezier(.22,.61,.36,1);
}
/* Art trails its copy slightly, so the character reads as arriving. */
.reveal-ready [data-reveal].is-visible .split-art img,
.reveal-ready [data-reveal].is-visible .hero-art img { transition-delay: .12s; }

/* Feature cards cascade rather than snapping in as one block. */
.reveal-ready .grid > [data-reveal]:nth-child(2).is-visible { transition-delay: .08s; }
.reveal-ready .grid > [data-reveal]:nth-child(3).is-visible { transition-delay: .16s; }
.reveal-ready .grid > [data-reveal]:nth-child(4).is-visible { transition-delay: .24s; }

/* The Daruma is a roly-poly doll — it rocks and rights itself. A slow
   asymmetric rock reads as that, where a spin or bounce would not. */
@keyframes daruma-rock {
  0%, 72%, 100% { transform: rotate(0deg); }
  78%  { transform: rotate(-6deg); }
  84%  { transform: rotate(4.5deg); }
  90%  { transform: rotate(-2.5deg); }
  95%  { transform: rotate(1deg); }
}
.hero-art img {
  transform-origin: 50% 88%;   /* pivots on its weighted base, not its centre */
  animation: daruma-rock 7s ease-in-out infinite;
}
.hero-art img:hover { animation-duration: 2.2s; }

/* The pose row pops one after another when it scrolls into view. */
@keyframes daruma-pop {
  0%   { transform: scale(.72) translateY(10px); opacity: 0; }
  60%  { transform: scale(1.06) translateY(0);   opacity: 1; }
  100% { transform: scale(1)    translateY(0);   opacity: 1; }
}
.reveal-ready .fun-row img { opacity: 0; }
.reveal-ready [data-reveal].is-visible .fun-row img {
  animation: daruma-pop .5s cubic-bezier(.34,1.56,.64,1) forwards;
}
.reveal-ready [data-reveal].is-visible .fun-row img:nth-child(1) { animation-delay: .05s; }
.reveal-ready [data-reveal].is-visible .fun-row img:nth-child(2) { animation-delay: .13s; }
.reveal-ready [data-reveal].is-visible .fun-row img:nth-child(3) { animation-delay: .21s; }
.reveal-ready [data-reveal].is-visible .fun-row img:nth-child(4) { animation-delay: .29s; }
.reveal-ready [data-reveal].is-visible .fun-row img:nth-child(5) { animation-delay: .37s; }
.fun-row img { cursor: default; transition: transform .18s ease; }
.fun-row img:hover { transform: translateY(-6px) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
  .reveal-ready [data-reveal],
  .reveal-ready .fun-row img { opacity: 1; transform: none; animation: none; }
}
