@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fbfbfa;
  --ink: #0a0a0b;
  --ink-2: #26272b;
  --muted: #4b4d55; /* darkened from site #5f6168 to keep body/meta ≥4.5:1 on --bg */
  --line: #e6e6e8;
  --line-2: #d9d9dc;
  --card: #f3f3f4;
  --white: #fff;
  --violet: #6d4aff;
  --blue: #3b82f6;
  --teal: #0f766e;
  --grad: linear-gradient(90deg, #6d4aff, #3b82f6 40%, #14b8a6 70%, #f472b6);
  --o1: #6d4aff;
  --o2: #3b82f6;
  --o3: #c7b8ff;
  --radius: 22px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 50px rgba(10, 10, 11, .08), 0 2px 8px rgba(10, 10, 11, .04);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.stage-bar {
  background: var(--ink);
  color: #fff;
  font: 600 12.5px/1.3 var(--font);
  letter-spacing: .02em;
  text-align: center;
  padding: 8px 16px;
}
.stage-bar span { font-weight: 500; opacity: .88; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; flex: 1; display: flex; flex-direction: column; min-height: 0; }
main { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0 8px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; letter-spacing: -.03em; font-size: 18px;
  text-decoration: none; color: var(--ink);
}
.brand-orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 40%),
              radial-gradient(circle at 50% 50%, var(--o1), var(--o2) 70%);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, .16);
}
.nav-link {
  font: 600 14.5px/1 var(--font);
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-link:hover { color: var(--ink); }

.hero-copy { text-align: center; padding: 12px 0 6px; }
.eyebrow {
  margin: 0 0 8px;
  font: 600 13px/1.3 var(--font);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 550;
  margin: 0 0 10px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede {
  margin: 0 auto;
  max-width: 46ch;
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* Four buy buttons — above Aria */
.buy-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 22px auto 8px;
  max-width: 760px;
}
.buy-btn {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 1px;
  min-width: 148px;
  min-height: 58px;
  padding: 8px 16px 9px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, background .2s;
}
.buy-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.buy-btn.is-hot {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, .18), 0 6px 18px rgba(109, 74, 255, .12);
  background: #faf8ff;
}
.buy-btn strong { font: 650 15px/1.2 var(--font); letter-spacing: -.01em; }
.buy-btn small { font: 500 12.5px/1.2 var(--font); color: var(--muted); }
.buy-btn .tag {
  position: absolute; top: -8px; right: 10px;
  font: 650 10px/1 var(--font);
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  border-radius: 999px; padding: 4px 7px;
}
.buy-btn .tag.is-preview { background: #4c1d95; }

/* Coming-soon info chip (not a purchase control). Used for Clone. */
.soon-chip {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 1px;
  min-width: 148px;
  min-height: 58px;
  padding: 8px 16px 9px;
  border-radius: 16px;
  border: 1px dashed var(--line-2);
  background: #fafafa;
  text-decoration: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, background .2s;
}
.soon-chip:hover { border-color: var(--ink); }
.soon-chip.is-hot {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, .18), 0 6px 18px rgba(109, 74, 255, .12);
  background: #faf8ff;
}
.soon-chip strong { font: 650 15px/1.2 var(--font); letter-spacing: -.01em; }
.soon-chip small { font: 500 12.5px/1.2 var(--font); color: var(--muted); }
.soon-chip .tag {
  position: absolute; top: -8px; right: 10px;
  font: 650 10px/1 var(--font);
  letter-spacing: .04em; text-transform: uppercase;
  background: #3f3f46; color: #fff;
  border-radius: 999px; padding: 4px 7px;
}

.shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin: 10px auto 16px;
  max-width: 1080px;
  width: 100%;
}
.shell.panel-open {
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 420px);
  flex: 1;
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}

.aria-col { display: flex; flex-direction: column; align-items: center; }

.orb-stage {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  margin: 8px auto 16px;
  --o1: #6d4aff; --o2: #3b82f6; --o3: #c7b8ff;
}
.orb-glow {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,74,255,.28), transparent 70%);
  filter: blur(18px);
}
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.orb-gl .orb-css { display: none; }
.orb-fallback .orb-canvas { display: none; }
.orb-css {
  position: absolute; inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 6%, transparent 32%),
    radial-gradient(circle at 50% 55%, var(--o3), var(--o1) 42%, var(--o2) 80%);
  box-shadow: 0 20px 50px rgba(59, 130, 246, .22);
}
.orb-css i {
  position: absolute; inset: -6%;
  border-radius: 50%;
  border: 1.5px solid rgba(109, 74, 255, .22);
  animation: spin 12s linear infinite;
}
.orb-css i:nth-child(2) { inset: -14%; animation-duration: 18s; animation-direction: reverse; border-color: rgba(59,130,246,.18); }
.orb-css i:nth-child(3) { inset: -22%; animation-duration: 26s; border-color: rgba(199,184,255,.35); }
@keyframes spin { to { transform: rotate(360deg); } }

[data-state="speaking"] .orb-css {
  animation: pulse 1.1s var(--ease) infinite;
}
[data-state="listening"] .orb-css {
  box-shadow: 0 0 0 8px rgba(109,74,255,.12), 0 20px 50px rgba(59,130,246,.22);
}
[data-state="thinking"] .orb-css { filter: saturate(.85); }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.orb-foot {
  position: absolute; left: 0; right: 0; bottom: -4px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.orb-state {
  font: 600 13px/1 var(--font);
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
[data-state="speaking"] .orb-state, [data-state="listening"] .orb-state { color: var(--ink); }

.controls {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 28px;
}
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: 650 15px/1 var(--font);
  letter-spacing: -.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--white);
  color: var(--ink);
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #1a1a1f; }
.pill-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.pill-ghost:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.caption {
  width: min(560px, 100%);
  margin: 18px auto 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 4.2em;
}
.caption[hidden] { display: none; }
.caption-who {
  margin: 0 0 4px;
  font: 650 11.5px/1 var(--font);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.caption[data-who="you"] .caption-who { color: #1e3a8a; }
.caption-text { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.5; }

.status {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  min-height: 1.4em;
}

.live-form {
  width: min(560px, 100%);
  margin: 12px auto 0;
  display: flex; gap: 8px;
}
.live-form[hidden] { display: none; }
.live-form input {
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
}
.live-form input::placeholder { color: var(--muted); }

/* Side / bottom panel */
.panel {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 0;
  max-height: 100%;
  height: 100%;
  overflow: hidden;
}
.panel[hidden] { display: none; }
.panel-inner { padding: 20px 22px 12px; overflow-y: auto; flex: 1 1 auto; }
.panel-cta {
  flex: 0 0 auto;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.panel-cta .pill { width: 100%; }
.panel-close {
  float: right;
  border: 0; background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 6px 12px;
  font: 650 12.5px/1 var(--font); cursor: pointer;
}
.panel h2 {
  margin: 6px 0 4px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -.03em;
  font-weight: 550;
}
.panel .price {
  margin: 0 0 10px;
  font: 650 22px/1.2 var(--font);
  letter-spacing: -.02em;
}
.panel .price span {
  display: block;
  margin-top: 4px;
  font: 500 13.5px/1.4 var(--font);
  color: var(--muted);
  letter-spacing: 0;
}
.panel .blurb, .panel .detail {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 15px;
}
.panel h3 {
  margin: 16px 0 10px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge {
  display: inline-block;
  margin-left: 8px;
  border-radius: 999px;
  padding: 3px 8px;
  font: 650 10.5px/1 var(--font);
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.badge-live { background: #ecfdf3; color: #065f46; }
.badge-preview { background: #f5f3ff; color: #5b21b6; }

.steps { list-style: none; margin: 0 0 18px; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 8px;
  border-radius: 12px;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.step-n {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font: 650 12px/1 var(--font);
  background: var(--card); color: var(--ink);
}
.step.is-done .step-n { background: #ecfdf3; color: #065f46; }
.step.is-on {
  background: #faf8ff;
  color: var(--ink);
}
.step.is-on .step-n { background: var(--ink); color: #fff; }
.step-t { padding-top: 4px; font-size: 14.5px; line-height: 1.45; }

body.panel-open .fine { display: none; }
.fine {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  max-width: 62ch;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.fine a { color: var(--ink); text-underline-offset: 3px; }

@media (max-width: 860px) {
  .shell.panel-open { grid-template-columns: 1fr; }
  .hero-copy { padding: 4px 0 0; }
  .display { font-size: clamp(30px, 9vw, 44px); margin-bottom: 6px; }
  .lede { font-size: 15.5px; }
  .buy-row { margin-top: 14px; }
  .buy-btn { min-width: calc(50% - 10px); flex: 1 1 140px; min-height: 54px; }
  .wrap { width: min(1180px, 100% - 24px); }
  .orb-stage { width: min(180px, 52vw); margin: 0 auto 4px; }
  .controls { margin-top: 10px; }
  .caption { margin-top: 10px; padding: 10px 12px; min-height: 0; }
  .shell { margin-bottom: 16px; }
  body.panel-open .hero-copy { display: none; }
  body.panel-open .buy-row { margin-top: 8px; margin-bottom: 4px; }
  .shell.panel-open .lede { display: none; }
  .shell.panel-open .orb-stage { width: min(96px, 28vw); margin-bottom: 0; }
  .shell.panel-open .status { display: none; }
  .shell.panel-open .controls { margin-top: 18px; }
  .shell.panel-open .pill { min-height: 40px; padding: 0 16px; }
  .shell.panel-open .caption { margin-top: 6px; padding: 6px 10px; }
  .shell.panel-open .caption-who { display: none; }
  .shell.panel-open .caption-text { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .shell.panel-open {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    flex: 1;
    min-height: 0;
  }
  .panel {
    position: relative;
    border-radius: 20px 20px 16px 16px;
    min-height: 0;
    max-height: none;
    height: auto;
    align-self: stretch;
  }
  .shell.panel-open .panel .blurb,
  .shell.panel-open .panel .detail {
    display: none;
  }
  .shell.panel-open .step { padding: 4px 6px; }
  .shell.panel-open .step-t { padding-top: 2px; font-size: 13.5px; }
  .fine { display: none; }
}

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

/* Click-driven product rows — many products, coming soon, compare */
.row-label {
  margin: 18px auto 6px;
  max-width: 1080px;
  font: 650 11.5px/1.2 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.buy-row { max-width: 1080px; }
.buy-btn { min-width: 132px; flex: 1 1 132px; }
.buy-btn.is-soon {
  border-style: dashed;
  background: #fafafa;
}
.buy-btn .tag.is-soon { background: #3f3f46; }
.buy-btn .tag.is-measure { background: #164e63; }
.buy-btn-compare { min-width: 220px; flex: 0 1 280px; }
.badge-soon { background: #f4f4f5; color: #3f3f46; }
.badge-measure { background: #ecfeff; color: #155e75; }
.pill-soon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 44px;
  border-radius: 999px;
  background: #ececec;
  color: var(--ink);
  font: 650 14px/1 var(--font);
  cursor: default;
}
.pick-another {
  margin: 10px 0 0;
  font: 500 13px/1.4 var(--font);
  color: var(--muted);
  text-align: center;
}
.panel-screen { margin: 8px 0 12px; }
.panel-screen-label {
  margin: 0 0 6px;
  font: 650 11px/1.2 var(--font);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-screen-frame {
  min-height: 72px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: #f7f6fb;
  overflow: hidden;
}
.panel-screen-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .buy-btn { min-width: calc(50% - 10px); flex: 1 1 140px; }
  .row-label { margin-top: 12px; }
}

/* Room for the corner tags, and a tighter walkthrough when a panel is open */
.buy-btn { padding-top: 16px; }
body.panel-open .hero-copy { display: none; }
body.panel-open .row-label { margin-top: 8px; margin-bottom: 2px; }
@media (max-width: 720px) {
  body.panel-open .buy-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
  }
  body.panel-open .buy-btn { min-width: 128px; flex: 0 0 128px; }
}

/* Built-in mini screens in the panel (no screenshot files) */
.panel-screen-frame.mini { padding: 12px 14px; border-style: solid; background: #f7f6fb; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); font: 600 12.5px/1 var(--font); }
.mini-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }
.mini-dot-2 { background: #f97316; }
.mini-dot-3 { background: #db2777; }
.mini-play { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 650 12px/1 var(--font); }
.mini-text { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.mini-link { display: inline-block; margin-top: 10px; font: 650 13px/1.2 var(--font); color: var(--ink); text-underline-offset: 3px; }
.mini-steps { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.mini-steps li + li { margin-top: 6px; }
.mini-steps b { color: var(--ink); margin-right: 4px; }
.mini-voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-voices li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font: 600 13px/1.2 var(--font); }
.mini-voices small { margin-left: auto; color: var(--muted); font-weight: 500; }
.mini-flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-flags img { display: block; width: 30px; height: 22px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.mini-code { margin: 0; padding: 10px 12px; border-radius: 10px; background: #0a0a0b; color: #e5e7eb; font: 500 12px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }

/* soon-chip sizes track the buy-row chips, without using the buy-btn class */
@media (max-width: 720px) {
  .soon-chip { min-width: calc(50% - 10px); flex: 1 1 140px; min-height: 54px; }
}
.soon-chip { min-width: 132px; flex: 1 1 132px; }
@media (max-width: 640px) {
  .soon-chip { min-width: calc(50% - 10px); flex: 1 1 140px; }
}
body.panel-open .soon-chip { min-width: 128px; flex: 0 0 128px; }
