:root {
  --ink: #111827;
  --muted: #5f6877;
  --paper: #fffdf8;
  --surface: #ffffff;
  --line: #dfe3e8;
  --burgundy: #56002f;
  --burgundy-deep: #37001f;
  --gold: #ffd84d;
  --blue: #0867d9;
  --green: #0a7a50;
  --shadow: 0 18px 60px rgba(35, 16, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 216, 77, 0.24), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #f5f7fb 34%, #ffffff 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--burgundy);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  background: linear-gradient(120deg, var(--burgundy-deep), var(--burgundy) 70%, #7a124b);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--burgundy-deep);
  background: var(--gold);
  border-radius: 13px 13px 13px 4px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.page-shell {
  padding: 70px 0 90px;
}

.hero {
  max-width: 820px;
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 2.25rem 0 0.7rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.14rem;
}

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

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 44px;
  align-items: start;
}

.legal-card,
.info-card,
.action-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-card {
  padding: clamp(24px, 5vw, 58px);
  border-radius: 28px;
}

.legal-card p,
.legal-card li {
  color: #333b47;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.25rem;
}

.legal-card li + li {
  margin-top: 0.45rem;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(14px);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.info-card,
.action-card {
  padding: 30px;
  border-radius: 24px;
}

.info-card h2,
.action-card h2 {
  margin-top: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  color: var(--burgundy-deep);
  background: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  color: white;
  background: var(--burgundy);
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  color: #28303b;
  background: #fff7d6;
  border-left: 5px solid #e0a900;
  border-radius: 8px 16px 16px 8px;
}

.success-notice {
  background: #eaf8f2;
  border-left-color: var(--green);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #1d1720;
}

.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.9rem;
}

.footer-inner a {
  color: white;
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .page-shell {
    padding-top: 46px;
  }

  .site-nav {
    gap: 12px;
  }
}
