/* Layout: the product's graph-paper desk; text sits on the desk in dark ink, the measurement and the screens sit on
   white sheets. One look only (light), as the product itself (user 10-07: 「弄个亮色背景」). Grey is kept for captions
   and sources only (user 10-16: the grey body text read oddly). */
:root {
  color-scheme: light;
  --desk: #eef3f8;
  --desk-top: #f8fbfe;
  --grid-minor: rgba(31, 79, 123, .028);
  --grid-major: rgba(31, 79, 123, .06);
  --sheet: #ffffff;
  --sheet-2: #f5f8fb;
  --line: #dce5ed;
  --line-2: #cbd8e3;
  --ink: #1f1c18;
  --ink-2: #3a362f;
  --ink-3: #5f5a50;
  --accent: #1f4f7b;
  --accent-hover: #183f63;
  --on-accent: #ffffff;
  --ok: #437158; --ok-soft: #eef3ef;
  --mark: #8c6b33;
  --gap: #a24f42; --gap-fill: rgba(162, 79, 66, .08);
  --chart-grid: #e8edf2;
  --shadow: 0 5px 20px rgba(30, 62, 92, .055), 0 1px 2px rgba(30, 62, 92, .035);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;
  --wide: 1120px;
  --text: 660px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.8 var(--font);
  background-color: var(--desk);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px),
    linear-gradient(180deg, var(--desk-top), var(--desk) 900px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px, 100% 100%;
  background-position: -1px -1px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
code { font-family: var(--mono); font-size: .9em; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wide); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

/* top bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(248, 251, 254, .96); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 20px; min-height: 56px; }
.bar:has(.nav.open) { background: var(--desk-top); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { width: 28px; height: 28px; color: var(--accent); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .06em; }
.nav { display: flex; gap: 24px; margin-left: auto; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav a.get { color: var(--accent); font-weight: 600; }
.nav a.home { padding-left: 22px; border-left: 1px solid var(--line-2); }
.menu-toggle, .mobile-get { display: none; }
.menu-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 760px) {
  .bar .wrap { flex-wrap: wrap; gap: 0 14px; }
  .nav { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; margin: 0; padding-block: 4px 14px; overflow: visible; }
  .nav a { padding-block: 8px; font-size: 14.5px; }
  .nav a.home { padding-left: 0; border: 0; }
  .enhanced .nav { display: none; }
  .enhanced .nav.open { display: grid; }
  .enhanced .menu-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--ink); font: 15px var(--font); cursor: pointer; }
  .enhanced .mobile-get { display: block; margin-left: auto; padding: 10px 0; font-size: 15px; font-weight: 600; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle svg { transition: none; } }

/* type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-wrap: balance; margin: 0; }
/* page and block titles break after punctuation, never inside a word (「AI，帮你把／实验做完」) */
h1, h2 { word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.15; letter-spacing: .02em; }
.hero h1 { font-size: clamp(46px, 8vw, 86px); line-height: 1.08; }
h1 .line { display: block; white-space: nowrap; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; letter-spacing: .02em; }
h3 { font-size: 19px; line-height: 1.4; }
p { margin: 0; }
.lede { font-size: 18px; color: var(--ink); max-width: var(--text); }
.caption { font-size: 14px; color: var(--ink-3); line-height: 1.65; }

/* sections */
section { padding-block: 72px; }
section + section { border-top: 1px solid var(--line); }
.head { display: grid; gap: 14px; max-width: var(--text); margin-bottom: 36px; }
@media (max-width: 600px) { section { padding-block: 52px; } .head { margin-bottom: 26px; } }

/* hero */
.hero { padding-block: 64px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.hero-text { display: grid; gap: 22px; max-width: 620px; min-width: 0; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.subjects { display: flex; flex-wrap: wrap; gap: 8px; }
.subjects span { border: 1px solid var(--line-2); background: var(--sheet); border-radius: 3px; padding: 2px 10px; font-size: 14px; color: var(--ink); }
.viewer { position: relative; margin: 0; padding: 8px; min-width: 0; }
.viewer-stage { position: relative; }
.viewer-stage video { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; border-radius: 3px; background: var(--sheet-2); }
.viewer-stage > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.viewer-stage .frame-surface { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px; pointer-events: none; }
.viewer-stage.has-frame-surface > svg { display: none; }
.media-credit { margin: 10px 4px 2px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.media-credit a { color: inherit; }
.clip-player { margin: 0; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.clip-frame { padding: 8px; min-width: 0; }
.clip-frame video { display: block; width: 100%; height: auto; aspect-ratio: var(--clip-ratio, 5 / 4); border-radius: 3px; background: var(--sheet-2); }
.clip-tools { padding: 10px 4px 2px; }
.clip-tools[hidden] { display: none; }
.clip-transport, .clip-options { display: flex; align-items: center; gap: 10px; min-width: 0; }
.clip-scrub { flex: 1; min-width: 40px; accent-color: var(--accent); }
.clip-time { min-width: 4.5em; text-align: right; font: 12px var(--mono); color: var(--ink-2); }
.clip-options { flex-wrap: wrap; margin-top: 8px; }
.clip-options label { margin-right: auto; font-size: 13px; color: var(--ink-2); }
.clip-options select { min-height: 44px; padding: 4px; font: inherit; color: var(--ink); background: var(--sheet); border: 1px solid var(--line-2); border-radius: 3px; }
.clip-options .mini-btn { min-width: 60px; padding-inline: 8px; font-size: 13px; }
@media (max-width: 400px) {
  .clip-options label { flex-basis: 100%; margin-right: 0; }
  .clip-options .mini-btn { flex: 1; }
}
.ai-row.text-only { grid-template-columns: minmax(0, 1fr); }
.ai-row.text-only .ai-copy { max-width: 780px; }
.viewer-controls { display: flex; align-items: center; gap: 12px; padding: 8px 4px 0; }
.mini-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 72px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--sheet); color: var(--accent); font: 600 14px var(--font); cursor: pointer; flex: none; }
.mini-btn:hover { background: var(--sheet-2); border-color: var(--accent); }
.mini-btn svg { width: 16px; height: 16px; flex: none; }
#scrub { width: 100%; min-width: 0; min-height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
#scrub-time { min-width: 55px; font: 12px var(--mono); color: var(--ink-2); text-align: right; }
.viewer .hud { position: absolute; left: 18px; bottom: 18px; font: 12.5px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); background: rgba(255, 255, 255, .9); border-radius: 3px; padding: 6px 8px; }
.viewer .live { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .9); border-radius: 3px; padding: 4px 9px; }
.viewer .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
.viewer.paused .live::before { animation-play-state: paused; opacity: .45; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .viewer .live::before { animation: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 6px; font: 600 15.5px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid var(--accent); background: var(--sheet); color: var(--accent);
}
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.btn svg { width: 16px; height: 16px; flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--ink-2); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* sheets */
.sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }

/* the measurement */
.measure { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 268px; }
.measure .plot { padding: 20px 8px 14px 18px; min-width: 0; border-right: 1px solid var(--line); }
.plot-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-right: 12px; }
.plot-title h3 { font-size: 17px; }
.chart { margin-top: 10px; min-height: 210px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font: 12px var(--font); fill: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13.5px; color: var(--ink-2); padding: 6px 12px 0 0; }
.legend i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.lg-line { width: 18px; height: 2px; background: var(--accent); }
.lg-gap { width: 14px; height: 12px; border: 1px dashed var(--gap); background: var(--gap-fill); }
.lg-dia { width: 8px; height: 8px; background: var(--mark); transform: rotate(45deg); }
.lg-tri { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--mark); }
.readout { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.state {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  border: 1px solid var(--ok); color: var(--ok); background: var(--ok-soft); border-radius: 3px;
  padding: 2px 10px; font-size: 14px; font-weight: 600;
}
.state svg { width: 14px; height: 14px; }
.readout .label { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.big { font: 700 46px/1.05 var(--font); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.big small { font-size: 20px; font-weight: 600; margin-left: 4px; }
.pm { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.meta { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.listen { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.listen .btn { min-height: 40px; padding: 0 16px; font-size: 15px; justify-self: start; }
.listen p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.measure + .caption { margin-top: 14px; max-width: 860px; }
@media (max-width: 860px) {
  .measure { grid-template-columns: minmax(0, 1fr); }
  .measure .plot { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 4px 12px 12px; }
  .readout { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 18px; padding: 18px 16px; }
  .readout .state, .readout .meta, .readout .listen, .readout .label { grid-column: 1 / -1; }
  .readout .label { margin-top: 0; }
  .big { font-size: 40px; }
}

/* steps: a real sequence, so they are numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 14px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); font: 700 15px/1 var(--font-display); color: var(--accent); }
.steps h3 { font-size: 18px; }
.steps p { font-size: 16px; color: var(--ink); line-height: 1.75; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* screens */
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.screens.one { grid-template-columns: minmax(0, 1fr); max-width: 920px; }
figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
figure .shot { padding: 6px; }
figure .shot img { border-radius: 3px; }
.zoom-trigger { display: block; position: relative; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; border-radius: 3px; }
.zoom-mark { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--accent); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); }
.zoom-mark svg { width: 17px; height: 17px; }
.zoom-trigger:hover .zoom-mark { border-color: var(--accent); }
.gallery { width: min(1440px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: var(--sheet); color: var(--ink); box-shadow: 0 16px 80px rgba(10, 25, 40, .3); }
.gallery::backdrop { background: rgba(17, 30, 43, .72); }
.gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.gallery-head, .gallery-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.gallery-head { border-bottom: 1px solid var(--line); }
.gallery-head p { flex: 1; font-size: 15px; line-height: 1.5; }
.gallery-close { min-width: 44px; padding: 0; }
.gallery-viewport { height: min(70dvh, calc((100vw - 32px) * .625), 900px); min-height: 0; overflow: auto; background: var(--sheet-2); overscroll-behavior: contain; }
.gallery-viewport img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.gallery-viewport.is-zoomed { height: min(70dvh, 900px); }
.gallery-viewport.is-zoomed img { width: 1440px; height: 900px; margin-inline: auto; }
.gallery-foot { border-top: 1px solid var(--line); justify-content: center; }
.gallery-foot .mini-btn { min-width: 44px; }
.gallery-count { font: 14px var(--mono); min-width: 42px; text-align: center; }
#gallery-zoom { margin-left: auto; }
@media (max-width: 600px) {
  .gallery { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .gallery-head, .gallery-foot { gap: 8px; padding: 8px; }
}
@media (max-width: 760px) { .screens { grid-template-columns: minmax(0, 1fr); } }


/* experiments */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line-2); }
th { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
td:first-child { font-family: var(--font-display); font-weight: 700; font-size: 16px; white-space: nowrap; }
td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* three ways */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ways div { display: grid; gap: 6px; align-content: start; }
.ways p { font-size: 16px; color: var(--ink); }
@media (max-width: 760px) { .ways { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* AI page (user 10-19: like Apple Intelligence, AI is the lead; on the landing it is the first block after the hero) */
.ai-show { border-top: 0; }
.ai-intro { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.ai-intro h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.12; }
.ai-intro .lede { font-size: 19px; }
.ai-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: center; padding-block: 36px; border-top: 1px solid var(--line-2); }
.ai-row.flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.ai-row.flip .ai-copy { order: 2; }
.ai-copy { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ai-copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.25; }
.ai-copy p { font-size: 17px; color: var(--ink); max-width: 30em; text-wrap: pretty; }
.ai-copy .equation { font: 400 clamp(30px, 3.4vw, 42px)/1.3 "Times New Roman", "STIX Two Text", "Noto Serif", var(--font-display); color: var(--accent); letter-spacing: .01em; padding-top: .15em; }
.equation .dd { position: relative; display: inline-block; }
.equation .dd::after { content: ""; position: absolute; left: 50%; top: .07em; width: .34em; height: .1em; transform: translateX(-50%);
  background: radial-gradient(circle, currentColor 0 .045em, transparent .05em) 0 0 / .17em .1em repeat-x; }
.ai-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line-2); padding-top: 8px; }
.ai-more > div { padding-block: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.ai-more h3 { font-size: 20px; }
.ai-more p:not(.kicker) { font-size: 15.5px; color: var(--ink); }
/* the intro and the three rows break between phrases (after 、，。 and spaces), never inside a word such as 摆球 or 神经网络;
   the narrow cards keep ordinary breaking (phrases there are longer than a card line) */
.ai-intro .lede, .ai-copy p { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .ai-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ai-more.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .ai-row, .ai-row.flip { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 28px; }
  .ai-row.flip .ai-copy { order: 0; }
}
@media (max-width: 560px) { .ai-more, .ai-more.two { grid-template-columns: minmax(0, 1fr); } }
.ai-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.ai-stats > div { padding: 22px 24px; display: grid; gap: 4px; align-content: start; }
.ai-stats > div + div { border-left: 1px solid var(--line); }
.ai-stats b { font: 700 40px/1.1 var(--font); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--accent); }
.ai-stats b small { font-size: 18px; font-weight: 600; margin-left: 4px; }
.ai-stats span { font-size: 15px; color: var(--ink); }
@media (max-width: 760px) {
  .ai-stats { grid-template-columns: minmax(0, 1fr); }
  .ai-stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ai-stats > div { padding: 16px 18px; }
  .ai-stats b { font-size: 34px; }
}

/* download */
.platforms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.platform { padding: 18px 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; align-content: start; min-width: 0; }
.platform h3 { font-size: 21px; }
.platform .tag { justify-self: start; border: 1px solid var(--accent); color: var(--accent); background: var(--sheet); border-radius: 3px; padding: 1px 9px; font-size: 13.5px; font-weight: 600; }
.platform p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.platform .tag.ready { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.platform .platform-download { justify-self: start; min-height: 44px; margin-top: 4px; padding: 9px 18px; }
.download-note { margin: -8px 0 28px; max-width: 64em; font-size: 15px; color: var(--ink-2); }
.release-version { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.download-feedback { margin: 0 0 28px; padding: 20px 24px; border-color: var(--accent); scroll-margin-top: 88px; }
.download-feedback[hidden] { display: none; }
.download-feedback p { margin: 0 0 10px; }
.download-feedback .download-message { font-size: 20px; font-weight: 650; color: var(--accent); }
.download-feedback-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.model-ready, .phone-connect { padding: 24px 28px; margin: 28px 0; }
.model-ready h2, .phone-connect h2 { font-size: 24px; line-height: 1.45; margin: 0 0 12px; }
.model-ready p, .phone-connect p { margin: 0 0 12px; max-width: 60em; }
@media (max-width: 1000px) { .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.specs { padding: 8px 24px 20px; }
.specs + .specs { margin-top: 24px; }
.specs caption { text-align: left; padding-top: 14px; font: 700 21px/1.4 var(--font-display); color: var(--ink); }
.specs table { font-size: 15.5px; }
.specs th { padding-top: 16px; }
.specs td:first-child { font-family: var(--font); font-weight: 600; font-size: 15.5px; color: var(--ink-2); white-space: nowrap; }
.specs td { color: var(--ink); }
.specs th:nth-child(2) { width: 46%; }
.specs th:nth-child(3) { width: 36%; }
#android-specs th:nth-child(n+2) { width: 41%; }
#iphone-specs th:nth-child(2) { width: 82%; }
.specs-note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 600px) { .specs { padding: 4px 14px 16px; } .specs table { font-size: 14.5px; } }

footer { padding-block: 36px 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
footer .wrap { display: grid; gap: 6px; }
footer .wrap span:first-child { color: var(--ink-2); }

/* pages (user 10-19: 「在落地主页弄板块的概述，然后点击进去跳转看详情，下载也跳转到专门的下载页面上」) */
main > section:first-child:not(.hero) { padding-top: 56px; }
.page-next { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; }
.page-next a { display: grid; gap: 2px; text-align: right; text-decoration: none; color: var(--ink); }
.page-next span { font-size: 14px; color: var(--ink-3); }
.page-next b { font: 700 22px/1.35 var(--font-display); color: var(--accent); }
.page-next b::after { content: " ›"; }
.page-next a:hover b { text-decoration: underline; text-underline-offset: 4px; }
/* landing: the hero, then one row per page */
.overview { padding-block: 72px; }
.shot-frame { padding: 6px; }
.shot-frame img { border-radius: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line-2); background: var(--sheet); border-radius: 3px; padding: 2px 10px; font-size: 14px; color: var(--ink); }
.get-band { margin-top: 24px; padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; }
.get-band .copy { display: grid; gap: 8px; }
.get-band h2 { font-size: clamp(24px, 3vw, 32px); }
.get-band p:not(.kicker) { color: var(--ink); }
@media (max-width: 860px) {
  .get-band { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .get-band .go { justify-self: start; }
}
@media (max-width: 600px) { .overview { padding-block: 52px; } }
/* landing rows: the AI page's rows, one per page, each with its button (user 10-19: like the Contact / 联系 → sample,
   in the site's own blue) */
.overview .ai-row:first-child { border-top: 0; padding-top: 0; }
.ai-copy h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; }
.ai-copy .chips { margin-top: 2px; }
a.pic { display: block; }
.go { display: inline-flex; align-items: center; gap: 14px; justify-self: start; margin-top: 10px; padding: 15px 26px;
  background: var(--accent); color: var(--on-accent); font: 700 16px/1 var(--font); letter-spacing: .04em; text-decoration: none;
  border-radius: 2px; transition: background-color .15s; }
.go:hover { background: var(--accent-hover); color: var(--on-accent); }
.go svg { width: 20px; height: 20px; flex: none; transition: transform .15s; }
.go:hover svg { transform: translateX(3px); }
.get-band .go { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .go, .go svg { transition: none; } }

/* iPhone as the Mac's camera (user 10-19: 「提一下iPhone直接可以作为Mac的摄像头，还有自动旋转稳定功能，不需要下载任何软件」) */
.iphone-cam { margin-top: 36px; padding: 22px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.iphone-cam > svg { width: 46px; height: 46px; color: var(--accent); }
.iphone-cam h2 { font-size: clamp(22px, 2.6vw, 26px); }
.iphone-cam p { margin-top: 6px; color: var(--ink); max-width: 46em; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 560px) { .iphone-cam { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 10px; } }

/* real recordings (user 10-19: 「也不能没有真实的录像」) */
.real-clips { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.real-clips .lede { word-break: keep-all; overflow-wrap: anywhere; }

/* Additional feature detail keeps the existing rows, type and paper surfaces. */
.feature-section { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.feature-section > .ai-row:first-child { border-top: 0; padding-top: 0; }
.feature-section .ways { margin-top: 32px; }
@media (max-width: 600px) { .feature-section { margin-top: 44px; padding-top: 28px; } }

/* School-service direction extends the existing overview rows and teaching detail. */
.service-route { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.service-route li { padding-top: 12px; gap: 6px; }
.service-route li::before { font-size: 14px; }
.service-foundation { margin-top: 36px; padding-block: 28px; border-block: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.service-foundation > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.service-foundation h3 { font-size: 22px; }
.service-foundation p:not(.kicker) { color: var(--ink); }
.service-model { margin-top: 32px; }
.service-model caption { text-align: left; font: 700 22px/1.5 var(--font-display); padding-bottom: 12px; color: var(--ink); }
.service-model tbody th { font-family: var(--font); color: var(--ink); font-weight: 600; }
.service-model td, .service-model tbody th { vertical-align: top; }
.service-entry { margin-top: 16px; }
#school-service { scroll-margin-top: 88px; }
#school-service .head h2 { line-height: 1.4; padding-block: 2px; }
@media (max-width: 600px) {
  .service-foundation { grid-template-columns: minmax(0, 1fr); padding-block: 24px; gap: 28px; }
  .service-model table { font-size: 14px; }
  .service-model th, .service-model td { padding-inline: 8px; }
}
