:root {
  color-scheme: dark;
  --page-gutter: clamp(18px, 2.4vw, 32px);
  --bg: #070b14;
  --bg-soft: #0e1726;
  --surface: rgba(16, 24, 39, 0.78);
  --surface-strong: #101827;
  --ink: #f8fafc;
  --text: #d9e4f2;
  --muted: #9fb0c6;
  --quiet: #7f8da3;
  --line: transparent;
  --line-strong: transparent;
  --sky: #38bdf8;
  --sky-dark: #7dd3fc;
  --teal: #5eead4;
  --orange: #f97316;
  --orange-dark: #fdba74;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --small-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.24), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(249, 115, 22, 0.16), transparent 27rem),
    linear-gradient(180deg, #0f172a 0%, var(--bg) 38%, #030711 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(226, 242, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 242, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 70%);
}

a {
  color: inherit;
}

a,
button {
  cursor: pointer;
}

a:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.36);
  outline-offset: 3px;
}

main,
.site-header,
.site-footer {
  width: calc(100% - (var(--page-gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  background: transparent;
  backdrop-filter: none;
}

.brand,
.top-nav,
.site-footer,
.trust-strip,
.proof-row,
.panel-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.24);
}

.top-nav {
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a,
.button,
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.top-nav a {
  color: var(--muted);
}

.top-nav a:hover,
.top-nav a:focus-visible,
.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(56, 189, 248, 0.1);
}

.top-nav .nav-store,
.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.24);
}

.top-nav .nav-store:hover,
.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.3);
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  padding-left: 20px !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 8% 0% -35%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(34, 59, 122, 0.382), transparent 64%);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.86fr);
  gap: 44px;
  /* min-height: 620px; */
  padding: 46px 0 56px;
  align-items: center;
}

.hero-copy,
.hero-actions,
.hero-visual,
.text-page .hero>* {
  position: relative;
  z-index: 1;
}

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

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 1;
}

.hero-actions {
  grid-column: 1;
  margin-top: 20px;
}

.eyebrow,
.feature-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--sky-dark);
  background: rgba(56, 189, 248, 0.1);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
}

h1 {
  margin: 16px 0 20px;
  max-width: 10ch;
  font-size: 5.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.landing-hero h1 {
  max-width: none;
  white-space: nowrap;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.18;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.03rem;
  line-height: 1.25;
}

.lede {
  max-width: 56ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button.secondary {
  color: var(--sky-dark);
  border-color: var(--line-strong);
  background: rgba(15, 23, 42, 0.72);
}

.button.secondary:hover,
.button.secondary:focus-visible,
.link-list a:hover,
.link-list a:focus-visible,
.feature-card:hover {
  transform: translateY(-1px);
  border-color: transparent;
  box-shadow: var(--small-shadow);
}

.trust-strip {
  flex-wrap: wrap;
  gap: 8px;
}

.trust-strip span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--teal);
  background: rgba(45, 212, 191, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

code {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  color: var(--ink);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.12em 0.36em;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-screenshot {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin: -10px;
  margin-left: -70px;
}

.app-window {
  width: min(100%, 420px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 24, 0.78);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #febc2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.dictation-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px;
}

.hero-icon {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(56, 189, 248, 0.22);
}

.panel-label {
  margin-bottom: 2px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
}

.dictation-panel h2 {
  margin-bottom: 0;
}

.transcript-box {
  display: grid;
  gap: 12px;
  margin: 0 24px 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(14, 28, 45, 0.9), rgba(12, 18, 32, 0.92));
}

.cursor-line {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.34), rgba(94, 234, 212, 0.2));
}

.line-long {
  width: 94%;
}

.line-mid {
  width: 76%;
}

.line-short {
  width: 48%;
}

.panel-actions {
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px 24px;
}

.panel-actions span,
.panel-actions strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.panel-actions span {
  color: var(--muted);
  background: rgba(226, 242, 255, 0.07);
}

.panel-actions strong {
  color: #07111f;
  background: var(--sky);
}

.proof-row {
  align-items: stretch;
  gap: 14px;
  margin: 16px 0;
}

.proof-row div {
  display: grid;
  align-content: start;
  flex: 1;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.proof-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.proof-row span,
.feature-card p,
.section-card p,
.section-card li,
.workflow-list p,
.link-list span {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.feature-card,
.section-card,
.info-section,
.workflow-section,
.link-list a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.feature-card,
.section-card {
  padding: 24px;
}

.feature-card .feature-kicker {
  margin-bottom: 14px;
}

.feature-card,
.link-list a {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.workflow-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 30px;
  margin: 16px 0;
  padding: 34px;
}

.workflow-section h2 {
  max-width: 12ch;
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.workflow-list {
  display: grid;
  gap: 12px;
  margin: -20px;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.58);
}

.workflow-list li>span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: #07111f;
  background: var(--sky);
  font-weight: 900;
}

.workflow-list p {
  margin-bottom: 0;
}

.info-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 24px;
  margin: 16px 0 34px;
  padding: 34px;
}

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

.link-list a {
  display: grid;
  gap: 5px;
  padding: 18px;
  text-decoration: none;
}

.link-list strong {
  color: var(--ink);
}

.link-list span {
  font-size: 0.96rem;
}

.site-footer {
  gap: 16px;
  justify-content: flex-start;
  padding: 16px 0 38px;
  color: var(--quiet);
  font-size: 0.93rem;
}

.site-footer span {
  margin-right: auto;
}

.site-footer a {
  text-decoration-color: rgba(159, 176, 198, 0.36);
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: var(--ink);
}

.text-page {
  margin-bottom: 42px;
}

.text-page .hero {
  margin-bottom: 16px;
  padding: 52px 0;
}

.text-page .hero h1 {
  max-width: 1020px;
  margin-top: 16px;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 0.98;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.nav a {
  border-color: var(--line);
  color: var(--sky-dark);
  background: rgba(15, 23, 42, 0.62);
}

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

.stack {
  display: grid;
  gap: 14px;
}

.support-stack {
  margin-top: 14px;
}

.section-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.section-card a {
  color: var(--sky-dark);
  font-weight: 800;
  text-underline-offset: 3px;
}

.warning {
  margin-top: 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--orange-dark);
  background: rgba(249, 115, 22, 0.08);
  font-weight: 800;
}

.meta {
  display: grid;
  gap: 12px;
}

.meta strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.9rem;
}

.meta span,
.meta a {
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (max-width: 1040px) {

  .landing-hero,
  .info-section,
  .workflow-section,
  .feature-band,
  .grid,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof-row {
    display: grid;
  }

  .landing-hero {
    min-height: auto;
    padding: 38px 0 30px;
  }

  .hero-visual {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
    order: 0;
  }

  .workflow-section h2 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {

  main,
  .site-header,
  .site-footer {
    width: calc(100% - (var(--page-gutter) * 2));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    display: none;
  }

  .landing-hero,
  .text-page .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .workflow-section,
  .info-section {
    padding: 26px 20px;
  }

  h1 {
    max-width: 100%;
    font-size: 3.45rem;
  }

  .lede {
    font-size: 1.08rem;
  }
}

@media (max-width: 520px) {

  .button,
  .actions,
  .actions a {
    width: 100%;
  }

  .brand span {
    white-space: nowrap;
  }

  .dictation-panel {
    grid-template-columns: 1fr;
  }

  .landing-hero h1 {
    font-size: 2.55rem;
  }

  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .workflow-list li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer span {
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}