:root {
  color-scheme: light;
  --paper: #f5f6f7;
  --card: #fff;
  --ink: #1e2226;
  --muted: #525960;
  --line: #dfe3e6;
  --accent: #88e95d;
  --accent-soft: #dffbca;
  --accent-ink: #0d4d00;
  --display: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", var(--display);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; }
h1, h2 { font-family: var(--display); letter-spacing: -.055em; text-wrap: balance; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #336fec; outline-offset: 4px; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

.container { width: min(1200px, calc(100% - 108px)); margin-inline: auto; }
.section { padding-block: clamp(54px, 8.25vw, 110px); }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 16px; z-index: 15; padding: 9px 15px;
  border-radius: 10px; background: var(--ink); color: white;
}

.site-header {
  position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #dce1e68f;
  background: #f5f6f7e8; backdrop-filter: blur(20px) saturate(135%);
}
.header-inner {
  position: relative; min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; column-gap: 21px;
}
.brand {
  display: inline-flex; justify-self: start; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 1.46rem; line-height: 1.05; font-weight: 790; letter-spacing: -.06em;
}
.brand img { flex: none; width: 31px; height: 31px; }
.site-nav {
  display: flex; align-items: center; gap: 0; padding: 3px; border: 1px solid #fff;
  border-radius: 999px; background: #e9ebee; box-shadow: 0 1px 3px #151b2610;
}
.site-nav a { padding: 7px clamp(12px, 1.8vw, 22px); border-radius: 999px; color: #444c54; font-size: .92rem; font-weight: 620; }
.site-nav a:hover { background: #f7f8f9; color: var(--ink); }
.site-nav a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #1d24301c; }
.header-cta { justify-self: end; }
.menu-button { display: none; }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 52px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 720;
  font-size: .955rem; line-height: 1.3; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button--small { min-height: 44px; padding: 8px 15px; font-size: .88rem; }
.button--dark { background: var(--ink); color: white; }
.button--dark:hover { background: #3a434b; }
.button--glass { background: #ffffffbd; border-color: #dce2e7; color: var(--ink); }
.button--glass:hover { border-color: #bfcad5; background: #fff; }
.button--accent { background: var(--accent-soft); color: var(--accent-ink); }
.button--accent:hover { background: var(--accent); }
.button:disabled { cursor: default; background: #e5e9eb; border-color: #dde0e3; color: #5a626b; }
.play-icon { display: inline-block; border-block: 4px solid transparent; border-left: 7px solid currentColor; }
.eyebrow { color: #535d67; font-size: .87rem; font-weight: 740; }
.text-link { display: inline-block; color: #245b98; font-weight: 720; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: #13416e; }

.hero {
  isolation: isolate;
  background: radial-gradient(ellipse at 90% 40%, #dce9ff 0%, transparent 50%),
              linear-gradient(180deg, #f7f9fc, var(--paper));
  padding-block: clamp(35px, 6vw, 82px) clamp(31px, 5.1vw, 69px);
}
.hero-inner {
  display: grid; align-items: center; grid-template-columns: .92fr 1.08fr;
  gap: clamp(34px, 5.95vw, 96px);
}
.hero-content { min-width: 0; }
.hero-kicker {
  display: inline-block; color: #37475a; padding: 5px 10px; border-radius: 999px;
  border: 1px solid #fff; background: #e9eff7;
}
.hero h1 {
  margin-block: 17px 15px; font-size: clamp(3rem, 6.14vw, 5.85rem);
  font-weight: 790; line-height: 1.11; letter-spacing: -.085em;
}
.hero-description { max-width: 386px; color: #48515b; font-size: clamp(1.02rem, 1.27vw, 1.16rem); }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 24px; }
.hero-requirement { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.ios-stage {
  min-width: 0; padding: 6px; border: 1px solid white; border-radius: 29px; background: #ffffffb5;
  box-shadow: 0 18px 48px #365c9b1c, inset 0 0 0 1px #e8f0ff55;
}
.ios-stage-media {
  aspect-ratio: 350 / 248; overflow: hidden; border-radius: 23px;
  background: #a6c9fb url("assets/ios-stage.webp") center / cover no-repeat;
}
.ios-stage-media img { width: 100%; height: auto; }
.ios-stage figcaption {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 14px; min-height: 63px; padding: 9px 11px 8px 13px;
}
.ios-stage figcaption p { color: #333b44; font-size: .9rem; font-weight: 670; }
.ios-stage-switch, .plans-switch {
  display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: #e9edf0;
}
.ios-stage-switch button, .plans-switch button {
  min-height: 39px; padding: 4px 9px; border: 0; border-radius: 999px; background: transparent;
  color: #454e59; font-size: .88rem; font-weight: 690;
}
.ios-stage-switch button:not(:disabled):hover { background: #f7f9fc; }
.ios-stage-switch button[aria-pressed="true"] { background: var(--ink); color: white; }
.ios-stage-switch button:disabled { cursor: wait; }

.section-heading { margin-bottom: clamp(22px, 4.45vw, 49px); }
.section-heading h2, .demo-intro h2, .download-inner h2 {
  margin-top: 9px; font-size: clamp(2.19rem, 4.25vw, 4.1rem); font-weight: 780;
}
.section-heading--split { display: grid; grid-template-columns: 1.5fr .7fr; gap: 27px; align-items: end; }
.section-heading--split > p { color: var(--muted); padding-bottom: 4px; }

.voice-feature {
  display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(19px, 4vw, 57px);
  min-width: 0; padding: 8px; border: 1px solid #fff; border-radius: 29px; background: #fff;
  box-shadow: 0 0 0 1px #e8eaee;
}
.feature-copy { padding: clamp(14px, 3vw, 42px); }
.feature-copy h3 { margin-top: 8px; font-size: clamp(1.95rem, 3.7vw, 3.4rem); letter-spacing: -.055em; }
.feature-copy > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.feature-copy .text-link { margin-top: 14px; }
.feature-image { width: 100%; min-width: 0; height: auto; aspect-ratio: 350 / 248; object-fit: cover; border-radius: 21px; background: #d8e8ff; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 16px; }
.feature-block {
  min-width: 0; padding: 6px; border: 1px solid white;
  border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #e8eaee;
}
.feature-block-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 16px clamp(14px, 2.65vw, 27px) 19px; }
.feature-block h3 { font-size: clamp(1.34rem, 2.45vw, 2.02rem); font-weight: 760; letter-spacing: -.04em; }
.feature-block p { color: var(--muted); }
.feature-block .text-link { margin-top: 2px; }
.tool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; margin-top: 22px; }
.tool-grid article { padding-top: 11px; border-top: 1px solid var(--line); }
.tool-grid h3 { font-size: .99rem; margin-bottom: 5px; }
.tool-grid h3 a { text-decoration: underline; text-underline-offset: .21em; }
.tool-grid p { color: var(--muted); font-size: .91rem; }

.demo-section {
  padding-block: clamp(48px, 8.3vw, 105px); border-block: 1px solid #dde5ec;
  background: radial-gradient(ellipse at 90% 22%, #e1ebff, transparent 52%), #eef1f5;
}
.demo-layout { display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(30px, 6.7vw, 108px); align-items: start; }
.demo-intro > p:not(.eyebrow) { margin-top: 13px; color: var(--muted); }
.demo-tabs { display: grid; gap: 3px; margin-top: 19px; padding: 5px; border-radius: 18px; border: 1px solid white; background: #e5e9ee; }
.demo-tabs button {
  width: 100%; min-height: 44px; padding: 9px 13px; border: 0; border-radius: 12px; background: transparent;
  color: #444e59; text-align: left; font-size: .96rem; font-weight: 680;
}
.demo-tabs button:hover { background: #f0f3f7; }
.demo-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 4px #24344c14; }
.demo-tabs button:focus-visible { outline-offset: -2px; }
.demo-workspace {
  display: flex; flex-direction: column; min-height: 337px; min-width: 0;
  padding: clamp(16px, 3.1vw, 33px); border: 1px solid #fff; border-radius: 27px; background: #ffffffcf;
  box-shadow: 0 11px 36px #364f7b13;
}
.demo-panel { min-width: 0; }
.demo-panel:not([hidden]) + .demo-panel:not([hidden]) { margin-top: 23px; }
.demo-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 13px; }
.demo-panel-header h3 { font-size: clamp(1.28rem, 2.45vw, 1.72rem); }
.demo-panel-header span { color: #555f68; font-size: .86rem; }
.demo-input, .demo-output { min-height: 90px; padding: 13px 15px; border: 1px solid #e8ebee; border-radius: 14px; }
.demo-input { color: #434d57; background: #f1f3f5; }
.demo-output { position: relative; margin-top: 8px; background: #eef8e7; border-color: #d9ebd0; }
.demo-input h4, .demo-output h4 { margin-bottom: 7px; font-size: .87rem; color: #49545e; }
.demo-output h4 { color: var(--accent-ink); }
.demo-output h4 span { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: #dff1d6; color: #29501f; }
.demo-output p { min-height: 2.55em; font-weight: 670; overflow-wrap: anywhere; }
.demo-output:has(select:not([hidden])) h4 { margin-right: 109px; }
.demo-output select {
  position: absolute; top: 7px; right: 8px; min-height: 33px; max-width: 115px; padding: 2px 6px;
  border: 1px solid #b8d1af; border-radius: 8px; background: white; color: #24432a; font-size: .86rem;
}
.demo-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-top: auto; padding-top: 13px; }
.demo-actions [role="status"]:not(.sr-only) { flex-basis: 100%; color: var(--muted); font-size: .87rem; text-align: right; }
.keyboard-select { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 9px; color: #424e59; font-weight: 680; }
.keyboard-select select { min-height: 42px; padding: 4px 8px; border: 1px solid #ccd5e0; border-radius: 8px; background: white; color: var(--ink); }
.keyboard-preview { border-radius: 13px; padding: 10px; background: #e4e8ef; color: #272d33; }
.keyboard-candidates, .keyboard-rows > div, .keyboard-bottom { display: flex; justify-content: center; gap: 4px; }
.keyboard-candidates { justify-content: space-around; padding-bottom: 7px; font-size: .91rem; font-weight: 720; }
.keyboard-rows { display: grid; gap: 4px; }
.keyboard-rows span, .keyboard-bottom span {
  display: grid; place-content: center; min-width: 0; min-height: 34px; padding: 2px;
  border: 1px solid #d8dee6; border-radius: 6px; background: #fbfcfe; box-shadow: 0 2px #989fa94c;
  text-align: center; font-size: .82rem; font-weight: 690;
}
.keyboard-rows span { flex: 0 1 9.7%; }
.keyboard-rows small { color: #56616c; font-size: .67rem; line-height: 1.05; }
.keyboard-preview[data-keyboard-mode="nine"] .keyboard-rows span { flex-basis: 30%; }
.keyboard-preview[data-keyboard-mode="double"] .keyboard-rows span { min-height: 38px; line-height: 1.14; }
.keyboard-bottom { margin-top: 5px; }
.keyboard-bottom span { flex: 0 1 16%; }
.keyboard-bottom span:nth-child(2) { flex-basis: 57%; }
.ocr-sheet { padding: 12px 13px; border: 1px solid #dce4ed; border-radius: 13px; background: #f0f4fa; }
.ocr-sheet > p { margin-bottom: 7px; font-weight: 720; }
.ocr-sheet fieldset { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ocr-sheet legend { color: #424d59; font-size: .87rem; margin-bottom: 5px; }
.ocr-sheet label { position: relative; cursor: pointer; }
.ocr-sheet input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ocr-sheet label span {
  display: inline-flex; align-items: center; min-height: 41px; padding: 4px 9px; border: 1px solid #d4dce6;
  border-radius: 9px; background: white; color: #313c47; font-weight: 650; font-size: .9rem;
}
.ocr-sheet input:checked + span { border-color: #9cc48a; background: var(--accent-soft); color: var(--accent-ink); }
.ocr-sheet input:focus-visible + span { outline: 3px solid #336fec; outline-offset: 1px; }
#demo-ocr [data-demo-output] { white-space: pre-line; }

.privacy-layout, .setup-section { display: grid; grid-template-columns: .96fr 1.04fr; gap: clamp(30px, 7.5vw, 102px); }
.privacy-layout .section-heading, .setup-section .section-heading { margin-bottom: 0; }
.privacy-layout .text-link, .setup-section .text-link { margin-top: 16px; }
.privacy-list, .setup-steps {
  padding: 5px clamp(13px, 2.6vw, 26px); border: 1px solid #fff; border-radius: 26px;
  background: white; box-shadow: 0 0 0 1px #edf0f2;
}
.privacy-list article, .setup-steps li { padding-block: 14px 16px; }
.privacy-list article + article, .setup-steps li + li { border-top: 1px solid #eaedf0; }
.privacy-list h3, .setup-steps h3 { margin-bottom: 4px; font-size: 1.08rem; }
.privacy-list p, .setup-steps p { color: var(--muted); }
.setup-steps { list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.setup-steps li > span { color: var(--accent-ink); font-size: 1rem; font-weight: 750; font-variant-numeric: tabular-nums; }

.plans-section { padding-block: 18px; }
.plans-section [data-membership] {
  --edition-accent: #d6c2ff;
  --edition-top: #130b51;
  --edition-glow: #241263;
  color: #fff; color-scheme: dark; overflow: hidden;
  padding: clamp(21px, 5.55vw, 70px); border-radius: 30px;
  background: radial-gradient(ellipse at 80% 0%, var(--edition-glow), transparent 56%),
              linear-gradient(165deg, var(--edition-top), #060309 63%);
}
.plans-section [data-membership="buyout"] { --edition-accent: #ffd8c6; --edition-top: #612a00; --edition-glow: #54220b; }
.plans-section :focus-visible { outline-color: var(--edition-accent); }
.plans-heading { display: grid; grid-template-columns: 1fr min(32%, 270px); gap: 12px; align-items: center; margin-bottom: 21px; }
.plans-heading .eyebrow { color: var(--edition-accent); }
.plans-heading h2 { margin-top: 9px; }
.plans-heading h2 + p { max-width: 450px; margin-top: 11px; color: #e1dee4; }
.plans-heading img {
  width: 100%; height: auto; justify-self: end; mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse closest-side at center, black 90%, transparent 140%);
}
.plans-switch { margin-top: 17px; border: 1px solid #ffffff35; background: #ffffff14; }
.plans-switch button { padding-inline: 14px; color: #eeeaf4; }
.plans-switch button:hover { background: #ffffff28; }
.plans-switch button[aria-pressed="true"] { color: var(--edition-accent); background: #ffffff26; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.plan { padding: clamp(14px, 2.45vw, 28px); border: 1px solid #ffffff26; border-radius: 19px; background: #ffffff0a; }
[data-membership="subscription"] [data-plan="subscription"],
[data-membership="buyout"] [data-plan="buyout"] { border-color: var(--edition-accent); background: #ffffff13; }
[data-membership="subscription"] [data-plan="subscription"] h3,
[data-membership="buyout"] [data-plan="buyout"] h3 { color: var(--edition-accent); }
.plan-for { min-height: 2.05em; color: #ddd8e2; font-size: .87rem; font-weight: 630; }
.plan h3 { margin: 5px 0 11px; font-size: clamp(1.39rem, 2.55vw, 2.22rem); letter-spacing: -.04em; }
.plan ul { display: grid; padding: 0; list-style: none; color: #eeeaf0; }
.plan li { border-top: 1px solid #ffffff24; padding-block: 7px; }
.plans-note { margin-top: 13px; color: #d8d1df; font-size: .87rem; }

.download-section { padding: 10px 0 54px; }
.download-inner {
  display: grid; grid-template-columns: 1fr .82fr; align-items: end;
  gap: 25px; padding: clamp(22px, 5.65vw, 60px); border-radius: 29px;
  background: radial-gradient(ellipse at 86% 5%, #d8e8ff, transparent 72%), #e9eff7;
  border: 1px solid #fff;
}
.download-icon { width: 55px; height: 55px; border-radius: 13px; background: var(--ink); }
.download-heading h2 { margin-block: 11px 7px; font-size: clamp(2rem, 4vw, 3.8rem); }
.download-heading p, .download-cta p { color: #4c5762; }
.download-cta p { margin-top: 9px; font-size: .86rem; }
.download-actions { margin-top: 0; column-gap: 14px; }
.site-footer { border-top: 1px solid #e1e4e9; background: #eef0f2; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 21px; min-height: 88px; padding-block: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 19px; }
.footer-inner a:not(.brand), .site-footer small { color: #4e5862; font-size: .875rem; }
.footer-inner a:not(.brand):hover { color: #244d83; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 76px); }
  .hero h1 { font-size: clamp(2.95rem, 6.45vw, 5rem); }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 17px; }
  .demo-layout { gap: 28px; }
}

@media (max-width: 830px) {
  .container { width: calc(100% - 52px); }
  .site-nav a { padding-inline: 12px; }
  .hero-inner { gap: 23px; }
  .hero h1 { font-size: clamp(2.8rem, 6.25vw, 4rem); }
  .hero-actions .button { padding-inline: 13px; }
  .privacy-layout, .setup-section { gap: 28px; }
}

@media (max-width: 655px) {
  html { scroll-padding-top: 74px; }
  .container { width: calc(100% - 34px); }
  .header-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 7px; min-height: 62px; padding-block: 7px; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 29px; height: 29px; }
  .site-nav { flex: 0 0 100%; order: 3; justify-content: space-between; margin-top: 5px; gap: 3px; flex-wrap: wrap; }
  .site-nav a { padding-inline: 8px; }
  .menu-button:not([hidden]) {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto; min-height: 43px;
    padding: 5px 9px; border-radius: 999px; border: 1px solid #d8dee5; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 670;
  }
  .js-nav .site-nav { position: absolute; inset: calc(100% + 1px) 0 auto; display: grid; z-index: 1; padding: 5px; border: 1px solid white; border-radius: 15px; background: #fff; box-shadow: 0 13px 25px #263e6021; }
  .js-nav .site-nav a { display: flex; align-items: center; padding: 6px 9px; border-radius: 8px; min-height: 43px; }
  .header-cta { margin-left: auto; }
  .js-nav .header-cta { margin-left: 0; }

  .hero { padding-block: 27px 24px; }
  .hero-inner, .section-heading--split, .voice-feature, .feature-grid, .demo-layout, .privacy-layout, .setup-section, .download-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 20px; }
  .hero h1 { margin-block: 12px 11px; font-size: clamp(2.75rem, 9.9vw, 4.3rem); }
  .hero-actions { margin-top: 14px; }
  .hero-requirement { margin-top: 8px; }
  .ios-stage { border-radius: 22px; padding: 5px; }
  .ios-stage-media { border-radius: 16px; }
  .ios-stage figcaption { justify-content: flex-start; padding: 7px 6px 4px; }
  .ios-stage-switch button { min-height: 40px; }

  .section-heading--split { gap: 9px; }
  .section-heading--split > p { padding: 0; }
  .voice-feature { gap: 0; padding: 5px; }
  .feature-copy { padding: 13px 13px 16px; }
  .feature-copy h3 br { display: none; }
  .feature-block-copy { padding: 13px 12px 14px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-layout { gap: 17px; }
  .demo-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
  .demo-tabs button { padding: 6px 3px; text-align: center; font-size: .87rem; }
  .demo-workspace { min-height: 0; }
  .plans-heading { grid-template-columns: 1fr min(27%, 100px); align-items: start; gap: 4px; }
  .plans-heading img { margin-top: 13px; }
  .plans-heading h2 { font-size: clamp(1.65rem, 6.5vw, 2.3rem); }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .download-section { padding-bottom: 28px; }
  .download-inner { align-items: start; gap: 15px; }
  .footer-inner nav { flex-basis: 100%; order: 2; column-gap: 12px; margin-bottom: 6px; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 25px); }
  .hero h1 { font-size: 2.47rem; }
  .button { padding-inline: 12px; }
  .keyboard-rows span { font-size: .76rem; }
  .keyboard-rows small { font-size: .59rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
