/* Shared site styles: designed to work without third-party fonts or JavaScript. */
:root {
  color-scheme: dark;
  --bg: #0d1017;
  --surface: #151a24;
  --card: #1a202d;
  --line: #303847;
  --text: #f2f2f4;
  --body: #c9cfdb;
  --muted: #abb4c5;
  --accent: #f79032;
  --light-accent: #ffca7b;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-wrap: break-word; }
a { color: var(--light-accent); text-underline-offset: .18em; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--light-accent); outline-offset: 3px; }
img { max-width: 100%; }
.site-header { min-height: 76px; padding: 15px max(5%, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: #111620; }
.brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .35em; font: 700 1.28rem/1.3 Georgia, serif; text-decoration: none; color: var(--accent); white-space: nowrap; }
.brand span { color: var(--muted); font: 600 .72rem/1.3 system-ui, sans-serif; letter-spacing: .03em; }
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.35rem; }
.site-header nav a, .site-footer nav a { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--body); }
.site-header nav a { padding: .35rem 0; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--light-accent); }
main { width: 100%; max-width: 1180px; margin: auto; padding: clamp(46px, 6vw, 78px) max(5%, 20px) 96px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.18; color: var(--text); letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5.3vw, 4.5rem); margin: .3em 0 .4em; max-width: 850px; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); margin: 2em 0 .65em; }
h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
p, li { color: var(--body); }
p { margin: 0 0 1.15em; }
li { margin: .45em 0; padding-left: .15em; }
strong { color: var(--text); }
.eyebrow { display: block; margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 750; font-size: .72rem; line-height: 1.4; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: #c7cedb; max-width: 740px; line-height: 1.75; }
.article { max-width: 780px; }
.article > h2 { padding-top: .2em; }
.article a, .card a { overflow-wrap: anywhere; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; margin: 32px 0; }
.card, .callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.5vw, 28px); }
.card { display: flex; flex-direction: column; min-width: 0; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: #7a5b3b; transform: translateY(-3px); }
.card h2, .card h3 { margin: .25em 0 .55em; font-size: 1.33rem; }
.card p { font-size: .95rem; }
.card > a:last-child { align-self: flex-start; margin-top: auto; font-weight: 700; text-decoration: none; }
.callout { border-left: 3px solid var(--accent); margin: 28px 0; background: #1c2029; }
.callout p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); background: #111620; padding: 40px max(5%, calc((100% - 1180px) / 2)); display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.site-footer strong { color: var(--accent); font: 700 1.1rem Georgia, serif; }
.site-footer p { max-width: 420px; margin: 12px 0 0; font-size: .84rem; color: var(--muted); }
.site-footer nav { max-width: 500px; }
label { display: block; font-weight: 700; margin: 18px 0 6px; }
input:not([type="checkbox"]):not([type="radio"]), textarea { width: 100%; padding: 12px 14px; background: #10151e; border: 1px solid #606b7d; color: #fff; border-radius: 8px; font: inherit; }
input::placeholder, textarea::placeholder { color: #a1acbd; opacity: 1; }
textarea { resize: vertical; }
button, .button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: #17120d; font: 750 .95rem/1.3 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
button:hover, .button-link:hover { background: var(--light-accent); border-color: var(--light-accent); color: #17120d; }
button.secondary { background: transparent; border-color: #697486; color: var(--text); }
button.secondary:hover { background: #2a3342; }
.small { font-size: .9rem; color: var(--muted); }
figure { margin: 28px 0; }
.article-image { display: block; width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.image-caption { font-size: .8rem; color: var(--muted); margin-top: 7px; }
.card-image { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 9px; margin-bottom: 20px; }
.hero-home { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(30px, 5vw, 64px); padding: 14px 0 76px; }
.hero-home h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.hero-home h1 span { color: var(--accent); }
.hero-home .button-link { margin: 14px 18px 0 0; }
.hero-image { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid #424959; box-shadow: 0 18px 60px #0005; }
.hero-source { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.home-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.home-heading h2 { margin-top: 0; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.related { margin-top: 55px; border-top: 1px solid var(--line); padding-top: 10px; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 12px 0; background: var(--surface); }
summary { cursor: pointer; color: var(--text); font-weight: 700; }
details p { margin: 12px 0 0; }
.toolkit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: start; margin: 32px 0; }
.toolkit-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.toolkit-panel h2 { margin: 0 0 .45em; font-size: 1.55rem; }
.toolkit-panel fieldset { border: 0; margin: 0; padding: 0; }
.toolkit-panel legend { font-weight: 700; color: var(--text); padding: 0; }
.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; margin: 0; border-bottom: 1px solid var(--line); color: var(--body); font-weight: 500; }
.check-row input { width: 20px; height: 20px; margin: .24em 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.toolkit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.toolkit-status { min-height: 1.6em; margin: 14px 0 0; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-header nav { gap: .3rem 1rem; }
  .site-header nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .hero-home, .toolkit-grid { grid-template-columns: 1fr; }
  .hero-home { gap: 28px; padding: 0 0 52px; }
  .hero-home h1 { font-size: clamp(2.8rem, 11vw, 4.3rem); }
  .home-heading { display: block; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } .card:hover { transform: none; } }
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; font-size: 12pt; }
  main { max-width: none; padding: 0; }
  .site-header, .site-footer, .toolkit-actions, .breadcrumbs, .toolkit-status { display: none !important; }
  h1, h2, h3, p, li, strong, label, .eyebrow, .small, .check-row, .toolkit-panel legend { color: #111; }
  .toolkit-grid { display: block; }
  .toolkit-panel { background: #fff; border: 1px solid #888; margin: 12px 0; break-inside: avoid; }
  input:not([type="checkbox"]), textarea { background: #fff; color: #111; border: 1px solid #888; }
  a { color: #111; }
}
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: #fff; color: #111; border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); color: #111; }

[hidden] { display: none !important; }
