:root {
  --clr-ice: #2A9DF4;
  --clr-orange: #FF5A3C;
  --clr-bg: #1A1D24;
  --clr-deep-teal: #0F3B42;
  --clr-wine: #6E2B33;
  --clr-violet: #3D3A6B;
  --clr-text: #E8ECEF;
  --clr-muted: #ABB7C2;
  --clr-border: rgba(255, 255, 255, 0.12);
  --clr-success: #4CB782;
  --clr-warning: #F5C451;
  --font-head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-data: "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.28s;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-text);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(42, 157, 244, 0.07), transparent 60%),
    radial-gradient(800px 420px at -8% 18%, rgba(255, 90, 60, 0.05), transparent 55%),
    var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(42, 157, 244, 0.35);
  color: var(--clr-text);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
  background: #333945;
  border-radius: 6px;
  border: 2px solid var(--clr-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-ice);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  color: var(--clr-text);
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(20px, 2.4vw, 28px);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--clr-ice);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

a:hover {
  color: var(--clr-orange);
}

:focus-visible {
  outline: 2px solid var(--clr-ice);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

.container--narrow {
  max-width: 780px;
}

.main-wrap {
  min-height: 60vh;
}

#main-content {
  outline: none;
}

.skip-link {
  position: fixed;
  top: -120%;
  left: 1rem;
  z-index: 9999;
  background: var(--clr-orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1002;
  background: linear-gradient(90deg, var(--clr-ice), var(--clr-orange));
  box-shadow: 0 0 10px rgba(42, 157, 244, 0.45);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 22, 28, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--clr-border);
}

.site-header::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--clr-ice) 0%, var(--clr-ice) 22%, rgba(42, 157, 244, 0.25) 30%, transparent 38%, var(--clr-orange) 62%, rgba(255, 90, 60, 0.15) 78%, transparent 100%);
  opacity: 0.9;
  pointer-events: none;
}

.site-header__inner {
  width: min(1400px, 100% - 2rem);
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.2rem);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}

.site-logo__mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-ice), #1565C0);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(42, 157, 244, 0.35);
  flex: none;
}

.site-logo__mark::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-orange);
  box-shadow: 0 0 6px var(--clr-orange);
}

.site-logo__group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.site-logo__text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--clr-text);
  white-space: nowrap;
  transition: color var(--speed);
}

.site-logo__en {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--clr-muted);
  white-space: nowrap;
}

.site-logo:hover .site-logo__text {
  color: var(--clr-ice);
}

.site-logo--footer .site-logo__mark {
  width: 44px;
  height: 44px;
  font-size: 22px;
}

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

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: siteNavIndex;
}

.site-nav__item {
  counter-increment: siteNavIndex;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-muted);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s;
}

.site-nav__link::before {
  content: "0" counter(siteNavIndex);
  font-family: var(--font-data);
  font-size: 10px;
  line-height: 1;
  color: var(--clr-orange);
  opacity: 0.75;
  letter-spacing: 0;
}

.site-nav__link:hover {
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav__link[aria-current="page"] {
  color: var(--clr-text);
  background: rgba(42, 157, 244, 0.10);
}

.site-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr-ice), var(--clr-orange));
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--clr-text);
  cursor: pointer;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed);
}

.btn:hover {
  color: inherit;
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--clr-ice);
  color: #fff;
}

.btn--primary:hover {
  background: #1E8BDC;
  color: #fff;
  box-shadow: 0 8px 24px rgba(42, 157, 244, 0.35);
}

.btn--accent {
  background: var(--clr-orange);
  color: #fff;
}

.btn--accent:hover {
  background: #E04A2C;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 90, 60, 0.35);
}

.btn--ghost {
  border-color: var(--clr-border);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--clr-ice);
  color: var(--clr-ice);
  box-shadow: none;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
}

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

.site-header__login {
  flex: none;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  background: rgba(171, 183, 194, 0.06);
  color: var(--clr-muted);
  font-size: 13px;
  transition: border-color 0.3s var(--ease), color 0.3s, background 0.3s;
}

.search-trigger:hover {
  color: var(--clr-ice);
  border-color: rgba(42, 157, 244, 0.45);
  background: rgba(42, 157, 244, 0.08);
}

.search-trigger__icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex: none;
}

.search-trigger__icon::after {
  content: '';
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.nav-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

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

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-text);
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.3s;
}

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

.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(-7px) rotate(-45deg);
  background: var(--clr-orange);
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section--tight {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-title::before {
  content: "// ";
  font-family: var(--font-data);
  font-weight: 600;
  color: var(--clr-orange);
}

.section-sub {
  color: var(--clr-muted);
  font-size: 14px;
  margin: 6px 0 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--clr-border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 55%, rgba(42, 157, 244, 0.10) 55.5%, transparent 56.5%),
    linear-gradient(115deg, transparent 68%, rgba(255, 90, 60, 0.07) 68.5%, transparent 69.5%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__crumbs {
  margin-bottom: 1rem;
}

.page-hero__title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;
}

.page-hero__title em {
  font-style: normal;
  color: var(--clr-ice);
}

.page-hero__sub {
  color: var(--clr-muted);
  font-size: 16px;
  max-width: 56ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--clr-muted);
}

.breadcrumb a {
  color: var(--clr-ice);
}

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

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-data);
}

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

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento__cell {
  grid-column: span 4;
  min-height: 150px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.bento__cell--wide {
  grid-column: span 8;
}

.bento__cell--tall {
  min-height: 320px;
}

.bento__cell--teal {
  background: linear-gradient(150deg, rgba(15, 59, 66, 0.75), rgba(15, 59, 66, 0.35));
}

.bento__cell--wine {
  background: linear-gradient(150deg, rgba(110, 43, 51, 0.75), rgba(110, 43, 51, 0.3));
}

.bento__cell--violet {
  background: linear-gradient(150deg, rgba(61, 58, 107, 0.7), rgba(61, 58, 107, 0.28));
}

.data-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  height: 100%;
  transition: transform var(--speed) var(--ease), border-color var(--speed), background var(--speed);
}

.data-card:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 157, 244, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.data-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.data-card__label {
  color: var(--clr-muted);
  font-size: 13px;
}

.data-card__value {
  font-family: var(--font-data);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-text);
  font-variant-numeric: tabular-nums;
}

.data-card__value--ice {
  color: var(--clr-ice);
}

.data-card__value--hot {
  color: var(--clr-orange);
}

.data-card__delta {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--clr-muted);
}

.data-card__delta--up {
  color: var(--clr-success);
}

.data-card__delta--down {
  color: var(--clr-orange);
}

.article-card {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: var(--clr-text);
  transition: transform var(--speed) var(--ease), border-color var(--speed), box-shadow var(--speed);
}

.article-card:hover {
  color: var(--clr-text);
  transform: translateY(-4px);
  border-color: rgba(42, 157, 244, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.article-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.article-card__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--clr-muted);
  margin-bottom: 8px;
}

.article-card__excerpt {
  color: var(--clr-muted);
  font-size: 14px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.data-table th {
  background: var(--clr-deep-teal);
  color: var(--clr-ice);
  font-family: var(--font-data);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  color: var(--clr-text);
  border-top: 1px solid var(--clr-border);
}

.data-table tbody tr {
  transition: background 0.2s;
}

.data-table tbody tr:hover {
  background: rgba(42, 157, 244, 0.05);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(42, 157, 244, 0.1);
  color: var(--clr-ice);
  border: 1px solid rgba(42, 157, 244, 0.28);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag--hot {
  background: rgba(255, 90, 60, 0.1);
  color: var(--clr-orange);
  border-color: rgba(255, 90, 60, 0.3);
}

.tag--warn {
  background: rgba(245, 196, 81, 0.1);
  color: var(--clr-warning);
  border-color: rgba(245, 196, 81, 0.3);
}

.tag--ok {
  background: rgba(76, 183, 130, 0.1);
  color: var(--clr-success);
  border-color: rgba(76, 183, 130, 0.3);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
  border-left: 1px solid var(--clr-border);
}

.timeline__item {
  position: relative;
  padding-bottom: 1.75rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-ice);
  box-shadow: 0 0 0 4px rgba(42, 157, 244, 0.16);
}

.timeline__item--hot::before {
  background: var(--clr-orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 60, 0.16);
}

.timeline__meta {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--clr-muted);
  letter-spacing: 0.04em;
}

.timeline__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-text);
  margin: 4px 0;
}

.timeline__desc {
  font-size: 14px;
  color: var(--clr-muted);
}

.speed-divider {
  height: 2px;
  border: 0;
  margin: 2rem 0;
  background: linear-gradient(90deg, var(--clr-ice) 0%, var(--clr-ice) 18%, rgba(42, 157, 244, 0.18) 28%, rgba(255, 255, 255, 0.06) 46%, transparent 60%, rgba(255, 90, 60, 0.35) 78%, transparent 100%);
}

.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: linear-gradient(140deg, rgba(42, 157, 244, 0.1), rgba(61, 58, 107, 0.16));
  aspect-ratio: 16 / 10;
}

.img-frame::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  text-transform: uppercase;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, 0.015) 12px 24px);
}

.prose {
  max-width: 72ch;
  color: var(--clr-muted);
  line-height: 1.9;
  font-size: 16px;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h2,
.prose h3 {
  color: var(--clr-text);
  margin-top: 2.4rem;
  margin-bottom: 0.6rem;
}

.prose strong {
  color: var(--clr-text);
  font-weight: 600;
}

.prose a {
  color: var(--clr-ice);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(42, 157, 244, 0.4);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

.back-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: linear-gradient(145deg, rgba(15, 59, 66, 0.92), rgba(26, 29, 36, 0.94));
  color: var(--clr-ice);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.3s, color 0.3s;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

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

.back-top:hover {
  color: var(--clr-text);
  background: var(--clr-wine);
  border-color: var(--clr-wine);
}

.back-top__arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translateY(2px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(42, 157, 244, 0.06), transparent 60%),
    linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-deep-teal) 130%);
  border-top: 1px solid var(--clr-border);
}

.site-footer::before {
  content: 'LEYU DATA';
  position: absolute;
  right: -1rem;
  bottom: -0.5rem;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(90px, 17vw, 210px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.site-footer__speed {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-orange) 18%, var(--clr-ice) 48%, rgba(42, 157, 244, 0.2) 72%, transparent 100%);
  background-size: 250% 100%;
  animation: speedFlow 6s linear infinite;
}

@keyframes speedFlow {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 250% 0;
  }
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

.site-footer__brand-col {
  min-width: 0;
}

.site-footer__tagline {
  margin-top: 1rem;
  color: var(--clr-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 38ch;
}

.site-footer__trust {
  margin-top: 1.25rem;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--clr-orange);
  border-radius: 0 10px 10px 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--clr-muted);
  max-width: 52ch;
}

.site-footer__trust-mark {
  color: var(--clr-orange);
  margin-right: 6px;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 1rem;
  padding-bottom: 6px;
  position: relative;
}

.site-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clr-ice), transparent);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.site-footer__list a {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  color: var(--clr-muted);
  font-size: 14px;
  transition: color 0.25s, padding-left 0.25s var(--ease);
}

.site-footer__list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 2px;
  background: var(--clr-orange);
  transform: translateY(-50%);
  transition: width 0.25s var(--ease);
}

.site-footer__list a:hover {
  color: var(--clr-ice);
  padding-left: 16px;
}

.site-footer__list a:hover::before {
  width: 8px;
}

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

.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer__contact-item {
  display: grid;
  gap: 2px;
}

.site-footer__contact-label {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--clr-warning);
  text-transform: uppercase;
}

.site-footer__contact-value {
  color: var(--clr-muted);
  font-size: 14px;
  line-height: 1.5;
  word-break: break-all;
}

.site-footer__note {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--clr-muted);
  line-height: 1.6;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--clr-border);
  padding: 1rem 0;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--clr-muted);
  min-height: 46px;
}

.site-footer__copy {
  margin: 0;
}

.site-footer__icp {
  margin: 0;
  font-family: var(--font-data);
  letter-spacing: 0.06em;
}

.site-footer__icp::before {
  content: '◆ ';
  color: var(--clr-ice);
  font-size: 10px;
}

@media (max-width: 992px) {
  .bento__cell,
  .bento__cell--wide {
    grid-column: span 6;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: rgba(20, 23, 29, 0.98);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
  }

  .site-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-ice), var(--clr-orange));
    transform: skewX(-24deg);
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0.75rem 1rem 1.25rem;
  }

  .site-nav__item {
    margin: 0;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 13px 14px;
    font-size: 15px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-muted);
  }

  .site-nav__link:hover {
    color: var(--clr-text);
    background: rgba(255, 255, 255, 0.04);
  }

  .site-nav__link[aria-current="page"] {
    color: var(--clr-ice);
    background: rgba(42, 157, 244, 0.12);
    border-bottom-color: transparent;
  }

  .site-nav__link[aria-current="page"]::after {
    display: none;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  .site-header__inner {
    gap: 0.6rem;
  }

  .site-logo__mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
    border-radius: 9px;
  }

  .site-logo__mark::after {
    width: 4px;
    height: 4px;
    top: 4px;
    right: 4px;
  }

  .site-logo__text {
    font-size: 15px;
  }

  .site-logo__en {
    display: none;
  }

  .search-trigger {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .search-trigger__text {
    display: none;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .site-header__login {
    padding: 6px 10px;
    font-size: 12px;
  }

  .bento__cell,
  .bento__cell--wide {
    grid-column: span 12;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .site-footer__speed {
    animation: none;
  }

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