/* ==========================================================================
   Earshot / 聽懂 — product site
   Design basis: the accepted v4 interface language for this product.
   Light  paper #F4F2EE · ink #151514 · source slate #55626B · rule #D9D6CF
          provisional marker #7A8187 · listening accent #CC3B22
   Dark   paper #121211 · ink #EDEAE4 · source #909EA8 · rule #2E2D2A
          listening accent #F06A51
   No external fonts, no CDN, no analytics.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #F4F2EE;
  --raise: #FAF8F4;
  --ink: #151514;
  --body: #3C3B37;
  --slate: #55626B;
  --marker: #7A8187;        /* brand marker: rules, dots, decorative */
  --marker-ink: #63696F;    /* same role as text: 4.9:1 on paper */
  --rule: #D9D6CF;
  --rule-soft: #E6E2DA;
  --accent: #CC3B22;        /* brand accent: focus rings, rules, decoration */
  --accent-ink: #C0361E;    /* same hue as text: 4.96:1 on paper */

  --dark: #121211;
  --dark-raise: #1B1A18;
  --dark-ink: #EDEAE4;
  --dark-slate: #909EA8;
  --dark-rule: #2E2D2A;
  --dark-accent: #F06A51;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 3px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC", "Hiragino Sans TC",
    sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: rgba(204, 59, 34, 0.16); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--rule-soft);
  backdrop-filter: saturate(1.1) blur(8px);
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--paper); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding-block: 12px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand img { display: block; width: auto; height: 28px; }
.brand--zh img { height: 29px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  margin-inline: auto;
}
.nav a {
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--slate);
  letter-spacing: -0.005em;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}
.lang a,
.lang span {
  font-size: 0.76rem;
  line-height: 1;
  padding: 6px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--slate);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.lang a:hover { color: var(--ink); background: rgba(21, 21, 20, 0.05); }
.lang [aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

/* ---------- type ---------- */
.kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--marker-ink);
}

/* Chinese pages: don't uppercase Latin product names such as iPhone */
html[lang^="zh"] .kicker {
  text-transform: none;
  letter-spacing: 0.13em;
}

h1 {
  font-size: clamp(2.3rem, 5.1vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}

h3 { font-weight: 600; letter-spacing: -0.012em; }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.62;
  color: var(--body);
  text-wrap: pretty;
}

.section-lede {
  margin-top: 18px;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--slate);
  text-wrap: pretty;
}

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--marker-ink);
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(44px, 6vw, 84px) clamp(52px, 7vw, 96px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.hero-copy h1 { margin-top: 20px; }
.hero-copy .lede { margin-top: 24px; max-width: 44ch; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn-pending {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--rule);
  background: var(--raise);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: default;
  user-select: none;
}
.btn-pending .hollow {
  width: 7px;
  height: 7px;
  border: 1.25px solid var(--marker);
  border-radius: 50%;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  color: var(--ink);
}
.link-arrow:hover { border-bottom-color: var(--ink); }
.link-arrow span { transition: transform 160ms ease; }
.link-arrow:hover span { transform: translateY(2px); }

.hero-note {
  margin-top: 20px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--marker-ink);
  max-width: 40ch;
}

.hero-boundary {
  margin-top: 22px;
  padding-left: 14px;
  border-left: 2px solid var(--rule);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--slate);
  max-width: 46ch;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: min(320px, 100%);
}

/* ---------- phone / screenshots ---------- */
.phone {
  display: block;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 36px;
  background: var(--raise);
  box-shadow: 0 24px 48px -34px rgba(21, 21, 20, 0.45);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 36px;
  text-align: left;
}
.shot:focus-visible { outline-offset: 4px; }
.shot .phone { transition: border-color 160ms ease; }
.shot:hover .phone { border-color: var(--marker-ink); }

.shot-cap {
  margin-top: 14px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--marker-ink);
  text-align: center;
}

/* listening motif — echoes the app's lower-right status lines */
.voice-deco {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  width: 100%;
  margin-top: 18px;
  padding-right: 4px;
}
.voice-deco i {
  display: block;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  animation: breathe 3.6s ease-in-out infinite;
}
.voice-deco i:nth-child(1) { width: 94px; opacity: 0.5; }
.voice-deco i:nth-child(2) { width: 60px; opacity: 0.32; animation-delay: 0.5s; }
.voice-deco i:nth-child(3) { width: 76px; opacity: 0.42; animation-delay: 1s; }

@keyframes breathe {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* ---------- facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  margin-top: clamp(36px, 5vw, 56px);
}
.fact {
  padding: 22px 26px 4px 0;
  border-right: 1px solid var(--rule-soft);
}
.fact:last-child { border-right: 0; padding-right: 0; }
.fact dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marker-ink);
}
.fact dd {
  margin-top: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.fact dd small {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--slate);
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--rule { border-top: 1px solid var(--rule-soft); }

section[id], .legal-body h2[id] { scroll-margin-top: 92px; }

.section-head { max-width: 660px; }
.section-head h2 { margin-top: 14px; }

/* ---------- modes ---------- */
.mode-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(24px, 3vw, 34px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}
.mode-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--slate);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.mode-index a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.mode-index span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--marker-ink);
}

.mode-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(38px, 4.6vw, 62px);
  border-top: 1px solid var(--rule-soft);
}
.mode-block:first-of-type {
  border-top: 0;
  margin-top: 0;
}
.mode-block--flip {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
}
.mode-block--flip .mode-copy { order: 2; }
.mode-block--flip .mode-shot { order: 1; }

.mode-copy h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.62rem);
  letter-spacing: -0.024em;
  margin-top: 12px;
}
.mode-copy p:not(.mono):not(.mode-note) {
  margin-top: 14px;
  font-size: 0.97rem;
  line-height: 1.66;
  color: var(--slate);
  max-width: 50ch;
}
.mode-shot { justify-self: center; width: min(280px, 100%); }
.mode-note {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--marker-ink);
  max-width: 46ch;
}

/* enter / use / get table */
.spec {
  margin-top: 22px;
  border-top: 1px solid var(--rule-soft);
}
.spec > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.spec dt {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marker-ink);
  padding-top: 3px;
}
.spec dd {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate);
}
.spec--flush { margin-top: 0; border-top-color: var(--ink); }

/* ---------- split rows ---------- *//* ---------- split rows ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split--flip .split-copy { order: 2; }
.split--flip .split-visual { order: 1; }

.split-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.026em;
  margin-top: 12px;
}
.split-copy p {
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--slate);
  max-width: 48ch;
}
.split-copy p + p { margin-top: 12px; }

.split--spaced { margin-top: clamp(28px, 3.6vw, 44px); }

.split-visual { justify-self: center; width: 100%; }
.split-visual--single { width: min(300px, 100%); justify-self: center; }
.demo-video { margin: 0; }
.demo-video video { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 20px; background: var(--raise); }

/* ---------- languages ---------- */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  margin-top: 34px;
}
.lang-item {
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.lang-item .name {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lang-item .code {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  color: var(--marker-ink);
  text-transform: uppercase;
}
.lang-note {
  margin-top: 24px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--marker-ink);
  max-width: 70ch;
}

/* ---------- scenarios ---------- */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 44px);
  margin-top: 36px;
}
.scenario { border-top: 1px solid var(--ink); padding-top: 18px; }
.scenario h3 { font-size: 1rem; }
.scenario p {
  margin-top: 9px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate);
}

/* ---------- dark band ---------- */
.band {
  background: var(--dark);
  color: var(--dark-ink);
  padding-block: clamp(60px, 8vw, 108px);
}
.band .kicker { color: var(--dark-slate); }
.band h2 { margin-top: 14px; color: var(--dark-ink); }
.band .section-lede { color: var(--dark-slate); }
.band a { color: var(--dark-ink); }

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 64px);
  margin-top: clamp(34px, 4vw, 48px);
}
.boundary {
  border-top: 1px solid var(--dark-rule);
  padding: 20px 0 22px;
}
.boundary h3 { font-size: 0.96rem; color: var(--dark-ink); }
.boundary p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--dark-slate);
  max-width: 46ch;
}
.band-note {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-rule);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--dark-slate);
  max-width: 76ch;
}

/* ---------- pricing ---------- */
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  border: 1px solid var(--rule);
  background: var(--raise);
  padding: clamp(26px, 3.6vw, 44px);
  margin-top: 34px;
}
.price-card h3 { font-size: clamp(1.2rem, 1.9vw, 1.42rem); letter-spacing: -0.024em; }
.price-card p {
  margin-top: 14px;
  font-size: 0.94rem;
  line-height: 1.66;
  color: var(--slate);
  max-width: 44ch;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  color: var(--slate);
  background: var(--paper);
}
.status-pill .hollow {
  width: 7px;
  height: 7px;
  border: 1.25px solid var(--marker);
  border-radius: 50%;
  flex: none;
}
.price-side {
  border-left: 1px solid var(--rule-soft);
  padding-left: clamp(20px, 3vw, 36px);
}
.price-side dl { display: grid; gap: 16px; margin-top: 4px; }
.price-side dt {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marker-ink);
}
.price-side dd { margin-top: 5px; font-size: 0.9rem; color: var(--body); }

/* ---------- faq ---------- */
.faq { margin-top: 34px; max-width: 840px; }
.faq details { border-top: 1px solid var(--rule-soft); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 19px 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-right: 1.5px solid var(--marker);
  border-bottom: 1.5px solid var(--marker);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}
.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 12px;
}
.faq .answer {
  padding: 0 0 22px;
  max-width: 68ch;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--slate);
}
.faq .answer p + p { margin-top: 10px; }
.faq .answer ul { margin-top: 10px; padding-left: 18px; list-style: disc; }
.faq .answer li { margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--ink);
  padding-block: clamp(44px, 5vw, 68px) 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: clamp(28px, 4vw, 48px);
}
.foot-brand img { display: block; height: 26px; width: auto; }
.foot-brand p {
  margin-top: 16px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 30ch;
}
.foot-col h3 {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marker-ink);
}
.foot-col ul { margin-top: 14px; display: grid; gap: 10px; }
.foot-col a {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--body);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.foot-col a:hover { border-bottom-color: currentColor; }
.foot-col address { font-style: normal; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 32px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--marker-ink);
}
.foot-notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
@media (max-width: 640px) {
  .foot-notes { text-align: left; }
}

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 88px); }
.legal-head { max-width: 720px; }
.legal-head h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.032em;
  margin-top: 16px;
}
.legal-meta {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--marker-ink);
}
.legal-body { max-width: 700px; margin-top: 40px; }
.legal-body h2 {
  font-size: 1.08rem;
  letter-spacing: -0.016em;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p,
.legal-body li {
  margin-top: 13px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--body);
}
.legal-body ul { padding-left: 18px; list-style: disc; }
.legal-body li { margin-top: 7px; }
.legal-body a { color: var(--ink); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--accent-ink); }

.callout {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 18px;
  margin-top: 28px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate);
}

.backlink {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--marker-ink);
  margin-bottom: 18px;
}
.backlink:hover { color: var(--ink); }

/* ---------- screenshot dialog ---------- */
dialog.shot-dialog {
  width: min(92vw, 400px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  margin: auto;
}
dialog.shot-dialog::backdrop {
  background: rgba(18, 18, 17, 0.9);
}
.shot-dialog .dialog-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shot-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(94vh - 92px);
  margin-inline: auto;
  border-radius: 26px;
  background: #fff;
}
.dialog-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.dialog-caption {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #9C9B95;
  max-width: 30ch;
}
.dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: none;
  min-width: 40px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(237, 234, 228, 0.32);
  background: rgba(237, 234, 228, 0.1);
  color: var(--dark-ink);
  font-size: 0.76rem;
  cursor: pointer;
}
.dialog-close:hover { background: rgba(237, 234, 228, 0.2); }
.dialog-close:focus-visible { outline: 2px solid var(--dark-accent); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-copy .lede { max-width: 52ch; }
  .hero-visual { order: 2; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; padding-right: 0; }
  .fact:nth-child(3),
  .fact:nth-child(4) { border-top: 1px solid var(--rule-soft); }
  .fact:nth-child(3) { padding-top: 22px; }
  .fact:nth-child(4) { padding-top: 22px; }
  .mode-block { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mode-block--flip .mode-copy { order: 0; }
  .mode-block--flip .mode-shot { order: 0; }
  .mode-shot { width: min(270px, 100%); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split--flip .split-copy { order: 0; }
  .split--flip .split-visual { order: 0; }
  .split-visual--single { width: min(280px, 100%); }
  .scenarios { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .price-card { grid-template-columns: minmax(0, 1fr); }
  .price-side {
    border-left: 0;
    border-top: 1px solid var(--rule-soft);
    padding-left: 0;
    padding-top: 24px;
  }
  .boundary-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 12px 16px;
    min-height: 60px;
    padding-block: 10px;
  }
  .brand img { height: 25px; }
  .brand--zh img { height: 26px; }
  .nav {
    order: 3;
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 0.82rem; }
  .lang { margin-left: auto; }
  .lang a, .lang span { padding: 6px 9px; font-size: 0.72rem; }
}

@media (max-width: 560px) {
  body { font-size: 1.03125rem; }
  .lang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-actions { gap: 16px; }
  .btn-pending { padding: 12px 18px; font-size: 0.86rem; }
  .dialog-bar { font-size: 0.72rem; }
  .shot-dialog img { border-radius: 20px; max-height: calc(92vh - 58px); }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .voice-deco i { opacity: 0.4; }
}

/* ---------- language adjustments ---------- */
html[lang^="zh"] .spec dt,
html[lang^="zh"] .mode-index span {
  letter-spacing: 0.06em;
}
html[lang^="zh"] .mode-copy h3,
html[lang^="zh"] .split-copy h3 { letter-spacing: -0.01em; }

/* ---------- print ---------- */
@media print {
  .site-header, .voice-deco, .shot-cap, .site-footer .foot-col:first-child { display: none; }
  body { background: #fff; color: #000; }
}

/* 2026-11-08: AI product identifier; the original paired-arc logo is retained. */
.brand-ai { margin-left: 8px; font-size: 16px; font-weight: 600; line-height: 1; color: var(--ink); }
.brand-lockup { display: inline-flex; align-items: center; }

a.btn-pending { cursor: pointer; text-decoration: none; }
a.btn-pending:hover { border-color: var(--ink); }
