/* ============ 1. Reset & Variables ============ */
:root {
  --bg-deep: #0E1026;
  --bg-panel: #1A1F3D;
  --bg-footer: #090B1A;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(14, 16, 38, 0.92);
  --gold: #F5C542;
  --gold-light: #FFE27A;
  --ice: #F2F5FA;
  --lavender: #A7B4E6;
  --ice-blue: #9FD8E3;
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(245, 197, 66, 0.3);

  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Courier New', monospace;

  --container-max: 1280px;
  --header-height: 72px;
  --space-section: clamp(64px, 8vw, 120px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --chamfer-sm: 8px;
  --chamfer-lg: 20px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ice);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(26, 31, 61, 0.6) 0%, transparent 42%),
    radial-gradient(circle at 86% 68%, rgba(245, 197, 66, 0.04) 0%, transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 56px 56px, 56px 56px;
  min-height: 100vh;
}

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

a {
  color: var(--ice-blue);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 900;
  color: var(--ice);
  line-height: 1.3;
}

#main-content {
  outline: none;
}

#main-content:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* ============ 2. Typography Utilities ============ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice-blue);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.text-gold {
  color: var(--gold);
}

.text-lavender {
  color: var(--lavender);
}

.mono {
  font-family: var(--font-mono);
}

/* ============ 3. Layout Helpers ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}

.section__head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: skewX(-30deg);
}

.section__index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  line-height: 1;
  padding-top: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.section__title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ice);
  transform: skew(-3deg);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.section__sub {
  margin-top: 8px;
  color: var(--lavender);
  font-size: 15px;
}

/* ============ 4. Skip Link ============ */
.skip-link {
  position: fixed;
  top: -56px;
  left: 24px;
  z-index: 200;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: top 0.3s var(--ease);
}

.skip-link:focus-visible {
  top: 16px;
  outline: none;
}

/* ============ 5. Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.site-header__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1;
  transition: width 0.08s linear;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
  gap: 32px;
}

/* Brand */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ice);
  flex-shrink: 0;
}

.site-brand:hover {
  color: var(--ice);
}

.site-brand__mark {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.6s var(--ease-spring);
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.35);
}

.site-brand:hover .site-brand__mark {
  transform: rotate(180deg);
}

.site-brand__name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--ice);
}

.site-brand__tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 10px 8px;
  color: rgba(242, 245, 250, 0.78);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s var(--ease);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav__link:hover {
  color: var(--ice);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--ice);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  opacity: 0.65;
  transition: opacity 0.3s var(--ease);
}

.site-nav__link:hover .site-nav__index,
.site-nav__link[aria-current="page"] .site-nav__index {
  opacity: 1;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease-spring);
}

.site-nav__cta:hover {
  background: var(--gold-light);
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(245, 197, 66, 0.4);
  transform: translateY(-1px);
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 16, 38, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}

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

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ice);
  transition: transform 0.35s var(--ease), opacity 0.25s, background 0.3s;
}

.nav-toggle:hover .nav-toggle__line {
  background: var(--gold);
}

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

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

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

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ice);
}

/* ============ 6. Footer ============ */
.site-footer {
  position: relative;
  background-color: var(--bg-footer);
  background-image:
    radial-gradient(circle at 14% 18%, rgba(26, 31, 61, 0.7) 0%, transparent 46%),
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  border-top: 1px solid rgba(245, 197, 66, 0.08);
  margin-top: 0;
}

.site-footer__decor {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 12%, rgba(245, 197, 66, 0.25) 32%, transparent 62%);
  transform: skewX(-14deg);
  transform-origin: left;
  pointer-events: none;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 4fr 3fr 2fr 3fr;
  gap: 40px;
  padding: 64px 0 48px;
  position: relative;
}

.site-footer__brand .site-brand {
  margin-bottom: 20px;
}

.site-footer__trust {
  color: var(--lavender);
  font-size: 14px;
  line-height: 1.9;
  max-width: 340px;
  margin-bottom: 20px;
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ice-blue);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(159, 216, 227, 0.3);
  transition: color 0.3s, border-color 0.3s;
}

.site-footer__contact-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.site-footer__columns {
  display: contents;
}

.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ice);
  margin-bottom: 16px;
  padding-left: 12px;
  position: relative;
}

.site-footer__heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent);
  transform: skewX(-14deg);
}

.site-footer__list li {
  margin-bottom: 6px;
}

.site-footer__list a {
  color: var(--lavender);
  font-size: 14px;
  transition: color 0.25s, padding-left 0.25s var(--ease);
}

.site-footer__list a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.site-footer__list--meta {
  font-size: 13px;
  color: var(--lavender);
  line-height: 1.9;
  font-family: var(--font-mono);
}

.site-footer__list--meta a {
  color: var(--ice-blue);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(167, 180, 230, 0.65);
}

.site-footer__icp {
  color: var(--lavender);
}

.site-footer__dot {
  color: var(--gold);
  opacity: 0.5;
}

.site-footer__update {
  color: var(--lavender);
}

.site-footer__year {
  margin-left: auto;
  color: rgba(167, 180, 230, 0.5);
}

/* ============ 7. Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bg-deep);
  background: var(--gold);
  border: 2px solid var(--gold);
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-spring);
  position: relative;
}

.btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg-deep);
  box-shadow: 0 6px 32px rgba(245, 197, 66, 0.35);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: rgba(245, 197, 66, 0.55);
}

.btn--ghost:hover {
  background: rgba(245, 197, 66, 0.08);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: none;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 13px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn--block {
  width: 100%;
}

/* ============ 8. Cards & Panels ============ */
.card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.card:hover {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card--chamfer {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.card__title {
  font-size: 20px;
  font-weight: 900;
  color: var(--ice);
  margin-bottom: 12px;
  transform: skew(-3deg);
}

.card__text {
  color: var(--lavender);
  font-size: 14px;
  line-height: 1.8;
}

/* ============ 9. Media Frames ============ */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-panel);
  aspect-ratio: 16 / 9;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 197, 66, 0);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  pointer-events: none;
  transition: border-color 0.4s var(--ease), inset 0.4s var(--ease);
}

.media-frame:hover::after {
  border-color: rgba(245, 197, 66, 0.45);
  inset: 8px;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

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

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

/* ============ 10. Breadcrumb ============ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lavender);
  padding: 14px 0;
}

.breadcrumb a {
  color: var(--lavender);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb__sep {
  color: var(--gold);
  opacity: 0.5;
  font-size: 12px;
}

.breadcrumb__current {
  color: var(--ice);
}

/* ============ 11. Trust Note ============ */
.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  color: var(--lavender);
  line-height: 1.8;
}

.trust-note::before {
  content: '↗';
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 18px;
  line-height: 1.4;
}

/* ============ 12. Expandable ============ */
[data-expandable] {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  margin-bottom: 12px;
  transition: border-color 0.3s;
}

[data-expandable][data-open] {
  border-color: rgba(245, 197, 66, 0.35);
}

[data-expandable-toggle] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ice);
  background: transparent;
  transition: color 0.3s;
}

[data-expandable-toggle]:hover {
  color: var(--gold);
}

[data-expandable-toggle]::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}

[data-expandable][data-open] [data-expandable-toggle]::after {
  transform: rotate(45deg);
}

[data-expandable-content] {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.35s var(--ease), padding 0.4s var(--ease);
}

[data-expandable][data-open] [data-expandable-content] {
  opacity: 1;
}

[data-expandable-content] > * {
  padding: 0 24px 22px;
  color: var(--lavender);
  font-size: 14px;
  line-height: 1.9;
}

[data-expandable-content] > :first-child {
  padding-top: 4px;
}

/* ============ 13. Reveal ============ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease) var(--reveal-delay, 0s), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

html.js [data-reveal][data-reveal-delay="1"] {
  --reveal-delay: 0.12s;
}

html.js [data-reveal][data-reveal-delay="2"] {
  --reveal-delay: 0.24s;
}

html.js [data-reveal][data-reveal-delay="3"] {
  --reveal-delay: 0.36s;
}

/* ============ 14. Focus & Motion ============ */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

::selection {
  background: rgba(245, 197, 66, 0.25);
  color: var(--ice);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .site-brand__mark,
  .site-brand:hover .site-brand__mark,
  .site-nav__cta,
  .card,
  .media-frame img,
  .btn {
    transform: none !important;
    transition: none !important;
  }
}

/* ============ 15. Responsive ============ */
@media (max-width: 1100px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav__link {
    padding-left: 8px;
    padding-right: 8px;
  }

  .site-nav__link::after {
    left: 8px;
    right: 8px;
  }

  .site-footer__main {
    grid-template-columns: 4fr 3fr 3fr;
  }

  .site-footer__column:last-child {
    grid-column: 2 / -1;
  }
}

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

  .site-header__inner {
    height: 64px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: linear-gradient(180deg, #141938 0%, #0E1026 100%);
    border-left: 1px solid rgba(245, 197, 66, 0.2);
    box-shadow: -32px 0 80px rgba(0, 0, 0, 0.55);
    padding: calc(64px + 24px) 28px 40px;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    overflow-y: auto;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, visibility 0s 0.45s;
    z-index: 99;
  }

  .site-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  }

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

  .site-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .site-nav__link {
    padding: 16px 12px;
    font-size: 17px;
    justify-content: flex-start;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link:hover {
    background: rgba(255, 255, 255, 0.03);
  }

  .site-nav__index {
    font-size: 12px;
    min-width: 30px;
  }

  .site-nav__cta {
    margin-top: 28px;
    justify-content: center;
    padding: 14px 24px;
    text-align: center;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__trust {
    max-width: 100%;
  }

  .site-footer__bottom {
    justify-content: center;
  }

  .site-footer__year {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-brand__tagline {
    font-size: 9px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__brand {
    grid-column: 1;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 20px 0 28px;
  }

  .site-footer__dot {
    display: none;
  }

  .section__head {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 36px;
  }

  .section__head::after {
    bottom: -8px;
  }
}

html.nav-locked,
html.nav-locked body {
  overflow: hidden;
  height: 100%;
}
