/* ============ 1. Reset ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, pre {
  margin: 0;
}

ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }

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

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

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* ============ 2. Tokens ============ */
:root {
  --ink: #071A15;
  --ink-deep: #051410;
  --panel: #0D2A21;
  --grid: #133B2E;
  --cyan: #39F2CE;
  --amber: #FF8A3D;
  --warm: #C9C3B8;
  --muted: #8A857D;
  --silver: #D8DEE3;
  --violet: #2A1038;
  --paper: #F4F8F5;

  --ink-60: #BCD0C7;
  --ink-40: #93A49C;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --fs-100: 0.75rem;
  --fs-200: 0.875rem;
  --fs-300: 1rem;
  --fs-400: 1.25rem;
  --fs-500: 1.75rem;
  --fs-600: clamp(1.9rem, 1.35rem + 2.1vw, 2.75rem);
  --fs-700: clamp(2.6rem, 1.5rem + 4.4vw, 4.5rem);
  --fs-800: clamp(3.2rem, 1.2rem + 7.2vw, 7rem);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --radius: 0px;
}

/* ============ 3. Base / typography ============ */
html, body { min-height: 100%; }

body {
  background-color: var(--ink);
  background-image: radial-gradient(90rem 50rem at 78% -14%, rgba(20, 66, 52, 0.5), transparent 62%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-300);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--cyan);
  color: #04120E;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { max-width: 40em; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong { font-weight: 800; }

:where(a, button, [tabindex], summary):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ============ 4. Layout utilities ============ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(44px, 7vw, 88px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.bg-grid {
  background-image:
    repeating-linear-gradient(90deg, rgba(19, 59, 46, 0.55) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(19, 59, 46, 0.32) 0 1px, transparent 1px 88px);
}

.rule {
  border: 0;
  border-top: 1px solid var(--grid);
  margin-block: clamp(24px, 4vw, 44px);
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.1875rem);
  line-height: 1.8;
  color: var(--ink-60);
  max-width: 38em;
}

/* ============ 5. Frame / panel ============ */
.panel {
  background: var(--panel);
  border: 1px solid var(--grid);
  padding: clamp(18px, 2.4vw, 30px);
}

.frame {
  position: relative;
  border: 1px solid var(--grid);
  background: var(--panel);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--cyan);
  opacity: 0.6;
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

/* ============ 6. Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120E;
}

.btn--primary:hover { background: #6BF7DC; border-color: #6BF7DC; }

.btn--ghost {
  border-color: rgba(216, 222, 227, 0.32);
  color: var(--paper);
}

.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--warm {
  background: var(--amber);
  border-color: var(--amber);
  color: #1A0A02;
}

.btn--warm:hover { background: #FFA365; border-color: #FFA365; }

/* ============ 7. Breadcrumbs ============ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumbs > li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crumbs > li + li::before {
  content: "/";
  color: var(--grid);
}

.crumb-link {
  color: var(--ink-40);
  text-decoration: none;
  transition: color 0.2s ease;
}

.crumb-link:hover { color: var(--cyan); }

.crumbs [aria-current="page"] { color: var(--paper); }

/* ============ 8. Figure ============ */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--grid);
  aspect-ratio: 16 / 9;
}

.figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--tall { aspect-ratio: 4 / 5; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--wide { aspect-ratio: 21 / 9; }

.figure--plain {
  background:
    linear-gradient(140deg, #0D2A21 0%, #133B2E 52%, #0B231B 100%);
}

.figure--plain::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(57, 242, 206, 0.22);
  pointer-events: none;
}

.figure-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ============ 9. Chips / status ============ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--grid);
  background: rgba(13, 42, 33, 0.7);
  color: var(--ink-60);
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.chip:hover { border-color: var(--cyan); color: var(--cyan); }

.chip.is-active,
.chip[aria-pressed="true"] {
  border-color: var(--cyan);
  background: rgba(57, 242, 206, 0.1);
  color: var(--cyan);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status--live { color: var(--cyan); }
.status--live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.status--delay { color: var(--amber); }
.status--delay::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
}

/* ============ 10. Section index ============ */
.section-index {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 104px;
  align-self: start;
}

.section-index-link {
  display: block;
  padding: 8px 0 8px 16px;
  border-left: 1px solid var(--grid);
  color: var(--ink-40);
  font-size: var(--fs-200);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.section-index-link:hover { color: var(--paper); border-left-color: var(--ink-40); }

.section-index-link.is-current {
  color: var(--cyan);
  border-left-color: var(--cyan);
  padding-left: 20px;
}

/* ============ 11. Skip link ============ */
.skip-link {
  position: absolute;
  top: -72px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--cyan);
  color: #04120E;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-200);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============ 12. Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--ink);
  border-bottom: 1px solid var(--grid);
  box-shadow: 0 22px 44px -34px rgba(0, 0, 0, 0.95);
}

.header-scale {
  height: 9px;
  border-bottom: 1px solid rgba(19, 59, 46, 0.8);
  background-image: repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 30px);
  background-size: 100% 6px;
  background-position: 0 100%;
  background-repeat: repeat-x;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, var(--cyan) 0%, #6BE3FF 52%, var(--amber) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px var(--gutter) 13px;
}

/* --- brand --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--panel);
  border: 1px solid #1C4A39;
}

.brand-mark i {
  position: absolute;
  left: 5px;
  right: 5px;
  height: 2px;
  background: var(--cyan);
}

.brand-mark i:nth-child(1) { top: 6px; }
.brand-mark i:nth-child(2) { top: 13px; right: 13px; background: var(--paper); }
.brand-mark i:nth-child(3) { top: 20px; background: var(--amber); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- toggle --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: transparent;
  border: 1px solid var(--grid);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* --- nav --- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.8vw, 26px);
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 14px);
  margin: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 4px 11px;
  color: var(--ink-60);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease, background-color 0.2s ease;
}

.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(57, 242, 206, 0.6);
  transition: color 0.2s ease;
}

.nav-link:hover .nav-index { color: var(--cyan); }

.nav-text { display: inline-block; }

.nav-link[aria-current="page"] { color: #FFFFFF; }

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.nav-link[aria-current="page"] .nav-index { color: var(--cyan); }

/* --- tools --- */
.header-tools {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  padding-left: clamp(12px, 1.6vw, 22px);
  border-left: 1px solid var(--grid);
}

.tool-link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(57, 242, 206, 0.42);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tool-link:hover {
  border-bottom-color: var(--cyan);
  color: #8BFFE9;
}

/* ============ 13. Footer ============ */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--ink-deep);
  border-top: 1px solid var(--grid);
  color: var(--ink-60);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(19, 59, 46, 0.55) 0 1px, transparent 1px 84px);
  opacity: 0.7;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.4fr;
  gap: clamp(26px, 4vw, 60px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) clamp(28px, 4vw, 44px);
}

.footer-brand { min-width: 0; }

.footer-lockup {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
}

.footer-lockup:hover { color: var(--cyan); }

.footer-note {
  margin-top: 14px;
  max-width: 30em;
  font-size: var(--fs-200);
  line-height: 1.85;
  color: var(--ink-40);
}

.footer-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col { min-width: 0; }

.footer-col-title {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--grid);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.footer-link {
  display: inline-block;
  color: var(--ink-60);
  font-size: var(--fs-200);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  font-size: var(--fs-200);
  line-height: 1.7;
  color: var(--ink-60);
  word-break: break-word;
}

.footer-contact-key {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-legal {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--grid);
  background: rgba(5, 20, 16, 0.72);
  padding: 18px var(--gutter) clamp(22px, 3vw, 30px);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  max-width: var(--wrap);
  margin-inline: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-legal-text { max-width: none; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
}

.legal-links > li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 9px;
  margin-right: 18px;
  vertical-align: middle;
  background: var(--grid);
}

.legal-link {
  color: var(--ink-40);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-link:hover { color: var(--cyan); }

.footer-copy { max-width: none; }

/* ============ 14. To top ============ */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  background: var(--panel);
  border: 1px solid rgba(57, 242, 206, 0.42);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120E;
}

/* ============ 15. Responsive ============ */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 95;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6px var(--gutter) 26px;
    background: var(--panel);
    border-bottom: 1px solid var(--grid);
    box-shadow: 0 34px 64px -26px rgba(0, 0, 0, 0.92);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .site-header[data-open] .site-nav { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li + li { border-top: 1px solid rgba(19, 59, 46, 0.7); }

  .nav-link {
    width: 100%;
    padding: 15px 2px 16px;
    font-size: 1.0625rem;
  }

  .nav-link::after {
    left: 2px;
    right: auto;
    width: 26px;
    bottom: 10px;
  }

  .nav-link[aria-current="page"]::after { width: 44px; }

  .header-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 20px;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--grid);
  }

  .tool-link {
    display: block;
    padding: 10px 0;
    font-size: 0.9375rem;
    border-bottom: 0;
  }

  .tool-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 10px;
    background: rgba(57, 242, 206, 0.42);
  }
}

@media (max-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr); }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand { grid-column: 1 / -1; }

  .section-index {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 20px;
  }

  .section-index-link {
    padding: 6px 12px;
    border: 1px solid var(--grid);
    border-left: 1px solid var(--grid);
    font-size: var(--fs-100);
  }

  .section-index-link.is-current {
    padding-left: 12px;
    border-color: var(--cyan);
  }
}

@media (max-width: 640px) {
  body { line-height: 1.8; }

  .header-inner { padding-block: 10px 11px; }

  .brand-sub { letter-spacing: 0.2em; }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    letter-spacing: 0.08em;
  }

  .btn { width: 100%; }

  .to-top { padding: 10px 13px; }
}

/* ============ 16. Motion preference ============ */
@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;
    scroll-behavior: auto !important;
  }

  .btn:hover { transform: none; }
}
