/* Legal pages (privacy, terms, data protection): the homepage's kente look, set for long reading. */
@font-face { font-family: "Libre Baskerville"; src: url(/fonts/libre-baskerville-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url(/fonts/libre-baskerville-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --forest: #0F4D3A; --night: #06261D; --deep: #0B3B2C;
  --gold: #D9A520; --gold-hi: #F2C94C; --clay: #A8321F; --indigo: #1D4E89;
  --shea: #F6F0E4; --paper: #FBF8F1; --ink: #18201C; --muted: #55625B; --line: #E3D9C6;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 2 * var(--pad)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.seam { height: 10px; background:
  repeating-linear-gradient(90deg, var(--gold) 0 22px, var(--forest) 22px 34px, var(--gold) 34px 40px, var(--clay) 40px 60px, #111 60px 64px, var(--gold) 64px 78px, var(--indigo) 78px 94px, var(--gold) 94px 100px);
  background-size: 200px 100%; animation: drift 60s linear infinite; }
@keyframes drift { to { background-position: 200px 0; } }

/* ---------------------------------------------------------------- header band: the cloth, quiet */
.lhero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); }
.lhero::before { content: ""; position: absolute; inset: -3%; z-index: -2; background: var(--cloth) center/cover; animation: beat 4.2s ease-in-out infinite; }
.lhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 38 29 / .97) 0%, rgb(6 38 29 / .88) 55%, rgb(6 38 29 / .6) 100%); }
@keyframes beat { 0%, 30%, 100% { transform: scale(1); } 8% { transform: scale(1.016); } 16% { transform: scale(1.003); } 22% { transform: scale(1.01); } }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font: 400 21px var(--serif); }
.mark { width: 40px; height: 40px; flex: none; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a { color: rgb(255 255 255 / .86); text-decoration: none; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.bar nav a[aria-current="page"] { color: var(--gold-hi); }
.bar nav a.home { margin-left: 8px; color: var(--night); background: var(--gold); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .bar nav a:not(.home):hover { color: #fff; background: rgb(255 255 255 / .1); } .bar nav a.home:hover { background: var(--gold-hi); } }
@media (max-width: 760px) { .bar nav a:not(.home) { display: none; } }

.title { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); }
.title h1 { max-width: 18ch; }
.thread { display: inline-flex; gap: 4px; margin-bottom: 22px; }
.thread i { width: 26px; height: 6px; border-radius: 3px; }
.thread i:nth-child(1) { background: var(--gold); } .thread i:nth-child(2) { background: var(--clay); } .thread i:nth-child(3) { background: var(--forest); } .thread i:nth-child(4) { background: var(--indigo); }
.title h1 { font-size: clamp(38px, 5.6vw, 72px); }
.title .lede { margin: 22px 0 0; max-width: 56ch; font-size: clamp(17px, 1.4vw, 20px); color: rgb(255 255 255 / .84); }
.title .meta { margin: 18px 0 0; font-size: 14px; color: rgb(255 255 255 / .6); }

/* ---------------------------------------------------------------- the short version */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; border-radius: 24px; overflow: hidden; background: var(--line); margin-block: clamp(48px, 6vw, 80px) 0; }
.promises div { background: #fff; padding: clamp(22px, 2.4vw, 32px); }
.promises div::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; margin-bottom: 20px; }
.promises div:nth-child(1)::before { background: var(--clay); } .promises div:nth-child(2)::before { background: var(--gold); } .promises div:nth-child(3)::before { background: var(--indigo); } .promises div:nth-child(4)::before { background: var(--forest); }
.promises h3 { font-size: 20px; color: var(--forest); margin-bottom: 8px; }
.promises p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 1000px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .promises { grid-template-columns: 1fr; } .promises div { text-align: center; } .promises div::before { margin-inline: auto; } }

/* ---------------------------------------------------------------- body: contents rail + article */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px) clamp(80px, 9vw, 120px); align-items: start; }
.toc { position: sticky; top: 24px; font-size: 14.5px; }
.toc summary { list-style: none; font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); counter-reset: s; }
.toc li { counter-increment: s; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a::before { content: counter(s) ". "; color: var(--gold); font-weight: 600; }
@media (hover: hover) { .toc a:hover { color: var(--forest); } }

article { max-width: 74ch; counter-reset: h; }
article section + section { margin-top: clamp(44px, 5vw, 64px); padding-top: clamp(44px, 5vw, 64px); border-top: 1px solid var(--line); }
article h2 { font-size: clamp(26px, 2.6vw, 34px); color: var(--forest); margin-bottom: 18px; counter-increment: h; }
article h2::before { content: counter(h, decimal-leading-zero); display: block; font: 600 13px var(--sans); letter-spacing: .14em; color: var(--gold); margin-bottom: 10px; }
article h3 { font-size: 20px; color: var(--ink); margin: 28px 0 10px; }
article p { margin: 0 0 16px; }
article ul, article ol { margin: 0 0 16px; padding-left: 22px; }
article li { margin-bottom: 8px; }
article li::marker { color: var(--gold); }
article strong { font-weight: 600; }
.callout { margin: 24px 0; padding: 20px 24px; border-radius: 16px; background: var(--shea); border-left: 4px solid var(--gold); }
.callout p:last-child { margin-bottom: 0; }

.table { margin: 20px 0 24px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--shea); color: var(--forest); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

.related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.related a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--forest); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s var(--ease); }
@media (hover: hover) { .related a:hover { background: var(--deep); } }

@media (max-width: 900px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc > * { min-width: 0; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px 20px; }
  .toc summary { margin: 0; cursor: pointer; text-align: center; }
  .toc[open] summary { margin-bottom: 14px; }
  article { max-width: none; }
}

/* ---------------------------------------------------------------- footer (as on the homepage) */
footer { background: #0E1512; color: rgb(255 255 255 / .62); font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-block: 40px; }
footer .brand { font-size: 19px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
@media (hover: hover) { footer nav a:hover { color: var(--gold-hi); } }
footer .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgb(255 255 255 / .08); padding-top: 22px; margin: 0; }
footer .legal nav { gap: 6px 18px; }
footer .legal a[aria-current="page"] { color: var(--gold-hi); }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; } footer nav, footer .legal { justify-content: center; } }

/* phones: headings centred, reading text stays left-aligned */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .bar { padding-block: 18px; }
  .brand { font-size: 19px; } .mark { width: 34px; height: 34px; }
  .bar nav a.home { padding: 9px 14px; font-size: 14px; }
  .title { text-align: center; }
  .title h1 { margin-inline: auto; }
  .title .lede { margin-inline: auto; }
  article h2, article h3 { text-align: center; }
  th, td { padding: 12px; }
}
@media (min-width: 2000px) { :root { --pad: 80px; } body { font-size: 19px; } .wrap { width: min(1400px, 100% - 2 * var(--pad)); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .seam, .lhero::before { animation: none !important; } }
@media print { .lhero, .seam, .toc, footer { display: none; } .doc { display: block; padding: 0; } body { background: #fff; } }

/* phones: each table row becomes a small card, with the column name above each value */
@media (max-width: 600px) {
  .table { border: 0; background: none; overflow: visible; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 4px; margin-bottom: 12px; }
  .table td { border: 0; padding: 8px 14px; }
  .table td::before { content: attr(data-label); display: block; font: 600 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
  .table td:first-child { font-weight: 600; color: var(--forest); }
}
