/* bygipia.com — Dovolenkový portál — Matrix #23 — Sci-Fi Tech */
:root {
  --c-bg: #0a0e27;
  --c-cyan: #00d4ff;
  --c-silver: #e8eaf0;
  --c-dark: #060816;
  --c-mid: #111630;
  --c-muted: #5a6080;
  --c-border: rgba(0, 212, 255, 0.25);
  --c-glow: rgba(0, 212, 255, 0.15);
  --font-mono: 'Courier New', Courier, monospace;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 12px;
}

/* ── RESET ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--c-bg);
  color: var(--c-silver);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.65;
}
a { color: var(--c-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── PARTICLES BACKGROUND ──────────────────────── */
.x1a {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.x1a::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(0,212,255,0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 40% 60%, rgba(0,212,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 15%, rgba(232,234,240,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 75%, rgba(0,212,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 85%, rgba(232,234,240,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 10% 80%, rgba(0,212,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 40%, rgba(232,234,240,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 45%, rgba(0,212,255,0.5) 0%, transparent 100%);
  background-size: 400px 400px;
  animation: x1a-drift 20s linear infinite;
}
.x1a::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 22% 55%, rgba(0,212,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 65% 30%, rgba(232,234,240,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 48% 90%, rgba(0,212,255,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 78% 55%, rgba(232,234,240,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 10%, rgba(0,212,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 95% 90%, rgba(0,212,255,0.5) 0%, transparent 100%);
  background-size: 600px 600px;
  animation: x1a-drift 35s linear infinite reverse;
}
@keyframes x1a-drift {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Scanline overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
}

/* ── SCROLL PROGRESS BAR (right edge) ────────────── */
.x2b {
  position: fixed;
  right: 0;
  top: 0;
  width: 4px;
  height: 100vh;
  background: rgba(0, 212, 255, 0.08);
  z-index: 1000;
}
.x2b__fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--c-cyan), rgba(0, 212, 255, 0.3));
  transition: height 0.1s linear;
  box-shadow: 0 0 8px var(--c-cyan);
}
.x2b__anchors {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.x2b__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-muted);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
  display: block;
}
.x2b__dot:hover,
.x2b__dot.active {
  background: var(--c-cyan);
  transform: scale(1.5);
  box-shadow: 0 0 6px var(--c-cyan);
}
.x2b__label {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-mid);
  border: 1px solid var(--c-border);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.x2b__dot:hover + .x2b__label { opacity: 1; }

/* ── NAVIGATION ───────────────────────────────── */
.x3c {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(6, 8, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.x3c__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.x3c__logo {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--c-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.x3c__logo span {
  color: var(--c-silver);
  opacity: 0.5;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.2em;
}
.x3c__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.x3c__link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.x3c__link::before {
  content: '> ';
  color: var(--c-cyan);
  opacity: 0;
  transition: opacity 0.2s;
}
.x3c__link:hover { color: var(--c-silver); text-decoration: none; }
.x3c__link:hover::before { opacity: 1; }
.x3c__link.active { color: var(--c-cyan); }
.x3c__cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-cyan);
  border: 1px solid var(--c-cyan);
  padding: 0.4rem 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.x3c__cta:hover {
  background: var(--c-cyan);
  color: var(--c-bg);
  text-decoration: none;
}
.x3c__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.x3c__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-silver);
  transition: all 0.3s;
}

/* ── HERO ───────────────────────────────────────── */
.x4d {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.x4d__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.x4d__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}
.x4d__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-cyan);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.x4d__eyebrow::before { content: '[ '; }
.x4d__eyebrow::after { content: ' ]'; }
.x4d__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-silver);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}
.x4d__title em {
  color: var(--c-cyan);
  font-style: normal;
  text-shadow: 0 0 20px var(--c-cyan);
}
.x4d__sub {
  font-size: 1.1rem;
  color: var(--c-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.x4d__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.x4d__btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid var(--c-cyan);
  color: var(--c-bg);
  background: var(--c-cyan);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.x4d__btn:hover { background: transparent; color: var(--c-cyan); text-decoration: none; }
.x4d__btn--ghost {
  background: transparent;
  color: var(--c-silver);
  border-color: var(--c-muted);
}
.x4d__btn--ghost:hover { border-color: var(--c-cyan); color: var(--c-cyan); }
.x4d__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  animation: x4d-bob 2s ease-in-out infinite;
}
@keyframes x4d-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.x4d__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-cyan), transparent);
}

/* ── SECTION BASE ─────────────────────────────── */
.x5e {
  position: relative;
  z-index: 2;
  padding: 7rem 2rem;
}
.x5e__inner { max-width: 1200px; margin: 0 auto; }
.x5e__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.x5e__label::before { content: '//'; opacity: 0.5; }
.x5e__title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-silver);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.x5e__desc {
  color: var(--c-muted);
  max-width: 580px;
  margin-bottom: 3.5rem;
  font-size: 1rem;
}
/* Section separator */
.x5e + .x5e { border-top: 1px solid rgba(0,212,255,0.08); }

/* ── SERVICE CARDS 3D ─────────────────────────── */
.x6f {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.x6f__item {
  perspective: 1000px;
  height: 240px;
}
.x6f__inner3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  border-radius: var(--r);
  cursor: default;
}
.x6f__item:hover .x6f__inner3d {
  transform: translateY(-12px) rotateX(5deg) rotateY(-3deg);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 212, 255, 0.2),
    inset 0 1px 0 rgba(0,212,255,0.3);
}
.x6f__front,
.x6f__back {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  padding: 2rem;
  backface-visibility: hidden;
  border: 1px solid var(--c-border);
}
.x6f__front {
  background: var(--c-mid);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.x6f__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.x6f__name {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--c-silver);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.x6f__price-hover {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-cyan);
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
}
.x6f__item:hover .x6f__price-hover {
  opacity: 1;
  transform: translateY(0);
}
.x6f__back {
  background: linear-gradient(135deg, #111630, #0a1540);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

/* ── METRICS STRIP ────────────────────────────── */
.x7g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}
.x7g__item {
  background: var(--c-mid);
  padding: 2rem;
  text-align: center;
}
.x7g__num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--c-cyan);
  font-weight: 700;
  display: block;
  text-shadow: 0 0 20px rgba(0,212,255,0.4);
}
.x7g__label {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ── CHATBOT ──────────────────────────────────── */
.x8h {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  background: var(--c-mid);
  overflow: hidden;
}
.x8h__header {
  background: rgba(0, 212, 255, 0.08);
  border-bottom: 1px solid var(--c-border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.x8h__status {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: x8h-pulse 2s ease-in-out infinite;
}
@keyframes x8h-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.x8h__title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-cyan);
  letter-spacing: 0.1em;
}
.x8h__messages {
  padding: 1.5rem;
  min-height: 280px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.x8h__msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: x8h-appear 0.3s ease;
}
@keyframes x8h-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.x8h__msg--bot {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--c-silver);
  align-self: flex-start;
}
.x8h__msg--bot::before {
  content: 'AI: ';
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}
.x8h__msg--user {
  background: rgba(232, 234, 240, 0.07);
  border: 1px solid rgba(232, 234, 240, 0.15);
  color: var(--c-silver);
  align-self: flex-end;
}
.x8h__questions {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--c-border);
}
.x8h__q {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-cyan);
  border: 1px dashed var(--c-border);
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
  letter-spacing: 0.05em;
  border-radius: 4px;
}
.x8h__q:hover {
  border-color: var(--c-cyan);
  background: rgba(0, 212, 255, 0.1);
}
.x8h__q:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ── CASES (IntersectionObserver) ─────────────── */
.x9i {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.x9i__card {
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 2rem;
  background: var(--c-mid);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}
.x9i__card.visible {
  opacity: 1;
  transform: translateY(0);
}
.x9i__card:nth-child(2) { transition-delay: 0.15s; }
.x9i__card:nth-child(3) { transition-delay: 0.3s; }
.x9i__card:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.4);
}
.x9i__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.x9i__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-silver);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}
.x9i__text { color: var(--c-muted); font-size: 0.9rem; }
.x9i__result {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.x9i__result::before { content: '✓'; }

/* ── CONTACT FORM ─────────────────────────────── */
.xah {
  max-width: 640px;
  margin: 0 auto;
}
.xah__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.xah__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.xah__field--full { grid-column: 1 / -1; }
.xah__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.xah__input,
.xah__textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--c-border);
  color: var(--c-silver);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.xah__input:focus,
.xah__textarea:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.xah__input.error,
.xah__textarea.error {
  border-color: #ff4466;
}
.xah__textarea { resize: vertical; min-height: 120px; }
.xah__btn {
  width: 100%;
  padding: 1rem;
  background: var(--c-cyan);
  color: var(--c-bg);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  margin-top: 1rem;
}
.xah__btn:hover { background: #00b8db; transform: translateY(-2px); }
.xah__btn:active { transform: translateY(0); }
.xah__contact-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.xah__ci {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.xah__ci-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--c-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.xah__ci-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--c-cyan);
}

/* ── TOAST ────────────────────────────────────── */
.xbj {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9000;
  background: var(--c-mid);
  border: 1px solid var(--c-border);
  color: var(--c-silver);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 1rem 1.75rem;
  border-radius: var(--r);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.xbj.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.xbj--success { border-color: var(--c-cyan); color: var(--c-cyan); }
.xbj--error { border-color: #ff4466; color: #ff4466; }

/* ── FOOTER ───────────────────────────────────── */
.xck {
  position: relative;
  z-index: 2;
  background: var(--c-dark);
  border-top: 1px solid var(--c-border);
  padding: 4rem 2rem 2rem;
}
.xck__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.xck__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2rem;
}
.xck__brand {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--c-cyan);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.xck__tagline {
  color: var(--c-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.xck__col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.xck__col-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.xck__col-links a {
  font-size: 0.85rem;
  color: var(--c-muted);
  transition: color 0.2s;
  font-family: var(--font-mono);
}
.xck__col-links a:hover { color: var(--c-cyan); text-decoration: none; }
.xck__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.xck__copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-muted);
}
.xck__legal {
  display: flex;
  gap: 1.5rem;
}
.xck__legal a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-muted);
  transition: color 0.2s;
}
.xck__legal a:hover { color: var(--c-cyan); text-decoration: none; }

/* ── LEGAL PAGES ──────────────────────────────── */
.xdl {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
  position: relative;
  z-index: 2;
}
.xdl h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--c-cyan);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.xdl h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--c-silver);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: 0.05em;
}
.xdl p {
  color: var(--c-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}
.xdl ol {
  list-style: none;
  counter-reset: legal-counter;
}
.xdl ol li {
  counter-increment: legal-counter;
  padding-left: 2.5rem;
  position: relative;
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.65;
}
.xdl ol li::before {
  content: '§' counter(legal-counter);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  font-weight: 700;
}
.xdl ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.xdl ul li {
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}
.xdl__roman {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.xdl__toc {
  background: var(--c-mid);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 1.5rem;
  margin-bottom: 3rem;
}
.xdl__toc-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.xdl__toc ol {
  counter-reset: none;
}
.xdl__toc a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-muted);
  transition: color 0.2s;
}
.xdl__toc a:hover { color: var(--c-cyan); }

/* ── PAGE HERO (subpages) ─────────────────────── */
.xem {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0;
}
.xem__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-cyan);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.xem__title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--c-silver);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(0,212,255,0.2);
}
.xem__title em { color: var(--c-cyan); font-style: normal; }
.xem__sub {
  color: var(--c-muted);
  font-size: 1rem;
  margin-top: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CONTENT GRID (subpages) ──────────────────── */
.xfn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
.xfn__card {
  background: var(--c-mid);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 1.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.xfn__card.visible { opacity: 1; transform: translateY(0); }
.xfn__card:hover {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 20px rgba(0,212,255,0.08);
}
.xfn__icon { font-size: 1.75rem; margin-bottom: 1rem; }
.xfn__title {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--c-silver);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.xfn__text { color: var(--c-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── 404 ─────────────────────────────────────── */
.xgo {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.xgo__code {
  font-family: var(--font-mono);
  font-size: clamp(6rem, 20vw, 14rem);
  color: rgba(0,212,255,0.08);
  font-weight: 700;
  line-height: 1;
  margin-bottom: -2rem;
  position: relative;
  z-index: 0;
}
.xgo__msg {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--c-silver);
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
.xgo__sub {
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .xck__top { grid-template-columns: 1fr 1fr; }
  .xfn { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .x3c__links { display: none; }
  .x3c__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(6,8,22,0.98);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    gap: 1.5rem;
    z-index: 899;
  }
  .x3c__link {
    font-size: 1rem;
    color: var(--c-silver);
  }
  .x3c__burger { display: flex; }
  .x3c__cta { display: none; }
  .x6f { grid-template-columns: 1fr; }
  .x7g { grid-template-columns: 1fr; }
  .xah__grid { grid-template-columns: 1fr; }
  .xck__top { grid-template-columns: 1fr; gap: 2rem; }
  .x2b { display: none; }
}

/* ── COOKIE BANNER ────────────────────────────── */
.xhp {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(6, 8, 22, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}
.xhp.hidden { display: none; }
.xhp__box {
  background: var(--c-mid);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 2rem;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 0 40px rgba(0,212,255,0.15);
}
.xhp__title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.xhp__text {
  color: var(--c-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.xhp__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.xhp__accept {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  background: var(--c-cyan);
  color: var(--c-bg);
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  font-weight: 700;
}
.xhp__accept:hover { background: #00b8db; }
.xhp__reject {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: var(--c-muted);
  border: 1px solid var(--c-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}
.xhp__reject:hover { border-color: var(--c-silver); color: var(--c-silver); }

/* ── UTILITY ──────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
