/* Shared look for the Privacy Policy and Terms of Service (public/privacy.html, public/terms.html). Plain CSS, no build. */
:root {
  --green: #12342a; --green-2: #1d4a3b; --green-3: #0d2a21;
  --gold: #c9a55c; --gold-2: #d4b36a; --gold-3: #8a6a1f;
  --cream: #f7f3ea; --cream-2: #efe8d8; --paper: #fffdf8;
  --ink: #1f2a24; --muted: #5b6660; --line: #e3d7b8;
}
* { box-sizing: border-box; }
html { background: var(--cream); scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif; font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--green-2); text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green); text-decoration-thickness: 2px; }
::selection { background: #f2dfae; color: var(--green); }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(247,243,234,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 8px rgba(0,0,0,.05); }
.top-in { max-width: 1180px; margin: 0 auto; height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand svg { width: 40px; height: 40px; flex: none; transition: transform .2s; }
.brand:hover svg { transform: scale(1.05); }
.brand b { display: block; font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 21px; line-height: 1; color: var(--green); letter-spacing: -.01em; }
.brand > span > span { display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold-3); }
.top-links { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.top-links a { text-decoration: none; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.top-links a:hover { color: var(--green); background: rgba(18,52,42,.06); }
.top-links a.btn { background: var(--green); color: var(--cream); }
.top-links a.btn:hover { background: var(--green-2); }
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* Hero */
.hero { margin-top: 72px; color: var(--cream); position: relative; overflow: hidden;
  background: radial-gradient(900px 340px at 85% -10%, rgba(201,165,92,.22), transparent 60%), linear-gradient(135deg, var(--green) 0%, var(--green-3) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-in { max-width: 1180px; margin: 0 auto; padding: 56px 24px 52px; }
.kicker { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(40px, 6vw, 62px); line-height: 1.08; margin: 12px 0 16px; letter-spacing: -.015em; }
h1 em { color: var(--gold-2); font-weight: 500; }
.lede { max-width: 46rem; font-size: 19px; line-height: 1.6; color: #d9ded3; margin: 0 0 26px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.chip { font-size: 13.5px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(212,179,106,.45); color: #e9e4d3; background: rgba(255,255,255,.05); }
.chip b { color: #fff; font-weight: 600; }
.switch { margin-left: auto; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(212,179,106,.3); }
.switch a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 16px; border-radius: 999px; color: #d9ded3; }
.switch a:hover { color: #fff; }
.switch a[aria-current="page"] { background: var(--gold); color: var(--green); }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 48px 24px 88px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; counter-reset: s; }
.toc { position: sticky; top: 96px; font-size: 15px; }
.toc summary { list-style: none; cursor: default; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold-3); margin-bottom: 10px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--green); }
.toc a.on { color: var(--green); font-weight: 600; border-left-color: var(--gold); }

article { min-width: 0; }
.short { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 4px 12px 12px 4px; padding: 22px 28px 20px; margin-bottom: 40px;
  box-shadow: 0 1px 2px rgba(18,52,42,.04), 0 10px 30px -18px rgba(18,52,42,.25); }
.short h2 { all: unset; display: block; font-family: "Playfair Display", Georgia, serif; font-size: 24px; color: var(--green); margin-bottom: 12px; font-weight: 500; }
.short h2::before { display: none !important; }
.short ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.short li { position: relative; padding-left: 30px; font-size: 16.5px; line-height: 1.5; margin: 0; }
.short li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23d4b36a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.short p { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }

section.sec { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px clamp(22px, 4vw, 44px) 26px; margin: 0 0 22px; counter-increment: s; }
section.sec > h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 29px; line-height: 1.25; color: var(--green); margin: 0 0 12px; }
section.sec > h2::before { content: counter(s, decimal-leading-zero); display: block; font-family: "Source Sans 3", sans-serif; font-size: 12px; letter-spacing: .24em; font-weight: 600; color: var(--gold-3); margin-bottom: 4px; }
h3 { font-size: 18px; font-weight: 600; color: var(--green); margin: 20px 0 4px; }
p { margin: 10px 0; }
ul, ol.list { margin: 10px 0; padding-left: 22px; }
li { margin: 6px 0; }
li::marker { color: var(--gold); }
.callout { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 12px 18px; margin: 16px 0; }
.caps { font-size: 15.5px; line-height: 1.55; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 16px 0; }

.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 16.5px; min-width: 520px; }
th { background: var(--green); color: var(--cream); text-align: left; font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 11px 16px; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--green); width: 31%; }
tbody tr:nth-child(even) td { background: #fbf8ef; }

/* Footer */
.foot { background: var(--cream-2); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 36px 24px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.foot-in .slogan { font-family: "Playfair Display", Georgia, serif; font-style: italic; color: var(--gold-3); font-size: 19px; }
.foot-in nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-in a { color: var(--green-2); font-weight: 600; text-decoration: none; }
.foot-in a:hover { text-decoration: underline; }
.foot-in small { display: block; max-width: 34rem; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }

@media (max-width: 960px) {
  .wrap { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; }
  .toc { position: static; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
  .toc summary { cursor: pointer; margin: 0; }
  .toc[open] summary { margin-bottom: 10px; }
  .switch { margin-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .top-in { padding: 0 16px; height: 64px; }
  .hero { margin-top: 64px; }
  .brand > span > span, .top-links a:not(.btn) { display: none; }
  .hero-in, .wrap, .foot-in { padding-left: 16px; padding-right: 16px; }
  .short ul { grid-template-columns: 1fr; }
  section.sec > h2 { font-size: 24px; }
}
@media print {
  .top, .toc, .switch, .foot { display: none; }
  .hero { margin: 0; background: none; color: #000; }
  .hero::after { display: none; }
  h1 em, .kicker { color: #000; }
  .lede, .chip { color: #000; border-color: #999; background: none; }
  .wrap { display: block; padding: 0; }
  section.sec, .short { border: 0; box-shadow: none; padding: 0; break-inside: avoid-page; }
}
