:root {
  color-scheme: dark;
  --background: #080313;
  --background-soft: #120523;
  --surface: rgba(32, 12, 57, 0.82);
  --surface-strong: #21103a;
  --text: #fffaf0;
  --muted: #c9bdd8;
  --gold: #f7c75e;
  --gold-soft: #ffe3a0;
  --purple: #a66cff;
  --cyan: #38d9e6;
  --border: rgba(247, 199, 94, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(112, 44, 185, 0.34), transparent 34rem),
    radial-gradient(circle at 90% 36%, rgba(32, 116, 184, 0.2), transparent 30rem),
    radial-gradient(circle at 44% 100%, rgba(209, 137, 32, 0.13), transparent 32rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-soft); text-underline-offset: 0.18em; }
a:hover { color: #ffffff; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 16px;
  color: #13071e;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 3, 19, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(255, 184, 77, 0.16);
}
.brand:hover { color: #fff4d6; }
.brand-orbit {
  width: 1.2em;
  height: 1.55em;
  margin: 0.05em 0 0 0;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-tail { margin-left: -0.1em; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 0.88rem;
  font-weight: 700;
}
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--gold); }

.page-shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 90px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
  text-wrap: balance;
}
h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing: -0.045em;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  color: var(--gold-soft);
}
h3 { margin: 30px 0 8px; font-size: 1.18rem; }

.intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(247, 199, 94, 0.07);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.notice,
.legal-section,
.action-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(42, 18, 72, 0.88), rgba(17, 7, 32, 0.9));
  box-shadow: var(--shadow);
}

.notice {
  margin: 42px 0 20px;
  padding: 22px 24px;
  color: var(--muted);
}
.notice strong { color: var(--text); }

.legal-section {
  margin-top: 22px;
  padding: clamp(24px, 5vw, 42px);
}
.legal-section p:first-of-type { margin-top: 0; }
.legal-section p:last-child { margin-bottom: 0; }

.toc {
  margin: 44px 0 18px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 0 18px 18px 0;
}
.toc strong { display: block; margin-bottom: 9px; color: var(--gold-soft); }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 36px; }
.toc li { break-inside: avoid; margin: 4px 0; }

ul, ol { padding-left: 1.35em; }
li + li { margin-top: 7px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.94rem;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(255, 255, 255, 0.11);
}
.data-table th { color: var(--gold-soft); background: rgba(247, 199, 94, 0.07); }

.step-list {
  list-style: none;
  padding: 0;
  counter-reset: deletion-step;
}
.step-list li {
  position: relative;
  min-height: 52px;
  padding: 2px 0 20px 62px;
  counter-increment: deletion-step;
}
.step-list li::before {
  content: counter(deletion-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #17081f;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-weight: 900;
}

.action-card {
  margin-top: 28px;
  padding: 30px;
  text-align: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  color: #17081f;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(247, 199, 94, 0.2);
}
.button:hover { color: #17081f; filter: brightness(1.06); }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.footer-inner {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.84rem;
}
.footer-inner p { margin: 0; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { align-items: flex-start; padding: 16px 0; }
  .brand { font-size: 1.42rem; }
  .nav-links { max-width: 210px; gap: 6px 14px; }
  .page-shell { padding-top: 52px; }
  .toc ol { columns: 1; }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td { display: block; }
  .data-table tr { margin-bottom: 14px; }
  .data-table th { border-bottom: 0; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #19111f; background: #fff; }
  .site-header, .skip-link { display: none; }
  .page-shell { width: 100%; padding: 0; }
  .legal-section, .notice, .action-card { box-shadow: none; color: #19111f; background: #fff; border-color: #bbb; }
  h1, h2, h3, a { color: #19111f; }
  .intro, .site-footer, .footer-inner { color: #3e3542; }
}
