:root {
  --ink: #f6f2e8;
  --muted: #aeb5c4;
  --gold: #d4af37;
  --gold-soft: #f1dfaa;
  --night: #05070a;
  --panel: #0d121c;
  --panel-soft: #121927;
  --line: rgba(212, 175, 55, 0.22);
  --line-soft: rgba(255, 255, 255, 0.1);
  --max: 1180px;
  --reading: 760px;
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 0%, rgba(46, 59, 91, 0.58), transparent 34rem),
    radial-gradient(circle at 8% 38%, rgba(212, 175, 55, 0.08), transparent 30rem),
    var(--night);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a { color: inherit; }

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

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #05070a;
  background: var(--gold-soft);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img { width: 148px; height: auto; }

.brand-context {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto 52%;
  height: 500px;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.12));
  transform: skewY(-10deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 86px 0 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.16;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.7rem);
  letter-spacing: -0.045em;
}

.hero-summary {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.06);
  font-size: 0.78rem;
}

.layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(13, 18, 28, 0.72);
}

.toc-title {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.45;
}

.toc a:hover { color: var(--ink); }

.document { max-width: var(--reading); }

.notice {
  margin: 0 0 44px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #e8e1d1;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.11), rgba(13, 18, 28, 0.66));
}

.notice strong { color: var(--gold-soft); }

.legal-section {
  scroll-margin-top: 112px;
  padding: 0 0 42px;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--line-soft);
}

.section-number {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.legal-section h3 {
  margin: 28px 0 10px;
  color: var(--gold-soft);
  font-size: 1.16rem;
}

.legal-section p { margin: 0 0 16px; color: #d5d9e2; }

.legal-section ul,
.legal-section ol { margin: 15px 0 0; padding-left: 1.25rem; }

.legal-section li { margin: 10px 0; padding-left: 8px; color: #d5d9e2; }

.legal-section li::marker { color: var(--gold); }

.contact-card,
.consent-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 25, 39, 0.96), rgba(9, 13, 20, 0.96));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.contact-card p:last-child,
.consent-card p:last-child { margin-bottom: 0; }

.contact-card a { color: var(--gold-soft); }

.consent-card {
  position: relative;
  margin-top: 24px;
}

.consent-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.consent-text { font-size: 0.92rem; }

.legal-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.legal-nav a {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(13, 18, 28, 0.7);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.legal-nav a:hover { transform: translateY(-3px); border-color: var(--line); }

.legal-nav span { display: block; margin-bottom: 8px; color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; }

.legal-nav strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; line-height: 1.3; }

.legal-nav small { display: block; margin-top: 10px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #040609; }

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.footer-links a { color: var(--gold-soft); text-decoration: none; }

.hub-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 100px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.hub-card {
  position: relative;
  min-height: 370px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(18, 25, 39, 0.96), rgba(8, 12, 18, 0.96));
  text-decoration: none;
}

.hub-card::after {
  content: "↗";
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--gold);
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.hub-card:hover::after { transform: translate(3px, -3px); }

.hub-card h2 { max-width: 420px; margin: 18px 0; font-size: clamp(2rem, 4vw, 3.4rem); }

.hub-card p { max-width: 480px; color: var(--muted); }

.hub-index { color: var(--gold); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

.hub-note { grid-column: 1 / -1; padding: 26px; border-left: 2px solid var(--gold); color: var(--muted); background: rgba(13, 18, 28, 0.56); }

@media (max-width: 860px) {
  .brand-context { display: none; }
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc nav { columns: 2; column-gap: 24px; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-note { grid-column: auto; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .header-inner { width: min(100% - 28px, var(--max)); min-height: 68px; }
  .brand img { width: 126px; }
  .header-back span { display: none; }
  .hero-inner { width: min(100% - 28px, var(--max)); padding: 64px 0 54px; }
  .layout, .hub-grid { width: min(100% - 28px, var(--max)); padding: 44px 0 70px; }
  .toc nav { columns: 1; }
  .legal-nav { grid-template-columns: 1fr; }
  .footer-inner { width: min(100% - 28px, var(--max)); align-items: flex-start; flex-direction: column; }
  .hub-card { min-height: 300px; }
}

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

@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; font-size: 11pt; }
  .site-header, .toc, .site-footer, .legal-nav, .skip-link { display: none !important; }
  .hero { border-bottom: 1px solid #bbb; }
  .hero-inner, .layout { width: 100%; padding: 20px 0; display: block; }
  .hero::before { display: none; }
  h1, h2, h3, .section-number, .eyebrow { color: #111; }
  .hero-summary, .legal-section p, .legal-section li, .notice { color: #222; }
  .meta-chip, .notice, .contact-card, .consent-card { color: #111; background: #fff; border-color: #bbb; box-shadow: none; }
  .legal-section { break-inside: avoid; border-color: #ddd; }
}
