:root {
  --bg: #3f4555;
  --bg-deep: #353b49;
  --bg-soft: #454c5c;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-solid: #464e5e;
  --ink: #ffffff;
  --ink-soft: #dde1e9;
  --muted: #b9c0cd;
  --beige: #c0baaa;
  --beige-strong: #ded6c1;
  --beige-deep: #a09a8a;
  --line: #6e7687;
  --line-strong: #a09a8a;
  --accent: #d8cdb2;
  --accent-strong: #b9ad8e;
  --on-accent: #23262e;
  --green: #80e090;
  --blue: #0a58ca;
  --radius: 4px;
  --wrap: 1120px;
  --narrow: 880px;
  --header-h: 78px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", FreeSans, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shadow-frame: 0 40px 90px -36px rgba(0, 0, 0, 0.85);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1000px 620px at 78% -8%, rgba(160, 154, 138, 0.16), transparent 62%),
    radial-gradient(760px 480px at 4% 12%, rgba(128, 224, 144, 0.055), transparent 66%),
    linear-gradient(180deg, #414858 0%, var(--bg) 38%, #3b4150 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 7px);
  opacity: 0.5;
}

img { max-width: 100%; height: auto; }
a { color: var(--beige-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
button { font: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.narrow { width: min(calc(100% - 48px), var(--narrow)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--beige);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Utility bar */
.utility-bar {
  position: relative;
  z-index: 6;
  border-bottom: 1px solid rgba(160, 154, 138, 0.28);
  background: rgba(34, 38, 48, 0.42);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}
.utility-bar__note { text-transform: none; }
.utility-bar__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--beige);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(57, 63, 77, 0.9);
  border-bottom: 1px solid rgba(160, 154, 138, 0.24);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--beige);
  text-decoration: none;
}
.brand:hover { color: var(--beige-strong); }
.brand__mark {
  width: 44px;
  height: 44px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.brand__name {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a {
  color: #ccd1db;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.site-nav a:hover {
  color: var(--beige-strong);
  border-bottom-color: var(--beige);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--beige);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.mobile-nav {
  display: none;
  padding: 8px 24px 20px;
  border-top: 1px solid rgba(160, 154, 138, 0.22);
  background: #3c4251;
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 154, 138, 0.14);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* Hero */
.hero {
  padding: 74px 0 54px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--beige);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--beige);
  display: inline-block;
}
.hero__title {
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.024em;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero__title-accent {
  color: #f1ecdf;
  display: inline;
  box-shadow: inset 0 -0.18em 0 rgba(192, 186, 170, 0.32);
}
.hero__lede {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.72;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 28px;
}

/* Primary download CTA */
[data-node-id="download.primary"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: linear-gradient(135deg, #e6ddc7 0%, var(--accent) 46%, var(--accent-strong) 100%);
  color: var(--on-accent);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 20px 46px -14px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(222, 214, 193, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  animation: download-cta-glow 3.2s ease-in-out infinite;
  position: relative;
  isolation: isolate;
}
[data-node-id="download.primary"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.4) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: download-cta-sheen 4.6s ease-in-out infinite;
  z-index: -1;
}
[data-node-id="download.primary"] svg { flex: none; }
[data-node-id="download.primary"]:hover {
  transform: translateY(-2px) scale(1.025);
  background: linear-gradient(135deg, #f1e9d7 0%, #e0d6bb 46%, #c2b696 100%);
  box-shadow:
    0 26px 56px -14px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(240, 232, 212, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[data-node-id="download.primary"]:active { transform: translateY(0) scale(0.99); }
[data-node-id="download.primary"]:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@keyframes download-cta-glow {
  0%, 100% { box-shadow: 0 20px 46px -14px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(222, 214, 193, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
  50% { box-shadow: 0 24px 62px -10px rgba(222, 214, 193, 0.32), 0 0 0 1px rgba(222, 214, 193, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
}
@keyframes download-cta-sheen {
  0%, 62% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 28px;
  border: 1px solid #828b9d;
  border-radius: 6px;
  color: #e8ebf1;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.cta-secondary:hover {
  border-color: var(--beige);
  color: var(--beige-strong);
  background: rgba(192, 186, 170, 0.08);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 14px;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { width: 15px; height: 15px; color: var(--green); }

.hero__visual { min-width: 0; }
.shot-frame {
  border: 4px solid var(--line-strong);
  background: #2d3341;
  box-shadow: var(--shadow-frame);
}
.shot-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #262b37;
  border-bottom: 2px solid rgba(160, 154, 138, 0.4);
}
.shot-frame__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #737b8c;
}
.shot-frame__dot:first-child { background: #c0baaa; }
.shot-frame__label {
  margin-left: auto;
  color: #b7becb;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.carousel { position: relative; background: #20242e; }
.carousel__viewport { position: relative; }
.carousel__slide {
  display: none;
  margin: 0;
  padding: 14px 14px 0;
}
.carousel__slide.is-active { display: block; }
.carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  background: #0f1218;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--beige-strong);
  background: rgba(32, 36, 46, 0.86);
  border: 1px solid rgba(192, 186, 170, 0.4);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.carousel__btn:hover { background: var(--beige); color: var(--on-accent); }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px 14px;
}
.carousel__dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #6a7283;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.carousel__dot.is-active { background: var(--beige-strong); transform: scale(1.35); }
.hero__caption {
  margin-top: 14px;
  color: #aeb5c2;
  font-size: 13px;
  text-align: center;
}

/* Sections */
.section {
  padding: 72px 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
  position: relative;
}
.section + .section { border-top: 1px solid rgba(160, 154, 138, 0.16); }
.section-kicker {
  color: var(--beige-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  color: var(--beige);
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  border: 2px solid var(--line);
  border-left-color: var(--line-strong);
  border-left-width: 6px;
  padding: 14px 18px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.022);
  text-wrap: balance;
}
.section-lede {
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 28px;
}

/* Intro */
.section--intro { padding-top: 40px; }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 42px;
  align-items: start;
}
.intro-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.intro-copy p:last-child { margin-bottom: 0; }
.intro-aside {
  border: 2px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
  padding: 8px 20px;
}
.intro-aside dl { margin: 0; }
.intro-aside dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(160, 154, 138, 0.18);
}
.intro-aside dl > div:last-child { border-bottom: 0; }
.intro-aside dt { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.intro-aside dd { color: var(--beige-strong); font-size: 13.5px; font-weight: 600; text-align: right; }

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  border: 2px solid var(--line);
  background: var(--panel);
  padding: 28px 28px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--beige-deep);
  background: rgba(192, 186, 170, 0.06);
}
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--beige);
  border: 2px solid var(--line-strong);
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  color: var(--beige-strong);
  font-size: 21px;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-bottom: 16px;
}
.feature-card ul {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(160, 154, 138, 0.18);
  padding-top: 14px;
}
.feature-card li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}
.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--green);
  transform: rotate(45deg);
}

/* Usage split */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: start;
}
.scene-list { display: grid; gap: 0; border-top: 1px solid rgba(160, 154, 138, 0.2); }
.scene-list li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(160, 154, 138, 0.2);
}
.scene-list strong { color: var(--beige-strong); font-size: 17px; }
.scene-list span { color: var(--muted); font-size: 15px; }
.scene-panel {
  border: 2px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.16);
  padding: 26px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.scene-panel h3 {
  color: var(--beige);
  font-size: 19px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.scene-panel__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(160, 154, 138, 0.14);
  font-size: 13.5px;
}
.scene-panel__row span { color: var(--muted); white-space: nowrap; }
.scene-panel__row strong { color: var(--ink-soft); text-align: right; font-weight: 600; }
.scene-panel__note {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(192, 186, 170, 0.09);
  border-left: 3px solid var(--beige);
  color: #d9d3c3;
  font-size: 13.5px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--line);
  background: rgba(0, 0, 0, 0.1);
}
.steps li {
  padding: 26px 24px 30px;
  border-right: 1px solid rgba(160, 154, 138, 0.2);
  position: relative;
}
.steps li:last-child { border-right: 0; }
.steps__num {
  display: block;
  color: var(--beige-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.steps h3 { color: var(--beige-strong); font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; }
.workflow-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(160, 154, 138, 0.4);
  background: rgba(192, 186, 170, 0.06);
  color: #d9d3c3;
  font-size: 14px;
}
.workflow-note svg { flex: none; color: var(--beige); margin-top: 1px; }

/* Spec table */
.table-wrap { overflow-x: auto; border: 2px solid var(--line-strong); }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 15px;
  color: #2b2f38;
}
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border: 1px solid #c7cbd2;
  text-align: left;
  vertical-align: top;
}
.spec-table thead th {
  background: var(--green);
  color: #17251b;
  font-weight: 700;
  border-color: #5faf6d;
}
.spec-table tbody th {
  width: 20%;
  background: #dfe2e7;
  color: #1f232b;
  font-weight: 700;
  white-space: nowrap;
}
.spec-table tbody td { background: #e8e8e8; }
.spec-table tbody tr:nth-child(even) td,
.spec-table tbody tr:nth-child(even) th { background: #f0f0f0; }

/* ISO groups */
.iso-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.iso-group {
  border: 2px solid var(--line);
  background: var(--panel);
  padding: 24px;
}
.iso-group h3 {
  color: var(--beige-strong);
  font-size: 18px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(160, 154, 138, 0.24);
}
.iso-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.iso-tags li {
  border: 1px solid rgba(192, 186, 170, 0.4);
  background: rgba(192, 186, 170, 0.07);
  color: #ded8c8;
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.4;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 2px solid var(--line);
  background: rgba(0, 0, 0, 0.13);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.faq-list details[open] {
  border-color: var(--beige-deep);
  background: rgba(192, 186, 170, 0.055);
}
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  color: var(--beige-strong);
  font-size: 17px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--beige);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.18s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { color: var(--ink-soft); font-size: 15.5px; }

/* Source */
.section--source { padding-bottom: 84px; }
.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.source-copy p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin-bottom: 16px;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 18px;
  border: 2px solid var(--line-strong);
  color: var(--beige-strong);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.source-link:hover { background: var(--beige); color: var(--on-accent); }
.code-card {
  border: 2px solid var(--line-strong);
  background: #262b37;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
}
.code-card__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #20242e;
  border-bottom: 1px solid rgba(160, 154, 138, 0.32);
}
.code-card__bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6c7485;
}
.code-card__bar span:first-child { background: var(--beige); }
.code-card__bar em {
  margin-left: auto;
  color: #98a0af;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.1em;
}
.code-card pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #e4dfd2;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.8;
}
.code-dim { color: #8f98a8; }

/* Footer */
.site-footer {
  border-top: 2px solid var(--line);
  background: rgba(30, 34, 43, 0.5);
  padding: 44px 0 34px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px 48px;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand__mark { width: 40px; height: 40px; }
.footer-brand .brand__name { font-size: 22px; }
.footer-brand p { color: var(--muted); font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a {
  color: #c3c9d4;
  font-size: 13.5px;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--beige-strong); text-decoration: underline; }
.footer-copy {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(160, 154, 138, 0.18);
  color: #9aa2b0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

@media (max-width: 1040px) {
  .hero__grid { gap: 36px; }
  .hero__title { font-size: clamp(42px, 5.2vw, 60px); }
  .site-nav { gap: 22px; }
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: block; }
  .hero { padding-top: 52px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .carousel__slide img { max-height: 430px; }
  .intro-grid,
  .split-grid,
  .source-grid { grid-template-columns: 1fr; gap: 32px; }
  .scene-panel { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(1),
  .steps li:nth-child(2) { border-bottom: 1px solid rgba(160, 154, 138, 0.2); }
  .iso-groups { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap, .narrow { width: calc(100% - 36px); }
  .utility-bar__note { display: none; }
  .utility-bar__inner { justify-content: flex-end; }
  .hero { padding: 44px 0 40px; }
  .hero__title { font-size: clamp(38px, 10vw, 50px); }
  .hero__lede { font-size: 17px; }
  .section { padding: 52px 0; }
  .section-title { padding: 12px 14px; border-left-width: 4px; font-size: clamp(24px, 6.4vw, 32px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px 22px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid rgba(160, 154, 138, 0.2); }
  .steps li:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-copy { padding-top: 18px; }
  .carousel__btn { width: 36px; height: 48px; }
  .carousel__slide { padding: 10px 10px 0; }
  .carousel__slide img { max-height: 360px; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  [data-node-id="download.primary"] {
    min-height: 56px;
    width: 100%;
    padding: 0 24px;
    font-size: 18px;
  }
  .cta-secondary { min-height: 52px; width: 100%; }
  .hero__facts { gap: 8px 16px; font-size: 13px; }
  .intro-aside dl > div { flex-direction: column; gap: 2px; }
  .intro-aside dd { text-align: left; }
  .spec-table { min-width: 540px; font-size: 13.5px; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .code-card pre { font-size: 12px; padding: 18px; }
}

@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;
  }
  [data-node-id="download.primary"] { animation: none; }
  [data-node-id="download.primary"]::after { display: none; }
}
