/* Andovia content layer  -  Eleventy-rendered /blog and /articles surfaces.
 *
 * DUPLICATED BRAND SURFACE: tokens, hero treatment, header, and footer all
 * mirror src/styles.scss + src/app/pages/products/_product-page.scss +
 * src/app/components/site-header + src/app/components/site-footer.
 * When the brand evolves, update this file alongside the Angular sources.
 * See CLAUDE.md "Brand surfaces that duplicate tokens outside src/".
 *
 * Geist is loaded from /fonts/Geist-VariableFont_wght.ttf which is shipped by
 * the Angular public/ directory.
 */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --color-brand-blue:      #2CA5FF;
  --color-brand-dark-blue: #0B1B2B;

  --color-blue-shade-2:    #003F99;
  --color-blue-shade-1:    #0072CC;
  --color-blue-base:       #2CA5FF;
  --color-blue-tint-1:     #56B7FF;
  --color-blue-tint-2:     #95D2FF;
  --color-blue-tint-3:     #D5EDFF;

  --color-grey-1:          #F8F8F8;
  --color-grey-2:          #F0F0F0;
  --color-grey-3:          #DEDEDE;
  --color-grey-4:          #BEBEBE;
  --color-grey-5:          #9F9F9F;

  --font-family-primary:   'Geist', system-ui, -apple-system, sans-serif;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;

  --container-max:         1200px;
  --container-pad:         24px;
  --reading-max:           720px;

  --nav-rail-height:       60px;
  --nav-rail-padding-y:    16px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

/* Sticky footer pattern  -  mirrors src/app/app.scss. body becomes the flex
   container so the footer hugs the viewport bottom when content is short. */
body {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand-dark-blue);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.reading-container {
  max-width: var(--reading-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── Header  -  mirrors src/app/components/site-header/site-header.scss ─── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: var(--nav-rail-padding-y) 24px;
  background: transparent;
  pointer-events: none;
}

.nav-rail,
.nav-rail__hamburger { pointer-events: auto; }

.nav-rail {
  max-width: 1000px;
  margin: 0 auto;
  height: var(--nav-rail-height);
  padding: 0 8px 0 22px;
  background: #fff;
  border: 1px solid var(--color-grey-2);
  border-radius: 6px;
  box-shadow: 0 1px 4px -1px rgba(11, 27, 43, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.nav-rail__brand {
  position: relative;
  color: var(--color-brand-dark-blue);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  opacity: 0.92;
  padding: 4px 0;
  transition: opacity 120ms ease, color 120ms ease;
}
.nav-rail__brand:hover { opacity: 1; }

.nav-rail__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  color: var(--color-brand-dark-blue);
  opacity: 0.78;
  transition: opacity 120ms ease, color 120ms ease;
  padding: 4px 0;
}
.nav-link:hover { opacity: 1; }

.nav-link.is-active {
  opacity: 1;
  color: var(--color-blue-shade-1);
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-brand-blue);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  background: var(--color-brand-dark-blue);
  color: #fff;
  border-radius: 4px;
  font-weight: var(--font-weight-semibold);
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: background 120ms ease;
}
.nav-cta:hover { background: var(--color-blue-shade-2); }

.nav-rail__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-grey-3);
  border-radius: 6px;
  padding: 11px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-rail__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-brand-dark-blue);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 200ms ease, opacity 160ms ease;
}
.nav-rail__hamburger span:nth-child(1).is-open { transform: translateY(7px) rotate(45deg); }
.nav-rail__hamburger span:nth-child(2).is-open { opacity: 0; }
.nav-rail__hamburger span:nth-child(3).is-open { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 92px;
  left: 16px;
  right: 16px;
  z-index: 49;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--color-grey-2);
  border-radius: 6px;
  box-shadow: 0 24px 48px -16px rgba(11, 27, 43, 0.18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.mobile-drawer__inner {
  padding: 8px var(--container-pad) 16px;
  display: flex;
  flex-direction: column;
}
.mobile-drawer__link {
  position: relative;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--color-brand-dark-blue);
  border-bottom: 1px solid var(--color-grey-2);
}
.mobile-drawer__link.is-active { color: var(--color-blue-shade-1); }
.mobile-drawer__link.is-active::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -1px;
  height: 2px;
  background: var(--color-brand-blue);
  border-radius: 2px;
}
.mobile-drawer__link:last-child { border-bottom: 0; }

.mobile-backdrop {
  position: fixed;
  inset: 92px 0 0 0;
  z-index: 48;
  background: rgba(11, 27, 43, 0.32);
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms;
}
.mobile-backdrop.is-open { visibility: visible; opacity: 1; }

/* ─── Main column  -  pushes footer to viewport bottom ───────────────────── */

.content-shell__main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ─── Hero plane  -  blue-tint-3, full-bleed (mirrors Angular .hero) ─────── */
/*  The hero owns the top padding that clears the fixed header (~120px).
   Pages don't pad main, so the hero background extends to the top edge and
   the floating nav rail sits over the blue plane  -  exact pattern from
   Angular product pages. */

.content-hero {
  padding: 120px 0 64px;
  background: var(--color-blue-tint-3);
}

.content-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.content-hero__kicker {
  display: inline-block;
  margin: 0 0 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-semibold);
  color: var(--color-blue-shade-1);
}
.content-hero__kicker-link {
  color: inherit;
  transition: color 120ms ease;
}
.content-hero__kicker-link:hover { color: var(--color-blue-shade-2); }

.content-hero__title {
  margin: 0 0 20px;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.0167em;
  font-weight: var(--font-weight-medium);
  color: var(--color-brand-dark-blue);
}

.content-hero__lede {
  margin: 0 0 28px;
  max-width: 720px;
  font-size: 22px;
  line-height: 1.32;
  color: rgba(11, 27, 43, 0.78);
  font-weight: var(--font-weight-medium);
}

.content-hero__meta {
  margin: 0;
  font-size: 14px;
  color: rgba(11, 27, 43, 0.55);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.content-hero__meta span[aria-hidden] { color: rgba(11, 27, 43, 0.3); }

/* ─── Video embed  -  click-to-load facade ───────────────────────────────── */
/* Facade panel: no third-party request fires until the visitor clicks play.
   On click, base.njk swaps in the youtube-nocookie iframe. */

.content-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-brand-dark-blue);
}

.content-video__trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background:
    radial-gradient(120% 120% at 50% 35%, var(--color-blue-shade-1) 0%, var(--color-brand-dark-blue) 70%);
}

/* Big colored button overlaid on the video panel. */
.content-video__button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--color-brand-blue);
  color: #fff;
  font-size: 19px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 120ms ease, background 120ms ease;
}
.content-video__trigger:hover .content-video__button,
.content-video__trigger:focus-visible .content-video__button {
  transform: scale(1.04);
  background: var(--color-blue-shade-1);
}

/* White play triangle inside the button. */
.content-video__play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}

.content-video.is-playing { background: #000; }
.content-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── Download button (white papers / PDFs) ──────────────────────────────── */

.content-download { margin: 8px 0 40px; }
.content-download__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--color-brand-blue);
  color: #fff;
  font-size: 17px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  transition: transform 120ms ease, background 120ms ease;
}
.content-download__button:hover,
.content-download__button:focus-visible {
  transform: translateY(-1px);
  background: var(--color-blue-shade-1);
  color: #fff;
}
/* Down-chevron drawn with a rotated border  -  no icon font needed. */
.content-download__icon {
  width: 11px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}

/* ─── Body plane  -  white reading column ────────────────────────────────── */

.content-body {
  flex: 1;
  padding: 64px 0 96px;
  background: #fff;
}

/* ─── Index list (blog/, articles/) ──────────────────────────────────────── */

.index-list { list-style: none; padding: 0; margin: 0; }

.index-list__item {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-grey-2);
}
.index-list__item:first-child { padding-top: 0; }
.index-list__item:last-child { border-bottom: none; }

.index-card { display: block; color: inherit; }
.index-card:hover .index-card__title { color: var(--color-blue-shade-1); }

.index-card__meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-grey-5);
  margin: 0 0 10px;
  font-weight: var(--font-weight-semibold);
}

.index-card__title {
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  font-weight: var(--font-weight-medium);
  transition: color 120ms ease;
}

.index-card__summary {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(11, 27, 43, 0.78);
  max-width: 60ch;
}

.index-empty {
  color: var(--color-grey-5);
  font-size: 17px;
}

/* ─── Back-link (above detail body) ──────────────────────────────────────── */

.back-link {
  margin: 0 0 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--font-weight-semibold);
}
.back-link a {
  color: var(--color-blue-shade-1);
  transition: color 120ms ease;
}
.back-link a:hover { color: var(--color-blue-shade-2); }

/* ─── "More from..." rail (below detail body) and /insights/ streams ─────── */

.more-rail,
.stream {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--color-grey-2);
}
.stream + .stream { margin-top: 56px; padding-top: 40px; }

.more-rail__header,
.stream__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 12px;
}
.more-rail__title,
.stream__title {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-weight: var(--font-weight-medium);
  margin: 0;
}
.more-rail__all,
.stream__all {
  font-size: 14px;
  color: var(--color-blue-shade-1);
  font-weight: var(--font-weight-semibold);
  transition: color 120ms ease;
}
.more-rail__all:hover,
.stream__all:hover { color: var(--color-blue-shade-2); }

/* ─── Featured card (Insights highlight) ─────────────────────────────────── */

.featured-card {
  margin-bottom: 16px;
  background: var(--color-blue-tint-3);
  border-radius: 8px;
  padding: 36px;
}
.featured-card__link {
  display: block;
  color: inherit;
}
.featured-card__pill {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  background: var(--color-brand-dark-blue);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.featured-card__meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 27, 43, 0.55);
  margin: 0 0 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: var(--font-weight-semibold);
}
.featured-card__meta span[aria-hidden] { color: rgba(11, 27, 43, 0.3); }
.featured-card__title {
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  font-weight: var(--font-weight-medium);
  transition: color 120ms ease;
}
.featured-card__link:hover .featured-card__title { color: var(--color-blue-shade-1); }
.featured-card__summary {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(11, 27, 43, 0.82);
  margin: 0 0 20px;
  max-width: 60ch;
}
.featured-card__cta {
  display: inline-block;
  font-size: 14px;
  color: var(--color-blue-shade-1);
  font-weight: var(--font-weight-semibold);
}

/* ─── Article body typography ────────────────────────────────────────────── */

/* flow-root establishes a block formatting context so a floated figure next to
   the LAST paragraph is contained by the article instead of spilling past
   </article> onto the download button and the "More from" rail. The
   clear:both on h2/h3 below only helps when a heading follows. */
.content-body__article { max-width: 100%; display: flow-root; }

.content-body__article p {
  margin: 0 0 1.3em;
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-brand-dark-blue);
}

.content-body__article h2 {
  margin: 2.2em 0 0.6em;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-weight: var(--font-weight-medium);
}

.content-body__article h3 {
  margin: 2em 0 0.4em;
  font-size: 20px;
  line-height: 1.3;
  font-weight: var(--font-weight-semibold);
}

.content-body__article ul,
.content-body__article ol {
  margin: 0 0 1.3em 1.4em;
  font-size: 18px;
  line-height: 1.6;
}
.content-body__article li + li { margin-top: 0.4em; }

.content-body__article blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--color-brand-blue);
  font-style: normal;
  font-size: 18px;
  line-height: 1.55;
}

.content-body__article a {
  color: var(--color-blue-shade-1);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.content-body__article a:hover { color: var(--color-blue-shade-2); }

.content-body__article code {
  background: var(--color-grey-1);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.content-body__article pre {
  background: var(--color-grey-1);
  padding: 16px 18px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5em 0;
}
.content-body__article pre code {
  background: none;
  padding: 0;
}

/* ─── In-article figures  -  images with optional link + text wrap ────────
   The global `img { display: block }` rule near the top of this file makes
   every image a full-width block, so wrapping text around one was not
   expressible in content at all. These classes are the mechanism.

   Authored as raw HTML inside a markdown body (Eleventy's markdown-it runs
   with html:true, so this passes through). The link is optional  -  omit the
   <a> for a plain figure:

     <figure class="content-figure content-figure--right">
       <a href="https://example.com/report">
         <img src="chart.png" alt="Describe the chart">
       </a>
       <figcaption>Optional caption.</figcaption>
     </figure>

   --right / --left float and are ~45% of the reading column. With no
   modifier the figure is a normal full-width block with caption styling.
   Floats are dropped below 720px: a 45% float in a ~17px column produces
   two-word lines, so wrap is a desktop-only affordance by design. */
.content-figure {
  margin: 1.5em 0;
}
.content-figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.content-figure figcaption {
  margin-top: 0.5em;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-grey-4, #666);
}
/* Clear the float so a following heading never collides with the figure. */
.content-body__article h2,
.content-body__article h3 {
  clear: both;
}

@media (min-width: 721px) {
  .content-figure--right,
  .content-figure--left {
    width: 45%;
    max-width: 320px;
    margin-top: 0.35em;
  }
  .content-figure--right {
    float: right;
    margin-left: 28px;
  }
  .content-figure--left {
    float: left;
    margin-right: 28px;
  }
}

/* ─── In-article content primitives ──────────────────────────────────────
   Backlog row 12, "expanded style sheets for enhanced design". Before this
   the only formatting available in a piece was headings, lists, blockquote,
   code and the figure block above -- so anything structural (a comparison,
   a callout, a number worth pausing on) had to be written as flat prose.

   Tables need NO html: plain Markdown pipe tables pick this up, and they
   were previously rendering completely unstyled. Everything else is a small
   HTML block pasted into the body; markdown-it runs with html:true. Each is
   documented with a copy-paste snippet in content/README.md.

   Deliberately a short list. Ten primitives nobody can remember is worse
   than five that get used correctly. */

/* Comparison tables. Markdown pipe tables, no HTML required.
   Wrapped in its own scroll container so a wide table never forces the
   whole page to scroll sideways on a phone. */
.content-body__article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75em 0;
  font-size: 16px;
  /* Mobile only: block + overflow-x makes a wide table scroll inside itself
     rather than forcing the page sideways. It costs correct table layout --
     the block box honours width:100% but the inner table shrink-wraps -- so it
     is reverted to display:table at the desktop breakpoint below. */
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
.content-body__article thead th {
  text-align: left;
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand-dark-blue);
  border-bottom: 2px solid var(--color-brand-dark-blue);
  padding: 10px 14px 8px;
}
.content-body__article tbody td {
  border-bottom: 1px solid var(--color-grey-3);
  padding: 11px 14px;
  vertical-align: top;
}
.content-body__article tbody tr:last-child td { border-bottom: none; }
.content-body__article tbody tr:nth-child(even) { background: var(--color-grey-1); }

@media (min-width: 721px) {
  /* Real table layout once there is room: display:block shrink-wraps the rows,
     so width:100% would not actually fill the reading column. */
  .content-body__article table {
    display: table;
    white-space: normal;
    overflow-x: visible;
  }
}

/* Callout. Use for a caveat, a definition, or a "what this means" aside --
   something the reader can skip without losing the argument. If the text is
   load-bearing it belongs in the body, not in a box.
   Variant: add content-note--warn for a caution. */
.content-note {
  margin: 1.75em 0;
  padding: 18px 20px;
  background: var(--color-blue-tint-3);
  border-left: 3px solid var(--color-blue-shade-1);
  border-radius: 0 4px 4px 0;
}
.content-note > :first-child { margin-top: 0; }
.content-note > :last-child { margin-bottom: 0; }
.content-note__label {
  display: block;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue-shade-2);
  margin-bottom: 6px;
}
.content-note--warn {
  background: var(--color-grey-1);
  border-left-color: var(--color-grey-5);
}
.content-note--warn .content-note__label { color: var(--color-brand-dark-blue); }

/* Pull quote. For lifting one sentence already argued in the body. NOT for
   quoting a person -- Markdown blockquote covers that. */
.content-pullquote {
  margin: 2em 0;
  padding: 0;
  border: none;
  font-size: 25px;
  line-height: 1.35;
  font-weight: var(--font-weight-medium);
  color: var(--color-brand-dark-blue);
}
.content-pullquote::before { content: ""; }

/* Stat row. Two to four numbers with labels. Every number on a public page
   must be the buyer's data or sourced third-party research -- never an
   Andovia scale claim (CLAUDE.md). Cite the source in the label. */
.content-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 2em 0;
  padding: 22px 0;
  border-top: 1px solid var(--color-grey-3);
  border-bottom: 1px solid var(--color-grey-3);
}
.content-stat__value {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  font-weight: var(--font-weight-semibold);
  color: var(--color-blue-shade-1);
}
.content-stat__label {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-grey-5);
}

/* Two-column split. Collapses to one column on small screens -- side-by-side
   text in a narrow column is unreadable. */
.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 32px;
  margin: 1.75em 0;
}
.content-split > :first-child { margin-top: 0; }

@media (min-width: 721px) {
  .content-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .content-split { grid-template-columns: 1fr 1fr; }
}

/* Section break. Markdown `---` renders an <hr>, which was unstyled. */
.content-body__article hr {
  border: none;
  border-top: 1px solid var(--color-grey-3);
  margin: 2.5em 0;
}

/* ─── Footer  -  mirrors src/app/components/site-footer/site-footer.scss ─ */

.site-footer {
  background: var(--color-brand-dark-blue);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0;
  border-top: 2px solid var(--color-brand-blue);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer__inner a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 120ms ease;
}
.site-footer__inner a:hover { color: #fff; }
.site-footer__inner a.is-active { color: var(--color-brand-blue); }

.site-footer__brand { letter-spacing: -0.01em; }
.site-footer__sep { color: rgba(255, 255, 255, 0.32); }
.site-footer__copy { color: rgba(255, 255, 255, 0.5); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .site-header { padding: 12px 16px; }
  .nav-rail { padding: 0 12px 0 18px; gap: 8px; }
  .nav-rail__right { display: none; }
  .nav-rail__hamburger { display: flex; }

  .mobile-drawer { top: 84px; max-height: calc(100dvh - 92px); }
  .mobile-backdrop { inset: 84px 0 0 0; }

  .content-hero { padding: 104px 0 48px; }
  .content-hero__title { font-size: 40px; line-height: 1.1; }
  .content-hero__lede { font-size: 18px; }

  .content-body { padding: 48px 0 64px; }
  .content-body__article p,
  .content-body__article ul,
  .content-body__article ol { font-size: 17px; }
  .content-body__article h2 { font-size: 24px; }

  .index-card__title { font-size: 22px; }
  .index-card__summary { font-size: 16px; }

  .featured-card { padding: 24px; }
  .featured-card__title { font-size: 26px; }
  .featured-card__summary { font-size: 17px; }

  .more-rail__title,
  .stream__title { font-size: 20px; }

  .site-footer { padding: 32px 0; }
}

@media (min-width: 721px) {
  .mobile-drawer, .mobile-backdrop { display: none; }
}
