/* Layout concept: one meeting, top to bottom. Daylight hero, then the page goes dark when the
   recording starts; a recording clock on the right edge keeps time with the scroll.
   Vantablue: navy and chartreuse. The page commits to its own day→night story instead of
   following the viewer's theme, so every colour is set explicitly. */
:root {
  --paper: #F5F7FF;
  --ink: #05062A;
  --ink-soft: rgba(0, 0, 48, .68);
  --ink-faint: rgba(0, 0, 48, .5);
  --navy: #000088;
  --navy-muted: rgba(0, 0, 136, .5);
  --lime: #C5F143;
  --lime-deep: #A8D82A;
  --night: #000000;
  --cream: #F5F7FF;
  --cream-soft: rgba(245, 247, 255, .68);
  --cream-faint: rgba(245, 247, 255, .5);
  --card-night: rgba(8, 10, 58, .72);
  --card-night-raised: #0C0E4A;
  --rule-day: rgba(0, 0, 136, .12);
  --rule-night: rgba(245, 247, 255, .12);
  --rec: #FF5F57;
  --amber: #FFB224;
  --lilac: #9AA6FF;

  --f-display: "Bricolage Grotesque", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --shadow-float: 0 2px 3px rgba(0, 0, 48, .14), 0 30px 70px rgba(0, 0, 48, .22);
  --shadow-night: 0 2px 3px rgba(0, 0, 0, .4), 0 40px 90px rgba(0, 0, 0, .6), inset 0 1px 1px rgba(255, 255, 255, .12);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --night-p: 0;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(245, 247, 255, .7); }
img { max-width: 100%; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ---------- Sky: day gradient under a night layer that fades in with scroll ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.sky-day, .sky-night { position: absolute; inset: 0; }
.sky-day {
  background:
    radial-gradient(70% 55% at 0% 0%, rgba(0, 0, 136, .10), transparent 70%),
    radial-gradient(60% 50% at 100% 85%, rgba(197, 241, 67, .30), transparent 70%),
    var(--paper);
}
.sky-night {
  opacity: var(--night-p);
  background:
    radial-gradient(80% 60% at 0% 10%, rgba(0, 0, 136, .80), transparent 70%),
    radial-gradient(70% 60% at 100% 90%, rgba(0, 0, 136, .55), transparent 70%),
    radial-gradient(40% 30% at 90% 5%, rgba(197, 241, 67, .08), transparent 70%),
    var(--night);
}

/* ---------- Type ---------- */
.headline {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96;
  font-weight: 560;
  font-size: clamp(2.3rem, 1.1rem + 5.2vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.headline .muted { display: block; color: var(--navy-muted); }
.headline-2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.5rem); }
[data-tone="night"] { color: var(--cream); }
[data-tone="night"] .headline .muted { color: rgba(190, 198, 255, .62); }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); max-width: 34rem; margin-inline: auto; text-wrap: pretty; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-faint); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.body { color: var(--cream-soft); max-width: 30rem; text-wrap: pretty; }
.body + .body { margin-top: 14px; }

/* ---------- Buttons and the waitlist form ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--navy); color: var(--cream);
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s;
}
.btn:hover { background: #1414A8; }
.btn:active { transform: scale(.98); }
.btn-small { height: 38px; padding: 0 16px; font-size: .875rem; }
.btn-lime { background: var(--lime); color: #05062A; }
.btn-lime:hover { background: #D3F76A; }

.waitlist { margin-top: 34px; display: grid; justify-items: center; gap: 12px; }
.field {
  display: flex; gap: 6px; padding: 6px; width: min(100%, 460px);
  background: #FFFFFF; border: 1px solid var(--rule-day); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 48, .06), 0 12px 30px rgba(0, 0, 136, .08);
}
.field input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px;
  font: 400 1rem var(--f-body); color: var(--ink); outline: none;
}
.field input::placeholder { color: var(--ink-faint); }
.field:focus-within { border-color: rgba(0, 0, 136, .4); }
.field .btn { height: 46px; }
.form-note { font-size: .84rem; color: var(--ink-faint); }
.form-note.is-error { color: #B42318; }
.form-note.is-done { color: var(--navy); font-weight: 500; max-width: 34rem; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
[data-tone="night"] .field { background: rgba(245, 247, 255, .06); border-color: var(--rule-night); box-shadow: none; }
[data-tone="night"] .field input { color: var(--cream); }
[data-tone="night"] .field input::placeholder { color: var(--cream-faint); }
[data-tone="night"] .form-note { color: var(--cream-faint); }
[data-tone="night"] .form-note.is-error { color: #FF8A80; }
[data-tone="night"] .form-note.is-done { color: var(--lime); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; height: 68px;
  background: rgba(245, 247, 255, .66);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule-day);
  transition: background-color .35s, border-color .35s, color .35s;
}
.nav-inner { height: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 1.3rem/1 var(--f-display); letter-spacing: -0.03em; margin-right: auto; }
.beta-tag {
  font: 600 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 7px 3px; border-radius: 999px; background: var(--lime); color: var(--ink); align-self: center;
}
/* The app icon, with iOS's corner radius (about 22% of the side). */
.wordmark-icon { width: 30px; height: 30px; border-radius: 22.4%; display: block; box-shadow: 0 0 0 .5px rgba(0, 0, 48, .18), 0 2px 6px rgba(0, 0, 48, .18); }
.nav.is-night .wordmark-icon { box-shadow: 0 0 0 .5px rgba(245, 247, 255, .2), 0 2px 8px rgba(0, 0, 0, .5); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font: 500 .9rem/1 var(--f-body); text-decoration: none; color: var(--ink); opacity: .82; padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: opacity .2s, background-size .3s var(--ease-out);
}
.nav-links a:hover { opacity: 1; background-size: 100% 1px; }
.nav.is-night { background: rgba(0, 0, 20, .55); border-bottom-color: var(--rule-night); color: var(--cream); }
.nav.is-night .nav-links a { color: var(--cream); }
.nav.is-night .btn { background: var(--lime); color: #05062A; }

/* ---------- Recording clock rail ---------- */
.rail { position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); top: 110px; bottom: 40px; width: 64px; z-index: 40; pointer-events: none; }
.rail-ticks {
  position: absolute; right: 0; top: 0; bottom: 0; width: 10px;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 12px);
  color: rgba(0, 0, 136, .22);
  -webkit-mask: linear-gradient(transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(transparent, #000 6%, #000 94%, transparent);
}
.rail-label {
  position: absolute; right: 16px; top: 0; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 .72rem/1 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--navy);
  white-space: nowrap;
}
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 3px rgba(255, 95, 87, .18); flex: none; }
.rail.is-night .rail-ticks { color: rgba(245, 247, 255, .2); }
.rail.is-night .rail-label { color: var(--cream); }

/* ---------- Hero ---------- */
.hero, .chapter { overflow-x: clip; }
.hero { padding-top: calc(68px + clamp(56px, 9vw, 104px)); text-align: center; }
.hero-copy .lede { margin-top: 24px; }

.stage {
  position: relative; margin: clamp(48px, 7vw, 80px) auto 0; width: min(100%, 1100px);
  height: clamp(560px, 62vw, 700px);
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.rings {
  position: absolute; left: 50%; top: 52%; width: 1200px; height: 1200px; transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(0, 0, 136, .07) 58px 59px);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 62%); mask: radial-gradient(circle, #000 25%, transparent 62%);
  pointer-events: none;
}

/* iPhone frame */
.phone {
  position: relative; margin: 0; width: 300px; max-width: 100%;
  padding: 10px; border-radius: 52px; background: #0A0A0F;
  box-shadow: inset 0 0 0 1.5px #3A3C46, inset 0 0 0 4px #121318, var(--shadow-float);
}
.screen { position: relative; aspect-ratio: 1206 / 2622; border-radius: 43px; overflow: hidden; background: #000; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The Dynamic Island sits over the screenshot, as it does on the phone. */
.screen .island { position: absolute; left: 50%; top: 1.35%; width: 31%; height: 4.1%; transform: translateX(-50%); border-radius: 99px; background: #000; }

/* Cropped parts of real screens */
.crop { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--rule-day); box-shadow: var(--shadow-float); background: #FFFFFF; }
.crop img { display: block; width: 100%; height: auto; }
.crop-map { max-width: 860px; margin-inline: auto; }
.crop-panel { margin-top: 28px; }

.phone-hero { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }

.orb { cursor: pointer; }
.orb-canvas { display: block; }
.orb-hero { position: absolute; z-index: 3; width: 240px; height: 240px; left: calc(50% - 330px); top: 64px; }
.orb-hero::after {
  content: "Tap me"; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  font: 500 .68rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
}

.float-card {
  position: absolute; z-index: 3; width: 236px; text-align: left; padding: 16px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .86); border: 1px solid var(--rule-day); box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .9rem; line-height: 1.4; color: var(--ink);
}
.fc-kind { font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.fc-kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); }
.fc-meta { margin-top: 8px; font: 400 .74rem/1 var(--f-mono); color: var(--ink-faint); }
.fc-decision { left: calc(50% + 120px); top: 120px; }
.fc-action { left: calc(50% + 170px); top: 290px; }

/* ---------- Chapters and the split layout ---------- */
.chapter { padding-block: clamp(90px, 11vw, 150px); }
.chapter-first { padding-top: clamp(150px, 18vw, 240px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split-copy { min-width: 0; }
.split-copy .headline { margin-bottom: 24px; }
.where {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--rule-night); font: 500 .74rem/1 var(--f-mono); letter-spacing: .06em; color: var(--cream-soft);
}
.where-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.split-visual { position: relative; display: flex; justify-content: center; padding-top: 40px; min-width: 0; }
.phone-side { width: 290px; }
.phone-side { box-shadow: inset 0 0 0 1.5px #3A3C46, inset 0 0 0 4px #121318, 0 40px 100px rgba(0, 0, 0, .7); }
.orb-perch { position: absolute; z-index: 3; width: 120px; height: 120px; top: -32px; left: calc(50% + 70px); }
.card-kind { font: 500 .58rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.card-meta { margin-top: 6px; font: 400 .6rem/1.2 var(--f-mono); color: var(--cream-faint); }

/* Sidekick's card pops out of the phone: it starts small over the real card in the screenshot
   and grows to the left, over the phone's edge. */
.popout {
  position: absolute; z-index: 4; width: 330px; padding: 22px 24px; border-radius: 24px;
  left: calc(50% - 280px); top: 380px;
  background: var(--card-night-raised); border: 1px solid rgba(197, 241, 67, .45);
  box-shadow: var(--shadow-night);
  transform-origin: 85% 30%;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.popout .card-kind { font-size: .7rem; margin-bottom: 12px; }
.popout-q { font: 500 1.28rem/1.3 var(--f-display); letter-spacing: -0.015em; color: var(--cream); text-wrap: pretty; }
.popout .card-meta { font-size: .72rem; margin-top: 14px; line-height: 1.4; }
.js .popout:not(.is-out) { transform: translate(120px, 26px) scale(.66); }

/* ---------- Privacy ---------- */
.privacy-head { display: flex; align-items: center; gap: 28px; margin-bottom: 56px; }
.orb-privacy { width: 150px; height: 150px; flex: none; cursor: default; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-night); border: 1px solid var(--rule-night); border-radius: 24px; overflow: hidden; }
.facts > div { background: rgba(0, 0, 18, .72); padding: 28px 26px 30px; min-width: 0; }
.facts dt { font: 560 1.2rem/1.2 var(--f-display); letter-spacing: -0.015em; margin-bottom: 10px; color: var(--cream); }
.facts dd { margin: 0; color: var(--cream-soft); font-size: .95rem; line-height: 1.55; }
.facts sup { font-size: .65em; }

/* ---------- Closing + footer ---------- */
.closing { padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px); text-align: center; }
.closing-inner { display: grid; justify-items: center; }
.footer { padding-block: 32px 48px; border-top: 1px solid var(--rule-night); color: var(--cream-faint); font-size: .84rem; }
.footer-inner { display: grid; gap: 8px; max-width: 1160px; }
.footer p { max-width: 46rem; }
.selectable { user-select: all; color: var(--cream-soft); }
.footnote { font-size: .76rem; }

/* ---------- Shared section parts ---------- */
.split-flip .split-copy { order: 2; }
.headline-3 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem); }
.split-copy .body + .minis { margin-top: 28px; }
.minis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; max-width: 34rem; }
.minis li { font-size: .9rem; line-height: 1.45; color: var(--cream-soft); min-width: 0; }
.minis b { display: block; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.center-copy { display: grid; justify-items: center; text-align: center; margin-bottom: 56px; }
.center-copy .headline { margin-bottom: 20px; }
.eyebrow-center::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.body-center { margin-inline: auto; max-width: 36rem; }
.rail-chapter { color: inherit; opacity: .7; font-family: var(--f-body); letter-spacing: 0; }
.rail-chapter:not(:empty)::before { content: "· "; }

/* Day-tone versions of the section parts (the meeting is over: the lights come up). */
[data-tone="day"] { color: var(--ink); }
[data-tone="day"] .eyebrow { color: var(--ink-faint); }
[data-tone="day"] .body, [data-tone="day"] .minis li { color: var(--ink-soft); }
[data-tone="day"] .minis b { color: var(--ink); }
[data-tone="day"] .where { border-color: var(--rule-day); color: var(--ink-soft); }
[data-tone="day"] .where-dot { background: var(--lime-deep); }

/* Perched orbs */
.orb-perch-left { left: calc(50% - 190px); }

/* Two columns that share rows (eyebrow, headline, text, panel), so both panels start on the same line. */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: clamp(40px, 6vw, 80px); }
.duo-item { min-width: 0; display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
.duo-item .headline { margin-bottom: 18px; }
.duo-item .crop-panel { align-self: start; }
.crop-panel img { aspect-ratio: 1200 / 1070; object-fit: cover; object-position: top; }

/* Everything else: tiles */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid li { padding: 24px 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, .72); border: 1px solid var(--rule-day); min-width: 0; }
.grid svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.grid b { display: block; font: 560 1.1rem/1.25 var(--f-display); letter-spacing: -0.01em; margin-bottom: 6px; }
.grid p { font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .fc-action { display: none; }
  .fc-decision { left: auto; right: var(--gutter-r); top: 380px; }
  .orb-hero { left: var(--gutter-l); width: 200px; height: 200px; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .split-flip .split-copy { order: 0; }
  .duo { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 64px; }
  .duo-item { display: flex; flex-direction: column; grid-row: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .stage { height: 600px; }
  .phone-hero { width: 270px; top: 40px; }
  .orb-hero { width: 150px; height: 150px; left: 50%; top: -48px; transform: translateX(-118%); }
  .orb-hero::after { display: none; }
  .fc-decision { right: auto; left: 50%; top: 440px; transform: translateX(-30%); width: 220px; }
  .popout { width: min(300px, calc(100vw - 48px)); left: 50%; top: 250px; transform: translateX(-62%); }
  .js .popout:not(.is-out) { transform: translate(-30%, 26px) scale(.66); }
  .popout.is-out { transform: translateX(-62%); }
  .privacy-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .orb-privacy { width: 110px; height: 110px; margin-left: -12px; }
}
@media (max-width: 560px) {
  .field { flex-direction: column; border-radius: 26px; }
  .field input { height: 46px; }
  .field .btn { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .grid, .minis { grid-template-columns: minmax(0, 1fr); }
  .popout { transform: translateX(-50%); }
  .popout.is-out { transform: translateX(-50%); }
  .js .popout:not(.is-out) { transform: translate(-30%, 26px) scale(.66); }
}

/* ---------- Micro-motion: quiet, and all of it off with Reduce Motion ---------- */
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes breathe { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.035; opacity: .75; } }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(197, 241, 67, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(197, 241, 67, 0); } }
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* The hero arrives as one sequence. */
.hero-copy > *, .stage { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.stage { animation-delay: .28s; }
.rings { animation: breathe 9s ease-in-out infinite; }
.float-card { animation: drift 7s ease-in-out infinite; }
.fc-action { animation-delay: -3.5s; }
.where-dot { animation: live-dot 2.4s ease-out infinite; }
[data-tone="day"] .where-dot { animation-name: none; }
.rail .rec-dot { animation: rec-blink 1.6s ease-in-out infinite; }

/* Sections fade up as they come into view (main.js adds .reveal, then .in). */
.reveal { transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal:not(.in) { opacity: 0; translate: 0 22px; }

/* Hover: things you can touch respond a little. */
.btn:hover { translate: 0 -1px; }
.grid li { transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s; }
.grid li:hover { translate: 0 -3px; border-color: rgba(0, 0, 136, .2); box-shadow: 0 18px 40px rgba(0, 0, 136, .08); }
.grid li svg { transition: translate .35s var(--ease-out); }
.grid li:hover svg { translate: 0 -2px; }
.facts > div { transition: background-color .35s; }
.facts > div:hover { background: rgba(8, 10, 58, .78); }
.phone, .crop { transition: translate .5s var(--ease-out); }
.split-visual:hover .phone, .crop:hover { translate: 0 -4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal, .js .reveal:not(.in) { opacity: 1; translate: none; transition: none; }
  .grid li:hover, .grid li:hover svg, .btn:hover, .split-visual:hover .phone, .crop:hover { translate: none; }
  html { scroll-behavior: auto; }
  .popout, .nav, .btn { transition: none; }
  .js .popout:not(.is-out) { transform: none; opacity: 1; }
  @media (max-width: 720px) { .js .popout:not(.is-out) { transform: translateX(-62%); } }
  @media (max-width: 560px) { .js .popout:not(.is-out) { transform: translateX(-50%); } }
}

/* Let the hidden attribute win over display rules (the form hides its field after signing up). */
[hidden] { display: none !important; }
