/* ==========================================================================
   Skipause — product site
   Plain CSS, no build step, no external fonts or libraries.
   Visual language follows the app: warm paper, ink text, one amber signal,
   hairline rules, and a single dark panel for the on-device claim.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
  --paper: #f7f7f5;
  --paper-deep: #f1efe8;
  --paper-soft: #efefec;
  --surface: #ffffff;

  --ink: #141413;
  --ink-2: #4e4e4a;
  --ink-3: #66665f;

  --line: #d9d7ce;
  --line-soft: #e7e5dc;

  --signal: #ffc21a;
  --signal-deep: #f2a900;
  --signal-ink: #7a4f00;

  --panel: #141413;
  --panel-ink: #f5f4ef;
  --panel-ink-2: rgba(245, 244, 239, 0.74);
  --panel-line: rgba(245, 244, 239, 0.16);

  --radius-card: 22px;
  --radius-panel: 28px;
  --radius-pill: 999px;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 48px);

  --shadow-device:
    0 1px 2px rgba(20, 20, 19, 0.08),
    0 14px 28px -12px rgba(20, 20, 19, 0.24),
    0 44px 80px -40px rgba(20, 20, 19, 0.34);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* 2. Reset ----------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

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

a { color: inherit; }

button { font: inherit; color: inherit; }

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--signal-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--signal); color: var(--ink); }

/* 3. Layout ---------------------------------------------------------------- */

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

.section { padding-block: clamp(56px, 8vw, 104px); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.16s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* 4. Type ------------------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-deep);
  flex: none;
}

.eyebrow-inverse { color: var(--signal); }

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: pretty;
}

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

.section-lede {
  margin-top: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head-row > div { max-width: 620px; }
.section-note {
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-3);
  text-align: right;
}

html[lang="zh-Hans"] body { letter-spacing: 0.01em; }
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3 { letter-spacing: 0; }
html[lang="zh-Hans"] .lede { max-width: 30ch; line-height: 1.8; }

/* 5. Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 247, 245, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 247, 245, 0.94);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  /* The mark is cropped from the real 1024 app icon. Its background is pure
     white, so multiply lets the warm paper show through instead of a white tile. */
  mix-blend-mode: multiply;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.site-nav a {
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  flex: none;
}

.lang-switch a {
  color: var(--ink-3);
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.16s var(--ease);
}
.lang-switch a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.lang-current {
  color: var(--ink);
  font-weight: 600;
  padding: 4px 2px;
}

.lang-switch a + .lang-current,
.lang-current + a {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

/* 6. Hero ------------------------------------------------------------------ */

.hero { padding-block: clamp(36px, 5.5vw, 76px) clamp(44px, 6vw, 84px); }

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

.hero-title {
  margin-top: 18px;
  font-size: clamp(2.55rem, 5.4vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -0.038em;
  font-weight: 600;
  text-wrap: balance;
}

html[lang="zh-Hans"] .hero-title {
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.hero-copy .lede { margin-top: 22px; max-width: 36ch; }

.hero-actions { margin-top: 30px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-deep);
  box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.26);
  flex: none;
}

.status-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 34ch;
}

.hero-link-row { margin-top: 18px; }

.text-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.16s var(--ease);
}

.text-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s var(--ease);
}

.text-link:hover { border-bottom-color: var(--ink); }
.text-link:hover::after { transform: rotate(45deg) translate(2px, 0); }

.fact-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.fact-row li { padding-right: 16px; }
.fact-row li + li {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

/* 7. Device frames --------------------------------------------------------- */

.hero-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: -6% -4% 8%;
  background: radial-gradient(58% 52% at 50% 44%, rgba(255, 194, 26, 0.3), rgba(255, 194, 26, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.device {
  display: block;
  position: relative;
  z-index: 1;
  background: #141413;
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.device img { width: 100%; display: block; }

.device-phone {
  width: min(330px, 76vw);
  padding: 9px;
  border-radius: 46px;
}

.device-phone img { border-radius: 38px; }

.device-phone.device-small {
  width: 100%;
  max-width: 300px;
  padding: 6px;
  border-radius: 30px;
}

.device-phone.device-small img { border-radius: 25px; }

.device-ipad {
  width: min(420px, 80vw);
  padding: 9px;
  border-radius: 26px;
}

.device-ipad img { border-radius: 18px; }

.figure-note {
  position: relative;
  z-index: 1;
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-align: center;
  max-width: 32ch;
}

/* 8. Statement band -------------------------------------------------------- */

.statement {
  background: var(--paper-deep);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(48px, 7vw, 88px);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.statement-title {
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.028em;
  font-weight: 600;
  max-width: 24ch;
  text-wrap: balance;
}

html[lang="zh-Hans"] .statement-title { line-height: 1.42; max-width: 20ch; }

.statement-body p {
  color: var(--ink-2);
  max-width: 44ch;
  text-wrap: pretty;
}

/* 9. Steps ----------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(36px, 5vw, 60px);
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.step-num {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--signal-ink);
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.step p:not(.step-num) {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* 10. Gallery -------------------------------------------------------------- */

.gallery-section { padding-top: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 36px);
  margin-top: clamp(32px, 4vw, 52px);
}

.shot { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.shot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 32px;
  transition: transform 0.25s var(--ease);
}

.shot-button .device { transition: box-shadow 0.25s var(--ease); }
.shot-button:hover { transform: translateY(-4px); }
.shot-button:hover .device {
  box-shadow:
    0 2px 4px rgba(20, 20, 19, 0.08),
    0 20px 36px -14px rgba(20, 20, 19, 0.3),
    0 54px 90px -44px rgba(20, 20, 19, 0.38);
}

.shot-caption {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: center;
  max-width: 30ch;
}

.shot-label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

html[lang="zh-Hans"] .shot-label { letter-spacing: 0.08em; }

/* 11. Cards ---------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(32px, 4vw, 52px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: clamp(24px, 2.6vw, 32px);
}

.card-glyph {
  display: block;
  color: var(--ink);
  margin-bottom: 22px;
}

.card h3 { font-size: 1.125rem; }

.card p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* 12. On-device panel ------------------------------------------------------ */

.device-panel {
  background: var(--panel);
  color: var(--panel-ink);
  border-radius: var(--radius-panel);
  padding: clamp(28px, 4.6vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 64px);
}

.device-panel h2 {
  margin-top: 16px;
  color: var(--panel-ink);
  max-width: 16ch;
}

html[lang="zh-Hans"] .device-panel h2 { max-width: 14ch; }

.device-panel-main p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--panel-ink-2);
  max-width: 40ch;
  text-wrap: pretty;
}

.device-notes li { border-top: 1px solid var(--panel-line); padding-top: 18px; }
.device-notes li + li { margin-top: 20px; }

.device-notes h3 {
  font-size: 0.9375rem;
  color: var(--panel-ink);
  letter-spacing: 0;
}

.device-notes p {
  margin-top: 7px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--panel-ink-2);
  text-wrap: pretty;
}

/* 13. Pricing -------------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-areas:
    "card ipad"
    "list ipad";
  grid-template-rows: auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(32px, 4vw, 52px);
  align-items: start;
}

.price-card { grid-area: card; }
.compat-list { grid-area: list; align-self: start; }
.ipad-figure { grid-area: ipad; align-self: center; }

.price-card {
  grid-area: card;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: clamp(26px, 3.4vw, 44px);
}

.price-amount {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(3rem, 6.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.price-currency {
  padding-top: 0.72em;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-3);
}

.price-terms {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.price-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.price-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--paper-deep);
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.price-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-deep);
  flex: none;
}

.price-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem;
  font-weight: 500;
}

.price-fine {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 42ch;
}

.ipad-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.compat-list { width: 100%; }

.compat-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9375rem;
}

.compat-list li span:first-child { color: var(--ink-3); flex: none; }
.compat-list li span:last-child { text-align: right; color: var(--ink); }

/* 14. FAQ ------------------------------------------------------------------ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq-intro h2 { margin-top: 14px; max-width: 12ch; }

.faq-lede {
  margin-top: 18px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 30ch;
}

.faq-lede a { color: var(--ink); text-underline-offset: 3px; }

@media (min-width: 981px) {
  .faq-intro { position: sticky; top: 96px; }
}

.faq { margin: 0; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq-item summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  margin-right: 6px;
  border-right: 1.6px solid var(--ink-3);
  border-bottom: 1.6px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-item summary:hover h3 { color: var(--ink-2); }

.faq-answer { padding: 0 44px 24px 0; }

.faq-answer p {
  color: var(--ink-2);
  max-width: 68ch;
  text-wrap: pretty;
}

/* 15. Footer --------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 28px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
}

.footer-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  mix-blend-mode: multiply;
  margin-bottom: 12px;
}

.footer-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.footer-line {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--ink-3);
  max-width: 26ch;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  width: fit-content;
  transition: color 0.16s var(--ease);
}

.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.footer-fine {
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* 16. Lightbox ------------------------------------------------------------- */

.lightbox {
  width: min(92vw, 520px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--panel-ink);
  overflow: visible;
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
}

.lightbox::backdrop {
  background: rgba(20, 20, 19, 0.84);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.lightbox-close-form {
  order: -1;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}

.lightbox-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 244, 239, 0.14);
  color: var(--panel-ink);
  cursor: pointer;
  transition: background-color 0.16s var(--ease);
}

.lightbox-close:hover { background: rgba(245, 244, 239, 0.24); }

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: 84vh;
  border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.lightbox-figure figcaption {
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(245, 244, 239, 0.86);
  max-width: 34ch;
}

/* 17. Motion --------------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise 0.6s var(--ease) both; }
  .hero-figure { animation: rise 0.75s var(--ease) 0.08s both; }
}

@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;
    scroll-behavior: auto !important;
  }

  .shot-button:hover { transform: none; }
}

/* 18. Responsive ----------------------------------------------------------- */

@media (min-width: 901px) {
  .site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
}

@media (max-width: 1100px) {
  .site-nav { gap: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1fr); }
  .footer-grid .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { margin-top: 12px; }
  .hero-copy .lede { max-width: 44ch; }
  .statement-grid { grid-template-columns: minmax(0, 1fr); }
  .statement-title { max-width: 26ch; }
  .device-panel { grid-template-columns: minmax(0, 1fr); }
  .device-panel h2 { max-width: 22ch; }
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "card" "ipad" "list";
    grid-template-rows: auto;
  }
  .ipad-figure { align-self: start; }

  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-intro h2 { max-width: 20ch; }
  .faq-lede { max-width: 44ch; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }

  .section-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-note { text-align: left; max-width: 40ch; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { padding-block: 20px 4px; }
  .step + .step { margin-top: 20px; }

  .cards { grid-template-columns: minmax(0, 1fr); }

  .gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: 10px;
  }

  .gallery .shot {
    flex: 0 0 64%;
    scroll-snap-align: center;
    align-items: stretch;
  }

  .gallery .shot-caption { text-align: left; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand { grid-column: 1 / -1; }

  .faq-answer { padding-right: 12px; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }

  .hero { padding-top: 24px; }
  .hero-title { font-size: clamp(2.3rem, 9.6vw, 2.9rem); }
  html[lang="zh-Hans"] .hero-title { font-size: clamp(2.15rem, 9vw, 2.7rem); }

  .fact-row { font-size: 0.75rem; }
  .fact-row li { padding-right: 12px; }
  .fact-row li + li { padding-left: 12px; }

  .device-phone { width: min(300px, 82vw); }
  .gallery .shot { flex: 0 0 72%; }

  .price-card { padding: 24px 20px; }
  .device-panel { border-radius: 22px; }

  .footer-grid { gap: 28px 20px; }
  .footer-bottom { flex-direction: column; }
}

/* 19. Forced colors / print safety ---------------------------------------- */

@media (forced-colors: active) {
  .status-dot,
  .eyebrow-dot,
  .price-points li::before { background: CanvasText; }
  .device { border: 1px solid CanvasText; }
}

@media print {
  .site-header,
  .lightbox,
  .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .device { box-shadow: none; }
}
