@font-face {
  font-family: Jost;
  src: url('./assets/jost-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #151529;
  --muted: #54546b;
  --indigo: #4929bb;
  --indigo-deep: #382095;
  --tint: #f1effd;
  --line: #dfddec;
  --white: #fff;
  --surface: #f8f8fc;
  --heading: Jost, 'Segoe UI', sans-serif;
  --body: 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 1rem/1.6 var(--body); color: var(--ink); background: var(--white); overflow-wrap: anywhere; }
main { flex: 1; }
main:focus { outline: none; }
a { color: var(--indigo-deep); text-underline-offset: .2em; }
a:hover { color: var(--indigo); }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 700; letter-spacing: -.045em; line-height: 1.07; }
h2 { font-size: clamp(1.95rem, 3.15vw, 3rem); }
h3 { font-size: 1.08rem; line-height: 1.35; }
:focus-visible { outline: 3px solid #8067e5; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10; top: 12px; inset-inline-start: 12px; padding: 10px 15px; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.container, .section-shell { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-shell { padding-block: clamp(38px, 5.1vw, 76px); }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--ink); text-decoration: none; white-space: nowrap; font-family: var(--heading); font-size: 1.15rem; letter-spacing: -.027em; }
.brand strong { color: var(--indigo); }
.brand-mark { border-radius: 9px; object-fit: contain; }
.site-nav { display: flex; gap: clamp(19px, 2.4vw, 38px); align-items: center; }
.site-nav a, .site-footer nav a { color: var(--muted); font-size: .89rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'], .site-footer nav a:hover { color: var(--indigo); }
.site-nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: .45em; }
.site-nav a.nav-install { display: none; }
.site-nav a.nav-account { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-account { color: var(--indigo-deep); font-size: .89rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-account:hover { text-decoration: underline; }
.locale-switcher { position: relative; border-radius: 9px; }
.locale-switcher summary { min-height: 39px; padding: 7px 10px; gap: 7px; font-size: .88rem; line-height: 1.2; white-space: nowrap; }
.locale-switcher summary::after, .locale-switcher[open] summary::after { content: ''; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); color: var(--muted); }
.locale-switcher[dir='rtl'] summary::after, [dir='rtl'] .locale-switcher summary::after { transform: translateY(-2px) rotate(-45deg); }
.locale-switcher ul { position: absolute; z-index: 2; inset-inline-end: 0; top: calc(100% + 5px); min-width: 150px; list-style: none; padding: 5px; margin: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 0 12px 28px #24154518; }
.locale-switcher a { display: block; padding: 7px 10px; border-radius: 5px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.locale-switcher a:hover, .locale-switcher a[aria-current='page'] { background: var(--tint); color: var(--indigo-deep); }
.locale-code { display: none; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; font-size: .92rem; line-height: 1.36; font-weight: 700; text-decoration: none; transition: background-color .16s, border-color .16s; }
.button-primary, .button-primary:hover { color: var(--white); background: var(--indigo); border-color: var(--indigo); }
.button-primary:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); }
.button-secondary { color: var(--ink); background: var(--white); border-color: #d4d1e5; }
.button-secondary:hover { color: var(--indigo-deep); background: #fbfaff; border-color: #ae9edc; }
.header-install { min-height: 41px; padding-inline: 14px; white-space: nowrap; }
.menu-toggle { display: none; width: 43px; height: 41px; padding: 11px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.menu-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-toggle span + span { margin-top: 5px; }

.eyebrow { color: var(--indigo-deep); font-size: .875rem; font-weight: 750; }
.text-link { display: inline-block; margin-top: 9px; font-weight: 700; }
.chrome-mark { position: relative; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; background: conic-gradient(#f9746c 0 118deg, #f8d560 118deg 243deg, #58c997 243deg 360deg); }
.chrome-mark::after { content: ''; position: absolute; inset: 4px; background: #457bea; border: 1.5px solid white; border-radius: 50%; }

.home-hero { background: radial-gradient(ellipse at 91% 19%, #e9e2ff, transparent 64%), #f9f7ff; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 76px); align-items: center; padding-block: clamp(48px, 5.7vw, 85px); }
.home-hero h1 { font-size: clamp(2.8rem, 4.65vw, 4.3rem); }
.home-hero h1 em { color: var(--indigo); font-style: normal; }
.home-kicker { margin-bottom: 16px; }
.home-lead { margin-block: 20px 24px; max-width: 43ch; font-size: clamp(1.05rem, 1.38vw, 1.23rem); color: var(--muted); }
.hero-actions .button { min-height: 52px; }
.install-mobile-label { display: none; }
.home-note { margin-top: 15px; color: var(--muted); font-size: .9rem; }

.compare-demo { padding: clamp(13px, 1.7vw, 23px); border-radius: 20px; background: #201935; color: #fff; box-shadow: 0 19px 36px #2e1b6824; }
.demo-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.demo-topline h2 { font: 700 1rem/1.35 var(--body); letter-spacing: -.02em; }
.segment { display: inline-flex; gap: 3px; padding: 3px; border-radius: 8px; border: 1px solid #e1dbec; background: #f1edf8; }
.segment button { min-height: 33px; padding: 4px 10px; border: 1px solid transparent; border-radius: 5px; background: transparent; font-size: .88rem; line-height: 1.3; font-weight: 650; color: #625575; white-space: nowrap; }
.segment button:hover { background: #f9f6ff; }
.segment button[aria-pressed='true'] { color: var(--indigo-deep); border-color: #ded3f4; background: var(--white); box-shadow: 0 1px 2px #33215c18; }
.segment-pages { background: #322849; border-color: #4f4366; }
.segment-pages button { color: #e8e0f8; }
.segment-pages button:hover { color: var(--indigo-deep); }
.demo-window { overflow: hidden; border-radius: 12px; background: #fff; color: var(--ink); }
.demo-browser { display: grid; grid-template-columns: 48px minmax(0, 1fr) 23px; align-items: center; gap: 9px; min-height: 49px; padding: 8px 15px; border-bottom: 1px solid #e7e2f0; background: #ede9f6; }
.demo-browser img { border-radius: 5px; }
.window-controls { display: flex; gap: 5px; }
.window-controls i { width: 7px; height: 7px; border-radius: 50%; background: #b4a6cc; }
.demo-address { padding: 4px 8px; border: 1px solid #e8e1f1; border-radius: 6px; background: white; font-size: .82rem; color: #423656; text-align: center; }
.demo-address span { color: #665d73; }
.demo-body { padding: clamp(12px, 1.6vw, 22px); }
.demo-car { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(14px, 2.1vw, 24px); }
.demo-car img { width: 100%; height: clamp(101px, 11.4vw, 158px); border-radius: 8px; object-fit: cover; object-position: center 57%; }
.demo-car h3 { font: 700 clamp(1.13rem, 2vw, 1.61rem)/1.15 var(--heading); letter-spacing: -.024em; }
.demo-sample { margin-bottom: 5px; color: var(--indigo-deep); font-size: .87rem; font-weight: 700; }
.demo-car-copy [lang] { margin-top: 5px; font-size: .9rem; color: var(--muted); }
.demo-table-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-block: 15px 8px; }
.demo-table-toolbar > span { font-size: .88rem; font-weight: 700; }
.demo-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: start; font-size: .94rem; line-height: 1.45; }
.demo-table thead { color: #55446b; background: #f3effa; }
.demo-table th, .demo-table td { padding: 7px 9px; overflow-wrap: anywhere; text-align: start; }
.demo-table thead th { font-size: .84rem; }
.demo-table thead th:first-child { width: 31%; border-radius: 5px 0 0 5px; }
.demo-table thead th:last-child { border-radius: 0 5px 5px 0; }
.demo-table tbody tr + tr { border-top: 1px solid #eee9f3; }
.demo-table tbody th { font-size: .88rem; font-weight: 650; }
.demo-table td[data-demo-column='target'] { font-weight: 700; color: var(--indigo-deep); }
.demo-currency { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee9f3; }
.demo-currency > span { font-size: .88rem; font-weight: 700; }
.demo-table [lang='zh-Hans'], .term-examples [lang='zh-Hans'] { direction: ltr; unicode-bidi: isolate; }
[dir='rtl'] .demo-table [lang='zh-Hans'], [dir='rtl'] .term-examples [lang='zh-Hans'] { text-align: right; }
[dir='rtl'] h1, [dir='rtl'] h2, [dir='rtl'] h3 { letter-spacing: normal; line-height: 1.21; }
[dir='rtl'] .home-hero h1 { font-size: clamp(2.45rem, 3.9vw, 3.55rem); }
[dir='rtl'] .brand { letter-spacing: normal; }
.demo-disclosure { margin-top: 10px; color: #d6cce7; font-size: .84rem; }

.home-jump { border-block: 1px solid var(--line); }
.home-jump-inner { display: flex; flex-wrap: wrap; gap: 9px clamp(16px, 3.5vw, 50px); align-items: center; padding-block: 14px; }
.home-jump a { color: var(--ink); font-weight: 650; text-decoration: none; font-size: .94rem; }
.home-jump a:hover { color: var(--indigo-deep); text-decoration: underline; }
.task-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: clamp(22px, 3.5vw, 42px) 0; }
.task-links a { display: flex; flex-direction: column; gap: 4px; padding: 16px 19px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.task-links a:hover { border-color: #ab9bda; background: var(--tint); }
.task-links a strong { color: var(--indigo-deep); }
.task-links a span { color: var(--muted); font-size: .95rem; }
#home-view [id] { scroll-margin-top: 88px; }
.home-section-intro > p { margin-top: 12px; max-width: 58ch; color: var(--muted); }
.market-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(20px, 5vw, 72px); align-items: center; border-bottom: 1px solid var(--line); }
.market-section h2 { text-wrap: balance; }
.market-metric { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 15px; background: #f7f4ff; }
.market-value { color: var(--indigo-deep); font: 700 clamp(2.8rem, 6vw, 4.8rem)/1 var(--heading); font-variant-numeric: tabular-nums; }
.market-label { margin-top: 9px; font-weight: 700; }
.market-note { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.reader-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 42px); counter-reset: readstep; list-style: none; padding: 0; margin-block: 27px 14px; }
.reader-steps li { counter-increment: readstep; border-top: 1px solid var(--line); padding-top: 15px; }
.reader-steps li::before { content: counter(readstep); display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 12px; border-radius: 7px; color: var(--indigo-deep); background: var(--tint); font-weight: 750; }
.reader-steps p { color: var(--muted); margin-top: 6px; }
.home-terms { background: #f4f1fc; border-block: 1px solid var(--line); }
.terms-grid, .home-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 85px); align-items: start; }
.term-examples { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.term-examples > div { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 13px; align-items: center; padding: 14px 18px; }
.term-examples > div + div { border-top: 1px solid var(--line); }
.term-examples dt { font-weight: 700; }
.term-examples dd { margin: 0; }
.term-examples dd strong { display: block; color: var(--indigo-deep); }
.term-examples dd span { font-size: .88rem; color: var(--muted); }
.home-languages { padding-bottom: 0; }
.translation-language-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 23px 0 12px; padding: 0; }
.translation-language-list li { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); overflow-wrap: anywhere; }
.translation-language-list span, .language-source { color: var(--muted); font-size: .91rem; }
.language-source bdi { margin-inline-start: 5px; color: var(--ink); font-weight: 700; }
.home-languages .customization-banner { margin-top: 25px; }
.customization-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 42px; padding: clamp(20px, 4vw, 44px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(115deg, #f9f7ff, #f1ecfd); }
.customization-banner > div { flex: 1 1 350px; }
.customization-banner h3 { font-family: var(--heading); font-size: clamp(1.35rem, 2.6vw, 2rem); }
.customization-banner .button { max-width: 100%; overflow-wrap: anywhere; }
.home-versions { padding-bottom: 0; }
.version-grid { margin-top: 20px; }
.info-card.version-card { border-top: 3px solid #b8a8e9; }
.version-card.domestic-version { border-top-color: var(--indigo); background: #f8f6ff; }
.inspection-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px 42px; align-items: center; padding: clamp(20px, 4vw, 44px); border-radius: 16px; background: #201935; color: var(--white); }
.inspection-copy p { margin-top: 12px; max-width: 65ch; color: #e2d8f1; }
.inspection-action { padding-inline-start: clamp(12px, 3vw, 40px); border-inline-start: 1px solid #5c4d76; }
.inspection-action p { margin-bottom: 12px; font-weight: 650; }
.inspection-action .button { max-width: 100%; }
.home-faq { background: var(--surface); border-block: 1px solid var(--line); }
.home-next { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; }
.home-next .text-link { margin: 0; }
.info-card p, .steps-list p { color: var(--muted); margin-top: 7px; }

.page-hero { background: radial-gradient(ellipse at 87% 25%, #e6e0ff, transparent 60%), #f8f6ff; border-bottom: 1px solid var(--line); padding: clamp(44px, 5.7vw, 82px) max(var(--gutter), calc((100% - 1240px) / 2)); }
.page-hero .section-shell { width: 100%; padding: 0; }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(2.55rem, 5.2vw, 4.45rem); max-width: 19ch; text-wrap: balance; }
.page-hero p:not(.eyebrow) { max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.page-hero .button-row { margin-top: 22px; }
.page-hero ~ .section-shell + .section-shell { padding-top: 0; }
.section-shell > h2 { margin-bottom: 18px; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-card { padding: clamp(18px, 2vw, 28px); border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.info-card .button, .callout .button { margin-top: 14px; }
.info-card .eyebrow { margin: 0 0 8px; color: var(--indigo-deep); }
.prose ul { padding-inline-start: 23px; }
.prose li + li { margin-top: 6px; }
.callout { margin-top: 23px; padding: clamp(16px, 2vw, 24px); background: #f5f3ff; border: 1px solid var(--line); border-radius: 10px; }
.callout p { margin-top: 6px; color: var(--muted); }
.steps-list { display: grid; gap: 12px; max-width: 850px; list-style: none; counter-reset: quickstep; padding: 0; }
.steps-list li { position: relative; counter-increment: quickstep; margin: 0; padding: 18px 20px; padding-inline-start: 62px; border: 1px solid var(--line); border-radius: 10px; }
.steps-list li::before { content: counter(quickstep); position: absolute; top: 17px; inset-inline-start: 17px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--tint); color: var(--indigo-deep); font-weight: 750; }
.guide-open { margin-top: 22px; }
details { border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
details + details { margin-top: 9px; }
summary { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 17px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--indigo); }
details[open] summary::after { content: '−'; }
details p { padding: 0 17px 13px; color: var(--muted); max-width: 85ch; }
.site-footer { background: #f8f8fc; border-top: 1px solid var(--line); }
.footer-inner { min-height: 92px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 19px; flex-wrap: wrap; }
.footer-brand { font-size: 1.03rem; }

@media (max-width: 980px) {
  .header-inner { gap: 16px; }
  .brand { font-size: 1.04rem; gap: 8px; }
  .brand-mark { width: 33px; height: 33px; }
}

@media (max-width: 1230px) {
  .header-inner { min-height: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; }
  .has-js .menu-toggle { display: block; }
  .site-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 0 16px; }
  .site-nav a { display: block; padding: 10px 0; font-size: 1rem; }
  .site-nav a.nav-account { display: block; color: var(--indigo-deep); }
  .header-account { display: none; }
  .has-js .site-nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 9px var(--gutter) 13px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 20px #24154513; }
  .has-js .menu-open .site-nav { display: grid; gap: 0; }
}

@media (max-width: 800px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .home-hero h1 { font-size: clamp(2.75rem, 9vw, 4.75rem); }
  .demo-car img { height: clamp(105px, 21vw, 156px); }
  .terms-grid, .home-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .translation-language-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-section, .inspection-panel { grid-template-columns: minmax(0, 1fr); }
  .inspection-action { padding: 16px 0 0; border-inline-start: 0; border-top: 1px solid #5c4d76; }
}

@media (max-width: 550px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-inner .brand { font-size: .92rem; }
  .header-inner .brand-mark { width: 30px; height: 30px; }
  .header-install { display: none; }
  .site-nav a.nav-install { display: block; color: var(--indigo-deep); }
  .locale-native { display: none; }
  .locale-code { display: inline; }
  .menu-toggle { width: 37px; padding-inline: 8px; }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .task-links { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .translation-language-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-grid { padding-block: 38px; gap: 27px; }
  .home-lead { margin-block: 13px 19px; }
  .home-kicker { margin-bottom: 11px; }
  .hero-actions .button { min-height: 46px; padding-inline: 12px; }
  .hero-actions .demo-cta { order: -1; }
  .install-desktop-label { display: none; }
  .install-mobile-label { display: inline; }
  .demo-topline h2 { font-size: .9rem; }
  .demo-table th, .demo-table td { padding-inline: 5px; }
  .segment button { padding-inline: 6px; }
  .reader-steps { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 22px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
