@font-face {
  font-family: Geologica;
  src: url("fonts/geologica-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Geologica;
  src: url("fonts/geologica-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Commissioner;
  src: url("fonts/commissioner-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Commissioner;
  src: url("fonts/commissioner-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f4f0e6;
  --paper-2: #ebe6da;
  --foam: #fbfaf5;
  --ink: #1c2a33;
  --ink-soft: #55636c;
  --ink-faint: rgba(28, 42, 51, 0.12);
  --pool: #2f6472;
  --pool-deep: #13222b;
  --reed: #c4a45a;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: Geologica, "Segoe UI", ui-sans-serif, sans-serif;
  --text: Commissioner, "Segoe UI", ui-sans-serif, sans-serif;
  --shadow: 0 28px 64px -28px rgba(28, 42, 51, 0.28);
  --radius: 2rem;
  --d: 0ms;
}

@supports (color: oklch(0.5 0.1 200)) {
  :root {
    --paper: oklch(0.968 0.014 88);
    --paper-2: oklch(0.942 0.018 90);
    --foam: oklch(0.985 0.008 95);
    --ink: oklch(0.228 0.032 228);
    --ink-soft: oklch(0.42 0.024 228);
    --ink-faint: oklch(0.228 0.032 228 / 0.12);
    --pool: oklch(0.41 0.066 208);
    --pool-deep: oklch(0.176 0.038 228);
    --reed: oklch(0.72 0.1 74);
    --shadow: 0 28px 64px -28px oklch(0.228 0.032 228 / 0.28);
  }
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.6;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--pool);
  outline-offset: 3px;
}

::selection {
  background: oklch(0.72 0.1 74 / 0.35);
  background: rgba(196, 164, 90, 0.35);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 8;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--foam);
}

.skip:focus {
  top: 12px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7;
  height: 2px;
  background: var(--pool);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  opacity: 0.85;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Nav */

.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: transform 500ms var(--ease);
}

.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: rgba(244, 240, 230, 0.72);
  border: 1px solid rgba(28, 42, 51, 0.08);
  box-shadow: 0 12px 40px -24px rgba(28, 42, 51, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 400ms var(--ease), box-shadow 400ms var(--ease);
}

.nav.is-scrolled .nav-island {
  background: rgba(244, 240, 230, 0.88);
  box-shadow: 0 16px 48px -20px rgba(28, 42, 51, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.brand svg {
  width: 22px;
  height: 22px;
  transition: transform 600ms var(--ease);
}

.brand:hover svg {
  transform: rotate(90deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 280ms var(--ease), background 280ms var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: rgba(28, 42, 51, 0.05);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pool);
  transform: translateX(-50%);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 6px 6px 6px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--foam);
  text-decoration: none;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 280ms var(--ease), background 280ms var(--ease);
}

.nav-cta .orb {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 400ms var(--ease);
}

.nav-cta:hover {
  background: var(--pool-deep);
}

.nav-cta:hover .orb {
  transform: translate(1px, -1px) scale(1.05);
}

.nav-cta:active {
  transform: scale(0.98);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.6px;
  margin: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 400ms var(--ease), opacity 400ms var(--ease), top 400ms var(--ease);
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav.is-open .nav-toggle span {
  background: transparent;
}

.nav.is-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 120px 0 56px;
}

/* Фон на всю ширину экрана, растворяется маской — без видимых границ контейнера */
.caustics {
  position: absolute;
  top: -40%;
  bottom: -6%;
  left: calc(50% - 50vw);
  width: 100vw;
  pointer-events: none;
  background:
    radial-gradient(34% 30% at 22% 42%, rgba(120, 190, 200, 0.30), transparent 70%),
    radial-gradient(26% 32% at 74% 30%, rgba(220, 190, 120, 0.22), transparent 72%),
    radial-gradient(40% 36% at 60% 68%, rgba(90, 140, 170, 0.16), transparent 70%);
  filter: blur(28px);
  mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
  animation: drift 28s var(--ease) infinite alternate;
  transform: translateZ(0);
  will-change: transform;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: rgba(28, 42, 51, 0.05);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--reed);
  box-shadow: 0 0 0 4px rgba(196, 164, 90, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(196, 164, 90, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(196, 164, 90, 0.06); }
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 13ch;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  font-weight: 560;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.mark {
  position: relative;
  display: inline-block;
  color: var(--pool);
}

.mark-line {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.08em;
  width: 104%;
  height: 0.16em;
  color: var(--reed);
  overflow: visible;
}

.mark-line path {
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
}

.is-shown .mark-line path {
  animation: draw 900ms var(--ease-out) 700ms forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.lede {
  margin: 0 0 36px;
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: transform 280ms var(--ease), background 280ms var(--ease), color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.btn .orb {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 400ms var(--ease);
}

.btn:hover .orb {
  transform: translate(1px, -1px) scale(1.06);
}

.btn:hover .orb svg {
  animation: nudge 600ms var(--ease);
}

@keyframes nudge {
  50% { transform: translateX(2px); }
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: var(--foam);
  box-shadow: 0 10px 30px -14px rgba(28, 42, 51, 0.6);
}

.btn-primary:hover {
  background: var(--pool-deep);
  box-shadow: 0 16px 36px -14px rgba(28, 42, 51, 0.7);
}

.btn-ghost {
  padding: 12px 18px;
  background: rgba(28, 42, 51, 0.05);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(28, 42, 51, 0.09);
}

.hero-note {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Device */

.device-stage {
  position: relative;
  justify-self: end;
  width: min(100%, 340px);
  perspective: 1400px;
}

.device-tilt {
  position: relative;
  z-index: 1;
  transform: rotate(-3.5deg) translateY(12px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}

.device-stage.is-live .device-tilt {
  transition: transform 160ms linear;
}

.device-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -28px;
  height: 40px;
  border-radius: 50%;
  background: rgba(28, 42, 51, 0.22);
  filter: blur(22px);
  transform: rotate(-3.5deg) scaleX(var(--sx, 1));
  transition: transform 700ms var(--ease-out);
}

.device-bezel {
  position: relative;
  padding: 9px;
  border-radius: 48px;
  background:
    linear-gradient(160deg, #4a555d 0%, #222f38 28%, #1a262e 60%, #33404a 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.side-btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4a555d, #2a363e);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18);
}

.side-btn.mute { left: -3px; top: 92px; height: 24px; }
.side-btn.vol-up { left: -3px; top: 132px; height: 46px; }
.side-btn.vol-down { left: -3px; top: 188px; height: 46px; }
.side-btn.power { right: -3px; top: 150px; height: 72px; background: linear-gradient(270deg, #4a555d, #2a363e); }

.device {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 40px;
  aspect-ratio: 9 / 19.2;
  color: var(--ink);
  background:
    radial-gradient(rgba(28, 42, 51, 0.045) 0.7px, transparent 0.8px) 0 0 / 14px 14px,
    linear-gradient(180deg, #f7f4ec, #f1ede3);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.status-bar {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 26px 0 28px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sig {
  width: 15px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 3px 40% no-repeat,
    linear-gradient(currentColor, currentColor) 4px 100% / 3px 60% no-repeat,
    linear-gradient(currentColor, currentColor) 8px 100% / 3px 80% no-repeat,
    linear-gradient(currentColor, currentColor) 12px 100% / 3px 100% no-repeat;
}

.bat {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1.3px solid currentColor;
  border-radius: 3.5px;
  opacity: 0.9;
}

.bat::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  width: 78%;
  border-radius: 1.5px;
  background: currentColor;
}

.bat::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 1.6px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.5;
}

.island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  width: 88px;
  height: 25px;
  border-radius: 20px;
  background: #06090c;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.island::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1d2f3a, #050708 65%);
}

.push {
  position: absolute;
  top: 44px;
  left: 8px;
  right: 8px;
  z-index: 5;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgba(247, 244, 236, 0.78);
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.3;
  box-shadow: 0 14px 34px -14px rgba(28, 42, 51, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  opacity: 0;
  transform: translate3d(0, -120%, 0) scale(0.96);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out);
  pointer-events: none;
}

.push.is-in {
  opacity: 1;
  transform: none;
}

.push-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #1c2a33;
}

.push-text b {
  display: block;
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.push-time {
  align-self: start;
  font-size: 10px;
  opacity: 0.55;
}

.chat-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 46px 12px 10px;
  background: rgba(251, 250, 245, 0.82);
  border-bottom: 1px solid rgba(28, 42, 51, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back {
  width: 9px;
  height: 9px;
  margin: 0 4px 0 2px;
  border-left: 1.8px solid var(--pool);
  border-bottom: 1.8px solid var(--pool);
  transform: rotate(45deg);
  flex: none;
}

.ava {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #9fc5cc, #3f6f86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.ava i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3aa96b;
  border: 2px solid #fbfaf5;
}

.who {
  flex: 1;
  min-width: 0;
}

.who strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.who span {
  display: block;
  color: var(--pool);
  font-size: 10.5px;
}

.call {
  flex: none;
  color: var(--pool);
}

.stream {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 12px 10px 8px;
  overflow: hidden;
}

.day {
  align-self: center;
  margin-bottom: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(28, 42, 51, 0.08);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.msg {
  position: relative;
  max-width: 82%;
  padding: 7px 10px 6px 11px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.94);
  transform-origin: bottom left;
  box-shadow: 0 1px 1px rgba(28, 42, 51, 0.06);
}

.msg.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 500ms var(--ease-out), transform 550ms var(--ease-out);
}

.msg time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  float: right;
  margin: 8px -2px -2px 8px;
  font-size: 9.5px;
  line-height: 1;
  opacity: 0.55;
}

.msg.them {
  align-self: flex-start;
  background: #fffdf8;
  color: var(--ink);
  border-bottom-left-radius: 5px;
}

.msg.me {
  align-self: flex-end;
  background: var(--pool);
  color: var(--foam);
  border-bottom-right-radius: 5px;
  transform-origin: bottom right;
}

.msg .ticks {
  color: rgba(251, 250, 245, 0.75);
}

.msg .ticks path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 500ms var(--ease-out) 200ms;
}

.msg.is-in .ticks path {
  stroke-dashoffset: 0;
}

.msg.is-read .ticks {
  color: #c9e9ea;
}

.msg.voice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
  padding: 8px 10px 8px 8px;
}

.msg.voice time {
  float: none;
  margin: 0;
  color: var(--ink-soft);
  opacity: 1;
  font-variant-numeric: tabular-nums;
}

.play {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pool);
}

.play::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  border-left: 9px solid var(--foam);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transition: opacity 200ms;
}

.play::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 10px;
  height: 12px;
  border-left: 3px solid var(--foam);
  border-right: 3px solid var(--foam);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 200ms;
}

.voice.is-playing .play::before { opacity: 0; }
.voice.is-playing .play::after { opacity: 1; }

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

.wave i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 2px;
  background: rgba(28, 42, 51, 0.22);
  transition: background 300ms;
}

.wave i:nth-child(1) { --h: 30%; }
.wave i:nth-child(2) { --h: 55%; }
.wave i:nth-child(3) { --h: 85%; }
.wave i:nth-child(4) { --h: 60%; }
.wave i:nth-child(5) { --h: 95%; }
.wave i:nth-child(6) { --h: 45%; }
.wave i:nth-child(7) { --h: 70%; }
.wave i:nth-child(8) { --h: 100%; }
.wave i:nth-child(9) { --h: 50%; }
.wave i:nth-child(10) { --h: 80%; }
.wave i:nth-child(11) { --h: 35%; }
.wave i:nth-child(12) { --h: 65%; }
.wave i:nth-child(13) { --h: 90%; }
.wave i:nth-child(14) { --h: 40%; }
.wave i:nth-child(15) { --h: 60%; }
.wave i:nth-child(16) { --h: 30%; }

.voice.is-playing .wave i {
  animation: wave-fill 2600ms linear forwards, wave-bounce 900ms ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 160ms), calc(var(--i, 0) * 60ms);
}

.wave i:nth-child(1) { --i: 0; }  .wave i:nth-child(2) { --i: 1; }  .wave i:nth-child(3) { --i: 2; }  .wave i:nth-child(4) { --i: 3; }
.wave i:nth-child(5) { --i: 4; }  .wave i:nth-child(6) { --i: 5; }  .wave i:nth-child(7) { --i: 6; }  .wave i:nth-child(8) { --i: 7; }
.wave i:nth-child(9) { --i: 8; }  .wave i:nth-child(10) { --i: 9; } .wave i:nth-child(11) { --i: 10; } .wave i:nth-child(12) { --i: 11; }
.wave i:nth-child(13) { --i: 12; } .wave i:nth-child(14) { --i: 13; } .wave i:nth-child(15) { --i: 14; } .wave i:nth-child(16) { --i: 15; }

@keyframes wave-fill {
  0%, 1% { background: rgba(28, 42, 51, 0.22); }
  2%, 100% { background: var(--pool); }
}

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

.typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 16px 16px 16px 5px;
  background: #fffdf8;
  box-shadow: 0 1px 1px rgba(28, 42, 51, 0.06);
}

.typing.is-on {
  display: inline-flex;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: blink 1.2s var(--ease) infinite;
}

.typing i:nth-child(2) { animation-delay: 120ms; }
.typing i:nth-child(3) { animation-delay: 240ms; }

@keyframes blink {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-1px); }
}

.composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 10px 0;
  padding: 8px 10px 8px 10px;
  border-radius: 22px;
  background: #fffdf8;
  color: var(--ink-soft);
  font-size: 12.5px;
  box-shadow: 0 1px 1px rgba(28, 42, 51, 0.06), inset 0 0 0 1px rgba(28, 42, 51, 0.06);
}

.composer span {
  flex: 1;
}

.composer .clip,
.composer .mic {
  flex: none;
  color: var(--ink-soft);
}

.home-bar {
  flex: none;
  width: 34%;
  height: 4px;
  margin: 10px auto 8px;
  border-radius: 2px;
  background: rgba(28, 42, 51, 0.7);
}

.glare {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(290deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 30%);
  mix-blend-mode: screen;
  border-radius: 40px;
}

/* Ticker */

.ticker {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 46s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 520;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.ticker-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--reed);
  flex: none;
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

/* Facts */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(48px, 7vw, 88px) 0 0;
}

.fact {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--ink-faint);
}

.fact strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 540;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.fact strong small {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--pool);
}

.fact > span {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 24ch;
}

/* Sections */

.section {
  padding: clamp(72px, 12vw, 140px) 0;
}

.kicker {
  margin: 0 0 16px;
  color: var(--pool);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 20px;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.prose {
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  text-wrap: pretty;
}

.problem {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.problem blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.problem ol {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.problem li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 12px;
  color: var(--ink-soft);
}

.problem li b {
  font-family: var(--display);
  font-weight: 560;
  color: var(--ink);
}

/* How */

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.steps {
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--ink-faint);
  transition: padding-left 500ms var(--ease);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--pool);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 900ms var(--ease-out);
}

.step.is-shown::before {
  transform: scaleX(1);
  transition-delay: var(--d, 0ms);
}

.step:last-child {
  border-bottom: 1px solid var(--ink-faint);
}

.step:hover {
  padding-left: 8px;
}

.step em {
  font-family: var(--display);
  font-style: normal;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.08em;
  color: var(--pool);
}

.step h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 540;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
}

/* Bento */

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.tile {
  padding: 2px;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(28, 42, 51, 0.045);
  border: 1px solid rgba(28, 42, 51, 0.06);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tile-inner {
  height: 100%;
  padding: 28px 28px 24px;
  border-radius: var(--radius);
  background: var(--foam);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tile.wide {
  grid-row: span 2;
}

.tile.wide .tile-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  background: linear-gradient(180deg, #fdfcf7, rgba(224, 236, 238, 0.65));
}

.tile h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 540;
  letter-spacing: -0.04em;
}

.tile p {
  margin: 0;
  max-width: 38ch;
  color: var(--ink-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(28, 42, 51, 0.06);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chip.test {
  color: var(--pool);
}

.chip.test::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pool);
  animation: pulse 2.4s var(--ease) infinite;
}

.mini-feed {
  margin-top: 32px;
  display: grid;
  gap: 8px;
}

.mini-feed span {
  width: fit-content;
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(28, 42, 51, 0.06);
  font-size: 13px;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.is-shown .mini-feed span {
  opacity: 1;
  transform: none;
}

.is-shown .mini-feed span:nth-child(1) { transition-delay: 500ms; }
.is-shown .mini-feed span:nth-child(2) { transition-delay: 800ms; }
.is-shown .mini-feed span:nth-child(3) { transition-delay: 1100ms; }

.mini-feed span:nth-child(even) {
  justify-self: end;
  background: var(--pool);
  color: var(--foam);
}

.soon {
  color: var(--reed);
}

/* Features */

.features {
  margin-top: clamp(56px, 8vw, 96px);
}

.features-head h3 {
  margin: 0 0 32px;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 540;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--ink-faint);
}

.feature-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-faint);
  transition: padding-left 400ms var(--ease);
}

.feature-list li::before {
  content: "";
  grid-row: 1 / span 2;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--pool);
  transition: transform 400ms var(--ease), background 400ms var(--ease);
}

.feature-list li > b,
.feature-list li > span {
  grid-column: 2;
}

.feature-list li:hover {
  padding-left: 6px;
}

.feature-list li:hover::before {
  transform: scale(1.4);
  background: var(--reed);
}

.feature-list b {
  display: block;
  font-family: var(--display);
  font-weight: 540;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}

.feature-list span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Trust */

.trust {
  position: relative;
  background: var(--pool-deep);
  color: var(--foam);
  overflow: clip;
}

.trust::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 50%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(90, 150, 170, 0.22), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.trust .wrap {
  position: relative;
}

.trust .kicker {
  color: var(--reed);
}

.trust h2 {
  color: var(--foam);
}

.trust .prose {
  color: #d5d3c7;
}

.truth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.truth article {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 500ms var(--ease), border-color 500ms var(--ease);
}

.truth article:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.truth h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 530;
  letter-spacing: -0.03em;
}

.truth ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #d5d3c7;
}

.truth li {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.truth li:first-child {
  padding-top: 0;
  border: 0;
}

/* Roadmap */

.roadmap-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.roadmap-head h2 {
  margin-bottom: 0;
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-top: 36px;
}

.road-line {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink-faint);
}

.road-line i {
  position: absolute;
  inset: 0;
  background: var(--pool);
  transform: scaleX(var(--fill, 0));
  transform-origin: 0 50%;
  transition: transform 1200ms var(--ease-out);
}

.stop {
  position: relative;
}

.stop .dot {
  position: absolute;
  top: -36px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink-soft);
  transition: background 500ms var(--ease), border-color 500ms var(--ease), transform 500ms var(--ease);
}

.stop.is-shown .dot {
  border-color: var(--pool);
}

.stop.now .dot {
  background: var(--pool);
  border-color: var(--pool);
  box-shadow: 0 0 0 4px rgba(47, 100, 114, 0.18);
  animation: pulse-pool 2.4s var(--ease) infinite;
}

@keyframes pulse-pool {
  0%, 100% { box-shadow: 0 0 0 4px rgba(47, 100, 114, 0.2); }
  50% { box-shadow: 0 0 0 9px rgba(47, 100, 114, 0.05); }
}

.stop time {
  display: block;
  margin-bottom: 12px;
  color: var(--pool);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stop.now time {
  color: var(--reed);
}

.stop h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 540;
  letter-spacing: -0.03em;
}

.stop p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 26ch;
}

/* Price */

.price-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.price-card {
  padding: 8px;
  border-radius: 36px;
  background: rgba(28, 42, 51, 0.045);
  border: 1px solid rgba(28, 42, 51, 0.06);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-body {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: var(--foam);
}

.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 8px;
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.amount small {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-soft);
}

.price-body ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.price-body li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--ink-soft);
}

.price-body li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--pool);
}

.price-body .btn {
  margin-top: 28px;
}

.price-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Where */

.where-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--ink-faint);
}

.where-grid article {
  padding: 28px 28px 8px 0;
  border-right: 1px solid var(--ink-faint);
}

.where-grid article:last-child {
  border-right: 0;
  padding-right: 0;
  padding-left: 28px;
}

.where-grid article:nth-child(2) {
  padding-inline: 28px;
}

.where-grid h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 540;
  letter-spacing: -0.03em;
}

.where-grid p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 28ch;
}

.status {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pool);
}

.status.wait {
  color: var(--reed);
}

/* FAQ */

.faq {
  max-width: 760px;
}

details {
  padding: 22px 0;
  border-top: 1px solid var(--ink-faint);
}

details:last-child {
  border-bottom: 1px solid var(--ink-faint);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 530;
  letter-spacing: -0.03em;
  transition: color 300ms var(--ease);
}

summary:hover {
  color: var(--pool);
}

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

summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 8px;
  border-right: 1.4px solid var(--ink);
  border-bottom: 1.4px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 400ms var(--ease), margin-top 400ms var(--ease);
}

details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 12px;
}

.faq-body {
  overflow: hidden;
}

details p {
  margin: 12px 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
}

/* Download */

.download {
  padding-bottom: 48px;
}

.download-box {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
  padding: 8px;
  border-radius: 36px;
  background: var(--ink);
  color: var(--foam);
  overflow: clip;
}

.download-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(closest-side, rgba(196, 164, 90, 0.22), transparent);
  filter: blur(30px);
  pointer-events: none;
  animation: drift 20s var(--ease) infinite alternate;
}

.download-copy {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
}

.kicker.reed {
  color: var(--reed);
}

.download-copy h2 {
  color: var(--foam);
  max-width: 12ch;
}

.download-copy p {
  max-width: 40ch;
  color: #d5d3c7;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.download-copy .btn-primary {
  background: var(--foam);
  color: var(--ink);
  box-shadow: none;
}

.download-copy .btn-primary:hover {
  background: #fff;
}

.download-copy .btn-primary .orb {
  background: rgba(28, 42, 51, 0.08);
}

.btn-copy {
  position: relative;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--foam);
  font-weight: 500;
  letter-spacing: -0.01em;
  display: grid;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-copy > span {
  grid-area: 1 / 1;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

.btn-copy .copy-done {
  opacity: 0;
  transform: translateY(6px);
  color: var(--reed);
}

.btn-copy.is-done .copy-label {
  opacity: 0;
  transform: translateY(-6px);
}

.btn-copy.is-done .copy-done {
  opacity: 1;
  transform: none;
}

.download-meta {
  position: relative;
  padding: 28px;
  color: #d5d3c7;
  font-size: 14px;
}

.download-meta p {
  margin: 0 0 18px;
}

.download-meta p:last-child {
  margin: 0;
}

.download-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--foam);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 530;
}

/* Footer */

footer {
  padding: 28px 0 max(48px, env(safe-area-inset-bottom));
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand svg {
  flex: none;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.foot a {
  text-decoration: none;
  transition: color 300ms var(--ease);
}

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

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  animation: rise 900ms var(--ease-out) forwards;
  animation-play-state: paused;
  animation-delay: var(--d, 0ms);
}

.js .reveal.is-shown {
  animation-play-state: running;
}

.hero .reveal:nth-child(1) { --d: 40ms; }
.hero .reveal:nth-child(2) { --d: 140ms; }
.hero .reveal:nth-child(3) { --d: 240ms; }
.hero .reveal:nth-child(4) { --d: 340ms; }
.hero .reveal:nth-child(5) { --d: 440ms; }
.hero .device-stage { --d: 260ms; }

.reveal-group > .reveal:nth-child(1) { --d: 0ms; }
.reveal-group > .reveal:nth-child(2) { --d: 90ms; }
.reveal-group > .reveal:nth-child(3) { --d: 180ms; }
.reveal-group > .reveal:nth-child(4) { --d: 270ms; }
.reveal-group > .reveal:nth-child(5) { --d: 360ms; }
.reveal-group > .reveal:nth-child(6) { --d: 450ms; }
.reveal-group > .reveal:nth-child(7) { --d: 540ms; }
.reveal-group > .reveal:nth-child(8) { --d: 120ms; }
.reveal-group > .reveal:nth-child(9) { --d: 210ms; }
.reveal-group > .reveal:nth-child(10) { --d: 300ms; }
.reveal-group > .reveal:nth-child(11) { --d: 390ms; }
.reveal-group > .reveal:nth-child(12) { --d: 480ms; }
.reveal-group > .reveal:nth-child(13) { --d: 570ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* Responsive */

.section,
.hero,
.download,
#faq,
#where {
  scroll-margin-top: 84px;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  }

  .device-stage {
    width: min(100%, 300px);
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
  }

  .road-line {
    display: none;
  }

  .stop {
    padding-top: 22px;
    border-top: 1px solid var(--ink-faint);
  }

  .stop .dot {
    top: -6px;
  }

  .roadmap-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    align-items: start;
    padding: 104px 0 40px;
  }

  .caustics {
    top: -20%;
    bottom: 30%;
  }

  .nav-island {
    width: calc(100% - 24px);
    justify-content: space-between;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 4;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    background: rgba(244, 240, 230, 0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    animation: fade 300ms var(--ease) both;
  }

  @keyframes fade {
    from { opacity: 0; }
  }

  .nav.is-open .nav-links a {
    font-family: var(--display);
    font-size: 2rem;
    letter-spacing: -0.04em;
    color: var(--ink);
    animation: rise 600ms var(--ease-out) both;
    animation-delay: calc(60ms * var(--i, 0));
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    filter: none;
  }

  .nav.is-open .nav-links a.is-active::after {
    display: none;
  }

  .nav.is-open .nav-cta {
    display: inline-flex;
    position: fixed;
    z-index: 4;
    right: 24px;
    bottom: max(28px, env(safe-area-inset-bottom));
    left: 24px;
    justify-content: center;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .hero-grid,
  .problem,
  .how-grid,
  .bento,
  .truth,
  .price-layout,
  .where-grid,
  .download-box {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .device-stage {
    justify-self: center;
    width: min(100%, 300px);
    margin-top: 8px;
  }

  .device-tilt {
    transform: none;
  }

  .device-shadow {
    transform: none;
  }

  .island {
    width: 62px;
    height: 21px;
  }

  .island::after {
    width: 8px;
    height: 8px;
    top: 7px;
    right: 7px;
  }

  .status-bar {
    padding: 0 22px 0 24px;
    font-size: 12px;
  }

  .tile.wide {
    grid-row: auto;
  }

  .tile.wide .tile-inner {
    min-height: 0;
  }

  .where-grid article,
  .where-grid article:nth-child(2),
  .where-grid article:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink-faint);
  }

  .bento {
    gap: 12px;
  }

  .roadmap {
    grid-template-columns: 1fr 1fr;
  }

  .download-meta {
    padding: 8px 28px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .download-meta p {
    margin: 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
    max-width: none;
  }

  .eyebrow {
    letter-spacing: 0.12em;
    font-size: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .hero-actions .btn-ghost {
    justify-content: center;
  }

  .device-stage {
    width: min(100%, 260px);
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fact > span {
    max-width: none;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .roadmap {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .stop {
    padding: 22px 0 22px 24px;
    border-top: 0;
    border-left: 1px solid var(--ink-faint);
  }

  .stop .dot {
    top: 26px;
    left: -6px;
  }

  .stop p {
    max-width: none;
  }

  .truth article,
  .tile-inner {
    padding: 22px;
  }

  .download-box {
    border-radius: 28px;
  }

  .download-meta {
    grid-template-columns: 1fr;
  }

  .download-actions .btn {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .btn-copy {
    justify-items: center;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .ticker-track span {
    font-size: 14px;
  }
}

@media (hover: none) {
  .step:hover,
  .feature-list li:hover {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .caustics,
  .typing i,
  .reveal,
  .msg,
  .device-bezel,
  .wave i,
  .ticker-track,
  .eyebrow i,
  .chip.test::before,
  .stop.now .dot,
  .download-glow,
  .mark-line path,
  .nav.is-open .nav-links a {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .mark-line path {
    stroke-dashoffset: 0;
  }

  .device-tilt,
  .device-shadow,
  .tile,
  .price-card,
  .push,
  .mini-feed span,
  .step::before,
  .msg .ticks path,
  .road-line i {
    transition: none !important;
  }

  .msg .ticks path {
    stroke-dashoffset: 0;
  }

  .voice .wave i {
    background: var(--pool);
  }

  .mini-feed span {
    opacity: 1;
    transform: none;
  }
}
