:root {
  color-scheme: light dark;
  --bg: #F5F4EF;
  --surface: #FFFFFF;
  --ink: #1A1D1C;
  --ink2: #5B625F;
  --ink3: #8E9592;
  --line: #E4E2DA;
  --line-soft: #EDEBE4;
  --border-muted: #C3C7C3;
  --danger: #B3261E;
  --marker: #F2DF7B;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141716;
    --surface: #1C201E;
    --ink: #ECEAE3;
    --ink2: #9AA09C;
    --ink3: #6E7571;
    --line: #2C3130;
    --line-soft: #222726;
    --border-muted: #4A504D;
    --danger: #F0786C;
    --marker: #6B5B1E;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-muted); text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1080px; margin-inline: auto; padding-inline: max(32px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-right)); }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 600; }
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.nav { display: flex; gap: 24px; height: 100%; }
.nav a { display: flex; align-items: center; height: 100%; font-size: 15px; color: var(--ink2); text-decoration: none; border-bottom: 3px solid transparent; padding-top: 3px; }
.nav a:hover { color: var(--ink); }
.nav a.here { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

/* shared text */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--ink2); }
.lead { font-size: 19px; line-height: 1.7; color: var(--ink2); }
.danger { color: var(--danger); }
.muted { color: var(--ink2); }
.mk { background: linear-gradient(transparent 16%, var(--marker) 16%, var(--marker) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 2px; }
.note { background: var(--line-soft); border-radius: 10px; padding: 16px 18px; font-size: 15.5px; line-height: 1.7; }
.small { font-size: 14px; line-height: 1.7; color: var(--ink2); }
.path { font-weight: 600; }

/* home: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; padding-block: 88px 112px; }
.hero h1 { font-size: 48px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.get { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 8px; }
.get img { display: block; }
.get small { font-size: 14px; color: var(--ink2); }
.phones { position: relative; height: 640px; }
.phone { width: 280px; border-radius: 36px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.phone img { display: block; width: 100%; height: auto; }
.phones .phone { position: absolute; }
.phone-trend { left: 140px; top: 0; }
.phone-report { left: 0; top: 64px; }

/* home: sections */
.sec { border-top: 1px solid var(--line); padding-block: 112px; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 96px; align-items: center; }
.feat.flip { grid-template-columns: 300px minmax(0, 1fr); }
.feat .phone { width: 300px; }
.txt { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.txt h2 { font-size: 30px; line-height: 1.3; font-weight: 700; }
.txt p { font-size: 17px; line-height: 1.75; color: var(--ink2); }
.txt p.eyebrow { font-size: 12px; line-height: normal; }
.facts { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.facts div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.6; }
.facts dt { font-weight: 600; }
.facts dd { color: var(--ink2); }

/* home: range sheet */
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 8px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.sum { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; font-size: 14px; color: var(--ink2); }
.sum span { white-space: nowrap; }
.sum b { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--ink); margin-right: 4px; }
.sum .danger b { color: var(--danger); }
.ticks { display: flex; gap: 3px; margin: 12px 0 20px; }
.ticks i { flex: 1; height: 14px; border-radius: 1px; background: var(--border-muted); }
.ticks i.d { background: var(--danger); }
.item { border-top: 1px solid var(--line); padding-block: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.item-h { display: flex; justify-content: space-between; align-items: baseline; }
.item-h b { font-size: 17px; font-weight: 600; }
.item-h small { display: block; font-size: 12px; color: var(--ink2); font-family: var(--mono); font-weight: 400; margin-top: 2px; }
.val { font-family: var(--mono); font-size: 30px; font-weight: 600; text-align: right; line-height: 1; }
.val small { display: block; font-size: 12px; font-weight: 400; color: var(--ink2); margin-top: 6px; }
.rs { position: relative; height: 34px; margin-top: 6px; }
.rs .tr { position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--border-muted); }
.rs .band { position: absolute; left: 20%; width: 60%; top: 7px; height: 3px; background: var(--ink2); }
.rs .tk { position: absolute; top: 1px; width: 1.5px; height: 14px; background: var(--ink); }
.rs .lb { position: absolute; top: 18px; font-family: var(--mono); font-size: 11px; color: var(--ink2); transform: translateX(-50%); }
.rs .lo { left: 20%; }
.rs .hi { left: 80%; }
.rs .dot { position: absolute; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); transform: translateX(-50%); }
.rs .dot.d { background: var(--danger); }

/* home: data, price, disclaimer, closing */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; }
.block { display: flex; flex-direction: column; gap: 20px; }
.block h2 { font-size: 30px; line-height: 1.3; font-weight: 700; }
.price { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--ink2); padding: 0 0 8px; border-bottom: 2px solid var(--ink); }
.price td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; color: var(--ink2); line-height: 1.5; }
.price td:first-child { color: var(--ink); font-weight: 600; width: 4em; white-space: nowrap; padding-right: 16px; }
.not { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: baseline; }
.not h2 { font-size: 19px; font-weight: 700; }
.not p { font-size: 19px; line-height: 1.7; }
.end { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.end h2 { font-size: 30px; font-weight: 700; line-height: 1.3; }
.end .get { margin: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 28px 40px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink2); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--ink2); }
.foot .lang a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }

/* doc pages */
.doc { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 64px; padding-block: 64px 96px; }
.toc { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; position: sticky; top: 24px; align-self: start; }
.toc .eyebrow { margin-bottom: 10px; }
.toc a { font-size: 14px; line-height: 1.5; color: var(--ink2); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); transition: color .15s ease, border-color .15s ease; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.art { font-size: 16px; line-height: 1.75; }
.art h1 { font-size: 34px; line-height: 1.25; font-weight: 700; margin-bottom: 16px; }
.art h2 { font-size: 19px; line-height: 1.4; font-weight: 700; margin: 40px 0 10px; }
.art [id] { scroll-margin-top: 24px; }
.art p { margin-bottom: 10px; }
.art ul, .art ol { margin: 0 0 10px; padding-left: 1.2em; }
.art li + li { margin-top: 4px; }
.art .eyebrow { margin-bottom: 6px; }
.art .note { margin: 14px 0; }
.art .note p:last-child { margin: 0; }
.meta { display: flex; gap: 28px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 32px; }
.meta div { display: flex; flex-direction: column; gap: 2px; }
.meta dt { font-size: 12px; color: var(--ink2); }
.meta dd { font-family: var(--mono); font-size: 13px; }
.meta dd.name { font-family: var(--sans); }
.glance { margin-bottom: 40px; }
.glance div { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.glance dt { font-size: 15px; font-weight: 600; line-height: 1.6; }
.glance dd { font-size: 15.5px; line-height: 1.6; color: var(--ink2); }
.src { font-size: 14px; color: var(--ink2); }

/* support */
.page-title { font-size: 34px; line-height: 1.25; font-weight: 700; padding-top: 64px; }
.sup { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 80px; padding-block: 32px 96px; }
.mail { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); align-self: start; }
.mail-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
a.addr { font-family: var(--mono); font-size: 17px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.copy { font: 600 14px/1 var(--sans); color: var(--ink); background: var(--surface); border: 1.5px solid var(--ink); border-radius: 10px; height: 40px; padding: 0 16px; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.copy.done { background: var(--ink); color: var(--surface); }
.mail p { font-size: 15.5px; line-height: 1.7; color: var(--ink2); }
.mail p.eyebrow { font-size: 12px; line-height: normal; }
.mail .path { color: var(--ink); }
.faq { display: flex; flex-direction: column; }
.faq .eyebrow { margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding-block: 16px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; justify-self: end; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat; }
.qa { padding-bottom: 18px; font-size: 16px; line-height: 1.75; }
.qa p { margin-bottom: 10px; }
.qa ol { padding-left: 1.3em; margin-bottom: 10px; }
.qa > :last-child { margin-bottom: 0; }

/* narrower desktops */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .phones { height: 540px; }
  .phones .phone { width: 236px; border-radius: 30px; }
  .phone-trend { left: 104px; }
  .phone-report { top: 54px; }
  .feat, .cols { gap: 56px; }
  .not { gap: 40px; }
}
@media (max-width: 960px) {
  .doc { display: block; max-width: 680px; }
  .toc { display: none; }
  .sup { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
}

/* phones */
@media (max-width: 760px) {
  .wrap { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .top .wrap { height: 56px; }
  .brand img { width: 28px; height: 28px; border-radius: 7px; }
  .nav { gap: 18px; }
  .lead { font-size: 17px; }

  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 40px; padding-block: 40px 64px; }
  .hero h1 { font-size: 34px; line-height: 1.25; }
  .hero h1 br { display: none; }
  .phones { height: 500px; width: 100%; max-width: 420px; margin-inline: auto; }
  .phones .phone { width: 210px; border-radius: 28px; }
  .phone-report { left: 0; top: 0; }
  .phone-trend { left: auto; right: 0; top: 40px; z-index: 1; }

  .sec { padding-block: 64px; }
  .feat, .feat.flip { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .feat .phone { width: 240px; border-radius: 28px; align-self: center; }
  .txt h2, .block h2, .end h2 { font-size: 24px; }
  .txt p { font-size: 16px; }
  .sheet { padding: 18px 16px 4px; }
  .cols { display: flex; flex-direction: column; gap: 48px; }
  .not { display: flex; flex-direction: column; gap: 12px; }
  .not p { font-size: 17px; }
  .end { flex-direction: column; align-items: stretch; }

  .foot .wrap { flex-direction: column; padding-block: 24px 32px; }

  .doc { padding-block: 28px 48px; }
  .art h1 { font-size: 26px; margin-bottom: 14px; }
  .art h2 { font-size: 17px; margin-top: 30px; }

  .page-title { font-size: 26px; padding-top: 28px; }
  .sup { display: block; padding-block: 20px 48px; }
  .mail { margin-bottom: 32px; }
}

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