/* ivolna.com. One stylesheet for every page; system fonts only, no external requests. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --bg: #111a44;
  --bg-deep: #0d1538;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.8);
  --text-3: rgba(255, 255, 255, 0.66);
  --hair: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-line: rgba(255, 255, 255, 0.17);
  --glass-hi: rgba(255, 255, 255, 0.22);
  --glass-solid: rgba(28, 34, 84, 0.94);
  --blur: blur(22px) saturate(160%);
  --warm: #ffb59a;
  --focus: #9fe7ff;
  --wide: 1160px;
  --gutter: 24px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* The navy between the two auroras gets a faint violet light of its own. */
body::before {
  content: "";
  position: absolute;
  inset: 900px 0 1100px;
  z-index: -2;
  background:
    radial-gradient(60% 40% at 50% 30%, rgba(88, 74, 190, 0.22), transparent 70%),
    radial-gradient(28% 22% at 100% 52%, rgba(255, 140, 120, 0.2), transparent 70%),
    radial-gradient(26% 20% at 0% 48%, rgba(230, 100, 170, 0.18), transparent 70%),
    radial-gradient(40% 30% at 100% 80%, rgba(224, 106, 140, 0.14), transparent 70%),
    radial-gradient(40% 30% at 0% 85%, rgba(150, 80, 190, 0.18), transparent 70%);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: #10153a;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

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

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- backgrounds ---- */

.aurora {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
}

.aurora-top {
  top: 0;
  height: 1100px;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  background-image: url("/img/aurora-top.webp");
  background-position: center top;
  background-size: max(100%, 1480px) auto;
}

.aurora-short { height: 760px; }

.aurora-bottom {
  bottom: 0;
  height: 1000px;
  -webkit-mask-image: linear-gradient(0deg, #000 70%, transparent);
  mask-image: linear-gradient(0deg, #000 70%, transparent);
  background-image: url("/img/aurora-bottom.webp");
  background-position: center bottom;
  background-size: max(100%, 1480px) auto;
}

/* ---- glass ---- */

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 10px 40px rgba(6, 8, 30, 0.22);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-solid); }
}

/* ---- navigation ---- */

/* The wrapper spans the page width but lets clicks through; only the bar itself is interactive. */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav-wrap > * { pointer-events: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1060px;
  height: 56px;
  margin: 0 auto;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(40, 56, 130, 0.55), rgba(30, 40, 104, 0.42));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 10px;
}
.brand img { border-radius: 7px; }

.nav-links {
  display: flex;
  gap: 6px;
  margin: 0 auto;
}

.nav-links a, .menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav-links a:hover, .menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }

.nav-end { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.menu {
  inset: auto;
  top: 84px;
  right: var(--gutter);
  left: auto;
  margin: 0;
  padding: 8px;
  min-width: 220px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(40, 54, 128, 0.82), rgba(28, 36, 96, 0.82));
  color: var(--text);
}
.menu a { font-size: 16px; padding: 12px 16px; }
/* Hidden unless open; a browser without popover support simply never shows it. */
.menu { display: none; }
.menu:popover-open { display: block; }
.menu::backdrop { background: rgba(8, 10, 30, 0.25); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.btn .i { width: 19px; height: 19px; }

.btn-primary {
  background: linear-gradient(180deg, #ffffff, #eef0fb);
  color: #12163d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 30px rgba(190, 200, 255, 0.35), 0 2px 6px rgba(10, 12, 40, 0.25);
}
a.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #fff, 0 10px 36px rgba(190, 200, 255, 0.5), 0 2px 6px rgba(10, 12, 40, 0.25); }
.btn-primary .i-arrow { transition: transform 0.2s; }
a.btn-primary:hover .i-arrow { transform: translateX(2px); }

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.15); }

.btn-nav {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(90deg, #b8478a, #7b55d6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 22px rgba(226, 110, 220, 0.45);
}
a.btn-nav:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 6px 28px rgba(226, 110, 220, 0.65); }

/* Nothing to download yet: the same shapes, quieter, and not clickable. */
.btn.is-soon { cursor: default; }
.btn-primary.is-soon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(232, 234, 250, 0.78));
  color: #262b5c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 8px 30px rgba(190, 200, 255, 0.22), 0 2px 6px rgba(10, 12, 40, 0.2);
}
.btn-primary.is-soon .i { opacity: 0.8; }
.btn-nav.is-soon {
  background: linear-gradient(90deg, rgba(150, 70, 140, 0.82), rgba(100, 80, 180, 0.82));
  color: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 18px rgba(226, 110, 220, 0.22);
}

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

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 46px var(--gutter) 0;
  text-align: center;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow-warm { color: #ffb09a; }

h1 {
  margin-top: 10px;
  font-size: clamp(42px, 4.2vw + 4px, 66px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(20, 20, 80, 0.35);
}

.lede {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--text-2);
  font-size: clamp(18px, 1.1vw + 4px, 21px);
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.specs {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
}
.specs span { padding: 0 6px; }

/* ---- the demo window with the recording panel ---- */

.demo {
  max-width: 880px;
  margin: 26px auto 0;
}

.window {
  position: relative;
  height: 236px;
  padding: 18px 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  background:
    radial-gradient(60% 60% at 50% 105%, rgba(255, 140, 150, 0.32), transparent 70%),
    radial-gradient(30% 50% at 92% 100%, rgba(255, 170, 110, 0.4), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 30px 80px rgba(20, 10, 60, 0.35), 0 0 60px rgba(255, 150, 170, 0.12);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  backdrop-filter: blur(30px) saturate(150%);
  text-align: left;
}

.traffic { display: flex; gap: 8px; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2); }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }

.field {
  height: 112px;
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(246, 246, 251, 0.92), rgba(240, 232, 242, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 2px 10px rgba(30, 20, 60, 0.1);
  color: #1d1d24;
  font-size: 17px;
  line-height: 1.45;
}

.field-caret {
  display: inline-block;
  width: 2px;
  height: 21px;
  margin-left: 3px;
  vertical-align: -4px;
  background: #3a6cf4;
  border-radius: 1px;
}

@media (prefers-reduced-motion: no-preference) {
  .field-caret { animation: blink 1.06s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }

/* Volna's recording panel, as in the app: glass capsule, wave, caret, timer, the stop and cancel keys. */
.capsule {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 540px;
  height: 64px;
  margin-left: -270px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 32px;
  background: linear-gradient(90deg, rgba(232, 96, 140, 0.42), rgba(236, 116, 146, 0.3) 45%, rgba(250, 146, 104, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 30px rgba(20, 10, 40, 0.3), 0 0 40px rgba(255, 120, 140, 0.25);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  transform-origin: 62% 50%;
}

.cap-mic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 150, 170, 0.75), rgba(240, 96, 130, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: #fff;
}
.cap-mic .i { width: 18px; height: 18px; }

.wave { width: 228px; height: 48px; flex: none; }

.ibeam {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 10px;
  height: 34px;
  flex: none;
}
.ibeam i { width: 10px; height: 2px; border-radius: 1px; background: #fff; }
.stem {
  position: relative;
  width: 2px;
  flex: 1;
  overflow: hidden;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.stem.is-processing { width: 4px; }
.stem-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: linear-gradient(0deg, #9fe7ff, #d7c9ff);
}

.cap-label {
  width: 44px;
  flex: none;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.keys { display: flex; gap: 6px; margin-left: auto; flex: none; }
.key {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 15px;
}
.key-esc { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.92); font-size: 13px; }

/* ---- pills ---- */

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
}
@media (min-width: 1200px) {
  .pills { margin-inline: -40px; }
}

.pill {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 19px 0 16px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(40, 36, 100, 0.42), rgba(30, 28, 84, 0.36));
  color: rgba(255, 255, 255, 0.94);
  font-size: 14.5px;
  white-space: nowrap;
}
.pill .i { color: #fff; }

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

.section {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1440px, 100vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--hair) 20%, var(--hair) 80%, transparent);
}

.section-head { text-align: center; }

h1, h2 { text-wrap: balance; }

h2 {
  font-size: clamp(30px, 2.2vw + 6px, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
}

.section-head p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 18px;
}

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

.features { margin-top: 40px; padding-top: 44px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.card {
  position: relative;
  display: flex;
  gap: 18px;
  min-height: 128px;
  padding: 24px 24px 22px;
  overflow: hidden;
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(70% 90% at 0% 110%, var(--tint-glow), transparent 70%),
    linear-gradient(180deg, rgba(120, 130, 220, 0.14), rgba(80, 90, 180, 0.07));
}

.card h3 { font-size: 17.5px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.card p { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.5; }

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--tint-line);
  background: radial-gradient(circle at 50% 30%, var(--tint-fill), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px var(--tint-fill);
  color: var(--tint);
}
.card-icon .i { width: 24px; height: 24px; }

.tint-orange { --tint: #ffab6b; --tint-fill: rgba(255, 150, 90, 0.22); --tint-line: rgba(255, 170, 110, 0.4); --tint-glow: rgba(255, 120, 110, 0.2); }
.tint-blue   { --tint: #8fb4ff; --tint-fill: rgba(110, 150, 255, 0.24); --tint-line: rgba(140, 170, 255, 0.42); --tint-glow: rgba(110, 120, 255, 0.2); }
.tint-violet { --tint: #b9b4ff; --tint-fill: rgba(150, 140, 255, 0.24); --tint-line: rgba(170, 160, 255, 0.42); --tint-glow: rgba(255, 120, 160, 0.16); }
.tint-sky    { --tint: #91c8ff; --tint-fill: rgba(100, 160, 255, 0.24); --tint-line: rgba(130, 180, 255, 0.42); --tint-glow: rgba(120, 140, 255, 0.2); }
.tint-pink   { --tint: #ff9cc8; --tint-fill: rgba(255, 120, 180, 0.22); --tint-line: rgba(255, 150, 200, 0.42); --tint-glow: rgba(255, 110, 170, 0.18); }
.tint-green  { --tint: #6fe3a8; --tint-fill: rgba(80, 220, 150, 0.2); --tint-line: rgba(110, 230, 170, 0.42); --tint-glow: rgba(255, 140, 110, 0.18); }

/* ---- how it works ---- */

.how {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) 2fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
  padding-top: 40px;
}

.how-head h2 { margin-top: 10px; text-wrap: wrap; }
.keep { display: inline-block; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}

.step { position: relative; }
.step + .step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -26px;
  width: 16px;
  height: 12px;
  background: url("/img/arrow.svg") center / contain no-repeat;
  opacity: 0.55;
}

.step-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(160, 190, 255, 0.55);
  background: radial-gradient(circle at 50% 30%, #3e64d8, #1f2f86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 4px rgba(90, 120, 255, 0.12), 0 0 26px rgba(90, 130, 255, 0.45);
  color: #eaf2ff;
  font-size: 18px;
  font-weight: 650;
}

.step h3 { margin-top: 16px; font-size: 17.5px; font-weight: 650; letter-spacing: -0.01em; }
.step p { margin-top: 6px; color: var(--text-2); font-size: 15px; }

/* ---- platforms band ---- */

.platforms { max-width: 1300px; margin-top: 56px; padding-top: 0; }
.platforms::before { display: none; }

.band {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1.3fr;
  align-items: center;
  gap: 32px;
  padding: 26px 48px 22px;
  border-radius: 34px;
  border-color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(45% 60% at 68% 112%, rgba(255, 160, 120, 0.38), transparent 70%),
    radial-gradient(40% 80% at 100% 0%, rgba(120, 110, 255, 0.2), transparent 70%),
    linear-gradient(90deg, rgba(24, 26, 78, 0.7), rgba(24, 26, 78, 0.4) 40%, rgba(24, 26, 78, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.band h2 { margin-top: 12px; }
.band-text > p:last-child { margin-top: 12px; color: rgba(255, 255, 255, 0.9); font-size: 18px; max-width: 400px; }

.devices { width: 100%; max-width: 620px; height: auto; justify-self: end; }

/* ---- FAQ ---- */

.faq { margin-top: 48px; padding-top: 40px; }

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin: 32px auto 0;
}

.qa {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(120, 130, 220, 0.14), rgba(80, 90, 180, 0.08));
  border-color: rgba(255, 255, 255, 0.14);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: url("/img/chevron.svg") center / contain no-repeat;
  opacity: 0.7;
  transition: transform 0.2s;
}
.qa[open] summary::after { transform: rotate(180deg); }
.qa p { padding: 0 22px 20px; color: rgba(255, 255, 255, 0.86); font-size: 16px; }

/* ---- final call to action ---- */

.final {
  margin-top: 56px;
  padding-top: 20px;
  text-align: center;
  /* a soft shade under the words, so they stay readable over the brightest part of the light */
  background: radial-gradient(closest-side, rgba(26, 22, 80, 0.42), transparent);
}
.final::before { display: none; }
.final > p:not(.specs) { margin-top: 10px; color: rgba(255, 255, 255, 0.95); font-size: 19px; font-weight: 500; }
.final .cta-row { margin-top: 26px; }

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

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 26px var(--gutter) 34px;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14) 20%, rgba(255, 255, 255, 0.14) 80%, transparent);
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 8px; }
.footer-name { font-size: 17px; font-weight: 650; line-height: 1.2; }
.footer-tag { color: var(--text-3); font-size: 13px; }

.footer-links { display: flex; gap: 8px; }
.footer-links a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14.5px;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.footer-copy { justify-self: end; color: var(--text-3); font-size: 13.5px; }

/* ---- the privacy page ---- */

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px var(--gutter) 0;
}
.doc-head { text-align: center; }
.doc-head h1 { font-size: clamp(40px, 3vw + 10px, 56px); }
.doc-head p { margin-top: 12px; color: rgba(255, 255, 255, 0.82); font-size: 15px; }

.doc-body {
  margin-top: 40px;
  padding: 40px 48px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(26, 30, 84, 0.72), rgba(22, 26, 74, 0.66));
}
.doc-body h2 { margin-top: 34px; font-size: 24px; letter-spacing: -0.015em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: rgba(255, 255, 255, 0.88); font-size: 17px; }
.doc-body p { margin-top: 12px; }
.doc-body ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.doc-body li + li { margin-top: 8px; }
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-body code { font-family: inherit; color: #fff; }

.notfound {
  min-height: calc(100vh - 160px);
  padding: 120px var(--gutter) 40px;
  text-align: center;
  background: radial-gradient(closest-side at 50% 40%, rgba(26, 22, 80, 0.5), transparent);
}
.notfound p { margin-top: 14px; color: rgba(255, 255, 255, 0.9); font-size: 19px; }
.notfound .cta-row { margin-top: 30px; }

/* ---- responsive ---- */

@media (max-width: 1100px) {
  .how { grid-template-columns: 1fr; gap: 32px; }
  .band { grid-template-columns: 1fr 1.3fr; padding: 32px 36px 26px; }
}

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .footer-copy { justify-self: center; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .menu-btn { display: grid; }
  .band { grid-template-columns: 1fr; text-align: center; }
  .band-text > p:last-child { margin-inline: auto; }
  .demo { max-width: 640px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav { height: 54px; padding: 0 7px 0 14px; gap: 10px; }
  .brand { font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .btn-nav { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .menu-btn { width: 38px; height: 38px; }
  .hero { padding-top: 44px; }
  .eyebrow { font-size: 12px; }
  h1 { margin-top: 12px; }
  .lede { margin-top: 14px; }
  .cta-row { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; gap: 12px; }
  .cta-row .btn { width: 100%; }
  .specs { font-size: 13px; }
  .specs span { padding: 0 3px; }

  .demo { margin-top: 32px; }
  .window { height: 224px; padding: 14px 14px 0; border-radius: 18px; }
  .traffic i { width: 10px; height: 10px; }
  .field { height: 116px; margin-top: 12px; padding: 14px 16px; font-size: 15.5px; border-radius: 12px; }
  .capsule {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    height: 56px;
    margin-left: 0;
    gap: 9px;
    padding: 0 9px 0 10px;
    transform: none;
  }
  .cap-mic { display: none; }
  .wave { width: auto; min-width: 0; flex: 1 1 auto; height: 40px; }
  .ibeam { height: 30px; }
  .cap-label { width: 34px; font-size: 12.5px; }
  .keys { gap: 5px; margin-left: 0; }
  .key { min-width: 36px; height: 30px; padding: 0 6px; font-size: 14px; border-radius: 8px; }
  .key-esc { font-size: 12px; }

  .pills { gap: 10px; margin: 26px 0 0; }
  .pill { height: 42px; padding: 0 16px 0 14px; font-size: 14px; gap: 8px; }
  .pill .i { width: 18px; height: 18px; }

  .features { margin-top: 56px; padding-top: 44px; }
  .section-head p { font-size: 16.5px; }
  .cards { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .card { min-height: 0; padding: 20px; gap: 16px; }
  .card-icon { width: 48px; height: 48px; }
  .card-icon .i { width: 22px; height: 22px; }

  .how { margin-top: 56px; padding-top: 44px; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .step .step-num { grid-row: span 2; }
  .step h3 { margin-top: 2px; }
  .step + .step::before { display: none; }

  .platforms { margin-top: 48px; }
  .devices { justify-self: center; }
  .band { padding: 28px 18px 18px; border-radius: 26px; gap: 22px; }

  .faq { margin-top: 56px; padding-top: 44px; }
  .qa summary { padding: 16px 18px; font-size: 16px; }
  .qa p { padding: 0 18px 18px; font-size: 15.5px; }

  .final { margin-top: 48px; padding-top: 16px; }
  .final > p:not(.specs) { font-size: 17px; }

  .doc { padding-top: 44px; }
  .doc-body { padding: 26px 20px; border-radius: 20px; }
  .doc-body h2 { font-size: 21px; }
  .doc-body p, .doc-body li { font-size: 16px; }
}

@media (max-width: 380px) {
  .btn-nav { padding: 0 12px; font-size: 13px; }
  .brand span { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
