@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0F1420;
  --paper: #F4F1EA;
  --surface: #FBF9F4;
  --line: #DDD8CC;
  --text: #0F1420;
  --muted: #4A5163;
  --amber: #F2B544;
  --amber-ink: #7A5200;
  --focus: #0F1420;
  --max: 68rem;
  --prose: 40rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1420;
    --surface: #171C2A;
    --line: #2B3244;
    --text: #F4F1EA;
    --muted: #B3B9C7;
    --amber-ink: #F2B544;
    --focus: #F2B544;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 10; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 650; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { width: 2rem; height: 2.4rem; color: var(--text); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--muted); font-size: .98rem; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--amber); }

/* Type */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 38rem; }
.eyebrow { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--amber); }
.prose { max-width: var(--prose); }
.prose h2 { margin-top: 2.5rem; }
.muted { color: var(--muted); }

/* Sections */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.section { padding: clamp(2.75rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--text); }
.btn-primary { background: var(--text); color: var(--paper); }
.btn-primary::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--amber); }
.btn-primary:hover { opacity: .9; }
.btn-ghost:hover { background: var(--surface); }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin-top: 1.75rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.35rem 1.4rem; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .tag { display: inline-block; margin-top: .9rem; font-size: .8rem; font-weight: 600; color: var(--amber-ink); letter-spacing: .02em; }

.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.quote { border-left: 3px solid var(--amber); padding: .25rem 0 .25rem 1.25rem; font-size: 1.15rem; }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.list-plain li:first-child { border-top: 1px solid var(--line); }

.lrl { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; }
@media (min-width: 760px) { .lrl { grid-template-columns: 2fr 1fr; align-items: center; } .lrl .actions { margin: 0; justify-content: flex-end; } }

.notice { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0; max-width: var(--prose); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.5rem 0 3rem; font-size: .92rem; color: var(--muted); }
.site-footer .cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer a { color: var(--text); }
.disclaimer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 48rem; }
