/* =========================================================================
   CISA Write-ups — site skin.
   Follows the main CISA site's "student-first" design (assets/css/style.css
   on cisa.cybernet.rocks): sticky navy header, navy hero, one blue
   accent, rounded cards, heavy Roboto headlines, terminal-style code. The
   palette below is copied from that file; keep the two in step when the
   main site changes. Vanilla CSS, no build step, no third-party requests.
   ========================================================================= */

@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  /* -------- dark palette (default) -------- */
  --bg: #0b1220;
  --surface: #101a2c;
  --ink: #e8edf5;
  --body: #c7d0de;
  --line: #22314b;
  --navy: #070e1c;
  --navy-line: #1c2a44;
  --accent: #1d5fd6;
  --accent-hover: #2a6ee6;
  --accent-text: #8fb4ff;
  --red: #f58a8a;
  --warn: #ffc266;

  /* Fixed colors for always-dark surfaces (header, hero, footer, code) */
  --on-navy: #ffffff;
  --on-navy-body: #c3cdde;
  --on-navy-muted: #a9b6cc;
  --on-navy-line: #2a4470;
  --on-navy-kicker: #8fb4ff;
  --live: #3ddc97;
  --term-bg: #0a1628;
  --term-line: #1e3558;
  --term-ink: #c7d0de;
  --term-muted: #8494b0;
  --term-dot: #3a527a;

  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  color-scheme: dark;
}

/* -------- light palette: OS preference, no explicit choice stored -------- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f6f2;
    --surface: #ffffff;
    --ink: #0f1b2d;
    --body: #3c4a5e;
    --line: #dddad1;
    --navy: #0b1f3a;
    --navy-line: #1e3558;
    --accent-text: #1d5fd6;
    --red: #b42318;
    --warn: #9a5b00;
    color-scheme: light;
  }
}

/* -------- light palette: explicit choice made via the theme toggle -------- */
:root[data-theme="light"] {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --body: #3c4a5e;
  --line: #dddad1;
  --navy: #0b1f3a;
  --navy-line: #1e3558;
  --accent-text: #1d5fd6;
  --red: #b42318;
  --warn: #9a5b00;
  color-scheme: light;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scrollbar-gutter keeps the layout width identical whether or not a page is
   tall enough to scroll, so the header doesn't shift between pages. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-gutter: stable; }
@media (max-width: 1140px) { html { scroll-padding-top: 72px; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 4px; }

.container {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .12s ease, transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--on-navy-line);
  border-radius: 999px;
  color: var(--on-navy-body);
  cursor: pointer;
}
.icon-btn { transition: background .18s ease, color .18s ease; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  /* Blends into the navy hero at the top of the page; the edge and shadow
     fade in once the visitor scrolls (JS toggles .is-scrolled). */
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--navy-line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: color-mix(in srgb, var(--navy) 90%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
  }
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.brand-name { font-weight: 900; font-size: 22px; letter-spacing: .02em; }
/* Hidden to make room for eight nav links (same as the main site). */
.brand-sub { display: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--on-navy-body);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

#theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] #theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] #theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) #theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="dark"]) #theme-toggle .icon-moon { display: block; }
}

/* fallback cross-fade used by theme.js when view transitions are unavailable */
.theme-transition, .theme-transition * {
  transition: background-color .8s ease, color .8s ease, border-color .8s ease;
}
::view-transition-old(root), ::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

@media (max-width: 1240px) {
  .nav { gap: 20px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 1140px) {
  .nav { height: 64px; gap: 20px; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .28);
    /* Slides and fades in instead of popping; visibility keeps it out of
       the tab order while closed. */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--navy-line); }
  .nav-links a.active { border-bottom-color: var(--navy-line); box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav-links a:last-child { border-bottom: none; }
}

/* ---------- hero (index only) ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 60px);
}
.hero .container { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--on-navy-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-navy-body);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.hero h1 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.03em;
  color: #fff;
}
.hero .lede {
  margin: 0;
  max-width: 600px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--on-navy-body);
}

/* ---------- layout: side index + content column ---------- */
.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
main { min-width: 0; max-width: 820px; }

/* ---------- side index ---------- */
#sidemenu {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  font-size: 15px;
}
#sidemenu ul { list-style: none; margin: 0 0 28px; padding: 0; }
#sidemenu ul:empty { margin: 0; }
#sidemenu li { margin: 0; }
#sidemenu .sh {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
#sidemenu li a {
  display: block;
  padding: 5px 0 5px 14px;
  border-left: 2px solid var(--line);
  color: var(--body);
  text-decoration: none;
  line-height: 1.4;
}
#sidemenu li a:hover { color: var(--ink); border-left-color: var(--accent-text); }

/* tag filter: chips, like the main site's topic chips */
#tag-filter { display: flex; flex-wrap: wrap; gap: 8px; }
#tag-filter li:first-child { flex-basis: 100%; }
#tag-filter li:first-child .sh { margin-bottom: 0; }
#tag-filter .pill {
  min-height: 36px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
#tag-filter .pill:hover { border-color: var(--body); color: var(--ink); }
#tag-filter .pill.active { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 700; }

@media (max-width: 920px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  #sidemenu {
    position: static;
    max-height: none;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  #sidemenu ul { margin-bottom: 18px; }
  #sidemenu ul:last-child { margin-bottom: 0; }
  /* the header menu and footer carry these links on small screens */
  #sidemenu .elsewhere { display: none; }
  main { max-width: none; }
}

/* ---------- type ---------- */
h1, h2, h3, h4, h5, h6 { color: var(--ink); }
h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 52px); font-weight: 900; line-height: 1.04; letter-spacing: -.025em; }
h2 { margin: 48px 0 14px; font-size: clamp(24px, 3vw, 30px); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; }
h3 { margin: 32px 0 10px; font-size: 21px; font-weight: 700; line-height: 1.3; }
h4, h5, h6 { margin: 24px 0 8px; font-size: 18px; font-weight: 700; }

p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 24px; }
li { margin-bottom: 6px; }

.lede { color: var(--body); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.dim, .muted { color: var(--body); }
.kicker, .eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

code, kbd, samp { font-family: var(--font-mono); font-size: .88em; }
:not(pre) > code {
  padding: .12em .45em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}

/* ---------- index head + search ---------- */
.sw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.sw-head .kicker { margin-bottom: 8px; }
.sw-head h2 { margin: 0; font-size: clamp(32px, 4.2vw, 44px); letter-spacing: -.025em; }

.tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--body);
  white-space: nowrap;
}

#search {
  display: block;
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  margin: 0 0 32px;
  padding: 0 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
}
#search:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px rgba(29, 95, 214, .25); }
#search::placeholder { color: var(--body); opacity: .8; }

/* ---------- write-up cards ---------- */
.year-block { margin: 0 0 40px; }
.year-block h2 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--body);
}

.row-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.row-list li { margin: 0; display: flex; }

.row {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .12s ease, transform .12s ease;
}
a.row:hover { color: var(--ink); border-color: var(--accent-text); transform: translateY(-2px); }
/* date · author · time sits on top as the card's kicker */
.row .right { order: -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row .meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.row .chev { font-size: 22px; line-height: 1; color: var(--body); transition: transform .12s ease; }
a.row:hover .chev { color: var(--accent-text); transform: translateX(3px); }
.row .ttl-row { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row .ttl { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.row .sub { font-size: 16px; line-height: 1.55; color: var(--body); }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.row-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
}

@media (max-width: 560px) {
  .row-list { grid-template-columns: 1fr; gap: 14px; }
  .row { padding: 22px; }
  .row .ttl { font-size: 20px; }
}

/* ---------- write-up header: a navy banner ---------- */
#post-content > .page-head {
  margin: 0 0 40px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  color: #fff;
}
#post-content > .page-head .eyebrow { color: var(--on-navy-kicker); }
#post-content > .page-head h1 { color: #fff; margin-bottom: 16px; }
#post-content > .page-head .lede { margin: 0; color: var(--on-navy-body); max-width: 640px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; }
#post-content > .page-head .row-tag { border-color: var(--on-navy-line); color: var(--on-navy-body); }

/* ---------- write-up body ---------- */
.markdown-body { overflow-wrap: anywhere; color: var(--body); line-height: 1.7; }
.markdown-body > :first-child { margin-top: 0; }
.markdown-body strong { color: var(--ink); }
.markdown-body :not(pre) > code { overflow-wrap: anywhere; }
.markdown-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.markdown-body blockquote {
  margin: 0 0 20px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}
.markdown-body blockquote p:last-child { margin-bottom: 0; }
.markdown-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.markdown-body table {
  display: block;        /* wide tables scroll inside the column */
  overflow-x: auto;
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 15px;
}
.markdown-body th {
  padding: 10px 14px 10px 0;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
}
.markdown-body td {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.markdown-body mjx-container { color: var(--ink); }
.markdown-body mjx-container[display="true"] { margin: 20px 0; overflow-x: auto; overflow-y: hidden; }

/* heading anchor links */
.anchor {
  margin-left: 10px;
  font-weight: 400;
  font-size: .8em;
  color: var(--body);
  text-decoration: none;
  opacity: 0;
  transition: opacity .12s ease;
}
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.anchor:focus { opacity: 1; }
.anchor:hover { color: var(--accent-text); }

/* ---------- code blocks: the main site's terminal ---------- */
.code-block {
  margin: 0 0 24px;
  background: var(--term-bg);
  border: 1px solid var(--term-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(11, 31, 58, .45);
}
.code-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 18px;
  border-bottom: 1px solid var(--term-line);
}
.code-bar span { width: 11px; height: 11px; flex-shrink: 0; border-radius: 50%; background: var(--term-dot); }
.code-bar em { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--term-muted); }
.copy-btn {
  margin-left: auto;
  min-height: 28px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--term-line);
  border-radius: 999px;
  color: var(--term-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.copy-btn:hover { color: #fff; border-color: #3a527a; }
.copy-btn.copied { color: var(--live); border-color: var(--live); }

pre {
  margin: 0 0 24px;
  padding: 20px 24px;
  overflow-x: auto;
  background: var(--term-bg);
  border: 1px solid var(--term-line);
  border-radius: var(--radius);
  color: var(--term-ink);
  font-family: var(--font-mono);
  font-size: 14.5px;
  line-height: 1.75;
}
.code-block pre { margin: 0; border: 0; border-radius: 0; }
pre code { padding: 0; background: none; border: 0; font-size: inherit; color: inherit; }

@media (max-width: 560px) {
  pre { padding: 16px 18px; font-size: 13px; }
}

/* ---------- actions under a write-up ---------- */
.action-row {
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.all-posts {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.all-posts:hover { background: var(--surface); color: var(--ink); }
.prev-next { display: flex; gap: 16px; flex-wrap: wrap; }
.pn-link {
  flex: 1 1 240px;
  display: block;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.pn-link:hover { border-color: var(--accent-text); color: var(--ink); }
.pn-older { text-align: right; }
.pn-dir {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.pn-ttl { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.pn-empty { background: none; border: 0; padding: 0; }

.notice {
  margin: 0 0 20px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--warn);
  border-radius: 12px;
  color: var(--body);
}
.notice p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 48px 0; font-size: 14px; }
.site-footer p { margin: 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.footer-fine { font-size: 13px; color: var(--term-muted); margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: var(--on-navy-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (hover: none) { .anchor { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
