:root {
  --page-bg: #f3f0eb;
  --paper: #fffdf8;
  --paper-soft: #fbf7ef;
  --ink: #1f2933;
  --muted: #64707d;
  --rule: #ded6c8;
  --accent: #0d5c63;
  --accent-strong: #093f44;
  --accent-soft: #e2f0ef;
  --warning-bg: #fff5da;
  --warning-border: #e3b54d;
  --shadow: 0 24px 70px rgba(31, 41, 51, 0.12);
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background:
    linear-gradient(135deg, rgba(13, 92, 99, 0.10), transparent 34%),
    linear-gradient(315deg, rgba(181, 121, 64, 0.14), transparent 30%),
    var(--page-bg);
}

a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

.page {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.card,
.legal-document {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero,
.legal-header {
  position: relative;
  padding: 44px 44px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 247, 239, 0.98)),
    var(--paper-soft);
  border-bottom: 1px solid var(--rule);
}

.hero::before,
.legal-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), #b57940);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 5px 10px;
  border: 1px solid rgba(13, 92, 99, 0.18);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
.document-title {
  margin: 0 0 12px;
  color: #17212b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.subtitle,
.lede {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.meta,
.last-updated {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin: 30px 44px 0;
  padding: 20px 22px;
  border: 1px solid var(--warning-border);
  border-radius: 8px;
  background: var(--warning-bg);
}

.notice h2 {
  margin: 0 0 8px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.notice p {
  margin-bottom: 10px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.toc {
  margin: 30px 44px 0;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.toc h2 {
  margin: 0 0 14px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 34px;
}

.toc li {
  margin: 0 0 8px;
  break-inside: avoid;
}

.content,
.legal-content {
  padding: 12px 44px 42px;
}

section,
.content-section {
  padding-top: 30px;
  border-bottom: 1px solid var(--rule);
}

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

h2 {
  margin: 0 0 14px;
  color: #1c2731;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin: 22px 0 10px;
  color: #26313c;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0 0 14px;
}

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

li {
  margin-bottom: 8px;
}

strong {
  color: #18232e;
}

.caps {
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer,
.legal-footer {
  margin-top: 24px;
  padding: 24px 44px 34px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

.plain-url,
.non-clickable-link {
  color: var(--accent-strong);
  font-weight: 650;
  overflow-wrap: anywhere;
}

@media (max-width: 780px) {
  .page {
    width: min(100% - 20px, var(--max-width));
    padding: 18px 0 44px;
  }

  .hero,
  .legal-header,
  .content,
  .legal-content,
  .footer,
  .legal-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .notice,
  .toc {
    margin-left: 22px;
    margin-right: 22px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .toc ol {
    columns: 1;
  }

  h1,
  .document-title {
    font-size: 34px;
  }
}
