:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1929;
  --surface-2: #111f31;
  --surface-3: #17283c;
  --text: #f7fafc;
  --muted: #9fb0c5;
  --faint: #65768c;
  --line: rgb(148 163 184 / 15%);
  --accent: #5eead4;
  --accent-strong: #2dd4bf;
  --blue: #38bdf8;
  --radius: 18px;
  --shadow: 0 30px 90px rgb(0 0 0 / 38%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 8%, rgb(14 116 144 / 13%), transparent 26rem),
    radial-gradient(circle at 15% 33%, rgb(37 99 235 / 9%), transparent 28rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #06201c;
  background: var(--accent);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgb(7 17 31 / 72%);
  backdrop-filter: blur(18px);
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; min-height: 74px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #b8c5d5; font-size: 14px; font-weight: 550; }
.nav-links a { transition: color 160ms ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-github { padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; background: rgb(255 255 255 / 3%); }
.menu-button { display: none; width: 40px; height: 40px; border: 0; color: inherit; background: transparent; }
.menu-button > span:not(.sr-only) { display: block; width: 21px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; }

.hero {
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 64px;
  padding-block: 80px 110px;
}
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow > span { width: 22px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(50px, 6.2vw, 84px); line-height: 0.99; letter-spacing: -0.062em; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-lead { max-width: 550px; margin-bottom: 32px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.button-primary { color: #06201c; background: var(--accent); box-shadow: 0 12px 35px rgb(45 212 191 / 20%); }
.button-primary:hover { background: #7af4df; }
.button-secondary { border-color: var(--line); background: rgb(255 255 255 / 3%); }
.button-secondary:hover { border-color: rgb(94 234 212 / 35%); background: rgb(255 255 255 / 6%); }
.trust-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; color: var(--faint); font-size: 12px; font-weight: 650; }
.trust-row span { display: inline-flex; align-items: center; }
.trust-row span:not(:last-child)::after { width: 3px; height: 3px; margin-inline: 11px; border-radius: 50%; background: #435269; content: ""; }

.hero-demo { position: relative; min-width: 0; perspective: 1000px; }
.browser-frame { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgb(148 163 184 / 18%); border-radius: var(--radius); background: #f2f5f8; box-shadow: var(--shadow); transform: rotateY(-2deg) rotateX(1deg); }
.browser-bar { display: grid; height: 48px; grid-template-columns: 100px 1fr 100px; align-items: center; border-bottom: 1px solid #d5dbe3; background: #e8edf2; }
.traffic-lights { display: flex; gap: 6px; padding-left: 17px; }
.traffic-lights i { width: 9px; height: 9px; border-radius: 50%; background: #b9c1cb; }
.traffic-lights i:first-child { background: #f87171; }
.traffic-lights i:nth-child(2) { background: #fbbf24; }
.traffic-lights i:nth-child(3) { background: #4ade80; }
.address { overflow: hidden; padding: 5px 14px; border: 1px solid #d4dae2; border-radius: 7px; color: #8c98a7; background: #fff; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.browser-more { padding-right: 16px; color: #a1aab6; text-align: right; letter-spacing: 2px; }
.page-preview { height: 388px; padding: 55px 50px; background: linear-gradient(135deg, #f8fafc, #e9eef4); }
.page-kicker, .page-title, .page-line { border-radius: 5px; background: #dfe6ed; }
.page-kicker { width: 80px; height: 8px; margin-bottom: 20px; background: #b9ddd8; }
.page-title { width: 60%; height: 25px; margin-bottom: 34px; background: #ccd5df; }
.page-line { width: 67%; height: 8px; margin-bottom: 12px; }
.page-line.wide { width: 88%; }
.page-line.short { width: 48%; }
.command-palette { position: absolute; z-index: 3; top: 82px; right: 7%; left: 7%; overflow: hidden; border: 1px solid #423f3f; border-radius: 13px; color: var(--text); background: #423f3f; box-shadow: 0 18px 55px rgb(0 0 0 / 38%); }
.demo-search { display: flex; align-items: center; padding: 12px; }
.demo-search input { min-width: 0; height: 42px; flex: 1; padding: 0 12px; border: 0; border-radius: 8px; outline: 0; color: #fff; background: #2c2a2a; font-size: 16px; }
kbd { display: inline-flex; min-width: 25px; height: 24px; align-items: center; justify-content: center; padding: 0 7px; border: 1px solid #465467; border-bottom-width: 2px; border-radius: 5px; color: #b9c6d5; background: #253142; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.demo-results { min-height: 190px; padding: 7px; }
.demo-result { display: grid; min-width: 0; grid-template-columns: 29px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px; }
.demo-result > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.demo-result.selected { background: #2f6e70; }
.result-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: #fff; background: #2c2a2a; font-size: 11px; font-weight: 850; }
.result-title { overflow: hidden; color: #eff5fa; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.result-title mark { color: #00ff7f; background: transparent; }
.result-url { overflow: hidden; color: #8fa0b4; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.demo-empty { padding: 55px 20px; color: #8fa0b4; font-size: 12px; text-align: center; }
.demo-hint { margin: 16px 0 0; color: #708096; font-size: 11px; text-align: center; }
.demo-hint kbd { margin-right: 5px; }
.glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.glow-one { top: -60px; right: -30px; width: 230px; height: 230px; background: radial-gradient(circle, rgb(45 212 191 / 20%), transparent 68%); }
.glow-two { bottom: -40px; left: -50px; width: 200px; height: 200px; background: radial-gradient(circle, rgb(37 99 235 / 18%), transparent 68%); }

.section { padding-block: 120px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-heading .eyebrow { align-self: flex-start; margin-top: 13px; }
h2 { margin-bottom: 0; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.14; letter-spacing: -0.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 250px; padding: 29px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 1%)); transition: transform 180ms ease, border-color 180ms ease; }
.feature-card:hover { border-color: rgb(94 234 212 / 28%); transform: translateY(-3px); }
.feature-highlight { grid-column: span 2; background: linear-gradient(135deg, rgb(45 212 191 / 11%), rgb(37 99 235 / 7%)); }
.feature-icon { display: grid; width: 41px; height: 41px; margin-bottom: 27px; place-items: center; border: 1px solid rgb(94 234 212 / 25%); border-radius: 10px; color: var(--accent); background: rgb(45 212 191 / 8%); font-size: 17px; font-weight: 750; }
.feature-card h3 { margin-bottom: 10px; font-size: 20px; letter-spacing: -0.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-card p kbd { vertical-align: 1px; }
.mini-command { display: flex; max-width: 390px; align-items: center; gap: 10px; margin-top: 25px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; color: #7e8fa3; background: #0b1522; font-size: 12px; }
.mini-command span { flex: 1; }
.site-control { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 22px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #0b1522; }
.site-control span { display: flex; min-width: 0; flex-direction: column; }
.site-control small { color: #78899d; font-size: 9px; }
.site-control strong { overflow: hidden; color: var(--accent); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.site-control i { display: flex; width: 40px; height: 23px; flex: 0 0 auto; align-items: center; justify-content: flex-end; padding: 3px; border-radius: 999px; background: #2f6e70; }
.site-control b { width: 17px; height: 17px; border-radius: 50%; background: #fff; }

.speech-feature {
  display: grid;
  min-height: 390px;
  grid-column: 1 / -1;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  padding: 46px;
  background:
    radial-gradient(circle at 82% 18%, rgb(56 189 248 / 11%), transparent 20rem),
    linear-gradient(135deg, rgb(45 212 191 / 10%), rgb(37 99 235 / 6%));
}
.speech-feature .feature-icon { margin-bottom: 24px; }
.speech-feature h3 { font-size: 28px; }
.speech-feature .speech-copy > p { max-width: 470px; font-size: 15px; }
.speech-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.speech-points span, .speech-language span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #9fb0c5; background: rgb(7 17 31 / 48%); font-size: 10px; font-weight: 650; }
.speech-visual { overflow: hidden; border: 1px solid rgb(148 163 184 / 20%); border-radius: 14px; background: #eef2f6; box-shadow: 0 22px 65px rgb(0 0 0 / 28%); transform: rotateY(-2deg) rotateX(1deg); }
.speech-browser-bar { display: flex; height: 38px; align-items: center; gap: 5px; padding: 0 12px; border-bottom: 1px solid #d4dbe3; background: #e2e7ed; }
.speech-browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #bac3cd; }
.speech-browser-bar i:first-child { background: #f87171; }
.speech-browser-bar i:nth-child(2) { background: #fbbf24; }
.speech-browser-bar i:nth-child(3) { background: #4ade80; }
.speech-browser-bar span { overflow: hidden; margin-left: 12px; color: #8b97a5; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.speech-page { position: relative; min-height: 276px; padding: 57px 38px 27px; color: #243244; background: linear-gradient(145deg, #f8fafc, #e8eef4); }
.speech-status { position: absolute; top: 14px; left: 50%; display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgb(30 41 59 / 96%); box-shadow: 0 7px 20px rgb(15 23 42 / 24%); font-size: 9px; transform: translateX(-50%); white-space: nowrap; }
.speech-status i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgb(74 222 128 / 16%); }
.speech-status strong { font-size: 9px; }
.speech-status span { color: #aeb9c7; }
.speech-page > small { color: #26877c; font-size: 9px; font-weight: 750; letter-spacing: 0.08em; }
.speech-page h4 { margin: 7px 0 12px; color: #172334; font-size: 20px; line-height: 1.25; letter-spacing: -0.025em; }
.speech-page p { max-width: 560px; margin-bottom: 9px; color: #5c6a7a; font-size: 11px; line-height: 1.7; }
.speech-page mark { color: inherit; background: linear-gradient(transparent 56%, rgb(94 234 212 / 42%) 56%); }
.speech-page .speech-english { color: #718096; font-size: 10px; }
.speech-language { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.speech-language span { border-color: #d8e0e8; color: #6a7888; background: rgb(255 255 255 / 72%); }

.shortcut-section { border-block: 1px solid var(--line); background: rgb(13 25 41 / 55%); }
.shortcut-layout { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 90px; }
.shortcut-intro { position: sticky; top: 118px; align-self: start; }
.shortcut-intro .eyebrow { margin-bottom: 22px; }
.shortcut-intro h2 { margin-bottom: 24px; }
.shortcut-intro > p { max-width: 440px; color: var(--muted); }
.mode-switch { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #091422; }
.mode-switch button { padding: 7px 11px; border: 0; border-radius: 7px; color: #78899d; background: transparent; cursor: pointer; font-size: 12px; }
.mode-switch button.active { color: #06201c; background: var(--accent); font-weight: 750; }
.shortcut-list { border-top: 1px solid var(--line); }
.shortcut-row { display: grid; grid-template-columns: minmax(140px, 0.7fr) 1.3fr; align-items: center; padding: 19px 5px; border-bottom: 1px solid var(--line); transition: opacity 160ms ease, transform 160ms ease; }
.shortcut-row[hidden] { display: none; }
.shortcut-row > span { display: flex; flex-wrap: wrap; gap: 6px; }
.shortcut-row strong { color: #b9c6d5; font-size: 14px; font-weight: 560; }

.install-card { display: grid; overflow: hidden; grid-template-columns: 0.9fr 1.1fr; border: 1px solid rgb(94 234 212 / 17%); border-radius: 22px; background: linear-gradient(145deg, #102537, #0d1929 60%); box-shadow: 0 30px 100px rgb(0 0 0 / 22%); }
.install-copy { padding: 58px; }
.install-copy .eyebrow { margin-bottom: 22px; }
.install-copy h2 { margin-bottom: 20px; font-size: 43px; }
.install-copy p { margin-bottom: 28px; color: var(--muted); }
.install-steps { display: flex; margin: 0; padding: 40px 46px; flex-direction: column; justify-content: center; list-style: none; background: rgb(4 11 20 / 28%); }
.install-steps li { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding-block: 22px; }
.install-steps li:not(:last-child) { border-bottom: 1px solid var(--line); }
.install-steps li > span { color: var(--accent); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.install-steps strong { display: block; margin-bottom: 7px; font-size: 15px; }
.install-steps code { display: inline-block; max-width: 100%; overflow-x: auto; color: #9aabba; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.install-steps p { margin: 0; color: #9aabba; font-size: 13px; }

.privacy-callout { display: grid; grid-template-columns: 1fr 0.8fr; align-items: end; gap: 100px; }
.privacy-callout .eyebrow { margin-bottom: 22px; }
.privacy-copy { padding-bottom: 5px; color: var(--muted); }
.privacy-copy p { margin-bottom: 18px; }
.privacy-copy a { color: var(--accent); font-size: 14px; font-weight: 700; }
.privacy-copy a:hover span { display: inline-block; transform: translateX(4px); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; min-height: 110px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: #63748a; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-inner > div { display: flex; justify-content: flex-end; gap: 20px; }
.footer-inner a:hover { color: var(--text); }

.privacy-page { min-height: calc(100vh - 184px); padding-block: 80px 120px; }
.privacy-document { max-width: 760px; }
.privacy-document .eyebrow { margin-bottom: 24px; }
.privacy-document h1 { margin-bottom: 22px; font-size: clamp(44px, 6vw, 68px); }
.privacy-document .effective { margin-bottom: 50px; color: var(--faint); }
.privacy-document h2 { margin: 46px 0 13px; font-size: 24px; letter-spacing: -0.025em; }
.privacy-document p, .privacy-document li { color: var(--muted); }
.privacy-document li { margin-bottom: 8px; }
.privacy-document a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 60px; padding-top: 90px; }
  .hero-copy { max-width: 680px; }
  .hero-demo { width: min(740px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-highlight { grid-column: span 2; }
  .speech-feature { grid-template-columns: 1fr; }
  .shortcut-layout { grid-template-columns: 1fr; gap: 55px; }
  .shortcut-intro { position: static; }
  .install-card { grid-template-columns: 1fr; }
  .privacy-callout { gap: 50px; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 64px; }
  .menu-button { display: block; cursor: pointer; }
  .nav-links { position: absolute; top: 63px; right: 14px; left: 14px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 12px; align-items: stretch; flex-direction: column; gap: 4px; background: #0d1929; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 10px; }
  .nav-github { border: 0; background: rgb(255 255 255 / 3%); }
  .hero { min-height: auto; gap: 48px; padding-block: 70px 80px; }
  h1 { font-size: clamp(48px, 16vw, 68px); }
  .hero-lead { font-size: 16px; }
  .browser-frame { transform: none; }
  .browser-bar { grid-template-columns: 72px minmax(0, 1fr) 44px; }
  .page-preview { height: 340px; padding: 45px 30px; }
  .command-palette { top: 78px; right: 4%; left: 4%; }
  .section { padding-block: 84px; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-bottom: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-highlight { grid-column: auto; }
  .feature-card { min-height: 220px; }
  .speech-feature { gap: 34px; padding: 30px 24px; }
  .speech-feature h3 { font-size: 24px; }
  .speech-visual { transform: none; }
  .speech-page { padding-inline: 24px; }
  .shortcut-row { grid-template-columns: 1fr; gap: 10px; }
  .install-copy, .install-steps { padding: 35px 25px; }
  .install-copy h2 { font-size: 36px; }
  .privacy-callout { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { min-height: 150px; grid-template-columns: 1fr; justify-items: center; gap: 10px; padding-block: 25px; }
  .footer-inner > div { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .browser-frame { transform: none; }
}
