:root {
  color-scheme: light;
  --page: #f7f9fc;
  --surface: #fff;
  --ink: #131e2e;
  --muted: #4e6177;
  --accent: #075ea6;
  --line: #dbe4ee;
  --wrap: 72rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
:where(a, select):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(var(--wrap), calc(100% - 5rem)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--surface);
  border-radius: .5rem;
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-header { min-height: 5.25rem; border-bottom: 1px solid var(--line); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  font-size: 1.1875rem;
  letter-spacing: -.035em;
  font-weight: 720;
}
.brand img {
  border-radius: 27%;
  box-shadow: 0 0 0 1px #21395319, 0 3px 7px #112b4216;
}
.site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 3vw, 1.75rem);
}
.site-header nav a, .site-footer nav a {
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
}
.site-header nav a:hover, .site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.site-header [aria-current="page"] { color: var(--accent); text-decoration: underline; }
.nav-download {
  padding: .44rem 1rem;
  border: 1px solid #cbd9e7;
  border-radius: 100px;
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: clamp(2.25rem, 5.6vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 5.5vw, 5rem);
}
.eyebrow {
  margin-bottom: 1.2rem;
  font-size: .9375rem;
  font-weight: 650;
  color: var(--accent);
}
.hero h1 {
  max-width: 35rem;
  font-size: clamp(3rem, 5.25vw, 4.75rem);
  line-height: 1.02;
  font-weight: 690;
  letter-spacing: -.037em;
  word-spacing: .015em;
}
.hero h1 em {
  display: block;
  color: #096ab2;
  font-style: normal;
}
@supports (background-clip: text) {
  .hero h1 em {
    background: linear-gradient(105deg, #087d9b, #165dcc 86%);
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  .hero h1 em { background: none; color: CanvasText; }
}
.hero-description {
  max-width: 28rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}
.store-link { display: inline-block; margin-top: 1.65rem; border-radius: .5rem; }
.store-link:hover { opacity: .82; }

.demo {
  min-width: 0;
  padding: clamp(1.25rem, 2.75vw, 2.125rem);
  border: 1px solid #d9e5f2;
  border-radius: clamp(1.65rem, 3.4vw, 2.75rem);
  background:
    radial-gradient(ellipse at 10% 46%, #d9faff 0%, transparent 63%),
    radial-gradient(ellipse at 100% 86%, #dceaff 0%, transparent 62%),
    linear-gradient(150deg, #fdfefe, #eef4fb);
  box-shadow: inset 0 1px 0 #fff, 0 20px 54px -34px #2448715c;
}
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.demo-heading > span { font-weight: 670; line-height: 1.25; letter-spacing: -.015em; }
.language-picker { position: relative; flex: 0 0 auto; }
.language-picker::after {
  content: "";
  position: absolute;
  inset: 41% .875rem auto auto;
  width: .4rem;
  height: .4rem;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.language-picker select {
  min-height: 2.75rem;
  appearance: none;
  cursor: pointer;
  padding: .55rem 2rem .55rem .85rem;
  border: 1px solid #ccdceb;
  border-radius: 100px;
  background: #ffffffde;
  color: #224361;
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
}
.demo-scene {
  display: flex;
  flex-direction: column;
  width: min(100%, 28rem);
  margin: clamp(1.4rem, 3vw, 2.25rem) auto .25rem;
}
.demo-message {
  position: relative;
  width: fit-content;
  max-width: 89%;
  padding: .8rem 1.1rem .95rem;
  border: 1px solid;
  border-radius: 1.35rem;
  font-size: clamp(.9375rem, 1.42vw, 1.125rem);
  font-weight: 640;
  line-height: 1.35;
}
.demo-message::after {
  content: "";
  position: absolute;
  bottom: -.47rem;
  width: .875rem;
  height: .875rem;
  transform: skewY(-38deg);
  border-radius: 0 0 .2rem .2rem;
}
.demo-source {
  align-self: start;
  z-index: 1;
  border-color: #72d7ee;
  background: linear-gradient(111deg, #74efdf, #72cef9 78%, #79baff);
  color: #0c304c;
  box-shadow: inset 0 1px 0 #ffffff85, 0 9px 23px -10px #0885b15c;
}
.demo-source::after {
  left: 1.25rem;
  background: #74ebdf;
  border: solid #72d7ee;
  border-width: 0 0 1px 1px;
}
.demo-label {
  margin-bottom: .25rem;
  color: #2c526b;
  font-size: .875rem;
  font-weight: 650;
}
.demo-result {
  align-self: end;
  z-index: 2;
  min-width: min(15rem, 89%);
  margin-top: -.2rem;
  border-color: #c7dbee;
  background: linear-gradient(135deg, #f7fcff, #e0edf9);
  color: #172f4a;
  box-shadow: inset 0 1px 0 #fff, 0 9px 23px -10px #49698758;
}
.demo-result::after {
  right: 1.25rem;
  transform: skewY(38deg);
  background: #e2eef9;
  border: solid #c7dbee;
  border-width: 0 1px 1px 0;
}

.demo-keyboard {
  display: grid;
  gap: .375rem;
  margin: 1.8rem .5rem 0;
  padding: .7rem;
  border: 1px solid #cdd8e3;
  border-radius: 1.15rem;
  background: linear-gradient(160deg, #eef2f6, #d7dfe8);
  box-shadow: inset 0 1px 2px #fff, 0 16px 21px -16px #17334d74;
}
.key-row { display: flex; min-width: 0; justify-content: center; gap: clamp(.18rem, .5vw, .35rem); }
.key-row span {
  display: grid;
  place-items: center;
  width: calc((100% - 9 * clamp(.18rem, .5vw, .35rem)) / 10);
  min-width: 0;
  min-height: clamp(1.55rem, 2.5vw, 2rem);
  border-radius: .35rem;
  background: linear-gradient(#fff, #f4f7fa);
  box-shadow: 0 1px 1px #253e573b;
  color: #2b3b50;
  font-size: .75rem;
  font-weight: 580;
  line-height: 1;
}
.key-row-bottom span { width: 19%; background: #edf2f7; }
.key-row-bottom span:nth-child(2) { flex-grow: 1; background: #fff; }
.key-row-bottom span:last-child { background: #daebfb; color: #1b5283; }

.feature-section { padding-block: 4rem; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 1.7rem; }
.section-heading h2 {
  max-width: 37rem;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 680;
  letter-spacing: -.037em;
}
.section-heading h2 span { display: block; }

.voice-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
}
.voice-copy .eyebrow { margin-bottom: .5rem; }
.voice-copy h3 {
  margin-bottom: .55rem;
  font-size: clamp(1.7rem, 3.25vw, 2.65rem);
  font-weight: 690;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.voice-copy > p:not(.eyebrow) { max-width: 31rem; color: var(--muted); }
.voice-release { margin-top: .95rem; }
.voice-release strong { display: block; margin-bottom: .15rem; color: var(--accent); font-weight: 670; }
.voice-visual {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: clamp(1rem, 3.35vw, 2.75rem) .8rem;
  border: 1px solid #dce8f5;
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at 12% 80%, #ddfaff, transparent 73%), linear-gradient(125deg, #f6fbff, #edf4fe);
}
.voice-transcript {
  padding: .65rem 1rem;
  border: 1px solid #d5e3f3;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 6px 15px -8px #325a8152;
  color: #213c58;
  font-weight: 630;
  line-height: 1.4;
}
.voice-signal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  padding: .4rem .95rem .4rem .4rem;
  border: 1px solid #d4e3f2;
  border-radius: 100px;
  background: #f7fbff;
}
.mic-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(140deg, #82f0e7, #86c9ff);
  color: #18517d;
}
.mic-icon i { width: .39rem; height: .77rem; margin-bottom: .27rem; border-radius: .3rem; background: currentColor; }
.mic-icon::before {
  content: "";
  position: absolute;
  top: 1rem;
  width: .72rem;
  height: .58rem;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 .4rem .4rem;
}
.mic-icon::after { content: ""; position: absolute; top: 1.57rem; width: 1.5px; height: .24rem; background: currentColor; }
.voice-wave { display: flex; align-items: center; gap: .2rem; }
.voice-wave i { width: .18rem; height: .55rem; border-radius: 1rem; background: #298fd3; }
.voice-wave i:nth-child(2n) { height: .88rem; }
.voice-wave i:nth-child(4n + 3) { height: 1.12rem; }
.voice-wave i:nth-child(5), .voice-wave i:nth-child(9) { height: 1.39rem; }

.features {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  overflow: hidden;
}
.feature { min-width: 0; padding: clamp(1.35rem, 2.8vw, 2.15rem); }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-languages { background: linear-gradient(145deg, #f0fbff, #f8fbff 82%); }
.feature h3 { margin-bottom: .45rem; font-size: 1.35rem; font-weight: 680; letter-spacing: -.025em; line-height: 1.2; }
.feature-languages h3 span {
  display: inline-block;
  vertical-align: -.08em;
  margin-right: .1em;
  color: var(--accent);
  font-size: 1.55em;
  font-weight: 710;
  line-height: 1;
  letter-spacing: -.065em;
}
.feature p, .privacy-note p { color: var(--muted); }
.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.language-list li {
  padding: .12rem .6rem;
  border: 1px solid #d4e3f0;
  border-radius: 50px;
  background: #ffffffba;
  color: #254463;
  font-size: .875rem;
  font-weight: 580;
}
.feature-icon {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: .75rem;
  border: 1px solid #d5e5f5;
  border-radius: .8rem;
  background: linear-gradient(145deg, #f4fbff, #e5effa);
  color: #2c6594;
}
.clipboard-icon::before {
  content: "";
  width: .96rem;
  height: 1.06rem;
  border: 1.5px solid currentColor;
  border-radius: .16rem;
}
.clipboard-icon::after {
  content: "";
  position: absolute;
  top: .53rem;
  width: .48rem;
  height: .29rem;
  border: 1.5px solid currentColor;
  border-radius: .1rem;
  background: #f2f9ff;
}
.suggestions-icon { display: flex; align-items: center; justify-content: center; gap: .16rem; }
.suggestions-icon i { width: .22rem; height: .22rem; border-radius: 50%; background: currentColor; }

.privacy-note {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.55rem clamp(1.3rem, 2.7vw, 2.15rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #eef5fc;
}
.privacy-icon { align-self: start; margin: .1rem 0 0; background: #fafcff; }
.privacy-icon::before {
  content: "";
  width: .85rem;
  height: .62rem;
  margin-top: .28rem;
  border: 1.5px solid currentColor;
  border-radius: .15rem;
}
.privacy-icon::after {
  content: "";
  position: absolute;
  top: .52rem;
  width: .52rem;
  height: .39rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: .35rem .35rem 0 0;
}
.privacy-copy { flex: 1; }
.privacy-note h2 { font-size: 1.3rem; letter-spacing: -.032em; }
.privacy-note p { max-width: 41rem; margin-top: .25rem; }
.privacy-note a { color: var(--accent); font-weight: 650; }
.site-footer { padding-block: 2.4rem; }
.site-footer p { margin-top: .33rem; font-size: .875rem; color: var(--muted); }

.legal-main { max-width: 48rem; padding-block: 3.75rem; }
.legal-main article > h1, .error-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.037em;
}
.legal-main article > h1 + p { color: var(--muted); }
.legal-main h2 { margin: 1.5rem 0 .65rem; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.025em; }
.legal-main h3 { margin: 1.15rem 0 .5rem; font-size: 1.125rem; line-height: 1.3; }
.legal-main p, .legal-main ul, .legal-main ol { margin: 0 0 1rem; }
.legal-main ul, .legal-main ol { padding-inline-start: 1.5rem; }
.legal-main hr { border: 0; border-top: 1px solid var(--line); margin: 1.75rem 0; }
.legal-footer { border-top: 1px solid var(--line); }
.error-page { padding-block: 4rem; }
.error-page p { margin-bottom: 1rem; }

@media (max-width: 58rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero { gap: 1.85rem; }
  .hero h1 { font-size: clamp(2.65rem, 5.7vw, 4rem); }
  .hero-description { font-size: 1rem; }
  .feature { padding-inline: 1.15rem; }
}

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.1rem; padding-block: 3rem; }
  .hero h1 { font-size: clamp(2.75rem, 9.8vw, 4.3rem); }
  .feature-section { padding-block: 2.75rem; }
  .voice-feature { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .feature { padding: 1.25rem; }
  .feature-languages { grid-column: 1 / -1; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .feature:nth-child(2) { border-left: 0; }
  .privacy-note { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .65rem .85rem; }
  .privacy-note a { grid-column: 2; }
}

@media (max-width: 29rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.5rem; gap: .75rem; }
  .site-header .brand img { width: 32px; height: 32px; }
  .site-header nav { flex-wrap: wrap; justify-content: end; gap: .3rem .75rem; }
  .site-header nav a { font-size: .875rem; }
  .nav-download { padding-inline: .7rem; }
  .hero { padding-block: 2.45rem 2.75rem; }
  .demo { padding-inline: 1rem; }
  .demo-message { padding: .65rem .85rem .8rem; }
  .demo-keyboard { margin-inline: 0; padding: .55rem; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature + .feature { border-left: 0; }
  .site-footer { flex-direction: column; align-items: start; gap: .9rem; }
}
