/* ==========================================================================
   ETS试卷助手 - "纸张 / 印刷" 主题
   暖白纸底 + 墨色文字 + 印章红强调色。没有玻璃感、没有霓虹。
   Dials -> DESIGN_VARIANCE 6 / MOTION 4 / DENSITY 4
   ========================================================================== */

:root {
  /* Paper surfaces */
  --paper:        #f3ecdf;
  --paper-2:      #ece1ce;
  --card:         #fdfaf3;
  --card-2:       #f7f0e2;
  --ink:          #2b241b;
  --ink-2:        #5f5545;
  --ink-3:        #95876f;

  --line:         rgba(74, 58, 38, .16);
  --line-strong:  rgba(74, 58, 38, .32);

  /* Single seal-red accent */
  --seal:         #b23a2f;
  --seal-deep:    #8d2a21;
  --seal-soft:    rgba(178, 58, 47, .10);
  --seal-line:    rgba(178, 58, 47, .34);
  --gold:         #a9822f;

  --shadow-sm: 0 1px 2px rgba(58, 44, 24, .10);
  --shadow-md: 0 16px 34px -22px rgba(58, 44, 24, .55);
  --shadow-lg: 0 34px 70px -40px rgba(58, 44, 24, .6);

  --r-xs: 4px;
  --r-sm: 7px;
  --r-md: 11px;
  --r-lg: 15px;
  --r-xl: 20px;

  --max: 1180px;
  --gutter: 24px;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);

  --z-nav: 40;
  --z-grain: 70;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Warm paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
}

/* Soft warm vignette + faint printed rule near the top */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(178, 58, 47, .06), transparent 60%),
    radial-gradient(1100px 700px at 100% 108%, rgba(169, 130, 47, .07), transparent 62%);
}

main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

::selection { background: var(--seal); color: #fff6ee; }

:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

.muted { color: var(--ink-2); }
.dim   { color: var(--ink-3); }
.mono  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Eyebrow label - small caps printed tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--seal);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--seal);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(243, 236, 223, .92);
  border-bottom-color: var(--line-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--seal);
  transition: opacity .35s var(--ease);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.01em; }
.brand-seal {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--seal);
  color: #fff6ee;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 2px 2px 0 rgba(43, 36, 27, .22);
  transform: rotate(-3deg);
}
.brand-text { font-family: var(--font-serif); font-size: 16px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a {
  padding: 9px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.site-nav > a:hover { color: var(--ink); }
.site-nav > a.active { color: var(--ink); border-bottom-color: var(--seal); }
.site-nav .btn { margin-left: 10px; border-bottom: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--card);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Buttons - printed + hard offset shadow ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn:active { transform: translate(1px, 1px); }

.btn-primary {
  background: var(--seal);
  color: #fff6ee;
  border-color: var(--seal-deep);
  box-shadow: 2px 2px 0 rgba(43, 36, 27, .28);
}
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(43, 36, 27, .3); }

.btn-ghost {
  background: var(--card);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgba(43, 36, 27, .16); }

.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

.btn-danger { background: var(--seal-soft); border-color: var(--seal-line); color: var(--seal); }
.btn-danger:hover { background: rgba(178, 58, 47, .18); }

.btn-sm { padding: 9px 15px; font-size: 13px; }
.btn-block { width: 100%; }
.btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn .btn-icon { font-family: var(--font-mono); font-size: 14px; }

/* ---------------- Hero ---------------- */
.hero { padding: 66px 0 84px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.12;
  margin: 22px 0 22px;
}
.hero h1 mark {
  background: linear-gradient(transparent 58%, rgba(178, 58, 47, .22) 58%);
  color: inherit;
  padding: 0 .06em;
}
.hero .lead { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); max-width: 54ch; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.hero-stats {
  display: flex;
  gap: 42px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  flex-wrap: wrap;
}
.hero-stats strong { display: block; font-family: var(--font-mono); font-size: 27px; font-weight: 600; letter-spacing: -.02em; }
.hero-stats span { font-size: 12.5px; color: var(--ink-3); }

/* ---------------- Hero visual: exam paper mockup ---------------- */
.hero-visual { display: flex; justify-content: center; }
.paper-stack { position: relative; width: 100%; max-width: 420px; }

.sheet {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.sheet-2, .sheet-1 { position: absolute; inset: 0; z-index: -1; }
.sheet-2 { transform: rotate(4.5deg) translate(10px, 10px); background: var(--paper-2); }
.sheet-1 { transform: rotate(-2.5deg) translate(-6px, 6px); }

.sheet-main {
  position: relative;
  padding: 26px 26px 22px;
  background:
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(74, 58, 38, .07) 34px 35px),
    var(--card);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sheet-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--seal);
}
.sheet-stamp {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 2px solid var(--seal);
  border-radius: 50%;
  color: var(--seal);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  transform: rotate(-14deg);
  opacity: .85;
  animation: stampIn 1.1s var(--ease) .3s both;
}
@keyframes stampIn {
  0%   { transform: rotate(-24deg) scale(1.6); opacity: 0; }
  70%  { opacity: .9; }
  100% { transform: rotate(-14deg) scale(1); opacity: .85; }
}

.q { display: flex; align-items: center; gap: 12px; height: 34px; }
.q-no { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); width: 20px; }
.q-text {
  flex: 1;
  height: 7px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(74, 58, 38, .18), rgba(74, 58, 38, .07));
}
.q-text.short { flex: .6; }
.q-answer {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 22px;
  border: 1px solid var(--seal-line);
  border-radius: var(--r-xs);
  background: var(--seal-soft);
  color: var(--seal);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.sheet-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.sheet-foot span { width: 46px; height: 6px; border-radius: 3px; background: rgba(74, 58, 38, .12); }

/* Little paper clip / tape */
.tape {
  position: absolute;
  top: -14px; left: 50%;
  width: 92px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(178, 58, 47, .16);
  border: 1px dashed rgba(178, 58, 47, .3);
}

/* ---------------- Sections ---------------- */
.section { padding: 88px 0 80px; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 40px); margin: 14px 0 12px; }
.section-head p { color: var(--ink-2); font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.rule { height: 1px; border: 0; margin: 0; background: var(--line-strong); opacity: .5; }

/* ---------------- Paper cards ---------------- */
.paper {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.paper:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------------- Feature bento ---------------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.b-6 { grid-column: span 6; }
.b-4 { grid-column: span 4; }
.b-3 { grid-column: span 3; }
.b-lead { grid-column: span 6; grid-row: span 2; }

.feature-card { padding: 28px; display: flex; flex-direction: column; }
.feature-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 14px;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--seal);
  background: var(--card-2);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.feature-icon svg { width: 20px; height: 20px; }
.paper:hover .feature-icon { transform: rotate(-4deg) scale(1.04); background: var(--seal-soft); }

.feature-title { font-size: 20px; margin-bottom: 9px; }
.feature-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; margin: 0; }
.b-lead .feature-title { font-size: 26px; }
.b-lead .feature-desc { font-size: 15.5px; }

.spec-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.spec-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.spec-list .tick { color: var(--seal); font-family: var(--font-mono); flex-shrink: 0; }

/* ---------------- Split / checklist ---------------- */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  color: var(--ink-2);
  font-size: 14.5px;
  border-bottom: 1px dashed var(--line-strong);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 7px; height: 7px;
  background: var(--seal);
}

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  background: var(--seal);
  padding: 2px 8px;
  border-radius: var(--r-xs);
  box-shadow: 2px 2px 0 rgba(43, 36, 27, .2);
}
.step h3 { font-size: 16px; margin-bottom: 7px; }
.step p { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; margin: 0; }

/* ---------------- Release cards (home + downloads) ---------------- */
.release-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.release-card { padding: 26px; display: flex; flex-direction: column; }

.release-top { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.platform-mark {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--card-2);
  color: var(--seal);
}
.platform-mark svg { width: 24px; height: 24px; }
.release-ident { flex: 1; min-width: 0; }
.release-name { font-size: 19px; margin: 0 0 3px; }
.release-sub { margin: 0; font-size: 12.5px; color: var(--ink-3); font-family: var(--font-mono); }
.sub-sep { margin: 0 6px; opacity: .5; }

.stamp {
  align-self: flex-start;
  padding: 3px 9px;
  border: 1px solid var(--seal-line);
  border-radius: var(--r-xs);
  color: var(--seal);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  transform: rotate(-2deg);
}

.release-desc { color: var(--ink-2); font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
.release-req { font-size: 12.5px; color: var(--ink-3); margin: 0 0 16px; font-family: var(--font-mono); }

.dl-actions { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.alt-links { display: flex; flex-direction: column; gap: 9px; }
.alt-title { font-size: 12.5px; color: var(--ink-3); }
.alt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--card-2);
  font-size: 13px;
  color: var(--ink);
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip-link svg { width: 15px; height: 15px; color: var(--seal); }
.chip-link:hover { transform: translate(-1px, -1px); border-color: var(--seal-line); color: var(--seal); box-shadow: 3px 3px 0 rgba(43, 36, 27, .14); }

.release-facts { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 7px; }
.release-facts li { display: flex; gap: 9px; font-size: 12.5px; color: var(--ink-3); }
.release-facts .tick { color: var(--seal); }

/* Version comparison tiles (C# / Python) */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.duo .feature-card { height: 100%; }
.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 14px;
}
.lang-badge svg { width: 20px; height: 20px; }

/* ---------------- CTA ---------------- */
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 46px 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 220px; height: 220px;
  border: 24px solid var(--seal-soft);
  border-radius: 50%;
  pointer-events: none;
}
.cta h2 { font-size: clamp(23px, 3vw, 32px); margin: 0 0 8px; position: relative; }
.cta p { margin: 0; color: var(--ink-2); position: relative; }
.cta > div { position: relative; }

/* ---------------- Page head ---------------- */
.page-head { padding: 66px 0 4px; }
.page-head h1 { font-size: clamp(34px, 4.8vw, 56px); margin: 16px 0 14px; }
.page-head p { color: var(--ink-2); font-size: 17px; max-width: 62ch; }

/* ---------------- Empty / error ---------------- */
.empty {
  padding: 64px 24px;
  text-align: center;
  color: var(--ink-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--card-2);
}
.empty svg { width: 30px; height: 30px; color: var(--ink-3); margin: 0 auto 14px; }
.empty p { margin: 0; }

.error-page { position: relative; padding: 100px 0 92px; text-align: center; overflow: hidden; }
.error-inner { position: relative; max-width: 54ch; margin: 0 auto; }
.error-code {
  position: absolute;
  top: -56px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(170px, 32vw, 320px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.error-inner h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 18px 0 14px; }
.error-inner p { margin: 0 auto 30px; max-width: 42ch; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: auto;
  padding: 64px 0 26px;
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}
.footer-inner { display: grid; grid-template-columns: 2.2fr auto auto; gap: 40px 60px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 15px;
}
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--seal); }
.footer-about p { color: var(--ink-3); font-size: 13.5px; max-width: 46ch; margin: 14px 0 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-3);
  font-size: 12.5px;
}

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .b-lead { grid-column: span 12; grid-row: auto; }
  .b-6 { grid-column: span 12; }
  .b-4, .b-3 { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .split, .release-grid, .duo { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 62px 0; }
  .hero { padding: 40px 0 56px; }

  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 13px 14px; border-bottom: 1px solid var(--line); }
  .site-nav > a.active { border-bottom-color: var(--line); color: var(--seal); }
  .site-nav .btn { margin: 8px 0 0; }

  .b-4, .b-3 { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 32px 26px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .site-header .brand-text { display: none; }
  .hero-actions .btn { flex: 1; }
  .release-card { padding: 22px; }
}
