:root {
  --purple-950: #0b0412;
  --purple-900: #12071d;
  --purple-850: #180922;
  --purple-800: #210d2f;
  --purple-700: #321344;
  --gold-500: #d8b24a;
  --gold-400: #e7c76f;
  --gold-300: #f2d98f;
  --gold-200: #f7e8b6;
  --ivory: #fff9e9;
  --muted: #d5c9db;
  --line: rgba(216, 178, 74, .30);
  --panel: rgba(21, 8, 31, .72);
  --panel-strong: rgba(17, 6, 25, .90);
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --radius: 24px;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% -10%, rgba(116, 47, 157, .42), transparent 34rem),
    radial-gradient(circle at 85% 18%, rgba(70, 22, 93, .24), transparent 28rem),
    linear-gradient(180deg, var(--purple-850) 0%, var(--purple-950) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--gold-300); }
a:hover { color: #fff3c9; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--ivory);
  color: var(--purple-950);
  padding: .7rem 1rem;
  border-radius: 10px;
}

.site-shell { position: relative; isolation: isolate; }
.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.watermark {
  position: fixed;
  width: clamp(170px, 21vw, 330px);
  opacity: .055;
  z-index: -3;
  pointer-events: none;
  filter: saturate(.7) sepia(.15) brightness(.95);
  transform-origin: center;
}
.watermark.a { top: 14vh; left: -4.5vw; transform: rotate(-11deg); }
.watermark.b { top: 8vh; right: -4vw; transform: rotate(10deg); }
.watermark.c { bottom: 3vh; left: 6vw; transform: rotate(8deg); }
.watermark.d { bottom: -7vh; right: 5vw; transform: rotate(-7deg); }
.legal-page .watermark { opacity: .028; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(11, 4, 18, .72);
  border-bottom: 1px solid rgba(216, 178, 74, .16);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .03em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .25rem .55rem;
}
.nav a {
  text-decoration: none;
  color: #eee4f2;
  padding: .45rem .68rem;
  border-radius: 999px;
  font-size: .91rem;
}
.nav a:hover, .nav a[aria-current="page"] {
  background: rgba(216, 178, 74, .10);
  color: var(--gold-300);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  width: min(88vw, 720px);
  height: min(88vw, 720px);
  border: 1px solid rgba(216, 178, 74, .07);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(216, 178, 74, .015),
    0 0 0 85px rgba(216, 178, 74, .010);
  pointer-events: none;
  z-index: -1;
}
.hero-content { max-width: 820px; }
.logo-frame {
  width: min(66vw, 390px);
  margin: 0 auto 1.4rem;
  position: relative;
}
.logo-frame::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: rgba(219, 168, 56, .18);
  filter: blur(44px);
  z-index: -1;
}
.brand-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.36));
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: .85rem;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-300);
  line-height: 1.18;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.7rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 .55rem; }
.hero-title.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero-lead {
  color: #f4edf6;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 690px;
  margin: 0 auto 1.8rem;
}
.hero-note {
  color: var(--muted);
  font-size: .94rem;
  max-width: 720px;
  margin: 1rem auto 0;
}
.actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .74rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(216, 178, 74, .50);
  background: linear-gradient(180deg, rgba(231,199,111,.18), rgba(216,178,74,.07));
  color: var(--gold-200);
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.btn:hover { transform: translateY(-1px); color: #fff6d9; }
.btn.secondary { border-color: rgba(255,255,255,.14); color: #eee7f0; background: rgba(255,255,255,.035); }

.section { padding: 4.5rem 0; }
.section.compact { padding: 2.7rem 0; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(39, 14, 52, .75), rgba(17, 6, 25, .82));
  border: 1px solid rgba(216, 178, 74, .20);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: .55;
}
.card p { color: #ddd2e2; margin-bottom: 0; }
.symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(216, 178, 74, .35);
  color: var(--gold-300);
  margin-bottom: 1rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.quote-panel {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 178, 74, .25);
  background:
    radial-gradient(circle at top right, rgba(216,178,74,.10), transparent 45%),
    rgba(16, 6, 25, .72);
}
.quote-panel p { font-family: Georgia, serif; font-size: clamp(1.25rem, 2.5vw, 1.65rem); color: #f7ecce; margin: 0; }
.clean-list { padding-left: 1.2rem; color: #ded5e2; }
.clean-list li { margin: .5rem 0; }

.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(216,178,74,.55), transparent); border: 0; margin: 0; }

.notice {
  border: 1px solid rgba(216, 178, 74, .28);
  background: rgba(216, 178, 74, .07);
  color: #f3e7c5;
  padding: 1rem 1.1rem;
  border-radius: 16px;
}
.notice strong { color: var(--gold-300); }
.notice.draft {
  border-color: rgba(242, 188, 86, .48);
  background: rgba(162, 105, 23, .15);
}

.legal-hero { padding: 3.6rem 0 1.8rem; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.legal-meta { color: #cbbfd0; font-size: .92rem; }
.legal-content {
  max-width: 920px;
  padding-bottom: 4rem;
}
.legal-content section {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(216, 178, 74, .12);
}
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: 1.55rem; margin-top: 0; }
.legal-content h3 { color: var(--gold-400); font-family: inherit; font-size: 1rem; margin-top: 1.2rem; }
.legal-content p, .legal-content li { color: #e3dbe6; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: rgba(8,3,13,.32);
  border-radius: 14px;
  overflow: hidden;
}
.legal-content th, .legal-content td {
  text-align: left;
  vertical-align: top;
  padding: .8rem;
  border-bottom: 1px solid rgba(216, 178, 74, .13);
}
.legal-content th { color: var(--gold-300); width: 28%; }

.steps { counter-reset: step; padding: 0; list-style: none; }
.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.6rem;
  margin: .7rem 0;
  border: 1px solid rgba(216,178,74,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(216,178,74,.42);
  color: var(--gold-300);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(216, 178, 74, .14);
  background: rgba(7, 2, 11, .55);
  padding: 2.4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1.5rem 2rem;
}
.footer-brand { font-family: Georgia, serif; color: var(--gold-300); font-weight: 700; margin-bottom: .4rem; }
.footer-copy { color: #bfb3c4; font-size: .88rem; max-width: 650px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1rem; }
.footer-links a { font-size: .88rem; text-decoration: none; color: #d7cddb; }
.footer-links a:hover { color: var(--gold-300); }

@media (max-width: 860px) {
  .header-inner { align-items: flex-start; padding: .75rem 0; }
  .brand-mini span { display: none; }
  .nav { justify-content: flex-end; }
  .grid-3, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .watermark { width: 220px; }
  .watermark.c, .watermark.d { display: none; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.2rem), var(--content)); }
  .site-header { position: static; }
  .header-inner { display: block; }
  .brand-mini { margin-bottom: .55rem; }
  .nav { justify-content: flex-start; gap: .15rem; }
  .nav a { font-size: .82rem; padding: .36rem .48rem; }
  .hero { min-height: auto; padding: 3.2rem 0 3.4rem; }
  .logo-frame { width: min(78vw, 350px); }
  .section { padding: 3.2rem 0; }
  .legal-content table, .legal-content tbody, .legal-content tr, .legal-content th, .legal-content td { display: block; }
  .legal-content th { width: auto; border-bottom: 0; padding-bottom: .2rem; }
  .legal-content td { padding-top: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
