/* dinome — product site. Plain CSS, no build step. */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  color-scheme: dark;
  --bg: #07060e;
  --bg-2: #0c0a18;
  --surface: rgb(255 255 255 / 0.035);
  --surface-2: rgb(255 255 255 / 0.065);
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.15);
  --ink: #f4f2ff;
  --ink-2: #cfcaee;
  --muted: #918bbb;
  --faint: #625d88;
  --accent: #7c5cff;
  --accent-2: #a99dff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --amber: #f5a524;
  --glow: rgb(124 92 255 / 0.55);
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: 'Geist', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', 'Cascadia Mono', Consolas, ui-monospace, monospace;
  --wrap: min(1200px, 100% - 32px);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: rgb(124 92 255 / 0.45);
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

/* ---------- background: aurora, grid and grain ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 10%, transparent 75%);
}
.bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}
.blob {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.9;
  will-change: transform;
}
.blob-1 {
  top: -40vmax;
  left: -10vmax;
  background: radial-gradient(circle, rgb(124 92 255 / 0.36), transparent 62%);
  animation: drift-1 26s ease-in-out infinite alternate;
}
.blob-2 {
  top: -30vmax;
  right: -30vmax;
  background: radial-gradient(circle, rgb(34 211 238 / 0.18), transparent 60%);
  animation: drift-2 30s ease-in-out infinite alternate;
}
.blob-3 {
  top: 40vh;
  left: -40vmax;
  background: radial-gradient(circle, rgb(244 114 182 / 0.12), transparent 60%);
  animation: drift-3 34s ease-in-out infinite alternate;
}
@keyframes drift-1 {
  to {
    transform: translate(18vmax, 8vmax) scale(1.15);
  }
}
@keyframes drift-2 {
  to {
    transform: translate(-14vmax, 12vmax) scale(0.9);
  }
}
@keyframes drift-3 {
  to {
    transform: translate(16vmax, -10vmax) scale(1.2);
  }
}

/* ---------- small parts ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
}

.grad {
  background: linear-gradient(100deg, #fff 0%, #cbbcff 30%, #8f7bff 55%, #5ce1f5 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.35s var(--spring),
    box-shadow 0.35s var(--ease),
    background-color 0.25s;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  color: white;
  background: radial-gradient(120% 140% at 30% 0%, #b4a6ff 0%, #7c5cff 45%, #5b3fd9 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 0 0 1px rgb(124 92 255 / 0.6),
    0 10px 40px -8px var(--glow);
}
.btn-primary::before {
  /* A light that runs around the edge. */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--angle), transparent 0 70%, rgb(255 255 255 / 0.9) 80%, transparent 90%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-angle 4s linear infinite;
  opacity: 0.7;
}
@keyframes spin-angle {
  to {
    --angle: 360deg;
  }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    0 0 0 1px rgb(164 151 255 / 0.8),
    0 18px 50px -10px var(--glow);
}
.btn-ghost {
  color: var(--ink);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgb(255 255 255 / 0.1);
  transform: translateY(-2px);
}
.btn-sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.glass {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    0 30px 80px -40px rgb(0 0 0 / 0.8);
  backdrop-filter: blur(18px);
}

.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font: 500 12px/1 var(--mono);
  color: var(--ink-2);
  background: rgb(255 255 255 / 0.06);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    inset 0 -2px 0 rgb(0 0 0 / 0.3);
}

/* Revealed as they scroll into view (site.js adds .in). */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background-color 0.4s,
    box-shadow 0.4s,
    backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgb(7 6 14 / 0.7);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 6px 20px -6px var(--glow);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-2);
}
/* English or Croatian: the page in the other language, at the same place. */
.lang-switch {
  display: inline-flex;
  flex: none;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lang-switch a {
  padding: 7px 10px;
  border-radius: 999px;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.lang-switch a:hover {
  color: var(--ink);
}
.lang-switch a[aria-current] {
  color: white;
  background: rgb(124 92 255 / 0.32);
  box-shadow: inset 0 0 0 1px rgb(164 151 255 / 0.5);
}
.nav-links + .lang-switch {
  margin-left: -12px;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav .lang-switch {
    margin-left: auto;
  }
}

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

.hero {
  position: relative;
  padding-top: clamp(120px, 16vh, 160px);
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 6px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  background: rgb(124 92 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(164 151 255 / 0.3);
  transition:
    background-color 0.25s,
    transform 0.35s var(--spring);
}
.hero-badge:hover {
  background: rgb(124 92 255 / 0.18);
  transform: translateY(-1px);
}
.hero-badge b {
  padding: 4px 9px;
  border-radius: 999px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.08em;
  color: white;
  background: var(--accent);
}
.hero h1 {
  margin: 26px auto 0;
  font-size: clamp(44px, 7.6vw, 98px);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 .line {
  display: block;
}
.hero-lede {
  max-width: 660px;
  margin: 28px auto 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta svg {
  width: 15px;
  height: 15px;
  color: var(--accent-2);
}

/* The app, tilted back, settling as the page scrolls; glass cards float around it. */
.stage {
  position: relative;
  margin: clamp(48px, 6vw, 72px) auto 0;
  animation: stage-in 1.4s var(--ease) 0.35s both;
  width: min(1180px, 100% - 32px);
  perspective: 2200px;
  --p: 0;
  --mx: 0;
  --my: 0;
}
.stage::before {
  content: '';
  position: absolute;
  inset: 8% 6% -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(124 92 255 / 0.55), rgb(34 211 238 / 0.18) 60%, transparent);
  filter: blur(60px);
  opacity: calc(0.5 + var(--p) * 0.5);
}
@keyframes stage-in {
  from {
    opacity: 0;
    translate: 0 60px;
    filter: blur(10px);
  }
}
.window {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  transform-origin: 50% 0%;
  transform: rotateX(calc((1 - var(--p)) * 22deg)) rotateY(calc(var(--mx) * 3deg)) scale(calc(0.92 + var(--p) * 0.08));
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 50px 120px -30px rgb(0 0 0 / 0.9),
    0 30px 80px -40px var(--glow);
  transition: transform 0.12s linear;
  background: #0b0918;
}
.window img {
  width: 100%;
}
.window::after {
  /* Glare that follows the pointer. */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at calc(50% + var(--mx) * 40%) calc(30% + var(--my) * 30%), rgb(255 255 255 / 0.08), transparent 50%);
  pointer-events: none;
}

.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgb(18 15 36 / 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.12),
    0 20px 50px -18px rgb(0 0 0 / 0.8),
    0 0 40px -14px var(--glow);
  font-size: 13px;
  text-align: left;
  color: var(--ink-2);
  transform: translate3d(calc(var(--mx) * var(--d, 20px)), calc(var(--my) * var(--d, 20px)), 0);
  animation: bob 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.float b {
  color: var(--ink);
  font-weight: 600;
}
@keyframes bob {
  50% {
    translate: 0 -8px;
  }
}
.f-live {
  top: 12%;
  left: -3%;
  --d: -26px;
}
.f-line {
  top: 46%;
  left: -6%;
  max-width: 330px;
  align-items: flex-start;
  --d: 34px;
  --delay: -2s;
}
.f-summary {
  top: 24%;
  right: -4%;
  --d: 30px;
  --delay: -1s;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 240px;
}
.f-voice {
  bottom: 18%;
  right: -2%;
  --d: -22px;
  --delay: -3s;
}
.f-polish {
  bottom: 6%;
  left: 6%;
  --d: 18px;
  --delay: -4s;
}
@media (max-width: 900px) {
  .float {
    display: none;
  }
}

.rec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.14em;
  color: #ff6b81;
  background: rgb(255 77 109 / 0.14);
}
.rec::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 10px #ff4d6d;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.eq {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}
.eq i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(var(--accent-2), var(--cyan));
  animation: eq 1s ease-in-out infinite;
  transform-origin: center;
}
.eq i:nth-child(2) {
  animation-delay: -0.3s;
}
.eq i:nth-child(3) {
  animation-delay: -0.6s;
}
.eq i:nth-child(4) {
  animation-delay: -0.15s;
}
.eq i:nth-child(5) {
  animation-delay: -0.45s;
}
@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font: 700 11px/1 var(--font);
  color: white;
  background: radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--h) 70%, white), var(--h) 60%, color-mix(in oklab, var(--h) 70%, black));
}
.typing-text {
  color: var(--ink);
  line-height: 1.45;
}
.typing-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent-2);
  animation: pulse 0.9s steps(1) infinite;
}
.mini-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}
.mini-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c, var(--accent-2));
  box-shadow: 0 0 8px var(--c, var(--accent-2));
}
.float .icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--accent-2);
  background: rgb(124 92 255 / 0.16);
}
.float .icon svg {
  width: 17px;
  height: 17px;
}

/* ---------- logos / proof strip ---------- */

.proof {
  margin-top: clamp(70px, 10vw, 120px);
  padding-block: 26px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 14px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--accent);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

.section {
  position: relative;
  padding-block: clamp(90px, 13vw, 170px);
}
.section-head {
  max-width: 760px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .eyebrow::after {
  content: '';
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
}
.section h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  font-weight: 640;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-head p {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- the live demo ---------- */

.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.seg button {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  font: 500 14px/1 var(--font);
  color: var(--muted);
  background: none;
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.3s var(--ease);
}
.seg button[aria-pressed='true'] {
  color: white;
  background: var(--accent);
  box-shadow: 0 6px 20px -8px var(--glow);
}
.demo {
  display: grid;
  grid-template-columns: 1fr 360px;
  margin-top: 18px;
  overflow: hidden;
  min-height: 560px;
}
.demo-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.demo-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.demo-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.demo-clock {
  margin-left: auto;
  font: 500 13px/1 var(--mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.demo-meter {
  display: block;
  width: 100%;
  height: 54px;
  border-bottom: 1px solid var(--line);
}
.demo-lines {
  position: relative;
  flex: 1;
  height: 400px;
  padding: 10px 22px 26px;
  overflow: hidden;
  mask-image: linear-gradient(transparent, black 50px);
}
.demo-scroll {
  display: grid;
  gap: 4px;
  transition: transform 0.6s var(--ease);
}
.ln {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
  animation: line-in 0.5s var(--ease) both;
}
/* Who is talking: a short line in their colour beside the avatar, like the open meeting in the app's list. */
.ln::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 0;
  width: 3px;
  height: 20px;
  border-radius: 0 99px 99px 0;
  background: color-mix(in oklab, var(--h) 80%, white);
  box-shadow: 0 0 12px var(--h);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.ln .avatar {
  width: 34px;
  height: 34px;
}
.ln .who {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in oklab, var(--h) 75%, white);
}
.ln .who time {
  font: 400 12px/1 var(--mono);
  color: var(--faint);
}
.ln .who .voice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 500 11px/1 var(--font);
  color: var(--accent-2);
}
.ln p {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.ln .partial {
  color: var(--faint);
  font-style: italic;
}
.ln.speaking {
  background: rgb(255 255 255 / 0.03);
}
.ln.speaking::before {
  opacity: 1;
}
@keyframes line-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.demo-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgb(0 0 0 / 0.14);
}
.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.demo-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
}
.demo-tabs span.on {
  color: var(--ink);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.demo-summary {
  position: relative;
  flex: 1;
  padding: 20px 22px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.demo-summary h4 {
  margin: 16px 0 6px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.demo-summary h4:first-child {
  margin-top: 0;
}
.demo-summary ul {
  margin: 0;
  padding-left: 16px;
}
.demo-summary li {
  margin: 4px 0;
}
.demo-summary li::marker {
  color: var(--accent);
}
.demo-summary .task {
  list-style: none;
  margin-left: -16px;
  display: flex;
  gap: 8px;
}
.demo-summary .task::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px var(--faint);
}
.demo-summary b {
  color: var(--ink);
}
.demo-wait {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  height: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.demo-idle {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  height: 100%;
  padding: 0 18px;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}
.demo-idle svg {
  width: 26px;
  height: 26px;
  color: var(--accent-2);
  opacity: 0.6;
}
.demo-wait .orb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(from var(--angle), var(--accent), var(--cyan), var(--pink), var(--accent));
  animation: spin-angle 3s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%);
  mask: radial-gradient(circle, transparent 52%, #000 54%);
  opacity: 0.8;
}
.demo-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  font: 500 12px/1.4 var(--mono);
  color: var(--faint);
}
.caret::after {
  content: '▍';
  margin-left: 1px;
  color: var(--accent-2);
  animation: pulse 0.8s steps(1) infinite;
}
@media (max-width: 900px) {
  .demo {
    grid-template-columns: 1fr;
  }
  .demo-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .demo-side {
    min-height: 380px;
  }
}

/* ---------- features: a bento of cards ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 18px;
  margin-top: 56px;
}
.card {
  --x: 50%;
  --y: 50%;
  display: flex;
  flex-direction: column;
  /* clip, not hidden: a card that hides its overflow becomes a scroll container, and would
     capture the scroll-linked animations inside it (the summary's) from the page. */
  overflow: clip;
  padding: 28px;
  isolation: isolate;
}
.card::before {
  /* Spotlight under the pointer. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(500px circle at var(--x) var(--y), rgb(124 92 255 / 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 620;
  letter-spacing: -0.025em;
}
.card p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  text-wrap: pretty;
}
.card .card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--accent-2);
  background: linear-gradient(140deg, rgb(124 92 255 / 0.28), rgb(34 211 238 / 0.08));
  box-shadow: inset 0 0 0 1px rgb(164 151 255 / 0.25);
}
.card .card-icon svg {
  width: 21px;
  height: 21px;
}
.span-2 {
  grid-column: span 2;
}
.tall {
  grid-row: span 2;
}
.visual {
  position: relative;
  flex: 1;
  margin: 24px -28px -28px;
  min-height: 150px;
  overflow: hidden;
}
@media (max-width: 960px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .span-2 {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .span-2 {
    grid-column: auto;
  }
  .tall {
    grid-row: auto;
  }
}

/* Summary: the real summary, scrolling by. */
.v-summary {
  /* A size container, so the summary scrolls exactly to its end in a window of any height. */
  container-type: size;
  mask-image: linear-gradient(transparent, black 12%, black 80%, transparent);
}
.v-summary img {
  width: 82%;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line);
}

/* Speakers: rings light up as each one talks. */
.v-speakers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 10px 28px 30px;
}
.speakers-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.spk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.spk .avatar {
  width: 52px;
  height: 52px;
  font-size: 15px;
  position: relative;
}
.spk .avatar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--h);
  opacity: 0;
  animation: talk 7.5s infinite;
  animation-delay: calc(var(--n) * 1.5s);
}
@keyframes talk {
  0%,
  16% {
    opacity: 1;
    transform: scale(1.06);
    box-shadow:
      0 0 0 2px var(--h),
      0 0 24px var(--h);
  }
  20%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.voice-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-2);
  background: rgb(124 92 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(164 151 255 / 0.25);
}
.voice-chip svg {
  width: 15px;
  height: 15px;
  color: var(--accent-2);
}

/* GPU: a big number. */
.stat {
  margin-top: auto;
  padding-top: 26px;
}
.stat .num {
  font-size: clamp(54px, 6vw, 76px);
  font-weight: 640;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.stat .label {
  margin-top: 8px;
  font: 500 12px/1.4 var(--mono);
  color: var(--muted);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 46px;
  margin-top: 18px;
}
.bars i {
  flex: 1;
  height: 100%;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(to top, var(--accent), var(--cyan));
  opacity: 0.85;
  animation: bar 2.4s ease-in-out infinite;
  animation-delay: calc(var(--n) * -0.2s);
  transform-origin: bottom;
}
@keyframes bar {
  0%,
  100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}

/* Croatian: the letters that trip up other recognisers. */
.diacritics {
  margin-top: auto;
  padding-top: 26px;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.diacritics em {
  font-style: normal;
  color: var(--accent-2);
  text-shadow: 0 0 22px var(--glow);
}
.lang-pills {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.lang-pills span {
  padding: 5px 10px;
  border-radius: 8px;
  font: 600 12px/1 var(--mono);
}
.lang-pills .hr {
  color: #7dd3fc;
  background: rgb(56 189 248 / 0.14);
}
.lang-pills .en {
  color: #fda4af;
  background: rgb(244 63 94 / 0.14);
}

/* Listen back: the real player, with a moving playhead. */
.v-player {
  display: flex;
  align-items: center;
  padding: 0 28px 34px;
}
.player-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 20px 50px -20px rgb(0 0 0 / 0.8);
}
.v-lines {
  display: grid;
  gap: 8px;
  padding: 0 28px;
  margin-top: 22px;
}
.v-lines div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: rgb(255 255 255 / 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.v-lines div.now {
  color: var(--ink);
  background: rgb(124 92 255 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(164 151 255 / 0.35);
}
.v-lines time {
  font: 500 12px/1 var(--mono);
  color: var(--faint);
}
.v-lines .play {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-size: 9px;
}

/* Search: a query without diacritics finding words with them. */
.v-search {
  padding: 0 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgb(0 0 0 / 0.25);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 15px;
}
.search-box svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.search-box .count {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 7px;
  font: 600 11px/1 var(--mono);
  color: #fbbf24;
  background: rgb(251 191 36 / 0.14);
}
.hit {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-2);
  background: rgb(255 255 255 / 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hit mark {
  padding: 0 3px;
  border-radius: 5px;
  color: white;
  background: rgb(249 115 22 / 0.45);
  box-shadow: 0 0 0 1px rgb(249 115 22 / 0.8);
}

/* Google Drive: the backup, filed by date. */
.v-drive {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 0 28px 30px;
}
.tree {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  list-style: none;
  font: 500 13px/1 var(--mono);
  color: var(--ink-2);
  background: rgb(0 0 0 / 0.25);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tree li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 6px calc(var(--lvl, 0) * 18px);
}
.tree svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--accent-2);
}
.tree .file svg {
  color: var(--muted);
}
.tree .doc {
  color: var(--ink);
}
.tree .doc svg {
  color: #7dd3fc;
}
.share-card {
  width: 230px;
  padding: 14px;
  border-radius: 16px;
  background: rgb(18 15 36 / 0.85);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.12),
    0 20px 40px -20px rgb(0 0 0 / 0.8);
  font-size: 13px;
}
.share-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.share-card .title {
  font-weight: 600;
  color: var(--ink);
}
.switch {
  position: relative;
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px -2px var(--glow);
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
}
.copied {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  background: rgb(52 211 153 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(52 211 153 / 0.3);
  animation: toast 5s var(--ease) infinite;
}
.copied svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}
@keyframes toast {
  0%,
  20% {
    opacity: 0;
    transform: translateY(6px);
  }
  28%,
  85% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}
.person {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink-2);
}
.person .avatar {
  width: 24px;
  height: 24px;
  font-size: 9px;
}
.person small {
  margin-left: auto;
  color: var(--muted);
}
@media (max-width: 640px) {
  .v-drive {
    grid-template-columns: 1fr;
  }
}

.v-palette {
  display: flex;
  align-items: center;
  padding: 0 28px 30px;
}
.v-palette img {
  border-radius: 14px;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 24px 60px -24px var(--glow);
}

/* ---------- light or dark: drag to compare ---------- */

.compare {
  --pos: 50%;
  position: relative;
  margin-top: 56px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 50px 120px -40px rgb(0 0 0 / 0.9);
  touch-action: pan-y;
  user-select: none;
}
.compare img {
  width: 100%;
}
.compare .top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: white;
  box-shadow: 0 0 20px rgb(255 255 255 / 0.6);
  pointer-events: none;
}
.compare .handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  translate: -50% -50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307060e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat,
    white;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.4);
}
.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare .tag {
  position: absolute;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.08em;
  pointer-events: none;
}
.compare .tag.light {
  left: 16px;
  color: #1d1b2e;
  background: rgb(255 255 255 / 0.85);
}
.compare .tag.dark {
  right: 16px;
  color: white;
  background: rgb(7 6 14 / 0.75);
}

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

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.step {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.step .n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font: 600 16px/1 var(--mono);
  color: white;
  background: radial-gradient(circle at 30% 25%, #b4a6ff, #7c5cff 50%, #5b3fd9);
  box-shadow: 0 0 0 6px rgb(124 92 255 / 0.12), 0 10px 30px -8px var(--glow);
}
.step h3 {
  margin: 22px 0 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.step p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}
.step .visual {
  margin: 26px 0 0;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (max-width: 900px) {
  .steps {
    /* minmax(0, …): a long line inside a step must not widen the page. */
    grid-template-columns: minmax(0, 1fr);
  }
}

.installer {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: rgb(0 0 0 / 0.25);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.installer .row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.installer .row:first-child {
  margin-top: 0;
}
.installer .ok {
  color: var(--green);
}
.progress {
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.08);
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  animation: fill 4s var(--ease) infinite;
}
@keyframes fill {
  0% {
    width: 0;
  }
  70%,
  100% {
    width: 100%;
  }
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgb(0 0 0 / 0.25);
  box-shadow: inset 0 0 0 1px var(--line);
}
.toolbar .url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgb(255 255 255 / 0.05);
}
.toolbar img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 0 0 2px rgb(124 92 255 / 0.6), 0 0 18px var(--glow);
  animation: pulse-ring 2.4s ease-in-out infinite;
}
@keyframes pulse-ring {
  50% {
    box-shadow:
      0 0 0 5px rgb(124 92 255 / 0.25),
      0 0 26px var(--glow);
  }
}
.toolbar .kbd {
  height: 24px;
}

/* The card dinome shows in a Meet call. */
.join-card {
  width: 100%;
  max-width: 310px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, #1c1734, #120f24);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    0 24px 50px -20px rgb(0 0 0 / 0.9),
    0 0 40px -16px var(--glow);
  font-size: 12.5px;
  color: var(--ink-2);
}
.join-card .head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.join-card .head img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.join-card .q {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.join-card .lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.join-card .seg button {
  padding: 6px 11px;
  font-size: 12px;
}
.join-card .start {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #8f74ff, #6a52f0);
  box-shadow: 0 8px 24px -10px var(--glow);
}

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

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.checks {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  color: var(--ink-2);
}
.checks li b {
  color: var(--ink);
  font-weight: 600;
}
.checks svg {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  color: var(--green);
  background: rgb(52 211 153 / 0.12);
}
.flow {
  padding: clamp(18px, 3vw, 30px);
}
.flow svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.flow .flow-tall {
  display: none;
}
.flow .node rect {
  fill: rgb(255 255 255 / 0.04);
  stroke: rgb(255 255 255 / 0.14);
}
.flow .node.main rect {
  fill: rgb(124 92 255 / 0.16);
  stroke: rgb(164 151 255 / 0.6);
}
.flow .node.disk rect {
  fill: rgb(52 211 153 / 0.08);
  stroke: rgb(52 211 153 / 0.45);
}
.flow .node.opt rect {
  stroke-dasharray: 5 5;
}
.flow text {
  fill: var(--ink);
  font: 600 14px var(--font);
}
.flow text.sub {
  fill: var(--muted);
  font: 500 11.5px var(--font);
}
.flow .wire {
  fill: none;
  stroke: rgb(164 151 255 / 0.45);
  stroke-width: 1.5;
}
.flow .wire.opt {
  stroke: rgb(255 255 255 / 0.2);
  stroke-dasharray: 4 6;
}
.flow .packet {
  fill: var(--cyan);
  filter: drop-shadow(0 0 6px var(--cyan));
}
.flow .packet.v {
  fill: var(--accent-2);
  filter: drop-shadow(0 0 6px var(--accent-2));
}
.flow .label {
  fill: var(--faint);
  font: 500 11px var(--mono);
}
@media (max-width: 900px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- specs ---------- */

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.spec {
  padding: 24px;
}
.spec .k {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec .v {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.spec p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}
@media (max-width: 960px) {
  .specs {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .specs {
    grid-template-columns: minmax(0, 1fr);
  }
}

.models {
  margin-top: 18px;
  padding: 8px 0;
  overflow-x: auto;
}
.models table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.models th,
.models td {
  padding: 14px 24px;
  text-align: left;
  white-space: nowrap;
}
.models th {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.models td {
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.models td:first-child {
  color: var(--ink);
  font-weight: 560;
}
.models .best {
  color: var(--green);
}
.models .tag {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 7px;
  font: 600 10.5px/1 var(--mono);
  color: var(--accent-2);
  background: rgb(124 92 255 / 0.16);
}

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

.faq {
  max-width: 860px;
  margin: 56px auto 0;
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
  interpolate-size: allow-keywords;
}
.faq details[open] {
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 10px 1.6px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 1.6px 10px no-repeat,
    rgb(255 255 255 / 0.06);
  transition: transform 0.4s var(--spring);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition:
    height 0.45s var(--ease),
    content-visibility 0.45s allow-discrete;
}
.faq details[open]::details-content {
  height: auto;
}
.faq .answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
}
.faq .answer p {
  margin: 0 0 10px;
}
.faq .answer p:last-child {
  margin-bottom: 0;
}
.faq code {
  font: 500 0.9em var(--mono);
  color: var(--ink);
}

/* ---------- final call ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 8vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from var(--angle), transparent, rgb(124 92 255 / 0.25), transparent 30%, rgb(34 211 238 / 0.18), transparent 60%);
  animation: spin-angle 14s linear infinite;
  z-index: -1;
}
.cta img {
  width: 116px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 20px 40px rgb(124 92 255 / 0.5));
  animation: bob 6s ease-in-out infinite;
}
.cta h2 {
  margin: 0;
}
.cta p {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 18px;
  color: var(--ink-2);
}
.cta .hero-cta {
  margin-top: 32px;
}
.cta small {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

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

.site-footer {
  padding: 56px 0 46px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.foot h4 {
  margin: 0 0 12px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.foot ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.foot a:hover {
  color: var(--ink);
}
.foot .about {
  max-width: 360px;
  margin: 14px 0 0;
}
.foot .ai {
  margin-top: 14px;
  font-size: 13px;
  color: var(--faint);
}
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
.legal .motto-small {
  font-family: var(--mono);
}
@media (max-width: 760px) {
  .foot {
    grid-template-columns: 1fr;
  }
}

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

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 150px 0 100px;
}
.doc h1 {
  margin: 18px 0 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 640;
}
.doc .updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.doc .tldr {
  margin-top: 36px;
  padding: 24px 26px;
}
.doc .tldr p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}
.doc h2 {
  margin: 52px 0 0;
  font-size: 26px;
  letter-spacing: -0.025em;
  font-weight: 620;
}
.doc h3 {
  margin: 30px 0 0;
  font-size: 18px;
  font-weight: 600;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc p {
  margin: 14px 0 0;
}
.doc ul {
  margin: 14px 0 0;
  padding-left: 20px;
}
.doc li {
  margin: 8px 0;
}
.doc li::marker {
  color: var(--accent);
}
.doc a {
  color: var(--accent-2);
  text-underline-offset: 3px;
}
.doc b,
.doc strong {
  color: var(--ink);
  font-weight: 600;
}
.doc code {
  font: 500 0.9em var(--mono);
  color: var(--ink);
}
.doc blockquote {
  position: relative;
  margin: 20px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  color: var(--ink);
  background: rgb(124 92 255 / 0.1);
}
.doc blockquote::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 3px;
  height: 20px;
  border-radius: 0 99px 99px 0;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- polished transcript: the line as heard, then polished ---------- */

.v-polish {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 4px 28px 30px;
}
.polish-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-self: flex-start;
  padding: 3px;
  border-radius: 12px;
  font: 500 12px/1 var(--font);
  background: rgb(0 0 0 / 0.28);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.polish-switch::before {
  /* The thumb: on Polished, then on As heard, in turn with the text. */
  content: '';
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc(50% - 3px);
  border-radius: 9px;
  background: rgb(124 92 255 / 0.22);
  box-shadow:
    inset 0 0 0 1px rgb(164 151 255 / 0.5),
    0 0 20px -6px var(--glow);
  animation: polish-thumb 9s var(--ease) infinite;
}
.polish-switch span {
  position: relative;
  padding: 8px 14px;
  text-align: center;
  color: var(--muted);
}
.polish-switch .p {
  animation: polish-on 9s var(--ease) infinite;
}
.polish-switch .h {
  animation: polish-off 9s var(--ease) infinite;
}
.polish-line {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.polish-text {
  display: grid;
  min-width: 0;
}
.polish-text b {
  font-size: 13px;
  color: #34d399;
}
.polish-text p {
  /* Both versions in one place, one after the other. */
  grid-area: 2 / 1;
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.polish-text .heard {
  color: var(--muted);
  animation: polish-heard 9s var(--ease) infinite;
}
.polish-text .polished {
  color: var(--ink);
  animation: polish-polished 9s var(--ease) infinite;
}
.polish-text mark {
  padding: 0 3px;
  border-radius: 5px;
  color: inherit;
  background: rgb(124 92 255 / 0.28);
  box-shadow: 0 0 18px -4px var(--glow);
}
@keyframes polish-thumb {
  0%,
  40% {
    translate: 100% 0;
  }
  50%,
  92% {
    translate: 0 0;
  }
  100% {
    translate: 100% 0;
  }
}
@keyframes polish-on {
  0%,
  40% {
    color: var(--muted);
  }
  50%,
  92% {
    color: var(--ink);
  }
}
@keyframes polish-off {
  0%,
  40% {
    color: var(--ink);
  }
  50%,
  92% {
    color: var(--muted);
  }
}
@keyframes polish-heard {
  0%,
  40% {
    opacity: 1;
    filter: none;
  }
  50%,
  92% {
    opacity: 0;
    filter: blur(6px);
  }
  100% {
    opacity: 1;
  }
}
@keyframes polish-polished {
  0%,
  40% {
    opacity: 0;
    translate: 0 6px;
    filter: blur(6px);
  }
  50%,
  92% {
    opacity: 1;
    translate: 0 0;
    filter: none;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- clean voices: road noise between the words, then only the words ---------- */

@property --noisy {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}
.v-clean {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 0 24px 28px;
  animation: noisy 8s var(--ease) infinite;
}
@keyframes noisy {
  0%,
  35% {
    --noisy: 1;
  }
  55%,
  90% {
    --noisy: 0;
  }
  100% {
    --noisy: 1;
  }
}
.clean-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  height: 92px;
}
.clean-wave i {
  flex: 1;
  min-width: 2px;
  /* Speech, plus the noise while it is not cleaned. */
  height: calc(max(4%, (var(--s) + var(--n) * var(--noisy) * 0.55) * 100%));
  border-radius: 99px;
  background: linear-gradient(to top, color-mix(in oklab, var(--accent) calc(100% - var(--noisy) * 40%), #f97316), #22d3ee);
  opacity: calc(0.45 + var(--s) * 0.55 + var(--noisy) * 0.2);
}
.clean-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in oklab, var(--accent-2) calc(100% - var(--noisy) * 100%), var(--muted));
  background: rgb(124 92 255 / calc(0.24 - var(--noisy) * 0.2));
  box-shadow:
    inset 0 0 0 1px rgb(164 151 255 / calc(0.55 - var(--noisy) * 0.4)),
    0 0 24px -6px rgb(124 92 255 / calc(0.7 - var(--noisy) * 0.7));
}
.clean-chip svg {
  width: 14px;
  height: 14px;
}

/* ---------- calendar ---------- */

.v-calendar {
  display: grid;
  align-items: end;
  padding: 0 0 0 28px;
}
.v-calendar img {
  width: 100%;
  border-radius: 14px 0 0 0;
  box-shadow:
    0 0 0 1px var(--line),
    0 -20px 50px -30px var(--glow);
  mask-image: linear-gradient(black 70%, transparent);
}

.span-3 {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .span-3 {
    grid-column: auto;
  }
}

/* ---------- smooth scrolling (Lenis, assets/js/lenis.min.js) ---------- */

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ---------- pictures fade in once they have loaded ---------- */

img.img-fade {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
img.img-fade.loaded {
  opacity: 1;
}

/* ---------- tied to the scroll: the page settles in as it comes into view ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* The summary card reads on as the page scrolls: from its first line when its window is
       fully in view to its last when the window reaches the top. (Its window is a size
       container, so 100cqh is the window's height.) */
    .v-summary {
      view-timeline: --summary block;
    }
    .v-summary img {
      animation: scroll-y linear both;
      animation-timeline: --summary;
      animation-range: entry 90% exit 10%;
    }
    @keyframes scroll-y {
      to {
        translate: 0 calc(-100% + 100cqh);
      }
    }
    /* The big pictures rise and grow into place as they scroll in (scale and translate, so
       the one-time .reveal fade on the same elements still works). */
    .demo,
    .compare,
    .flow {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 38%;
    }
    @keyframes settle {
      from {
        scale: 0.93;
        translate: 0 48px;
      }
      to {
        scale: 1;
        translate: 0 0;
      }
    }
    /* The hero's words drift up and fade as the page moves on. */
    .hero > .wrap {
      animation: hero-away linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70vh;
    }
    @keyframes hero-away {
      to {
        opacity: 0.15;
        translate: 0 -60px;
      }
    }
    /* The colour in the background drifts slower than the page: depth. (The shorthand keeps
       each blob's own drift; the timeline comes after it, as the shorthand resets it.) */
    .blob-1 {
      animation: drift-1 26s ease-in-out infinite alternate, parallax linear both;
      animation-timeline: auto, scroll(root);
    }
    .blob-2 {
      animation: drift-2 30s ease-in-out infinite alternate, parallax linear both;
      animation-timeline: auto, scroll(root);
    }
    .blob-3 {
      animation: drift-3 34s ease-in-out infinite alternate, parallax linear both;
      animation-timeline: auto, scroll(root);
    }
    @keyframes parallax {
      to {
        translate: 0 -30vh;
      }
    }
  }
  @supports (animation-timeline: scroll()) {
    /* How far down the page you are, as a thin line under the header. */
    .site-header::after {
      content: '';
      position: absolute;
      inset: auto 0 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), #c084fc 60%, #22d3ee);
      transform-origin: left;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
    @keyframes progress {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }
  }
}

/* ---------- phones ---------- */

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }
  .nav {
    height: 64px;
    gap: 10px;
  }
  .nav .btn-sm {
    gap: 7px;
    padding: 0 13px;
  }
  .lang-switch a {
    padding: 7px 8px;
  }
  .section {
    padding-block: 72px;
  }
  .section-head p {
    margin-top: 16px;
  }
  .bento,
  .steps,
  .specs,
  .faq,
  .compare {
    margin-top: 36px;
  }

  /* Hero: the badge on two even lines, buttons as wide as each other, and the app
     tilted out past the right edge (as in the shared preview) rather than a thumbnail. */
  .hero {
    padding-top: 108px;
    overflow-x: clip;
  }
  .hero-badge {
    padding: 6px 12px 6px 6px;
    border-radius: 20px;
    text-wrap: balance;
  }
  .hero h1 {
    margin-top: 22px;
    font-size: clamp(36px, 12vw, 44px);
  }
  .hero h1 .line {
    /* One sentence, balanced over its lines, rather than two halves that each break. */
    display: inline;
  }
  .hero-lede {
    margin-top: 22px;
    font-size: 16.5px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin: 30px auto 0;
  }
  .hero-meta {
    gap: 8px 18px;
  }
  .stage {
    width: 165%;
    margin: 44px 0 0 16px;
  }
  .window {
    border-radius: 14px;
  }
  .proof {
    margin-top: 48px;
    padding-block: 20px;
  }

  /* The live demo. */
  .demo-bar {
    margin-top: 30px;
  }
  .seg button {
    padding: 10px 18px;
  }
  .demo-top {
    gap: 10px;
    padding: 14px 16px;
  }
  .demo-lines {
    height: 360px;
    padding: 8px 10px 22px;
  }
  .ln {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 10px 8px;
  }
  .ln::before {
    top: 15px;
  }
  .ln .avatar {
    width: 30px;
    height: 30px;
  }
  .ln p {
    font-size: 15px;
  }
  .demo-side {
    min-height: 300px;
  }
  .demo-tabs {
    padding: 12px;
  }
  .demo-summary {
    padding: 16px 18px;
  }
  .demo-foot {
    padding: 10px 18px;
  }

  /* Feature cards: tighter, and each as tall as what is in it. */
  .bento {
    grid-auto-rows: auto;
    gap: 14px;
  }
  .card {
    padding: 22px;
  }
  .card h3 {
    font-size: 21px;
  }
  .visual {
    margin: 20px -22px -22px;
    min-height: 0;
  }
  .v-summary {
    flex: none;
    height: 360px;
  }
  .v-speakers {
    gap: 18px;
    padding: 6px 22px 24px;
  }
  .speakers-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }
  .spk .avatar {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }
  .v-polish {
    padding: 4px 22px 24px;
  }
  .polish-line {
    gap: 10px;
    padding: 14px;
  }
  .polish-text p {
    font-size: 15px;
  }
  .v-clean {
    padding: 0 22px 24px;
  }
  .clean-wave {
    height: 80px;
  }
  .v-lines {
    margin-top: 18px;
    padding: 0;
  }
  .v-lines div {
    align-items: flex-start;
  }
  .v-lines time {
    line-height: 1.6;
  }
  .v-player,
  .v-search,
  .v-palette,
  .v-drive {
    padding: 0 22px 24px;
  }
  .v-calendar {
    padding-left: 22px;
  }
  .v-drive {
    gap: 14px;
  }
  .tree {
    padding: 12px 14px;
    font-size: 12.5px;
  }
  .tree li {
    padding-left: calc(var(--lvl, 0) * 14px);
  }
  .share-card {
    width: auto;
  }

  .compare .tag {
    bottom: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }
  .compare .tag.light {
    left: 10px;
  }
  .compare .tag.dark {
    right: 10px;
  }

  /* How it works: the browser toolbar fits a phone. */
  .step {
    padding: 22px;
  }
  .toolbar {
    gap: 6px;
    padding: 8px 10px;
  }
  .toolbar .url {
    padding: 6px 10px;
    font-size: 12px;
  }
  .toolbar .kbd {
    min-width: 20px;
    height: 22px;
    padding: 0 5px;
    font-size: 11px;
  }

  /* Privacy: the diagram top to bottom, so its words stay readable. */
  .flow {
    padding: 20px 16px;
  }
  .flow .flow-wide {
    display: none;
  }
  .flow .flow-tall {
    display: block;
  }

  .spec {
    padding: 20px 22px;
  }
  .spec .v {
    margin-top: 10px;
    font-size: 19px;
  }

  /* The speech models: one block per model instead of a table to scroll sideways. */
  .models {
    padding: 4px 0;
    overflow: visible;
  }
  .models thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .models table,
  .models tbody,
  .models tr,
  .models td {
    display: block;
  }
  .models tr {
    padding: 16px 20px;
  }
  .models tr + tr {
    border-top: 1px solid var(--line);
  }
  .models td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .models td:first-child {
    margin-bottom: 8px;
    font-size: 15.5px;
  }
  .models td[data-label] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 3px 0;
    font-size: 14px;
    text-align: right;
  }
  .models td[data-label]::before {
    content: attr(data-label);
    flex: none;
    color: var(--muted);
    text-align: left;
  }

  .faq {
    gap: 10px;
  }
  .faq summary {
    gap: 14px;
    padding: 18px 20px;
    font-size: 16px;
  }
  .faq .answer {
    padding: 0 20px 20px;
  }

  .cta {
    padding: 44px 22px;
  }
  .cta img {
    width: 96px;
    margin-bottom: 20px;
  }
  .cta p {
    font-size: 16.5px;
  }
  .cta small a {
    display: inline-block;
    padding: 6px 0;
  }

  /* Footer: the two link lists side by side, each link easy to tap. */
  .site-footer {
    padding: 44px 0 36px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .foot > :first-child {
    grid-column: 1 / -1;
  }
  .foot ul {
    gap: 0;
  }
  .foot li a {
    display: inline-block;
    padding: 7px 0;
  }
  .legal {
    flex-direction: column;
    gap: 6px;
    margin-top: 28px;
  }

  /* The privacy policy page. */
  .doc {
    padding: 112px 0 72px;
  }
  .doc .tldr {
    padding: 20px;
  }
  .doc h2 {
    margin-top: 40px;
    font-size: 23px;
  }
}

/* The narrowest phones: the header's download button as just its icon. */
@media (max-width: 350px) {
  .nav .btn-label {
    display: none;
  }
  .nav .btn-sm {
    padding: 0 12px;
  }
}

/* ---------- less motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .window {
    transform: none;
  }
  .v-summary img {
    animation: none;
  }
  .bars i {
    transform: scaleY(calc(1 - var(--n) * 0.07));
  }
  /* The end result, standing still: the polished line, the cleaned voices. */
  .polish-text .heard {
    display: none;
  }
  .polish-switch .p {
    color: var(--ink);
  }
  .v-clean {
    animation: none;
    --noisy: 0;
  }
}
