:root {
  --background: #faf6ee;
  --surface: #fffdf9;
  --field: #f0e9dd;
  --border: #e8dfd0;
  --ink: #2a2119;
  --ink-muted: #857867;
  --primary: #cf4027;
  --primary-edge: #9e2c17;
  --on-primary: #fff;
  --gold: #d99a17;
  --error: #b3261e;
  --dark: #191613;
  --serif: "Nunito", sans-serif;
  --sans: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: auto; }
figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 800; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: 1; }
h1 em { color: var(--primary); font-style: normal; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { width: min(1120px, 100% - 48px); margin: 0 auto; }
.label { color: var(--ink-muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }

.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); box-shadow: 0 3px 0 var(--primary-edge); font: 700 15px var(--sans); padding: 14px 22px; cursor: pointer; white-space: nowrap; }
.button:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--primary-edge); }
.button:disabled { opacity: .7; cursor: default; }
.button--small { font-size: 14px; padding: 11px 18px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--primary); }
.wordmark { display: flex; align-items: center; font: 700 23px var(--serif); letter-spacing: -.04em; }
.wordmark__icon { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 50%; background: var(--primary); color: var(--on-primary); box-shadow: 0 2px 0 var(--primary-edge); }
.wordmark svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.device { background: var(--dark); border-radius: 38px; padding: 6px; box-shadow: 0 24px 48px rgba(42, 33, 25, .16); }
.device img, .device video { border-radius: 32px; }
.device figcaption { color: var(--ink-muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin-top: 18px; }
.device:has(figcaption) { background: none; padding: 0; box-shadow: none; }
.device:has(figcaption) img { border: 6px solid var(--dark); border-radius: 38px; box-shadow: 0 24px 48px rgba(42, 33, 25, .16); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 56px 0 120px; }
.hero__copy { max-width: 560px; }
.lede { font-size: 19px; color: #5c5044; margin: 24px 0 32px; }
.hero .device--large { width: 320px; justify-self: center; }

.waitlist { position: relative; display: flex; width: min(480px, 100%); padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.waitlist input[type=email] { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: 16px var(--sans); padding: 0 18px; }
.note { color: var(--ink-muted); font-size: 14px; margin-top: 14px; }
.form-error { position: absolute; top: 100%; left: 18px; margin-top: 10px; color: var(--error); font-size: 14px; }
.form-success { width: min(480px, 100%); padding: 16px 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 72px 0; }
.split__copy { max-width: 480px; }
.split__copy h2, .panel__copy h2, .streaks__copy h2 { margin-bottom: 20px; }
.split__copy p + p, .panel__copy p + p { margin-top: 16px; }
.split__copy p:not(.label), .panel__copy p:not(.label) { color: #5c5044; }
.split__visual { display: flex; justify-content: center; }
.split__visual .device { width: 300px; }
.split--flip .split__visual { order: 2; }
.pair { gap: 28px; align-items: flex-end; }
.pair .device { width: 230px; }

.panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; margin: 72px auto; padding: 72px; border-radius: 32px; background: var(--field); }
.panel__visual { display: flex; gap: 24px; justify-content: center; }
.panel__visual .device { width: 250px; }

.streaks { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin: 72px auto; padding: 72px; border-radius: 32px; background: var(--primary); color: var(--surface); }
.streaks .label { color: rgba(255, 253, 249, .75); }
.streaks__copy p:not(.label) { color: rgba(255, 253, 249, .88); }
.ring { position: relative; width: 260px; margin: 0 auto; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 4; }
.ring .ring__progress { stroke: var(--gold); stroke-dasharray: 301.6; stroke-dashoffset: 120.6; stroke-linecap: round; }
.ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring strong { font: 800 80px/1 var(--serif); letter-spacing: -.04em; }
.ring span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

.extras { padding: 72px 0 120px; }
.extras h2 { margin-bottom: 32px; }
.extras dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin: 0; }
.extras dl div { padding: 22px 0; border-top: 1px solid var(--border); }
.extras dt { font-weight: 700; margin-bottom: 4px; }
.extras dd { margin: 0; color: #5c5044; }

.footer { background: var(--dark); color: var(--surface); }
.footer__cta { padding: 96px 0 80px; }
.footer__cta p { color: rgba(255, 253, 249, .7); margin: 14px 0 28px; }
.footer .waitlist { border-color: transparent; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 36px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 253, 249, .6); }
.footer__bottom .wordmark { color: var(--surface); font-size: 20px; }
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--surface); }

@media (max-width: 860px) {
  .shell { width: calc(100% - 40px); }
  .nav__links { display: none; }
  .hero, .split, .panel, .streaks { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 24px 0 72px; }
  .hero .device--large { width: min(300px, 80%); }
  .split { padding: 48px 0; }
  .split__visual { order: 2; }
  .split__visual .device { width: min(280px, 80%); }
  .panel, .streaks { padding: 40px 24px; margin: 48px auto; }
  .panel__visual .device { width: calc(50% - 8px); }
  .panel__visual { gap: 16px; }
  .pair { gap: 16px; }
  .pair .device { width: calc(50% - 8px); }
  .ring { width: 200px; }
  .extras dl { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__bottom nav { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 420px) {
  .waitlist { flex-direction: column; border-radius: 24px; gap: 6px; }
  .waitlist input[type=email] { padding: 12px 14px; }
}
