:root {
  --bg: #f6f3ec;
  --paper: #fffdfa;
  --ink: #151719;
  --muted: #656b74;
  --line: #dfd8cc;
  --accent: #0f766e;
  --accent-dark: #134e4a;
  --gold: #c47b2c;
  --shadow: 0 24px 70px rgba(23, 25, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(196, 123, 44, 0.14), transparent 30rem),
    linear-gradient(135deg, #f7f4ef 0%, #eef4f2 48%, #fbf8f1 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, #fffdfa, #e6f2ef);
  color: var(--accent-dark);
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.14);
}

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

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid rgba(21, 23, 25, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.62);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  background: var(--ink);
  color: #fffdfa;
}

.hero {
  display: grid;
  gap: 18px;
  padding: 56px clamp(24px, 5vw, 72px);
  border: 1px solid rgba(21, 23, 25, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 253, 250, 0.95), rgba(255, 253, 250, 0.76)),
    repeating-linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0 1px, transparent 1px 16px);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: 0;
  color: #40464d;
  font-size: clamp(17px, 2vw, 20px);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.7);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 34px;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.72);
  backdrop-filter: blur(12px);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.legal-card {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(23, 25, 29, 0.08);
}

section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

section:first-child {
  padding-top: 0;
}

section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 8px;
  color: #2b3035;
  font-size: 18px;
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin: 8px 0;
}

.notice {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #eef8f5;
  color: #28423e;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 720px);
    padding-top: 20px;
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 36px 22px;
  }

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

  .toc {
    position: static;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .topbar,
  .toc {
    display: none;
  }

  .site-shell {
    width: 100%;
    padding: 0;
  }

  .hero,
  .legal-card {
    border: 0;
    box-shadow: none;
  }
}
