/* reflex.waspid.com — light "open sky" design. Everything here is drawn in code (no photos). */
:root {
  --ink: #0b1220;
  --ink-2: #394356;
  --ink-3: #667085;
  --line: rgba(15, 23, 42, 0.08);
  --line-2: rgba(15, 23, 42, 0.14);
  --bg: #f6f9fc;
  --bg-soft: #eef4fa;
  --card: rgba(255, 255, 255, 0.78);
  --dark: #0d1322;
  --dark-2: #1b2336;
  --blue: #2f6ff5;
  --blue-2: #5b8ff9;
  --violet: #6c5ce7;
  --green: #1f9d55;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 12px 32px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 30px 80px rgba(33, 72, 120, 0.22), 0 8px 24px rgba(33, 72, 120, 0.12);
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 245, 0.45);
  outline-offset: 2px;
  border-radius: 10px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

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

.small {
  font-size: 14px;
}

kbd {
  font: 600 0.82em var(--font);
  padding: 2px 7px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 0 1px 0 var(--line-2);
  white-space: nowrap;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font: 600 15.5px var(--font);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.dark {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
  box-shadow: 0 8px 22px rgba(13, 19, 34, 0.25);
}

.btn.dark:hover {
  background: #182238;
  box-shadow: 0 12px 28px rgba(13, 19, 34, 0.3);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.6);
}

.btn.lg {
  height: 54px;
  padding: 0 30px;
  font-size: 16.5px;
}

.btn.sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* ── Wordmark ── */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  color: var(--ink);
  text-decoration: none !important;
  line-height: 1;
}

.wordmark b {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wordmark span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: #6f7c90;
}

.wordmark.sm b {
  font-size: 18px;
}

.wordmark.sm span {
  font-size: 11px;
  letter-spacing: 0.34em;
}

/* ── Hero stage (the framed sky) ── */
.stage {
  position: relative;
  margin: 14px 14px 0;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  min-height: min(1040px, calc(100vh + 120px));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75), 0 20px 60px rgba(40, 90, 140, 0.16);
}

.sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 60% at 20% 0%, rgba(110, 170, 235, 0.55), transparent 60%),
    linear-gradient(180deg, #7eb8ee 0%, #a3cff3 26%, #c9e4f8 50%, #e5f2fb 72%, #f2f8fc 100%);
  overflow: hidden;
}

.cloud {
  position: absolute;
  width: 560px;
  height: 230px;
  background:
    radial-gradient(38% 52% at 28% 62%, #fff 0 42%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(34% 58% at 52% 44%, #fff 0 40%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(30% 46% at 74% 60%, #fff 0 40%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(62% 34% at 50% 78%, rgba(236, 244, 251, 0.95) 0 40%, rgba(255, 255, 255, 0) 74%),
    radial-gradient(40% 30% at 45% 88%, rgba(196, 216, 234, 0.55) 0 30%, rgba(255, 255, 255, 0) 75%);
  filter: blur(7px);
  opacity: 0.95;
  animation: drift 120s linear infinite alternate;
}

.cloud.c1 {
  left: -120px;
  top: 150px;
  transform: scale(1.35);
}

.cloud.c2 {
  right: -140px;
  top: 300px;
  transform: scale(1.1);
  animation-duration: 150s;
}

.cloud.c3 {
  left: 18%;
  top: -60px;
  width: 420px;
  height: 160px;
  opacity: 0.55;
  animation-duration: 180s;
}

.cloud.c4 {
  right: 12%;
  top: 40px;
  width: 360px;
  height: 140px;
  opacity: 0.5;
  animation-duration: 200s;
}

.cloud.c5 {
  left: -60px;
  bottom: 300px;
  width: 460px;
  height: 180px;
  opacity: 0.8;
  animation-duration: 160s;
}

@keyframes drift {
  from {
    translate: -40px 0;
  }
  to {
    translate: 60px 0;
  }
}

.contrail {
  position: absolute;
  top: 17%;
  right: -6%;
  width: 48%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95) 55%, rgba(255, 255, 255, 0.35));
  transform: rotate(21deg);
  transform-origin: right center;
  filter: blur(0.5px);
}

.contrail::after {
  content: "";
  position: absolute;
  inset: -3px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0));
  filter: blur(3px);
}

.hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  min-height: 300px;
}

.blades path {
  transform-box: fill-box;
  transform-origin: bottom center;
}

.blades.sway-a {
  animation: sway 6s ease-in-out infinite alternate;
}

@keyframes sway {
  from {
    transform: skewX(-1.2deg);
  }
  to {
    transform: skewX(1.4deg);
  }
}

/* Top bar inside the stage */
.top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 44px;
}

.top .wordmark {
  justify-self: start;
}

.top .btn {
  justify-self: end;
}

.top-links {
  display: flex;
  gap: 44px;
}

.top-links a,
.float-nav nav a {
  color: #1c2536;
  font-weight: 500;
  font-size: 15px;
}

.top-links a:hover,
.float-nav nav a:hover {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
}

.menu-btn {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  z-index: 20;
  top: 86px;
  left: 16px;
  right: 16px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
}

.mobile-menu a:hover {
  background: var(--bg-soft);
  text-decoration: none;
}

/* Floating nav (after the hero) */
.float-nav {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
  transform: translate(-50%, -140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

.float-nav.on {
  transform: translate(-50%, 0);
  opacity: 1;
}

.float-nav nav {
  display: flex;
  gap: 22px;
}

.float-nav nav a {
  font-size: 14px;
}

/* Hero copy */
.hero {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 24px 150px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #1b2536;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(40, 90, 140, 0.1);
}

.badge:hover {
  text-decoration: none;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a559;
  box-shadow: 0 0 0 3px rgba(34, 165, 89, 0.18);
}

.hero h1 {
  margin: 26px 0 18px;
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #070d18;
}

.sub {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: #2c3648;
}

.cta {
  margin-top: 30px;
}

.hero-fine {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: #3d4a5f;
}

/* The illustrated device */
.device {
  position: relative;
  width: min(960px, 100%);
  margin-top: 54px;
  perspective: 1600px;
}

.win {
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: var(--shadow-lg);
  text-align: left;
  overflow: hidden;
  transform: rotateX(5deg);
  transform-origin: 50% 100%;
}

.win-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lights {
  display: inline-flex;
  gap: 7px;
}

.lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.lights i:nth-child(2) {
  background: #febc2e;
}

.lights i:nth-child(3) {
  background: #28c840;
}

.win-title {
  font-weight: 600;
  font-size: 14px;
  color: #3b4557;
}

.win-tools {
  margin-left: auto;
  display: inline-flex;
  gap: 6px;
}

.tool {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border-radius: 9px;
  color: #3b4557;
  transition: background 0.15s ease, transform 0.15s ease;
}

.tool.hit {
  background: rgba(108, 92, 231, 0.18);
  transform: scale(0.92);
}

.win-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 340px;
}

.notes-side {
  padding: 14px 12px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(247, 250, 253, 0.55);
}

.side-label {
  margin: 4px 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #8190a5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.notes-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.notes-side li {
  padding: 10px 12px;
  border-radius: 12px;
  display: grid;
  transition: background 0.25s ease;
}

.notes-side li b {
  font-size: 14px;
  font-weight: 600;
  color: #1a2334;
}

.notes-side li span {
  font-size: 12.5px;
  color: #7a879b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notes-side li.sel {
  background: rgba(254, 214, 94, 0.45);
}

.notes-side li.new {
  animation: pop 0.35s ease;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.note {
  padding: 26px 34px;
}

.note-date {
  margin: 0;
  font-size: 12.5px;
  color: #8a96a8;
}

.note h3 {
  margin: 6px 0 10px;
  font-size: 26px;
  letter-spacing: -0.02em;
  min-height: 34px;
}

.note-body {
  margin: 0;
  font-size: 16px;
  color: #2a3345;
  white-space: pre-line;
  min-height: 60px;
}

.note-body.typing::after,
.note h3.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--violet);
  animation: blink 1s steps(1) infinite;
}

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

.toast {
  position: absolute;
  top: 60px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.on {
  opacity: 1;
  transform: none;
}

.rx-cursor {
  position: absolute;
  z-index: 3;
  left: 18%;
  top: 72%;
  filter: drop-shadow(0 4px 8px rgba(40, 30, 120, 0.35));
  transition: left 0.55s cubic-bezier(0.25, 0.8, 0.25, 1), top 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.rx-cursor.press {
  animation: press 0.22s ease;
}

@keyframes press {
  50% {
    transform: scale(0.82);
  }
}

/* The Reflex task bar */
.rbar {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(640px, 92%);
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(14, 18, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(8, 14, 30, 0.45);
  color: #fff;
}

.rbar-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  flex: none;
}

.rbar-wave i {
  width: 4px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, #7aa7ff, #2f6ff5);
}

.rbar-wave i:nth-child(2) {
  height: 20px;
}

.rbar-wave i:nth-child(3) {
  height: 28px;
}

.rbar-wave i:nth-child(4) {
  height: 18px;
}

.rbar-wave.live i {
  animation: bars 0.9s ease-in-out infinite alternate;
}

.rbar-wave.live i:nth-child(2) {
  animation-delay: -0.2s;
}

.rbar-wave.live i:nth-child(3) {
  animation-delay: -0.45s;
}

.rbar-wave.live i:nth-child(4) {
  animation-delay: -0.1s;
}

.rbar-wave.live i:nth-child(5) {
  animation-delay: -0.6s;
}

@keyframes bars {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1.1);
  }
}

.rbar-wave.small {
  height: 22px;
}

.rbar-wave.small i {
  width: 3px;
}

.rbar-text {
  flex: 1;
  min-width: 0;
  font-size: 15.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.rbar-text.placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.rbar-think {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
}

.rbar-mic,
.rbar-go {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
}

.rbar-mic {
  background: #4a2126;
  color: #f3c3c3;
}

.rbar-go {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle at 35% 30%, #5b8ff9, #2f6ff5 60%, #1f55d6);
  box-shadow: 0 0 0 4px rgba(47, 111, 245, 0.18), 0 8px 22px rgba(47, 111, 245, 0.45);
  color: #fff;
}

.rbar-go svg.i,
.rbar-mic svg.i {
  width: 20px;
  height: 20px;
}

.stage-note {
  margin: 14px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  padding: 0 16px;
}

/* ── Sections ── */
.section {
  padding: 110px 0;
}

.section.tight {
  padding: 30px 0 90px;
}

.section.soft {
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(165, 205, 243, 0.28), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, rgba(165, 205, 243, 0.22), transparent 70%),
    var(--bg-soft);
}

.head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18.5px;
  color: var(--ink-2);
  margin: 0 0 16px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--blue);
  background: linear-gradient(135deg, #eaf1ff, #f1edff);
  border: 1px solid rgba(47, 111, 245, 0.12);
}

.icon svg.i {
  width: 22px;
  height: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: 17.5px;
}

.about-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pillar {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pillar b {
  font-size: 16px;
}

.pillar > span:last-child {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.pi {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--violet));
}

.pi svg.i {
  width: 18px;
  height: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a, #172238);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.stats div {
  padding: 30px 28px;
  display: grid;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats div:last-child {
  border-right: 0;
}

.stats b {
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #9cc0ff, #c7b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.stats-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Works with */
.apps {
  list-style: none;
  margin: 12px auto 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
}

.apps li {
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: s;
}

.steps li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 26px 26px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.steps li > span:last-child {
  color: var(--ink-2);
  font-size: 15.5px;
}

.steps b {
  font-size: 18px;
}

.n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--dark);
  margin-bottom: 8px;
}

/* Voice */
.chips {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
}

.convo {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fff;
  box-shadow: var(--shadow-lg);
}

.msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 15.5px;
  line-height: 1.45;
}

.msg.you {
  justify-self: end;
  background: var(--dark);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.msg.rx {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  color: var(--ink);
}

.msg.rx.quiet {
  color: var(--ink-3);
}

.tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7486;
  background: #eef1f6;
  vertical-align: 1px;
}

.tag.speak {
  color: #fff;
  background: var(--blue);
}

/* Try */
.examples {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 8px;
}

.examples button {
  width: 100%;
  text-align: left;
  font: 500 15px var(--font);
  color: var(--ink-2);
  padding: 11px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.examples button:hover {
  border-color: rgba(47, 111, 245, 0.45);
  color: var(--ink);
}

.try-box {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #a9d2f4 0%, #d9ecfa 60%, #eef6fc 100%);
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

.try-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(14, 18, 30, 0.92);
  box-shadow: 0 16px 40px rgba(8, 14, 30, 0.3);
}

.try-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 500 16px var(--font);
}

.try-bar input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.try-bar .send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #5b8ff9, #2f6ff5 60%, #1f55d6);
  cursor: pointer;
}

.plan {
  list-style: none;
  counter-reset: p;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan li {
  counter-increment: p;
  position: relative;
  padding: 14px 16px 14px 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
}

.plan li::before {
  content: counter(p);
  position: absolute;
  left: 14px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--dark);
}

.plan li b {
  color: var(--ink);
}

.plan li.note {
  counter-increment: none;
  padding-left: 16px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.plan li.note::before {
  display: none;
}

/* Privacy */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding: 14px 18px 14px 50px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15.5px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: #e6f6ed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
}

.plan h3 {
  font-size: 22px;
  margin: 0;
}

.price {
  margin: 0 !important;
  font-size: 40px !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
}

.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan .checks li {
  background: transparent;
  border: 0;
  padding: 6px 0 6px 32px;
}

.plan .checks li::before {
  left: 0;
}

.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}

.plan.pro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.95));
  border-color: rgba(47, 111, 245, 0.25);
}

/* Downloads */
.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dl.recommended {
  border-color: rgba(47, 111, 245, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 111, 245, 0.1), var(--shadow);
}

.dl h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 21px;
}

.dl .os-note {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: -6px;
}

.you-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: #eaf1ff;
  padding: 3px 8px;
  border-radius: 999px;
}

.dl .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.dl .meta {
  display: grid;
  min-width: 0;
}

.dl .meta b {
  font-size: 15px;
}

.dl .meta span {
  font-size: 12.5px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl .missing {
  font-size: 14px;
  color: var(--ink-3);
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.fine {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-3);
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  font-weight: 500;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Docs grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.docs-grid a {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.docs-grid a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(47, 111, 245, 0.35);
}

.docs-grid span {
  color: var(--ink-3);
  font-size: 14.5px;
}

/* Closing band */
.closing {
  position: relative;
  margin: 0 14px;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #86bdee 0%, #b9dcf7 55%, #e6f2fb 100%);
}

.closing-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cloud.c6 {
  left: -80px;
  bottom: -40px;
  transform: scale(1.3);
}

.cloud.c7 {
  right: -120px;
  top: -30px;
  opacity: 0.8;
  animation-duration: 140s;
}

.closing h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  color: #070d18;
}

.closing .lead {
  color: #2c3648;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-grid nav b {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-grid nav a {
  color: var(--ink-2);
  font-size: 14.5px;
}

.footer-grid p {
  max-width: 320px;
  margin-top: 16px;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ── Docs pages ── */
.doc-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 249, 252, 0.85);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.doc-top .top {
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.doc-top .top-links {
  gap: 32px;
}

.doc-hero {
  background: linear-gradient(180deg, #a9d2f4 0%, #d6eaf9 55%, var(--bg) 100%);
  padding: 56px 0 10px;
}

.doc-hero p {
  margin: 0;
  color: #2c3648;
}

.doc {
  padding: 30px 0 90px;
}

.doc .wrap {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  align-items: start;
}

.doc-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.doc-nav a {
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.doc-nav a:hover {
  background: var(--bg-soft);
  text-decoration: none;
}

.doc-nav a.active {
  background: var(--dark);
  color: #fff;
}

.doc article {
  min-width: 0;
  padding: 40px 44px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.doc article h1 {
  margin: 0 0 18px;
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.doc article h2 {
  margin: 38px 0 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.doc article h3 {
  margin: 26px 0 8px;
}

.doc article p,
.doc article li {
  color: var(--ink-2);
}

.doc article code {
  font: 500 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 6px;
}

.doc article pre {
  background: #0f172a;
  color: #e6edf7;
  padding: 18px 20px;
  border-radius: 14px;
  overflow: auto;
}

.doc article pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.doc article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.doc article th,
.doc article td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc article th {
  font-weight: 600;
  background: var(--bg-soft);
}

.doc article blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--blue);
  background: #f3f7ff;
  border-radius: 0 12px 12px 0;
}

/* ── Responsive ── */
@media (max-width: 1060px) {
  .top-links {
    gap: 26px;
  }
  .grid,
  .steps,
  .docs-grid,
  .downloads {
    grid-template-columns: 1fr 1fr;
  }
  .about,
  .two {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .float-nav nav {
    display: none;
  }
}

@media (max-width: 880px) {
  .top {
    grid-template-columns: 1fr auto;
    padding: 20px 22px;
  }
  .top-links,
  .top > .btn {
    display: none;
  }
  .menu-btn {
    display: grid;
    place-items: center;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats div:nth-child(2) {
    border-right: 0;
  }
  .stats div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .win-body {
    grid-template-columns: 1fr;
  }
  .notes-side {
    display: none;
  }
  .rbar-think {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doc .wrap {
    grid-template-columns: 1fr;
  }
  .doc-nav {
    position: static;
    grid-auto-flow: column;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .stage {
    margin: 8px 8px 0;
    border-radius: 26px;
  }
  .closing {
    margin: 0 8px;
    border-radius: 26px;
  }
  .wordmark b {
    font-size: 21px;
  }
  .wordmark span {
    letter-spacing: 0.3em;
  }
  .hero {
    padding: 24px 16px 110px;
  }
  .hero h1 br,
  .sub br {
    display: none;
  }
  .grid,
  .steps,
  .docs-grid,
  .downloads,
  .plans,
  .pillars {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 80px 0;
  }
  .rbar {
    gap: 8px;
    padding: 8px 8px 8px 14px;
  }
  .rbar-mic {
    display: none;
  }
  .rbar-text {
    font-size: 14px;
  }
  .note {
    padding: 20px;
  }
  .float-nav {
    gap: 12px;
    padding-left: 16px;
  }
  .doc article {
    padding: 26px 22px;
  }
}

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