/* ==========================================================================
   百利宫新 · FRESH CN 共享站点样式 /assets/site.css
   1. Reset  2. Tokens  3. 基础排版  4. 通用工具  5. 通用组件
   6. Header  7. Footer  8. 响应式  9. Reduced Motion
   ========================================================================== */

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

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

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0B1723;
  --ink-soft: #122435;
  --mist: #E9F0F6;
  --paper: #F7FAFC;
  --teal: #0E3B3A;
  --indigo: #2D2A6E;
  --wine: #6A2038;
  --aqua: #1FF0C8;
  --amber: #FF8A3D;
  --amber-deep: #B85C1E;
  --slate: #5E7183;
  --mint: #C9F7EE;

  --line-light: rgba(11, 23, 35, 0.14);
  --line-soft: rgba(11, 23, 35, 0.08);
  --line-dark: rgba(233, 240, 246, 0.16);
  --line-aqua: rgba(31, 240, 200, 0.28);

  --font-display: "Archivo Narrow", "Oswald", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, "Noto Sans SC", monospace;

  --shell: 1320px;
  --gutter: clamp(18px, 5vw, 84px);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-base: 220ms;
  --t-slow: 320ms;

  --shadow-card: 0 1px 0 rgba(11, 23, 35, 0.05), 0 10px 30px -18px rgba(11, 23, 35, 0.35);
  --shadow-float: 0 18px 44px -24px rgba(11, 23, 35, 0.55);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5.6vw, 72px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: clamp(16px, 1.5vw, 19px); }

p { text-wrap: pretty; }

strong { font-weight: 700; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 4. 通用工具 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

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

.section--tight {
  padding-block: clamp(32px, 4vw, 56px);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.data-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: #40566A;
  max-width: 62ch;
}

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

.rule--dark {
  background: var(--line-dark);
}

.blueprint {
  position: relative;
  isolation: isolate;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 23, 35, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 23, 35, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.85;
}

.blueprint--dark::before {
  background-image:
    linear-gradient(to right, rgba(31, 240, 200, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 240, 200, 0.07) 1px, transparent 1px);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--amber-deep);
  flex: none;
}

.section-index {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(11, 23, 35, 0.16);
}

/* ---------- 5. 通用组件 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(11, 23, 35, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}

.btn:hover {
  --btn-bd: var(--ink);
  background-color: rgba(11, 23, 35, 0.06);
}

.btn--cta {
  --btn-bg: var(--amber);
  --btn-fg: var(--ink);
  --btn-bd: var(--amber);
  font-weight: 700;
}

.btn--cta:hover {
  --btn-bg: #FFA163;
  --btn-bd: #FFA163;
}

.btn--ghost {
  --btn-fg: var(--paper);
  --btn-bd: rgba(233, 240, 246, 0.34);
}

.btn--ghost:hover {
  --btn-bd: var(--aqua);
  background-color: rgba(31, 240, 200, 0.1);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--indigo);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.badge--aqua {
  background: var(--aqua);
  color: var(--ink);
}

.badge--dark {
  background: rgba(31, 240, 200, 0.12);
  border: 1px solid var(--line-aqua);
  color: var(--aqua);
}

.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card--float {
  box-shadow: var(--shadow-float);
}

.panel {
  padding: clamp(20px, 2.6vw, 34px);
  background: var(--teal);
  border: 1px solid rgba(31, 240, 200, 0.18);
  border-radius: var(--radius-lg);
  color: #D8E6EE;
}

.panel h2, .panel h3 {
  color: var(--paper);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(94, 113, 131, 0.55);
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.breadcrumb a:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

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

/* 图片容器基础规则 —— 页面阶段放置占位图 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(31, 240, 200, 0.16), transparent 58%),
    linear-gradient(158deg, var(--teal) 0%, var(--ink) 82%);
}

.media-frame > img,
.media-frame > picture,
.media-frame > picture > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(233, 240, 246, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233, 240, 246, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: overlay;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--screen { aspect-ratio: 9 / 19.5; max-width: 340px; }

/* 滚动显现协议 */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-aqua);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
  top: 0;
}

.header-rail {
  height: 6px;
  background-color: var(--ink);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(31, 240, 200, 0.85) 0 1px,
    transparent 1px 26px
  );
  background-size: auto 4px;
  background-repeat: repeat-x;
  background-position: 0 0;
  border-bottom: 1px solid rgba(31, 240, 200, 0.12);
}

.header-strip {
  background: rgba(233, 240, 246, 0.04);
  border-bottom: 1px solid rgba(233, 240, 246, 0.08);
}

.header-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 30px;
}

.strip-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: #A9BFCE;
  white-space: nowrap;
}

.strip-note--dim {
  color: #8AA0B2;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 3px rgba(31, 240, 200, 0.14);
  animation: pulseDot 2.8s var(--ease) infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31, 240, 200, 0.14); }
  50% { box-shadow: 0 0 0 5px rgba(31, 240, 200, 0.06); }
}

.header-main {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: none;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  font-size: 21px;
  letter-spacing: 0.03em;
  line-height: 1;
}

.brand-slash {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--aqua);
  line-height: 1;
}

.brand-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqua);
  line-height: 1;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  display: block;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #C3D3E0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(31, 240, 200, 0.08);
  border-color: var(--line-aqua);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  background-color: var(--aqua);
  border-color: var(--aqua);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  color: var(--paper);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--line-aqua);
  background-color: rgba(31, 240, 200, 0.08);
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) linear;
}

.site-header[data-open] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--aqua) 0%, var(--amber) 100%);
  z-index: 2;
  transition: width 120ms linear;
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 7. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: #AFC2D0;
  font-size: 14px;
  padding-top: 2px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--aqua) 0%,
    var(--aqua) 34%,
    var(--amber) 34%,
    var(--amber) 62%,
    var(--wine) 62%,
    var(--wine) 100%
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.25fr 0.7fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) clamp(32px, 4vw, 48px);
}

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

.footer-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.footer-brand:hover {
  border-bottom-color: var(--aqua);
}

.footer-tagline {
  margin-top: 12px;
  color: #8FA6B8;
  font-size: 14px;
  line-height: 1.7;
  max-width: 22ch;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.foot-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-aqua);
  background: rgba(31, 240, 200, 0.07);
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.foot-chip--ghost {
  color: #9FB4C4;
  border-color: var(--line-dark);
  background: transparent;
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  font-stretch: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #B9CBD8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.footer-link:hover,
.footer-link[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--aqua);
}

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

.copy-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 8px;
  padding: 9px 11px;
  background: rgba(233, 240, 246, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  color: #DCE7EF;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.copy-line:hover {
  border-color: var(--line-aqua);
  background: rgba(31, 240, 200, 0.07);
}

.copy-key {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7E96A8;
}

.copy-text {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.copy-act {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--aqua);
}

.copy-line.is-copied {
  border-color: var(--aqua);
  background: rgba(31, 240, 200, 0.13);
}

.copy-line.is-copied .copy-act {
  color: var(--paper);
}

.footer-addr {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #8FA6B8;
}

.footer-hours {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #7E96A8;
}

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

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter) 30px;
  border-top: 1px solid rgba(233, 240, 246, 0.1);
}

.footer-copy,
.footer-icp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #7F94A6;
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}

@media (max-width: 999px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    margin-left: 0;
    padding: 10px var(--gutter) 24px;
    background: var(--teal);
    border-bottom: 1px solid var(--line-aqua);
    box-shadow: 0 26px 44px -28px rgba(0, 0, 0, 0.8);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .site-header[data-open] .site-nav {
    display: block;
    animation: navDrop var(--t-base) var(--ease);
  }

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

  .nav-link {
    gap: 14px;
    padding: 14px 6px;
    border: 0;
    border-bottom: 1px solid rgba(233, 240, 246, 0.1);
    border-radius: 0;
    font-size: 15px;
    color: #D6E3EC;
  }

  .nav-link::before {
    content: attr(data-index);
    flex: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--aqua);
  }

  .nav-link:hover {
    background: rgba(31, 240, 200, 0.06);
    border-color: rgba(233, 240, 246, 0.1);
  }

  .nav-link[aria-current="page"] {
    background: rgba(31, 240, 200, 0.1);
    border-color: rgba(233, 240, 246, 0.1);
    color: var(--aqua);
    box-shadow: inset 2px 0 0 var(--aqua);
  }
}

@media (max-width: 780px) {
  .strip-note--dim {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-main {
    min-height: 56px;
    gap: 10px;
  }

  .brand-mark {
    font-size: 18px;
  }

  .brand-code {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .btn--sm {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .header-strip {
    display: none;
  }
}

@media (max-width: 400px) {
  .brand-code,
  .brand-slash {
    display: none;
  }
}

/* ---------- 9. Reduced Motion ---------- */
@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;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
