:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --panel: #ffffff;
  --panel-2: #eef2f7;
  --ink: #121417;
  --muted: #56616c;
  --soft: #87919b;
  --line: rgba(18, 20, 23, 0.12);
  --line-strong: rgba(18, 20, 23, 0.2);
  --accent: #245fff;
  --accent-2: #7aa2ff;
  --danger: #ff5f5f;
  --max: 1160px;
  --header: 66px;
  --radius: 18px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  margin: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 95, 255, 0.44);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: white;
  font-weight: 700;
  left: 0;
  padding: 12px 16px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 160ms ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(246, 248, 251, 0.84);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: var(--header);
  left: 0;
  padding: 0 clamp(16px, 4vw, 52px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(180deg, #172033, #0c1324);
  border: 1px solid rgba(36, 95, 255, 0.26);
  border-radius: 12px;
  display: inline-flex;
  gap: 3px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.brand-mark i {
  background: white;
  border-radius: 999px;
  display: block;
  height: 14px;
  width: 3px;
}

.brand-mark i:nth-child(2) {
  height: 21px;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  justify-content: center;
}

.nav a {
  color: rgba(18, 20, 23, 0.62);
  font-size: 14px;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 42px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 2px;
  position: absolute;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 20px;
}

.nav-toggle::before {
  transform: translateY(-7px);
}

.nav-toggle::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: var(--ink);
}

.header-download {
  background: rgba(255, 255, 255, 0.86);
  min-height: 42px;
  padding: 0 16px;
}

.hero {
  min-height: calc(88svh - var(--header));
  overflow: clip;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0) 0%, rgba(246, 248, 251, 0.92) 100%),
    linear-gradient(90deg, rgba(36, 95, 255, 0.11), rgba(246, 248, 251, 0) 42%, rgba(14, 165, 233, 0.08));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-glow {
  background:
    linear-gradient(rgba(18, 20, 23, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 23, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  inset: 0;
  mask-image: linear-gradient(180deg, black, transparent 78%);
  opacity: 0.26;
  position: absolute;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.72fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: calc(88svh - var(--header));
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 52px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-head h2,
.final-cta h2 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 660;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero h1 span {
  color: var(--accent);
  display: block;
}

.hero-text,
.page-hero p,
.section-head p,
.final-cta p {
  color: rgba(18, 20, 23, 0.74);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin-top: 22px;
  max-width: 720px;
}

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

.microcopy {
  color: var(--soft);
  font-size: 14px;
  margin-top: 16px;
}

.speech-stage {
  min-width: 0;
}

.hero-photo-card {
  aspect-ratio: 5 / 4;
  background: #dfe7f1;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.16);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.hero-photo-card::after {
  background:
    linear-gradient(180deg, rgba(36, 95, 255, 0.08), rgba(246, 248, 251, 0.02)),
    linear-gradient(90deg, rgba(246, 248, 251, 0.08), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-photo-card picture,
.hero-photo-card img {
  height: 100%;
  width: 100%;
}

.hero-photo-card img {
  filter: saturate(0.88) contrast(1.04) brightness(1.03);
  object-fit: cover;
  object-position: 54% 43%;
}

.mini-window,
.mode-card,
.plan,
.contact-block,
.check-item,
details {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-window {
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.window-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
}

.window-top span {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.window-top span:first-child {
  background: var(--danger);
}

.window-top strong {
  color: rgba(18, 20, 23, 0.54);
  font-size: 13px;
  margin-left: 10px;
}

.dictation-state {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 30px 28px 0;
}

.record-dot {
  background: var(--danger);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(255, 95, 95, 0.12);
  display: inline-block;
  height: 12px;
  width: 12px;
}

.wave {
  display: flex;
  gap: 3px;
  margin-left: auto;
}

.wave i {
  animation: wave 1.1s ease-in-out infinite;
  background: var(--accent);
  border-radius: 999px;
  display: block;
  height: 16px;
  width: 3px;
}

.wave i:nth-child(2) {
  animation-delay: 0.08s;
  height: 26px;
}

.wave i:nth-child(3) {
  animation-delay: 0.16s;
  height: 34px;
}

.wave i:nth-child(4) {
  animation-delay: 0.24s;
  height: 22px;
}

.typed-output {
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
  margin: 28px;
  padding-left: 18px;
}

.insert-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  padding: 18px 28px 24px;
}

.insert-row span {
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 760;
  padding: 8px 12px;
}

.stage-metrics {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.stage-metrics div {
  padding: 18px 10px 0;
  text-align: center;
}

.stage-metrics strong {
  display: block;
  font-size: 15px;
}

.stage-metrics span {
  color: var(--soft);
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}

.app-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 34px clamp(18px, 5vw, 52px);
  text-align: center;
}

.app-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 22px auto 0;
  max-width: 920px;
}

.app-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(18, 20, 23, 0.66);
  font-size: 14px;
  padding: 10px 14px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(78px, 10vw, 136px) clamp(18px, 5vw, 52px);
}

.section-head {
  max-width: 830px;
}

.section-head.compact {
  margin-top: 42px;
}

.section-head h2,
.final-cta h2 {
  font-size: clamp(30px, 4.4vw, 48px);
}

.flow-columns {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
}

.step {
  border-top: 1px solid var(--line);
  padding: 26px clamp(18px, 3vw, 30px) 0 0;
}

.step span,
.mode-card span,
.plan span,
.contact-block span,
.check-item span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 760;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.step h3,
.mode-card h2,
.plan h3,
.contact-block a,
.feature-row h2,
.legal-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.14;
  margin: 0 0 14px;
}

.visual-section {
  max-width: none;
}

.visual-section .section-head {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
}

.media-bleed {
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
}

.media-bleed img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(0.84) brightness(0.98);
  width: 100%;
}

.workflow-board {
  background:
    radial-gradient(circle at 14% 18%, rgba(36, 95, 255, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #eef4fb 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  display: grid;
  gap: clamp(22px, 4vw, 54px);
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.38fr);
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
  padding: clamp(18px, 4vw, 48px);
}

.workspace-window {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.13);
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.message-lines {
  display: grid;
  gap: 14px;
  padding: 34px clamp(20px, 4vw, 42px) 18px;
}

.message-lines i {
  background: linear-gradient(90deg, rgba(18, 20, 23, 0.16), rgba(18, 20, 23, 0.05));
  border-radius: 999px;
  display: block;
  height: 13px;
}

.message-lines i:nth-child(1) {
  width: 58%;
}

.message-lines i:nth-child(2) {
  width: 86%;
}

.message-lines i:nth-child(3) {
  width: 74%;
}

.message-lines i:nth-child(4) {
  width: 42%;
}

.speech-pill {
  align-items: center;
  background: #111827;
  border-radius: 18px;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.24);
  color: white;
  display: flex;
  gap: 14px;
  margin: clamp(18px, 4vw, 42px);
  padding: 18px;
}

.speech-pill p,
.speech-pill strong {
  color: white;
}

.speech-pill p {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.74;
}

.clean-output {
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.48;
  margin: 0 clamp(20px, 4vw, 42px) 36px;
  padding-left: 18px;
}

.workflow-side {
  align-self: center;
}

.workflow-side > span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 760;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.workflow-side h3 {
  font-size: clamp(30px, 4.3vw, 48px);
  line-height: 1.02;
  margin: 0;
}

.workflow-side ul {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.workflow-side li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding: 15px 0;
}

.workflow-side li strong {
  color: var(--ink);
}

.workflow-side li span {
  color: var(--muted);
  font-size: 14px;
}

.dark-split {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.62fr);
}

.split-copy {
  max-width: 620px;
}

.text-link {
  color: var(--accent);
  display: inline-flex;
  font-weight: 720;
  margin-top: 24px;
}

.mode-panel {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 26px;
  padding-left: clamp(22px, 4vw, 44px);
}

.mode-panel div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.mode-panel span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 760;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mode-panel strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.pricing-pair {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 46px;
}

.pricing-pair.wide {
  margin-top: 0;
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: clamp(24px, 4vw, 38px);
}

.plan.featured {
  border-color: rgba(36, 95, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(36, 95, 255, 0.14);
}

.plan h3 {
  font-size: clamp(40px, 5vw, 58px);
}

.plan ul {
  color: var(--muted);
  line-height: 1.75;
  margin: 26px 0 32px;
  padding-left: 20px;
}

.plan .button {
  margin-top: auto;
}

.pricing-note {
  color: var(--soft);
  margin-top: 24px;
}

.feature-stack {
  border-top: 1px solid var(--line);
}

.feature-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  padding: 34px 0;
}

.mode-grid,
.contact-grid,
.checklist {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-card,
.contact-block,
.check-item {
  padding: clamp(24px, 4vw, 36px);
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-list span {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(74px, 11vw, 132px) clamp(18px, 5vw, 52px);
}

.page-hero-inner {
  margin: 0 auto;
  max-width: 980px;
}

.page-hero h1 {
  max-width: 900px;
}

.faq-stack {
  display: grid;
  gap: 12px;
}

details {
  padding: 24px 26px;
}

summary {
  cursor: pointer;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  list-style: none;
}

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

details p {
  margin-top: 14px;
  max-width: 760px;
}

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

.contact-block a {
  color: var(--ink);
  display: inline-flex;
}

.contact-band {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 28px;
}

.legal-content {
  display: grid;
  gap: 0;
}

.legal-content section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 0.64fr);
  padding: 30px 0;
}

.legal-content a {
  color: var(--accent);
}

.final-cta {
  border-top: 1px solid var(--line);
  padding: clamp(78px, 11vw, 138px) clamp(18px, 5vw, 52px);
}

.final-cta > div {
  margin: 0 auto;
  max-width: 880px;
}

.site-footer {
  background: #eef2f7;
  border-top: 1px solid var(--line);
  padding: 48px clamp(18px, 5vw, 52px);
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(250px, 0.9fr) repeat(3, minmax(140px, 0.32fr));
  margin: 0 auto;
  max-width: var(--max);
}

.footer-grid h2 {
  font-size: 14px;
  margin: 0 0 16px;
}

.footer-grid a,
.footer-grid p {
  color: rgba(18, 20, 23, 0.58);
  display: block;
  font-size: 14px;
  margin-top: 10px;
}

.footer-grid a.brand {
  color: var(--ink);
  display: inline-flex;
  font-size: 18px;
  gap: 16px;
  margin: 0 0 18px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero [data-reveal],
.page-hero [data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.74);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 16px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-download {
    display: none;
  }

  .nav {
    align-items: stretch;
    background: rgba(246, 248, 251, 0.98);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    box-shadow: 0 26px 50px rgba(15, 23, 42, 0.16);
    display: none;
    flex-direction: column;
    gap: 0;
    grid-column: 1 / -1;
    justify-content: start;
    left: 0;
    padding: 12px 16px 18px;
    position: absolute;
    right: 0;
    top: var(--header);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    padding: 17px 4px;
  }

  .hero-inner,
  .dark-split,
  .workflow-board,
  .feature-row,
  .legal-content section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: start;
    min-height: auto;
    padding-top: 58px;
  }

  .mode-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 28px;
  }

  .flow-columns,
  .pricing-pair,
  .mode-grid,
  .contact-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: auto;
  }

  .workflow-board {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  :root {
    --header: 62px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    height: 32px;
    width: 32px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10.2vw, 42px);
  }

  .section-head h2,
  .final-cta h2 {
    font-size: clamp(29px, 8.4vw, 38px);
  }

  .hero-text,
  .page-hero p,
  .section-head p,
  .final-cta p {
    font-size: 17px;
  }

  .hero-actions,
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .typed-output {
    font-size: 17px;
    margin: 22px;
  }

  .dictation-state,
  .insert-row {
    padding-left: 22px;
    padding-right: 22px;
  }

  .stage-metrics {
    grid-template-columns: 1fr;
  }

  .stage-metrics div {
    border-top: 1px solid var(--line);
    padding: 16px 0;
  }

  .workflow-board {
    padding: 14px;
  }

  .workspace-window {
    min-height: 360px;
  }

  .hero-photo-card {
    aspect-ratio: 5 / 4;
    border-radius: 20px;
  }

  .hero-photo-card img {
    object-position: 55% 44%;
  }

  .speech-pill {
    align-items: flex-start;
    margin: 22px;
  }

  .workflow-side h3 {
    font-size: 29px;
  }

  .section,
  .page-hero,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  details,
  .mode-card,
  .contact-block,
  .check-item,
  .plan {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
