:root {
  --bg-abyss: #07111F;
  --bg-panel: #0D1B2E;
  --glass-steel: #132B3A;
  --lava: #FF6B2C;
  --electric: #2DE2E6;
  --signal-green: #7CFF6B;
  --fog-blue: #8DA2B8;
  --cloud-white: #E8F1F8;
  --alert-yellow: #FFC857;
  --feature-violet: #6C5CE7;
  --line-soft: rgba(141, 162, 184, 0.18);
  --line-strong: rgba(45, 226, 230, 0.32);
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background-color: var(--bg-abyss);
  background-image:
    radial-gradient(circle at 82% 8%, rgba(45, 226, 230, 0.11), transparent 30%),
    radial-gradient(circle at 9% 22%, rgba(255, 107, 44, 0.08), transparent 26%),
    linear-gradient(rgba(141, 162, 184, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 162, 184, 0.032) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, 56px 56px, 56px 56px;
  background-attachment: fixed;
  color: var(--cloud-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--lava);
  color: #1B0902;
}

a {
  color: var(--electric);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cloud-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  color: var(--cloud-white);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

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

button {
  font: inherit;
  color: inherit;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--electric);
  color: #03181A;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: clamp(8px, 1.4vw, 16px) var(--gutter) 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.86) 72%, rgba(7, 17, 31, 0) 100%);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--container);
  max-height: 42px;
  margin: 0 auto 10px;
  overflow: hidden;
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

.rail-label {
  flex: 0 0 auto;
  color: var(--electric);
  white-space: nowrap;
}

.rail-line {
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 226, 230, 0.56), rgba(255, 107, 44, 0.34));
}

.rail-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-green);
  box-shadow: 0 0 0 4px rgba(124, 255, 107, 0.08), 0 0 16px rgba(124, 255, 107, 0.72);
  animation: status-breathe 2.8s ease-in-out infinite;
}

.header-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 22px);
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(141, 162, 184, 0.22);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(19, 43, 58, 0.84), rgba(13, 27, 46, 0.74));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(232, 241, 248, 0.06);
  backdrop-filter: blur(18px);
  transition: padding 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-compact {
  padding-top: 6px;
}

.site-header.is-compact .header-rail {
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
}

.site-header.is-compact .header-capsule {
  padding-top: 6px;
  padding-bottom: 6px;
  border-color: rgba(45, 226, 230, 0.34);
  background: linear-gradient(135deg, rgba(19, 43, 58, 0.96), rgba(13, 27, 46, 0.92));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(232, 241, 248, 0.08);
}

.brand-lockup {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}

.brand-lockup:hover {
  color: inherit;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(45, 226, 230, 0.44);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(45, 226, 230, 0.11), rgba(255, 107, 44, 0.08));
}

.brand-mark-grid {
  position: absolute;
  inset: 7px;
  background-image:
    linear-gradient(rgba(232, 241, 248, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 241, 248, 0.13) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.72;
  transform: skewX(-10deg);
}

.brand-mark-core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lava);
  box-shadow: 0 0 0 5px rgba(255, 107, 44, 0.13), 0 0 18px rgba(255, 107, 44, 0.84);
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  overflow: hidden;
  color: var(--cloud-white);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 2px;
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(141, 162, 184, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(7, 17, 31, 0.34);
  list-style: none;
}

.nav-item {
  min-width: 0;
}

.nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  color: var(--fog-blue);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nav-link:hover {
  color: var(--cloud-white);
  background: rgba(45, 226, 230, 0.08);
}

.nav-link[aria-current="page"] {
  color: #1C0902;
  background: linear-gradient(135deg, var(--lava), #FF9364);
  box-shadow: 0 0 0 1px rgba(255, 107, 44, 0.35), 0 6px 20px rgba(255, 107, 44, 0.18);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 18px;
  height: 16px;
}

.header-signal span {
  display: block;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--electric), rgba(45, 226, 230, 0.12));
}

.header-signal span:nth-child(1) {
  height: 6px;
  opacity: 0.55;
}

.header-signal span:nth-child(2) {
  height: 11px;
  opacity: 0.8;
}

.header-signal span:nth-child(3) {
  height: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button-primary {
  background: var(--lava);
  color: #1C0902;
  box-shadow: 0 8px 24px rgba(255, 107, 44, 0.22);
}

.button-primary:hover {
  background: #FF8350;
  color: #1C0902;
  transform: translateY(-1px);
}

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(45, 226, 230, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(7, 17, 31, 0.5);
  color: var(--cloud-white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-toggle:hover {
  border-color: var(--electric);
  color: var(--electric);
  background: rgba(45, 226, 230, 0.06);
}

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

.nav-toggle-lines span {
  display: block;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.nav-toggle-label {
  white-space: nowrap;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: 2px;
  overflow: hidden;
  background: rgba(141, 162, 184, 0.08);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lava), var(--electric) 55%, var(--signal-green));
  box-shadow: 0 0 12px rgba(45, 226, 230, 0.35);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

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

.breadcrumbs {
  margin: clamp(20px, 3vw, 32px) 0;
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(45, 226, 230, 0.62);
}

.breadcrumb-item a {
  color: var(--fog-blue);
  text-decoration: none;
}

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

.section {
  margin-block: clamp(40px, 7vw, 96px);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.eyebrow {
  margin: 0;
  color: var(--lava);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display-title {
  margin: 0;
  color: var(--cloud-white);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-wrap: balance;
}

.lede {
  max-width: 66ch;
  margin: 0;
  color: var(--fog-blue);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
}

.mono-index {
  color: var(--lava);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.94), rgba(13, 27, 46, 0.72));
  box-shadow: inset 0 1px 0 rgba(232, 241, 248, 0.04);
}

.glass-panel {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(45, 226, 230, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(19, 43, 58, 0.62);
  box-shadow: inset 0 1px 0 rgba(232, 241, 248, 0.05), 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(141, 162, 184, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(141, 162, 184, 0.06);
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgba(141, 162, 184, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(141, 162, 184, 0.05);
  color: var(--status-color, var(--fog-blue));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-color, currentColor);
  box-shadow: 0 0 10px var(--status-color, transparent);
}

.is-live {
  --status-color: var(--signal-green);
}

.is-pending {
  --status-color: var(--alert-yellow);
}

.status-pill.is-live {
  border-color: rgba(124, 255, 107, 0.28);
  background: rgba(124, 255, 107, 0.07);
}

.status-pill.is-pending {
  border-color: rgba(255, 200, 87, 0.28);
  background: rgba(255, 200, 87, 0.07);
}

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

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

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

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

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(141, 162, 184, 0.2);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(45, 226, 230, 0.12), rgba(255, 107, 44, 0.06)),
    repeating-linear-gradient(90deg, rgba(141, 162, 184, 0.06) 0 1px, transparent 1px 32px),
    var(--bg-panel);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(7, 17, 31, 0.08) 3px 4px);
  pointer-events: none;
}

.media-frame img,
.media-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.media-caption {
  margin: 8px 0 0;
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: clamp(56px, 9vw, 120px);
  overflow: hidden;
  border-top: 1px solid rgba(45, 226, 230, 0.16);
  background:
    linear-gradient(180deg, rgba(13, 27, 46, 0.28), rgba(7, 17, 31, 1) 36%),
    var(--bg-abyss);
}

.footer-beacon {
  position: absolute;
  top: -220px;
  right: -190px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(90deg, rgba(45, 226, 230, 0.07) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 107, 44, 0.06) 0 1px, transparent 1px 42px),
    radial-gradient(circle, rgba(45, 226, 230, 0.14), transparent 58%);
  opacity: 0.82;
  pointer-events: none;
  transform: rotate(-12deg);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.9fr) minmax(180px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter);
}

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

.footer-kicker {
  margin: 0 0 12px;
  color: var(--lava);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-name {
  margin: 0 0 12px;
  color: var(--cloud-white);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.08;
}

.footer-summary {
  max-width: 44ch;
  margin: 0;
  color: var(--fog-blue);
  font-size: 15px;
  line-height: 1.8;
}

.footer-matrix {
  display: grid;
  grid-template-columns: repeat(5, 32px);
  gap: 6px;
  margin-top: 18px;
}

.status-cell {
  position: relative;
  height: 32px;
  border: 1px solid rgba(141, 162, 184, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(141, 162, 184, 0.08), transparent),
    rgba(13, 27, 46, 0.8);
}

.status-cell::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-color, var(--fog-blue));
  box-shadow: 0 0 12px var(--status-color, transparent);
  transform: translate(-50%, -50%);
}

.is-pass {
  --status-color: var(--signal-green);
}

.is-review {
  --status-color: var(--alert-yellow);
}

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

.footer-heading {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(45, 226, 230, 0.16);
  color: var(--electric);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.footer-contact-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-label {
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer-value {
  overflow-wrap: anywhere;
  color: var(--cloud-white);
  font-size: 14px;
  line-height: 1.65;
}

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

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed transparent;
  color: var(--cloud-white);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-link::before {
  content: "→";
  color: var(--electric);
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer-link:hover {
  border-bottom-color: rgba(45, 226, 230, 0.5);
  color: var(--electric);
}

.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid rgba(141, 162, 184, 0.15);
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.footer-copy,
.footer-icp {
  margin: 0;
}

.footer-icp {
  color: rgba(141, 162, 184, 0.86);
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(45, 226, 230, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(19, 43, 58, 0.9);
  color: var(--electric);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  backdrop-filter: blur(12px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.to-top:hover {
  border-color: var(--signal-green);
  color: var(--signal-green);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top-icon {
  font-size: 14px;
  line-height: 1;
}

@keyframes status-breathe {
  0%,
  100% {
    opacity: 0.72;
    box-shadow: 0 0 0 4px rgba(124, 255, 107, 0.06), 0 0 12px rgba(124, 255, 107, 0.54);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(124, 255, 107, 0.12), 0 0 20px rgba(124, 255, 107, 0.82);
  }
}

@media (max-width: 1120px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 120;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100vh - 150px);
    padding: 10px;
    overflow-y: auto;
    border: 1px solid rgba(45, 226, 230, 0.2);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.99), rgba(13, 27, 46, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(18px);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    text-align: left;
  }

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

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 760px) {
  .rail-status {
    display: none;
  }

  .header-signal {
    display: none;
  }

  .brand-sub {
    font-size: 9px;
  }

  .footer-inner {
    gap: 30px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 12px;
  }

  .header-capsule {
    gap: 8px;
    padding: 8px 9px 8px 11px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .header-rail {
    gap: 9px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-matrix {
    grid-template-columns: repeat(5, minmax(24px, 1fr));
    max-width: 220px;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 88px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
