/* Shared styling for the static content pages in this directory.
   These are plain .html files rather than SPA routes: Firebase Hosting serves
   an existing file before applying the "** -> /index.html" rewrite, so they are
   crawlable without the crawler executing any JavaScript. Tokens copied from
   src/index.css — kept in sync by hand, which is cheaper than a build step for
   five pages that change once a year. */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/source-serif-4-variable.woff2') format('woff2');
}

:root {
  --bg2: #eceae3;
  --surface: #ffffff;
  --border: #e7e5dd;
  --text: #17211c;
  --textDim: #5d655f;
  --textFaint: #939a92;
  --accent: #0d7a5f;
  --accentDeep: #0a5f4a;
  --accentSoft: rgba(13, 122, 95, 0.1);
  --gold: #9a7b3a;
  --onAccent: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg2: #0a0f0c;
    --surface: #161d18;
    --border: #28332c;
    --text: #e8ede9;
    --textDim: #9aa79f;
    --textFaint: #74827a;
    --accentSoft: rgba(13, 122, 95, 0.18);
    --gold: #c9a765;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg2);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 24px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

h1, h2, h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(30px, 5vw, 42px); margin: 26px 0 16px; letter-spacing: -0.015em; }
h2 { font-size: 27px; margin: 44px 0 12px; }
h3 { font-size: 20px; margin: 30px 0 8px; }

p { margin: 0 0 18px; }
a { color: var(--accent); }
strong { font-weight: 700; }

.lede { font-size: 19.5px; color: var(--textDim); margin-bottom: 30px; }

ul { padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 9px; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--onAccent);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 13px;
  text-decoration: none;
}

.cta-small { font-size: 14.5px; padding: 10px 18px; border-radius: 11px; }

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  margin: 28px 0;
}

.box h3 { margin-top: 0; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

.closing { text-align: center; margin: 52px 0 20px; }

table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 700; color: var(--textDim); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.05em; }

.table-wrap { overflow-x: auto; }

footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding-top: 26px;
  padding-bottom: 46px;
  color: var(--textFaint);
  font-size: 14px;
}

footer a { color: var(--textDim); }
