/* ===== Paladin's Lair — single page ===== */
:root {
  --bg: #070b12;
  --bg-alt: #0a1019;
  --bg-soft: #0d1420;
  --card: rgba(13, 20, 32, 0.82);
  --card-solid: #0d1420;
  --line: rgba(212, 175, 55, 0.18);
  --line-soft: rgba(255, 255, 255, 0.07);
  --gold: #d4af37;
  --gold-bright: #f0d264;
  --gold-pale: #f6e3a1;
  --gold-deep: #8a6b20;
  --frost: #8fc6e8;
  --green: #4ade80;
  --red: #f87171;
  --text: #cfc7b6;
  --text-strong: #ece5d5;
  --muted: #8d8474;
  --font-heading: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% -8%, rgba(143, 198, 232, 0.09), transparent 70%),
    radial-gradient(50% 40% at 8% 8%, rgba(212, 175, 55, 0.07), transparent 70%);
}

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

a { color: var(--gold-bright); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-pale); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-strong);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

code {
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 0.92em;
  color: var(--gold-pale);
}

::selection { background: rgba(212, 175, 55, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}
.container-narrow { max-width: 820px; }

.gold {
  background: linear-gradient(180deg, var(--gold-pale) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--gold);
  color: #1a1405;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.92), rgba(7, 11, 18, 0.62) 70%, transparent);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 18, 0.94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  flex: none;
}
.brand:hover { color: var(--gold-pale); }
.brand-crest { width: 34px; height: 40px; display: block; flex: none; }
.brand-crest svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.brand-text small {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--gold-pale); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); opacity: 1; }

.nav-cta { display: inline-flex; margin-left: 4px; }

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 20, 32, 0.6);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--gold-pale);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  --btn-y: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-y) 30px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, #f3d979, var(--gold) 58%, #b08a25);
  color: #1d1604;
  border-color: rgba(246, 227, 161, 0.8);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.22), inset 0 1px rgba(255, 255, 255, 0.5);
}
.btn-gold:hover {
  color: #120d02;
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.3), inset 0 1px rgba(255, 255, 255, 0.55);
}

.btn-ghost {
  background: rgba(10, 16, 26, 0.5);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-pale);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm { --btn-y: 9px; padding-left: 20px; padding-right: 20px; font-size: 0.72rem; }
.btn-block { width: 100%; }
.btn-soon { position: relative; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 60px) 0 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -2%;
  z-index: -3;
  background: url('/assets/img/hero.webp') center 42%/cover no-repeat;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.82) 0%, rgba(5, 8, 13, 0.34) 30%, rgba(7, 11, 18, 0.72) 74%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 8, 13, 0.72), transparent 55%),
    radial-gradient(70% 60% at 50% 45%, transparent 30%, rgba(5, 8, 13, 0.55) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(0, -1.2%, 0); }
}

.hero-fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-fx .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  opacity: 0.5;
}
.glow-a {
  width: 46vw; height: 46vw; max-width: 720px; max-height: 720px;
  top: -12%; right: -6%;
  background: radial-gradient(circle, rgba(85, 170, 235, 0.35), transparent 65%);
  animation: driftA 18s ease-in-out infinite alternate;
}
.glow-b {
  width: 32vw; height: 32vw; max-width: 520px; max-height: 520px;
  bottom: 4%; left: -8%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28), transparent 65%);
  animation: driftB 22s ease-in-out infinite alternate;
}
.glow-c {
  width: 24vw; height: 24vw; max-width: 380px; max-height: 380px;
  top: 38%; left: 42%;
  background: radial-gradient(circle, rgba(143, 198, 232, 0.2), transparent 70%);
  animation: driftA 26s ease-in-out infinite alternate-reverse;
}
@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 5%, 0) scale(1.12); }
}
@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6%, -4%, 0) scale(1.08); }
}
.hero-fx .vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, transparent 34%, rgba(4, 6, 10, 0.5) 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-snow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-snow { display: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2.4s infinite;
  flex: none;
}
.live-dot.is-building { background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
  font-size: clamp(3rem, 9.5vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #f4ead2;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.75), 0 0 80px rgba(143, 198, 232, 0.14);
}
.hero-title .apostrophe { color: var(--gold); }
.hero-lead {
  max-width: 620px;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  font-weight: 300;
  color: #d6cdbb;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 56px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-meta li { display: flex; flex-direction: column; gap: 4px; }
.hero-meta span {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  color: var(--text-strong);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue:hover { color: var(--gold-pale); }
.scroll-cue-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ===== Status strip ===== */
.status-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.06), rgba(143, 198, 232, 0.04));
}
.status-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.status-strip p { margin: 0; font-size: 0.8rem; }
.status-strip-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.status-strip-note { color: var(--muted); }
.status-strip-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 9vw, 118px) 0;
  scroll-margin-top: calc(var(--header-h) - 1px);
}
.section-alt {
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.9), rgba(8, 12, 19, 0.4));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head { max-width: 720px; margin: 0 0 clamp(34px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  margin: 0 0 18px;
}
.section-lead { color: var(--text); font-size: clamp(0.98rem, 1.4vw, 1.06rem); font-weight: 300; }

/* ===== Feature cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 26, 40, 0.92), rgba(9, 14, 23, 0.96));
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.55), 0 0 32px rgba(212, 175, 55, 0.08);
}
.feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #060a10;
}
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 14, 23, 0.96) 100%);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s ease;
  filter: saturate(1.03);
}
.feature-card:hover .feature-media img { transform: scale(1.06); filter: saturate(1.12) brightness(1.05); }
.feature-body { padding: 20px 24px 28px; }
.feature-kicker {
  margin: 0 0 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--frost);
}
.feature-body h3 { font-size: 1.22rem; margin: 0 0 10px; color: var(--gold-pale); }
.feature-body p { font-size: 0.93rem; color: var(--text); margin: 0; }

/* ===== Status layout ===== */
.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.status-main h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 16px; }
.status-main .section-lead { margin-bottom: 34px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.45), rgba(212, 175, 55, 0.08));
}
.timeline-step {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 0 0 26px 0;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: var(--bg-alt);
}
.timeline-step.is-done .timeline-dot { background: var(--gold-deep); border-color: var(--gold); }
.timeline-step.is-done .timeline-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.timeline-step.is-active .timeline-dot {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.16);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.08);
}
.timeline-step.is-active .timeline-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--gold-pale);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.55; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.05); }
}
.timeline-step h3 { font-size: 1.02rem; margin: 0 0 3px; color: var(--text-strong); font-family: var(--font-body); font-weight: 600; }
.timeline-step.is-active h3 { color: var(--gold-pale); }
.timeline-step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.realm-panel {
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 70% at 50% 0, rgba(212, 175, 55, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(17, 26, 40, 0.96), rgba(8, 13, 21, 0.98));
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 30px);
}
.realm-panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.realm-crest { width: 42px; height: 49px; flex: none; }
.realm-crest svg { width: 100%; height: 100%; filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.25)); }
.realm-panel-head h3 { font-size: 1.35rem; margin: 0 0 4px; color: var(--gold-pale); }
.realm-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.realm-facts { margin: 0 0 24px; border-top: 1px solid var(--line-soft); }
.realm-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.realm-facts dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.realm-facts dd { margin: 0; font-family: var(--font-heading); font-size: 0.92rem; color: var(--text-strong); text-align: right; }
.realm-facts dd.muted { color: var(--muted); font-family: var(--font-body); font-size: 0.82rem; }
.realm-panel-foot { text-align: center; }
.tiny-note { margin: 10px 0 0; font-size: 0.7rem; color: var(--muted); }

/* ===== Connect ===== */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.step-card {
  position: relative;
  display: flex;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.3s ease, transform 0.3s var(--ease), background 0.3s ease;
}
.step-card:hover {
  border-color: rgba(212, 175, 55, 0.32);
  transform: translateY(-3px);
  background: rgba(16, 24, 37, 0.9);
}
.step-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 175, 55, 0.5);
  flex: none;
  padding-top: 2px;
}
.step-body { min-width: 0; }
.step-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.step-body h3 { margin: 0; font-size: 1.08rem; font-family: var(--font-body); font-weight: 600; color: var(--gold-pale); }
.step-body p { margin: 0; font-size: 0.92rem; color: var(--text); }
.step-body strong { color: var(--text-strong); }
.step-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.step-link span { display: inline-block; transition: transform 0.2s ease; }
.step-link:hover { color: var(--gold-pale); }
.step-link:hover span { transform: translateX(4px); }
.badge {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1d1604;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 999px;
  padding: 3px 8px;
}

.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 12px 11px 16px;
  border: 1px dashed rgba(143, 198, 232, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(5, 9, 15, 0.7);
}
.copy-box code { color: var(--frost); font-size: 0.82rem; overflow-wrap: anywhere; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 7px 11px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.07);
  color: var(--gold-pale);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.copy-btn:hover { background: rgba(212, 175, 55, 0.16); border-color: var(--gold); }
.copy-btn.is-copied { border-color: var(--green); color: var(--green); }

.note-box {
  margin-top: clamp(24px, 3vw, 34px);
  padding: 18px 22px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.05);
}
.note-box p { margin: 0; font-size: 0.92rem; }
.note-box strong { color: var(--gold-pale); }

/* ===== Slider ===== */
.slider {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #05080d;
  box-shadow: var(--shadow);
}
.slider-viewport { position: relative; aspect-ratio: 16 / 8.4; }
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  pointer-events: none;
}
.slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 13, 0.9) 100%);
}
.slide figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 44px) clamp(28px, 4vw, 40px);
}
.slide figcaption h3 {
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  margin: 0 0 6px;
  color: var(--gold-pale);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}
.slide figcaption p {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(0.86rem, 1.4vw, 0.98rem);
  color: #d9d0be;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  background: rgba(7, 11, 18, 0.6);
  color: var(--gold-pale);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.slider:hover .slider-arrow,
.slider:focus-within .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: rgba(212, 175, 55, 0.2); border-color: var(--gold); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
  position: absolute;
  z-index: 4;
  right: clamp(16px, 3vw, 32px);
  bottom: 18px;
  display: flex;
  gap: 7px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-dot.is-active { background: var(--gold); transform: scale(1.3); }
.slider-dot:hover { background: var(--gold-bright); }

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  position: relative;
  padding: 20px 42px 20px 0;
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-pale); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary { color: var(--gold-pale); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 42px 22px 0; }
.faq-body p { margin: 0; font-size: 0.94rem; color: var(--text); }
.faq-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(46px, 6vw, 68px) 0 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 12, 19, 0.6), #05080d);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 34px 56px;
  align-items: start;
}
.footer-brand p { margin: 18px 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.8; }
.footer-brand strong { color: var(--gold-pale); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: flex-end;
  padding-top: 8px;
}
.footer-nav a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-nav a:hover { color: var(--gold-pale); }
.footer-legal {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  line-height: 1.7;
  color: #6f6859;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 3000;
  transform: translate(-50%, 20px);
  max-width: min(92vw, 460px);
  padding: 12px 20px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  background: rgba(13, 20, 32, 0.97);
  color: var(--gold-pale);
  font-size: 0.82rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ===== Reveal ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .status-layout { grid-template-columns: 1fr; }
  .realm-panel { max-width: 520px; }
}

@media (max-width: 1020px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav-cta { display: inline-flex; margin-top: 6px; align-self: flex-start; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px clamp(18px, 5vw, 32px) 24px;
    background: rgba(7, 11, 18, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { width: 100%; padding: 14px 0; font-size: 0.86rem; border-bottom: 1px solid var(--line-soft); }
  .nav-link::after { display: none; }

  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card:last-child { grid-column: 1 / -1; }
  .connect-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .hero { min-height: 92svh; }
}

@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .hero { padding-top: calc(var(--header-h) + 42px); padding-bottom: 78px; }
  .hero-lead { margin-bottom: 28px; }
  .hero-cta { margin-bottom: 38px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { gap: 14px 26px; }
  .hero-meta strong { font-size: 0.86rem; }
  .slider-viewport { aspect-ratio: 4 / 3.4; }
  .slider-arrow { width: 38px; height: 38px; opacity: 1; top: auto; bottom: 76px; transform: none; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .slider-dots { bottom: 16px; right: 50%; transform: translateX(50%); }
  .slide figcaption { padding-bottom: 48px; }
  .slider-viewport::after { background: linear-gradient(180deg, transparent 30%, rgba(5, 8, 13, 0.94) 100%); }
  .step-card { gap: 14px; padding: 20px 18px; }
  .step-number { font-size: 1.2rem; }
  .copy-box { flex-direction: column; align-items: stretch; }
  .copy-btn { justify-content: center; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { animation: none; }
}
