@font-face {
  font-family: 'Geist';
  src: url('fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@property --spin {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --ink: #050a0a;
  --ink-2: #0a1312;
  --text: #edf5f1;
  --muted: #93a8a1;
  --faint: #5f736d;
  --mint: #9ff0cd;
  --mint-2: #5fe0b0;
  --aqua: #6fd3ff;
  --violet: #9a8cff;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --accent: #9ff0cd;
  --accent-2: #6fd3ff;
  --accent-3: #9a8cff;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: rgba(159, 240, 205, 0.3);
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
img {
  display: block;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--mint) 10%, var(--aqua) 55%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
mark {
  background: rgba(159, 240, 205, 0.12);
  color: var(--accent);
  border: 1px dashed rgba(159, 240, 205, 0.45);
  border-radius: 6px;
  padding: 0 4px;
}
.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Draft notice ---------- */
.draft {
  position: relative;
  z-index: 60;
  background: #f2c94c;
  color: #1d1600;
  font-size: 13px;
  text-align: center;
  padding: 7px 16px;
}
.draft mark,
.legal mark {
  background: #f2c94c;
  color: #1d1600;
  border: 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  /* As wide as the page content plus the pill's own padding, so the logo and the download boxes
     line up with the content's edges. */
  width: min(1216px, 100% - 12px);
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.5s var(--ease),
    border-color 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 19, 18, 0.62);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
}
.logo img {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  transition:
    color 0.3s,
    background 0.3s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--glass-2);
}
.nav .button {
  padding: 10px 18px;
  font-size: 15px;
}

/* ---------- Buttons ---------- */
.button {
  --mx: 0px;
  --my: 0px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #04110c;
  background: linear-gradient(135deg, #c9fbe4, var(--mint) 45%, #7fe6c4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 10px 40px -10px rgba(95, 224, 176, 0.65);
  transform: translate(var(--mx), var(--my));
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  cursor: pointer;
}
.button::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(
    from var(--spin),
    var(--mint),
    var(--aqua),
    var(--violet),
    var(--mint)
  );
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  animation: spin 4s linear infinite;
}
.button:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 16px 50px -12px rgba(95, 224, 176, 0.85);
}
.button:hover::before {
  opacity: 0.55;
}
.button.quiet,
.button.ghost {
  color: var(--text);
  background: var(--glass-2);
  box-shadow: 0 0 0 1px var(--line-2) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.button.quiet::before,
.button.ghost::before {
  display: none;
}
.button.ghost:hover,
.button.quiet:hover {
  background: rgba(255, 255, 255, 0.11);
}
.button[aria-disabled='true'] {
  cursor: not-allowed;
}
@keyframes spin {
  to {
    --spin: 360deg;
  }
}

/* ---------- Liquid canvas ---------- */
.liquid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(60% 70% at 75% 20%, rgba(111, 211, 255, 0.22), transparent 60%),
    radial-gradient(50% 60% at 20% 30%, rgba(95, 224, 176, 0.25), transparent 60%),
    radial-gradient(60% 60% at 60% 90%, rgba(154, 140, 255, 0.18), transparent 60%), var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: -76px;
  padding: 170px 0 110px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(159, 240, 205, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(159, 240, 205, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(159, 240, 205, 0);
  }
}
.hero h1 {
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero h1 em {
  display: inline;
  letter-spacing: -0.02em;
}
.lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: #c3d3cd;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.actions.center {
  justify-content: center;
}
.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.assurances li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.assurances li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' fill='none' stroke='%2304110c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 100% no-repeat,
    var(--mint);
}

/* ---------- Glass ---------- */
.glass {
  --gx: 50%;
  --gy: 0%;
  position: relative;
  background:
    radial-gradient(
      420px circle at var(--gx) var(--gy),
      rgba(159, 240, 205, 0.09),
      transparent 60%
    ),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.glass::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    300px circle at var(--gx) var(--gy),
    rgba(159, 240, 205, 0.55),
    transparent 60%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.glass:hover::after {
  opacity: 1;
}

/* ---------- Live demo ---------- */
.demo-stage {
  position: relative;
  perspective: 1400px;
}
.demo {
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(20, 34, 32, 0.78), rgba(8, 16, 15, 0.72));
  transform: rotateY(-7deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 1s var(--ease);
  min-height: 392px;
  display: flex;
  flex-direction: column;
}
.demo-stage:hover .demo {
  transform: rotateY(-2deg) rotateX(1deg);
}
.demo-glow {
  position: absolute;
  inset: 12% 8% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(95, 224, 176, 0.35), transparent);
  filter: blur(40px);
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.lights {
  display: inline-flex;
  gap: 6px;
}
.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.demo-status {
  flex: 1;
  transition: color 0.4s;
}
.demo[data-phase='thinking'] .demo-status {
  color: var(--accent);
}
.wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.wave i {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: var(--mint);
  opacity: 0.85;
}
.demo[data-phase='hearing'] .wave i {
  animation: wave 0.9s ease-in-out infinite;
}
.wave i:nth-child(2) {
  animation-delay: 0.15s;
}
.wave i:nth-child(3) {
  animation-delay: 0.3s;
}
.wave i:nth-child(4) {
  animation-delay: 0.45s;
}
.wave i:nth-child(5) {
  animation-delay: 0.6s;
}
@keyframes wave {
  50% {
    height: 18px;
  }
}
.demo-heard {
  display: flex;
  gap: 12px;
  padding: 18px 4px 6px;
  min-height: 74px;
}
.who {
  flex: none;
  margin-top: 3px;
  padding: 2px 8px;
  height: 22px;
  border-radius: 6px;
  background: rgba(111, 211, 255, 0.12);
  color: var(--accent-2);
  font: 500 12px/18px var(--mono);
  letter-spacing: 0.02em;
}
.demo-heard p {
  margin: 0;
  font-size: 17px;
  color: #dbe7e2;
}
.demo-heard p::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--aqua);
  opacity: 0;
}
.demo[data-phase='hearing'] .demo-heard p::after {
  animation: caret 0.8s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 1;
  }
}
.demo-answer {
  flex: 1;
  margin: 8px 0 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.demo-answer p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: #c9d8d3;
}
.demo-answer p:last-child {
  margin-bottom: 0;
}
.say-first {
  color: var(--text) !important;
  font-weight: 650;
}
.demo-answer .word {
  opacity: 0;
  filter: blur(6px);
  animation: word-in 0.45s var(--ease) forwards;
}
@keyframes word-in {
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.demo-foot {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chip {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.demo-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--faint);
}

/* ---------- Marquee ---------- */
.marquee {
  padding: 26px 0 40px;
  text-align: center;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-row {
  display: flex;
  gap: 56px;
  padding-right: 56px;
}
.marquee-row span {
  white-space: nowrap;
  color: #7f948d;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 120px 0;
}
/* A jump to a section lands below the floating menu, not under it. */
section[id] {
  scroll-margin-top: 84px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section h2 {
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.045em;
}
.sub {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

/* ---------- Steps ---------- */
.steps {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before,
.steps::after {
  content: '';
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--line-2);
}
.steps::after {
  right: auto;
  width: calc((100% - 56px) * var(--p));
  background: linear-gradient(90deg, var(--mint), var(--aqua), var(--violet));
  box-shadow: 0 0 12px rgba(159, 240, 205, 0.6);
}
.step-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  color: var(--accent);
  font: 500 15px var(--mono);
}
.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 30px;
  overflow: hidden;
}
.card h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.span-2 {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.code-art {
  position: relative;
}
.shots {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.shot {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(111, 211, 255, 0.1);
  border: 1px solid rgba(111, 211, 255, 0.25);
  color: var(--accent-2);
  font: 500 12px var(--mono);
}
.shot.area {
  border-style: dashed;
  border-color: rgba(159, 240, 205, 0.5);
  background: rgba(159, 240, 205, 0.08);
  color: var(--accent);
}
pre {
  margin: 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--line);
  overflow-x: auto;
  font: 13.5px/1.7 var(--mono);
  color: #cfe0da;
}
pre .c {
  color: #6c8179;
}
pre .k {
  color: var(--accent-3);
}
pre .f {
  color: var(--accent-2);
}
pre .n {
  color: #ffc98b;
}
.seg {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}
.seg button {
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 14px var(--sans);
  cursor: pointer;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}
.seg button[aria-pressed='true'] {
  background: var(--mint);
  color: #04110c;
}
.lengths {
  margin-top: 22px;
}
.mini-answer {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
}
.mini-answer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  overflow: hidden;
  max-height: 3em;
  transition:
    max-height 0.5s var(--ease),
    opacity 0.4s var(--ease),
    margin 0.5s var(--ease);
}
.mini-answer p + p {
  margin-top: 6px;
}
.lengths[data-length-now='short'] .l-normal,
.lengths:not([data-length-now='long']) .l-long {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}
.doc {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
}
.doc b {
  margin-top: 6px;
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--accent);
}
.doc b:first-child {
  margin-top: 0;
}
.doc i {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}
.doc i.short {
  width: 62%;
}
.failover {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.node {
  padding: 9px 16px;
  border-radius: 12px;
  font: 500 13px var(--mono);
  border: 1px solid var(--line-2);
}
.node.off {
  color: var(--faint);
  text-decoration: line-through;
}
.node.on {
  color: #04110c;
  background: var(--mint);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(159, 240, 205, 0.45);
}
.arrow {
  position: relative;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--line-2), var(--mint));
  overflow: hidden;
}
.arrow::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: flow 1.8s var(--ease) infinite;
}
@keyframes flow {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(400%);
  }
}
.flag {
  margin-top: 22px !important;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  color: #c9d8d3 !important;
  font-size: 14.5px !important;
}
.keys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.keys span {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
kbd {
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  color: var(--text);
  font: 500 12px var(--mono);
}

/* ---------- Privacy band ---------- */
.privacy-band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(95, 224, 176, 0.09), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, rgba(154, 140, 255, 0.08), transparent 60%);
}
.band-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.band-grid h2 {
  font-size: clamp(44px, 6vw, 84px);
}
.facts {
  display: grid;
  gap: 4px;
}
.fact {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.fact:last-child {
  border-bottom: 0;
}
.fact h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.fact p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.currency {
  margin-top: 28px;
}
.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.price h3 {
  font-size: 18px;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.amount {
  margin-top: 18px;
  font-size: 52px;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price .inr,
.prices[data-show='inr'] .price .usd {
  display: none;
}
.prices[data-show='inr'] .price .inr {
  display: inline;
}
.per {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.price ul {
  margin: 24px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  color: #c3d3cd;
  font-size: 15px;
}
.price li {
  display: flex;
  gap: 10px;
}
.price li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--mint);
}
.price.featured {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(159, 240, 205, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border-color: rgba(159, 240, 205, 0.35);
}
.badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #04110c;
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quiet-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.price.soon .amount,
.price.soon .per,
.price.soon ul {
  opacity: 0.55;
}
.fine {
  margin: 28px 0 0;
  max-width: 820px;
  color: var(--faint);
  font-size: 14px;
}

/* ---------- Mac beta ---------- */
.mac-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.mac-grid .section-head {
  margin-bottom: 0;
}
.mac-steps {
  counter-reset: step;
  margin: 0;
  padding: 12px 28px;
  list-style: none;
}
.mac-step {
  counter-increment: step;
  position: relative;
  padding: 20px 0 20px 52px;
  border-bottom: 1px solid var(--line);
}
.mac-step:last-child {
  border-bottom: 0;
}
.mac-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 20px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--accent);
  font: 500 13px var(--mono);
}
.mac-step h3 {
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.mac-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Honest notes ---------- */
.honest {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.note {
  padding: 26px;
}
.note h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after,
.faq summary::before {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--muted);
  transition: transform 0.45s var(--ease);
}
.faq summary::before {
  transform: rotate(90deg);
}
.faq details[open] summary::before {
  transform: rotate(0deg);
}
.faq details p {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--muted);
}
.faq details[open] p {
  animation: open 0.5s var(--ease);
}
@keyframes open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* ---------- Final call ---------- */
.final {
  isolation: isolate;
  overflow: hidden;
  margin: 40px 16px 0;
  border-radius: 36px;
  border: 1px solid var(--line);
  text-align: center;
  padding: 150px 0;
}
.final h2 {
  font-size: clamp(52px, 8vw, 120px);
}
.final .lead {
  margin-inline: auto;
}

/* ---------- Footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 48px 0 56px;
  color: var(--faint);
  font-size: 14px;
}
.foot .logo {
  font-size: 16px;
}
.foot .logo img {
  width: 24px;
  height: 24px;
}
.foot nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
/* Light or dark: the last thing in the menu, close to Download. */
.nav > .theme-switch {
  margin-left: -10px;
}
.foot a:not(.logo) {
  color: var(--muted);
  text-decoration: none;
}
.foot a:not(.logo):hover {
  color: var(--text);
}

/* ---------- Legal pages ---------- */
.legal-page {
  position: relative;
  isolation: isolate;
  padding: 130px 0 60px;
}
.legal-page::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 20% 0%, rgba(95, 224, 176, 0.14), transparent 70%),
    radial-gradient(40% 70% at 85% 10%, rgba(154, 140, 255, 0.12), transparent 70%);
}
.legal {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}
.legal h2 {
  margin: 52px 0 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.legal p,
.legal li {
  color: #c3d3cd;
}
.legal .fine {
  margin-top: 0;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .prices,
  .honest {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 920px) {
  .hero {
    padding-top: 140px;
    min-height: 0;
  }
  .hero-grid,
  .band-grid,
  .faq-grid,
  .mac-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .demo {
    transform: none;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .span-2 {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .nav .button {
    margin-left: auto;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .nav {
    width: calc(100% - 8px);
    padding: 8px 12px;
    gap: 12px;
  }
  .hero .assurances {
    flex-direction: column;
    gap: 10px;
  }
  .section {
    padding: 84px 0;
  }
  .steps,
  .bento,
  .prices,
  .honest {
    grid-template-columns: 1fr;
  }
  .steps::before,
  .steps::after {
    display: none;
  }
  .span-2 {
    grid-column: auto;
  }
  .keys {
    grid-template-columns: 1fr;
  }
  .card,
  .price {
    padding: 24px;
  }
  .demo-note {
    display: none;
  }
  .final {
    margin-inline: 8px;
    padding: 100px 0;
    border-radius: 28px;
  }
  .foot nav {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Product walkthrough, outcomes and setup */
.hero {
  padding: 110px 0 58px;
  min-height: min(100svh, 800px);
}
.hero-grid {
  gap: clamp(24px, 4vw, 64px);
}
.hero h1 {
  font-size: clamp(46px, 6vw, 84px);
}
.hero .lead {
  margin-top: 20px;
}
.hero .actions {
  margin-top: 24px;
}
.hero .assurances {
  margin-top: 14px;
}
.signal-band {
  padding: 48px 0 40px;
  background: linear-gradient(170deg, #0c1e1c, #08101a);
  border-block: 1px solid var(--line);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.metrics article {
  padding: 10px clamp(18px, 3vw, 52px);
  border-left: 1px solid var(--line-2);
}
.metrics article:first-child {
  padding-left: 0;
  border: 0;
}
.metrics strong {
  display: block;
  font: 500 clamp(46px, 5vw, 72px)/1.2 var(--sans);
  letter-spacing: -0.07em;
}
.metrics strong span {
  color: var(--accent);
  font: italic 0.7em var(--serif);
}
.metrics h3 {
  margin-top: 10px;
  font-size: 20px;
}
.metrics p,
.clip-note {
  color: var(--muted);
  font-size: 15px;
}
.metrics p {
  max-width: 34ch;
  margin: 10px 0 0;
}
.rail-title {
  margin: 32px 0 18px;
  color: var(--muted);
  font: 500 14px/1.4 var(--sans);
}
.company-rail {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 19px 0 3px;
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}
.company-track,
.company-track > div,
.meeting-brands,
.brand {
  display: flex;
  align-items: center;
}
.company-track {
  width: max-content;
  animation: slide 36s linear infinite;
}
.company-track > div {
  gap: 50px;
  padding-right: 50px;
}
.company-rail:is(:hover, :focus-within) .company-track {
  animation-play-state: paused;
}
.brand {
  gap: 10px;
  white-space: nowrap;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.brand img {
  object-fit: contain;
}
.meeting-brands {
  flex-wrap: wrap;
  gap: 20px 38px;
}
.studio {
  background: radial-gradient(ellipse at 70% 60%, #102c28, transparent 64%), var(--ink-2);
}
.studio .section-head {
  margin-bottom: 30px;
}
.walkthrough {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--ink);
}
.start-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
}
.start-list {
  padding-left: 23px;
  color: var(--muted);
}
.start-list li {
  padding-left: 8px;
  margin: 18px 0;
}
.start-list b {
  color: var(--text);
}
.start-list ::marker {
  color: var(--accent);
}
.setup-shot {
  max-width: 420px;
  justify-self: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 80px #092621;
}
.setup-shot img {
  width: 100%;
  height: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .in .code-art pre {
    animation: code-reveal 2.6s steps(7, end) both;
  }
  @keyframes code-reveal {
    from {
      clip-path: inset(0 0 100%);
    }
    to {
      clip-path: inset(0);
    }
  }
}
@media (max-width: 720px) {
  .hero {
    padding: 110px 0 48px;
  }
  .metrics,
  .start-grid {
    grid-template-columns: 1fr;
  }
  .metrics article,
  .metrics article:first-child {
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .metrics article {
    display: grid;
    grid-template-columns: minmax(98px, 32%) 1fr;
    column-gap: 14px;
    align-items: center;
  }
  .metrics strong {
    grid-row: span 2;
    font-size: clamp(38px, 8vw, 54px);
  }
  .metrics h3 {
    margin: 0;
  }
  .metrics p {
    margin-top: 6px;
  }
  .meeting-brands {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .walkthrough {
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .company-rail {
    mask-image: none;
  }
  .company-track,
  .company-track > div {
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0;
  }
  .company-track > [aria-hidden] {
    display: none;
  }
}

/* The example player shares its visual language with the desktop overlay. */
.demo-stage,
.hero-copy {
  min-width: 0;
}
.demo {
  transform: none;
  background: linear-gradient(145deg, #182d2b, #0b1819 66%);
  min-height: 390px;
}
.demo-stage:hover .demo {
  transform: none;
}
.example-scene {
  flex: 1;
}
.example-title,
.example-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.example-title {
  margin: 18px 4px 0;
}
.example-title h3 {
  font: 590 clamp(21px, 2.3vw, 31px)/1.15 var(--sans);
  letter-spacing: -0.045em;
}
.example-title span {
  color: var(--accent);
  font: 12px/1 var(--mono);
}
.example-scene .demo-heard {
  min-height: 70px;
}
.example-scene .demo-answer {
  min-height: 124px;
  box-shadow: inset 2px 0 0 #69ad97;
}
.example-controls {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.example-controls button {
  min-height: 40px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  padding: 7px 16px;
  background: transparent;
  font: 550 14px/1.35 var(--sans);
  color: var(--muted);
  cursor: pointer;
}
.example-controls [data-replay] {
  margin-left: auto;
  color: var(--accent);
  background: #18382f;
}
.example-controls button:hover {
  border-color: var(--accent);
  color: var(--text);
}
.example-controls[hidden] {
  display: none;
}
.hero .assurances li:first-child {
  color: var(--text);
  font-weight: 650;
}

.marquee {
  padding: clamp(40px, 6vw, 82px) 0;
}
.rail-heading {
  color: var(--text);
  font-size: clamp(31px, 4vw, 58px);
  line-height: 1.03;
  font-weight: 640;
  letter-spacing: -0.05em;
}
.provider-window {
  overflow: hidden;
  margin-top: 27px;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.marquee-track {
  mask-image: none;
}
.marquee-row {
  gap: 12px;
  padding-right: 12px;
}
.marquee-row span {
  color: #d5e5df;
  padding: 8px 20px;
  border: 1px solid var(--line-2);
  border-radius: 30px;
  background: #12201e;
  font-size: clamp(16px, 1.5vw, 20px);
}
.offers-intro {
  margin: clamp(38px, 6vw, 76px) 0 22px;
}
.offers-intro p {
  color: #b4c7bf;
  margin: 12px 0 0;
  max-width: 52ch;
}
.company-rail {
  border-block: 1px solid var(--line-2);
  padding: 20px 0;
}
.company-track {
  animation-duration: 32s;
}
/* A modern logo strip: no boxes; every mark the same height, in its own colours. */
.company-track > div {
  gap: clamp(44px, 6vw, 76px);
  padding-right: clamp(44px, 6vw, 76px);
}
.company-track .brand {
  min-height: 48px;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}
.company-track .brand:hover {
  opacity: 1;
}
.company-track .brand img {
  width: auto;
  max-width: 132px;
  height: 28px;
}
.metrics strong {
  font-variant-numeric: tabular-nums;
}
.section:not(.final),
.marquee,
.signal-band {
  position: relative;
  isolation: isolate;
}
.section:not(.final)::before,
.marquee::before,
.signal-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 24% 44%, rgba(51, 154, 138, 0.12), transparent 49%),
    radial-gradient(ellipse at 80% 60%, rgba(33, 110, 122, 0.08), transparent 42%);
  background-size: 124% 120%;
  background-position: 0% 50%;
  animation: mist-drift 24s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.section:nth-of-type(even)::before {
  animation-direction: alternate-reverse;
}
@keyframes mist-drift {
  to {
    background-position: 100% 62%;
  }
}
@media (max-width: 720px) {
  .example-scene .demo-answer {
    min-height: 148px;
  }
  .marquee {
    padding-inline: 0;
  }
  .metrics article {
    column-gap: 20px;
    grid-template-columns: minmax(104px, 32%) 1fr;
  }
  .offers-intro .rail-heading {
    max-width: 15ch;
  }
  .company-track .brand {
    min-height: 40px;
    font-size: 20px;
  }
  .company-track .brand img {
    max-width: 108px;
    height: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .provider-window {
    mask-image: none;
    padding-inline: 16px;
  }
  .marquee-track,
  .marquee-row {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }
  .marquee-row[aria-hidden] {
    display: none;
  }
  .company-track > div {
    padding: 0;
  }
}

.mist-visible::before {
  animation-play-state: running !important;
}
.provider-window:focus-within .marquee-track {
  animation-play-state: paused;
}

.watch-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.watch-demo:hover {
  border-color: var(--accent);
}
.watch-demo span {
  color: var(--accent);
  font-size: 12px;
}
.watch-demo small {
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
  color: var(--muted);
  font-weight: 400;
}
.share-story {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
}
.share-story .section-head {
  margin: 0;
}
.walkthrough {
  aspect-ratio: 54 / 43;
}
.demo-transcript {
  max-width: 76ch;
  color: var(--muted);
}
.demo-transcript summary {
  color: var(--accent);
  cursor: pointer;
}
.code-demo {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  scroll-margin-top: 88px;
}
.code-demo .card-copy h3 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
}
.code-demo .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
}
.code-console {
  border: 1px solid var(--line-2);
  padding: clamp(16px, 2.5vw, 30px);
  border-radius: 18px;
  background: linear-gradient(150deg, #142723, #0a1619);
  min-width: 0;
}
.code-console h4 {
  margin: 0;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.3;
}
.code-console pre {
  margin: 16px 0;
  padding: 12px;
  font-size: clamp(12px, 1.3vw, 14px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.code-slides.cycling {
  display: grid;
}
.cycling [data-code-slide] {
  grid-area: 1/1;
  min-width: 0;
}
.cycling [data-code-slide][hidden] {
  display: block;
  visibility: hidden;
}
@media (max-width: 800px) {
  .code-demo,
  .share-story {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-cycle] :is([data-code-slide], [data-scene]):not([hidden]) {
    animation: example-arrives 0.22s ease-out;
  }
  @keyframes example-arrives {
    from {
      opacity: 0.65;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
/* Keep the full code accessible and reserve space while the visible copy types. */
.code-console code:has(.code-source) {
  display: grid;
}
.code-source,
.code-ink {
  grid-area: 1 / 1;
  min-width: 0;
}
.code-source {
  opacity: 0;
}
.code-ink {
  color: #c8ebdc;
}
.code-ink.typing::after {
  content: '';
  display: inline-block;
  height: 1em;
  width: 2px;
  background: var(--mint);
  vertical-align: -0.12em;
}

.dim-feature {
  grid-column: 1 / -1;
}
.dim-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.dim-intro > div {
  max-width: 64ch;
}
.dim-intro .eyebrow {
  color: var(--accent);
  margin-bottom: 8px;
}
.dim-intro h3 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}
.dim-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 30px;
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  color: var(--text);
  background: #162321;
  cursor: pointer;
  font: 500 14px var(--sans);
}
.dim-toggle[hidden] {
  display: none;
}
.dim-toggle > span {
  width: 30px;
  height: 18px;
  border-radius: 20px;
  background: #576460;
  position: relative;
}
.dim-toggle > span::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #e3ede8;
}
.dim-toggle[aria-pressed='true'] {
  border-color: #539776;
}
.dim-toggle[aria-pressed='true'] > span {
  background: #73d7a8;
}
.dim-toggle[aria-pressed='true'] > span::after {
  transform: translateX(12px);
  background: #15352b;
}
.dim-lab {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.dim-view {
  margin: 0;
}
.dim-view figcaption {
  margin: 0 0 10px;
  color: var(--muted);
  font: 500 13px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dim-desk {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 10px solid #0a0f0e;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(111, 211, 255, 0.09), transparent 60%),
    linear-gradient(160deg, #182624, #0e1716);
  box-shadow:
    0 0 0 1px var(--line-2),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
/* From the next seat: the same screen at an angle and a step away, as a neighbour sees it. */
.dim-side .dim-desk {
  transform: perspective(900px) rotateY(-38deg) scale(0.92);
  transform-origin: 60% 50%;
  filter: contrast(0.62) brightness(0.82) blur(0.5px);
}
.dim-doc {
  position: absolute;
  inset: 9% auto auto 7%;
  display: grid;
  gap: 9px;
  width: 38%;
}
.dim-doc b {
  color: #cfe0da;
  font: 600 clamp(11px, 1.2vw, 14px) var(--sans);
}
.dim-doc i {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}
.dim-doc i.short {
  width: 60%;
}
.dim-aced {
  --faint: 0.29;
  position: absolute;
  inset: 8% 6% auto 50%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(42, 52, 66, 0.82), rgba(24, 31, 42, 0.78));
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9);
}
.dim-chrome {
  display: grid;
  gap: 8px;
  max-height: 80px;
  overflow: hidden;
}
.dim-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #eef4f1;
  font: 600 clamp(10px, 1vw, 13px) var(--sans);
}
.dim-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fe0b0;
}
.dim-head span {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #aab8c4;
  font-size: 0.85em;
  font-weight: 500;
}
.dim-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.dim-buttons span {
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #c9d4dc;
  font: 500 clamp(8px, 0.85vw, 11px) var(--sans);
}
.dim-buttons span.on {
  border-color: #4d8c70;
  background: rgba(77, 140, 112, 0.35);
}
.dim-answer {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(143, 220, 186, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.dim-answer p {
  margin: 0;
  color: #e6eef2;
  font-size: clamp(10px, 1.05vw, 13.5px);
  line-height: 1.45;
}
.dim-answer p + p {
  margin-top: 4px;
}
/* Dim: the controls fold away, the glass goes, the answer fades to the chosen level. */
[data-dim='true'] .dim-aced {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
[data-dim='true'] .dim-chrome {
  max-height: 0;
  opacity: 0;
}
[data-dim='true'] .dim-answer {
  margin-top: 0;
  border-color: transparent;
  background: transparent;
}
[data-dim='true'] .dim-answer p {
  opacity: var(--faint);
}
.dim-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 22px;
}
.dim-level {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.dim-level[hidden] {
  display: none;
}
.dim-level input {
  width: min(220px, 40vw);
  accent-color: var(--accent);
}
.dim-level input:disabled {
  opacity: 0.4;
}
.dim-level output {
  min-width: 92px;
  color: var(--text);
  font: 500 13px var(--mono);
}
.dim-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 !important;
  color: var(--muted);
  font-size: 14px !important;
}
.dim-keys span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dim-fine {
  margin-top: 14px !important;
}
@media (prefers-reduced-motion: no-preference) {
  .dim-aced,
  .dim-chrome,
  .dim-answer,
  .dim-answer p,
  .dim-toggle > span::after {
    transition:
      opacity 0.6s var(--ease),
      max-height 0.6s var(--ease),
      margin 0.6s var(--ease),
      background-color 0.6s var(--ease),
      border-color 0.6s var(--ease),
      box-shadow 0.6s var(--ease),
      transform 0.2s ease;
  }
}
@media (max-width: 750px) {
  .dim-lab {
    grid-template-columns: 1fr;
  }
  .dim-intro {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .dim-side .dim-desk {
    transform: perspective(900px) rotateY(-30deg) scale(0.94);
  }
  .dim-level {
    flex-wrap: wrap;
  }
  .dim-level input {
    flex: 1;
  }
  .dim-level output {
    width: 100%;
  }
  /* A phone's screen is narrow: give the answer more of it. */
  .dim-doc {
    width: 26%;
  }
  .dim-aced {
    left: 36%;
    right: 5%;
  }
}

/* Two-line or thin marks read smaller at the same height. */
.company-track :is(.brand-mckinsey, .brand-deshaw) img {
  height: 38px;
  max-width: 150px;
}
.company-track .brand-word {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.company-track .brand-barclays {
  gap: 7px;
  color: #00aeef;
  font-size: 24px;
  font-weight: 600;
}
.company-track .brand-barclays img {
  width: 26px;
  height: 26px;
}

/* The film at the top: the product working, silent and looping. */
.hero-film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 860;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: #101622;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 40px 90px -40px rgba(0, 0, 0, 0.9);
}

/* The AI providers: their own logos and colours, no pills, the same height. */
.marquee-row .ai {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  opacity: 0.92;
}
.marquee-row .ai img {
  display: block;
  width: auto;
  height: 26px;
}
.marquee-row .ai-gemini img,
.marquee-row .ai-grok img {
  height: 30px;
}
.marquee-row .ai-any {
  color: #d5e5df;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 550;
  white-space: nowrap;
}
.marquee-row:has(.ai) {
  gap: clamp(40px, 5vw, 64px);
  padding-right: clamp(40px, 5vw, 64px);
}

/* The calls Aced works with, under the film at the top. */
.hero-calls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 18px 4px 0;
  color: #c9d8d3;
  font-size: 13.5px;
}
.hero-calls .brand {
  gap: 7px;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.hero-calls .brand img {
  width: 20px;
  height: 20px;
}
.hero-calls-label,
.hero-calls-note {
  color: var(--muted);
}
.hero-calls-note {
  flex-basis: 100%;
  font-size: 13px;
}
/* The AI providers, above the Code card. */
.ai-strip {
  margin: 0 0 22px;
}
.ai-strip-title {
  margin: 0 0 6px;
  color: var(--muted);
  font: 500 13px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ai-strip .provider-window {
  margin-top: 0;
}

/* The two downloads in the hero: Windows in mint, Mac in the site's blue to violet. */
.button .os-mark {
  width: 17px;
  height: 17px;
  flex: none;
}
.button.mac {
  color: #070a1c;
  background: linear-gradient(135deg, #cdeeff, var(--aqua) 45%, var(--violet));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 10px 40px -10px rgba(111, 170, 255, 0.7);
}
.button.mac:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 16px 50px -12px rgba(140, 150, 255, 0.9);
}
.button.mac small {
  margin-left: -2px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(7, 10, 28, 0.14);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.on-mac .button.mac {
  order: -1;
}
/* On a phone the downloads stack; both as wide as the wider one. */
@media (max-width: 640px) {
  .actions {
    display: grid;
    grid-template-columns: max-content;
  }
}

/* ---------- Light or dark: two buttons in the menu ---------- */
.theme-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass);
}
html:not([data-theme]) .theme-switch {
  display: none;
}
.theme-switch button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.theme-switch svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-switch button:hover {
  color: var(--text);
}
.theme-switch button[aria-pressed='true'] {
  color: #eafaf3;
  background: linear-gradient(160deg, rgba(159, 240, 205, 0.24), rgba(111, 211, 255, 0.12));
  box-shadow: 0 0 0 1px rgba(159, 240, 205, 0.4) inset;
}
:root[data-theme='light'] .theme-switch button[aria-pressed='true'] {
  color: #0b3a2b;
  background: linear-gradient(160deg, rgba(95, 224, 176, 0.32), rgba(111, 211, 255, 0.2));
  box-shadow: 0 0 0 1px rgba(8, 135, 92, 0.32) inset;
}
@media (max-width: 380px) {
  .nav {
    gap: 8px;
  }
  .logo {
    gap: 8px;
    letter-spacing: 0.12em;
  }
}

/* ---------- Light theme ---------- */
:root[data-theme='light'] {
  --ink: #f4f8f6;
  --ink-2: #eaf2ee;
  --text: #0c1f1a;
  --muted: #4b6059;
  --faint: #7b8e88;
  --mint: #4fd9a6;
  --mint-2: #2fc493;
  --aqua: #3fb8f0;
  --violet: #7d6cf2;
  --accent: #08875c;
  --accent-2: #0b74b0;
  --accent-3: #5a49d6;
  --line: rgba(12, 40, 34, 0.1);
  --line-2: rgba(12, 40, 34, 0.17);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-2: rgba(255, 255, 255, 0.9);
  color-scheme: light;
}
/* Screens of the app stay as they are in the app: dark. */
:root[data-theme='light'] :is(.demo, .code-console, .dim-desk, .hero-film) {
  --ink: #050a0a;
  --ink-2: #0a1312;
  --text: #edf5f1;
  --muted: #93a8a1;
  --faint: #5f736d;
  --mint: #9ff0cd;
  --mint-2: #5fe0b0;
  --aqua: #6fd3ff;
  --violet: #9a8cff;
  --accent: #9ff0cd;
  --accent-2: #6fd3ff;
  --accent-3: #9a8cff;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  color: var(--text);
  color-scheme: dark;
}
:root[data-theme='light'] ::selection {
  background: rgba(8, 135, 92, 0.18);
}
:root[data-theme='light'] em {
  background-image: linear-gradient(100deg, #0a9a69 10%, #0e86c8 55%, #6352e6 95%);
}
:root[data-theme='light'] :is(.demo, .code-console, .dim-desk) em {
  background-image: linear-gradient(100deg, #9ff0cd 10%, #6fd3ff 55%, #9a8cff 95%);
}
:root[data-theme='light'] mark {
  background: rgba(8, 135, 92, 0.08);
  border-color: rgba(8, 135, 92, 0.4);
}
:root[data-theme='light'] .nav.scrolled {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 30px -18px rgba(16, 60, 48, 0.35);
}
:root[data-theme='light'] .button {
  color: #03140d;
  background: linear-gradient(135deg, #a6f3d2, #5fe0b0 50%, #3fd09d);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 10px 28px -12px rgba(16, 150, 104, 0.6);
}
:root[data-theme='light'] .button:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 14px 34px -12px rgba(16, 150, 104, 0.75);
}
:root[data-theme='light'] .button.quiet,
:root[data-theme='light'] .button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 0 1px var(--line-2) inset,
    0 6px 18px -12px rgba(16, 60, 48, 0.4);
}
:root[data-theme='light'] .button.ghost:hover,
:root[data-theme='light'] .button.quiet:hover {
  background: #ffffff;
}
:root[data-theme='light'] .button.mac {
  color: #070a1c;
  background: linear-gradient(135deg, #bfe9ff, #6fcdf6 45%, #998bf7);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 10px 28px -12px rgba(70, 110, 240, 0.6);
}
:root[data-theme='light'] .button.mac:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 14px 34px -12px rgba(90, 100, 240, 0.75);
}
:root[data-theme='light'] .liquid {
  background:
    radial-gradient(60% 70% at 75% 20%, rgba(111, 211, 255, 0.28), transparent 60%),
    radial-gradient(50% 60% at 20% 30%, rgba(95, 224, 176, 0.3), transparent 60%),
    radial-gradient(60% 60% at 60% 90%, rgba(154, 140, 255, 0.22), transparent 60%), var(--ink);
}
:root[data-theme='light'] :is(.lead, .price ul, .legal p, .legal li, .hero-calls, .offers-intro p) {
  color: #33483f;
}
:root[data-theme='light'] .glass:not(.demo) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow:
    0 1px 0 #ffffff inset,
    0 24px 60px -36px rgba(16, 60, 48, 0.32);
}
:root[data-theme='light'] .demo-glow {
  opacity: 0.5;
}
:root[data-theme='light'] :is(.seg, .mini-answer, .doc, .flag, .keys span) {
  background: rgba(12, 40, 34, 0.045);
}
:root[data-theme='light'] .flag {
  color: #33483f !important;
}
:root[data-theme='light'] .doc i {
  background: rgba(12, 40, 34, 0.12);
}
:root[data-theme='light'] .arrow::after {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
:root[data-theme='light'] kbd {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(12, 40, 34, 0.12);
}
:root[data-theme='light'] .price.featured {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(95, 224, 176, 0.22), transparent 60%),
    linear-gradient(160deg, #ffffff, rgba(255, 255, 255, 0.8));
  border-color: rgba(8, 135, 92, 0.35);
}
:root[data-theme='light'] .quiet-badge {
  background: rgba(12, 40, 34, 0.06);
}
:root[data-theme='light'] .signal-band {
  background: linear-gradient(170deg, #e4f3ed, #e9eff8);
}
:root[data-theme='light'] .studio {
  background: radial-gradient(ellipse at 70% 60%, #d6eee5, transparent 64%), var(--ink-2);
}
:root[data-theme='light'] .setup-shot {
  box-shadow: 0 20px 70px -20px rgba(16, 60, 48, 0.4);
}
:root[data-theme='light'] .marquee-row span {
  color: var(--text);
  background: #ffffff;
}
:root[data-theme='light'] .marquee-row .ai {
  background: none;
}
:root[data-theme='light'] :is(.marquee-row .ai-any, .company-track .brand) {
  color: var(--text);
}
:root[data-theme='light'] .dim-toggle {
  background: #ffffff;
}
:root[data-theme='light'] .dim-toggle > span {
  background: #c3d2cc;
}
:root[data-theme='light'] .dim-toggle > span::after {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(12, 40, 34, 0.3);
}
:root[data-theme='light'] .dim-toggle[aria-pressed='true'] > span {
  background: #2fc493;
}
:root[data-theme='light'] .hero-film {
  box-shadow: 0 40px 80px -40px rgba(16, 40, 60, 0.55);
}
/* Logos drawn in white for the dark page have a dark twin for the light one. */
.on-light {
  display: none !important;
}
:root[data-theme='light'] .on-light {
  display: block !important;
}
:root[data-theme='light'] .on-dark {
  display: none !important;
}

/* The mist behind each section, deeper on the light page so it reads as fog, not a tint. */
:root[data-theme='light'] :is(.section:not(.final), .marquee, .signal-band)::before {
  background:
    radial-gradient(ellipse at 24% 44%, rgba(95, 205, 170, 0.2), transparent 52%),
    radial-gradient(ellipse at 80% 60%, rgba(120, 170, 255, 0.14), transparent 46%),
    radial-gradient(ellipse at 55% 100%, rgba(154, 140, 255, 0.08), transparent 50%);
  background-size: 124% 120%;
}

@media (max-width: 640px) {
  .nav > .theme-switch {
    margin-left: -4px;
  }
}
