/* ============================================================
   Know the Word - Legal pages
   Restrained, document-style layout. App navy + gold palette,
   no gradients. Bundled fonts under SIL OFL 1.1.
   ============================================================ */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --navy:        #14356c;
  --navy-deep:   #0e2240;
  --gold:        #b8852e;   /* gold-deep, used as a quiet accent */

  --page:        #faf7f1;   /* solid warm white */
  --surface:     #ffffff;
  --inset:       #f3eee3;   /* quiet box fill */
  --ink:         #14356c;   /* headings */
  --ink-body:    #3c4253;   /* body text */
  --ink-muted:   #767d8c;   /* captions, footer */
  --accent:      #b8852e;   /* links */
  --rule:        rgba(20, 53, 108, 0.12);
  --rule-soft:   rgba(20, 53, 108, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page:      #0e2240;
    --surface:   #122a52;
    --inset:     #16315c;
    --ink:       #f4ecda;
    --ink-body:  #cdd4e1;
    --ink-muted: #8d97a9;
    --accent:    #e8b85a;
    --rule:      rgba(244, 236, 218, 0.14);
    --rule-soft: rgba(244, 236, 218, 0.08);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Column ---------- */
.hero__inner,
.card,
.footer__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Header ---------- */
.hero {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}
.hero__inner {
  padding-top: 26px;
  padding-bottom: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 30px;
}
.brand__mark {
  display: block;
  width: 34px; height: 34px;
  border-radius: 9px;
}
.brand__name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__name span { color: var(--gold); }

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.effective {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}

/* Remove leftover hero chrome if present in markup */
.eyebrow, .hero__meta { display: none; }

/* ---------- Document body ---------- */
.page { background: var(--page); }
.card {
  padding-top: 40px;
  padding-bottom: 56px;
}

.lede {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

section { padding-top: 34px; scroll-margin-top: 20px; }
section + section {
  margin-top: 34px;
  border-top: 1px solid var(--rule-soft);
}

h2.sect {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
h3 {
  margin: 24px 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color .15s ease;
}
a:hover { border-bottom-color: var(--accent); }

strong { color: var(--ink); font-weight: 700; }

/* ---------- Lists ---------- */
ul { margin: 0 0 16px; padding: 0; list-style: none; }
ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
}
ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Quiet box (callout) ---------- */
.callout {
  margin: 20px 0;
  padding: 18px 20px;
  background: var(--inset);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
}

/* ---------- Definition rows ---------- */
.data-list { margin: 18px 0; }
.data-list .row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 4px 28px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
}
.data-list .row:last-child { border-bottom: 1px solid var(--rule-soft); }
.data-list dt { color: var(--ink); font-weight: 700; }
.data-list dd { margin: 0; }
@media (max-width: 560px) {
  .data-list .row { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Contact ---------- */
.contact {
  margin-top: 36px;
  padding: 26px 28px;
  background: var(--inset);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
}
.contact h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.contact p { margin: 0 0 16px; color: var(--ink-body); }
.contact .btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  transition: background-color .15s ease;
}
.contact .btn:hover { background: rgba(184, 133, 46, 0.10); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
}
.footer__inner {
  padding-top: 26px;
  padding-bottom: 30px;
  color: var(--ink-muted);
  font-size: 13.5px;
}
.footer .links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer .links a {
  color: var(--ink-body);
  font-weight: 600;
  border-bottom: none;
}
.footer .links a:hover { color: var(--accent); }
.footer .sep { color: var(--rule); }
.footer .fine { margin: 0; color: var(--ink-muted); }
