:root {
  color-scheme: dark;
  --background-primary: #1c1c1e;
  --background-secondary: #2c2c2e;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.10);
  --surface-muted: rgba(255, 255, 255, 0.035);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #d4d4d8;
  --accent-primary: #66fcf1;
  --accent-recording: #ff6b35;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --green: #70e0a2;
  --amber: #ffd166;
  --red: #ff7a7a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
  --ink: var(--text-primary);
  --ink-soft: var(--text-tertiary);
  --muted: var(--text-secondary);
  --canvas: var(--background-primary);
  --blue: var(--accent-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--background-primary);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-primary);
  background: linear-gradient(180deg, #161617 0%, var(--background-primary) 42%, #141415 100%);
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(28, 28, 30, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100vw - 32px));
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a,
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition-property: transform, color, border-color, background-color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.nav-links a:hover,
.button:hover {
  color: var(--text-primary);
}

.button {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button:active {
  transform: scale(0.96);
}

.button.primary {
  border-color: rgba(102, 252, 241, 0.52);
  background: rgba(102, 252, 241, 0.14);
  color: var(--text-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(102, 252, 241, 0.08);
}

.button[aria-disabled="true"],
.button-disabled,
button:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(161, 161, 170, 0.62);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.page {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.88fr);
  gap: 46px;
  align-items: center;
  padding: 58px 0 46px;
}

.hero h1,
.page-title h1 {
  margin: 0;
  max-width: 820px;
  color: var(--text-primary);
  font-size: clamp(46px, 7vw, 80px);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p,
.page-title p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.hero-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 18px rgba(102, 252, 241, 0.42);
  content: "";
}

.product-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.20);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e55b56;
}

.dot:nth-child(2) {
  background: #e2b64d;
}

.dot:nth-child(3) {
  background: #63c27a;
}

.perception-demo {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.signal-card,
.output-card,
.mode,
.card,
.tier,
.panel,
.trust-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.signal-card {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 14px;
}

.signal-label,
.proof-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.waveform,
.scan-grid,
.thought-lines,
.bars {
  display: inline-grid;
}

.waveform {
  grid-auto-flow: column;
  align-items: end;
  gap: 5px;
  height: 42px;
}

.waveform span {
  width: 7px;
  border-radius: 999px;
  background: var(--accent-primary);
  opacity: 0.78;
}

.waveform span:nth-child(1) { height: 17px; }
.waveform span:nth-child(2) { height: 32px; background: var(--accent-recording); }
.waveform span:nth-child(3) { height: 22px; }
.waveform span:nth-child(4) { height: 38px; }
.waveform span:nth-child(5) { height: 26px; }

.scan-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 64px;
}

.scan-grid span {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.10);
}

.scan-grid span:nth-child(5) {
  background: rgba(102, 252, 241, 0.45);
  box-shadow: 0 0 22px rgba(102, 252, 241, 0.24);
}

.thought-lines {
  gap: 7px;
  width: 78px;
}

.thought-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.thought-lines span:nth-child(1) { width: 74px; }
.thought-lines span:nth-child(2) { width: 52px; background: rgba(102, 252, 241, 0.40); }
.thought-lines span:nth-child(3) { width: 64px; }

.output-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
}

.output-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.structured-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.structured-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.45;
}

.structured-list strong {
  color: var(--accent-primary);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mode-row,
.tier-row,
.feature-grid,
.card-grid,
.account-grid,
.use-case-grid,
.steps-grid {
  display: grid;
  gap: 14px;
}

.mode-row,
.feature-grid,
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-grid,
.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tier-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.mode,
.card,
.tier,
.panel {
  padding: 18px;
}

.card.compact {
  min-height: 112px;
}

.mode strong,
.card strong,
.tier strong,
.panel strong,
.step-number {
  display: block;
  margin-bottom: 7px;
  color: var(--text-primary);
}

.mode p,
.card p,
.tier p,
.panel p,
.security-table td,
.pricing-table td {
  color: var(--text-secondary);
  line-height: 1.55;
}

.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.section h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-lead {
  max-width: 740px;
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.feature-grid,
.card-grid,
.use-case-grid,
.steps-grid {
  margin-top: 22px;
}

.tier .price {
  margin: 8px 0;
  font-size: 28px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tier.highlight {
  border-color: rgba(102, 252, 241, 0.34);
  box-shadow: var(--shadow-soft);
}

.tier ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tier li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.tier li::before {
  margin-right: 8px;
  color: var(--green);
  font-weight: 900;
  content: "+";
}

.tier li.locked::before {
  color: var(--text-secondary);
  content: "-";
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 750;
}

.badge.available {
  border-color: rgba(112, 224, 162, 0.35);
  color: var(--green);
  background: rgba(112, 224, 162, 0.08);
}

.badge.soon {
  border-color: rgba(255, 209, 102, 0.35);
  color: var(--amber);
  background: rgba(255, 209, 102, 0.08);
}

.badge.focus {
  border-color: rgba(102, 252, 241, 0.42);
  color: var(--accent-primary);
  background: rgba(102, 252, 241, 0.08);
}

.billing-note {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.07);
}

.billing-note strong {
  color: var(--text-primary);
}

.billing-note p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text-tertiary);
  font-size: 13px;
}

tr:last-child td {
  border-bottom: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.trust-item {
  padding: 12px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 720;
}

.page-title {
  padding: 56px 0 38px;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1120px, calc(100vw - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  padding: 24px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-inner a {
  color: var(--text-tertiary);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text-primary);
}

.status-note {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.hero-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px;
}

.proof-column {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.proof-column.cleaned {
  background: rgba(255, 255, 255, 0.08);
}

.proof-column p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 17px;
  line-height: 1.55;
}

.proof-arrow {
  align-self: center;
  color: var(--text-secondary);
  font-weight: 800;
}

.proof-footer,
.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-footer {
  padding: 0 16px 16px;
}

.status-strip {
  margin-top: 24px;
}

.mock-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.menu-pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 760;
}

.bars {
  grid-auto-flow: column;
  align-items: end;
  gap: 3px;
  width: 24px;
  height: 22px;
}

.bars span {
  width: 4px;
  border-radius: 999px;
}

.bars span:nth-child(1) { height: 12px; background: var(--accent-primary); }
.bars span:nth-child(2) { height: 20px; background: var(--accent-recording); }
.bars span:nth-child(3) { height: 15px; background: var(--text-secondary); }

.transcript {
  min-height: 176px;
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.transcript .line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.transcript .line:nth-child(2) { width: 92%; }
.transcript .line:nth-child(3) { width: 78%; }
.transcript .line:nth-child(4) { width: 84%; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .hero,
  .hero-proof,
  .feature-grid,
  .card-grid,
  .tier-row,
  .mode-row,
  .trust-strip,
  .account-grid,
  .signal-row,
  .steps-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .structured-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .proof-arrow {
    display: none;
  }
}
