:root {
  --deep-space: #07111F;
  --panel-navy: #0E1E33;
  --panel-elevated: #112743;
  --brand-orange: #FF6A00;
  --fluorescent-cyan: #19F5D0;
  --warning-amber: #FFC857;
  --success-green: #35D07F;
  --danger-rose: #FF5C7A;
  --text-primary: #F7FAFF;
  --text-secondary: #A9B8CC;
  --border-slate: #20344D;
  --gradient-gold: linear-gradient(135deg, #FFB020, #FF6A00);
  --rail-width: 252px;
  --mobile-bar-height: 64px;
  --content-max: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "DIN Alternate", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow-panel: 0 18px 50px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

body {
  min-height: 100vh;
  margin: 0;
  padding-left: var(--rail-width);
  color: var(--text-primary);
  background-color: var(--deep-space);
  background-image:
    radial-gradient(circle at 82% -12%, rgba(255, 106, 0, 0.18), transparent 34%),
    radial-gradient(circle at -6% 18%, rgba(25, 245, 208, 0.1), transparent 28%),
    linear-gradient(rgba(247, 250, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 250, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: var(--fluorescent-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

::selection {
  color: var(--deep-space);
  background: var(--fluorescent-cyan);
}

:focus-visible {
  outline: 2px solid var(--fluorescent-cyan);
  outline-offset: 3px;
}

#main-content {
  scroll-margin-top: calc(var(--mobile-bar-height) + 20px);
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 18px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  color: var(--deep-space);
  background: var(--fluorescent-cyan);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.site-main {
  min-height: 62vh;
  padding-block: clamp(28px, 5vw, 72px);
}

.container {
  width: min(100% - 2rem, var(--content-max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(36px, 6vw, 84px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.eyebrow,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--fluorescent-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.panel-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.display-title {
  max-width: 14ch;
  font-size: clamp(2.3rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 62ch;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.muted {
  color: var(--text-secondary);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.col-span-3 {
  grid-column: span 3;
}

.col-span-4 {
  grid-column: span 4;
}

.col-span-5 {
  grid-column: span 5;
}

.col-span-6 {
  grid-column: span 6;
}

.col-span-7 {
  grid-column: span 7;
}

.col-span-8 {
  grid-column: span 8;
}

.col-span-12 {
  grid-column: span 12;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.8vw, 32px);
  background: linear-gradient(145deg, rgba(14, 30, 51, 0.9), rgba(7, 17, 31, 0.97));
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}

.panel--accent {
  border-color: rgba(255, 106, 0, 0.48);
}

.panel--cyan {
  border-color: rgba(25, 245, 208, 0.38);
}

.panel-title {
  margin-bottom: 0.5em;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
}

.panel-grid {
  display: grid;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

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

.btn--primary {
  color: var(--deep-space);
  background: var(--gradient-gold);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #ffc24a, var(--brand-orange));
}

.btn--ghost {
  color: var(--text-primary);
  border-color: var(--border-slate);
}

.btn--ghost:hover {
  color: var(--fluorescent-cyan);
  border-color: var(--fluorescent-cyan);
}

.btn--small {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
}

.breadcrumbs {
  margin-block: 0 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--border-slate);
}

.breadcrumb-link {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--fluorescent-cyan);
}

.breadcrumb-current {
  color: var(--text-primary);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--fluorescent-cyan);
  background: rgba(25, 245, 208, 0.08);
  border: 1px solid rgba(25, 245, 208, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.tag--orange {
  color: var(--brand-orange);
  background: rgba(255, 106, 0, 0.09);
  border-color: rgba(255, 106, 0, 0.34);
}

.tag--warn {
  color: var(--warning-amber);
  background: rgba(255, 200, 87, 0.08);
  border-color: rgba(255, 200, 87, 0.32);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 106, 0, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(14, 30, 51, 0.95), rgba(7, 17, 31, 0.95));
  isolation: isolate;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.72));
  pointer-events: none;
}

.media-frame--wide {
  aspect-ratio: 16 / 7;
}

.media-frame--landscape {
  aspect-ratio: 16 / 9;
}

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

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

.media-caption {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 12px;
}

.site-header {
  position: relative;
  z-index: 80;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 130;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-orange), var(--warning-amber), var(--fluorescent-cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

.mobile-bar {
  display: none;
}

.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark,
.footer-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--deep-space);
  background: var(--gradient-gold);
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 28px rgba(255, 106, 0, 0.24);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.mobile-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.mobile-brand-name {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.mobile-brand-tagline {
  color: var(--text-secondary);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-slate);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease);
}

.rail-scrim {
  display: none;
}

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: var(--rail-width);
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 106, 0, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(14, 30, 51, 0.99), rgba(7, 17, 31, 0.99));
  border-right: 1px solid var(--border-slate);
}

.side-rail::after {
  content: "";
  position: fixed;
  top: 0;
  left: var(--rail-width);
  width: 1px;
  height: 100vh;
  background: linear-gradient(180deg, var(--brand-orange), transparent 36%, rgba(25, 245, 208, 0.5) 72%, transparent);
  opacity: 0.48;
  pointer-events: none;
}

.rail-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
  padding: 22px 16px 20px;
}

.rail-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.brand-tagline {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 9px;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.rail-close {
  display: none;
  width: 34px;
  height: 34px;
  color: var(--text-primary);
  background: rgba(14, 30, 51, 0.72);
  border: 1px solid var(--border-slate);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.rail-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rail-kicker span {
  padding: 3px 6px;
  color: var(--deep-space);
  background: var(--fluorescent-cyan);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.primary-nav {
  flex: 1 0 auto;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  position: relative;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  gap: 7px;
  padding: 10px 10px 10px 12px;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  width: 3px;
  height: 0;
  background: var(--brand-orange);
  border-radius: 3px;
  transform: translateY(-50%);
  transition: height 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 106, 0, 0.08);
  border-color: rgba(255, 106, 0, 0.24);
}

.nav-link[aria-current="page"] {
  color: var(--text-primary);
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.2), transparent);
  border-color: rgba(255, 106, 0, 0.3);
}

.nav-link[aria-current="page"]::before {
  height: 24px;
}

.nav-index {
  color: var(--brand-orange);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.nav-label {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-actions {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.console-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  padding: 13px 14px;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(255, 176, 32, 0.07));
  border: 1px solid rgba(255, 106, 0, 0.38);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}

.console-link:hover {
  border-color: var(--fluorescent-cyan);
  transform: translateY(-2px);
}

.console-link-label {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.console-link-note {
  grid-column: 1 / 2;
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.35;
}

.console-link-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--fluorescent-cyan);
  font-family: var(--font-mono);
  font-size: 17px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 10px;
  color: var(--text-secondary);
  border: 1px solid var(--border-slate);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.contact-link:hover {
  color: var(--fluorescent-cyan);
  border-color: var(--fluorescent-cyan);
}

.rail-status {
  padding: 11px;
  background: rgba(7, 17, 31, 0.56);
  border: 1px solid var(--border-slate);
  border-radius: 14px;
}

.status-head {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--success-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success-green);
}

.status-code {
  margin-left: auto;
  color: var(--fluorescent-cyan);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.status-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 8px;
  background: rgba(14, 30, 51, 0.76);
  border: 1px solid rgba(32, 52, 77, 0.8);
  border-radius: 8px;
}

.status-label {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.status-value {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.rail-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-slate);
}

.rail-meta {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 30, 51, 0.86), rgba(7, 17, 31, 0.99));
  border-top: 1px solid var(--border-slate);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 106, 0, 0.14), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(247, 250, 255, 0.025) 39px 40px);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  width: min(100% - 2rem, var(--content-max));
  margin-inline: auto;
  padding: clamp(42px, 6vw, 72px) 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: clamp(24px, 5vw, 64px);
}

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

.footer-mark {
  width: 54px;
  height: 54px;
  font-size: 25px;
  border-radius: 17px 17px 17px 5px;
}

.footer-brand-line {
  max-width: 16em;
  margin: 20px 0 12px;
  color: var(--text-primary);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.footer-brand-note {
  max-width: 34ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.75;
}

.footer-heading {
  margin: 0 0 14px;
  color: var(--fluorescent-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(32, 52, 77, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.contact-label {
  color: var(--text-secondary);
}

.contact-value {
  color: var(--text-primary);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.footer-note {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.footer-link {
  position: relative;
  display: inline-block;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-link:hover::after {
  transform: scaleX(1);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: 18px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-slate);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.footer-filing {
  color: var(--warning-amber);
}

.footer-copy {
  color: var(--text-secondary);
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 960px) {
  :root {
    --rail-width: 0px;
  }

  body {
    padding-left: 0;
    padding-top: var(--mobile-bar-height);
  }

  .mobile-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mobile-bar-height);
    padding: 0 16px;
    background: rgba(7, 17, 31, 0.94);
    border-bottom: 1px solid var(--border-slate);
    backdrop-filter: blur(14px);
  }

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

  .side-rail {
    width: min(86vw, 330px);
    z-index: 120;
    box-shadow: 22px 0 60px rgba(0, 0, 0, 0.55);
    transform: translateX(-102%);
    transition: transform 0.28s var(--ease);
  }

  .side-rail::after {
    display: none;
  }

  .site-header[data-open] .side-rail {
    transform: translateX(0);
  }

  .rail-close {
    display: grid;
    place-items: center;
  }

  .rail-scrim {
    position: fixed;
    inset: 0;
    z-index: 115;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(3, 8, 16, 0.68);
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity 0.24s var(--ease), visibility 0.24s;
    cursor: pointer;
  }

  .site-header[data-open] .rail-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .site-header[data-open] .nav-toggle-line:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .rail-inner {
    padding-top: 18px;
  }

  .nav-link {
    padding-block: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 920px) {
  .col-span-3,
  .col-span-4,
  .col-span-5,
  .col-span-6,
  .col-span-7,
  .col-span-8 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  .container {
    width: min(100% - 1.35rem, var(--content-max));
  }

  .footer-shell {
    width: min(100% - 1.35rem, var(--content-max));
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .footer-legal {
    flex-direction: column;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 560px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .mobile-brand-tagline {
    letter-spacing: 0.08em;
  }

  .nav-toggle-label {
    display: none;
  }
}

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

  .btn:hover,
  .console-link:hover {
    transform: none;
  }
}
