/* OS Funds legal pages. One file, no web fonts, no trackers: a privacy policy that
   phones home to a font CDN would be making the first false statement itself. */
:root {
  --bg: #f6f7f5;
  --paper: #ffffff;
  --ink: #12211c;
  --ink-soft: #4c5b54;
  --ink-faint: #7d8a84;
  --line: #e2e7e3;
  --brand: #0b3b2e;
  --brand-soft: #e7f0eb;
  --accent: #a8852f;
  --warn-bg: #fff8e6;
  --warn-line: #e0a800;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1512;
    --paper: #121d19;
    --ink: #e6ece9;
    --ink-soft: #aab7b1;
    --ink-faint: #7f8d87;
    --line: #23322c;
    --brand: #8fc9ae;
    --brand-soft: #16271f;
    --accent: #d6b665;
    --warn-bg: #2a2410;
    --warn-line: #a88300;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1512; --paper: #121d19; --ink: #e6ece9; --ink-soft: #aab7b1; --ink-faint: #7f8d87;
  --line: #23322c; --brand: #8fc9ae; --brand-soft: #16271f; --accent: #d6b665; --warn-bg: #2a2410;
  --warn-line: #a88300; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.top {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.top-inner, main, .foot-inner {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.mark b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0b3b2e;
  color: #e9d39a;
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.02em;
}
.mark span { font-weight: 600; }
.mark small { display: block; color: var(--ink-faint); font-size: 12px; font-weight: 400; line-height: 1.2; }
.top nav { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--ink-soft); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

main { padding-top: 40px; padding-bottom: 56px; }
.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 8px;
  font: 600 clamp(30px, 6vw, 40px)/1.15 var(--serif);
  letter-spacing: -0.01em;
}
.meta { margin: 0 0 28px; color: var(--ink-faint); font-size: 14px; }
h2 {
  margin: 40px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 600 22px/1.3 var(--serif);
}
h3 { margin: 22px 0 6px; font-size: 16px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lede { font-size: 18px; color: var(--ink-soft); }

.notice {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 3px solid var(--warn-line);
  background: var(--warn-bg);
  border-radius: 0 8px 8px 0;
}
.notice p:last-child { margin-bottom: 0; }

.toc {
  margin: 0 0 8px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}
.toc ol { margin: 0; columns: 2 220px; column-gap: 28px; }
.toc a { text-decoration: none; }

.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--ink-soft); font-weight: 600; background: var(--brand-soft); }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 14px 16px 14px 56px;
  margin-bottom: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}
.card {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  background: #0b3b2e;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { color: #fff; background: #134d3d; }
address { font-style: normal; }
.todo { background: #ffe9a8; color: #5a4300; padding: 0 4px; border-radius: 4px; font-size: 0.92em; }

.foot { border-top: 1px solid var(--line); background: var(--paper); }
.foot-inner { padding-top: 22px; padding-bottom: 28px; color: var(--ink-faint); font-size: 13.5px; }
.foot-inner p { margin: 0 0 6px; }

@media (max-width: 520px) {
  .top nav { gap: 10px; font-size: 13px; }
  .mark small { display: none; }
  main { padding-top: 28px; }
}
@media print {
  .top nav, .foot { display: none; }
  body { background: #fff; }
}
