/* Shared interaction and reading furniture. */
.tab-set { min-width: 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  position: relative;
  background: var(--border);
  color: var(--text);
  border-radius: var(--r-card);
}
.feature-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  min-height: 142px;
  padding: 24px 20px;
  border: 1px solid var(--transparent);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: break-word;
}
.feature-tab svg { width: 25px; height: 25px; }
.feature-tab:hover { background: var(--bg-panel); color: var(--text); }
.feature-tab[aria-selected="true"] {
  z-index: 1;
  border-color: var(--accent);
  background: var(--bg);
  color: var(--text);
}
.feature-tab[aria-selected="true"]::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--accent-dark);
  font-size: 12px;
}
.feature-detail {
  padding: 32px;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
}
.feature-detail h3 { margin-top: 0; }
.feature-detail p { max-width: 920px; line-height: 1.9; }
.inline-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--bg-panel);
  color: var(--text);
}
.inline-tabs [role="tab"] {
  padding: 10px 18px;
  min-height: 44px;
  border: 1px solid var(--transparent);
  border-radius: var(--r-sm);
  background: var(--transparent);
  color: var(--text-muted);
}
.inline-tabs [aria-selected="true"] {
  border-color: var(--border);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-small);
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-float);
  background: var(--bg);
  color: var(--text);
  margin-bottom: 40px;
}
.toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-sm); font-size: 14px; }
.toc a:hover { background: var(--bg-panel); color: var(--accent-dark); }
.toc--sticky { position: sticky; top: 16px; z-index: 8; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  min-height: 68px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-weight: 650;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; color: var(--text-muted); font-family: var(--font-mono); font-size: 22px; }
.faq-item[open] summary::after { content: "−"; color: var(--accent-dark); }
.faq-item__body { max-width: 880px; padding-bottom: 24px; color: var(--text-muted); line-height: 1.9; }
.faq-item__body p:last-child { margin-bottom: 0; }
.term-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  background: var(--bg);
  color: var(--text);
}
.term-card h3 { margin: 16px 0; font-family: var(--font-mono); font-size: 19px; }
.term-card p { color: var(--text-muted); margin-bottom: 0; line-height: 1.9; }
.tag, .chip, .fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tag--accent { background: var(--accent-tint); color: var(--accent-dark); border-color: var(--accent-tint); }
.fact-row, .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fact-row { margin-top: 24px; }
.fact { font-size: 12px; }
.fact svg { width: 14px; height: 14px; }
.app-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  max-width: 100%;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow-btn);
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.app-store:hover { background: var(--ink-hover); color: var(--on-ink); transform: translateY(-1px); }
.app-store svg { width: 25px; height: 28px; }
.app-store__text { display: block; text-align: left; line-height: 1.3; }
.app-store__text small { display: block; font-size: 11px; font-weight: 500; }
.app-store__text strong { display: block; font-size: 16px; font-weight: 650; }
.official-shot {
  width: 100%;
  max-width: 280px;
  min-width: 0;
  flex-shrink: 0;
  margin: 0 auto;
}
.official-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.official-shot { outline: 1px solid var(--border); border-radius: var(--r-shot); }
.official-shot figcaption {
  margin-top: 14px;
  padding-bottom: 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.shot-pair { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 40px; }
.step-with-shot { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 64px; }
.device-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 32px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.device-card__icon { width: 48px; height: 60px; color: var(--text-muted); }
.device-card h3 { margin-top: 0; margin-bottom: 12px; }
.device-card p { color: var(--text-muted); line-height: 1.8; }
.device-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  background: var(--bg);
  color: var(--text);
}
.article-card h3 { font-size: 21px; line-height: 1.5; margin-top: 20px; margin-bottom: 16px; }
.article-card h3 a:hover { color: var(--accent-dark); }
.article-card p { color: var(--text-muted); font-size: 14px; line-height: 1.9; }
.article-card__meta { margin-top: auto; padding-top: 20px; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }
.callout {
  margin: 28px 0;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-btn);
  background: var(--bg-panel);
  color: var(--text);
  line-height: 1.9;
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: var(--warn-tint); color: var(--warn-text); border-left-color: var(--warn); }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.data-table th, .data-table td, .prose table th, .prose table td, .article-body table th, .article-body table td {
  min-width: 7em;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
}
.data-table th, .prose table th, .article-body table th { background: var(--bg-panel); color: var(--text); font-weight: 650; }
.data-table td, .prose table td, .article-body table td { background: var(--bg); color: var(--text); }
.prose table, .article-body table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  border-collapse: collapse;
  overscroll-behavior-inline: contain;
}
.data-table code, .prose table code, .article-body table code { overflow-wrap: anywhere; }
.article-store-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 64px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
}
.article-store-card h2 { margin: 0 0 12px; font-size: 22px; }
.article-store-card p { margin: 0; color: var(--text-muted); }
.dl-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-float);
  font-size: 13px;
  font-weight: 650;
}
.dl-fab svg { width: 20px; height: 20px; color: var(--accent-dark); }
.has-article-fab { padding-bottom: 88px; }

/* Approved first-screen composition: a configuration illustration, not an application screen. */
.hero { position: relative; height: 790px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--grid-line) 1px, var(--transparent) 1px), linear-gradient(to bottom, var(--grid-line) 1px, var(--transparent) 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 42%, var(--mask-solid) 20%, var(--transparent) 100%);
  mask-image: radial-gradient(ellipse 62% 70% at 50% 42%, var(--mask-solid) 20%, var(--transparent) 100%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
}
.copy { padding-top: 132px; }
.badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 5px 14px 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text-muted);
  box-shadow: var(--shadow-small);
  font-size: 13px;
}
.badge__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.badge strong { color: var(--text); font-weight: 600; }
.badge__sep { width: 1px; height: 12px; flex-shrink: 0; background: var(--border); }
.hero .h1 { margin: 26px 0 0; }
.h1__line { display: block; }
.h1__key {
  background-image: linear-gradient(100deg, var(--accent-from) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--transparent);
  -webkit-text-fill-color: var(--transparent);
}
.lede { max-width: 500px; margin: 26px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--text-muted); }
.lede strong { color: var(--text); font-weight: 650; }
.hero .chips { margin-top: 26px; }
.chips__label {
  margin-right: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.chip { min-height: 28px; padding: 3px 12px; }
.devices { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft); max-width: 500px; }
.device { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 550; color: var(--text); }
.device svg { width: 18px; height: 18px; color: var(--text-muted); }
.device:hover { color: var(--accent-dark); }
.store-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; margin-left: auto; padding: 3px 11px; border-radius: var(--r-pill); background: var(--bg-panel-2); color: var(--text); font-size: 12px; font-weight: 600; }
.store-chip svg { width: 12px; height: 12px; }
.stage { position: relative; padding-top: 100px; min-width: 0; }
.bench {
  position: relative;
  width: 780px;
  height: 600px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  -webkit-mask-image: linear-gradient(to bottom, var(--mask-solid) 0%, var(--mask-solid) 56%, var(--transparent) 100%);
  mask-image: linear-gradient(to bottom, var(--mask-solid) 0%, var(--mask-solid) 56%, var(--transparent) 100%);
  overflow: hidden;
}
.bench__bar { display: flex; align-items: stretch; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--border); background: var(--bg); color: var(--text); }
.bench__file { display: flex; align-items: center; gap: 8px; padding-right: 18px; margin-right: 6px; border-right: 1px solid var(--border-soft); font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.bench__file svg { width: 14px; height: 14px; }
.seg { position: relative; display: flex; align-items: center; padding: 0 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }
.seg--on { color: var(--text); font-weight: 600; }
.seg--on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: var(--r-line); background: var(--accent); }
.bench__body { display: grid; grid-template-columns: 156px minmax(0, 1fr); height: calc(100% - 52px); }
.rail { padding: 22px 0 0 18px; background: var(--bg-panel); color: var(--text-muted); border-right: 1px solid var(--border-soft); }
.rail__title { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.08em; color: var(--text-muted); }
.rail__list { margin: 0 0 26px; padding: 0; list-style: none; }
.rail__list li { position: relative; padding: 6px 0 6px 12px; font-size: 12.5px; color: var(--text-muted); }
.rail__list .is-on { color: var(--text); font-weight: 600; }
.rail__list .is-on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: var(--r-line); background: var(--accent); }
.rail__pol { display: flex; align-items: center; gap: 8px; padding: 5px 0 5px 12px; font-family: var(--font-mono); font-size: 11.5px; }
.dot { width: 7px; height: 7px; border-radius: var(--r-circle); flex-shrink: 0; }
.dot--proxy { background: var(--accent); }
.dot--direct { background: var(--success); }
.dot--reject { background: var(--error); }
.bench-main { padding: 22px 28px 0; min-width: 0; }
.main__head { display: flex; align-items: baseline; justify-content: space-between; width: 456px; margin-bottom: 10px; font-family: var(--font-mono); font-size: 12px; }
.main__sec { color: var(--accent-dark); font-weight: 600; }
.main__note { color: var(--text-muted); }
.rules { position: relative; width: 456px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border-soft); }
.rule { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--row-h); padding: 0 4px 0 10px; border-bottom: 1px solid var(--border-soft); font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.rule__k { color: var(--text); font-weight: 600; }
.rule__v { color: var(--text-muted); }
.rule > * { position: relative; z-index: 1; }
.rule--hit::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--accent-wash); border-radius: var(--r-sm); opacity: 0; animation: hitGlow var(--scan-period) ease-in-out infinite; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 10px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; flex-shrink: 0; }
.pill--proxy { background: var(--accent-tint); color: var(--accent-dark); }
.pill--direct { background: var(--success-tint); color: var(--success-text); }
.pill--reject { background: var(--error-tint); color: var(--error-text); }
.scan { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: var(--row-h); pointer-events: none; opacity: 0; transform: translateY(calc(var(--row-h) * -1)); animation: scanDown var(--scan-period) cubic-bezier(0.45, 0, 0.25, 1) infinite; }
.scan::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--transparent) 0%, var(--accent-wash) 100%); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: var(--r-line); background: var(--accent-line); }
.main__tail { width: 456px; margin-top: 18px; font-family: var(--font-mono); font-size: 12px; line-height: 2; color: var(--text-muted); }
@keyframes scanDown {
  0% { transform: translateY(calc(var(--row-h) * -1)); opacity: 0; }
  6% { opacity: 1; }
  20% { transform: translateY(0); }
  34%, 72% { transform: translateY(var(--row-h)); opacity: 1; }
  86%, 100% { transform: translateY(var(--row-h)); opacity: 0; }
}
@keyframes hitGlow {
  0%, 32% { opacity: 0; }
  38%, 72% { opacity: 1; }
  86%, 100% { opacity: 0; }
}
.float { position: absolute; z-index: 3; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-float); box-shadow: var(--shadow-float); }
.float--match { top: 54px; left: 410px; width: 286px; padding: 16px 18px 15px; }
.float__label { margin: 0 0 9px; font-size: 11px; letter-spacing: 0.08em; color: var(--text-muted); }
.match__req { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.match__path { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.match__cap { margin: 11px 0 0; padding-top: 10px; border-top: 1px solid var(--border-soft); font-size: 12px; line-height: 1.55; color: var(--text-muted); }
.float--store { top: 470px; left: -44px; width: 300px; padding: 16px; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.store__icon { display: block; width: 56px; height: 56px; border-radius: var(--r-store-icon); }
.store__icon--placeholder { background: var(--bg-panel-2); color: var(--text); border: 1px solid var(--border); box-shadow: inset 0 0 0 6px var(--bg); }
.store__name { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.3; }
.store__dev { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.store__id { margin: 3px 0 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.store__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--border-soft); font-size: 11.5px; color: var(--text-muted); }
.store__foot strong { color: var(--text); }
.peek { position: relative; padding-top: 22px; }
.peek::before, .line-break::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, var(--transparent) 0%, var(--border) 18%, var(--border) 82%, var(--transparent) 100%); }
.peek__eyebrow { margin: 0; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-muted); }
.line-break { position: relative; }

/* Pipeline is a neutral illustration; the three captions remain real text. */
.pipeline { position: relative; padding-top: 24px; margin-bottom: 80px; }
.pipeline__drawing { display: block; width: 100%; height: 200px; color: var(--border); }
.pipeline__tube-back { stroke: var(--bg-panel-2); }
.pipeline__tube-front { stroke: var(--border); }
.pipeline__tube-light { stroke: var(--bg-panel); }
.pipeline__nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; position: relative; margin-top: -154px; }
.pipeline__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-inline: auto; margin-bottom: 100px; border: 1px solid var(--border); border-radius: var(--r-float); background: var(--bg); color: var(--text-muted); box-shadow: var(--shadow-float); }
.pipeline__icon svg { width: 28px; height: 28px; }
.pipeline__caption { position: relative; padding-left: 22px; border-left: 1px solid var(--border); }
.pipeline__caption::before { content: ""; position: absolute; top: -18px; left: -1px; width: 26px; height: 1px; background: var(--border); transform: rotate(-45deg); transform-origin: left center; }
.pipeline__caption h3 { margin-top: 0; font-size: 20px; }
.pipeline__caption p { font-size: 14px; line-height: 1.9; color: var(--text-muted); }

/* Design-preview-only surfaces; no image assets are requested here. */
.preview-heading { margin-top: 0; }
.swatch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.swatch { padding: 12px; border: 1px solid var(--border); border-radius: var(--r-btn); background: var(--bg); color: var(--text); }
.swatch__paint { display: block; height: 60px; border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 12px; }
.swatch code { font-size: 12px; }
.paint-bg { background: var(--bg); }
.paint-panel { background: var(--bg-panel); }
.paint-panel2 { background: var(--bg-panel-2); }
.paint-border { background: var(--border); }
.paint-border-soft { background: var(--border-soft); }
.paint-grid { background: var(--grid-line); }
.paint-accent { background: var(--accent); }
.paint-accent-dark { background: var(--accent-dark); }
.paint-accent-from { background: var(--accent-from); }
.paint-accent-tint { background: var(--accent-tint); }
.paint-accent-wash { background: var(--accent-wash); }
.paint-accent-line { background: var(--accent-line); }
.paint-accent-ring { background: var(--accent-ring); }
.paint-text { background: var(--text); }
.paint-muted { background: var(--text-muted); }
.paint-faint { background: var(--text-faint); }
.paint-success { background: var(--success); }
.paint-success-text { background: var(--success-text); }
.paint-success-tint { background: var(--success-tint); }
.paint-warn { background: var(--warn); }
.paint-warn-text { background: var(--warn-text); }
.paint-warn-tint { background: var(--warn-tint); }
.paint-error { background: var(--error); }
.paint-error-text { background: var(--error-text); }
.paint-error-tint { background: var(--error-tint); }
.paint-ink { background: var(--ink); }
.paint-ink-hover { background: var(--ink-hover); }
.paint-on-ink { background: var(--on-ink); }
.paint-mask { background: var(--mask-solid); }
.paint-transparent { background: var(--transparent); }
.paint-veil { background: var(--veil); }
.shot-placeholder {
  display: grid;
  place-content: center;
  width: 100%;
  aspect-ratio: 750 / 1334;
  border-radius: var(--r-shot);
  background: var(--bg-panel-2);
  color: var(--text-muted);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
}
.preview-note { margin-top: 32px; color: var(--text-muted); font-size: 13px; }

@media (max-width: 1080px) {
  .hero { height: auto; padding-bottom: 40px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .copy { padding-top: 64px; }
  .stage { padding-top: 72px; }
  .bench { width: calc(100% + var(--gutter)); height: 540px; }
  .float--match { left: auto; right: 0; top: 20px; }
  .float--store { left: 0; top: 420px; }
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-tab { min-height: 120px; padding: 20px 14px; }
  .step-with-shot { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-card { padding: 24px; gap: 16px; }
  .pipeline__nodes { gap: 20px; }
  .pipeline__caption { padding-left: 12px; }
  .pipeline__caption h3 { font-size: 17px; }
  .pipeline__caption p { font-size: 13px; }
}
@media (max-width: 640px) {
  .badge { gap: 8px; font-size: 11px; border-radius: var(--r-btn); }
  .badge__sep { display: none; }
  .hero .h1 { margin-top: 24px; }
  .copy { padding-top: 44px; }
  .lede { font-size: 14px; }
  .devices { gap: 12px 16px; }
  .store-chip { margin-left: 0; }
  .bench { width: 100%; height: 510px; }
  .bench__bar { padding-inline: 6px; overflow-x: auto; }
  .bench__file { display: none; }
  .seg { padding-inline: 8px; font-size: 11px; }
  .bench__body { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .bench-main { padding: 20px 16px 0; }
  .main__head, .rules, .main__tail { width: 100%; }
  .main__head { flex-wrap: wrap; gap: 4px 12px; }
  .rule { flex-wrap: wrap; gap: 6px 12px; height: auto; min-height: var(--row-h); padding: 10px; white-space: normal; }
  .rule > span:first-child { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .float--match { position: relative; top: auto; right: auto; width: 100%; margin-bottom: 16px; }
  .float--store { position: relative; top: auto; left: auto; width: 100%; margin-top: 16px; }
  .stage { padding-top: 40px; }
  .fact-row { flex-direction: row; flex-wrap: wrap; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-detail { padding: 22px; }
  .pipeline__drawing { height: 130px; }
  .pipeline__nodes { gap: 12px; margin-top: -102px; }
  .pipeline__icon { width: 48px; height: 48px; margin-bottom: 64px; }
  .pipeline__caption h3 { font-size: 14px; line-height: 1.6; }
  .pipeline__caption p { font-size: 12px; }
  .pipeline__caption { padding-left: 8px; }
  .official-shot { max-width: min(280px, 100%); }
  .shot-pair { flex-direction: column; align-items: center; }
  .article-store-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .scan { animation: none; opacity: 1; transform: translateY(var(--row-h)); }
  .rule--hit::before { animation: none; opacity: 1; }
}