/* =========================================================
   polar-pc.com.cn — shared site kit
   /assets/site.css
   ========================================================= */

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

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

body {
  margin: 0;
  background: var(--snow-50);
  color: var(--ink-800);
  font-family: var(--font-sans);
  font-size: var(--fs-17);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, dl, dd, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink-900); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
a { color: var(--blue-600); }
button { font-family: inherit; }
img, svg, video { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; }
summary { cursor: pointer; }

/* ---------- tokens ---------- */
:root {
  --ink-900: #0A1B2A;
  --ink-800: #12324F;
  --blue-600: #2E6F9E;
  --blue-300: #A9CBE0;
  --snow-50: #F4F8FB;
  --paper: #FFFFFF;
  --slate: #5B6B7A;
  --mist: #D7E1E8;
  --maple: #C8102E;
  --maple-dark: #8E0B20;

  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, "Cascadia Mono", "Roboto Mono", monospace;
  --font-latin: "Inter", "Helvetica Neue", Arial, sans-serif;

  --fs-56: clamp(2.25rem, 4.6vw, 3.5rem);
  --fs-40: clamp(1.8rem, 3.2vw, 2.5rem);
  --fs-32: clamp(1.5rem, 2.4vw, 2rem);
  --fs-26: clamp(1.3rem, 1.9vw, 1.625rem);
  --fs-20: 1.25rem;
  --fs-17: 1.0625rem;
  --fs-15: 0.9375rem;
  --fs-13: 0.8125rem;

  --gutter: 72px;
  --maxw: 1280px;
  --radius: 3px;
  --rule: 1px solid rgba(18, 50, 79, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 1000px) { :root { --gutter: 40px; } }
@media (max-width: 640px)  { :root { --gutter: 20px; --maxw: 100%; } }

/* ---------- typography helpers ---------- */
.display {
  font-size: var(--fs-56);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.lede {
  font-size: var(--fs-20);
  line-height: 1.65;
  color: var(--ink-800);
  max-width: 36em;
  font-weight: 400;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-latin);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 18px;
  height: 2px;
  background: var(--maple);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: 0;
}

.prose { max-width: 36em; }
.prose p + p { margin-top: 1em; }
.prose h3, .prose h4 { margin: 1.6em 0 0.5em; font-size: var(--fs-20); }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- layout ---------- */
.frame {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: var(--rule);
}

.section__title { font-size: var(--fs-32); }

.section--band {
  background: var(--ink-900);
  color: #E9F2F8;
}
.section--band h1,
.section--band h2,
.section--band h3 { color: #FFFFFF; }
.section--band .eyebrow { color: var(--blue-300); }
.section--band a { color: var(--blue-300); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }

.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

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

.breadcrumb {
  font-size: var(--fs-13);
  color: var(--slate);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li::after { content: "/"; color: var(--blue-300); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover { color: var(--blue-600); border-bottom-color: var(--blue-300); }

#main-content { scroll-margin-top: 96px; }

/* ---------- cards / panels / tags ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px);
}

.card--ink {
  background: var(--ink-900);
  border-color: var(--ink-800);
  color: #E9F2F8;
}
.card--ink h2, .card--ink h3 { color: #FFFFFF; }

.panel {
  background: var(--snow-50);
  border-left: 3px solid var(--blue-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(14px, 2vw, 20px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.22em 0.6em;
  border: 1px solid var(--blue-300);
  border-radius: 2px;
  font-family: var(--font-latin);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-800);
  background: var(--paper);
}

.tag--maple {
  border-color: var(--maple);
  color: var(--maple-dark);
  background: rgba(200, 16, 46, 0.05);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.35em;
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary { background: var(--blue-600); color: #FFFFFF; }
.btn--primary:hover { background: var(--ink-800); }

.btn--ghost { background: transparent; border-color: var(--blue-300); color: var(--ink-800); }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-600); }

.btn--maple { background: transparent; border-color: var(--maple); color: var(--maple-dark); }
.btn--maple:hover { background: var(--maple); color: #FFFFFF; }

.btn--strip {
  flex: none;
  background: var(--maple);
  border-color: var(--maple);
  color: #FFFFFF;
  padding: 0.68em 1.2em;
}
.btn--strip:hover { background: var(--maple-dark); border-color: var(--maple-dark); }

/* ---------- table system ---------- */
.table-frame { position: relative; }

.table-frame__edge {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  background: linear-gradient(to left, rgba(244, 248, 251, 0.96), rgba(244, 248, 251, 0));
}

.table-frame[data-scrollable="true"] .table-frame__edge { opacity: 1; }

.table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
}
.table-scroll:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.data-table {
  min-width: 640px;
  background: var(--paper);
  font-size: var(--fs-15);
  line-height: 1.5;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  background: var(--snow-50);
  border-bottom: 1px solid var(--mist);
  color: var(--slate);
  font-size: var(--fs-13);
  letter-spacing: 0.04em;
}

.data-table thead th {
  background: var(--ink-800);
  color: #E9F2F8;
  text-align: left;
  padding: 12px 16px;
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--mist);
  vertical-align: top;
}

.data-table tbody tr:nth-child(even) { background: rgba(215, 225, 232, 0.22); }

.data-table tbody tr:hover { background: rgba(46, 111, 158, 0.07); }

.data-table tbody tr:hover td:first-child,
.data-table tbody tr:focus-within td:first-child {
  box-shadow: inset 3px 0 0 var(--maple);
}

/* ---------- image frame bases ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background-color: var(--snow-50);
  background-image:
    linear-gradient(rgba(46, 111, 158, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 111, 158, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media-frame__inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.media-frame__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide .media-frame__inner { aspect-ratio: 21 / 9; }

.media-frame--tablet {
  padding: 14px;
  border: 5px solid var(--ink-800);
  border-radius: 14px;
  background-color: var(--paper);
}
.media-frame--tablet .media-frame__inner {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--mist);
  border-radius: 2px;
}

.media-frame--strip .media-frame__inner { aspect-ratio: 24 / 5; }

@media (max-width: 640px) {
  .media-frame--strip .media-frame__inner { aspect-ratio: 16 / 7; }
  .media-frame--tablet { padding: 8px; border-width: 4px; border-radius: 10px; }
}

/* =========================================================
   HEADER — framed navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink-900);
  color: #E9F2F8;
  border-top: 2px solid var(--maple);
  border-bottom: 1px solid rgba(169, 203, 224, 0.28);
}

.site-header__inner {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.6vw, 24px);
  min-height: 78px;
  border-left: 1px solid rgba(169, 203, 224, 0.22);
  border-right: 1px solid rgba(169, 203, 224, 0.22);
}

/* skip link */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--maple);
  color: #FFFFFF;
  font-size: var(--fs-15);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; }

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 10px 20px 10px 18px;
  border-right: 1px solid rgba(169, 203, 224, 0.22);
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  position: relative;
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(169, 203, 224, 0.5);
  border-radius: 2px;
}
.brand__ring {
  position: absolute;
  inset: 6px;
  border: 1px solid var(--blue-300);
  border-radius: 50%;
}
.brand__bar {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--maple);
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-size: var(--fs-17);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #FFFFFF;
}

.brand__tagline {
  display: block;
  font-size: var(--fs-13);
  line-height: 1.4;
  color: var(--blue-300);
  letter-spacing: 0.02em;
}

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(169, 203, 224, 0.4);
  border-radius: 2px;
  color: #D9E7F1;
  font-size: var(--fs-13);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--blue-300); color: #FFFFFF; }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 11px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease), bottom 0.2s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.site-header[data-open="true"] .nav-toggle__bars::before {
  top: 4.5px;
  transform: rotate(45deg);
}
.site-header[data-open="true"] .nav-toggle__bars::after {
  bottom: 4.5px;
  transform: rotate(-45deg);
}

/* primary nav */
.primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: center;
}

.primary-nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(2px, 1vw, 14px);
  list-style: none;
}

.primary-nav__item { display: flex; }

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  color: #D9E7F1;
  font-size: var(--fs-15);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.primary-nav__link:hover {
  color: #FFFFFF;
  border-bottom-color: rgba(200, 16, 46, 0.6);
}

.primary-nav__no {
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(169, 203, 224, 0.8);
  padding: 1px 3px;
  border-radius: 1px;
}

.primary-nav__link[aria-current="page"] {
  color: #FFFFFF;
  border-bottom-color: var(--maple);
}
.primary-nav__link[aria-current="page"] .primary-nav__no {
  background: var(--maple);
  color: #FFFFFF;
}

/* nav shortcut */
.nav-shortcut {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: none;
  margin-left: auto;
  padding: 0 20px;
  background: rgba(46, 111, 158, 0.28);
  border-left: 1px solid rgba(169, 203, 224, 0.22);
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.nav-shortcut:hover { background: var(--blue-600); }

.nav-shortcut__label {
  font-size: var(--fs-15);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-shortcut__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--blue-300);
  white-space: nowrap;
}
.nav-shortcut:hover .nav-shortcut__meta { color: #FFFFFF; }

/* scroll progress */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: rgba(169, 203, 224, 0.14);
  overflow: hidden;
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--maple);
  transition: width 0.1s linear;
}

/* ---------- header responsive ---------- */
@media (max-width: 1180px) {
  .primary-nav__link { padding-inline: 6px; font-size: var(--fs-15); }
  .nav-shortcut { padding-inline: 14px; }
}

@media (max-width: 1000px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 66px;
    padding-block: 9px;
    border-left: 0;
    border-right: 0;
  }

  .brand {
    order: 1;
    padding: 0;
    border-right: 0;
  }

  .nav-toggle {
    order: 2;
    display: inline-flex;
  }

  .nav-shortcut {
    order: 3;
    flex: 0 0 auto;
    margin-left: 0;
    padding: 7px 12px;
    background: rgba(46, 111, 158, 0.22);
    border-left: 1px solid rgba(169, 203, 224, 0.22);
    border-radius: 2px;
  }
  .nav-shortcut__meta { display: none; }

  .primary-nav {
    order: 4;
    flex: 0 0 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-block: 6px 4px;
    border-top: 1px solid rgba(169, 203, 224, 0.22);
  }

  .site-header[data-open="true"] .primary-nav { display: flex; }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav__link {
    justify-content: flex-start;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(169, 203, 224, 0.14);
    border-left: 2px solid transparent;
  }

  .primary-nav__link[aria-current="page"] {
    border-bottom-color: rgba(169, 203, 224, 0.14);
    border-left-color: var(--maple);
  }
}

@media (max-width: 520px) {
  .brand__tagline { display: none; }
  .brand__mark { width: 28px; height: 28px; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 9px 10px; }
  .nav-shortcut__label { font-size: var(--fs-13); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--snow-50);
  color: var(--ink-800);
  border-top: 1px solid var(--mist);
}

.footer-index {
  background: var(--paper);
  padding-block: clamp(36px, 5vw, 64px);
}

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

.footer-brand__name {
  font-size: var(--fs-20);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.footer-brand__line {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.02em;
  color: var(--blue-600);
  margin-bottom: 12px;
}

.footer-brand__note {
  max-width: 26em;
  font-size: var(--fs-15);
  line-height: 1.7;
  color: var(--slate);
}

.footer-nav__title {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 14px;
  font-family: var(--font-latin);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.footer-nav__title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--maple);
}

.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  list-style: none;
}

.footer-nav__list a {
  display: inline-block;
  padding-block: 2px;
  font-size: var(--fs-15);
  color: var(--ink-800);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-nav__list a:hover {
  color: var(--blue-600);
  border-bottom-color: var(--blue-300);
}

.archive-card {
  padding: 20px;
  background: var(--ink-900);
  color: #E9F2F8;
  border-radius: var(--radius);
  border-left: 3px solid var(--maple);
}

.archive-card__title {
  margin-bottom: 12px;
  font-family: var(--font-latin);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.archive-card__list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.archive-card__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(169, 203, 224, 0.28);
}
.archive-card__list > div:last-child { border-bottom: 0; padding-bottom: 0; }

.archive-card__list dt {
  font-size: var(--fs-13);
  color: var(--blue-300);
}

.archive-card__list dd {
  margin: 0;
  font-size: var(--fs-15);
  color: #FFFFFF;
}

.archive-card__note {
  margin-top: 12px;
  font-size: var(--fs-13);
  line-height: 1.6;
  color: rgba(233, 242, 248, 0.72);
}

/* legal layer */
.footer-legal {
  border-top: 1px solid var(--mist);
  padding-block: 18px;
}

.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  font-size: var(--fs-13);
  color: var(--slate);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
}

.footer-legal__links a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-legal__links a:hover {
  color: var(--maple-dark);
  border-bottom-color: var(--maple);
}

.footer-legal__meta { margin: 0; }

/* contact strip */
.contact-strip {
  background: var(--ink-900);
  color: #E9F2F8;
  border-top: 1px solid rgba(169, 203, 224, 0.2);
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 12px;
}

.contact-strip__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
}

.contact-strip__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-13);
}

.contact-strip__label {
  color: var(--blue-300);
  letter-spacing: 0.04em;
}

.contact-strip__value {
  color: #FFFFFF;
  font-size: var(--fs-15);
}

.copy-btn {
  padding: 2px 8px;
  background: transparent;
  border: 1px solid rgba(169, 203, 224, 0.45);
  border-radius: 2px;
  color: var(--blue-300);
  font-size: var(--fs-13);
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.copy-btn:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #FFFFFF;
}

.copy-btn__feedback {
  font-size: var(--fs-13);
  color: var(--blue-300);
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}
.copy-btn__feedback[data-visible="true"] { opacity: 1; }

@media (max-width: 1000px) {
  .footer-index__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
  .archive-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .contact-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 18px;
  }
  .contact-strip__group { gap: 6px 24px; }
}

@media (max-width: 640px) {
  .footer-index__inner { grid-template-columns: minmax(0, 1fr); }
  .footer-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- motion ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

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

.site-header :where(a, button):focus-visible {
  outline-color: #BFE3F5;
  outline-offset: 2px;
}

.contact-strip :where(a, button):focus-visible {
  outline-color: #BFE3F5;
}

@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;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after { transition: none; }
}
