
:root {

  --ink:    #05090e;
  --night:  #0b141d;
  --night2: #122130;
  --stone:  #1e2c3a;

  --moon:      #bcd8e8;
  --moon-pale: #f2f8fc;
  --moon-dim:  #7d9cb2;

  --fire:     #ff9a3c;
  --fire-hot: #ffd9a0;
  --ember:    #d1461f;

  --bone:     #ded2bb;
  --bone-dim: #9d937f;
  --blood:    #8c2f36;

  --village: #a8cbdf;
  --loups:   #c2545f;
  --solo:    #d9c9a3;

  --display: "Cinzel", "Trajan Pro", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--bone);
  background: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(255, 154, 60, 0.28); color: var(--moon-pale); }

a { color: var(--moon); text-decoration: none; }

img { max-width: 100%; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 44px);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 13, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(188, 216, 232, 0.1);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--moon-pale);
}
.nav__brand b { color: var(--fire); font-weight: 600; }
.nav__moon {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, var(--moon-pale), var(--moon) 60%, var(--moon-dim));
  box-shadow: 0 0 14px rgba(188, 216, 232, 0.6);
  flex: none;
}
.nav__collapse { flex: 1; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; align-items: center; gap: 30px; margin-right: auto; }
.nav__links a {
  color: var(--bone-dim);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--moon-pale); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta {
  font-size: 12.5px !important;
  letter-spacing: 0.1em !important;
  color: var(--night) !important;
  background: linear-gradient(180deg, var(--fire-hot), var(--fire));
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: none !important;
  box-shadow: 0 6px 20px -6px rgba(255, 154, 60, 0.7);
}
.nav__cta:hover { color: var(--ink) !important; }
.lang { display: flex; align-items: center; gap: 6px; color: var(--bone-dim); }
.lang__icon { width: 17px; height: 17px; flex: none; }
.lang__select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(188, 216, 232, 0.2);
  border-radius: 999px;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 12.5px;
  padding: 6px 26px 6px 12px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239d937f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.lang__select:hover { border-color: var(--moon); color: var(--moon-pale); }
.lang__select option { background: var(--night); color: var(--bone); }

.hero__scroll em { font-style: normal; }

.nav__discord {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  color: var(--bone-dim);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__discord svg { width: 20px; height: 20px; }
.nav__discord:hover { color: #fff; background: #5865f2; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 36px;
  padding: 9px;
  background: none;
  border: 1px solid rgba(188, 216, 232, 0.18);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__burger { display: flex; }
  .nav__collapse {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 16px clamp(18px, 4vw, 44px) 22px;
    background: rgba(8, 13, 20, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(188, 216, 232, 0.12);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav__actions {
    margin-right: 3vh;
    right: 0;
    position: absolute;
}
  .nav.open .nav__collapse { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-right: 0;
  }
  .nav__links a {
    padding: 13px 2px;
    font-size: 14px;
    border-bottom: 1px solid rgba(188, 216, 232, 0.07);
  }
  .lang { padding-top: 12px; }
  .lang__select { flex: 1; }
  .nav__discord { align-self: flex-start; margin-top: 4px; }
}
@media (max-width: 480px) {
  .nav__cta { padding: 8px 14px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-3px); }
.btn--fire {
  color: var(--ink);
  background: linear-gradient(180deg, var(--fire-hot), var(--fire));
  box-shadow: 0 14px 34px -12px rgba(255, 154, 60, 0.75);
}
.btn--fire:hover { box-shadow: 0 20px 44px -12px rgba(255, 154, 60, 0.9); }
.btn--ghost {
  color: var(--moon);
  background: rgba(188, 216, 232, 0.04);
  border-color: rgba(188, 216, 232, 0.25);
}
.btn--ghost:hover { border-color: var(--moon); color: var(--moon-pale); background: rgba(188, 216, 232, 0.08); }

.btn--discord {
  color: #fff;
  background: #5865f2;
  box-shadow: 0 14px 34px -14px rgba(88, 101, 242, 0.8);
}
.btn--discord:hover { background: #4954e0; box-shadow: 0 20px 44px -14px rgba(88, 101, 242, 0.95); }

.section {
  position: relative;
  z-index: 3;
  padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 40px);
}
.container { max-width: var(--maxw); margin: 0 auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fire);
  font-weight: 600;
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--fire), transparent);
}
.section__title {
  font-size: clamp(30px, 5vw, 50px);
  color: var(--moon-pale);
  letter-spacing: 0.01em;
  max-width: 20ch;
}
.section__lead {
  margin-top: 22px;
  max-width: 60ch;
  color: var(--bone-dim);
  font-size: clamp(15px, 1.6vw, 17px);
}
.section__lead strong { color: var(--bone); font-weight: 600; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 20px 90px;
}
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--ink) 92%);
}
.hero__inner {
  position: relative;
  z-index: 3;
  max-width: 860px;
}
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(52px, 13vw, 138px);
  letter-spacing: 0.02em;
  color: var(--moon-pale);
  text-shadow: 0 0 60px rgba(120, 156, 178, 0.35);
}
.hero__title .b {
  display: block;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, var(--fire-hot), var(--fire) 65%, var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 12px 60px rgba(255, 154, 60, 0.35);
}
.hero__tagline {
  margin: 30px auto 0;
  max-width: 46ch;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--bone);
}
.hero__sub {
  margin: 12px auto 0;
  max-width: 50ch;
  font-size: 14.5px;
  color: var(--bone-dim);
}
.hero__actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--moon-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll span {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--moon-dim), transparent);
  animation: scrollpulse 2.2s var(--ease) infinite;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.concept { background: linear-gradient(180deg, var(--ink), var(--night)); }
.concept__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) { .concept__grid { grid-template-columns: 1fr; } }
.pillar {
  padding: 32px 28px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(30, 44, 58, 0.5), rgba(11, 20, 29, 0.4));
  border: 1px solid rgba(188, 216, 232, 0.08);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(188, 216, 232, 0.14), transparent 70%);
  pointer-events: none;
}
.pillar--fire::before { background: radial-gradient(circle, rgba(255, 154, 60, 0.16), transparent 70%); }
.pillar__icon {
  width: 46px; height: 46px;
  margin-bottom: 20px;
  color: var(--moon);
}
.pillar--fire .pillar__icon { color: var(--fire); }
.pillar h3 { font-size: 21px; color: var(--moon-pale); margin-bottom: 10px; }
.pillar p { color: var(--bone-dim); font-size: 14.5px; margin: 0; }

.loop { background: var(--night); }
.timeline {
  margin-top: 64px;
  position: relative;
  display: grid;
  gap: 18px;
}
.phase-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(188, 216, 232, 0.08);
}
.phase-row:last-child { border-bottom: 1px solid rgba(188, 216, 232, 0.08); }
.phase-row__when {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 3px;
}
.phase-row--night .phase-row__when { color: var(--moon); }
.phase-row--dawn .phase-row__when { color: var(--fire-hot); }
.phase-row--day .phase-row__when { color: var(--fire); }
.phase-row h3 { font-size: 22px; color: var(--moon-pale); margin-bottom: 8px; }
.phase-row p { color: var(--bone-dim); font-size: 14.5px; margin: 0; max-width: 60ch; }
.phase-row__steps {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(188, 216, 232, 0.16);
  color: var(--bone);
  background: rgba(188, 216, 232, 0.04);
}
@media (max-width: 620px) {
  .phase-row { grid-template-columns: 1fr; gap: 10px; }
}

.roles { background: linear-gradient(180deg, var(--night), var(--ink)); }
.roles__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  perspective: 1400px;
}
@media (max-width: 860px) { .roles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .roles__grid { grid-template-columns: 1fr; } }

.role-card {
  position: relative;
  padding: 34px 26px 30px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(165deg, rgba(30, 44, 58, 0.55), rgba(7, 13, 20, 0.65));
  border: 1px solid rgba(188, 216, 232, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.role-card:hover {
  border-color: var(--accent, var(--moon));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 40px -20px var(--accent, var(--moon));
}
.role-card__medallion {
  width: 128px; height: 128px;
  margin: 0 auto 20px;
  transform: translateZ(40px);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.6));
}
.role-card__medallion svg { width: 100%; height: 100%; display: block; }
.role-card__name {
  font-family: var(--display);
  font-size: 23px;
  color: var(--moon-pale);
  transform: translateZ(26px);
}
.role-card__camp {
  display: inline-block;
  margin: 10px 0 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, var(--moon));
  transform: translateZ(20px);
}
.role-card__desc {
  font-size: 13.5px;
  color: var(--bone-dim);
  margin: 0;
  transform: translateZ(14px);
}
.role-card__badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--night);
  background: var(--accent, var(--moon));
  font-weight: 700;
}
.role-card__badge--soon {
  color: var(--bone-dim);
  background: transparent;
  border: 1px solid rgba(157, 147, 127, 0.4);
}
.role-card--soon { opacity: 0.62; }
.role-card--soon:hover { opacity: 0.85; }

.roles__note {
  margin-top: 34px;
  text-align: center;
  font-size: 13px;
  color: var(--bone-dim);
}
.roles__propose {
  margin: 26px auto 0;
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(88, 101, 242, 0.1), rgba(18, 33, 48, 0.35));
  border: 1px solid rgba(88, 101, 242, 0.28);
}
.roles__propose-icon { width: 30px; height: 30px; flex: none; color: #7f8cff; }
.roles__propose p { margin: 0; font-size: 15px; color: var(--bone); }
.roles__propose a { color: #a6b0ff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.roles__propose a:hover { color: #fff; }
@media (max-width: 480px) { .roles__propose { flex-direction: column; text-align: center; } }

.craft { background: var(--ink); }
.feature-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 33, 48, 0.5), rgba(7, 13, 20, 0.4));
  border: 1px solid rgba(188, 216, 232, 0.08);
}
.feature__icon {
  flex: none;
  width: 40px; height: 40px;
  color: var(--fire);
}
.feature h3 { font-size: 18px; color: var(--moon-pale); margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14px; color: var(--bone-dim); }

.faq { background: linear-gradient(180deg, var(--ink), var(--night)); }
.faq__list { margin-top: 50px; }
.faq-item {
  border-top: 1px solid rgba(188, 216, 232, 0.1);
}
.faq-item:last-child { border-bottom: 1px solid rgba(188, 216, 232, 0.1); }
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--moon-pale);
  font-family: var(--sans);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  text-align: left;
  padding: 26px 40px 26px 0;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item__q::after {
  content: "+";
  font-family: var(--display);
  font-size: 26px;
  color: var(--fire);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq-item.open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-item__a p {
  margin: 0 0 26px;
  color: var(--bone-dim);
  font-size: 15px;
  max-width: 68ch;
}

.final {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 120%, rgba(255, 154, 60, 0.18), transparent 60%), var(--night);
}
.final__title {
  font-size: clamp(32px, 6vw, 62px);
  color: var(--moon-pale);
  max-width: 16ch;
  margin: 0 auto;
}
.final__lead {
  margin: 26px auto 40px;
  max-width: 52ch;
  color: var(--bone-dim);
  font-size: 16px;
}
.final__note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--bone-dim);
}

.footer {
  position: relative;
  z-index: 3;
  background: var(--ink);
  border-top: 1px solid rgba(188, 216, 232, 0.1);
  padding: 60px clamp(20px, 5vw, 40px) 40px;
}
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer__brand { max-width: 320px; }
.footer__brand .nav__brand { margin-bottom: 14px; }
.footer__brand p { font-size: 13px; color: var(--bone-dim); margin: 0; }
.footer__discord {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #5865f2;
  transition: background 0.25s;
}
.footer__discord svg { width: 18px; height: 18px; }
.footer__discord:hover { background: #4954e0; color: #fff; }
.footer__col h4 {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin: 0 0 16px;
}
.footer__col a {
  display: block;
  color: var(--bone-dim);
  font-size: 14px;
  margin-bottom: 11px;
  transition: color 0.25s;
}
.footer__col a:hover { color: var(--moon-pale); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(188, 216, 232, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--bone-dim);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

.legal-main {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  padding: 140px clamp(20px, 5vw, 40px) 100px;
}
.legal-main .kicker { margin-bottom: 18px; }
.legal-main h1 {
  font-size: clamp(32px, 6vw, 52px);
  color: var(--moon-pale);
  margin-bottom: 10px;
}
.legal-updated { color: var(--bone-dim); font-size: 13px; margin-bottom: 50px; }
.legal-main h2 {
  font-size: 22px;
  color: var(--fire-hot);
  margin: 48px 0 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(188, 216, 232, 0.1);
}
.legal-main h3 { font-family: var(--sans); font-size: 16px; color: var(--moon-pale); margin: 26px 0 8px; }
.legal-main p, .legal-main li { color: var(--bone-dim); font-size: 15px; }
.legal-main ul { padding-left: 20px; }
.legal-main li { margin-bottom: 8px; }
.legal-main a { text-decoration: underline; text-underline-offset: 3px; }
.legal-main strong { color: var(--bone); }
.legal-toc {
  background: rgba(18, 33, 48, 0.4);
  border: 1px solid rgba(188, 216, 232, 0.1);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.legal-toc h4 { margin: 0 0 12px; font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moon-dim); }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc li { margin-bottom: 6px; }
.legal-note {
  margin-top: 8px;
  padding: 16px 20px;
  border-left: 3px solid var(--fire);
  background: rgba(255, 154, 60, 0.06);
  border-radius: 0 10px 10px 0;
  font-size: 13.5px;
}
.legal-note strong { color: var(--fire-hot); }
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-bottom: 34px;
}
.legal-top .back-home { margin-bottom: 0; }
.back-home:hover { color: var(--moon-pale); }
.legal-lang {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moon-dim);
  border: 1px solid rgba(188, 216, 232, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  flex: none;
}
.legal-lang:hover { color: var(--moon-pale); border-color: var(--moon); }

.legal-body {
  background:
    radial-gradient(120% 80% at 82% -10%, rgba(90, 68, 120, 0.12) 0%, transparent 52%),
    radial-gradient(100% 90% at 12% 8%, rgba(30, 44, 58, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, var(--night) 0%, var(--ink) 70%);
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}
