:root {
  --ink: #18151f;
  --muted: #706b7b;
  --line: #e9e4ef;
  --paper: #f3f8fb;
  --panel: #ffffff;
  --purple: #1778e8;
  --violet-soft: #eee8ff;
  --mint: #dff8ec;
  --amber: #ffe7a6;
  --rose: #ffe2ec;
  --blue: #e1f1ff;
  --shadow: 0 24px 70px rgba(32, 24, 52, 0.14);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.site-nav {
  position: fixed;
  top: calc(12px + var(--safe-top));
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1120px, calc(100% - 28px));
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(233, 228, 239, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 42px rgba(34, 28, 52, 0.1);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav nav,
.hero-actions,
.trust-row,
.result-grid,
.phone-top,
.phone-tabs,
.homescreen-card {
  display: flex;
}

.brand {
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav nav {
  justify-content: center;
  gap: 22px;
}

.site-nav nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav-cta,
.primary-link,
.secondary-link,
.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
}

.nav-cta {
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - 20px));
  padding: calc(120px + var(--safe-top)) 24px 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0.78) 48%, rgba(251, 250, 247, 0.4)),
    #f4f0ea;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  padding-top: clamp(32px, 8vh, 110px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 10vw, 128px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin-top: 24px;
  color: #3f394b;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.34;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  padding: 0 22px;
}

.primary-link {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 14px 30px rgba(109, 61, 242, 0.24);
}

.secondary-link {
  border: 1px solid rgba(109, 61, 242, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple);
}

.trust-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.trust-row span {
  border: 1px solid rgba(233, 228, 239, 0.9);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-scene {
  position: absolute;
  inset: 86px 0 0;
  pointer-events: none;
}

.phone {
  position: absolute;
  right: clamp(28px, 9vw, 150px);
  bottom: 54px;
  width: min(310px, 30vw);
  min-width: 250px;
  aspect-ratio: 0.48;
  border: 10px solid #17151f;
  border-radius: 42px;
  background: #fbfbfd;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 80px;
  height: 20px;
  border-radius: 999px;
  background: #17151f;
  transform: translateX(-50%);
}

.phone-top {
  align-items: center;
  gap: 10px;
  padding: 38px 16px 8px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.phone-top strong {
  display: block;
  font-size: 13px;
}

.phone-top small {
  color: var(--muted);
  font-size: 11px;
}

.voice-mode {
  display: grid;
  justify-items: center;
  padding: 44px 22px 0;
  text-align: center;
}

.voice-mode span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.voice-mode h2 {
  max-width: 220px;
  margin-top: 8px;
  font-size: 27px;
  line-height: 1.06;
}

.mic-core {
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  margin-top: 34px;
  border: 7px solid #fff;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 22px 44px rgba(109, 61, 242, 0.28);
}

.mic-mark {
  position: relative;
  width: 52px;
  height: 82px;
  border-radius: 999px;
  background: #fff;
}

.mic-mark::before,
.mic-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mic-mark::before {
  bottom: -24px;
  width: 88px;
  height: 44px;
  border: 9px solid #fff;
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.mic-mark::after {
  bottom: -54px;
  width: 78px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 -18px 0 #fff;
}

.voice-mode p {
  margin-top: 54px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.phone-tabs {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.9);
}

.phone-tabs span {
  flex: 1;
  border-radius: 999px;
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.phone-tabs .active {
  background: var(--purple);
  color: #fff;
}

.capture-card {
  position: absolute;
  width: min(300px, 28vw);
  border: 1px solid rgba(233, 228, 239, 0.9);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(32, 24, 52, 0.12);
}

.capture-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.capture-card strong {
  font-size: 15px;
  line-height: 1.28;
}

.capture-card-one {
  right: clamp(250px, 31vw, 470px);
  bottom: 308px;
  background: #fffaf0;
}

.capture-card-two {
  right: clamp(18px, 5vw, 76px);
  bottom: 238px;
  background: #f1fff7;
}

.capture-card-three {
  right: clamp(236px, 29vw, 440px);
  bottom: 130px;
  background: #f6f1ff;
}

.demo-section,
.speed-section,
.mismatch-section,
.operator-section,
.workflow-section,
.pricing-section,
.pwa-section,
.final-cta {
  padding: 88px 24px;
}

.speed-section {
  background: #18151f;
  color: #fff;
}

.speed-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.speed-stat {
  display: grid;
  gap: 8px;
}

.speed-stat strong {
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.86;
  letter-spacing: 0;
}

.speed-stat span {
  color: #cfc8dc;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
}

.speed-copy h2 {
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
}

.speed-copy p {
  max-width: 680px;
  margin-top: 18px;
  color: #d5d0df;
  font-size: 19px;
  line-height: 1.46;
}

.speed-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, 100%);
  margin: 34px auto 0;
}

.speed-compare article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.speed-compare .voice-card {
  border-color: rgba(187, 168, 255, 0.5);
  background: rgba(109, 61, 242, 0.28);
}

.speed-compare span {
  color: #bba8ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.speed-compare strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.speed-compare p {
  margin-top: 12px;
  color: #d5d0df;
  line-height: 1.5;
}

.mismatch-section {
  background: #fff;
}

.mismatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, 100%);
  margin: 0 auto 18px;
}

.mismatch-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fbfaf7;
}

.mismatch-grid strong {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.96;
}

.mismatch-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 850;
}

.intent-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: center;
  width: min(980px, 100%);
  margin: 0 auto 18px;
  border-radius: 8px;
  padding: 24px;
  background: #18151f;
  color: #fff;
}

.intent-panel .eyebrow {
  color: #bba8ff;
}

.intent-panel h3 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.intent-panel p:last-child {
  color: #d7d1e0;
  font-size: 18px;
  line-height: 1.48;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.before-after article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fbfaf7;
}

.before-after article:last-child {
  border-color: rgba(109, 61, 242, 0.28);
  background: #f5f0ff;
}

.before-after span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.before-after ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.before-after li {
  color: #514b5d;
  line-height: 1.42;
}

.before-after li::before {
  content: "+ ";
  color: var(--purple);
  font-weight: 950;
}

.section-copy {
  width: min(680px, 100%);
  margin: 0 auto 30px;
}

.section-copy.centered,
.final-cta {
  text-align: center;
}

.section-copy h2,
.privacy-section h2,
.final-cta h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.privacy-section p,
.final-cta p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.46;
}

.demo-board {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.demo-controls {
  display: grid;
  align-content: start;
  gap: 10px;
}

.demo-option {
  display: grid;
  gap: 7px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.demo-option.active {
  border-color: rgba(109, 61, 242, 0.42);
  background: #f7f3ff;
  box-shadow: 0 14px 34px rgba(109, 61, 242, 0.1);
}

.demo-option span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-option strong {
  font-size: 17px;
  line-height: 1.28;
}

.demo-result {
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(90deg, #f1eef6 0 1px, transparent 1px 42px);
}

.result-phone {
  width: min(390px, calc(100% - 34px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(32, 24, 52, 0.12);
}

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.result-phone h3 {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.08;
}

.result-grid {
  gap: 8px;
  margin-top: 16px;
}

.result-grid div {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  padding: 10px;
  background: #f8f6fb;
}

.result-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.result-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.result-phone p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.result-phone button {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-weight: 900;
}

.operator-section {
  background: #fff;
}

.use-grid,
.steps,
.pricing-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 14px;
}

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

.use-grid article,
.steps article,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.use-grid article:nth-child(1) {
  background: var(--rose);
}

.use-grid article:nth-child(2) {
  background: var(--blue);
}

.use-grid article:nth-child(3) {
  background: var(--amber);
}

.use-grid article:nth-child(4) {
  background: var(--mint);
}

.use-grid span,
.steps span,
.price-card span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.use-grid h3,
.steps h3 {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.12;
}

.use-grid p,
.steps p,
.price-card p {
  margin-top: 10px;
  color: #544d60;
  line-height: 1.44;
}

.workflow-section {
  background: #f5f2ee;
}

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

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
}

.price-card.featured {
  border-color: rgba(109, 61, 242, 0.42);
  box-shadow: 0 22px 54px rgba(109, 61, 242, 0.13);
}

.price-card h3 {
  font-size: 38px;
}

.price-card small {
  color: var(--muted);
  font-size: 15px;
}

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

.price-card li {
  color: #4e485a;
}

.price-card li::before {
  content: "+ ";
  color: #2c9560;
  font-weight: 900;
}

.price-card a {
  min-height: 46px;
  background: var(--ink);
  color: #fff;
}

.price-card.featured a {
  background: var(--purple);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 82px 24px;
  background: #18151f;
  color: #fff;
}

.privacy-section .eyebrow {
  color: #bba8ff;
}

.privacy-section p {
  color: #d3cedd;
}

.pwa-section {
  background: #fff;
}

.homescreen-card {
  align-items: center;
  gap: 22px;
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fbfaf7;
  box-shadow: 0 16px 46px rgba(32, 24, 52, 0.08);
}

.homescreen-card img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(109, 61, 242, 0.22);
}

.homescreen-card span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.homescreen-card h2 {
  margin-top: 6px;
  font-size: 36px;
}

.homescreen-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.48;
}

.final-cta {
  padding-bottom: calc(96px + var(--safe-bottom));
}

.final-cta .primary-link {
  margin-top: 24px;
}

@media (max-width: 920px) {
  .site-nav nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-scene {
    position: relative;
    inset: auto;
    min-height: 520px;
    margin-top: 42px;
  }

  .phone {
    right: 50%;
    bottom: 18px;
    transform: translateX(50%);
  }

  .capture-card {
    width: min(280px, 72vw);
  }

  .capture-card-one {
    right: auto;
    left: 0;
    bottom: 332px;
  }

  .capture-card-two {
    right: 0;
    bottom: 250px;
  }

  .capture-card-three {
    right: auto;
    left: 12px;
    bottom: 86px;
  }

  .demo-board,
  .speed-grid,
  .intent-panel,
  .privacy-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-nav {
    grid-template-columns: 1fr auto;
    width: calc(100% - 20px);
  }

  .brand span {
    font-size: 14px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-scene {
    min-height: 500px;
  }

  .phone {
    min-width: 228px;
  }

  .capture-card {
    padding: 12px;
  }

  .demo-section,
  .speed-section,
  .operator-section,
  .workflow-section,
  .pricing-section,
  .pwa-section,
  .final-cta {
    padding: 70px 16px;
  }

  .use-grid,
  .steps,
  .pricing-grid,
  .mismatch-grid,
  .before-after,
  .speed-compare,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .homescreen-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .homescreen-card h2 {
    font-size: 30px;
  }
}
