/* The same look as the app: cream paper, ink outlines, chunky shadows, Fredoka + Nunito, the Sunny office palette. */
:root {
  --cream: #fbf7ee; --paper: #f2ead8; --ink: #22262e; --muted: #6f6a5b;
  --coral: #f0765f; --brass: #f2b134; --teal: #3aa5a0; --sage: #7fc8a9; --purple: #7a6ad6; --blue: #4b7bec; --ok: #2fb872;
  --sky1: #ffc98f; --sky2: #ffe6bf; --sky3: #fff4de;
  --display: 'Fredoka', ui-rounded, 'Trebuchet MS', sans-serif; --body: 'Nunito', system-ui, sans-serif;
  --shadow: 0 5px 0 rgba(34, 38, 46, .9);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sky3); color: var(--ink); font: 700 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.3vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
code, kbd { font: 700 .88em ui-monospace, Menlo, monospace; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 0 .3em; }
a { color: inherit; }

.btn { display: inline-block; border: 3px solid var(--ink); border-radius: 12px; background: var(--sage); color: var(--ink); font: 600 17px var(--display); padding: 10px 18px; text-decoration: none; box-shadow: var(--shadow); cursor: pointer; transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(34, 38, 46, .9); }
.btn.big { font-size: 20px; padding: 14px 24px; }
.btn.small { font-size: 15px; padding: 6px 12px; box-shadow: 0 3px 0 rgba(34, 38, 46, .9); }
.btn:disabled { opacity: .6; cursor: default; }
.link { font-weight: 800; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(255, 244, 222, .92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px var(--display); }
.brand img { border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); font-weight: 800; }
.nav nav a:not(.btn) { text-decoration: none; }
.nav nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; }

main > section { padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; max-width: none !important; background: linear-gradient(180deg, var(--sky1), var(--sky2) 60%, var(--sky3)); border-bottom: 3px solid var(--ink); }
.hero > * { max-width: 640px; }
.hero-copy { justify-self: end; }
.kicker { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); border: 3px solid var(--ink); border-radius: 999px; padding: 4px 12px; }
.lede { font-size: 19px; }
.cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 26px 0 14px; }
.fine { color: var(--muted); font-size: 14px; }

.frame { margin: 0; background: var(--cream); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 8px 0 rgba(34, 38, 46, .9); overflow: hidden; }
.frame.narrow { max-width: 440px; justify-self: center; }
.hero-media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.problem { text-align: center; }
.tour { text-align: center; }
.tour > p { max-width: 640px; margin: 0 auto 26px; }
.tour-media { max-width: 1040px; margin: 0 auto; }
.tour-media video { width: 100%; aspect-ratio: 16 / 10; background: var(--ink); }
.problem p { font: 600 clamp(22px, 2.6vw, 30px)/1.35 var(--display); max-width: 820px; margin: 0 auto; }

.features { display: grid; gap: clamp(56px, 8vw, 104px); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.tag { display: inline-block; font: 600 14px var(--display); letter-spacing: .06em; text-transform: uppercase; border: 3px solid var(--ink); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }
.tag.coral { background: var(--coral); } .tag.teal { background: var(--teal); color: #fff; } .tag.brass { background: var(--brass); }

.promises h2, .promises .works { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.card { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.card:nth-child(1) { background: #fff; } .card:nth-child(2) { background: #eaf6f0; } .card:nth-child(3) { background: #fff3dc; } .card:nth-child(4) { background: #fde7e2; }
.card p { margin: 0; font-size: 16px; }

.fun { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fun img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 45% 40%; }

.get .panel, .teams .panel { max-width: 720px; margin: 0 auto; background: var(--cream); border: 3px solid var(--ink); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 8px 0 rgba(34, 38, 46, .9); }
.get .panel { background: #fff; text-align: center; }
.get .waitlist { text-align: left; max-width: 480px; margin: 0 auto; }
.waitlist label, .waitlist legend { display: block; font: 600 15px var(--display); margin: 14px 0 6px; }
.waitlist input[type=email], .waitlist select { width: 100%; border: 3px solid var(--ink); border-radius: 10px; padding: 10px 12px; font: 700 16px var(--body); background: #fff; color: var(--ink); }
.waitlist .row { display: flex; gap: 10px; } .waitlist .row input { flex: 1; }
.waitlist fieldset { border: 0; padding: 0; margin: 0; }
.waitlist .choice { display: inline-flex; align-items: center; gap: 8px; font: 800 16px var(--body); margin: 0 20px 0 0; }
.waitlist .ts { margin: 16px 0 12px; min-height: 0; }
.waitlist .msg { margin: 10px 0 0; min-height: 1.4em; font-weight: 800; }
.waitlist .msg.ok { color: #1c7a4a; } .waitlist .msg.err { color: #b3261e; }
input:focus-visible, select:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

footer { border-top: 3px solid var(--ink); background: var(--paper); padding: 28px clamp(16px, 4vw, 48px); text-align: center; }
footer p { margin: 4px 0; display: flex; justify-content: center; align-items: center; gap: 8px; }

@media (max-width: 900px) {
  .hero, .feature, .feature.flip, .fun { grid-template-columns: 1fr; }
  .hero-copy { justify-self: start; }
  .feature.flip .feature-copy { order: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .waitlist .row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
