:root {
  --ink: #0d0f0e;
  --paper: #f2f0e7;
  --acid: #c7ff3d;
  --orange: #ff6339;
  --panel: #181b19;
  --panel-soft: #222623;
  --muted: #8d928d;
  --danger: #ff7159;
  --success: #a9e857;
  --line: rgba(242, 240, 231, .17);
  --ink-line: rgba(13, 15, 14, .18);
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --sans: "Avenir Next", Avenir, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shell: min(1440px, calc(100vw - 96px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: .85;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(8.333vw - 1px),
    rgba(242, 240, 231, .055) calc(8.333vw - 1px),
    rgba(242, 240, 231, .055) 8.333vw
  );
}

img,
video { display: block; max-width: 100%; }

button,
input,
select,
textarea { font: inherit; }

button,
a,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  width: var(--shell);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .12em;
}

.brand img { width: 36px; height: 36px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font: 650 10px/1 var(--mono);
  letter-spacing: .09em;
}

.site-nav a {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  color: #b7bbb7;
  border: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(242, 240, 231, .04);
}

.site-footer {
  position: relative;
  z-index: 41;
  min-height: 112px;
  padding: 30px max(48px, calc((100vw - 1440px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  font-size: 12px;
}

.site-footer p { margin: 0; font-weight: 650; }
.site-footer p span { margin-left: 18px; color: var(--muted); font-weight: 450; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; font: 650 9px/1 var(--mono); letter-spacing: .1em; }

.eyebrow,
.section-number {
  margin: 0;
  color: var(--acid);
  font: 650 9px/1.2 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button {
  min-height: 48px;
  width: fit-content;
  padding: 0 22px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .03em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); border-color: currentColor; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button-acid { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.button-light { border-color: var(--paper); color: var(--paper); }

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 650;
}

.hero {
  min-height: calc(100svh - 82px);
  padding: clamp(92px, 13vh, 152px) 0 9vh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: clip;
}

.hero-copy { grid-column: 1 / span 8; position: relative; z-index: 2; }

.hero h1 {
  max-width: 1040px;
  margin: clamp(38px, 6vh, 64px) 0 38px;
  font-size: clamp(68px, 8.4vw, 132px);
  font-weight: 570;
  line-height: .86;
  letter-spacing: -.073em;
}

.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 .hero-accent { color: var(--acid); font-weight: 390; }

.hero-intro {
  max-width: 650px;
  margin: 0 0 42px;
  color: #b4b9b4;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.85;
}

.instrument {
  grid-column: 9 / -1;
  justify-self: end;
  width: min(29vw, 410px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-content: center;
  place-items: center;
  position: relative;
  box-shadow: inset 0 0 90px rgba(199, 255, 61, .035), 0 0 0 8vw rgba(199, 255, 61, .018);
}

.instrument::before,
.instrument::after {
  content: "";
  position: absolute;
  background: var(--line);
}

.instrument::before { width: 124%; height: 1px; }
.instrument::after { width: 1px; height: 124%; }

.instrument span,
.instrument small { position: relative; z-index: 1; color: var(--muted); font: 650 8px/1 var(--mono); letter-spacing: .16em; }

.instrument strong {
  position: relative;
  z-index: 1;
  margin: 20px 0 10px;
  color: var(--acid);
  font: 400 clamp(86px, 10vw, 150px)/.7 var(--sans);
  letter-spacing: -.09em;
}

.paper-section {
  width: 100%;
  padding: clamp(90px, 10vw, 150px) max(48px, calc((100vw - 1440px) / 2));
  position: relative;
  z-index: 41;
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading .eyebrow { grid-column: 1 / -1; color: var(--orange); margin-bottom: 12px; }

.section-heading h2 {
  grid-column: 1 / span 8;
  margin: 0;
  font-size: clamp(52px, 6.7vw, 100px);
  font-weight: 560;
  line-height: .94;
  letter-spacing: -.065em;
}

.section-heading h2 span { color: var(--orange); font-weight: 390; }

.section-heading > p:last-child {
  grid-column: 9 / -1;
  margin: 0;
  color: #626761;
  font-size: 14px;
  line-height: 1.85;
}

.section-heading .text-link { margin-top: 12px; color: var(--ink); }

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(190px, .7fr) auto;
  gap: 16px;
  align-items: end;
  padding: 24px;
  margin-bottom: 34px;
  border: 1px solid var(--ink-line);
  background: rgba(13, 15, 14, .035);
}

.field { min-width: 0; display: grid; align-content: start; gap: 8px; }

.field label {
  font: 650 9px/1.2 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  line-height: 1.5;
}

.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder { color: #777c76; opacity: 1; }
.field small { color: var(--muted); font-size: 11px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.product-card {
  min-width: 0;
  min-height: 440px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(255, 255, 255, .2);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:nth-child(3n + 1) { grid-column: 1 / span 7; }
.product-card:nth-child(3n + 2) { grid-column: 8 / -1; margin-top: 96px; }
.product-card:nth-child(3n) { grid-column: 3 / span 8; margin-top: 16px; }
.product-card:hover { transform: translateY(-5px); box-shadow: 12px 12px 0 rgba(13, 15, 14, .09); }

.product-card-index {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(13, 15, 14, .11);
  font: 420 clamp(60px, 7vw, 108px)/1 var(--sans);
  letter-spacing: -.08em;
}

.product-card-meta { display: flex; gap: 10px; align-items: center; font: 650 9px/1 var(--mono); letter-spacing: .1em; }
.product-card h3 { max-width: 72%; margin: 78px 0 24px; font-size: clamp(30px, 3vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-summary { max-width: 620px; margin: 0 0 28px; color: #565b56; font-size: 14px; line-height: 1.8; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 6px 9px; border: 1px solid currentColor; font: 650 8px/1 var(--mono); letter-spacing: .06em; }
.tag-muted { color: var(--muted); }

.status { padding: 6px 8px; border: 1px solid currentColor; font: 650 8px/1 var(--mono); letter-spacing: .06em; }
.status-published { color: #477a00; }
.status-draft { color: #a74422; }
.status-archived { color: #686d67; }

.product-card-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--ink-line);
  position: relative;
  z-index: 2;
}

.product-card-footer time { color: #747973; font: 650 8px/1.4 var(--mono); letter-spacing: .08em; }
.product-card-footer .text-link { font-size: 11px; }

.state-card {
  min-height: 280px;
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid var(--ink-line);
  display: grid;
  place-content: center;
  justify-items: start;
  background: rgba(255, 255, 255, .2);
}

.state-card .eyebrow { color: var(--orange); }
.state-card h3 { margin: 26px 0 10px; font-size: clamp(28px, 4vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
.state-card > p:not(.eyebrow) { margin: 0 0 28px; color: #626761; }
.state-card.compact { min-height: 140px; padding: 28px; }
.state-card.compact p { margin: 0; }
.state-danger { border-color: #a74422; background: #3b1811; color: var(--paper); }
.state-danger > p:not(.eyebrow) { color: #efbdb2; }

.detail-shell { padding: 72px 0 clamp(100px, 10vw, 160px); }
.back-link { min-height: 44px; display: inline-flex; align-items: center; color: #abb0ab; font-size: 12px; border-bottom: 1px solid var(--line); }

.detail-hero {
  min-height: 68svh;
  padding: clamp(70px, 10vh, 120px) 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}

.detail-hero > div { grid-column: 1 / span 8; }
.detail-hero h1 { margin: 34px 0; font-size: clamp(62px, 9vw, 130px); font-weight: 550; line-height: .88; letter-spacing: -.072em; overflow-wrap: anywhere; }
.detail-summary { max-width: 760px; margin: 0 0 30px; color: #b9bdb8; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.75; }
.detail-hero .tag { color: var(--acid); }

.detail-facts { grid-column: 9 / -1; margin: 0; border-top: 1px solid var(--line); }
.detail-facts div { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font: 650 8px/1 var(--mono); letter-spacing: .1em; }
.detail-facts dd { margin: 0; text-align: right; font-size: 13px; }

.detail-sections { border-top: 1px solid var(--line); }
.detail-sections > section {
  min-height: 360px;
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.detail-sections .section-number { grid-column: 1 / span 1; }
.detail-sections h2 { grid-column: 2 / span 3; margin: 0; font-size: clamp(32px, 4vw, 58px); font-weight: 520; line-height: 1; letter-spacing: -.05em; }
.detail-sections .prose,
.detail-sections .asset-gallery,
.detail-sections .video-grid,
.detail-sections .attachment-list,
.detail-sections .state-card { grid-column: 6 / -1; }
.prose { max-width: 760px; color: #c4c8c3; font-size: 16px; line-height: 2; }
.prose p { margin: 0 0 18px; }
.guide-list { margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-list li { min-height: 62px; padding: 16px 0 16px 58px; border-bottom: 1px solid var(--line); position: relative; counter-increment: guide; }
.guide-list li::before { content: counter(guide, decimal-leading-zero); position: absolute; left: 0; top: 20px; color: var(--acid); font: 650 9px/1 var(--mono); }

.resource-section { align-items: start; }
.asset-gallery,
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.asset-gallery figure,
.video-grid figure { min-width: 0; margin: 0; }
.asset-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); background: var(--panel); }
.video-grid video { width: 100%; background: #000; border: 1px solid var(--line); }
.asset-gallery figcaption,
.video-grid figcaption { margin-top: 10px; color: var(--muted); font: 650 8px/1.5 var(--mono); letter-spacing: .07em; }
.attachment-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.attachment-list li { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.attachment-list li > span { color: var(--muted); font: 650 8px/1 var(--mono); letter-spacing: .09em; }
.attachment-list a { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid currentColor; }
.detail-back { margin: 72px 0 0 auto; }

.about-hero {
  min-height: 78svh;
  padding: clamp(90px, 13vh, 150px) 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-content: center;
}
.about-hero .eyebrow { grid-column: 1 / -1; }
.about-hero h1 { grid-column: 1 / span 10; margin: 38px 0 30px; font-size: clamp(56px, 7.8vw, 116px); font-weight: 540; line-height: .9; letter-spacing: -.07em; }
.about-hero h1 span { color: var(--acid); font-weight: 390; }
.about-hero > p:last-child { grid-column: 7 / -1; margin: 0; color: #b4b9b4; font-size: 17px; line-height: 1.9; }
.principles .section-heading h2 { grid-column: 1 / -1; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink-line); }
.principle-grid article { min-height: 330px; padding: 34px; border-right: 1px solid var(--ink-line); }
.principle-grid article:last-child { border-right: 0; }
.principle-grid span { color: var(--orange); font: 650 9px/1 var(--mono); }
.principle-grid h3 { margin: 92px 0 20px; font-size: 34px; letter-spacing: -.04em; }
.principle-grid p { margin: 0; color: #626761; line-height: 1.8; }
.collaboration-panel { margin-top: 80px; padding: clamp(34px, 6vw, 80px); background: var(--orange); color: var(--ink); }
.collaboration-panel .eyebrow { color: var(--ink); }
.collaboration-panel h2 { max-width: 800px; margin: 28px 0 20px; font-size: clamp(42px, 6vw, 84px); line-height: .96; letter-spacing: -.06em; }
.collaboration-panel > p:not(.eyebrow) { max-width: 680px; margin: 0 0 34px; }

.access-panel {
  min-height: calc(100svh - 194px);
  padding: clamp(90px, 16vh, 180px) 0;
  display: grid;
  align-content: center;
}
.access-panel h1 { max-width: 980px; margin: 36px 0 24px; font-size: clamp(56px, 8vw, 118px); font-weight: 540; line-height: .9; letter-spacing: -.07em; overflow-wrap: anywhere; }
.access-panel > p:not(.eyebrow) { max-width: 660px; margin: 0; color: #b8bcb7; font-size: 17px; line-height: 1.85; }
.button-row { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 12px; }

.admin-hero {
  padding: 84px 0 72px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}
.admin-hero > div { grid-column: 1 / span 8; }
.admin-hero h1 { margin: 28px 0 0; font-size: clamp(62px, 9vw, 126px); font-weight: 540; line-height: .85; letter-spacing: -.075em; }
.admin-hero > p { grid-column: 9 / -1; margin: 0; color: #bcc0bb; }
.admin-hero > p strong { color: var(--acid); }
.admin-hero > p span { color: var(--muted); font-size: 12px; }

.admin-layout {
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.admin-list-panel { grid-column: 1 / span 4; position: sticky; top: 20px; }
.editor-panel { grid-column: 5 / -1; padding: clamp(24px, 4vw, 54px); background: var(--paper); color: var(--ink); }
.upload-panel { grid-column: 5 / -1; margin-top: 20px; padding: clamp(24px, 4vw, 54px); border: 1px solid var(--line); }
.panel-heading { margin-bottom: 34px; }
.panel-heading h2 { margin: 20px 0 4px; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.045em; }
.panel-heading > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.editor-panel .eyebrow { color: var(--orange); }

.admin-product-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.admin-product-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.admin-product-list li > div { display: flex; align-items: center; gap: 12px; }
.admin-product-list strong { font-size: 17px; }
.admin-product-list p { margin: 12px 0; color: #aeb3ae; font-size: 13px; line-height: 1.7; }
.admin-product-list small { display: block; margin-bottom: 10px; color: #e8a897; }
.admin-product-list li > span { color: var(--muted); font: 650 8px/1 var(--mono); letter-spacing: .08em; }

.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.admin-form .field-wide { grid-column: 1 / -1; }
.editor-panel .field input,
.editor-panel .field select,
.editor-panel .field textarea { border-color: var(--ink-line); background: rgba(255, 255, 255, .35); }
.field-error { min-height: 17px; display: block; color: var(--danger); font-size: 11px; line-height: 1.5; }
.field-invalid input,
.field-invalid select,
.field-invalid textarea { border-color: #c73923 !important; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); font-size: 12px; }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="success"] { color: #457700; }
.upload-form { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1fr); gap: 20px; }
.upload-form .form-actions { grid-column: 1 / -1; }
.upload-panel .form-status[data-state="success"] { color: var(--success); }
.checkbox-field { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 0 10px; }
.checkbox-field input[type="checkbox"] { width: 22px; min-height: 44px; margin: 0; accent-color: var(--acid); }
.checkbox-field label { min-height: 44px; display: flex; align-items: center; margin: 0; }
.checkbox-field small { grid-column: 2; }
.video-description { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 56px, 1120px); }
  .hero-copy { grid-column: 1 / span 10; }
  .instrument { position: absolute; right: -90px; bottom: -50px; width: 320px; opacity: .34; }
  .section-heading h2 { grid-column: 1 / span 9; }
  .section-heading > p:last-child { grid-column: 8 / -1; margin-top: 34px; }
  .product-card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card:nth-child(even) { margin-top: 72px; }
  .detail-hero > div { grid-column: 1 / span 9; }
  .detail-facts { grid-column: 9 / -1; }
  .detail-sections h2 { grid-column: 2 / span 4; }
  .detail-sections .prose,
  .detail-sections .asset-gallery,
  .detail-sections .video-grid,
  .detail-sections .attachment-list,
  .detail-sections .state-card { grid-column: 7 / -1; }
  .about-hero h1 { grid-column: 1 / -1; }
  .about-hero > p:last-child { grid-column: 6 / -1; }
  .admin-list-panel { grid-column: 1 / span 5; }
  .editor-panel,
  .upload-panel { grid-column: 6 / -1; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-form .field-wide { grid-column: auto; }
  .upload-form { grid-template-columns: 1fr; }
  .upload-form .form-actions { grid-column: auto; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 36px); }
  html { scroll-padding-top: 74px; }
  body::before { background-size: 25vw 100%; opacity: .65; }
  .site-header { min-height: 72px; gap: 14px; }
  .brand span { display: none; }
  .brand img { width: 32px; height: 32px; }
  .site-nav { min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding-inline: 12px; white-space: nowrap; }
  .site-footer { padding: 30px 18px; align-items: start; flex-direction: column; }
  .site-footer p span { display: block; margin: 7px 0 0; }
  .hero { min-height: calc(100svh - 72px); padding: 88px 0 74px; }
  .hero-copy { grid-column: 1 / -1; }
  .hero h1 { margin: 38px 0 30px; font-size: 13.5vw; line-height: .9; }
  .hero-intro { max-width: calc(100% - 14px); font-size: 14px; }
  .instrument { width: 210px; right: -60px; bottom: -40px; }
  .paper-section { padding: 80px 18px; }
  .section-heading { display: block; margin-bottom: 44px; }
  .section-heading .eyebrow { margin-bottom: 26px; }
  .section-heading h2 { font-size: clamp(44px, 13vw, 64px); }
  .section-heading > p:last-child { margin-top: 28px; }
  .filter-panel { grid-template-columns: 1fr; padding: 18px; }
  .filter-panel .button { width: 100%; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card:nth-child(n) { min-height: 390px; margin-top: 0; padding: 24px; }
  .product-card h3 { max-width: 80%; margin-top: 70px; font-size: 34px; }
  .product-card-footer { align-items: start; flex-direction: column; }
  .state-card { min-height: 250px; padding: 28px 22px; }
  .detail-shell { padding: 42px 0 90px; }
  .detail-hero { min-height: 0; padding: 68px 0; display: block; }
  .detail-hero h1 { margin-block: 30px; font-size: clamp(56px, 17vw, 82px); }
  .detail-facts { margin-top: 56px; }
  .detail-sections > section { min-height: 0; padding: 50px 0; display: block; }
  .detail-sections .section-number { margin-bottom: 20px; }
  .detail-sections h2 { margin-bottom: 34px; }
  .asset-gallery,
  .video-grid { grid-template-columns: 1fr; }
  .attachment-list li { align-items: start; flex-direction: column; padding: 18px 0; }
  .detail-back { margin-top: 50px; }
  .about-hero { min-height: 0; padding: 90px 0; display: block; }
  .about-hero h1 { margin: 36px 0 30px; font-size: clamp(50px, 14vw, 72px); }
  .about-hero > p:last-child { font-size: 15px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--ink-line); }
  .principle-grid article:last-child { border-bottom: 0; }
  .principle-grid h3 { margin-top: 62px; }
  .collaboration-panel { margin-top: 50px; padding: 34px 24px; }
  .access-panel { min-height: calc(100svh - 184px); padding: 80px 0; }
  .access-panel h1 { font-size: clamp(52px, 16vw, 78px); }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .admin-hero { padding: 70px 0 54px; display: block; }
  .admin-hero h1 { margin-bottom: 36px; font-size: clamp(58px, 18vw, 86px); }
  .admin-layout { display: block; padding-bottom: 80px; }
  .admin-list-panel { position: static; margin-bottom: 54px; }
  .editor-panel,
  .upload-panel { width: calc(100% + 36px); margin-left: -18px; padding: 32px 18px; }
  .upload-panel { margin-top: 18px; }
  .admin-form { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  input[type="file"] { min-width: 0; overflow: hidden; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 13.5vw; }
  .product-card-index { right: 16px; }
  .site-nav a { padding-inline: 10px; }
  .section-shell,
  .paper-section,
  .editor-panel,
  .upload-panel { max-width: 100%; }
}

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

/* opub: four modules, keeping the catalog and admin visual system isolated. */
.page-opub { --op-blue:#2352cc; --op-ink:#1d293d; --op-muted:#5b687d; --op-line:#e1e6ef; background:#fbfcfe; color:var(--op-ink); font-family:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif; font-size:14px; }
.page-opub::before { display:none; }
.page-opub a { color:inherit; text-decoration:none; }
.page-opub button { font:inherit; cursor:pointer; }
.page-opub :is(a,button,textarea,summary):focus-visible { outline:3px solid var(--op-blue); outline-offset:4px; }
.page-opub [hidden] { display:none!important; }
.op-shell,.op-header,.op-footer { width:min(1000px,calc(100% - 64px)); margin-inline:auto; }
.op-header { display:flex; justify-content:space-between; align-items:center; padding:24px 0; gap:28px; }
.op-brand { display:flex; align-items:center; font-size:30px; font-weight:750; letter-spacing:-1.5px; }
.op-brand span { font-size:12px; font-weight:400; letter-spacing:0; color:var(--op-muted); border-left:1px solid #ced5e1; margin-left:18px; padding-left:18px; }
.op-header nav { display:flex; gap:32px; font-size:13px; color:var(--op-muted); }
.op-header nav a { padding:12px 0; }
.op-header a:hover,.op-footer a:hover { color:var(--op-blue); }
.op-menu { display:none; }
.op-demo-section { scroll-margin-top:24px; }
.op-video,.op-video-empty { width:100%; aspect-ratio:16/9; border-radius:10px; background:#edf1f7; border:1px solid var(--op-line); display:block; }
.op-video { background:#131d2f; }
.op-video-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; color:#69778c; font-size:12px; }
.op-empty-play { border:1px solid #c5cfdf; width:60px; height:60px; border-radius:50%; display:grid; place-items:center; font-size:32px; line-height:1; color:#8290a6; padding-left:3px; }
.op-section { scroll-margin-top:30px; }
.op-start { display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; padding:64px 0; border-bottom:1px solid var(--op-line); }
.op-index { display:block; font-size:10px; letter-spacing:1.6px; color:var(--op-muted); margin-bottom:12px; }
.page-opub h1,.page-opub h2 { font-size:29px; font-weight:600; line-height:1.35; letter-spacing:-.6px; margin:0 0 20px; }
.op-section-intro>p { font-size:13px; color:var(--op-muted); line-height:1.9; margin-bottom:20px; }
.op-install-steps { padding-left:19px; margin:0 0 19px; color:var(--op-ink); font-size:12px; line-height:1.85; }
.op-install-steps li { padding-left:5px; margin-bottom:8px; }
.op-section-intro .op-note { font-size:11px; margin-bottom:12px; }
.page-opub .op-text-link { color:var(--op-blue); font-size:12px; }
.op-skill-panel { min-width:0; border:1px solid #dce3ef; background:white; border-radius:8px; align-self:start; overflow:hidden; }
.op-skill-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 17px; border-bottom:1px solid var(--op-line); }
.op-skill-toolbar label { font-family:var(--mono); font-size:13px; font-weight:600; }
.op-skill-toolbar label span { color:var(--op-muted); font-size:10px; font-weight:400; margin-left:6px; }
.op-copy { border:0; border-radius:5px; background:var(--op-blue); color:white; font-size:11px!important; padding:9px 12px; min-height:38px; white-space:nowrap; }
.op-copy:hover { background:#183fa8; }
.op-copy:disabled { opacity:.7; cursor:wait; }
.page-opub #skill-text { display:block; width:100%; max-width:100%; height:258px; resize:vertical; border:0; border-radius:0; padding:18px; background:#f7f9fc; color:#43516a; font-family:var(--mono); font-size:11px; line-height:1.85; margin:0; overflow:auto; white-space:pre-wrap; word-break:break-word; }
.op-skill-bottom { padding:13px 17px; display:flex; justify-content:space-between; gap:12px; font-size:10px; color:var(--op-muted); border-top:1px solid var(--op-line); }
.op-skill-bottom a { white-space:nowrap; }
.op-skill-bottom a:hover { color:var(--op-blue); }
.op-info-grid { display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; padding:56px 0 60px; }
.op-info-grid:has(> .op-pricing[hidden]) { grid-template-columns:minmax(0,1fr); }
.op-price { display:flex; align-items:baseline; gap:5px; font-size:52px; line-height:1.1; letter-spacing:-2px; margin:27px 0 9px; font-weight:650; }
.op-price>span { font-size:27px; letter-spacing:0; }
.op-price small { font-size:11px; color:var(--op-muted); font-weight:400; margin-left:12px; letter-spacing:0; }
.op-edition { font-size:12px; color:var(--op-muted); margin:0 0 22px; }
.op-license { list-style:none; padding:0; font-size:12px; line-height:1.85; color:var(--op-muted); max-width:330px; }
.op-license li { padding-left:15px; position:relative; margin-bottom:10px; }
.op-license li::before { content:"·"; position:absolute; left:0; color:var(--op-blue); font-size:20px; line-height:1.1; }
.op-price-actions { display:flex; align-items:center; gap:19px; margin-top:23px; }
.page-opub .op-button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:11px 20px; background:var(--op-blue); color:white; border-radius:6px; font-size:12px; }
.page-opub .op-button:hover { background:#183fa8; }
.op-platforms table { width:100%; border-collapse:collapse; font-size:12px; margin-top:6px; }
.op-platforms th,.op-platforms td { border-bottom:1px solid var(--op-line); text-align:center; padding:10px 7px; }
.op-platforms th:first-child { text-align:left; padding-left:0; }
.op-platforms thead th { font-weight:400; color:var(--op-muted); font-size:11px; padding-top:0; padding-bottom:12px; }
.op-platforms tbody th { font-weight:500; }
.op-supported { color:var(--op-blue); }
.op-unsupported { color:#7b879a; }
.op-table-note,.op-source-note { font-size:10px; line-height:1.85; color:var(--op-muted); }
.op-table-note { margin:15px 0 5px; }
.op-source-note summary { cursor:pointer; min-height:28px; display:list-item; }
.op-source-note p { margin:6px 0; }
.op-source-note a { text-decoration:underline; text-underline-offset:3px; }
.op-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; border-top:1px solid var(--op-line); padding:22px 0 30px; font-size:11px; color:var(--op-muted); }
.op-footer nav { display:flex; gap:25px; }
.op-filings,.op-footer .op-filings { display:flex; align-items:center; flex-wrap:wrap; gap:8px 20px; font-size:11px; }
.op-filings a { display:inline-flex; align-items:center; gap:5px; min-height:28px; font:inherit; letter-spacing:0; }
.op-filings img { flex:none; object-fit:contain; }
.op-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:900px) { .op-start,.op-info-grid { gap:36px; }.op-header nav { gap:24px; } }
@media(max-width:720px) { .op-shell,.op-header,.op-footer { width:calc(100% - 40px); }.op-header { padding:18px 0; flex-wrap:wrap; gap:10px; }.op-brand { font-size:27px; }.op-brand span { font-size:10px; margin-left:12px; padding-left:12px; }.op-menu { display:block; color:var(--op-ink); border:0; background:none; min-height:44px; padding:8px 0 8px 12px; font-size:12px!important; }.op-header nav { width:100%; justify-content:space-between; gap:8px; font-size:12px; }.has-js .op-header nav { display:none; }.has-js .op-header nav.is-open { display:flex; }.op-video-empty,.op-video { border-radius:7px; }.op-empty-play { width:44px; height:44px; font-size:26px; }.op-video-empty { gap:12px; font-size:10px; }.op-start { grid-template-columns:1fr; gap:22px; padding:34px 0; }.page-opub h1,.page-opub h2 { font-size:25px; margin-bottom:15px; }.op-section-intro>p { margin-bottom:16px; }.op-install-steps { margin-bottom:14px; }.op-skill-toolbar { padding:12px; }.op-skill-toolbar label { font-size:12px; }.op-skill-toolbar label span { font-size:9px; margin-left:3px; }.op-copy { min-height:44px; padding:9px 11px; }.page-opub #skill-text { height:210px; padding:14px; }.op-skill-bottom { padding:12px; font-size:9px; }.op-info-grid { grid-template-columns:1fr; gap:36px; padding:32px 0 35px; }.op-pricing { padding-bottom:36px; border-bottom:1px solid var(--op-line); }.op-price { font-size:46px; }.op-license { max-width:none; }.op-footer { flex-wrap:wrap; gap:18px; }.op-footer nav { gap:24px; }.op-section { scroll-margin-top:18px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
