@font-face { font-family: Geist; src: url(fonts/geist-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(fonts/geist-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geistmono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(fonts/geist-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --tile: #f3f6f4;
  --text: #0d1210;
  --text-2: #5f6a65;
  --line: rgba(13, 18, 16, 0.08);
  --btn: #127a44;
  --btn-text: #ffffff;
  --btn-hover: #0e6638;
  --nav: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 60px -20px rgba(12, 42, 28, 0.35), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  --wall: url(img/wall-light.svg) center / cover;
  --menubar: rgba(255, 255, 255, 0.42);
  --menubar-text: #0d1210;
  --radius: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --tile: #111513;
    --text: #f2f5f3;
    --text-2: #939d98;
    --line: rgba(255, 255, 255, 0.1);
    --btn: #22b163;
    --btn-text: #04170c;
    --btn-hover: #34c675;
    --nav: rgba(0, 0, 0, 0.7);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 0.5px rgba(255, 255, 255, 0.14);
    --wall: url(img/wall-dark.svg) center / cover;
    --menubar: rgba(0, 0, 0, 0.32);
    --menubar-text: #f2f5f3;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nav .nav-cta { transition: none; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 Geist, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
.lede, .statement p, .privacy p, .big { text-wrap: pretty; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 52px; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 19px; letter-spacing: -0.05em;
}
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav nav a:not(.btn) { color: var(--text-2); transition: color .15s; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* Buttons: Liquid Glass. A clear glass capsule, and a neutral prominent one for
   the main action (black on light, white on dark). Rim light on top, a softer
   bounce at the bottom, a lens highlight that follows the pointer, and a springy
   press. The leaf is the only green on the page. */
:root {
  --solid-top: #2c2c2e;       /* prominent glass, top */
  --solid-bottom: #000000;    /* prominent glass, bottom; solid fallback */
  --solid-text: #ffffff;
  --solid-glow: rgba(255, 255, 255, 0.28);
  --solid-shade: inset 0 -8px 14px -8px rgba(0, 0, 0, 0.6);
  --solid-drop: 0 1px 1px rgba(0, 0, 0, 0.18), 0 12px 28px -12px rgba(0, 0, 0, 0.45);
  --solid-drop-hover: 0 1px 1px rgba(0, 0, 0, 0.18), 0 18px 36px -14px rgba(0, 0, 0, 0.5);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-edge: rgba(13, 18, 16, 0.12);
  --glass-rim: rgba(255, 255, 255, 0.95);
  --glass-glow: rgba(255, 255, 255, 0.9);
  --glass-drop: 0 1px 1px rgba(13, 18, 16, 0.06), 0 8px 20px -8px rgba(13, 18, 16, 0.22);
  --focus: rgba(0, 0, 0, 0.32);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --solid-top: #ffffff;
    --solid-bottom: #e4e4e8;
    --solid-text: #000000;
    --solid-glow: rgba(255, 255, 255, 1);
    --solid-shade: inset 0 -8px 14px -8px rgba(0, 0, 0, 0.16);
    --solid-drop: 0 1px 1px rgba(0, 0, 0, 0.5), 0 12px 28px -12px rgba(0, 0, 0, 0.8);
    --solid-drop-hover: var(--solid-drop);
    --glass: rgba(255, 255, 255, 0.09);
    --glass-edge: rgba(255, 255, 255, 0.16);
    --glass-rim: rgba(255, 255, 255, 0.55);
    --glass-glow: rgba(255, 255, 255, 0.16);
    --glass-drop: 0 1px 1px rgba(0, 0, 0, 0.4), 0 10px 24px -8px rgba(0, 0, 0, 0.7);
    --focus: rgba(255, 255, 255, 0.4);
  }
}

.btn {
  --mx: 50%; --my: 0%; --glow-r: 56px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 32px; padding: 0 16px;
  border: 0; border-radius: 999px;
  font: 500 15px/1 Geist, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; letter-spacing: -0.01em;
  color: var(--text); cursor: pointer; white-space: nowrap;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px var(--glass-edge), var(--glass-drop);
  transition: transform 0.45s var(--spring), box-shadow 0.25s var(--ease-out), filter 0.25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
/* Specular rim: bright along the top, a faint bounce along the bottom. */
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-rim), rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* Lens highlight under the pointer. */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle var(--glow-r) at var(--mx) var(--my), var(--glass-glow), color-mix(in srgb, var(--glass-glow) 40%, transparent) 40%, rgba(255, 255, 255, 0));
  opacity: 0; transition: opacity 0.3s var(--ease-out);
}
.btn:hover::after { opacity: 0.7; }
.btn:hover { box-shadow: inset 0 0 0 0.5px var(--glass-edge), 0 1px 1px rgba(13, 18, 16, 0.06), 0 12px 28px -10px rgba(13, 18, 16, 0.3); }
.btn:active { transform: scale(0.96); transition-duration: 0.12s; transition-timing-function: var(--ease-out); }
.btn:active::after { opacity: 1; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.btn-prominent {
  color: var(--solid-text);
  background: linear-gradient(180deg, var(--solid-top), var(--solid-bottom));
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2), var(--solid-shade), var(--solid-drop);
}
.btn-prominent::after { background: radial-gradient(circle var(--glow-r) at var(--mx) var(--my), var(--solid-glow), rgba(255, 255, 255, 0)); }
.btn-prominent:hover::after { opacity: 0.6; }
.btn-prominent:active::after { opacity: 0.9; }
.btn-prominent:hover { box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2), var(--solid-shade), var(--solid-drop-hover); }

.btn-sm { height: 28px; padding: 0 13px; font-size: 13px; }
.btn-lg, .waitlist-plans .btn { --glow-r: 80px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 16px; }
.btn-xl { --glow-r: 120px; height: 72px; padding: 0 38px 0 32px; gap: 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.025em; }
.btn-icon { width: 28px; height: 28px; padding: 0; color: var(--text-2); }
.btn-icon:hover { color: var(--text); }

/* Solid surfaces for people who asked for less transparency. */
@media (prefers-reduced-transparency: reduce) {
  .btn { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--tile); }
  .btn-prominent { background: var(--solid-bottom); }
  .btn::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none; }
  .btn:active { transform: none; }
}

.nav-cta { max-width: 0; padding: 0; margin-left: -28px; overflow: hidden; opacity: 0; pointer-events: none; transition: max-width .25s, padding .25s, margin .25s, opacity .2s; }
.scrolled .nav-cta { max-width: 120px; padding: 0 13px; margin-left: 0; opacity: 1; pointer-events: auto; }
.nw { white-space: nowrap; }

/* Hero */
.hero { text-align: center; padding: 88px 24px 0; }
.hero-icon { margin: 0 auto 28px; filter: drop-shadow(0 10px 20px rgba(12, 42, 28, .25)); }
h1 {
  font-size: clamp(48px, 8.4vw, 96px);
  line-height: 0.98; letter-spacing: -0.055em;
}
.lede {
  max-width: 30em; margin: 24px auto 36px;
  font-size: clamp(19px, 2.2vw, 22px); line-height: 1.4; letter-spacing: -0.01em;
  color: var(--text-2);
}


/* A display showing the real panel at 1:1, under its menu bar icon */
.display {
  max-width: 1032px; margin: 72px auto 0; padding: 11px 11px 0;
  background: #0b0b0c; border-radius: 26px 26px 0 0;
  box-shadow: 0 0 0 1px #2b2c2e, 0 0 0 2px #0b0b0c, 0 40px 80px -30px rgba(12, 42, 28, .45);
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
.screen {
  position: relative; height: 700px; overflow: hidden;
  border-radius: 15px 15px 0 0; background: url(img/desktop-light.svg) center / cover;
  text-align: left;
}
.menubar {
  height: 24px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--menubar);
  -webkit-backdrop-filter: blur(40px) saturate(160%); backdrop-filter: blur(40px) saturate(160%);
  color: var(--menubar-text);
  font: 400 13px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.menus { display: flex; gap: 20px; white-space: nowrap; overflow: hidden; }
.menus b { font-weight: 700; }
.extras { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.extra { display: grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 5px; }
.extra.is-open { background: rgba(255, 255, 255, .5); }
.clock { padding: 0 8px; }
.menu-panel { position: absolute; top: 30px; right: 72px; width: 360px; }
.menu-panel img { border-radius: 23px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 24px 60px rgba(0, 0, 0, .28), 0 4px 14px rgba(0, 0, 0, .12); }
@media (prefers-color-scheme: dark) {
  .extra.is-open { background: rgba(255, 255, 255, .2); }
  .menu-panel img { box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18), 0 24px 60px rgba(0, 0, 0, .6); }
  .screen { background-image: url(img/desktop-dark.svg); }
  .display { background: #1c1d1f; box-shadow: 0 0 0 1px #3a3b3e, 0 40px 80px -30px rgba(0, 0, 0, .8); }
}

/* Statements: two-tone text instead of heading plus paragraph */
.statement, .privacy { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.statement { padding-top: 168px; }
.statement p { text-wrap: balance; margin: 0; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -0.04em; font-weight: 600; }
.statement span, .privacy span, .big span { color: var(--text-2); }
.privacy { padding-top: 168px; text-align: center; max-width: 720px; }
.privacy p { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -0.03em; font-weight: 600; }
.big { margin: 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 600; }

/* Update stage: big type beside the panel on the wallpaper */
.stage {
  max-width: 1032px; margin: 120px auto 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  min-height: 560px; padding: 64px 72px 0;
  border-radius: var(--radius); background: var(--wall); overflow: hidden;
}
.stage h2 { margin: 0; text-align: left; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -0.055em; color: #0c2a1c; align-self: flex-end; padding-bottom: 72px; }
@media (prefers-color-scheme: dark) { .stage h2 { color: #fff; } }
.shot { display: block; width: 360px; max-width: 100%; }
.shot img { border-radius: 23px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 24px 60px rgba(0, 0, 0, .25); }
.stage .shot { align-self: flex-end; }
.stage .shot img { border-radius: 23px 23px 0 0; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }

/* Two cards, picture first, one line under each */
.duo { max-width: 1032px; margin: 20px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0; }
.card { margin: 0; padding: 0; }
.card-visual { display: grid; place-items: center; height: 340px; padding: 0 20px; border-radius: var(--radius); background: var(--tile); }
.rows { width: 300px; }
.rows img { border-radius: 14px; box-shadow: 0 0 0 .5px var(--line), 0 18px 40px rgba(0, 0, 0, .14); }
figcaption { padding: 18px 8px 0; color: var(--text-2); font-size: 17px; line-height: 1.45; text-wrap: pretty; }
figcaption b { color: var(--text); font-weight: 600; }

/* Select: picture left, statement right */
.split { max-width: 1032px; margin: 168px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .shot { justify-self: center; }
.split .shot img { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); border-radius: 23px 23px 0 0; }

/* Homebrew strip */
.tools { margin: 168px auto 0; text-align: center; }
.tools .big { padding: 0 24px; }
.marquee { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; }
.track span { padding: 12px 18px; border-radius: 14px; background: var(--tile); font: 500 15px/1 "Geist Mono", ui-monospace, monospace; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* Release notes vignette, drawn in the system font so it reads like the app */
.notes {
  margin: auto 0; align-self: center; width: 100%; max-width: 360px;
  padding: 18px 20px 20px; border-radius: 16px;
  background: var(--bg); box-shadow: var(--shadow);
  font: 13px/1.45 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.notes-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.notes-head b { display: block; font-size: 14px; font-weight: 600; }
.notes-head span { color: var(--text-2); }
.notes ul { margin: 0; padding: 0 0 0 26px; list-style: none; display: grid; gap: 8px; }
.notes li { position: relative; }
.notes li::before { content: ""; position: absolute; left: -15px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--text-2); }
.notes li.sec::before {
  left: -19px; top: .25em; width: 11px; height: 12px; border-radius: 0; background: #ff9500;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 0 1 4v7c0 6.2 4.3 11.4 10 13 5.7-1.6 10-6.8 10-13V4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 0 1 4v7c0 6.2 4.3 11.4 10 13 5.7-1.6 10-6.8 10-13V4z'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* Pricing */
.pricing h2 { margin: 0 0 64px; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.05em; }
.pricing { max-width: 1080px; margin: 0 auto; padding: 160px 24px 120px; text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto 48px; text-align: left; }
.plan { padding: 40px; border-radius: var(--radius); background: var(--tile); }
.plan-pro { box-shadow: inset 0 0 0 1.5px var(--text); }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -0.02em; }
.tag { font-size: 12px; font-weight: 500; letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: var(--btn); color: var(--btn-text); }
.price { margin: 18px 0 0; font-size: 48px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price-once { font-size: 32px; margin-top: 14px; }
.cadence { margin: 6px 0 0; color: var(--text-2); font-size: 17px; }
.lock { margin: 16px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.plan ul { list-style: none; margin: 28px 0 0; padding: 0; border-top: 0.5px solid var(--line); display: grid; }
/* Feature rows: a line glyph in secondary ink, hairlines between rows. */
.plan li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; line-height: 1.45; }
.plan li + li { border-top: 0.5px solid var(--line); }
.plan li span { text-wrap: pretty; }
.plan li:last-child { padding-bottom: 0; }
.plan .ico {
  flex: none; width: 17px; height: 17px; margin-top: calc((1.45em - 17px) / 2);
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  color: var(--text-2);
}

/* Same box for every price so only the digits change between variants. */
.amt { display: inline-grid; vertical-align: baseline; font-variant-numeric: tabular-nums; }
.amt-sizer, .amt-value { grid-area: 1 / 1; }
.amt-sizer { visibility: hidden; display: inline-grid; }
.amt-sizer > span, .amt-value { grid-area: 1 / 1; white-space: nowrap; }

/* Waitlist: only ever shown in this sheet. */
.pricing > .btn { margin-top: 4px; }
.sheet {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: 28px 32px 32px; border: 0; border-radius: 32px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px var(--glass-edge), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 40px 100px -20px rgba(0, 0, 0, 0.45), 0 12px 30px -12px rgba(0, 0, 0, 0.25);
  opacity: 0; transform: translateY(12px) scale(0.96);
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), overlay 0.22s allow-discrete, display 0.22s allow-discrete;
}
.sheet[open] { opacity: 1; transform: none; transition-duration: 0.42s; transition-timing-function: var(--ease-out), var(--spring); }
@starting-style { .sheet[open] { opacity: 0; transform: translateY(12px) scale(0.96); } }
.sheet::backdrop {
  background: rgba(10, 14, 12, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition: background 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.sheet[open]::backdrop { background: rgba(10, 14, 12, 0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@starting-style { .sheet[open]::backdrop { background: rgba(10, 14, 12, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); } }
@media (prefers-color-scheme: dark) {
  .sheet { box-shadow: inset 0 0 0 0.5px var(--glass-edge), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 100px -20px rgba(0, 0, 0, 0.9); }
  .sheet[open]::backdrop { background: rgba(0, 0, 0, 0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet::backdrop { transition: none; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .sheet { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sheet[open]::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, 0.45); }
}
.sheet-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.sheet-head img { filter: drop-shadow(0 4px 8px rgba(12, 42, 28, .2)); }
.sheet-head h2 { flex: 1; margin: 0; font-size: 21px; letter-spacing: -0.025em; }
.sheet-head h2:focus { outline: none; }
.sheet-close { align-self: flex-start; margin: -4px -8px 0 0; }

.waitlist { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: left; }
.email-field { display: block; }
.email-field label { display: block; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.waitlist input[type="email"] {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 14px;
  border: 0; box-shadow: inset 0 0 0 0.5px var(--glass-edge), inset 0 1px 2px rgba(0, 0, 0, 0.06);
  background: color-mix(in srgb, var(--tile) 80%, transparent); color: var(--text); font: inherit; font-size: 16px;
  transition: box-shadow .2s var(--ease-out);
}
.waitlist input[type="email"]::placeholder { color: var(--text-2); }
.waitlist input[type="email"]:focus { outline: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 28%, transparent), 0 0 0 4px color-mix(in srgb, var(--text) 8%, transparent); }
.waitlist input[type="email"].is-invalid { box-shadow: inset 0 0 0 1px #b42318; transition: none; }
.waitlist input[type="email"].is-shake { animation: field-shake 320ms cubic-bezier(.36, .07, .19, .97); }
@keyframes field-shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .waitlist input[type="email"].is-shake { animation: none; }
}
@media (prefers-color-scheme: dark) {
  .waitlist input[type="email"].is-invalid { box-shadow: inset 0 0 0 1px #ff8a80; }
}
.field-error { margin: 0; font-size: 14px; line-height: 1.4; color: #b42318; }
.field-error:empty { display: none; }
.field-error:not(:empty) { margin-top: 14px; }
@media (prefers-color-scheme: dark) { .field-error { color: #ff8a80; } }
.waitlist-notice { margin: 0; text-align: center; font-size: 13px; line-height: 1.4; color: var(--text-2); text-wrap: pretty; }
.waitlist-plans { display: grid; gap: 12px; }
.waitlist-plans .btn { width: 100%; height: 44px; padding: 0 20px; justify-content: space-between; font-size: 15px; }
.waitlist-plans .amt { justify-items: end; color: var(--text-2); }
.waitlist .btn-lg { width: 100%; height: 48px; font-size: 17px; }
.form-status:empty { margin-top: -18px; min-height: 0; }
.form-status { min-height: 1.5em; margin: 0; text-align: center; font-size: 14px; color: var(--text-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Small screens */
@media (max-width: 760px) {
  .nav nav { gap: 20px; }
  .nav-cta { margin-left: -20px; }
  .hero { padding-top: 56px; }
  .hero-icon { width: 72px; height: 72px; }
  .display { margin: 56px -8px 0; padding: 7px 7px 0; border-radius: 18px 18px 0 0; }
  .screen { height: 560px; border-radius: 11px 11px 0 0; }
  .menus span { display: none; }
  .extra:not(.is-open) { display: none; }
  .menu-panel { right: 50%; transform: translateX(50%); width: min(340px, calc(100% - 24px)); }
  .statement, .privacy { padding-top: 112px; }
  .stage { flex-direction: column; align-items: stretch; min-height: 0; padding: 40px 24px 0; margin: 80px 16px 0; gap: 32px; }
  .stage h2 { align-self: flex-start; padding-bottom: 0; }
  .stage .shot { align-self: center; }
  .duo, .split, .plans { grid-template-columns: 1fr; }
  .duo { padding: 0 16px; gap: 40px; }
  .card-visual { height: 280px; }
  .split { margin-top: 112px; gap: 40px; }
  .split .big { order: -1; }
  .tools { margin-top: 112px; }
  .pricing { padding-top: 112px; }
  .sheet { padding: 24px 22px 24px; border-radius: 28px; }
  .waitlist { gap: 16px; }
  .btn-xl { height: 64px; padding: 0 32px 0 28px; gap: 10px; font-size: 21px; }
  h2 { margin-bottom: 40px; }
  .plan { padding: 32px 28px; }
}

/* Scroll-driven motion. CSS only. Everything sits behind @supports and
   no-preference, so Firefox/Zen and reduced-motion visitors get the full
   static page. Keyframes start from the visible state wherever content can be
   on screen at load, and only opacity, filter and the transform family move.
   The one big moment is the hero display settling flat as you scroll into it. */
@property --page-glow {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(0, 0, 0, 0);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Hero copy recedes as you scroll past. It is fully visible at scrollY 0. */
    .hero-icon, .hero h1, .lede, #hero-cta {
      animation: recede linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70vh;
    }
    @keyframes recede {
      from { opacity: 1; scale: 1; filter: blur(0); }
      to { opacity: 0.15; scale: 0.94; filter: blur(4px); }
    }

    /* The memorable moment: the display tilts back and lies flat. */
    .display {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes settle {
      from { transform: perspective(1600px) rotateX(14deg) scale(0.94); }
      to { transform: perspective(1600px) rotateX(0deg) scale(1); }
    }

    /* Screenshots rise into place. */
    .stage .shot, .split .shot, .card-visual {
      animation: lift linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    .duo .card:nth-child(2) .card-visual { animation-range: entry 12% cover 52%; }
    @keyframes lift {
      from { opacity: 0.4; scale: 0.92; translate: 0 40px; }
      to { opacity: 1; scale: 1; translate: 0 0; }
    }

    /* Words fade up. */
    .statement p, .stage h2, figcaption, .split .big, .tools .big, .privacy p, .plan {
      animation: rise ease-out both;
      animation-timeline: view();
      animation-range: entry 10% entry 80%;
    }
    .duo .card:nth-child(2) figcaption, .plan-pro { animation-range: entry 22% entry 92%; }
    @keyframes rise {
      from { opacity: 0; translate: 0 24px; filter: blur(6px); }
      to { opacity: 1; translate: 0 0; filter: blur(0); }
    }

    /* Dark only: near-black light that drifts from graphite blue to a trace of leaf green by pricing. */
    @media (prefers-color-scheme: dark) {
      body::before {
        content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
        background: radial-gradient(120% 70% at 50% 100%, var(--page-glow), rgba(0, 0, 0, 0) 75%);
        animation: page-glow linear both;
        animation-timeline: scroll(root);
      }
      @keyframes page-glow {
        0% { --page-glow: rgba(0, 0, 0, 0); }
        30% { --page-glow: #0c1222; }
        65% { --page-glow: #10101a; }
        100% { --page-glow: #072414; }
      }
    }
  }
}

/* Cookie banner: PostHog loads only after Accept. */
.cookie-banner {
  position: fixed; left: 50%; bottom: 16px; z-index: 50; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 18px; border-radius: 22px;
  background: var(--glass); color: var(--text-2); font-size: 13px;
  box-shadow: inset 0 0 0 0.5px var(--glass-edge), 0 12px 28px -12px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  animation: cookie-in 0.5s var(--ease-out) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 14px; }
  .cookie-actions > * { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }

.waitlist .btn:disabled { opacity: .45; cursor: default; pointer-events: none; transition: opacity .2s ease; }
.waitlist .btn.is-loading { opacity: 1; }
.waitlist .btn.is-loading > :not(.spinner) { visibility: hidden; }
.waitlist .btn.is-loading { color: transparent; }
.waitlist .btn .spinner { display: none; }
.waitlist .btn.is-loading .spinner { display: block;
  position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--spin); border-top-color: transparent;
  animation: btn-spin .7s linear infinite;
}
.waitlist .btn-glass { --spin: var(--text); }
.waitlist .btn-prominent { --spin: #fff; }
@media (prefers-color-scheme: dark) { .waitlist .btn-prominent { --spin: #000; } }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .waitlist .btn .spinner { animation-duration: 1.6s; } }
