@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/Caveat-latin.woff2") format("woff2");
}

/* Proposed sometime. tokens — see docs/brand/SOMETIME_BRAND_HANDOFF.md */
:root {
  --st-red: #F33224;
  --st-cobalt: #1646FF;
  --st-cobalt-deep: #0F33C7;
  --st-cream: #F4F0E6;
  --st-ink: #111111;
  --st-white: #FFFFFF;
  --st-text-secondary: #5C5952;
  --st-border: #D7D2C8;
  --st-radius-card: 16px;
  --st-radius-pill: 999px;
  --st-ease: cubic-bezier(.2, 0, 0, 1);
  --st-font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --st-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --st-font-hand: "Caveat", "Bradley Hand", cursive;
  --max: 1200px;
  --nav-h: 64px;
  --marquee-h: 80px;
  --hero-fold: calc(100vh - var(--nav-h) - var(--marquee-h));
  --hero-fold-d: calc(100dvh - var(--nav-h) - var(--marquee-h));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--st-cream);
  color: var(--st-ink);
  font-family: var(--st-font-ui);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.5;
}
::selection { background: var(--st-cobalt); color: var(--st-white); }
.hero ::selection, .final ::selection, .strip ::selection { background: var(--st-red); color: var(--st-white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Brand scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--st-cream); }
::-webkit-scrollbar-thumb { background: var(--st-cobalt); border: 3px solid var(--st-cream); border-radius: 8px; }
html { scrollbar-color: var(--st-cobalt) var(--st-cream); scrollbar-width: thin; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 0.95; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--st-cobalt); outline-offset: 3px; box-shadow: 0 0 0 3px var(--st-cream); }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.display { font-family: var(--st-font-display); font-weight: 400; text-transform: lowercase; letter-spacing: 0; }
.hand { font-family: var(--st-font-hand); font-weight: 700; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--st-cobalt); color: var(--st-white); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  font-family: var(--st-font-display); font-size: 21px; line-height: 1; color: var(--st-red);
  text-decoration: none; letter-spacing: 0;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--st-white); opacity: 0.86; }
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 17px;
  text-decoration: none; border: 2px solid transparent; white-space: nowrap;
  transition: transform 100ms var(--st-ease);
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; }
.btn-cream { background: var(--st-cream); color: var(--st-ink); }
.btn-ink { background: var(--st-ink); color: var(--st-white); }
.btn-dark { background: var(--st-ink); color: var(--st-white); min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.nav-links .btn-dark { opacity: 1; }
.soon { font-size: 15px; font-weight: 600; opacity: 0.8; }

/* Photos: grain lives on imagery only, never on text or controls */
.photo { position: relative; overflow: hidden; background: var(--st-ink); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.doodle { position: absolute; color: var(--st-white); pointer-events: none; }
.doodle path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Hero — one viewport: nav + hero + marquee strip */
.hero {
  background: var(--st-cobalt); color: var(--st-white); overflow: hidden; position: relative;
  min-height: var(--hero-fold); max-height: var(--hero-fold);
  display: flex; flex-direction: column;
}
@supports (height: 100dvh) {
  .hero { min-height: var(--hero-fold-d); max-height: var(--hero-fold-d); }
}
.hero .wrap {
  position: relative; flex: 1; min-height: 0; width: min(var(--max), calc(100% - 48px)); margin: 0 auto;
  padding: clamp(10px, 2vh, 28px) 0 0;
  display: flex; flex-direction: column;
}
.wordmark {
  font-family: var(--st-font-display); color: var(--st-red); text-transform: lowercase;
  font-size: clamp(56px, min(16vw, 14vh), 220px); line-height: 0.82; margin: 0 0 0 -0.04em; white-space: nowrap;
  flex-shrink: 1; min-height: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 1fr; gap: 0;
  align-items: end; margin-top: clamp(2px, 0.8vh, 8px);
  flex: 1; min-height: 0;
}
.hero-copy {
  position: relative; z-index: 2;
  padding-bottom: clamp(12px, 2.5vh, 40px);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 0;
}
.hero-copy-main { margin-right: -12%; }
.hero-cta {
  width: min(100%, 28rem);
  max-width: 100%;
  margin-top: clamp(4px, 1vh, 12px);
  padding-right: clamp(8px, 4%, 24px);
}
.hero-cta .cta-row { flex-direction: column; align-items: stretch; }
.hero-cta .soon { font-size: 14px; }
.hero-cta.is-success .cta-row { display: none; }
.hero h1 {
  font-family: var(--st-font-display); font-weight: 400;
  font-size: clamp(34px, min(5.2vw, 5.5vh), 84px); line-height: 0.92; text-transform: lowercase;
}
.lede {
  font-size: clamp(16px, min(1.5vw, 1.8vh), 21px); max-width: 38ch;
  margin: clamp(10px, 1.6vh, 20px) 0 clamp(14px, 2vh, 26px); color: var(--st-white);
}
.cta-row { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 16px); flex-wrap: wrap; }
.hero-cta .waitlist { width: 100%; }
.hero .cta-row .btn { min-height: clamp(44px, 6vh, 52px); font-size: clamp(15px, 1.6vw, 17px); padding-inline: clamp(16px, 2vw, 24px); }
.hero-photo {
  position: relative; z-index: 1; height: 100%; max-height: min(62vh, 560px);
  min-height: clamp(200px, 32vh, 420px);
  border-radius: 18px 18px 0 0; transform: rotate(1.5deg); transform-origin: bottom left;
  margin-right: calc((min(var(--max), 100vw - 48px) - 100vw) / 2);
  width: calc(100% + (100vw - min(var(--max), 100vw - 48px)) / 2);
}
.hero-photo img { animation: hero-drift 20s var(--st-ease) infinite alternate; }
@keyframes hero-drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(-1.5%, -2%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
}
.hero-note {
  display: inline-flex; align-items: flex-end; gap: 6px; margin: 0 0 clamp(8px, 1.4vh, 16px); color: var(--st-white);
  font-family: var(--st-font-hand); font-weight: 700; font-size: clamp(24px, min(2.6vw, 3vh), 36px); line-height: 1;
  transform: rotate(-4deg); transform-origin: left;
}
.hero-note s { text-decoration-color: var(--st-red); text-decoration-thickness: 3px; opacity: 0.85; }

/* Waitlist */
.waitlist {
  display: flex; gap: 8px; align-items: center;
  background: rgba(255, 255, 255, 0.14); border: 2px solid var(--st-white); border-radius: 14px; padding: 6px;
}
.waitlist input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--st-white);
  font: inherit; font-size: 16px; padding: 0 6px 0 12px; min-height: 40px;
}
.waitlist input::placeholder { color: rgba(255, 255, 255, 0.65); }
.waitlist input:focus { outline: none; }
.waitlist:focus-within { box-shadow: 0 0 0 3px var(--st-red); }
.waitlist[hidden],
.waitlist-done[hidden],
.waitlist-error[hidden] { display: none !important; }
.waitlist-done {
  margin: 0; color: var(--st-white);
  font-family: var(--st-font-hand); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15; transform: rotate(-2deg);
  max-width: 100%; position: relative; z-index: 3;
}
.hero-cta.is-success .waitlist-done:not([hidden]) { padding-top: 4px; }
.waitlist-done:not([hidden]) { display: block; }
.waitlist-done em { font-style: normal; color: var(--st-red); }
.waitlist-error {
  margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--st-red);
  max-width: min(22rem, 92%); position: relative; z-index: 3;
}
.waitlist-error:not([hidden]) { display: block; }
.hero .star-a { width: clamp(52px, 6vw, 76px); right: clamp(8px, 2vw, 24px); top: clamp(0px, 1vh, 6px); }
.hero .arrow-a { width: clamp(52px, 6vw, 72px); flex: none; translate: 0 clamp(6px, 1.2vh, 14px); }
.hero .arrow-a path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Marquee strip */
.strip {
  background: var(--st-red); color: var(--st-ink); overflow: hidden; border-block: 3px solid var(--st-ink);
  flex-shrink: 0; min-height: var(--marquee-h);
}
.strip .track { display: flex; gap: 48px; width: max-content; padding: 14px 0; animation: slide 30s linear infinite; }
.strip span { font-family: var(--st-font-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1; white-space: nowrap; text-transform: lowercase; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 112px 0; position: relative; }
.kicker { font-family: var(--st-font-hand); font-weight: 700; font-size: 30px; color: var(--st-red); transform: rotate(-3deg); display: inline-block; margin-bottom: 8px; }
.big { font-family: var(--st-font-display); font-weight: 400; font-size: clamp(52px, 8vw, 120px); line-height: 0.88; }
.sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--st-text-secondary); max-width: 44ch; margin-top: 20px; }

/* How it works — the quiet section: smaller type, more air */
#how { padding: 128px 0; }
#how .big { font-size: clamp(38px, 5vw, 72px); }
#how .kicker { font-size: 26px; }
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 80px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.step .shot { position: relative; height: 560px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 26px; }
.step .shot img { max-height: 100%; width: auto; filter: drop-shadow(0 28px 36px rgba(17, 17, 17, 0.28)); }
.step .num { font-family: var(--st-font-display); font-size: 22px; color: var(--st-cobalt); }
.step h3 { font-family: var(--st-font-display); font-weight: 400; font-size: 40px; margin: 6px 0 10px; text-transform: lowercase; }
.step p { color: var(--st-text-secondary); font-size: 17px; }

/* IRL collage */
.irl { background: var(--st-ink); color: var(--st-cream); overflow: hidden; }
.irl .big { color: var(--st-cream); }
.irl .big em { font-style: normal; color: var(--st-red); }
.irl .sub { color: rgba(244, 240, 230, 0.78); }
.collage { display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: auto auto; gap: 18px; margin-top: 64px; }
.collage .photo { border-radius: 14px; }
.collage .p1 { grid-row: span 2; aspect-ratio: 4 / 3; transform: rotate(-1.2deg); }
.collage .p2 { aspect-ratio: 4 / 3; transform: rotate(1.6deg); }
.collage .p3 { aspect-ratio: 4 / 3; transform: rotate(-0.8deg); }
.collage figure { margin: 0; position: relative; }
.collage figcaption {
  position: absolute; z-index: 2; left: 18px; bottom: 14px; color: var(--st-white);
  font-family: var(--st-font-hand); font-weight: 700; font-size: 30px; transform: rotate(-4deg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.irl .star-b { width: 64px; right: 6%; top: 96px; }
.irl .circle-a { width: 260px; left: 46%; top: 64px; color: var(--st-red); }

/* Vibes */
.vibes { background: var(--st-cream); }
/* faint paper grain on the cream sections */
#how::before, .vibes::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.vibes .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.vibe-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.vibe {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--st-radius-pill);
  background: var(--st-white); border: 2px solid var(--st-ink); font-weight: 700; font-size: 18px;
  transition: transform 160ms var(--st-ease), box-shadow 160ms var(--st-ease);
}
.vibe:hover { transform: rotate(-2deg) scale(1.05); box-shadow: 0 6px 0 var(--st-ink); }
.vibe:hover span { animation: emoji-pop 400ms var(--st-ease); }
@keyframes emoji-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35) rotate(-8deg); }
  100% { transform: scale(1); }
}
.vibe span { font-size: 24px; display: inline-block; }
.vibe.custom { background: var(--st-ink); color: var(--st-white); }
.vibes .shot { display: flex; justify-content: center; }
.vibes .shot img { max-height: 640px; width: auto; filter: drop-shadow(0 28px 36px rgba(17, 17, 17, 0.28)); }

/* Features — also quiet */
.features { background: var(--st-white); }
.features .big { font-size: clamp(38px, 5vw, 72px); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 3px solid var(--st-ink); }
.feature { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--st-border); }
.feature:nth-child(3n + 2), .feature:nth-child(3n + 3) { padding-left: 28px; border-left: 1px solid var(--st-border); }
.feature .emoji { font-size: 30px; }
.feature h3 { font-size: 22px; font-weight: 800; line-height: 1.15; margin: 14px 0 8px; }
.feature p { color: var(--st-text-secondary); font-size: 17px; }

/* Final */
.final { background: var(--st-cobalt); color: var(--st-white); padding: 0; overflow: hidden; }
.final .wrap { display: grid; grid-template-columns: 1fr 0.8fr; gap: 48px; align-items: center; }
.final .copy { padding: 112px 0; }
.final .big { color: var(--st-white); }
.final .big em { font-style: normal; color: var(--st-red); }
.final p { font-size: 20px; margin: 22px 0 32px; max-width: 36ch; }
.final .photo { align-self: stretch; min-height: 560px; }
.final .star-c { width: 70px; right: 40%; top: 72px; }

footer { background: var(--st-ink); color: rgba(244, 240, 230, 0.75); padding: 40px 0 56px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand { font-size: 34px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--st-white); }

/* Text pages stay quiet: system type on cream */
.doc { padding: 64px 0 112px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-family: var(--st-font-display); font-weight: 400; font-size: clamp(48px, 7vw, 80px); text-transform: lowercase; margin-bottom: 16px; }
.doc .updated { color: var(--st-text-secondary); font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-size: 24px; font-weight: 800; line-height: 1.2; margin: 44px 0 12px; }
.doc h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin: 22px 0 8px; }
.doc p, .doc li { color: #2b2a27; font-size: 17px; }
.doc ul + p, .doc h2 + p + ul { margin-top: 14px; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--st-cobalt); }
.doc .faq { background: var(--st-white); border: 1px solid var(--st-border); border-radius: var(--st-radius-card); padding: 22px 24px; margin-top: 16px; }
.doc .faq h3 { margin-top: 0; }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
}
@media (max-width: 860px) {
  :root { --marquee-h: 64px; }
  .hero-grid, .vibes .wrap, .final .wrap, .collage { grid-template-columns: 1fr; }
  .hero-grid { grid-template-rows: auto minmax(0, 1fr); align-items: stretch; }
  .hero-copy { padding-bottom: clamp(8px, 1.5vh, 16px); }
  .hero .arrow-a { display: none; }
  .hero-copy-main { margin-right: 0; }
  .hero-cta { width: 100%; padding-right: 0; }
  .hero-photo {
    min-height: clamp(160px, 22vh, 280px); max-height: min(28vh, 320px); height: auto; transform: none;
    margin-right: 0; width: 100%;
  }
  .waitlist { flex-direction: column; align-items: stretch; width: 100%; }
  .waitlist input { min-height: 46px; text-align: center; }
  .wordmark { font-size: clamp(48px, 18vw, 120px); }
  .how-head { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .step .shot { height: 520px; }
  /* IRL collage becomes a swipeable strip on phones */
  .collage {
    display: flex; overflow-x: auto; gap: 14px; margin: 48px -24px 0; padding: 8px 24px 20px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .collage figure { flex: 0 0 82%; scroll-snap-align: center; }
  .collage .p1 { grid-row: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3n + 2), .feature:nth-child(3n + 3) { padding-left: 0; border-left: 0; }
  .final .copy { padding: 88px 0 24px; }
  .final .photo { min-height: 420px; margin: 0 -24px; }
  .irl .circle-a { display: none; }
  section { padding: 80px 0; }
  .nav-links a:not(.btn) { display: none; }
}
/* Scroll-settle reveal (added by JS; no-JS users see everything) */
.reveal { opacity: 0; transform: translateY(26px) rotate(0.001deg); }
.collage figure.reveal.p1 { transform: translateY(26px) rotate(-2.6deg); }
.collage figure.reveal.p2 { transform: translateY(26px) rotate(2.8deg); }
.collage figure.reveal.p3 { transform: translateY(26px) rotate(-2deg); }
.reveal.is-in {
  opacity: 1; transform: translateY(0) rotate(0.001deg);
  transition: opacity 600ms var(--st-ease), transform 700ms var(--st-ease);
}
.collage figure.reveal.is-in.p1 { transform: translateY(0) rotate(-1.2deg); }
.collage figure.reveal.is-in.p2 { transform: translateY(0) rotate(1.6deg); }
.collage figure.reveal.is-in.p3 { transform: translateY(0) rotate(-0.8deg); }
.step.reveal:nth-child(2), .feature.reveal:nth-child(2) { transition-delay: 90ms; }
.step.reveal:nth-child(3), .feature.reveal:nth-child(3) { transition-delay: 180ms; }
.step.reveal:nth-child(4), .feature.reveal:nth-child(4) { transition-delay: 270ms; }

/* Stars draw themselves in */
.doodle.reveal { opacity: 1; transform: none; }
.doodle.reveal path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.doodle.reveal.is-in path { transition: stroke-dashoffset 900ms var(--st-ease) 200ms; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .strip .track { animation: none; }
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .vibe:hover { transform: none; box-shadow: none; }
  .vibe:hover span { animation: none; }
}
