:root {
      --bg: #07111f;
      --bg-soft: #0b1727;
      --panel: rgba(15, 30, 49, 0.68);
      --panel-strong: rgba(14, 28, 47, 0.94);
      --line: rgba(157, 199, 221, 0.14);
      --line-strong: rgba(157, 199, 221, 0.26);
      --text: #f3f7fa;
      --muted: #9fb0bd;
      --muted-2: #728694;
      --accent: #83e6d1;
      --accent-2: #9ec5ff;
      --danger: #ffb1b1;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
      --radius: 22px;
      --radius-sm: 14px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      background:
        radial-gradient(circle at 74% 14%, rgba(72, 166, 191, 0.12), transparent 28%),
        radial-gradient(circle at 18% 2%, rgba(70, 104, 172, 0.12), transparent 30%),
        linear-gradient(180deg, #07111f 0%, #081321 48%, #06101c 100%);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.45;
      background-image:
        linear-gradient(rgba(141, 188, 208, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141, 188, 208, 0.035) 1px, transparent 1px);
      background-size: 54px 54px;
      mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
      z-index: -2;
    }

    a { color: inherit; text-decoration: none; }
    button, input, textarea, select { font: inherit; }
    button { color: inherit; }

    .shell {
      width: min(calc(100% - 40px), var(--max));
      margin: 0 auto;
    }

    .nav-wrap {
      position: sticky;
      top: 0;
      z-index: 50;
      padding: 18px 0;
      backdrop-filter: blur(18px);
      background: linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.55), transparent);
    }

    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      min-height: 58px;
      padding: 10px 12px 10px 18px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(8, 20, 34, 0.64);
      box-shadow: 0 12px 45px rgba(0, 0, 0, 0.16);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 11px;
      font-size: 0.78rem;
      font-weight: 740;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .brand-mark {
      width: 30px;
      height: 30px;
      border: 1px solid rgba(131, 230, 209, 0.42);
      border-radius: 50%;
      position: relative;
      box-shadow: inset 0 0 18px rgba(131, 230, 209, 0.08);
    }

    .brand-mark::before,
    .brand-mark::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(131, 230, 209, 0.25);
      inset: 5px;
    }

    .brand-mark::after {
      inset: 11px;
      background: var(--accent);
      border: 0;
      box-shadow: 0 0 14px rgba(131, 230, 209, 0.9);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 9px;
    }

    .nav-link,
    .lang-toggle,
    .button {
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.025);
      border-radius: 999px;
      min-height: 39px;
      padding: 0 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 0.84rem;
      font-weight: 650;
      cursor: pointer;
      transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
    }

    .nav-link:hover,
    .lang-toggle:hover,
    .button:hover {
      transform: translateY(-1px);
      border-color: rgba(131, 230, 209, 0.38);
      background: rgba(131, 230, 209, 0.055);
    }

    .nav-link.coming {
      color: var(--muted);
      cursor: default;
    }

    .nav-link.coming:hover { transform: none; }

    .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 10px rgba(131, 230, 209, 0.75);
    }

    .hero {
      min-height: 740px;
      display: grid;
      grid-template-columns: 1.22fr 0.78fr;
      align-items: center;
      gap: 68px;
      padding: 86px 0 108px;
      position: relative;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 760;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 24px;
    }

    .eyebrow::before {
      content: "";
      width: 38px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent));
    }

    h1 {
      max-width: 820px;
      margin: 0;
      font-size: clamp(3.3rem, 7.8vw, 4.5rem);
      line-height: 0.93;
      letter-spacing: -0.068em;
      font-weight: 690;
    }

    h1 .soft { color: #a8bac6; }

    .hero-copy {
      max-width: 690px;
      margin: 30px 0 0;
      color: var(--muted);
      font-size: clamp(1.05rem, 1.55vw, 1.28rem);
      line-height: 1.7;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }

    .button.primary {
      min-height: 50px;
      padding: 0 21px;
      color: #07111f;
      border-color: transparent;
      background: var(--accent);
      box-shadow: 0 10px 30px rgba(90, 229, 198, 0.12);
    }

    .button.primary:hover { background: #a0f0df; }

    .button.secondary {
      min-height: 50px;
      padding: 0 21px;
      background: rgba(255, 255, 255, 0.035);
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 18px 26px;
      margin-top: 34px;
      color: var(--muted-2);
      font-size: 0.79rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .hero-meta i {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      display: block;
    }

    .signal-visual {
      aspect-ratio: 1;
      width: min(100%, 470px);
      justify-self: end;
      position: relative;
      display: grid;
      place-items: center;
      border-radius: 50%;
      isolation: isolate;
    }

    .signal-visual::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(131, 230, 209, 0.08), transparent 62%);
      filter: blur(2px);
    }

    .orbit {
      position: absolute;
      border: 1px solid rgba(149, 195, 217, 0.15);
      border-radius: 50%;
      animation: breathe 6s ease-in-out infinite;
    }

    .orbit:nth-child(1) { inset: 2%; }
    .orbit:nth-child(2) { inset: 15%; animation-delay: -1.4s; }
    .orbit:nth-child(3) { inset: 29%; animation-delay: -2.8s; }
    .orbit:nth-child(4) { inset: 42%; animation-delay: -4s; }

    .beam {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 48%;
      height: 1px;
      transform-origin: left center;
      background: linear-gradient(90deg, rgba(131, 230, 209, 0.85), transparent);
      animation: sweep 7.5s linear infinite;
      filter: drop-shadow(0 0 8px rgba(131, 230, 209, 0.5));
    }

    .node {
      position: absolute;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--accent-2);
      box-shadow: 0 0 18px rgba(158, 197, 255, 0.75);
    }

    .node.n1 { top: 22%; left: 61%; }
    .node.n2 { top: 51%; left: 84%; width: 6px; height: 6px; }
    .node.n3 { top: 73%; left: 35%; width: 7px; height: 7px; }
    .node.n4 { top: 38%; left: 28%; width: 5px; height: 5px; }

    .signal-core {
      width: 74px;
      height: 74px;
      border-radius: 22px;
      display: grid;
      place-items: center;
      position: relative;
      background: rgba(9, 25, 39, 0.92);
      border: 1px solid rgba(131, 230, 209, 0.35);
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25), inset 0 0 26px rgba(131, 230, 209, 0.06);
    }

    .signal-core::before,
    .signal-core::after {
      content: "";
      position: absolute;
      width: 22px;
      height: 22px;
      border: 1px solid rgba(131, 230, 209, 0.25);
      border-radius: 50%;
    }

    .signal-core::after {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border: 0;
      box-shadow: 0 0 18px rgba(131, 230, 209, 0.9);
    }

    @keyframes sweep {
      to { transform: rotate(360deg); }
    }

    @keyframes breathe {
      0%, 100% { transform: scale(1); opacity: 0.72; }
      50% { transform: scale(1.022); opacity: 1; }
    }

    .section {
      padding: 96px 0;
      position: relative;
    }

    .section-head {
      display: grid;
      grid-template-columns: 0.66fr 1.34fr;
      gap: 32px;
      align-items: start;
      margin-bottom: 40px;
    }

    .kicker {
      color: var(--accent);
      font-size: 0.72rem;
      font-weight: 760;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    h2 {
      margin: 0;
      max-width: 820px;
      font-size: clamp(2.15rem, 4.6vw, 4.55rem);
      line-height: 1.03;
      letter-spacing: -0.052em;
      font-weight: 650;
    }

    .section-intro {
      margin: 18px 0 0;
      max-width: 720px;
      color: var(--muted);
      font-size: 1.06rem;
    }

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

    .path-card {
      min-height: 390px;
      display: flex;
      flex-direction: column;
      padding: 28px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
        var(--panel);
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
      transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
      text-align: left;
      color: inherit;
      cursor: pointer;
    }

    .path-card::after {
      content: "";
      position: absolute;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      right: -85px;
      top: -90px;
      background: radial-gradient(circle, rgba(131, 230, 209, 0.12), transparent 66%);
      opacity: 0;
      transition: opacity 220ms ease;
    }

    .path-card:hover {
      transform: translateY(-5px);
      border-color: rgba(131, 230, 209, 0.3);
      background:
        linear-gradient(180deg, rgba(131, 230, 209, 0.045), transparent),
        var(--panel-strong);
    }

    .path-card:hover::after { opacity: 1; }

    .path-index {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid var(--line-strong);
      color: var(--accent);
      font-size: 0.78rem;
      font-weight: 750;
      letter-spacing: 0.08em;
    }

    .path-card h3 {
      margin: 56px 0 14px;
      font-size: 1.75rem;
      line-height: 1.12;
      letter-spacing: -0.035em;
      font-weight: 640;
    }

    .path-card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.97rem;
    }

    .path-card .card-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: auto;
      padding-top: 28px;
      color: var(--text);
      font-size: 0.9rem;
      font-weight: 720;
    }

    .arrow {
      transition: transform 180ms ease;
    }

    .path-card:hover .arrow { transform: translateX(4px); }

    .principles {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .principle {
      padding: 28px;
      border-top: 1px solid var(--line-strong);
    }

    .principle small {
      display: block;
      color: var(--accent);
      font-weight: 720;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    .principle strong {
      display: block;
      font-size: 1.32rem;
      font-weight: 610;
      letter-spacing: -0.02em;
    }

    .principle p {
      margin: 10px 0 0;
      color: var(--muted);
    }

    .software-wrap {
      display: grid;
      grid-template-columns: 0.72fr 1.28fr;
      gap: 24px;
      align-items: start;
    }

    .software-sidebar {
      position: sticky;
      top: 110px;
      padding: 28px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
    }

    .software-sidebar p { color: var(--muted); }

    .software-list {
      display: grid;
      gap: 14px;
    }

    .software-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 22px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.02);
      transition: transform 180ms ease, border-color 180ms ease;
    }

    .software-item:hover {
      transform: translateX(4px);
      border-color: rgba(131, 230, 209, 0.28);
    }

    .software-item h3 {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 650;
    }

    .software-item p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .tag {
      align-self: start;
      padding: 6px 9px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      font-size: 0.66rem;
      font-weight: 740;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .cta-panel {
      min-height: 420px;
      display: grid;
      grid-template-columns: 1fr 0.78fr;
      align-items: center;
      gap: 48px;
      padding: 50px;
      border: 1px solid rgba(131, 230, 209, 0.2);
      border-radius: 32px;
      background:
        radial-gradient(circle at 85% 30%, rgba(131, 230, 209, 0.11), transparent 26%),
        linear-gradient(145deg, rgba(14, 31, 50, 0.95), rgba(8, 20, 34, 0.9));
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .cta-panel h2 { max-width: 660px; }
    .cta-panel p { color: var(--muted); max-width: 650px; }

    .cta-choice {
      display: grid;
      gap: 12px;
    }

    .choice {
      width: 100%;
      min-height: 72px;
      padding: 16px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.025);
      cursor: pointer;
      text-align: left;
      transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
    }

    .choice:hover {
      transform: translateX(4px);
      border-color: rgba(131, 230, 209, 0.35);
      background: rgba(131, 230, 209, 0.045);
    }

    .choice strong { display: block; font-size: 0.98rem; }
    .choice span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.82rem; }

    footer {
      padding: 32px 0 52px;
      color: var(--muted-2);
      font-size: 0.82rem;
    }

    .footer-row {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
    }

    .modal {
      position: fixed;
      inset: 0;
      display: none;
      place-items: center;
      padding: 20px;
      background: rgba(3, 9, 17, 0.78);
      backdrop-filter: blur(16px);
      z-index: 100;
    }

    .modal.open { display: grid; }

    .modal-card {
      width: min(100%, 760px);
      max-height: min(90vh, 900px);
      overflow: auto;
      padding: 28px;
      border: 1px solid rgba(131, 230, 209, 0.23);
      border-radius: 24px;
      background: #0b1828;
      box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
    }

    .modal-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 24px;
    }

    .modal-top h3 {
      margin: 0;
      font-size: 1.75rem;
      letter-spacing: -0.03em;
    }

    .modal-top p {
      margin: 8px 0 0;
      color: var(--muted);
    }

    .close {
      flex: 0 0 auto;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid var(--line);
      background: transparent;
      cursor: pointer;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .field.full { grid-column: 1 / -1; }

    label {
      display: block;
      margin-bottom: 8px;
      color: #cedae1;
      font-size: 0.78rem;
      font-weight: 690;
      letter-spacing: 0.04em;
    }

    input,
    textarea,
    select {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 13px 14px;
      color: var(--text);
      background: rgba(255, 255, 255, 0.035);
      outline: none;
      transition: border-color 180ms ease, box-shadow 180ms ease;
    }

    select option { background: #0b1828; }

    input:focus,
    textarea:focus,
    select:focus {
      border-color: rgba(131, 230, 209, 0.45);
      box-shadow: 0 0 0 3px rgba(131, 230, 209, 0.06);
    }

    textarea { min-height: 138px; resize: vertical; }

    .form-note {
      margin-top: 16px;
      color: var(--muted-2);
      font-size: 0.78rem;
    }

    .modal-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 10px;
      margin-top: 20px;
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 28px;
      transform: translate(-50%, 18px);
      opacity: 0;
      pointer-events: none;
      padding: 12px 16px;
      border: 1px solid rgba(131, 230, 209, 0.28);
      border-radius: 999px;
      background: #0e1e31;
      color: var(--text);
      font-size: 0.86rem;
      z-index: 120;
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .toast.show {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    [data-en]::after { content: ""; }

    @media (max-width: 960px) {
      .hero,
      .cta-panel,
      .software-wrap,
      .section-head {
        grid-template-columns: 1fr;
      }

      .hero { padding-top: 48px; gap: 38px; }
      .signal-visual { justify-self: center; width: min(76vw, 420px); }
      .path-grid { grid-template-columns: 1fr; }
      .path-card { min-height: 300px; }
      .path-card h3 { margin-top: 38px; }
      .software-sidebar { position: static; }
      .cta-panel { padding: 34px; }
    }

    @media (max-width: 700px) {
      .shell { width: min(calc(100% - 24px), var(--max)); }
      .nav-wrap { padding-top: 10px; }
      nav { border-radius: 20px; }
      .nav-link { display: none; }
      .hero { min-height: auto; padding-bottom: 76px; }
      h1 { font-size: clamp(3.1rem, 15vw, 5.4rem); }
      .hero-copy { font-size: 1rem; }
      .hero-actions { flex-direction: column; }
      .button.primary, .button.secondary { width: 100%; }
      .section { padding: 72px 0; }
      .principles { grid-template-columns: 1fr; }
      .cta-panel { padding: 26px; border-radius: 24px; }
      .form-grid { grid-template-columns: 1fr; }
      .field.full { grid-column: auto; }
      .modal-card { padding: 22px; }
      .footer-row { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }
    }

    .product-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 10px;
      color: var(--muted);
      font-size: .78rem;
      letter-spacing: .04em;
    }

    .product-meta span + span::before {
      content: "·";
      margin-right: 10px;
      color: var(--line-strong);
    }

    .form-section-title {
      grid-column: 1 / -1;
      margin: 2px 0 -2px;
      color: var(--text);
      font-size: .8rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .check-row {
      grid-column: 1 / -1;
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: var(--muted);
      font-size: .82rem;
      line-height: 1.45;
    }

    .check-row input {
      width: 17px;
      height: 17px;
      margin-top: 2px;
      accent-color: var(--accent);
    }

    .field-hint {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: .75rem;
      line-height: 1.4;
    }
/* Shared footer, legal pages, consent management and security UI */
.footer-row {
  align-items: flex-start;
}

.footer-identity {
  display: grid;
  gap: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 18px;
  max-width: 720px;
}

.footer-links a,
.footer-button {
  color: var(--muted);
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-links a:hover,
.footer-button:hover {
  color: var(--text);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-section-title {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.check-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.check-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.turnstile-wrap {
  grid-column: 1 / -1;
  min-height: 68px;
  display: grid;
  align-items: center;
  padding-top: 4px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  color: var(--danger);
  font-size: .8rem;
}

.button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: min(440px, calc(100% - 28px));
  z-index: 150;
  padding: 22px;
  border: 1px solid rgba(131, 230, 209, .24);
  border-radius: 20px;
  background: rgba(9, 22, 37, .98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.cookie-banner[hidden],
.cookie-panel[hidden] {
  display: none;
}

.cookie-banner h2,
.cookie-panel h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.cookie-banner p,
.cookie-panel p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.cookie-actions .button {
  min-height: 42px;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 9, 17, .78);
  backdrop-filter: blur(16px);
}

.cookie-card {
  width: min(620px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(131, 230, 209, .23);
  border-radius: 24px;
  background: #0b1828;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
}

.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.cookie-category:last-of-type {
  border-bottom: 0;
}

.cookie-category strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-category small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.switch {
  width: 46px;
  height: 26px;
  accent-color: var(--accent);
}

.legal-main {
  min-height: calc(100vh - 190px);
  padding: 76px 0 104px;
}

.legal-hero {
  max-width: 830px;
  margin-bottom: 46px;
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: .98;
}

.legal-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 46px;
  align-items: start;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .022);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 20, 34, .66);
}

.legal-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .84rem;
}

.legal-nav a:hover {
  color: var(--text);
  background: rgba(131, 230, 209, .05);
}

.placeholder {
  display: inline-block;
  padding: 1px 6px;
  border: 1px dashed rgba(255, 177, 177, .5);
  border-radius: 6px;
  color: #ffd0d0;
  background: rgba(255, 177, 177, .06);
}

.error-page {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  padding: 60px 0 100px;
}

.error-card {
  width: min(760px, 100%);
  padding: 46px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(12, 27, 45, .76);
  box-shadow: var(--shadow);
}

.error-code {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.error-card h1 {
  margin-top: 16px;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.error-card p {
  max-width: 570px;
  margin: 22px auto 0;
  color: var(--muted);
}

.error-card .hero-actions {
  justify-content: center;
}

@media (max-width: 820px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { position: static; order: -1; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .cookie-banner { right: 14px; bottom: 14px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .button { width: 100%; }
  .legal-main { padding-top: 48px; }
  .legal-card { padding: 22px; }
  .error-card { padding: 32px 22px; }
}

.software-heading, .cta-heading { margin-top: 18px; }
.software-heading { font-size: clamp(2rem, 4vw, 3.25rem); }
.github-button { margin-top: 12px; width: 100%; }
.check-row > a { grid-column: 2; }
