:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #fffdfa;
  --ink: #1e2528;
  --muted: #5e6b70;
  --line: #d8d2c6;
  --accent: #0e7c7b;
  --accent-dark: #0a5555;
  --warm: #b95836;
  --shadow: 0 24px 70px rgba(39, 36, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(14, 124, 123, 0.08), transparent 38%),
    linear-gradient(300deg, rgba(185, 88, 54, 0.11), transparent 42%);
  content: "";
}

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

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

.page-shell.narrow {
  width: min(820px, calc(100% - 32px));
}

.hero {
  min-height: 52vh;
  display: grid;
  align-content: center;
  padding: 54px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 30px 0 8px;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.quick-links a,
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.quick-links a:hover,
.back-link:hover {
  background: rgba(14, 124, 123, 0.08);
}

.content-section {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 28px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.section-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0;
  border: 1px solid var(--line);
  color: var(--warm);
  font-weight: 800;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.statement-grid article,
.document-card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.statement-grid article {
  min-height: 210px;
  padding: 24px;
}

.statement-grid h3 {
  margin-top: 0;
}

.table-wrap {
  width: 100%;
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--accent-dark);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-line {
  margin-bottom: 0;
}

.document-header {
  padding: 24px 0 32px;
}

.document-header .back-link {
  margin-bottom: 42px;
}

.document-card {
  padding: 42px;
  box-shadow: var(--shadow);
}

.document-card h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.document-card h2:first-of-type {
  margin-top: 26px;
}

@media (max-width: 820px) {
  .page-shell {
    padding: 28px 0 48px;
  }

  .hero {
    min-height: auto;
    padding: 34px 24px;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 40px 0;
  }

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

  .statement-grid article {
    min-height: 0;
  }

  .document-card {
    padding: 26px 20px;
  }
}
