/* 呜哩物理 · 原型样式：设计 token、组件、响应式 */
:root {
  --paper: #faf6ed;
  --paper-2: #f3ecde;
  --paper-3: #ece2cf;
  --surface: #ffffff;
  --ink: #15223d;
  --ink-2: #4f5c76;
  --muted: #5e6980;
  --faint: #8a92a4;
  --line: #e6ddcc;
  --line-2: #d7cbb6;
  --coral: #d9553f;
  --coral-deep: #b8432f;
  --coral-soft: #fbeae5;
  --teal: #1f9d96;
  --teal-deep: #14746e;
  --teal-soft: #e4f3f1;
  --yellow: #f2c24e;
  --navy: #13203a;
  --navy-2: #1a2a48;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 18px;
  --shadow-1: 0 1px 2px rgba(21, 34, 61, 0.04);
  --shadow-2: 0 1px 2px rgba(21, 34, 61, 0.04), 0 24px 48px -28px rgba(21, 34, 61, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 82% -6%, rgba(31, 157, 150, 0.09), transparent 68%),
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 42%, #f8f2e6 100%);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 237, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.brand-mark .dot { fill: var(--coral); }

.brand-text b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.16s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.topbar-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 157, 150, 0.14);
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  box-shadow: 0 5px 0 var(--ink), 0 -5px 0 var(--ink);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}
.band-dark .kicker { color: #c3b99f; }
.band-dark .kicker::before { background: var(--yellow); }

h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -0.035em; line-height: 1.15; }
h1 { font-size: clamp(40px, 4.8vw, 62px); line-height: 1.06; letter-spacing: -0.05em; }
h2 { font-size: clamp(26px, 2.8vw, 36px); }
h3 { font-size: 22px; letter-spacing: -0.03em; }
p { margin: 0; }

.lede {
  max-width: 30em;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn[hidden] { display: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 22px -12px rgba(217, 85, 63, 0.8); }
.btn-coral:hover { background: var(--coral-deep); }

.btn-navy { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -14px rgba(21, 34, 61, 0.9); }
.btn-navy:hover { background: #0d1830; }

.btn-cream { background: #fbf5e9; color: var(--ink); }
.btn-cream:hover { background: #fff; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--paper-2); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
}
.textlink:hover { border-color: var(--coral); color: var(--coral-deep); }
.textlink svg { width: 13px; height: 13px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0 60px;
}

.hero h1 .em { color: var(--coral); }

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

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; }
.hero-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 10px;
  border-radius: 50%;
  background: var(--line-2);
}

.hero-shot { margin: 0; }
.shot-frame {
  position: relative;
  padding: 8px;
  border: 1px solid #0d1830;
  border-radius: 18px;
  background: #0d1830;
  box-shadow: 0 30px 60px -34px rgba(21, 34, 61, 0.55);
}
.shot-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.shot-frame img {
  height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
  background: #eef3fa;
}
.hero-shot figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding-left: 2px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-shot figcaption::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.section { padding: 58px 0 64px; border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.section-head h2 { margin-bottom: 8px; }
.section-sub {
  max-width: 46em;
  font-size: 14.5px;
  color: var(--ink-2);
}

.feature {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.feature--reverse { grid-template-columns: 1fr 1.12fr; }
.feature--reverse .feature-media { order: 2; }

.feature-media {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
  background: #eef3fa;
  text-decoration: none;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-media:hover img { transform: scale(1.012); }

.feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
}
.feature-body h3 { margin: 14px 0 10px; font-size: clamp(23px, 2.2vw, 28px); }
.feature-body > p { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.chip-teal { border-color: rgba(31, 157, 150, 0.24); background: var(--teal-soft); color: var(--teal-deep); }
.chip-coral { border-color: rgba(217, 85, 63, 0.22); background: var(--coral-soft); color: var(--coral-deep); }
.chip-soft { background: transparent; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-2);
}
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.card-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.planned { margin-top: 26px; }
.planned-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.planned-list { margin: 0; padding: 0; list-style: none; }
.planned-list li {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(24px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 2px;
  border-bottom: 1px dashed var(--line-2);
  font-size: 14px;
  color: var(--ink-2);
}
.planned-list b { font-weight: 620; color: var(--ink); }
.planned-list .leader { height: 1px; background: var(--line-2); opacity: 0.55; }
.planned-list .when { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.tag-live { background: var(--teal-soft); border-color: rgba(31, 157, 150, 0.22); color: var(--teal-deep); }

.band { padding: 64px 0 70px; }
.band-dark {
  color: #f5eee0;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(31, 157, 150, 0.18), transparent 64%),
    linear-gradient(180deg, #14213c 0%, #111c33 100%);
  border-top: 1px solid #0b1426;
  border-bottom: 1px solid #0b1426;
}
.band-dark h2 { color: #fbf5e9; }
.band-dark .section-sub { color: #b9c3d6; }
.band-dark .textlink { color: #f3ecdd; border-color: rgba(255, 255, 255, 0.24); }
.band-dark .textlink:hover { color: #fff; border-color: var(--yellow); }

.feature--dark {
  border-color: rgba(255, 255, 255, 0.09);
  background: #1a2946;
  box-shadow: none;
}
.feature--dark .feature-body h3 { color: #fff; }
.feature--dark .feature-body > p { color: #c3ccde; }
.feature--dark .chip {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: #d7dfee;
}
.feature--dark .chip-coral {
  border-color: rgba(255, 165, 144, 0.28);
  background: rgba(217, 85, 63, 0.18);
  color: #ffc2b3;
}
.feature--dark .facts { color: #b9c3d6; }
.feature--dark .facts li::before { background: var(--yellow); }
.feature--dark .feature-media { background: #e9eef6; }

.band-dark .planned-title { color: #9aa6bd; }
.band-dark .planned-list li { border-color: rgba(255, 255, 255, 0.12); color: #b9c3d6; }
.band-dark .planned-list b { color: #f2eadb; }
.band-dark .planned-list .leader { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 4px, transparent 4px 8px); }
.band-dark .tag { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #c3ccde; }

.updates { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.updates-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
}
.updates-list { margin: 0; padding: 0; list-style: none; }
.updates-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.updates-list li:first-child { padding-top: 0; }
.updates-list time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 2px;
}
.updates-list b { color: var(--ink); font-weight: 650; }

.footer {
  border-top: 1px solid var(--line);
  padding: 38px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(236, 226, 207, 0.35));
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 26px; height: 26px; }
.footer-brand b { font-size: 15px; }
.footer-note { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--coral-deep); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a { color: inherit; text-underline-offset: 3px; }
.footer-bottom .sep { opacity: 0.45; }

.page-head { padding: 46px 0 34px; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.page-head .lede { margin-top: 14px; font-size: 15.5px; }

.list-row {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.list-row .thumb {
  overflow: hidden;
  border-radius: 12px;
  background: #eef3fa;
  aspect-ratio: 4 / 3;
}
.list-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-row h2 { margin: 12px 0 8px; font-size: 24px; }
.list-row p { color: var(--ink-2); font-size: 14px; max-width: 64ch; }
.list-row .facts { margin: 14px 0 20px; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--line);
}
.trust > div { padding: 22px 24px; background: var(--paper); }
.trust h3 { font-size: 15px; margin-bottom: 6px; }
.trust p { font-size: 13px; color: var(--ink-2); }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: 0.5; }

.lab-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0 26px;
}
.lab-head h1 { font-size: clamp(32px, 3.6vw, 46px); }
.lab-head .lede { margin-top: 12px; max-width: 44em; font-size: 15px; }
.lab-head .chips { margin-bottom: 12px; }

/* 整页应用：顶部一条返回栏，下面是占满窗口的实验或工具 */
body.app-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #eef3fa;
}
.app-shell iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 46px);
  height: calc(100dvh - 46px);
  border: 0;
  background: #eef3fa;
}
.embed-loading {
  position: fixed;
  inset: 46px 0 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: #eef3fa;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  z-index: 1;
}
.embed-noscript {
  position: fixed;
  inset: 46px 0 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  background: #eef3fa;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  z-index: 2;
}
.embed-noscript a { color: var(--coral-deep); }
.appbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 0 18px;
  background: #101a30;
  color: #f4edde;
  font-size: 13px;
}
.appbar a,
.appbar-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: stretch;
  padding: 0 2px;
  border: 0;
  background: none;
  color: #f4edde;
  font: inherit;
  text-decoration: none;
  opacity: 0.9;
}
.appbar a:hover,
.appbar-button:hover { opacity: 1; }
.appbar-button { cursor: pointer; }
.appbar svg { width: 14px; height: 14px; }
.appbar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.appbar-guide { margin-left: auto; }

.embed-gate {
  position: fixed;
  inset: 46px 0 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eef3fa;
  text-align: center;
}
.embed-gate[hidden] { display: none; }
.embed-gate h2 { font-size: 20px; margin-bottom: 10px; }
.embed-gate p { max-width: 34em; margin: 0 auto 20px; font-size: 13.5px; color: var(--ink-2); }

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.guide-cta b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.guide-cta span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }

.lab-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.panel {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.55);
}
.panel h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 10px; }
.panel p, .panel li { font-size: 13.5px; color: var(--ink-2); }
.panel ol, .panel ul { margin: 0; padding-left: 18px; }
.panel li + li { margin-top: 6px; }
.panel-tip { background: var(--teal-soft); border-color: rgba(31, 157, 150, 0.22); }
.panel-tip h2 { color: var(--teal-deep); }

.lab-body { padding: 56px 0 72px; }
.lab-body h2 { margin-bottom: 18px; }
.prose { max-width: 72ch; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-2); font-size: 15px; }

.table-wrap { margin-top: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: 12.5px; font-weight: 650; color: var(--muted); background: var(--paper); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-2); }
td b { color: var(--ink); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pager a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; font-size: 14px; color: var(--ink); }
.pager small { font-size: 11.5px; color: var(--muted); letter-spacing: 0.08em; }
.pager .next { margin-left: auto; text-align: right; }

dialog.help {
  width: min(520px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(21, 34, 61, 0.5);
}
dialog.help::backdrop { background: rgba(19, 32, 58, 0.42); }
dialog.help h2 { font-size: 18px; margin-bottom: 12px; }
dialog.help ol { margin: 0 0 18px; padding-left: 20px; color: var(--ink-2); font-size: 14px; }
dialog.help li + li { margin-top: 8px; }
dialog.help .btn { width: 100%; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  padding: 24px 0 40px;
}
.about-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.6);
}
.about-card h2 { font-size: 16px; margin-bottom: 10px; letter-spacing: 0; }
.about-card p { font-size: 14px; color: var(--ink-2); }
.about-card p + p { margin-top: 10px; }
.qr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
.qr-row img {
  width: 140px;
  height: 140px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.qr-row p { font-size: 14px; color: var(--ink-2); }
.qr-row .qr-note { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.signature { margin-top: 22px; font-size: 13px; color: var(--muted); }

@media (max-width: 1040px) {
  .hero { gap: 36px; padding: 48px 0 60px; }
  .feature-body { padding: 28px 30px; }
  .updates-grid { grid-template-columns: 1fr; gap: 20px; }
  .list-row { grid-template-columns: 320px minmax(0, 1fr); }
}

@media (max-width: 880px) {
  .topbar-status { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 40px 0 54px; }
  .hero-shot { order: 2; }
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: -1; }
  .feature-media { min-height: 240px; aspect-ratio: 16 / 10; }
  .section { padding: 52px 0 58px; }
  .band { padding: 56px 0 60px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lab-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lab-notes { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: 1fr; padding: 18px; }
  .trust { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .guide-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav, .topbar-status { display: none; }
  .menu-btn { display: grid; }
  .topbar-inner { gap: 12px; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 10px 16px 16px;
    background: #fbf7ef;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(21, 34, 61, 0.35);
  }
  .nav.open a { padding: 12px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav.open a[aria-current="page"]::after { display: none; }

  h1 { font-size: clamp(34px, 10vw, 44px); }
  .lede { font-size: 15px; }
  .hero-actions { gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .textlink { margin-left: 2px; }
  .hero-meta { font-size: 12px; }
  .feature-body { padding: 22px 20px 24px; }
  .feature-body h3 { font-size: 22px; }
  .section-head h2 { font-size: 26px; }
  .updates-list li { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .footer-top { flex-direction: column; gap: 18px; }
  .lab-head h1 { font-size: 30px; }
  .crumbs { padding-top: 14px; }
  .pager { flex-direction: column; }
  .pager .next { margin-left: 0; text-align: left; }

  .planned-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 1px;
    padding: 11px 2px;
  }
  .planned-list .leader { display: none; }
  .planned-list .when { grid-column: 1; grid-row: 2; }
  .planned-list .tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

  table { font-size: 12.5px; }
  th, td { padding: 9px 8px; }
  th, td:first-child { white-space: nowrap; }

  .footer-bottom { gap: 6px; line-height: 1.7; }
}

@media (max-width: 560px) {
  .appbar { padding: 0 14px; }
  .appbar-title { display: none; }
}

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