/* ReefGauge site styles, shared by every page.
   Outfit is self-hosted (SIL Open Font License, assets/fonts/OFL-Outfit.txt): no request to Google. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('fonts/Outfit-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('fonts/Outfit-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --logo-w: clamp(150px, 12.5vw, 184px);   /* the logo, top of the hero and in the sign-up band */
  --ink: #0b1b2e;
  --ink-2: #3d5068;
  --ink-3: #52667e;
  --soft: #6a7f98;           /* the second, quieter half of a headline */
  --line: rgba(11, 27, 46, .08);
  --bg: #f5f8fb;
  --card: #ffffff;
  --teal: #0e9384;
  --teal-ink: #0a6b60;
  --coral: #ff6b5a;
  --coral-ink: #b53a2b;
  --navy: #0b1b2e;
  --navy-2: #13283f;
  --tint-sky: #e6f1fc;
  --tint-mint: #e3f5ef;
  --tint-sand: #fdf1e3;
  --tint-lilac: #eeeafb;
  --r-lg: 32px;
  --r: 24px;
  --r-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 46, .05), 0 4px 14px -6px rgba(11, 27, 46, .12);
  --shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 24px 60px -24px rgba(11, 27, 46, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: 'Outfit', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0; }
p, li, small, .fact span { text-wrap: pretty; }
sub { font-size: .7em; line-height: 0; vertical-align: -.25em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
::selection { background: #c9efe8; }

.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.display { font-size: clamp(46px, 6.6vw, 92px); font-weight: 700; letter-spacing: -.048em; line-height: .96; }
.h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.soft { color: var(--soft); }
.grad {
  background: linear-gradient(100deg, #0e9384 0%, #1a8fd0 55%, #5b6ee8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em; /* keeps descenders inside the clip */
}
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow .n { font-variant-numeric: tabular-nums; color: var(--ink-3); }

/* ---------- buttons and form ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  padding: 8px 8px 8px 22px; min-height: 52px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(11, 27, 46, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { color: #fff; background: #10263f; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(11, 27, 46, .65); }
.btn .arrow {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--coral); color: var(--navy); transition: transform .25s var(--ease);
}
.btn:hover .arrow { transform: translateX(2px); }
.btn.small { min-height: 44px; font-size: 15px; padding: 6px 6px 6px 18px; }
.btn.small .arrow { width: 32px; height: 32px; }
.btn.ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 22px; }
.btn.ghost:hover { background: #fff; color: var(--ink); }

.signup { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; max-width: 560px; }
.signup form {
  display: flex; align-items: center; gap: 8px; padding: 6px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(11, 27, 46, .1), 0 18px 40px -22px rgba(11, 27, 46, .45);
  transition: box-shadow .2s var(--ease);
}
.signup form:focus-within { box-shadow: 0 0 0 2px var(--teal), 0 18px 40px -22px rgba(11, 27, 46, .45); }
.signup input[type=email] {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; color: var(--ink);
  padding: 12px 8px 12px 18px; border: 0; background: transparent; border-radius: 999px;
}
.signup input[type=email]::placeholder { color: var(--ink-3); }
.signup input[type=email]:focus { outline: 2px solid transparent; }
.signup small { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.signup small a { color: inherit; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none;
}
.nav .bar {
  pointer-events: auto; max-width: calc(var(--wrap) - 8px); margin: 0 auto; width: calc(100% - 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(11, 27, 46, .05), 0 10px 30px -18px rgba(11, 27, 46, .35);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled .bar { background: rgba(255, 255, 255, .86); box-shadow: 0 0 0 1px rgba(11, 27, 46, .06), 0 16px 40px -18px rgba(11, 27, 46, .4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(11, 27, 46, .05); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: rgba(11, 27, 46, .05);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--navy); color: #fff; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 210px; padding: 8px;
  display: grid; gap: 2px; border-radius: 22px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(11, 27, 46, .06), 0 24px 50px -20px rgba(11, 27, 46, .45);
}
.menu nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 12px 16px; border-radius: 14px; }
.menu nav a:hover { background: var(--bg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 104px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 -20%; z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 6%, #d9eafc 0%, transparent 70%),
    radial-gradient(45% 45% at 86% 14%, #d6f3ea 0%, transparent 70%),
    radial-gradient(50% 40% at 50% 70%, #ece7fb 0%, transparent 70%);
}
.hero .status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px rgba(11, 27, 46, .07); font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.hero .status b { white-space: nowrap; background: var(--navy); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.hero-logo { display: block; width: var(--logo-w); margin: 0 auto 26px; }
.hero-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(10, 74, 134, .16)); }
.hero .lede { margin: 18px auto 0; max-width: 60ch; }
.hero .signup { margin: 26px auto 0; }
.hero .signup small { text-align: center; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 16px; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { color: var(--teal); flex: none; }

.stage { position: relative; margin: 28px auto 0; max-width: 980px; perspective: 2000px; }
.stage::before {
  content: ''; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(26, 143, 208, .32), rgba(14, 147, 132, .18) 55%, transparent);
  filter: blur(30px);
}
.tilt { transform-origin: 50% 100%; will-change: transform; transition: transform .1s linear; }

/* the display: a wall tablet in a dark bezel */
.device {
  position: relative; border-radius: 34px; padding: 16px;
  background: linear-gradient(160deg, #24364b 0%, #0d1a29 45%, #091420 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 2px 4px rgba(11, 27, 46, .2),
    0 50px 100px -40px rgba(11, 27, 46, .55),
    0 30px 60px -30px rgba(14, 80, 120, .35);
}
.device::after { /* camera */
  content: ''; position: absolute; top: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3b5674, #0a1520 70%);
}
.device .screen { border-radius: 20px; overflow: hidden; background: #dfe9f6; aspect-ratio: 16 / 10; }
.device .screen img { width: 100%; height: 100%; object-fit: cover; }
.device.sm { border-radius: 26px; padding: 11px; }
.device.sm::after { top: 4px; width: 4px; height: 4px; }
.device.sm .screen { border-radius: 15px; }

/* ---------- the display's boot animation, looping ----------
   A port of web/src/components/BootSplash.jsx and the .boot rules in
   web/src/styles.css, looping as the display's screensaver does: one 6.5 s
   round (rise, settle, hold) ending in a 0.7 s dissolve. The display sizes it
   in vh and vw of a 16:10 screen; here 1vh = .625cqw of the frame, and the
   Pi's px are of its 1024-wide panel (1px = .09766cqw). Every time below is
   the display's delay and duration as a share of the round. */
.device .screen.bootloop { position: relative; container-type: inline-size; background: #052548; }
.bootloop .boot {
  position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(180deg, #0a4a86 0%, #073462 55%, #052548 100%);
  animation: bl-dissolve 6.5s infinite;
}
.bootloop .boot-water {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, #1e7fc4 0%, #0f5a9c 55%, #0a3f74 100%);
  animation: bl-water 6.5s infinite;
}
.bootloop .boot-shaft {
  position: absolute; top: -20%; bottom: -20%; left: -40cqw; width: 28cqw;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: skewX(-18deg);
  animation: bl-shaft 6.5s infinite;
}
.bootloop .boot-bubble {
  position: absolute; bottom: -1.95cqw; left: var(--x);
  width: calc(var(--s) * .09766cqw); height: calc(var(--s) * .09766cqw); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .35) 30%, rgba(255, 255, 255, .06) 60%, rgba(255, 255, 255, .2) 100%);
  border: 1px solid rgba(255, 255, 255, .45);
  opacity: 0;
  animation: bl-rise var(--t) linear var(--w) infinite;
}
.device .bootloop .boot-logo {
  position: relative; width: 48.75%; width: 48.75cqw; height: auto; object-fit: contain;
  filter: drop-shadow(0 1.76cqw 3.9cqw rgba(2, 20, 45, .55));
  transform-origin: 50% 60%; opacity: 0;
  animation: bl-logo 6.5s infinite;
}
.bootloop .boot-line {
  position: absolute; bottom: 5.625cqw; left: 50%; width: 22cqw; height: max(2px, .3cqw); margin-left: -11cqw;
  border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden;
}
.bootloop .boot-line span {
  display: block; width: 100%; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #2fd6ff, #7cf3c8);
  transform: translateX(-100%);
  animation: bl-line 6.5s infinite;
}
/* 0.15 s + 1.1 s on cubic-bezier(.22, 1.2, .36, 1) */
@keyframes bl-logo {
  0%, 2.3077% { opacity: 0; transform: translateY(3.75cqw) scale(.9); animation-timing-function: cubic-bezier(.22, 1.2, .36, 1); }
  19.2308%, 100% { opacity: 1; transform: none; }
}
/* 0.4 s + 2.6 s */
@keyframes bl-water {
  0%, 6.1538% { opacity: 0; animation-timing-function: ease-in-out; }
  46.1538%, 100% { opacity: 1; }
}
/* 0.9 s + 1.6 s */
@keyframes bl-shaft {
  0%, 13.8462% { transform: skewX(-18deg); animation-timing-function: ease-in-out; }
  38.4615%, 100% { transform: skewX(-18deg) translateX(190cqw); }
}
/* 0.4 s + 2.5 s */
@keyframes bl-line {
  0%, 6.1538% { transform: translateX(-100%); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  44.6154%, 100% { transform: none; }
}
/* the last 0.7 s, ease-in, into the deep blue under it */
@keyframes bl-dissolve {
  0%, 89.2308% { opacity: 1; animation-timing-function: ease-in; }
  100% { opacity: 0; }
}
@keyframes bl-rise {
  0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  10% { opacity: .8; }
  50% { transform: translate3d(calc(var(--drift) * .09766cqw), -34.375cqw, 0) scale(.9); }
  90% { opacity: .6; }
  100% { transform: translate3d(0, -70cqw, 0) scale(1.05); opacity: 0; }
}
/* Only while it is on screen (the page's script adds .playing), and not
   once someone has paused it. */
.js .bootloop:not(.playing) .boot, .js .bootloop:not(.playing) .boot *,
.bootloop.paused .boot, .bootloop.paused .boot * { animation-play-state: paused; }
.wall .device { position: relative; }
.loop-toggle {
  position: absolute; right: 22px; bottom: 22px; z-index: 2; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(5, 37, 72, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: .75; transition: opacity .2s;
}
.loop-toggle:hover, .loop-toggle:focus-visible { opacity: 1; }
.loop-toggle:focus-visible { outline: 2px solid #7cf3c8; outline-offset: 2px; }
.loop-toggle .i-play { display: none; }
.loop-toggle[aria-pressed="true"] .i-play { display: block; }
.loop-toggle[aria-pressed="true"] .i-pause { display: none; }

.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(11, 27, 46, .05), 0 20px 40px -20px rgba(11, 27, 46, .45);
  font-size: 14px; line-height: 1.3; color: var(--ink-2); white-space: nowrap;
}
.float b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.float .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float.f1 { left: -206px; top: 34%; }
.float.f1 .ic { background: var(--tint-mint); color: var(--teal-ink); }
.float.f2 { right: -206px; top: 50%; }
.float.f2 .ic { background: #ffe9e5; color: var(--coral-ink); }
.float.f3 { left: -96px; bottom: -64px; }
.float.f3 .ic { background: var(--tint-sky); color: #1d6fa5; }

/* ---------- compatible gear strip ---------- */
.gear { padding: 84px 0 24px; text-align: center; }
.gear p.label { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.gear ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; }
.gear li { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.02em; color: #44576f; }
.gear li.planned { font-weight: 500; color: var(--ink-3); font-size: 16px; letter-spacing: 0; }
.gear li.planned span { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a5a12; background: #fbefd6; padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 130px 0 0; }
.head { display: grid; gap: 18px; max-width: 1040px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.head .lede { max-width: 60ch; }

@media (min-width: 561px) { #glance .h2 .soft, #setup .h2 .soft, #display .h2 .soft { display: block; } }
#promises .h2 .soft { display: block; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 36px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.tile p { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
.tile .shot { margin-top: auto; padding-top: 18px; }
.tile .shot img { border-radius: 18px; box-shadow: 0 0 0 1px rgba(11, 27, 46, .06), 0 24px 50px -28px rgba(11, 27, 46, .45); }
.tile.sky { background: linear-gradient(180deg, var(--tint-sky), #f3f8fd); }
.tile.mint { background: linear-gradient(180deg, var(--tint-mint), #f4fbf8); }
.tile.sand { background: linear-gradient(180deg, var(--tint-sand), #fdf8f1); }
.tile.lilac { background: linear-gradient(180deg, var(--tint-lilac), #f7f5fd); }
.tile.dark { background: radial-gradient(120% 80% at 80% 0%, #1c3550 0%, var(--navy) 60%); color: #fff; box-shadow: none; }
.tile.dark p { color: #b7c6d8; }
.tile .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tile.dark .tag { color: #8fd8cc; }
.tile.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.tile.row .txt { display: flex; flex-direction: column; gap: 14px; }
.tile.row .shot { margin-top: 0; padding-top: 0; align-self: center; }
.tile .shot img { margin-inline: auto; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }

/* alerts band */
.band {
  margin: 130px 12px 0; border-radius: 44px; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(255, 107, 90, .22), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(14, 147, 132, .25), transparent 60%),
    var(--navy);
  padding: 110px 0;
}
.band .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.band .eyebrow { color: #ff9d90; }
.band .eyebrow .n { color: #8ea3bb; }
.band .soft { color: #8ea3bb; }
.band .h2 { font-size: clamp(36px, 4vw, 56px); }
.band .lede { color: #c3d0df; }
.points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; color: #c3d0df; font-size: 17px; }
.points li b { color: #fff; font-weight: 600; display: block; margin-bottom: 2px; }
.points .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #ffb3a8; }

/* chemistry pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* works-with cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  border-radius: var(--r); padding: 28px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px;
}
.card p { font-size: 16px; color: var(--ink-2); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint-mint); color: var(--teal-ink); margin-bottom: 6px; }
.card.planned { background: transparent; box-shadow: inset 0 0 0 1px rgba(11, 27, 46, .12); border: 0; }
.card.planned .ic { background: #fbefd6; color: #8a5a12; }
.badge { align-self: flex-start; margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a5a12; background: #fbefd6; padding: 4px 10px; border-radius: 999px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 72px; }
.steps li::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 46, .12);
}
.steps li:first-child::before { background: var(--navy); color: #fff; box-shadow: none; }
.steps li::after { content: ''; position: absolute; top: 26px; left: 68px; right: 0; height: 1px; background: linear-gradient(90deg, rgba(11, 27, 46, .18), rgba(11, 27, 46, .04)); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 17px; }

/* promises */
.promise {
  border-radius: 44px; padding: 72px 56px; margin-top: 0;
  background: linear-gradient(135deg, #e7f4fb 0%, #eef7f2 50%, #f2eefb 100%);
}
.promise .cards4 { max-width: 880px; margin-inline: auto; }
@media (min-width: 561px) { .promise .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.promise .cards4 .card { background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 10px 30px -22px rgba(11, 27, 46, .4); }

/* the display */
.wall { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.fact { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 1px solid rgba(11, 27, 46, .1); }
.fact b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.fact span { font-size: 16px; color: var(--ink-2); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
.faq details { background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(14, 147, 132, .35), 0 16px 40px -28px rgba(11, 27, 46, .4); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); transition: transform .3s var(--ease), background .2s; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--tint-mint); color: var(--teal-ink); }
.faq details p { padding: 0 24px 24px; color: var(--ink-2); font-size: 17px; }

/* closing call */
.cta {
  margin: 130px 12px 0; border-radius: 44px; padding: 110px 24px; text-align: center; color: #fff; overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(70% 90% at 50% 0%, #1f5f7a 0%, #10344d 45%, var(--navy) 100%);
}
.cta::before { content: ''; position: absolute; inset: auto -10% -40% -10%; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(14, 147, 132, .5), transparent); filter: blur(20px); }
.cta .h2 { color: #fff; }
.cta .lede { color: #c3d0df; margin: 22px auto 0; }
.cta .signup { margin: 40px auto 0; }
.cta .signup small { color: #9fb2c8; text-align: center; }
.cta .signup small a { color: #d6e2ef; }
.cta .mark { display: block; width: var(--logo-w); margin: 0 auto 34px; }
.cta .mark img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 36px rgba(64, 170, 255, .22)) drop-shadow(0 14px 22px rgba(0, 0, 0, .35)); }

/* footer */
.foot { padding: 72px 0 56px; font-size: 15px; color: var(--ink-3); }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { padding: 10px 0; color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot .legal { margin-top: 24px; font-size: 13px; line-height: 1.6; max-width: 900px; }
.foot .legal a { color: inherit; }

/* ---------- small pages (thanks, confirmed, privacy) ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; isolation: isolate; position: relative; }
.page::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 0%, #d9eafc 0%, transparent 70%),
    radial-gradient(45% 45% at 90% 10%, #d6f3ea 0%, transparent 70%),
    var(--bg);
}
.page-top { padding: 22px 0; }
.note { margin: auto; padding: 24px; width: 100%; max-width: 560px; }
.note .panel {
  background: rgba(255, 255, 255, .85); border-radius: 32px; padding: 48px 40px; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(11, 27, 46, .05), 0 30px 70px -40px rgba(11, 27, 46, .5);
  display: grid; gap: 16px; justify-items: center;
}
.note .badge-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--tint-mint); color: var(--teal-ink); margin-bottom: 4px; }
.note h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.note p { color: var(--ink-2); }
.note .btn { margin-top: 10px; }
.doc { max-width: 760px; margin: 0 auto; padding: 32px 24px 80px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 24px 0 10px; }
.doc h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc .summary { margin-top: 26px; background: rgba(255, 255, 255, .85); border-radius: 24px; padding: 24px 28px; box-shadow: inset 0 0 0 1px rgba(11, 27, 46, .06); }
.doc .summary p { margin: 0; }
.doc footer { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-reveal]:not(.stage) { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1399px) {
  .float { display: none; }
}
@media (min-width: 901px) and (max-height: 920px) {
  .hero-logo { width: 156px; margin-bottom: 22px; }
  .hero .lede { margin-top: 14px; }
  .hero .signup { margin-top: 22px; }
}
@media (max-width: 1100px) {
  .cards4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .span-7, .span-5, .span-6 { grid-column: span 12; }
  .tile.row { display: flex; }
  .tile.row .shot { margin-top: auto; padding-top: 18px; }
  .tile.row .shot img { max-width: 340px; }
  .band .grid, .wall, .pair { grid-template-columns: 1fr; }
  .band .grid { gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li { padding: 0 0 0 76px; min-height: 52px; }
  .steps li::after { top: 64px; left: 26px; right: auto; bottom: -28px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(11, 27, 46, .18), rgba(11, 27, 46, .04)); }
  .faq { grid-template-columns: 1fr; }
  .promise { padding: 56px 24px; border-radius: 32px; }
  .wall .device { order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding-top: 108px; }
  .float { display: none; }
  .stage { margin-top: 52px; }
  .device { border-radius: 22px; padding: 9px; }
  .device::after { top: 3px; width: 4px; height: 4px; }
  .device .screen { border-radius: 14px; }
  .sec { padding-top: 96px; }
  .tile { padding: 26px; border-radius: 26px; }
  .band, .cta { margin-left: 8px; margin-right: 8px; border-radius: 32px; padding-top: 80px; padding-bottom: 80px; }
  .head { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 104px; }
  .hero-logo { width: 132px; margin-bottom: 16px; }
  .hero .status { display: grid; justify-items: center; gap: 8px; padding: 0; margin-bottom: 18px; background: none; box-shadow: none; text-align: center; font-size: 13px; text-wrap: balance; }
  .signup .btn { white-space: normal; text-align: center; }
  .tile { padding: 24px 20px 20px; }
  .tile .shot { margin-inline: -8px; }
  .cards4, .facts { grid-template-columns: 1fr; }
  .signup form { flex-direction: column; align-items: stretch; border-radius: 26px; padding: 8px; }
  .signup input[type=email] { padding: 14px 16px; text-align: center; }
  .signup .btn { width: 100%; }
  .nav .bar { padding-left: 12px; }
  .nav .btn.small .long { display: none; }
  .brand { font-size: 18px; }
  .note .panel { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loop-toggle { display: none; }
  .bootloop .boot { display: none; }
  .device .screen.bootloop { background: #052548 url(shots/boot-1280.webp) center / cover no-repeat; background-image: image-set(url(shots/boot-1280.webp) 1x, url(shots/boot-2560.webp) 2x); }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tilt { transform: none !important; }
  .btn, .btn .arrow, .faq summary .pm { transition: none; }
}

@media (forced-colors: active) {
  .signup form { border: 1px solid CanvasText; }
  .btn, .menu summary { border: 1px solid ButtonText; }
}
@media print {
  .loop-toggle { display: none !important; }
  .bootloop .boot { display: none; }
  .device .screen.bootloop { background: #052548 url(shots/boot-1280.webp) center / cover no-repeat; background-image: image-set(url(shots/boot-1280.webp) 1x, url(shots/boot-2560.webp) 2x); }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .tilt { transform: none !important; }
  .nav { position: static; }
  .menu, .float { display: none !important; }
}

/* ---------- dosing and the phone app (October 2026) ---------- */
.cards4.after { margin-top: 20px; }
.tile.span-12 .shot img { max-width: min(100%, 1060px); }
.phones { display: grid; place-items: center; }
.handset {
  width: min(340px, 100%); aspect-ratio: 9 / 19; padding: 12px; border-radius: 52px;
  background: var(--navy); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 40px 80px -40px rgba(11, 27, 46, .7);
}
.lock {
  height: 100%; border-radius: 41px; overflow: hidden; padding: 54px 14px 18px;
  background: radial-gradient(120% 70% at 30% 0%, #2b6fa8 0%, #0f3a63 55%, #071d34 100%);
  display: flex; flex-direction: column; gap: 10px;
}
.lock-time { color: #fff; text-align: center; font-size: 64px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-date { color: rgba(255, 255, 255, .8); text-align: center; font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.push { display: grid; gap: 2px; padding: 11px 13px 12px; border-radius: 20px; background: rgba(255, 255, 255, .86); color: var(--ink); font-size: 13.5px; line-height: 1.35; }
.push .app { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); margin-bottom: 3px; }
.push .app img { width: 18px; height: 18px; border-radius: 5px; }
.push .app em { margin-left: auto; font-style: normal; font-weight: 500; }
.push b { font-weight: 600; font-size: 14.5px; }
.push > span:last-child { color: var(--ink-2); }
.push.urgent { box-shadow: inset 3px 0 0 var(--coral); }
.push.urgent b { color: var(--coral-ink); }
@media (max-width: 900px) { #phone .wall .phones { order: -1; } }
