/* =========================================================
   Tempo — design system
   ========================================================= */
/* fonts: self-hosted latin subsets (variable) */
@font-face { font-family: 'Host Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/host-grotesk-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; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/geist-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; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono-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 {
  /* colour */
  --canvas: #F5F4EF;
  --canvas-2: #EFEDE6;
  --surface: #FFFFFF;
  --ink: #0F1413;
  --ink-2: #48514E;
  --ink-3: #626B67;
  --line: #E2E0D8;
  --line-2: #ECEAE3;

  --tide: #0A7663;
  --tide-hover: #08604F;
  --tide-bright: #14A688;
  --tide-glow: #8FE6CB;
  --tide-soft: #DDF2EA;
  --tide-softer: #EDF8F4;
  --tide-deep: #062E28;
  --tide-deeper: #041F1B;
  --ping: #FF5A36;
  --ping-ink: #C2391A;
  --ping-soft: #FFE6DE;

  /* type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: "Host Grotesk", "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;

  --fs-display: clamp(2.75rem, 1.55rem + 5vw, 5.5rem);   /* 44 → 88 */
  --fs-h1: clamp(2.5rem, 1.65rem + 3.6vw, 4.5rem);       /* 40 → 72 */
  --fs-h2: clamp(2rem, 1.45rem + 2.3vw, 3.25rem);        /* 32 → 52 */
  --fs-h3: clamp(1.3125rem, 1.15rem + .6vw, 1.625rem);   /* 21 → 26 */
  --fs-h4: 1.1875rem;                                     /* 19 */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);    /* 17 → 20 */
  --fs-body: 1.0625rem;                                   /* 17 */
  --fs-sm: .9375rem;                                      /* 15 */
  --fs-xs: .8125rem;                                      /* 13 */
  --fs-mono: .75rem;                                      /* 12 */

  /* space */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 6rem + 4vw, 152px);
  --head-gap: clamp(40px, 2rem + 2vw, 64px);
  --r-xs: 10px;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: clamp(28px, 3vw, 40px);

  /* layered, tide-tinted shadows: a tight contact shadow + a soft ambient one */
  --shadow-sm: 0 1px 1px rgba(6,46,40,.04), 0 2px 4px -1px rgba(6,46,40,.05), 0 6px 14px -6px rgba(6,46,40,.08);
  --shadow: 0 1px 2px rgba(6,46,40,.05), 0 4px 8px -2px rgba(6,46,40,.05), 0 12px 24px -8px rgba(6,46,40,.09), 0 28px 48px -20px rgba(6,46,40,.12);
  --shadow-lg: 0 1px 2px rgba(6,46,40,.06), 0 6px 12px -4px rgba(6,46,40,.08), 0 20px 40px -14px rgba(6,46,40,.16), 0 48px 72px -36px rgba(6,46,40,.22);

  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --ease-spring: cubic-bezier(.34,1.4,.5,1);

  /* sticky offset: clears the floating nav, shrinks when the nav hides on scroll */
  --stick: 88px;
}
html.nav-off { --stick: 16px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--tide-glow); color: var(--tide-deep); }
:focus-visible { outline: 2px solid var(--tide-bright); outline-offset: 3px; border-radius: 8px; }
.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: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; transition: top .2s; }
.skip:focus { top: 16px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
.site-header { view-transition-name: header; }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: .98; letter-spacing: -.04em; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.03em; }
.h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.02em; }
.h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.lead a, .body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; max-width: 56ch; }
.body { color: var(--ink-2); text-wrap: pretty; }
.small { font-size: var(--fs-sm); }
.mono { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em; font-weight: 500; }
.muted { color: var(--ink-3); }
.accent { color: var(--tide); }
.hl { color: var(--tide); }
.hl-ping { color: var(--ping); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.pill-dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: var(--tide-glow); }
.pill-on-brand { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.pill .num-tag { font-family: var(--mono); font-size: 11px; color: var(--tide); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--tide-bright); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: inherit; opacity: .35; animation: pulse 2.4s var(--ease-out) infinite; }
.pulse-ping { background: var(--ping); }
@keyframes pulse { from { transform: scale(.4); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--tide-soft); color: var(--tide); font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; font-weight: 500; }
.ic16 { width: 16px; height: 16px; flex: none; }

/* ---------- Layout ---------- */
.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.container-md { width: min(1040px, 100% - var(--gutter) * 2); margin-inline: auto; }
.container-sm { width: min(780px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section + .section:not(.band):not(.section-cta) { padding-top: calc(var(--section) * .55); }
.band { background: var(--surface); border-block: 1px solid var(--line-2); }

.sec-head { display: grid; gap: 18px; margin-bottom: var(--head-gap); max-width: 760px; }
.sec-head .pill { justify-self: start; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head.center .pill { justify-self: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; column-gap: clamp(32px, 6vw, 96px); }
.sec-head.split > :first-child { display: grid; gap: 18px; }
.sec-head.split .side { display: grid; gap: 20px; justify-items: start; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stack { display: grid; gap: 20px; justify-items: start; }
.stack-lg { display: grid; gap: 28px; justify-items: start; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: -.005em; white-space: nowrap; line-height: 1;
  transition: transform .18s var(--ease-out), background-color .2s, border-color .2s, box-shadow .25s var(--ease-out), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .ic16 { transition: transform .25s var(--ease-out); }
.btn:hover .ic16 { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: .875rem; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 1rem; }
.btn-primary { background: var(--tide); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 20px -10px rgba(10,118,99,.7); }
.btn-primary:hover { background: var(--tide-hover); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 26px -10px rgba(10,118,99,.8); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #C9C6BC; box-shadow: var(--shadow-sm); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-light:hover { background: rgba(255,255,255,.17); }
.btn-white { background: #fff; color: var(--tide-deep); }
.btn-white:hover { background: var(--tide-softer); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #232b29; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: var(--fs-sm); color: var(--tide); }
.link-arrow .ic16 { transition: transform .25s var(--ease-out); }
.link-arrow:hover .ic16 { transform: translateX(3px); }
.link-arrow:hover { color: var(--tide-hover); }

/* ---------- Nav: full-width dark tide bar ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform .45s var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav {
  position: relative; height: 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  padding-inline: max(var(--gutter), calc((100% - 1240px) / 2));
  background: #0A2C26; color: #fff;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.07);
  transition: height .4s var(--ease-out), box-shadow .3s;
}
.site-header.is-scrolled .nav { height: 64px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(4,31,27,.12), 0 12px 28px -14px rgba(4,31,27,.45); }
.nav-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; color: var(--tide-deep); transition: transform .5s var(--ease-spring); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.04); }
.nav .brand, .brand-light { color: #fff; }
.nav .brand .mark, .brand-light .mark { color: #15463E; box-shadow: none; }
.nav-center { position: relative; }
.nav-links { position: relative; z-index: 1; display: flex; gap: 2px; list-style: none; }
.nav-hl { position: absolute; top: 0; left: 0; height: 40px; width: 0; border-radius: 999px; background: rgba(255,255,255,.09); opacity: 0; pointer-events: none; transition: transform .35s var(--ease-out), width .35s var(--ease-out), opacity .2s; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none;
  font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.7); transition: color .2s;
}
.nav-link:hover, .dd-btn[aria-expanded="true"] { color: #fff; }
.nav-link[aria-current="page"], .has-dd:has([aria-current="page"]) .dd-btn { color: #fff; }
.nav-link[aria-current="page"]::after, .has-dd:has([aria-current="page"]) .dd-btn::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--tide-glow); }
.chev { width: 10px; height: 6px; transition: transform .3s var(--ease-out); }
.dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.nav-signin { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.72); transition: color .2s, background-color .2s; }
.nav-signin:hover { color: #fff; background: rgba(255,255,255,.07); }
.btn-glow { background: var(--tide-glow); color: var(--tide-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.btn-glow:hover { background: #A9F0DA; }
.nav-join { --h: 44px; padding: 0 16px 0 20px; }

/* dropdown */
.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 24px); left: 50%; width: 720px; padding: 10px; border-radius: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 10px;
  background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(6,46,40,.05), 0 12px 24px -8px rgba(6,46,40,.12), 0 36px 64px -28px rgba(6,46,40,.24);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.985); transform-origin: top center;
  transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
}
.dd::before { content: ""; position: absolute; inset: -26px 0 auto; height: 26px; }
.dd.open { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 12px; border-radius: 16px; transition: background-color .2s; }
.dd-item:hover, .dd-item[aria-current="page"] { background: var(--canvas); }
.dd-item b { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.dd-item small { display: block; margin-top: 3px; color: var(--ink-3); font-size: .8125rem; line-height: 1.4; }
.dd-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--tide-soft); color: var(--tide); display: grid; place-items: center; transition: transform .35s var(--ease-spring); }
.dd-item:hover .dd-ic { transform: scale(1.06) rotate(-4deg); }
.dd-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dd-feature { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--tide-deep); color: #fff; transition: background-color .25s; }
.dd-feature:hover { background: #0B3A33; }
.dd-feature b { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.015em; }
.dd-feature small { color: rgba(255,255,255,.66); font-size: .8125rem; line-height: 1.45; }
.ddf-track { position: relative; height: 44px; margin-bottom: 14px; border-radius: 12px; background: rgba(255,255,255,.07); }
.ddf-track i { position: absolute; top: 7px; bottom: 7px; border-radius: 7px; background: rgba(143,230,203,.3); }
.ddf-track em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: #fff; }
.ddf-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: .8125rem; font-weight: 500; color: var(--tide-glow); }
.ddf-link .ic16 { transition: transform .25s var(--ease-out); }
.dd-feature:hover .ddf-link .ic16 { transform: translateX(3px); }

/* menu button + mobile sheet */
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); flex-direction: column; justify-content: center; align-items: center; gap: 5px; transition: background-color .2s; }
.menu-btn:hover { background: rgba(255,255,255,.16); }
.menu-btn span { width: 16px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 55; background: var(--tide-deep); color: #fff; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .3s var(--ease-out); }
.sheet.open { opacity: 1; }
.sheet[hidden] { display: none; }
.sheet-inner { width: min(640px, 100% - 32px); margin: 0 auto; padding: 100px 0 40px; display: grid; }
.sheet-label { padding: 18px 4px 6px; color: rgba(255,255,255,.45); }
.sheet-link { display: flex; align-items: baseline; gap: 14px; padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--display); font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; color: rgba(255,255,255,.92); }
.sheet-link span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.4); }
.sheet-link[aria-current="page"] { color: var(--tide-glow); }
.sheet-link[aria-current="page"] span { color: var(--tide-glow); }
.sheet-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.sheet.open .sheet-inner > * { animation: sheetIn .5s var(--ease-out) both; animation-delay: calc(var(--si, 0) * 35ms + 60ms); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(12px); } }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(136px, 12vw, 184px) 0 clamp(56px, 6vw, 88px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none; background: radial-gradient(560px 300px at 72% 30%, rgba(20,166,136,.14), transparent 70%), radial-gradient(420px 240px at 12% 10%, rgba(255,90,54,.06), transparent 70%); }
.page-hero .stack-lg { max-width: 820px; }
.page-hero.center .stack-lg { margin-inline: auto; justify-items: center; text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero.split .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--ink-3); }
.crumb a:hover { color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { padding: clamp(128px, 11vw, 172px) 0 0; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 980px; z-index: -1; pointer-events: none; background: radial-gradient(640px 340px at 50% 64%, rgba(20,166,136,.17), transparent 70%), radial-gradient(520px 260px at 84% 18%, rgba(255,90,54,.07), transparent 70%); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 24px; }
.hero-copy .display { max-width: none; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-copy .lead { max-width: 600px; }
.hero-switch { display: inline-flex; vertical-align: middle; position: relative; top: -.07em; margin-right: .12em; padding: 0; border: 0; background: none; border-radius: 999px; }
.hs-track { position: relative; display: block; width: 1.42em; height: .78em; border-radius: 999px; background: var(--ping); box-shadow: inset 0 2px 6px rgba(0,0,0,.18); transition: background-color .5s var(--ease-out); }
.hs-knob { position: absolute; top: .075em; left: .075em; width: .63em; height: .63em; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.22); transition: transform .6s var(--ease-spring); }
.hero-switch[aria-checked="true"] .hs-track { background: var(--tide-bright); }
.hero-switch[aria-checked="true"] .hs-knob { transform: translateX(.64em); }
.hero-switch:hover .hs-knob { box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.hero-switch:active .hs-knob { width: .72em; }
.hs-hint { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) rotate(-5deg); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; color: var(--ping); white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.hero-switch[aria-checked="true"] .hs-hint, .hero-switch.touched .hs-hint { opacity: 0; }
.proof { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--ink-2); }
.proof strong { color: var(--ink); font-weight: 600; }
.avatars { display: flex; }
.avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--canvas); object-fit: cover; margin-left: -9px; background: var(--line); }
.avatars img:first-child { margin-left: 0; }

.js .lw { display: inline-block; opacity: 0; transform: translateY(.3em); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Day demo */
.day { margin-top: clamp(48px, 6vw, 80px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(16px, 2vw, 26px); }
.day-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding: 4px 4px 0; }
.day-title { display: grid; gap: 2px; }
.day-title strong { font-weight: 600; font-size: 1rem; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--canvas-2); }
.seg-btn { position: relative; z-index: 1; height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-size: .875rem; font-weight: 500; color: var(--ink-3); transition: color .3s; }
.seg-btn.is-active { color: var(--ink); }
.seg-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.day[data-state="on"] .seg-btn[data-set="on"] { color: var(--tide); }
.day-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.day-chart { position: relative; height: 300px; }
#wave { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gridlines line { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-layer { position: absolute; inset: 0; pointer-events: none; }
.pdot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ping); box-shadow: 0 0 0 3px rgba(255,90,54,.16); }
.tide-badge { position: absolute; transform: translate(-50%, calc(-100% - 12px)); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--tide-deep); color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .4s; }
.tide-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--tide-glow); }
.tide-badge b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--tide-glow); }
.bell-badge { position: absolute; transform: translate(-50%, calc(-100% - 8px)); padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); white-space: nowrap; opacity: 0; transition: opacity .4s; }
.focus-label { position: absolute; top: 12px; transform: translateX(-50%); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--tide); white-space: nowrap; opacity: 0; transition: opacity .5s; }
.day[data-state="on"] :is(.tide-badge, .bell-badge, .focus-label) { opacity: 1; }
.day[data-state="on"] .tide-badge { transition-delay: .5s; }
.day[data-state="on"] .focus-label { transition-delay: .7s; }
.axis { position: relative; height: 28px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.axis span { position: absolute; top: 10px; transform: translateX(-50%); white-space: nowrap; }
.axis span:first-child { transform: none; }
.axis span:last-child { transform: translateX(-100%); }
.day-feed { border-radius: 22px; background: var(--canvas); padding: 14px 12px 12px; display: flex; flex-direction: column; overflow: hidden; transition: background-color .6s var(--ease-out); }
.day[data-state="on"] .day-feed { background: var(--tide-softer); }
.feed-label { display: flex; align-items: center; gap: 8px; margin: 0 4px 12px; }
.feed-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ping); transition: background-color .4s; }
.day[data-state="on"] .feed-label::before { background: var(--tide-bright); }
.toasts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(15,20,19,.3); font-size: 13px; line-height: 1.35; animation: toastIn .45s var(--ease-out) both; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.toast.out { opacity: 0; transform: translateY(-6px) scale(.98); }
.toast .ic { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: 12px; color: #fff; }
.toast > div { min-width: 0; flex: 1; }
.toast b { display: block; font-weight: 600; font-size: 12.5px; }
.toast .t { display: block; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast .when { flex: none; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.toast .tg { display: inline-block; margin-top: 5px; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; padding: 1px 6px; border-radius: 999px; background: var(--ping-soft); color: var(--ping-ink); }
.toast.held { background: var(--tide-deep); color: #fff; border-color: transparent; }
.toast.held .t { color: var(--tide-glow); }
.toast.held .ic { background: var(--tide-bright); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.day-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.ds { display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: var(--canvas); }
.ds span { font-size: var(--fs-xs); color: var(--ink-3); }
.ds strong { font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -.025em; line-height: 1.15; transition: color .4s; }
.day[data-state="off"] .ds strong { color: var(--ping); }
.day[data-state="on"] .ds strong { color: var(--tide); }

/* ---------- Ticker ---------- */
.ticker { padding: clamp(56px, 6vw, 88px) 0 0; overflow: hidden; }
.ticker-head { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 20px; }
.ticker-track { display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-row { display: flex; flex: none; gap: 10px; padding-right: 10px; animation: tick 46s linear infinite; }
.ticker:hover .ticker-row { animation-play-state: paused; }
.ticker-row span { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; }
.ticker-row i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 12px; color: #fff; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: clamp(22px, 2.4vw, 32px); }
.lift { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D8D5CB; }

.stat-card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 2.6vw, 34px); }
.stat-card .big { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 2.3rem + 2.6vw, 4.5rem); line-height: .95; letter-spacing: -.045em; color: var(--ping); }
.stat-card .big small { font-size: .42em; letter-spacing: -.02em; margin-left: .12em; color: var(--ping-ink); }
.stat-card.is-tide .big small { color: var(--tide); }
.stat-card.is-tide .big { color: var(--tide); }
.stat-card p { color: var(--ink-2); }
.src { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; padding-top: 14px; border-top: 1px solid var(--line-2); }

.step-card { display: flex; flex-direction: column; padding: 12px 12px 28px; }
.step-card .vis { height: 216px; border-radius: 20px; background: var(--canvas); position: relative; overflow: hidden; display: grid; place-items: center; }
.step-card .meta { padding: 24px 14px 0; display: grid; gap: 10px; }
.step-card .num { font-family: var(--mono); font-size: var(--fs-mono); color: var(--tide); letter-spacing: .06em; }

.vis-connect .mark-lg { width: 64px; height: 64px; color: var(--tide-deep); position: relative; z-index: 2; filter: drop-shadow(0 10px 20px rgba(10,118,99,.35)); }
.orbit { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit > span { display: inline-flex; align-items: center; gap: 7px; position: absolute; left: 50%; top: 50%; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; white-space: nowrap; transform-origin: 0 0; transform: rotate(calc(var(--a) * 60deg)) translateY(-80px) rotate(calc(var(--a) * -60deg)) translate(-50%, -50%); animation: counter 40s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes counter { to { rotate: -360deg; } }
.mini-track { position: absolute; left: 28px; right: 28px; top: 60%; height: 10px; border-radius: 999px; background: var(--line); }
.mt-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--tide-soft), var(--tide-glow)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out) .3s; }
.in .mt-fill, .mt-fill.in { transform: scaleX(1); }
.mini-track i { position: absolute; left: var(--x); top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--tide); border: 3px solid var(--surface); box-shadow: 0 4px 10px rgba(10,118,99,.4); }
.mini-track b { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--tide); }
.mini-dots { position: absolute; left: 28px; right: 28px; top: 24%; display: flex; justify-content: space-around; }
.mini-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--ping); animation: drift 3.2s var(--ease-in-out) infinite; }
.mini-dots span:nth-child(odd) { animation-delay: -1.1s; }
.mini-dots span:nth-child(3n) { animation-delay: -2.2s; }
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(28px); opacity: 1; } }
.step-card .vis-bells { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; justify-content: center; padding: 24px; }

.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-size: .875rem; font-weight: 500; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .18s var(--ease-out); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color .2s, transform .3s var(--ease-spring); }
.chip.on { background: var(--tide-soft); border-color: #B5E2D2; color: var(--tide-deep); }
.chip.on::before { background: var(--tide-bright); transform: scale(1.15); }
button.chip:hover { border-color: #C9C6BC; }
button.chip.on:hover { border-color: var(--tide-bright); }
button.chip:active { transform: scale(.96); }

/* ---------- Doorbells sandbox ---------- */
.rules { display: grid; gap: 16px; margin-top: 8px; }
.rule-group { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.rg-label { padding-top: 11px; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-add input { height: 36px; width: 136px; padding: 0 14px; border-radius: 999px; border: 1px dashed #B9B6AC; background: transparent; font-size: .875rem; }
.chip-add input:focus { outline: none; border-style: solid; border-color: var(--tide-bright); background: var(--surface); }
.sandbox { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; box-shadow: var(--shadow); }
.composer { display: flex; flex-direction: column; gap: 14px; padding: 18px 10px 10px; }
.field { display: grid; gap: 6px; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
.input, .select, .textarea { width: 100%; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--canvas); font-size: var(--fs-sm); color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.textarea { height: auto; min-height: 112px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 40px; background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230F1413' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--tide-bright); background-color: var(--surface); box-shadow: 0 0 0 4px rgba(20,166,136,.12); }
.composer .btn { margin-top: auto; }
.lock { display: flex; flex-direction: column; align-items: center; min-height: 400px; padding: 28px 12px 12px; border-radius: 22px; color: #fff; background: radial-gradient(120% 70% at 50% 0%, #1A5C50, var(--tide-deeper)); overflow: hidden; }
.lock-time { font-family: var(--display); font-weight: 500; font-size: 3.5rem; line-height: 1; letter-spacing: -.03em; }
.lock-date { margin-top: 8px; color: rgba(255,255,255,.6); }
.lock-feed { display: grid; gap: 8px; width: 100%; margin-top: auto; }
.verdict { padding: 11px 13px; border-radius: 16px; font-size: 13px; line-height: 1.4; background: rgba(255,255,255,.13); animation: toastIn .45s var(--ease-out) both; transition: opacity .3s, transform .3s; }
.verdict .v-top { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.verdict .v-top b { flex: 1; min-width: 0; }
.verdict .v-ic { margin-right: 0; }
.verdict .v-tag { flex: none; height: fit-content; padding: 2px 7px; border-radius: 999px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; white-space: nowrap; }
.verdict.ring { background: rgba(255,255,255,.96); color: var(--ink); }
.verdict.ring .v-tag { background: var(--ping-soft); color: var(--ping-ink); }
.verdict.hold { color: rgba(255,255,255,.86); }
.verdict.hold .v-tag { background: rgba(143,230,203,.2); color: var(--tide-glow); }
.verdict .why { margin-top: 4px; font-size: 12px; opacity: .7; }
.verdict.ghost { text-align: center; background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); }
.verdict.fade { opacity: .45; transform: scale(.97); }

/* ---------- Digest ---------- */
.digest-card { padding: clamp(20px, 2.2vw, 28px); box-shadow: var(--shadow-lg); }
.dc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.dc-head strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.dc-next { padding: 6px 10px; border-radius: 999px; background: var(--tide-soft); color: var(--tide); white-space: nowrap; }
.dc-group { padding-top: 18px; }
.dc-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.dot-ping { background: var(--ping); } .dot-tide { background: var(--tide-bright); }
.dc-list { list-style: none; display: grid; gap: 8px; }
.dc-list li { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--canvas); font-size: .875rem; line-height: 1.45; }
.dc-list p { color: var(--ink-2); }
.dc-list b { color: var(--ink); font-weight: 600; }
.app-name { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.app-name svg { width: 13px; height: 13px; flex: none; }
.mini { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: transform .18s var(--ease-out), border-color .2s, background-color .2s, color .2s; }
.mini:hover { border-color: #C9C6BC; }
.mini:active { transform: scale(.96); }
.mini.done { background: var(--tide); border-color: var(--tide); color: #fff; }
.dc-summary { padding: 12px 14px; border-radius: 14px; background: var(--tide-soft); color: var(--tide-deep); font-size: .875rem; line-height: 1.55; }
.dc-muted .dc-summary { background: var(--canvas); color: var(--ink-3); }
.ticks { list-style: none; display: grid; gap: 18px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--tide-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' stroke='%230A7663' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.ticks b { color: var(--ink); font-weight: 600; }
.ticks-dark li { color: rgba(255,255,255,.72); }
.ticks-dark b { color: #fff; }
.ticks-dark li::before { background-color: rgba(143,230,203,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' stroke='%238FE6CB' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.js [data-cascade] > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js .in [data-cascade] > *, .js [data-cascade].in > * { opacity: 1; transform: none; }

/* ---------- Dark panel / planner ---------- */
.panel-dark { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--tide-deep); color: #fff; padding: clamp(28px, 5vw, 64px); background-image: radial-gradient(720px 380px at 88% 0%, rgba(20,166,136,.34), transparent 70%), radial-gradient(520px 300px at 0% 100%, rgba(143,230,203,.1), transparent 70%); }
.panel-dark .lead, .panel-dark .body { color: rgba(255,255,255,.7); }
.planner-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 56px; align-items: end; margin-bottom: 40px; }
.planner-head > div { display: grid; gap: 18px; justify-items: start; }
.pl-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.preset { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s, transform .18s var(--ease-out); }
.preset:hover { background: rgba(255,255,255,.08); color: #fff; }
.preset:active { transform: scale(.96); }
.preset.is-active { background: var(--tide-glow); border-color: var(--tide-glow); color: var(--tide-deep); }
.pl-controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.pl-field { display: grid; gap: 6px; font-size: var(--fs-xs); color: rgba(255,255,255,.62); font-weight: 500; }
.pl-field select { appearance: none; height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 15px center; color: #fff; font-size: var(--fs-sm); }
.pl-field select option { color: var(--ink); }
.pl-range { flex: 1; min-width: 220px; }
.pl-range output { margin-left: 6px; color: #fff; font-family: var(--mono); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 42px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--tide-glow) var(--p, 30%), rgba(255,255,255,.16) var(--p, 30%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,.16); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--tide-glow); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: transform .2s var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range-light::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--tide) var(--p, 30%), var(--line) var(--p, 30%)) !important; }
.range-light::-moz-range-track { background: var(--line) !important; }
.range-light::-moz-range-progress { background: var(--tide) !important; }
.range-light::-webkit-slider-thumb { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(0,0,0,.16) !important; }
.pl-add { margin-left: auto; }
.pl-track-wrap { padding-top: 48px; }
.pl-track { position: relative; height: 76px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); touch-action: none; }
.pl-seg { position: absolute; top: 8px; bottom: 8px; border-radius: 11px; transition: left .3s var(--ease-out), width .3s var(--ease-out); }
.pl-seg.focus { background: linear-gradient(180deg, rgba(143,230,203,.32), rgba(143,230,203,.16)); }
.pl-seg.focus span { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; font-family: var(--mono); font-size: 12px; color: var(--tide-glow); white-space: nowrap; }
.pl-seg.catch { background: repeating-linear-gradient(135deg, rgba(255,90,54,.6) 0 4px, rgba(255,90,54,.3) 4px 8px); }
.pl-dragging .pl-seg { transition: none; }
.pl-marker { position: absolute; top: -36px; bottom: -6px; width: 0; z-index: 2; padding: 0; border: 0; background: none; color: #fff; cursor: grab; touch-action: none; transition: left .3s var(--ease-out); }
.pl-dragging .pl-marker { transition: none; }
.pl-marker::before { content: ""; position: absolute; left: -1px; top: 26px; bottom: 0; width: 2px; border-radius: 2px; background: #fff; }
.pl-marker::after { content: ""; position: absolute; left: -20px; right: -20px; top: 0; bottom: 0; }
.pm-head { position: absolute; top: 0; left: 0; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--tide-deep); font-family: var(--mono); font-size: 12px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.25); transition: transform .2s var(--ease-out), background-color .2s, color .2s; }
.pl-marker:hover .pm-head, .pl-marker:focus-visible .pm-head { transform: translateX(-50%) scale(1.07); }
.pl-marker.dragging { cursor: grabbing; }
.pl-marker.dragging .pm-head { transform: translateX(-50%) scale(1.1); }
.pl-marker.removing .pm-head { background: var(--ping); color: #fff; }
.pl-axis { position: relative; height: 22px; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.5); }
.pl-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.pl-axis span:first-child { transform: none; }
.pl-axis span:last-child { transform: translateX(-100%); }
.pl-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; font-size: var(--fs-xs); color: rgba(255,255,255,.62); }
.pl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pl-legend i { width: 14px; height: 10px; border-radius: 3px; }
.lg-focus { background: rgba(143,230,203,.45); }
.lg-tide { background: repeating-linear-gradient(135deg, rgba(255,90,54,.7) 0 3px, rgba(255,90,54,.35) 3px 6px); }
.pl-out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.po { display: grid; gap: 4px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.po span { font-size: var(--fs-xs); color: rgba(255,255,255,.62); }
.po strong { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); letter-spacing: -.025em; line-height: 1.1; }
.po-hi { background: var(--tide-glow); border-color: transparent; color: var(--tide-deep); }
.po-hi span { color: rgba(6,46,40,.7); }
.pl-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.pl-note { font-size: var(--fs-sm); color: rgba(255,255,255,.66); max-width: 70ch; }
.bump { animation: bump .4s var(--ease-out); }
@keyframes bump { 40% { transform: translateY(-3px); } }

/* planner teaser */
.teaser-track { position: relative; height: 64px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); margin-top: 56px; }
.teaser-track .tt-seg { position: absolute; top: 7px; bottom: 7px; border-radius: 10px; background: rgba(143,230,203,.25); }
.teaser-track .tt-mk { position: absolute; top: -10px; bottom: -10px; width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; animation: ttMove 6s var(--ease-in-out) infinite; }
.teaser-track .tt-mk::before { content: attr(data-t); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--tide-deep); font-family: var(--mono); font-size: 11px; font-weight: 500; white-space: nowrap; }
@keyframes ttMove { 0%, 100% { translate: 0 0; } 50% { translate: var(--dx) 0; } }

/* ---------- Quotes ---------- */
.quotes { columns: 3 300px; column-gap: 16px; }
.quote { break-inside: avoid; margin: 0 0 16px; padding: 26px; display: grid; gap: 22px; }
.quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.quote blockquote::before { content: "“"; display: block; height: .5em; margin-bottom: .25em; font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--tide-bright); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--line); }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { color: var(--ink-3); font-size: var(--fs-xs); }
.quote .q-tide { margin-left: auto; }
.quote.is-feature { background: var(--tide-deep); color: #fff; border-color: transparent; }
.quote.is-feature blockquote { color: #fff; font-family: var(--display); font-size: 1.5rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.quote.is-feature figcaption span { color: rgba(255,255,255,.6); }

/* ---------- Team status (teams) ---------- */
.status-board { padding: 12px; box-shadow: var(--shadow-lg); }
.sb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 14px; }
.sb-head b { font-weight: 600; }
.sb-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; transition: background-color .2s; }
.sb-row:hover { background: var(--canvas); }
.sb-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--line); }
.sb-row .who b { display: block; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.sb-row .who span { font-size: var(--fs-xs); color: var(--ink-3); }
.sb-bar { grid-column: 2 / -1; height: 4px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-top: -4px; }
.sb-bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--tide-bright); transition: width 1s linear; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-tide { background: var(--tide-soft); color: var(--tide); }
.st-open { background: var(--ping-soft); color: var(--ping-ink); }
.st-catch { background: var(--canvas-2); color: var(--ink-2); }

/* bars chart */
.bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: end; height: 220px; padding-top: 12px; }
.bar-col { display: grid; gap: 8px; justify-items: center; height: 100%; grid-template-rows: 1fr auto; }
.bar-pair { display: flex; gap: 5px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.bar { width: min(26px, 40%); border-radius: 8px 8px 4px 4px; height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.bar.b-before { background: var(--ping-soft); }
.bar.b-after { background: var(--tide-bright); }
.in .bar { transform: scaleY(1); }
.bar-col span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.legend { display: flex; gap: 18px; font-size: var(--fs-xs); color: var(--ink-3); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Teams teaser ---------- */
.teams-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.teams-teaser .copy { padding: clamp(28px, 4.5vw, 64px); display: grid; gap: 20px; align-content: center; justify-items: start; }
.teams-teaser .media { background: var(--tide-softer); padding: clamp(20px, 3vw, 40px); display: grid; align-items: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-index { list-style: none; display: grid; gap: 4px; margin-top: 32px; }
.faq-index button { width: 100%; display: flex; gap: 16px; align-items: baseline; padding: 15px 18px; border-radius: 16px; border: 0; background: none; text-align: left; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; color: var(--ink-2); transition: background-color .2s, color .2s; }
.faq-index button span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.faq-index button:hover { background: rgba(15,20,19,.04); color: var(--ink); }
.faq-index button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.faq-index button[aria-selected="true"] span { color: var(--tide); }
.faq-card { position: sticky; top: calc(var(--stick) + 20px); transition: top .45s var(--ease-out); display: flex; flex-direction: column; min-height: 360px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: var(--tide-soft); }
.faq-card h3 { margin: 18px 0 14px; color: var(--tide-deep); }
.faq-card p { color: #24453F; font-size: 1.0625rem; }
.faq-card .swap { animation: swap .45s var(--ease-out) both; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.faq-nav { display: flex; gap: 8px; margin-top: auto; padding-top: 28px; }
.faq-nav .btn { width: 44px; height: 44px; padding: 0; }
.faq-nav .flip { transform: scaleX(-1); }

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; border: 0; background: none; text-align: left; font-family: var(--display); font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.acc-ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease-out), background-color .3s; }
.acc-ic::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ic { background: var(--tide); border-color: var(--tide); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-ic::before, .acc-btn[aria-expanded="true"] .acc-ic::after { background: #fff; }
.acc-btn[aria-expanded="true"] .acc-ic::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 56px 26px 4px; color: var(--ink-2); max-width: 72ch; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; position: relative; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.bill { position: relative; z-index: 1; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-size: .875rem; font-weight: 500; color: var(--ink-3); transition: color .3s; }
.bill.is-active { color: #fff; }
.bill-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.save { margin-left: 4px; font-family: var(--mono); font-size: 11px; color: var(--tide-bright); }
.bill.is-active .save { color: var(--tide-glow); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 34px); }
.price h2 { font-family: var(--display); font-weight: 600; font-size: 1.625rem; letter-spacing: -.02em; }
.price .desc { margin-top: 6px; color: var(--ink-3); font-size: var(--fs-sm); }
.amt { display: flex; align-items: baseline; gap: 6px; margin: 28px 0 24px; min-height: 58px; }
.amt-n { font-family: var(--display); font-weight: 600; font-size: 3.5rem; line-height: 1; letter-spacing: -.045em; display: inline-block; }
.amt-n.roll { animation: roll .45s var(--ease-out); }
@keyframes roll { from { opacity: 0; transform: translateY(14px); } }
.amt small { color: var(--ink-3); font-size: var(--fs-sm); }
.price ul { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.price li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.price li .ic16 { margin-top: 2px; color: var(--tide-bright); }
.price .btn { margin-top: auto; }
.price-hi { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.price-hi .desc, .price-hi .amt small { color: rgba(255,255,255,.6); }
.price-hi ul { border-color: rgba(255,255,255,.12); }
.price-hi li { color: rgba(255,255,255,.84); }
.price-hi li .ic16 { color: var(--tide-glow); }
.badge { position: absolute; top: clamp(26px, 2.6vw, 34px); right: clamp(26px, 2.6vw, 34px); height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--tide-glow); color: var(--tide-deep); font-size: 12px; font-weight: 600; }
.price-note { margin-top: 24px; text-align: center; font-size: var(--fs-sm); color: var(--ink-3); }

.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line-2); }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-family: var(--display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.015em; padding-block: 22px; }
.compare thead th small { display: block; font-family: var(--font); font-size: var(--fs-xs); font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 19%; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .grp th { padding-top: 26px; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .08em; color: var(--tide); background: var(--tide-softer); font-weight: 500; }
.compare .hi { background: rgba(10,118,99,.035); }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tide-soft); color: var(--tide); }
.compare .no { color: #C4C1B7; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare tbody th:not([colspan]), .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.compare-hint { display: none; margin-top: 12px; text-align: center; font-size: var(--fs-xs); color: var(--ink-3); }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:not(.grp):hover { background: var(--canvas); }

/* real app glyphs inside brand tiles */
:is(.ic, .ticker-row i, .v-ic) svg { width: 58%; height: 58%; fill: #fff; }
.ic-tempo { background: var(--tide-deep); }
.ic-tempo svg { fill: var(--tide-glow); }
.orbit .logo { width: 24px; height: 24px; border-radius: 50%; }
.bell-badge svg { width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; fill: none; stroke: var(--ping-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-ic { flex: none; width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; margin-right: 8px; vertical-align: middle; }

/* ---------- Product: story (sticky phone) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(40px, 7vw, 120px); align-items: start; }
.story-steps { display: grid; }
.story-steps { position: relative; padding-left: 52px; }
/* progress rail: the line fills as you scroll through the story */
.story-steps::before, .story-steps::after { content: ""; position: absolute; left: 17px; top: 10vh; bottom: 10vh; width: 2px; border-radius: 2px; background: var(--line); }
.story-steps::after { background: var(--tide-bright); bottom: auto; height: calc((100% - 20vh) * var(--sp, 0)); }
.story-step { min-height: 66vh; display: grid; align-content: center; gap: 18px; padding-block: 40px; }
.story-step .h2 { color: var(--ink-3); transition: color .5s var(--ease-out); }
.story-step .body { color: var(--ink-3); transition: color .5s var(--ease-out); }
.story-step.is-active .h2 { color: var(--ink); }
.story-step.is-active .body { color: var(--ink-2); }
.story-step .num { position: relative; }
.story-step .num::before { content: ""; position: absolute; z-index: 1; left: -42px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--line); transition: border-color .4s, background-color .4s, box-shadow .4s; }
.story-step.is-past .num::before { border-color: var(--tide-bright); background: var(--tide-bright); }
.story-step.is-active .num::before { border-color: var(--tide-bright); background: var(--canvas); box-shadow: 0 0 0 5px rgba(20,166,136,.18); }
/* app icons around the phone, caught into it after step 1 */
.story-apps { position: absolute; inset: 0; pointer-events: none; }
.sa { position: absolute; left: 50%; top: 42%; width: 48px; height: 48px; margin: -24px 0 0 -24px; transform: translate(var(--x), var(--y)); transition: transform .8s var(--ease-in-out), opacity .6s var(--ease-out); transition-delay: calc(var(--k) * 60ms); }
/* the tile itself floats; the glyph stays centred inside it */
.sa > span { position: relative; width: 100%; height: 100%; display: grid; place-items: center; border-radius: 14px; box-shadow: 0 2px 4px rgba(6,46,40,.12), 0 12px 24px -10px rgba(6,46,40,.4); animation: saBob 4.2s var(--ease-in-out) infinite; animation-delay: calc(var(--k) * -.7s); }
.sa > span::after { content: ""; position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ping); border: 2px solid var(--canvas); }
.sa svg { width: 54%; height: 54%; fill: #fff; }
@keyframes saBob { 50% { transform: translateY(-8px); } }
.phone:not([data-step="1"]) ~ .story-apps .sa { transform: translate(0, 0) scale(.3); opacity: 0; }
/* phone details that move */
.ph-hold b span { display: inline-block; font-variant-numeric: tabular-nums; }
.ph-hold b span.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--tide-glow); } }
.phone[data-step="3"] .ph-l3 .ph-n.light .ic { animation: ring 1.6s var(--ease-out) .5s infinite; }
@keyframes ring { 0%, 40%, 100% { transform: none; } 8% { transform: rotate(-12deg); } 16% { transform: rotate(10deg); } 24% { transform: rotate(-8deg); } 32% { transform: rotate(5deg); } }
.phone[data-step="4"] .ph-l4 .row, .phone[data-step="4"] .ph-l4 .sum, .phone[data-step="5"] .ph-l5 .row { animation: rowIn .5s var(--ease-out) both; }
.phone[data-step="4"] .ph-l4 .row:nth-of-type(2), .phone[data-step="5"] .ph-l5 .row:nth-of-type(2) { animation-delay: .25s; }
.phone[data-step="4"] .ph-l4 .row:nth-of-type(3), .phone[data-step="5"] .ph-l5 .row:nth-of-type(3) { animation-delay: .35s; }
.phone[data-step="4"] .ph-l4 .row:nth-of-type(4), .phone[data-step="5"] .ph-l5 .row:nth-of-type(4) { animation-delay: .45s; }
.phone[data-step="4"] .ph-l4 .sum { animation-delay: .6s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
.phone[data-step="5"] .ph-l5 .mini.done { animation: donePop .5s var(--ease-spring) .9s both; }
@keyframes donePop { from { transform: scale(.6); opacity: 0; } }
.story-step .num { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em; color: var(--tide); }
.story-step .body { max-width: 46ch; font-size: 1.125rem; }
.story-stage { position: sticky; top: calc(50vh - 330px); display: grid; justify-items: center; gap: 22px; }
.story-dots { display: flex; gap: 6px; }
.story-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .4s var(--ease-out), background-color .3s; }
.story-dots span.is-active { width: 28px; background: var(--tide); }

.phone { position: relative; width: 320px; height: 640px; border-radius: 52px; padding: 12px; background: #0B0F0E; box-shadow: inset 0 0 0 2px #2A302E, 0 0 0 1px rgba(0,0,0,.2), 0 2px 4px rgba(6,46,40,.12), 0 20px 40px -14px rgba(6,46,40,.3), 0 56px 88px -40px rgba(6,46,40,.45); }
.phone-screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: radial-gradient(130% 80% at 50% 0%, #1E6B5D, #062A24 70%); color: #fff; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 999px; background: #000; z-index: 5; }
.ph-time { position: absolute; top: 70px; left: 0; right: 0; text-align: center; font-family: var(--display); font-weight: 500; font-size: 4.25rem; letter-spacing: -.03em; line-height: 1; }
.ph-date { position: absolute; top: 56px; left: 0; right: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }
.ph-layer { position: absolute; left: 12px; right: 12px; bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; }
.phone[data-step="1"] .ph-l1, .phone[data-step="2"] .ph-l2, .phone[data-step="3"] .ph-l3, .phone[data-step="4"] .ph-l4, .phone[data-step="5"] .ph-l5 { opacity: 1; transform: none; transition-delay: .12s; }
.ph-n { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 18px; background: rgba(255,255,255,.16); font-size: 12.5px; line-height: 1.35; }
.ph-n .ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; font-size: 12px; color: #fff; }
.ph-n > div { min-width: 0; flex: 1; }
.ph-n b { display: block; font-size: 12.5px; font-weight: 600; }
.ph-n span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.78); }
.ph-n em { font-style: normal; flex: none; font-size: 10.5px; color: rgba(255,255,255,.55); }
.ph-n.light { background: rgba(255,255,255,.95); color: var(--ink); }
.ph-n.light span { color: var(--ink-2); }
.ph-n.light em { color: var(--ink-3); }
.ph-n .tg { display: inline-block; margin-top: 5px; padding: 1px 7px; border-radius: 999px; background: var(--ping-soft); color: var(--ping-ink); font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; }
.ph-flood { height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); display: flex; flex-direction: column; justify-content: flex-end; }
.ph-flood-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; animation: flood 7s linear infinite; }
@keyframes flood { from { transform: translateY(0); } to { transform: translateY(50%); } }
.ph-hold { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 999px; background: rgba(6,46,40,.6); border: 1px solid rgba(143,230,203,.3); font-size: 13px; }
.ph-hold .mark { width: 22px; height: 22px; color: var(--tide-glow); }
.ph-hold b { font-weight: 600; }
.ph-hold span { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--tide-glow); }
.ph-digest { padding: 14px; border-radius: 22px; background: rgba(255,255,255,.96); color: var(--ink); font-size: 12.5px; line-height: 1.45; }
.ph-digest .h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ph-digest .h b { font-family: var(--display); font-size: 1.0625rem; letter-spacing: -.015em; }
.ph-digest .h span { font-family: var(--mono); font-size: 10.5px; color: var(--tide); }
.ph-digest .row { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); }
.ph-digest .row p { flex: 1; color: var(--ink-2); }
.ph-digest .row b { color: var(--ink); }
.ph-digest .sum { margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--tide-soft); color: var(--tide-deep); }
.ph-digest .mini { height: 26px; font-size: 11px; padding: 0 10px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > * { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
.bento .b-vis { flex: 1; min-height: 190px; margin: 10px 10px 0; border-radius: 20px; background: var(--canvas); position: relative; overflow: hidden; display: grid; place-items: center; padding: 20px; }
.bento .b-copy { padding: 22px 26px 28px; display: grid; gap: 8px; }
.bento .b-copy p { color: var(--ink-2); font-size: var(--fs-sm); }
.b-dark { background: var(--tide-deep); border-color: transparent; color: #fff; }
.b-dark .b-vis { background: rgba(255,255,255,.06); }
.b-dark .b-copy p { color: rgba(255,255,255,.68); }

.v-summary { width: 100%; max-width: 360px; display: grid; gap: 8px; }
.v-summary .raw { display: grid; gap: 5px; }
.v-summary .raw span { height: 9px; border-radius: 999px; background: linear-gradient(90deg, var(--line) 0 40%, #F2F1EC 50%, var(--line) 60% 100%) 0 0 / 250% 100%; animation: shimmer 2.8s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.v-summary .raw span:nth-child(2) { width: 82%; } .v-summary .raw span:nth-child(3) { width: 64%; } .v-summary .raw span:nth-child(4) { width: 90%; }
.v-summary .out { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.v-summary .out b { color: var(--tide); font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; display: block; margin-bottom: 4px; }
.v-cal { width: 100%; max-width: 340px; display: grid; gap: 6px; }
.v-cal .slot { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 8px 12px; line-height: 1.3; border-radius: 10px; font-size: 12.5px; font-weight: 500; }
.v-cal .meet { background: #E7E5F8; color: #3F3A8C; }
.v-cal .free { background: var(--surface); border: 1px dashed var(--line); color: var(--ink-3); }
.v-cal .tide { background: var(--tide); color: #fff; animation: calGlow 2.6s var(--ease-out) infinite; }
.v-cal .slot em { margin-left: auto; flex: none; white-space: nowrap; font-style: normal; font-family: var(--mono); font-size: 10.5px; }
@keyframes calGlow { 0% { box-shadow: 0 0 0 0 rgba(20,166,136,.45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(20,166,136,0); } }
.v-devices { display: flex; gap: 14px; align-items: flex-end; }
.v-devices .dv { border: 2px solid rgba(255,255,255,.3); border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.04); }
.v-devices .dv i { width: 10px; height: 10px; border-radius: 50%; background: var(--tide-glow); animation: syncP 2.4s var(--ease-out) infinite; }
.v-devices .dv:nth-child(2) i { animation-delay: .3s; } .v-devices .dv:nth-child(3) i { animation-delay: .6s; }
@keyframes syncP { 0% { box-shadow: 0 0 0 0 rgba(143,230,203,.6); } 70%, 100% { box-shadow: 0 0 0 14px rgba(143,230,203,0); } }
.v-snooze { display: flex; align-items: center; gap: 10px; }
.v-snooze .pillx { padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; box-shadow: var(--shadow-sm); }
.v-snooze .arrow { color: var(--tide); animation: nudge 2.4s var(--ease-in-out) infinite; }
.v-snooze .pillx:first-child { animation: snooze 4.8s var(--ease-in-out) infinite; }
.v-snooze .pillx:last-child { animation: landed 4.8s var(--ease-out) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
@keyframes snooze { 0%, 30% { transform: none; opacity: 1; } 45% { transform: translateX(40px) scale(.9); opacity: 0; } 46% { transform: translateX(-12px); opacity: 0; } 70%, 100% { transform: none; opacity: 1; } }
@keyframes landed { 0%, 42% { box-shadow: var(--shadow-sm); } 50% { box-shadow: 0 0 0 4px var(--tide-soft), var(--shadow-sm); } 70%, 100% { box-shadow: var(--shadow-sm); } }
.v-quiet { display: grid; place-items: center; gap: 10px; text-align: center; }
.v-quiet .app-ic { position: relative; width: 72px; height: 72px; border-radius: 20px; background: var(--tide); display: grid; place-items: center; box-shadow: 0 2px 4px rgba(10,118,99,.2), 0 14px 28px -12px rgba(10,118,99,.5); }
.v-quiet .app-ic svg { width: 40px; height: 40px; color: #fff; }
.v-quiet .app-ic::after { content: "0"; position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-3); font-size: 12px; font-weight: 600; display: grid; place-items: center; text-decoration: line-through; }
.v-status { display: grid; gap: 8px; width: 100%; max-width: 320px; }
.v-status .msg { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.v-status .msg img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.v-status .msg .status { margin-left: auto; }

/* modes */
.modes { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.mode-tabs { display: grid; gap: 6px; align-content: start; }
.mode-tab { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1px solid transparent; background: none; transition: background-color .25s, border-color .25s; }
.mode-tab:hover { background: rgba(15,20,19,.035); }
.mode-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.mode-tab .mi { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--canvas-2); color: var(--ink-2); transition: background-color .25s, color .25s, transform .35s var(--ease-spring); }
.mode-tab .mi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mode-tab:hover .mi { transform: rotate(-6deg); }
.mode-tab[aria-selected="true"] .mi { color: var(--tide); }
.mode-tab[aria-selected="true"] .mi { background: var(--tide-soft); }
.mode-tab b { font-weight: 600; font-size: 1rem; }
.mode-tab small { font-size: var(--fs-xs); color: var(--ink-3); }
.mode-view { padding: clamp(22px, 3vw, 36px); display: grid; gap: 26px; align-content: start; }
.mode-view .mv-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.mode-view .h3 { margin-top: 6px; }
.mode-track { position: relative; height: 64px; border-radius: 16px; background: var(--canvas); margin-top: 30px; }
.mode-track .mk { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--tide); transition: left .6s var(--ease-out), opacity .4s; }
.mode-track .mk span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: var(--tide); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 500; white-space: nowrap; }
.mode-track .mk.off { opacity: 0; }
.mode-track .quiet { position: absolute; inset: 8px; border-radius: 10px; background: repeating-linear-gradient(135deg, rgba(10,118,99,.08) 0 6px, transparent 6px 12px); opacity: 0; transition: opacity .4s; }
.mode-track.all-quiet .quiet { opacity: 1; }
.mode-axis { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.mode-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mode-facts div { padding: 14px 16px; border-radius: 16px; background: var(--canvas); display: grid; gap: 2px; }
.mode-facts span { font-size: var(--fs-xs); color: var(--ink-3); }
.mode-facts b { font-weight: 600; font-size: 1rem; }
.mode-bells { display: flex; flex-wrap: wrap; gap: 8px; }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform { padding: 24px; display: grid; gap: 14px; }
.platform .pi { width: 44px; height: 44px; border-radius: 13px; background: var(--canvas); display: grid; place-items: center; }
.platform .pi svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.platform p { font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- Integrations ---------- */
.int-tools { position: sticky; top: var(--stick); z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 28px; padding: 8px; border-radius: 28px; background: var(--canvas); transition: top .45s var(--ease-out), background-color .3s, box-shadow .3s; }
/* solid backing between the floating nav and the bar, so cards never peek through */
.int-tools::before { content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; bottom: 50%; height: 100vh; background: var(--canvas); pointer-events: none; }
.int-tools.is-stuck { background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.search { position: relative; flex: 1 1 220px; max-width: 340px; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--tide-bright); box-shadow: 0 0 0 4px rgba(20,166,136,.12); }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .875rem; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s, transform .18s var(--ease-out); }
.filter:hover { border-color: #C9C6BC; }
.filter:active { transform: scale(.96); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter span { margin-left: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.filter.is-active span { color: rgba(255,255,255,.75); }
.int-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.int-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 18px; }
.logo { display: grid; place-items: center; flex: none; background: var(--brand); color: #fff; font-weight: 600; letter-spacing: -.02em; }
.logo svg { width: 52%; height: 52%; fill: currentColor; }
.int-card .logo { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; font-size: 1rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 6px -2px rgba(6,46,40,.18); transition: transform .4s var(--ease-spring); }
.logo.sm { width: 30px; height: 30px; border-radius: 9px; font-size: .75rem; }
.logo.xs { width: 30px; height: 30px; border-radius: 9px; font-size: .6875rem; box-shadow: 0 0 0 2px var(--surface); }
.int-card:hover .logo { transform: scale(1.06) rotate(-4deg); }
.int-card b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; line-height: 1.25; }
.int-card small { font-size: var(--fs-xs); color: var(--ink-3); }
.int-card .lvl { grid-column: 1 / -1; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.int-card .lvl i { width: 7px; height: 7px; border-radius: 50%; background: var(--tide-bright); }
.int-card .lvl.hold i { background: #C9C6BC; }
.int-card.hide { display: none; }
.int-empty { padding: 56px 20px; text-align: center; color: var(--ink-3); display: none; }
.int-empty.show { display: block; }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.level { display: grid; grid-template-rows: auto 1fr; padding: 10px; }
.lv-vis { position: relative; display: grid; place-items: center; height: 264px; padding: 28px 24px; border-radius: 20px; background: var(--canvas); overflow: hidden; }
.lv-body { display: grid; gap: 14px; align-content: start; padding: 26px clamp(16px, 2vw, 26px) clamp(18px, 2vw, 24px); }
.lv-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.lv-count { color: var(--ink-3); }
.tag-muted { background: var(--canvas-2); color: var(--ink-2); }
.level ul { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.level li { display: flex; gap: 10px; color: var(--ink-2); font-size: var(--fs-sm); }
.level li .ic16 { margin-top: 3px; color: var(--tide-bright); }
.lv-logos { display: flex; flex-wrap: wrap; align-items: center; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.lv-logos .logo { margin-right: -6px; }
.lv-more { margin-left: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.lv-msg { width: min(100%, 380px); display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); font-size: .875rem; line-height: 1.5; color: var(--ink-2); animation: lvFloat 6s var(--ease-in-out) infinite; }
.lv-msg-h { display: flex; align-items: center; gap: 10px; }
.lv-msg-h b { color: var(--ink); font-weight: 600; }
.lv-msg-h .mono { margin-left: auto; color: var(--tide); }
.lv-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-actions .mini { display: inline-flex; align-items: center; height: 30px; font-size: 12px; }
.lv-actions .mini.done { animation: lvPress 4s var(--ease-out) infinite; }
@keyframes lvPress { 0%, 60%, 100% { transform: none; } 64% { transform: scale(.94); } 70% { transform: none; } }
@keyframes lvFloat { 50% { transform: translateY(-5px); } }
.lv-bell { position: absolute; right: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.lv-held { width: min(100%, 380px); display: grid; gap: 8px; }
.lv-held-h { display: flex; align-items: center; gap: 12px; padding: 0 4px 4px; }
.lv-held-h .mono { color: var(--ink-3); white-space: nowrap; }
.lv-bar { flex: 1; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.lv-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--tide-bright); transform-origin: left; animation: lvFill 6s linear infinite; }
@keyframes lvFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lv-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); font-size: .875rem; animation: lvHeld 6s var(--ease-in-out) infinite; }
.lv-row:nth-child(3) { animation-delay: .08s; } .lv-row:nth-child(4) { animation-delay: .16s; }
@keyframes lvHeld { 0%, 88% { opacity: 1; transform: none; } 94% { opacity: 0; transform: translateY(-8px); } 97% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
.lv-row b { font-weight: 600; }
.lv-row span:last-child { margin-left: auto; color: var(--ink-3); font-size: .8125rem; }

/* ---------- Trust ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); align-items: stretch; gap: 0; }
.flow-col { padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; align-content: start; }
.flow-col h2 { display: flex; align-items: center; gap: 10px; }
.flow-col h2 .ic16 { color: var(--tide-glow); }
.flow-col ul { list-style: none; display: grid; gap: 8px; }
.flow-col li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--canvas); font-size: var(--fs-sm); }
.flow-col li .ic16 { color: var(--tide); }
.flow-col.is-device { background: var(--tide-deep); color: #fff; border-color: transparent; }
.flow-col.is-device li { background: rgba(255,255,255,.07); color: rgba(255,255,255,.86); }
.flow-col.is-device li .ic16 { color: var(--tide-glow); }
.flow-col.is-device .body { color: rgba(255,255,255,.66); }
.flow-mid { position: relative; display: grid; place-items: center; }
.flow-mid svg { width: 100%; height: 120px; overflow: visible; }
.flow-mid .packet { fill: var(--tide-bright); }
.flow-mid .lbl { position: absolute; bottom: calc(50% + 30px); font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; color: var(--ink-3); text-align: center; }
.flow-mid .lbl2 { top: calc(50% + 30px); bottom: auto; color: var(--ping-ink); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle { padding: clamp(24px, 2.6vw, 32px); display: grid; gap: 12px; align-content: start; }
.principle .pi { width: 44px; height: 44px; border-radius: 13px; background: var(--tide-soft); color: var(--tide); display: grid; place-items: center; margin-bottom: 6px; }
.principle .pi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.principle p { color: var(--ink-2); font-size: var(--fs-sm); }
.store-table { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.store { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.store ul { list-style: none; display: grid; }
.store li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: var(--fs-sm); }
.store li:last-child { border-bottom: 0; }
.store li span:last-child { color: var(--ink-3); text-align: right; }
.store.never { background: var(--ping-soft); border-color: #F8CDBF; }
.store.never li { border-color: rgba(194,57,26,.12); }
.store.never li span:last-child { color: var(--ping-ink); }

/* ---------- Teams: rollout (sticky company map driven by the steps) ---------- */
.ro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ro-vis { margin: 0; display: grid; gap: 22px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-xl); background: var(--tide-deep); color: #fff; background-image: radial-gradient(520px 300px at 90% 0%, rgba(20,166,136,.3), transparent 70%); box-shadow: var(--shadow-lg); }
.ro-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.ro-top .mono { color: rgba(255,255,255,.55); }
.ro-badge { padding: 6px 12px; border-radius: 999px; background: rgba(143,230,203,.14); box-shadow: inset 0 0 0 1px rgba(143,230,203,.22); color: var(--tide-glow); font-size: .8125rem; font-weight: 500; }
.ro-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ro-team { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.ro-team span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; color: rgba(255,255,255,.5); transition: color .4s; }
.ro-dots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ro-dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.14); transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out); transition-delay: calc(var(--d, 0ms) + var(--i) * 22ms); }
/* teams not on Harbour yet: the odd dot flashes coral, a ping landing */
.ro-team .ro-dots i:nth-child(5n + 2) { animation: roPing 3.4s ease-in-out infinite; animation-delay: calc(var(--c) * -.41s + var(--i) * -.23s); }
@keyframes roPing { 0%, 70%, 100% { background-color: rgba(255,255,255,.14); } 76%, 84% { background-color: var(--ping); box-shadow: 0 0 0 3px rgba(255,90,54,.22); } }
/* lit = team is on tides */
.ro-vis[data-stage] .ro-team:first-child, .ro-vis[data-stage="3"] .ro-team { --d: calc(var(--c) * 110ms); background: rgba(143,230,203,.08); box-shadow: inset 0 0 0 1px rgba(143,230,203,.26); }
.ro-vis[data-stage] .ro-team:first-child span, .ro-vis[data-stage="3"] .ro-team span { color: #fff; }
.ro-vis[data-stage] .ro-team:first-child i, .ro-vis[data-stage="3"] .ro-team i { animation: none; background: var(--tide-glow); }
.ro-vis[data-stage="2"] .ro-team:first-child i { animation: roTune 2.4s var(--ease-in-out) infinite; animation-delay: calc(var(--i) * 90ms); }
@keyframes roTune { 50% { background-color: var(--tide-bright); box-shadow: 0 0 0 3px rgba(143,230,203,.18); } }
.ro-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.ro-stats div { display: grid; gap: 4px; align-content: start; }
.ro-stats b { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -.04em; line-height: 1; color: var(--tide-glow); font-variant-numeric: tabular-nums; }
.ro-stats span { font-size: .8125rem; line-height: 1.35; color: rgba(255,255,255,.6); }
.ro-steps { list-style: none; display: grid; }
.ro-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 36px 0; border-top: 1px solid var(--line); }
.ro-step:first-child { border-top: 0; padding-top: 0; }
.ro-num { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--ink-3); transition: background-color .35s var(--ease-out), border-color .35s, color .35s, box-shadow .35s; }
.ro-step.is-active .ro-num { background: var(--tide); border-color: var(--tide); color: #fff; box-shadow: 0 0 0 6px var(--tide-soft); }
.ro-copy { display: grid; gap: 12px; justify-items: start; }
.ro-when { color: var(--tide); }
.ro-list { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.ro-list li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.ro-list .ic16 { color: var(--tide); }

/* ---------- About ---------- */
/* shared two-column rail: heading column sticks on desktop while the body scrolls */
.rail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.rail-body { display: grid; gap: 32px; min-width: 0; }
.rail-head { max-width: 460px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.facts > div { padding: 26px 24px 0 0; display: grid; gap: 14px; align-content: start; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { display: grid; gap: 8px; margin: 0; }
.facts b { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 1.9rem + 2vw, 3.75rem); letter-spacing: -.045em; line-height: .95; color: var(--ink); }
.facts span { font-size: var(--fs-sm); color: var(--ink-2); max-width: 22ch; }

.letter { display: grid; gap: 22px; font-size: 1.1875rem; line-height: 1.65; color: var(--ink-2); }
.letter p:first-child { font-size: 1.375rem; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.letter strong { color: var(--ink); font-weight: 600; }
.tally { margin: 0; padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 18px; }
.tally-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.tally-head b { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.tally-grid { display: grid; grid-template-columns: repeat(53, minmax(0, 1fr)); gap: 4px; }
.tally-grid i { aspect-ratio: 1; border-radius: 50%; background: var(--line); transition: background-color .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 2ms); }
.tally.in .tally-grid i { background: #CBDDD6; }
.tally-grid i.p, .tally.in .tally-grid i.p { background: var(--ping); box-shadow: 0 0 0 3px var(--ping-soft); }
.tally-key { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-xs); color: var(--ink-2); }
.tally-key span { display: inline-flex; align-items: center; gap: 8px; }
.tk-dot { width: 8px; height: 8px; border-radius: 50%; background: #CBDDD6; }
.tk-dot.tk-ping { background: var(--ping); }
.sign { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--ink-3); }
.sign img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sign b { display: block; color: var(--ink); font-weight: 600; }

.promises { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promise { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--line-2); }
.promise .pn { margin-bottom: clamp(28px, 4vw, 56px); font-family: var(--display); font-weight: 500; font-size: 3rem; letter-spacing: -.05em; line-height: 1; color: var(--tide); }
.promise p { color: var(--ink-2); }

.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 119px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 100px 40px minmax(0, 1fr); gap: 0; padding: 22px 0; align-items: start; }
.timeline li + li { border-top: 1px dashed var(--line); }
.timeline .when { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em; color: var(--ink-3); padding-top: 5px; }
.timeline .dotx { width: 14px; height: 14px; margin: 5px 0 0 13px; border-radius: 50%; background: var(--canvas); border: 3px solid var(--tide-bright); position: relative; z-index: 1; }
.timeline li.now .dotx { background: var(--tide-bright); box-shadow: 0 0 0 6px rgba(20,166,136,.18); }
.timeline li.now .when { color: var(--tide); font-weight: 500; }
.timeline .what { display: grid; gap: 6px; }
.timeline .what p { color: var(--ink-2); }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.member { display: grid; gap: 16px; align-content: start; }
.member .ph { aspect-ratio: 5 / 6; overflow: hidden; border-radius: var(--r-lg); background: var(--canvas-2); }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .5s; filter: saturate(.85); }
.member:hover img { transform: scale(1.04); filter: saturate(1); }
.member .info { display: grid; gap: 2px; padding-inline: 2px; }
.member .info b { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.02em; }
.member .info span { font-size: var(--fs-sm); color: var(--ink-3); }
.member .tides { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.member .tides em { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--tide-soft); color: var(--tide); }

.job-perks { list-style: none; display: grid; gap: 12px; }
.job-perks li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.job-perks .ic16 { box-sizing: content-box; padding: 5px; border-radius: 50%; background: var(--tide-soft); color: var(--tide); }
.roles { gap: 0; border-top: 1px solid var(--line); }
.role { position: relative; isolation: isolate; display: flex; align-items: center; gap: 20px; padding: 24px 20px; border-bottom: 1px solid var(--line); }
.role::before { content: ""; position: absolute; inset: 6px 0; z-index: -1; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.98); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out); }
.role:hover::before, .role:focus-visible::before { opacity: 1; transform: none; }
.role:focus-visible { outline: none; }
.role:focus-visible::before { box-shadow: 0 0 0 2px var(--tide); }
.role-main { flex: 1; min-width: 0; display: grid; gap: 10px; }
.role b { font-family: var(--display); font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; transition: color .2s; }
.role:hover b { color: var(--tide); }
.role-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.role-meta span { padding: 4px 10px; border-radius: 999px; background: var(--canvas-2); font-size: var(--fs-xs); color: var(--ink-2); transition: background-color .25s; }
.role:hover .role-meta span { background: var(--tide-softer); }
.role-go { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--tide); transition: background-color .25s, border-color .25s, color .25s; }
.role-go .ic16 { transition: transform .3s var(--ease-out); }
.role:hover .role-go { background: var(--tide); border-color: var(--tide); color: #fff; }
.role:hover .role-go .ic16 { transform: translateX(2px); }
.role:active .role-go { transform: scale(.94); }
.roles-note { padding: 22px 20px 0; font-size: var(--fs-sm); color: var(--ink-3); }

@media (min-width: 1025px) {
  .ro-stage { position: sticky; top: calc(var(--stick) + 24px); transition: top .45s var(--ease-out); }
  .ro-step { min-height: 52vh; align-content: center; }
  .ro-step:first-child { min-height: 40vh; align-content: start; }
  .rail-head, .sticky-col { position: sticky; top: calc(var(--stick) + 24px); transition: top .45s var(--ease-out); }
  /* comparison table: clip instead of scroll so the header row can stick to the page */
  .compare-wrap { overflow: clip; }
  .compare thead th { top: var(--stick); z-index: 2; transition: top .45s var(--ease-out); box-shadow: 0 1px 0 var(--line-2); }
}

/* ---------- Early access ---------- */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "intro form" "perks form"; gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.access-intro { grid-area: intro; }
.access .perks { grid-area: perks; margin-top: 0; }
.access .access-form { grid-area: form; }
.access-form { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.access-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--canvas); font-size: .875rem; font-weight: 500; color: var(--ink-2); transition: background-color .2s, border-color .2s, color .2s; }
.check input:checked + span { background: var(--tide-soft); border-color: #B5E2D2; color: var(--tide-deep); }
.check input:focus-visible + span { outline: 2px solid var(--tide-bright); outline-offset: 2px; }
.range-out { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--ink-3); }
.range-out b { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.form-note { font-size: var(--fs-xs); color: var(--ink-3); text-align: center; }
.success { display: none; gap: 18px; text-align: center; justify-items: center; padding: 12px 0; }
.access-form.done .form-fields { display: none; }
.access-form.done .success { display: grid; animation: swap .5s var(--ease-out) both; }
.success .place { font-family: var(--display); font-weight: 600; font-size: 4rem; line-height: 1; letter-spacing: -.04em; color: var(--tide); }
.success .suggest { width: 100%; padding: 18px; border-radius: 18px; background: var(--tide-softer); display: grid; gap: 10px; text-align: left; }
.success .suggest .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.perks { list-style: none; display: grid; gap: 14px; margin-top: 12px; }
.perks li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.perks .pk { width: 44px; height: 44px; border-radius: 13px; background: var(--tide-soft); color: var(--tide); display: grid; place-items: center; }
.perks .pk svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perks b { display: block; font-weight: 600; margin-bottom: 2px; }
.perks p { color: var(--ink-2); font-size: var(--fs-sm); }

/* ---------- 404 ---------- */
.lost { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.lost .big { font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 20vw, 14rem); line-height: .85; letter-spacing: -.06em; color: var(--tide); }
.lost-wave { width: min(520px, 90%); height: 60px; margin: 18px auto 0; }
.lost-wave path { fill: none; stroke: var(--tide-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 8 10; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -72; } }

/* ---------- CTA ---------- */
.section-cta { padding-block: calc(var(--section) * .5) calc(var(--section) * .7); }
.cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 88px) clamp(24px, 5.5vw, 80px); border-radius: var(--r-xl); background: var(--tide-deep); color: #fff; background-image: radial-gradient(640px 360px at 85% 10%, rgba(20,166,136,.32), transparent 70%), radial-gradient(480px 300px at 0% 0%, rgba(143,230,203,.08), transparent 70%); }
.cta-waves { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.cw1 { fill: rgba(143,230,203,.05); animation: sway 9s var(--ease-in-out) infinite alternate; }
.cw2 { fill: rgba(143,230,203,.06); animation: sway 7s var(--ease-in-out) infinite alternate-reverse; }
.cw3 { fill: rgba(4,31,27,.5); animation: sway 11s var(--ease-in-out) infinite alternate; }
@keyframes sway { from { transform: translateX(-40px) scaleY(.92); } to { transform: translateX(40px) scaleY(1.06); } }
.cta-copy { display: grid; gap: 22px; justify-items: start; }
.cta .h2 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -.04em; }
.cta .h2 em { font-style: normal; color: var(--tide-glow); }
.cta-lead { color: rgba(255,255,255,.74); font-size: var(--fs-lead); max-width: 44ch; }
.join { display: flex; gap: 6px; width: 100%; max-width: 480px; margin-top: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 2px 4px rgba(4,31,27,.12), 0 16px 32px -12px rgba(4,31,27,.34); }
.join input { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: none; font-size: var(--fs-sm); color: var(--ink); }
.join input:focus { outline: none; }
.join:focus-within { box-shadow: 0 0 0 3px rgba(143,230,203,.45), 0 16px 32px -12px rgba(4,31,27,.34); }
.join .btn { --h: 48px; }
.join .btn-glow { background: var(--tide); color: #fff; }
.join .btn-glow:hover { background: var(--tide-hover); }
.join-msg { min-height: 1.5em; margin-top: -10px; font-size: var(--fs-sm); color: var(--tide-glow); }
.join-msg:empty { display: none; }
.cta-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: rgba(255,255,255,.72); }
.cta-trust li { display: inline-flex; align-items: center; gap: 8px; }
.cta-trust .ic16 { color: var(--tide-glow); }
/* visual: the 14:00 tide with held pings stacked behind it */
.cta-vis { position: relative; display: grid; justify-items: center; padding: 56px 0 40px; }
.cv-stack { position: relative; width: min(100%, 380px); }
.cv-ghost { position: absolute; inset: 0; border-radius: 24px; background: rgba(255,255,255,.14); transform: translateY(-14px) scale(.94); }
.cv-ghost + .cv-ghost { background: rgba(255,255,255,.07); transform: translateY(-28px) scale(.88); }
.cv-card { position: relative; display: grid; gap: 2px; padding: 20px; border-radius: 24px; background: #fff; color: var(--ink); font-size: .875rem; line-height: 1.45; transform: rotate(-2deg); box-shadow: 0 2px 4px rgba(4,31,27,.2), 0 24px 48px -16px rgba(4,31,27,.5); animation: cvFloat 7s var(--ease-in-out) infinite; }
@keyframes cvFloat { 50% { transform: rotate(-1deg) translateY(-6px); } }
.cv-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.cv-head b { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.cv-head .mono { color: var(--tide); }
.cv-row { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.cv-row b { color: var(--ink); font-weight: 600; }
.cv-row .dot { flex: none; transform: translateY(-1px); }
.cv-sum { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--tide-soft); color: var(--tide-deep); }
.cv-bell { position: absolute; z-index: 2; top: 0; left: -4%; display: flex; gap: 10px; align-items: center; max-width: 290px; padding: 10px 12px; border-radius: 18px; background: #fff; color: var(--ink); font-size: .8125rem; line-height: 1.35; box-shadow: 0 2px 4px rgba(4,31,27,.18), 0 18px 36px -14px rgba(4,31,27,.55); animation: cvBell 6s var(--ease-in-out) infinite; }
.cv-bell .ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 600; animation: ring 3s var(--ease-out) 1s infinite; }
.cv-bell div { min-width: 0; }
.cv-bell b { display: block; font-weight: 600; }
.cv-bell span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.cv-bell i { flex: none; align-self: flex-start; font-style: normal; padding: 2px 7px; border-radius: 999px; background: var(--ping-soft); color: var(--ping-ink); font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; }
@keyframes cvBell { 50% { transform: translateY(-8px); } }
.cv-hold { position: absolute; z-index: 2; right: -2%; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--tide-deeper); box-shadow: inset 0 0 0 1px rgba(143,230,203,.25), 0 16px 32px -14px rgba(0,0,0,.5); font-size: .875rem; }
.cv-hold .mark { width: 22px; height: 22px; color: var(--tide-glow); }
.cv-hold .mono { color: var(--tide-glow); font-size: 11px; }

/* ---------- Footer: light, with today's tides as a timeline ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line-2); color: var(--ink-2); padding: clamp(64px, 7vw, 96px) 0 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 340px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.foot-brand { display: grid; gap: 16px; justify-items: start; align-content: start; max-width: 300px; }
.foot-tag { font-family: var(--display); font-weight: 500; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, 160px)); gap: 24px; }
.foot-cols h2 { margin-bottom: 14px; font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.foot-cols a { display: block; width: fit-content; padding: 5px 0; font-size: var(--fs-sm); color: var(--ink-2); transition: color .2s; }
.foot-cols a:hover { color: var(--tide); }
.foot-news-card { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--line-2); }
.foot-news-card h2 { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; color: var(--ink); }
.foot-news-card > p:not(.join-msg) { font-size: var(--fs-sm); color: var(--ink-2); }
.foot-news { display: flex; width: 100%; height: 52px; margin-top: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.foot-news:focus-within { border-color: var(--tide-bright); box-shadow: 0 0 0 3px var(--tide-soft); }
.foot-news input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: none; color: var(--ink); font-size: var(--fs-sm); }
.foot-news input::placeholder { color: var(--ink-3); }
.foot-news input:focus { outline: none; }
.foot-news button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tide); color: #fff; display: grid; place-items: center; transition: transform .18s var(--ease-out), background-color .2s; }
.foot-news button:hover { background: var(--tide-hover); }
.foot-news button:active { transform: scale(.94); }
.footer .join-msg { margin-top: 0; color: var(--tide); }
/* today's tides: the brand idea as a quiet timeline */
.foot-day { margin-top: clamp(48px, 6vw, 80px); padding: 22px 24px 18px; border-radius: var(--r-lg); background: var(--tide-deep); color: #fff; }
.fd-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.fd-head .mono { color: rgba(255,255,255,.55); }
.fd-head .fd-next { color: var(--tide-glow); }
.fd-track { position: relative; height: 10px; border-radius: 999px; background: repeating-linear-gradient(90deg, rgba(255,90,54,.0) 0 10px, rgba(255,255,255,.1) 10px 12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.ft-tide { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--tide-glow); box-shadow: 0 0 0 5px rgba(143,230,203,.16); }
.ft-tide b { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--tide-glow); }
.fd-now { position: absolute; top: -8px; bottom: -8px; left: var(--now, 50%); width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ping); }
.fd-now b { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(min(-50%, calc(-100% + 18px))); padding: 1px 7px; border-radius: 999px; background: var(--ping); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 500; white-space: nowrap; }
.fd-axis { position: relative; height: 16px; margin-top: 36px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.45); }
.fd-axis span { position: absolute; transform: translateX(-50%); }
.fd-axis span:first-child { transform: none; }
.fd-axis span:last-child { transform: translateX(-100%); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; margin-top: 24px; font-size: var(--fs-xs); color: var(--ink-3); }
.foot-credit { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.foot-credit:hover { text-decoration-color: var(--tide); }

/* ---------- Home: testimonials ---------- */
.voices { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.voice-feature { margin: 0; display: flex; flex-direction: column; min-height: 520px; overflow: hidden; border-radius: var(--r-xl); background: var(--tide-deep); }
.voice-feature img { flex: 1 1 240px; min-height: 240px; width: 100%; object-fit: cover; object-position: 60% 40%; }
.voice-feature figcaption { display: grid; gap: 14px; justify-items: start; padding: clamp(22px, 2.6vw, 30px); color: #fff; }
.voice-feature blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }
.vf-who { font-size: var(--fs-sm); color: rgba(255,255,255,.7); }
.vf-who b { display: block; color: #fff; font-weight: 600; }
.voice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.voice { margin: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 24px; }
.voice figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.voice figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--line); }
.voice figcaption b { display: block; font-weight: 600; color: var(--ink); }
.voice figcaption span { color: var(--ink-3); font-size: var(--fs-xs); }
.voice blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.voice-chip { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--tide-softer); color: var(--tide); font-size: .8125rem; font-weight: 500; }
.voice-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--tide-bright); }
.voice-chip.on-dark { background: rgba(143,230,203,.16); color: var(--tide-glow); box-shadow: inset 0 0 0 1px rgba(143,230,203,.25); }
.voice-chip.on-dark i { background: var(--tide-glow); }

/* ---------- Home: teams teaser ---------- */
.tt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(14px, 1.6vw, 20px); border-radius: var(--r-xl); background: var(--tide-deep); color: #fff; background-image: radial-gradient(560px 320px at 0% 0%, rgba(20,166,136,.22), transparent 70%); }
.tt-copy { display: grid; gap: 20px; justify-items: start; padding: clamp(14px, 3vw, 44px) 0 clamp(14px, 3vw, 44px) clamp(10px, 3vw, 44px); }
.tt-copy .lead { color: rgba(255,255,255,.72); }
.tt-feats { list-style: none; display: grid; gap: 14px; margin: 6px 0 8px; }
.tt-feats li { display: flex; align-items: center; gap: 14px; }
.tt-feats b { display: block; font-weight: 600; }
.tt-feats li span:not(.tt-ic):not(.logo) { font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
.tt-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(143,230,203,.12); color: var(--tide-glow); }
.tt-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tt-ic .logo { width: 28px; height: 28px; border-radius: 8px; }
.tt-ic .logo svg { fill: #fff; stroke: none; width: 58%; height: 58%; }
.tt-price { font-size: var(--fs-sm); color: rgba(255,255,255,.72); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.tt-price:hover { color: #fff; }
.tt-media { position: relative; min-height: 480px; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; }
.tt-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,31,27,0) 40%, rgba(4,31,27,.35)); pointer-events: none; }
.tt-board { position: absolute; z-index: 1; left: clamp(14px, 2.5vw, 28px); right: clamp(14px, 6vw, 96px); bottom: clamp(14px, 2.5vw, 28px); color: var(--ink); }
.tt-status { position: absolute; z-index: 1; top: clamp(14px, 2.5vw, 24px); right: clamp(14px, 2.5vw, 24px); display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .8125rem; box-shadow: var(--shadow); animation: lvFloat 6s var(--ease-in-out) infinite; }
.tt-status .logo { width: 26px; height: 26px; border-radius: 8px; }
.tt-status b { color: var(--ink); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="scale"] { transform: scale(.97) translateY(14px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(108%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 35ms); }
.js [data-split].in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-signin { display: none; }
  .int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav-center, .nav-signin, .nav-join, .hide-md { display: none; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; }
  .menu-btn { display: inline-flex; }
  .sec-head.split, .grid-2, .faq-grid, .planner-head, .page-hero.split .container, .story, .access, .modes, .teams-teaser { grid-template-columns: minmax(0, 1fr); }
  .sec-head.split { row-gap: 20px; }
  .access { grid-template-areas: "intro" "form" "perks"; }
  .faq-card { position: static; min-height: 0; }
  .day-body { grid-template-columns: minmax(0, 1fr); }
  .day-feed { height: 200px; }
  .pl-out { grid-template-columns: repeat(2, 1fr); }
  .story-stage { position: relative; top: 0; order: -1; }
  .story-step { min-height: 0; padding-block: 28px; border-top: 1px solid var(--line); }
  .story-steps { padding-left: 0; }
  .story-steps::before, .story-steps::after, .story-step .num::before, .story-apps { display: none; }
  .story-step .h2 { color: var(--ink); }
  .story-step .body { color: var(--ink-2); }
  .story-step.is-active .num { color: var(--ping-ink); }
  .bento > *, .bento .w3, .bento .w4 { grid-column: span 3; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-mid { height: 110px; }
  .flow-mid svg { width: 120px; height: 100%; transform: rotate(90deg); }
  .flow-mid .lbl { bottom: auto; top: 50%; left: calc(50% + 46px); transform: translateY(-140%); text-align: left; }
  .flow-mid .lbl2 { top: 50%; transform: translateY(40%); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .digest-grid > .digest-card { order: 2; }
  .rail, .ro-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .voices, .tt { grid-template-columns: minmax(0, 1fr); }
  .voice-feature { min-height: 460px; }
  .tt-copy { padding: 16px 12px 0; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta-vis { max-width: 460px; width: 100%; justify-self: center; }
  .rail-head { max-width: 640px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .promise .pn { margin-bottom: 8px; font-size: 2.25rem; }
}
@media (max-width: 860px) {
  .grid-3, .price-grid, .levels, .store-table { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *, .bento .w3, .bento .w4 { grid-column: span 6; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .int-tools { position: static; }
  .int-tools::before { display: none; }
  .search { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  :root { --head-gap: 36px; --section: 80px; }
  .nav, .site-header.is-scrolled .nav { height: 62px; }
  .nav-left { gap: 10px; }
  .hs-hint { display: none; }
  .form-note, .compare-hint, .price-note { font-size: .875rem; }
  .hero-title .line { white-space: normal; }
  .hero-copy .btn-row, .page-hero .btn-row { width: 100%; }
  .hero-copy .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
  .proof { flex-direction: column; gap: 8px; }
  .day { border-radius: 24px; }
  .day-head { padding: 0; }
  .day-chart { height: 230px; }
  .day-stats { grid-template-columns: minmax(0, 1fr); }
  .ds { grid-template-columns: 1fr auto; align-items: center; }
  .axis span:nth-child(even) { display: none; }
  .axis { font-size: 10.5px; }
  .toast:nth-child(n+3) { display: none; }
  .focus-label.sm-hide, .bell-badge, .tide-badge .tb-more { display: none; }
  .tide-badge { font-size: 11px; padding: 4px 8px 4px 7px; }
  .sandbox { grid-template-columns: minmax(0, 1fr); }
  .lock { min-height: 320px; }
  .rule-group { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rg-label { padding-top: 0; }
  .dc-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .dc-list .app-name { grid-column: 1 / -1; }
  .dc-next { display: none; }
  .pl-out { grid-template-columns: 1fr 1fr; gap: 8px; }
  .po { padding: 14px 16px; }
  .pl-add { margin-left: 0; }
  .pl-range { min-width: 100%; }
  .grid-4, .platforms, .principles, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .member .tides { display: none; }
  .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .int-card { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 2px; }
  .int-card .logo { grid-row: auto; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
  .int-card .lvl { margin-top: 10px; padding-top: 10px; font-size: 11.5px; }
  .lv-vis { height: auto; min-height: 220px; padding: 20px 14px 56px; }
  .lv-bell { left: 14px; right: auto; bottom: 12px; }
  .mode-facts { grid-template-columns: minmax(0, 1fr); }
  .mode-tabs { grid-template-columns: 1fr 1fr; }
  .mode-tab { padding: 12px; grid-template-columns: 1fr; gap: 8px; }
  .mode-tab .mi { grid-row: auto; }
  .mode-tab small { display: none; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 30px 1fr; row-gap: 6px; }
  .timeline .when { grid-column: 2; padding: 0; }
  .timeline .dotx { grid-row: 1 / span 2; grid-column: 1; margin: 2px 0 0 0; }
  .timeline .what { grid-column: 2; }
  .access-form .row2 { grid-template-columns: minmax(0, 1fr); }
  .join { flex-direction: column; border-radius: 24px; }
  .join input { height: 48px; }
  .acc-panel p { padding-right: 4px; }
  .compare { min-width: 540px; font-size: .84375rem; }
  .compare th, .compare td { padding: 13px 12px; }
  .compare tbody th:not([colspan]), .compare thead th:first-child { width: 38%; box-shadow: 1px 0 0 var(--line-2); }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: auto; }
  .compare thead th { font-size: 1rem; }
  .compare-hint { display: block; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .voice-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tt-media { min-height: 0; display: grid; gap: 10px; overflow: visible; border-radius: 0; }
  .tt-media::after { display: none; }
  .tt-photo { position: relative; aspect-ratio: 4 / 3; height: auto; border-radius: 20px; }
  .tt-board { position: relative; inset: auto; }
  .tt-status { left: 12px; right: auto; top: 12px; }
  .fd-axis span:nth-child(even) { display: none; }
  .foot-day { padding: 18px 16px 14px; }
  .foot-base { flex-direction: column; }
  .quote.is-feature blockquote { font-size: 1.25rem; }
  .letter { font-size: 1.0625rem; }
  .letter p:first-child { font-size: 1.1875rem; }
  .facts > div { padding-right: 12px; }
  .facts > div + div { padding-left: 16px; }
  .facts > div:nth-child(3) { padding-left: 0; }
  .tally-grid { grid-template-columns: repeat(27, minmax(0, 1fr)); gap: 3px; }
  .pl-axis span:nth-child(even) { display: none; }
  .store li { flex-direction: column; gap: 2px; padding: 12px 0; }
  .store li span:last-child { text-align: left; font-size: .8125rem; }
  .ro-map { gap: 8px; }
  .ro-team { padding: 9px; gap: 8px; border-radius: 12px; }
  .ro-dots { gap: 4px; }
  .ro-team span { font-size: .6875rem; }
  .ro-stats { gap: 10px; }
  .ro-stats span { font-size: .75rem; }
  .ro-step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .ro-num { width: 40px; height: 40px; }
  .role { padding: 20px 8px; gap: 14px; }
  .role::before { inset: 4px -8px; }
  .roles-note { padding-inline: 8px; }
  .phone { transform: scale(.9); }
  .bars { gap: 8px; }
}
@media (max-width: 380px) {
  .hero-copy .pill { white-space: normal; height: auto; min-height: 32px; padding-block: 6px; text-align: center; line-height: 1.35; }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
}


/* ---------- Touch devices: 44px targets, 16px inputs (no iOS zoom) ---------- */
@media (pointer: coarse) {
  .btn-sm, .nav-signin, .seg-btn, .bill, .filter, .preset, .faq-index button { min-height: 44px; }
  button.chip, .check span { min-height: 44px; }
  .mini { min-height: 40px; padding-inline: 14px; }
  .acc-btn { min-height: 56px; }
  .foot-cols a { padding: 10px 0; }
  @media (max-width: 1024px), (pointer: coarse) {
  .input, .select, .textarea, .join input, .foot-news input, .search input, .chip-add input, .pl-field select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal], [data-split] .w > span, .lw, [data-cascade] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}
