:root {
  color-scheme: dark;
  --bg: #080c10;
  --bg2: #0b1018;
  --bg-soft:
    radial-gradient(circle at top, rgba(0, 180, 255, 0.12), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 140, 0.1), transparent 30%);
  --surface: rgba(13, 22, 35, 0.85);
  --surface2: rgba(18, 30, 48, 0.72);
  --nav-bg: rgba(8, 12, 16, 0.88);
  --line: rgba(0, 180, 255, 0.12);
  --blue: #00b4ff;
  --green: #00ff8c;
  --text: #e8f0f8;
  --text-dim: #5a7a9a;
  --text-mid: #8aabcc;
  --glow-blue: 0 0 20px rgba(0, 180, 255, 0.4);
  --glow-green: 0 0 20px rgba(0, 255, 140, 0.3);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 14px;
  --maxw: 1140px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4ee;
  --bg2: #fcfbf8;
  --bg-soft:
    radial-gradient(circle at 50% 14%, rgba(120, 205, 255, 0.12), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(99, 238, 182, 0.1), transparent 24%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.68), transparent 26%);
  --surface: rgba(255, 255, 255, 0.78);
  --surface2: rgba(250, 247, 241, 0.86);
  --nav-bg: rgba(252, 251, 248, 0.88);
  --line: rgba(47, 125, 186, 0.14);
  --text: #142235;
  --text-dim: #62748a;
  --text-mid: #52667d;
  --glow-blue: 0 0 20px rgba(0, 180, 255, 0.18);
  --glow-green: 0 0 20px rgba(0, 255, 140, 0.14);
  --shadow-lg: 0 24px 80px rgba(72, 54, 30, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-soft);
  pointer-events: none;
}

body.legal-page {
  background: #eeeeee;
}

body.legal-page::before {
  background: #eeeeee;
}

body.legal-page::after {
  display: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", monospace;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(7, 18, 32, 0.08);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(0, 180, 255, 0.28));
}

.nav__wordmark {
  font-family: "Orbitron", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 13.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--blue);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 72px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.1), rgba(0, 255, 140, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 180, 255, 0.34);
  box-shadow: 0 0 18px rgba(0, 180, 255, 0.16);
}

.theme-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.92), rgba(0, 255, 140, 0.78));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), 0 0 14px rgba(0, 180, 255, 0.22);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.theme-toggle[data-theme-state="light"]::after {
  transform: translateX(34px);
  background: linear-gradient(135deg, #ffd76f, #ffb54d);
  box-shadow: 0 6px 16px rgba(173, 117, 22, 0.22), 0 0 16px rgba(255, 193, 92, 0.28);
}

.theme-toggle__glyph {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  line-height: 1;
}

.theme-toggle__glyph--moon {
  color: #d8eeff;
}

.theme-toggle__glyph--sun {
  color: #f6b63f;
  opacity: 0.56;
}

.theme-toggle[data-theme-state="light"] .theme-toggle__glyph--moon {
  opacity: 0.45;
}

.theme-toggle[data-theme-state="light"] .theme-toggle__glyph--sun {
  opacity: 1;
}

:root[data-theme="light"] .theme-toggle {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(224, 244, 255, 0.92));
  border-color: rgba(47, 125, 186, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--blue {
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.15), rgba(0, 100, 200, 0.1));
  border-color: rgba(0, 180, 255, 0.4);
  color: var(--blue);
}

.btn--blue:hover {
  box-shadow: var(--glow-blue);
  border-color: var(--blue);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text-mid);
}

.btn--ghost:hover {
  border-color: rgba(0, 180, 255, 0.3);
  color: var(--blue);
}

.btn--sm {
  padding: 7px 16px;
  font-size: 12.5px;
}

.page-hero {
  position: relative;
  z-index: 1;
  padding: 144px 0 42px;
}

.page-hero__eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 255, 0.18);
  background: rgba(0, 180, 255, 0.06);
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 760px;
  color: var(--text-mid);
  font-size: 17px;
}

.page-main {
  position: relative;
  z-index: 1;
  padding: 24px 0 88px;
}

.legal-hero {
  padding: 128px 0 24px;
}

.legal-hero h1 {
  max-width: 920px;
  margin: 24px 0 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.3;
}

.legal-breadcrumb a {
  color: #3377ff;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-breadcrumb span[aria-hidden="true"] {
  color: var(--text-dim);
  font-size: 24px;
  line-height: 1;
}

.legal-main {
  padding-top: 8px;
}

.legal-wrap {
  max-width: 950px;
}

.legal-document {
  width: 100%;
  padding: 34px 32px 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 34, 53, 0.08);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.12);
  color: #101820;
  font-size: 18px;
  line-height: 1.42;
}

.legal-document h2,
.legal-document h3 {
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  color: #05080c;
}

.legal-document h2 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 700;
}

.legal-document h3 {
  margin: 24px 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.legal-document p {
  margin: 0 0 18px;
  color: #101820;
}

.legal-document .legal-version {
  margin-bottom: 10px;
  font-size: 18px;
}

.legal-document ul {
  margin: 0 0 24px 40px;
  padding: 0;
}

.legal-document li {
  margin: 4px 0;
  padding-left: 2px;
  color: #101820;
}

.legal-document a {
  color: #235dca;
  text-decoration: underline;
  text-underline-offset: 2px;
}

:root[data-theme="light"] .legal-document {
  box-shadow: 0 18px 54px rgba(72, 54, 30, 0.09);
}

:root[data-theme="light"] .legal-hero h1,
:root[data-theme="light"] .legal-breadcrumb {
  color: #05080c;
}

body.legal-page .legal-hero h1,
body.legal-page .legal-breadcrumb {
  color: #05080c;
}

body.legal-page .legal-breadcrumb span[aria-hidden="true"] {
  color: #485465;
}

.panel,
.card,
.info-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0.8;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card__id,
.meta-kicker {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  font-family: "JetBrains Mono", monospace;
}

.card__status {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(0, 255, 140, 0.3);
  background: rgba(0, 255, 140, 0.07);
  padding: 3px 10px;
  border-radius: 20px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p,
.info-block p,
.list li {
  color: var(--text-mid);
}

.card__role {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.card__desc {
  font-size: 14.5px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  margin-top: 9px;
  flex: none;
  box-shadow: 0 0 8px rgba(0, 180, 255, 0.35);
}

.card__footer,
.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.info-block {
  padding: 28px;
}

.info-block h2,
.info-block h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface2);
}

.stat strong {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.stat span {
  display: block;
  color: var(--text);
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: "JetBrains Mono", monospace;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--blue);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 220;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 180, 255, 0.16), transparent 30%),
    radial-gradient(circle at 68% 32%, rgba(0, 255, 140, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.18), rgba(8, 12, 16, 0.9));
  backdrop-filter: blur(0px);
  transition: opacity 0.28s ease, backdrop-filter 0.28s ease;
}

body.is-transitioning .page-transition {
  opacity: 1;
  backdrop-filter: blur(10px);
}

:root[data-theme="light"] .page-transition {
  background:
    radial-gradient(circle at 50% 38%, rgba(120, 205, 255, 0.16), transparent 30%),
    radial-gradient(circle at 68% 32%, rgba(99, 238, 182, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(247, 244, 238, 0.26), rgba(247, 244, 238, 0.92));
}

.mobile-dock {
  display: none;
}

.mobile-dock__bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.mobile-dock__item {
  flex: 1;
  min-width: 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 5px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 180, 255, 0.12);
  background: rgba(10, 18, 30, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.mobile-dock__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.12), transparent 50%, rgba(0, 255, 140, 0.08));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.mobile-dock__item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 180, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 18px rgba(0, 180, 255, 0.14);
}

.mobile-dock__item:hover::before,
.mobile-dock__item.is-pressed::before,
.mobile-dock__item.is-active::before {
  opacity: 1;
}

.mobile-dock__item.is-pressed {
  transform: scale(0.96);
  border-color: rgba(0, 255, 140, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 24px rgba(0, 255, 140, 0.16);
}

.mobile-dock__item.is-active {
  border-color: rgba(134, 240, 91, 0.74);
  background: linear-gradient(180deg, rgba(20, 32, 48, 0.92), rgba(12, 20, 32, 0.9));
  animation: dockPulse 2.2s ease-in-out infinite;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(134, 240, 91, 0.14),
    0 0 18px rgba(134, 240, 91, 0.14);
}

.mobile-dock__icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  z-index: 1;
  flex: none;
}

.mobile-dock__icon::before,
.mobile-dock__icon::after {
  content: "";
  position: absolute;
}

.mobile-dock__icon--platforms::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.mobile-dock__icon--platforms::after {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: -8px 0 0 rgba(0, 180, 255, 0.38), 8px 0 0 rgba(0, 255, 140, 0.42);
}

.mobile-dock__icon--clients::before {
  top: 2px;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.mobile-dock__icon--clients::after {
  bottom: 2px;
  left: 50%;
  width: 16px;
  height: 9px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
}

.mobile-dock__icon--about::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mobile-dock__icon--about::after {
  top: 6px;
  left: 11px;
  width: 2px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -5px 0 0 currentColor;
}

.mobile-dock__icon--contact::before {
  inset: 4px 2px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.mobile-dock__icon--contact::after {
  top: 8px;
  left: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) skewX(-12deg);
  transform-origin: center;
}

.mobile-dock__label {
  position: relative;
  z-index: 1;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.2;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  font-family: "JetBrains Mono", monospace;
}

:root[data-theme="light"] .mobile-dock__item {
  background: rgba(253, 251, 247, 0.92);
  border-color: rgba(47, 125, 186, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(72, 54, 30, 0.08);
}

:root[data-theme="light"] .mobile-dock__item.is-active {
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.98), rgba(248, 247, 242, 0.96));
  border-color: rgba(105, 214, 76, 0.72);
}

@keyframes dockPulse {
  0%,
  100% {
    border-color: rgba(134, 240, 91, 0.58);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 0 0 1px rgba(134, 240, 91, 0.08),
      0 0 10px rgba(134, 240, 91, 0.08);
  }
  50% {
    border-color: rgba(134, 240, 91, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 0 1px rgba(134, 240, 91, 0.18),
      0 0 24px rgba(134, 240, 91, 0.22);
  }
}

@media (max-width: 980px) {
  .wrap {
    padding: 0 22px;
  }

  .cards,
  .grid-2,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 819px) {
  .nav__inner {
    min-height: auto;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav__brand {
    min-width: 0;
  }

  .nav__links {
    display: none;
  }

  .nav__actions {
    order: 2;
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 108px;
  }

  .wrap {
    padding: 0 16px;
  }

  .nav__inner {
    padding: 12px 18px;
  }

  .nav__brand {
    width: auto;
    justify-content: flex-start;
  }

  .nav__wordmark {
    display: none;
  }

  .nav__logo {
    height: 42px;
  }

  .nav__actions {
    justify-content: flex-end;
  }

  .nav__cta {
    min-width: 0;
  }

  .nav__actions .btn--ghost {
    display: none;
  }

  .btn,
  .btn--sm {
    min-height: 44px;
  }

  .page-hero {
    padding: 188px 0 28px;
  }

  .legal-hero {
    padding: 142px 0 20px;
  }

  .page-hero p {
    font-size: 15.5px;
  }

  .legal-hero h1 {
    font-size: 26px;
  }

  .legal-breadcrumb {
    gap: 10px;
    font-size: 14px;
  }

  .legal-document {
    padding: 26px 24px 34px;
    font-size: 16px;
  }

  .legal-document h2,
  .legal-document h3,
  .legal-document .legal-version {
    font-size: 16px;
  }

  .legal-document ul {
    margin-left: 22px;
  }

  .card,
  .info-block {
    padding: 22px 18px;
  }

  .card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 14px 18px;
  }

  .mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(8, 12, 16, 0), rgba(8, 12, 16, 0.72) 18%, rgba(8, 12, 16, 0.95) 100%);
    backdrop-filter: blur(16px) saturate(1.15);
  }

  .mobile-dock__bar {
    padding: 8px;
    border-radius: 24px 24px 0 0;
    border: 1px solid var(--line);
    background: rgba(11, 18, 28, 0.9);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.24);
  }

  :root[data-theme="light"] .mobile-dock {
    background: linear-gradient(180deg, rgba(247, 244, 238, 0), rgba(247, 244, 238, 0.78) 18%, rgba(247, 244, 238, 0.96) 100%);
  }

  :root[data-theme="light"] .mobile-dock__bar {
    background: rgba(252, 250, 246, 0.94);
    box-shadow: 0 -10px 28px rgba(72, 54, 30, 0.08);
  }
}

@media (max-width: 420px) {
  .nav__actions {
    width: auto;
  }

  .theme-toggle {
    justify-self: auto;
  }

  .nav__cta {
    width: auto;
  }

  .mobile-dock__bar {
    gap: 8px;
    padding: 7px;
  }

  .mobile-dock__item {
    min-height: 88px;
    padding: 10px 4px 9px;
    border-radius: 17px;
  }

  .mobile-dock__label {
    font-size: 7.9px;
    letter-spacing: 0.05em;
  }
}
