/* Whisper Glide, public website
   Single stylesheet. No build step, no external assets other than Google Fonts. */

/* ---------------------------------------------------------------- tokens */

:root {
  color-scheme: light dark;

  --bg: #f2f6fa;
  --bg-deep: #e8eff6;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --tint: #2f7098;
  --tint-strong: #1f5a7d;
  --violet: #7a72e8;
  --sky: #6faedc;
  --ink: #0b1116;
  --ink-2: #3a4956;
  --ink-3: #63717e;
  --line: rgba(11, 17, 22, 0.09);
  --line-strong: rgba(11, 17, 22, 0.16);
  --shadow-s: 0 1px 2px rgba(11, 17, 22, 0.06);
  --shadow-m: 0 1px 2px rgba(11, 17, 22, 0.05), 0 20px 46px -26px rgba(11, 17, 22, 0.42);
  --shadow-l: 0 2px 4px rgba(11, 17, 22, 0.06), 0 48px 96px -44px rgba(11, 17, 22, 0.5);
  --glass: rgba(255, 255, 255, 0.78);

  --r-xs: 8px;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --display: "Fraunces", ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --page: 72rem;
  --narrow: 44rem;
  --measure: 65ch;
  --gutter: clamp(1.25rem, 5vw, 2.75rem);
  --section-y: clamp(5rem, 10vw, 8.5rem);
  --panel-round: clamp(22px, 4vw, 44px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090e14;
    --bg-deep: #060a0f;
    --surface: #141b23;
    --surface-2: #10171e;
    --tint: #8ac6ea;
    --tint-strong: #b0dbf5;
    --violet: #a49ef5;
    --sky: #7fb6df;
    --ink: #eff5fa;
    --ink-2: #b4c3cf;
    --ink-3: #8593a0;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.19);
    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.45);
    --shadow-m: 0 1px 2px rgba(0, 0, 0, 0.45), 0 20px 46px -26px rgba(0, 0, 0, 0.85);
    --shadow-l: 0 2px 4px rgba(0, 0, 0, 0.45), 0 48px 96px -44px rgba(0, 0, 0, 0.95);
    --glass: rgba(12, 18, 25, 0.76);
  }
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.006em;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--tint);
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover { color: var(--tint-strong); }

:focus-visible {
  outline: 2px solid var(--tint);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 600;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-s);
  z-index: 100;
}

.skip:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------------- display */

.display {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.028em;
  line-height: 1.04;
}

.display em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, var(--sky), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sky), var(--violet));
}

.lede {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: var(--measure);
  text-wrap: pretty;
}

/* ---------------------------------------------------- dark panel context */

.dark-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --ink: #f4f8fc;
  --ink-2: #b9c9d8;
  --ink-3: #8ea0b2;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --tint: #93cbee;
  --tint-strong: #bfe1f7;
  --tint-wash: rgba(255, 255, 255, 0.08);
  --sky: #8cc3e8;
  --violet: #a9a2f7;
  --panel-bg:
    radial-gradient(58% 46% at 16% 6%, rgba(111, 174, 220, 0.34), transparent 68%),
    radial-gradient(46% 44% at 88% 2%, rgba(122, 114, 232, 0.32), transparent 70%),
    radial-gradient(70% 52% at 50% 106%, rgba(47, 112, 152, 0.34), transparent 72%),
    linear-gradient(168deg, #0d1721 0%, #070d14 46%, #0f1a26 100%);
  color: var(--ink);
  background: var(--panel-bg);
}

.dark-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 60%);
}

.dark-panel > * { position: relative; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms ease,
    background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(140deg, #3a80aa, #245a7c);
  color: #fff;
  box-shadow: var(--shadow-m);
}

.btn-primary:hover { color: #fff; }

/* solid light pill, for use on a dark panel */
.btn-solid {
  background: #ffffff;
  color: #0b1116;
  box-shadow: var(--shadow-m);
}

.btn-solid:hover { color: #0b1116; }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-s);
}

.btn-ghost:hover { color: var(--ink); border-color: var(--tint); }

/* App Store badge placeholder */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem 0.7rem;
  border-radius: 14px;
  background: #0b1116;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: var(--shadow-m);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease;
}

.dark-panel .appstore,
.cta-panel .appstore { background: #ffffff; color: #0b1116; }

.appstore:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); color: #fff; }
.dark-panel .appstore:hover,
.cta-panel .appstore:hover { color: #0b1116; }

.appstore svg { width: 26px; height: 26px; fill: currentColor; }

.appstore .txt { display: block; }

.appstore .txt span {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1.2;
}

.appstore strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.note {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, background 300ms ease;
}

.nav.is-stuck:not(.over-dark) {
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--glass);
  border-bottom-color: var(--line);
}

.nav.over-dark {
  --ink: #f4f8fc;
  --ink-2: #c2d1de;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
}

.nav.over-dark.is-stuck {
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(8, 14, 20, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.022em;
  font-size: 1.0625rem;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(150deg, #6faedc, #2f7098 58%, #7a72e8);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-s);
}

.brand-mark span {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.brand-mark i {
  display: block;
  width: 2px;
  border-radius: 1px;
  background: #fff;
}

.brand-mark i:nth-child(1) { height: 6px; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 14px; }
.brand-mark i:nth-child(4) { height: 9px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.9375rem;
}

.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.nav-cta {
  margin-left: 0.25rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  color: #fff;
}

.nav.over-dark .nav-cta {
  background: #ffffff;
  color: #0b1116;
  box-shadow: none;
}

.nav.over-dark .nav-cta:hover { color: #0b1116; }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 0; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  margin-top: -4.5rem;
  border-radius: 0 0 var(--panel-round) var(--panel-round);
}

.hero .wrap { padding-top: 4.5rem; }

.hero-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.036em;
  line-height: 0.98;
  margin: 1.5rem 0 0;
}

.hero .lede {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}

@media (min-width: 560px) {
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.hero-meta strong {
  display: block;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.hero-meta span {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-3);
}

/* -------------------------------------------------------------- device */

.stage {
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.phone {
  /* the phone always renders a light iOS screen, independent of page theme */
  --surface: #ffffff;
  --surface-2: #eff4f9;
  --ink: #0b1116;
  --ink-2: #3a4956;
  --ink-3: #63717e;
  --line: rgba(11, 17, 22, 0.09);
  --tint: #2f7098;
  --tint-strong: #245a7c;
  --tint-wash: #e3eff8;
  --violet: #7a72e8;

  width: min(316px, 80vw);
  aspect-ratio: 316 / 650;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #3d4852, #10151b 55%, #2b343d);
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotateY(-9deg) rotateX(4deg) rotateZ(0.6deg);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stage:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }

.screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  background: linear-gradient(180deg, var(--tint-wash), transparent);
  z-index: -1;
}

.notch {
  width: 96px;
  height: 24px;
  border-radius: var(--r-pill);
  background: #0d1218;
  margin: 8px auto 0;
}

.thread {
  flex: 1;
  padding: 1.1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: flex-end;
}

.bubble {
  max-width: 84%;
  padding: 0.55rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  background: var(--surface-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

.bubble.me {
  align-self: flex-end;
  background: linear-gradient(140deg, var(--tint), var(--tint-strong));
  color: #fff;
  border-color: transparent;
}

.bubble.live {
  align-self: flex-end;
  background: var(--surface);
  color: var(--ink);
  border: 1px dashed color-mix(in srgb, var(--tint) 55%, transparent);
}

.caret {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--tint);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.kb {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: 0.5rem 0.35rem 0.75rem;
}

.kb-strip {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.25rem 0.5rem;
}

.chip {
  flex: 1;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.3rem 0.2rem;
  border-radius: var(--r-xs);
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip.on {
  color: #fff;
  background: linear-gradient(140deg, var(--tint), var(--tint-strong));
  border-color: transparent;
}

.kb-rows { display: grid; gap: 0.3rem; }

.kb-row {
  display: flex;
  gap: 0.24rem;
  justify-content: center;
}

.key {
  flex: 1;
  min-width: 0;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(11, 17, 22, 0.16);
}

.key.wide { flex: 1.6; }
.key.space { flex: 5; color: var(--ink-3); font-size: 0.6875rem; }

.key.mic {
  flex: 1.6;
  background: linear-gradient(140deg, var(--tint), var(--violet));
  color: #fff;
  position: relative;
}

.key.mic::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 2px solid color-mix(in srgb, var(--tint) 60%, transparent);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.94); opacity: 0.8; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { opacity: 0; }
}

.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.wave i {
  display: block;
  width: 2px;
  border-radius: 1px;
  background: currentColor;
  animation: bounce 1.1s ease-in-out infinite;
}

.wave i:nth-child(1) { height: 5px;  animation-delay: 0s; }
.wave i:nth-child(2) { height: 11px; animation-delay: 0.12s; }
.wave i:nth-child(3) { height: 14px; animation-delay: 0.24s; }
.wave i:nth-child(4) { height: 8px;  animation-delay: 0.36s; }

@keyframes bounce {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

/* ------------------------------------------------------------- sections */

section { position: relative; }

.section { padding-block: var(--section-y); }

.section-head { max-width: 42rem; }

.section-head h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.375rem);
  letter-spacing: -0.032em;
  line-height: 1.02;
  margin: 1.25rem 0 0;
}

.section-head .lede { margin-top: 1.125rem; }

.center { margin-inline: auto; text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ------------------------------------------------------------- features */

.bento {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 3; }
  .card.wide { grid-column: span 6; }
  .card.third { grid-column: span 2; }
}

.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  overflow: hidden;
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 380ms ease,
    border-color 380ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: var(--line-strong);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.62;
  max-width: 42ch;
  text-wrap: pretty;
}

.card-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--sky) 26%, transparent), color-mix(in srgb, var(--violet) 22%, transparent));
  color: var(--tint);
}

.card-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card.wide {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 860px) {
  .card.wide { grid-template-columns: 1fr 1fr; }
}

.card.feature-dark {
  background: var(--panel-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

.card.feature-dark:hover { border-color: rgba(255, 255, 255, 0.2); }

.card.feature-dark .card-ico { background: rgba(255, 255, 255, 0.09); color: #a3d5f4; }

/* small demos inside cards */

.demo {
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 1.15rem 1.25rem;
  font-size: 0.9063rem;
  line-height: 1.55;
}

.demo p { max-width: none; }

.demo-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 0.45rem;
}

.demo-raw { color: var(--ink-3); }

.demo-arrow {
  display: block;
  margin: 0.75rem 0;
  height: 1px;
  background: linear-gradient(90deg, var(--sky), var(--violet), transparent);
}

.styles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--tint) 12%, transparent);
  color: var(--tint);
  border: 1px solid color-mix(in srgb, var(--tint) 18%, transparent);
}

.feature-dark .pill { background: rgba(255, 255, 255, 0.08); color: #a3d5f4; border-color: rgba(255, 255, 255, 0.12); }

/* ---------------------------------------------------------------- steps */

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.step {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(140deg, var(--tint), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 1.25rem;
}

.step h3 { font-size: 1.125rem; letter-spacing: -0.022em; margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.6; text-wrap: pretty; }

/* -------------------------------------------------------------- privacy */

.privacy-band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(52% 60% at 8% 0%, color-mix(in srgb, var(--sky) 22%, transparent), transparent 70%),
    radial-gradient(46% 58% at 96% 100%, color-mix(in srgb, var(--violet) 20%, transparent), transparent 72%),
    var(--bg-deep);
}

.privacy-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .privacy-grid { grid-template-columns: 0.92fr 1.08fr; }
}

.privacy-grid h2 {
  font-size: clamp(2.125rem, 4.2vw, 3.125rem);
  letter-spacing: -0.032em;
  line-height: 1.02;
  margin-top: 1.25rem;
}

.privacy-grid .lede { margin-top: 1.25rem; }

.promises {
  display: grid;
  gap: 0.625rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.promises li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-s);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.promises strong { color: var(--ink); font-weight: 600; }

.tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #2f7098, #7a72e8);
  color: #fff;
}

.tick svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ faq */

.faq { margin-top: 3rem; display: grid; gap: 0.625rem; }

details.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

details.qa[open] { border-color: var(--line-strong); box-shadow: var(--shadow-m); }

details.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.018em;
  display: flex;
  align-items: center;
  gap: 1rem;
}

details.qa summary::-webkit-details-marker { display: none; }

details.qa summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

details.qa[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

details.qa .answer {
  padding: 0 1.4rem 1.35rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: var(--measure);
  text-wrap: pretty;
}

details.qa .answer p + p,
details.qa .answer ul { margin-top: 0.75rem; }

details.qa .answer ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

details.qa .answer li::marker { color: var(--tint); }
details.qa .answer strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ cta */

.cta-panel {
  border-radius: var(--r-xl);
  padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-l);
}

.cta-panel h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.034em;
  line-height: 1.02;
}

.cta-panel p { color: var(--ink-2); margin: 1.25rem auto 0; max-width: 32rem; }

.cta-panel .appstore { margin-top: 2.25rem; }
.cta-panel .note { margin-top: 1.25rem; }

/* --------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  margin-top: var(--section-y);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); gap: 3rem; }
}

.footer-about p {
  margin-top: 1rem;
  color: var(--ink-3);
  font-size: 0.9063rem;
  line-height: 1.6;
  max-width: 22rem;
}

.footer h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer ul a { color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; }
.footer ul a:hover { color: var(--ink); }

.footer-base {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-3);
  font-weight: 500;
  font-size: 0.8125rem;
}

/* ----------------------------------------------------------- legal pages */

.page-head {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  margin-top: -4.5rem;
  border-radius: 0 0 var(--panel-round) var(--panel-round);
}

.page-head .wrap { padding-top: 4.5rem; }

.page-head h1 {
  font-size: clamp(2.5rem, 5.6vw, 3.75rem);
  letter-spacing: -0.034em;
  line-height: 1.0;
  margin-top: 1.25rem;
}

.page-head .lede { margin-top: 1.25rem; }

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.toc {
  margin: 3rem 0 0;
  padding: 1.75rem 2rem;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}

.toc h2 {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 700px) {
  .toc ol { grid-template-columns: 1fr 1fr; gap: 0.6rem 2.5rem; }
}

.toc a {
  color: var(--ink-2);
  font-size: 0.9063rem;
  font-weight: 500;
  display: flex;
  gap: 0.7rem;
}

.toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.75rem;
  padding-top: 0.15em;
}

.toc a:hover { color: var(--tint); }

.prose {
  padding-bottom: 1rem;
  font-size: 1.0313rem;
  line-height: 1.72;
}

.prose section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.prose h2 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(1.625rem, 2.8vw, 2rem);
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin-bottom: 1.125rem;
  scroll-margin-top: 6rem;
}

.prose h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 2rem 0 0.6rem;
}

.prose p, .prose li {
  color: var(--ink-2);
  max-width: var(--measure);
  text-wrap: pretty;
}

.prose p + p { margin-top: 1.1rem; }

.prose ul {
  margin: 1.1rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.prose li::marker { color: var(--tint); }

.prose strong { color: var(--ink); font-weight: 600; }

.callout {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  border-left: 3px solid var(--tint);
  background: color-mix(in srgb, var(--tint) 8%, var(--surface));
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.65;
  max-width: var(--measure);
}

.callout strong { color: var(--ink); font-weight: 600; }

.mail {
  font-weight: 600;
  word-break: break-word;
}

/* -------------------------------------------------------------- support */

.support-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 800px) {
  .support-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  padding: 2rem 1.75rem;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}

.contact-card h3 { font-size: 1.125rem; letter-spacing: -0.022em; margin-bottom: 0.5rem; }
.contact-card p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.6; }
.contact-card a { font-weight: 600; }

.checklist {
  counter-reset: chk;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.checklist li {
  position: relative;
  padding: 1.1rem 1.4rem 1.1rem 3.6rem;
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.checklist li::before {
  counter-increment: chk;
  content: counter(chk);
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, #2f7098, #7a72e8);
}

.checklist strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------- 404 */

.error-page {
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(5rem, 12vw, 8rem);
  margin-top: -4.5rem;
  border-radius: 0 0 var(--panel-round) var(--panel-round);
}

.error-page .wrap { padding-top: 4.5rem; }

.error-code {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(5rem, 17vw, 10rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  background: linear-gradient(140deg, var(--sky), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.03em; margin-top: 1.5rem; }
.error-page p { margin: 1.125rem auto 0; max-width: 28rem; color: var(--ink-2); }
.error-page .hero-actions { justify-content: center; }

/* -------------------------------------------------------------- reveals */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.in { opacity: 1; transform: none; }

.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .phone { transform: none; }
}
