/* The Scout — marketing site. Palette from lib/core/constants/app_colors.dart */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/Fonts/Space_Grotesk/static/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/Fonts/Space_Grotesk/static/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/Fonts/Space_Grotesk/static/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/Fonts/Space_Grotesk/static/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Share Tech Mono";
  src: url("../assets/Fonts/Share_Tech_Mono/ShareTechMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --scaffold: #222222;
  --surface: #2a2a2a;
  --surface-2: #353535;
  --text: #ffffff;
  --text-muted: #b7b7b7;
  --accent: #2def81;
  --accent-soft: rgba(45, 239, 129, 0.2);
  --accent-wash: rgba(45, 239, 129, 0.12);
  --board-line: #5e5e5e;
  --danger: #ff4d4d;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, monospace;
  --radius: 16px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --max: 1100px;
  --pattern-opacity: 0.07;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--scaffold);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(45, 239, 129, 0.28);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* —— Pattern + glow (echo StartupBrandSplash) —— */
.pattern-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--pattern-opacity);
  background: url("../assets/brand/pattern.svg") center / cover no-repeat;
}

.glow-hero {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 900px);
  height: 70vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
      rgba(45, 239, 129, 0.12),
      transparent 55%);
}

/* —— Nav —— */
.nav {
  --scroll-progress: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  padding: 0 1.25rem;
  max-width: calc(var(--max) + 2.5rem);
  margin: 0 auto;
  border-bottom: 1px solid rgba(94, 94, 94, 0.35);
  background: color-mix(in srgb, var(--scaffold) 88%, transparent);
  backdrop-filter: blur(12px);
}

.nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.nav__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: var(--accent);
  opacity: 0.88;
}

/* Easter egg: tiny stopwatch + 90′ when progress first hits full (session once; see index.html). */
.nav__ft-nod {
  position: absolute;
  right: 1rem;
  bottom: 5px;
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
  color: rgba(183, 183, 183, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0;
}

.nav__ft-nod__row {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__ft-nod__icon {
  display: block;
  flex-shrink: 0;
  opacity: 0.88;
}

.nav__ft-nod__mark {
  transform: translateY(0.5px);
}

.nav__ft-nod--play {
  animation: scout-ft-nod 2.75s ease forwards;
}

@keyframes scout-ft-nod {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }

  14% {
    opacity: 0.52;
    transform: translateY(0);
  }

  72% {
    opacity: 0.46;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__ft-nod--play {
    animation: none;
  }
}

@media (max-width: 720px) {
  .nav__ft-nod {
    right: 0.45rem;
    bottom: 4px;
    font-size: 9px;
  }

  .nav__ft-nod__icon {
    width: 10px;
    height: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nav__progress-bar {
    transition: transform 0.12s ease-out;
  }

  /* Opacity scrubbed from scroll via --reveal on each element (see index.html). */
  .js .scroll-reveal {
    opacity: var(--reveal, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .scroll-reveal {
    opacity: 1;
  }
}

@media print {
  .scroll-reveal {
    opacity: 1 !important;
  }
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav__icon {
  width: 36px;
  height: 36px;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav__links a:hover {
  color: var(--accent);
  text-decoration: none;
}

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

/* —— Layout —— */
.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* —— Hero —— */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0 3rem;
}

/* Neon pill: mono inside only (reference UI). Use sparingly. */
.accent-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--scaffold) 90%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero__eyebrow.accent-pill {
  margin: 0 0 1.25rem;
}

.hero__board {
  width: min(92vw, 400px);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 40px rgba(45, 239, 129, 0.15));
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  max-width: 20ch;
}

.hero__headline::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin: 0 0 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(45, 239, 129, 0.35);
}

.btn--primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
  box-shadow: 0 0 24px rgba(45, 239, 129, 0.25);
}

.btn--ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid rgba(94, 94, 94, 0.5);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* —— Sections —— */
section {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(94, 94, 94, 0.35);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section__lede {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

.section__lede strong {
  color: color-mix(in srgb, var(--text) 88%, var(--accent) 12%);
  font-weight: 600;
}

/* —— How it works (onboarding mockups) —— */
.app-step {
  display: grid;
  gap: 1.35rem;
  align-items: start;
  margin: 0 0 3.25rem;
  padding-bottom: 0.25rem;
}

.app-step:last-of-type {
  margin-bottom: 0;
}

.app-step__copy {
  max-width: 52ch;
}

.app-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(45, 239, 129, 0.45);
  border-radius: 8px;
  background: rgba(45, 239, 129, 0.08);
}

.app-step__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: var(--text);
}

.app-step__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.62;
}

.app-step__figure {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: min(390px, 86vw);
}

.app-step__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.35rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

@media (min-width: 820px) {
  .app-step {
    grid-template-columns: minmax(0, 1fr) min(390px, 44vw);
    gap: 2rem 2.5rem;
    align-items: center;
  }

  .app-step__figure {
    justify-self: end;
    max-width: min(413px, 44vw);
  }
}

/* —— Tape showcase (stacked scout moment) —— */
.tape-showcase {
  overflow-x: clip;
}

.tape-showcase--scout {
  --tape-club: 0;
  --tape-alert: 0;
}

.tape-showcase__visual {
  margin-top: 0.25rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.tape-showcase__stage.tape-scout-stack {
  position: relative;
  width: 100%;
  max-width: min(348px, 92vw);
  margin-inline: auto;
  line-height: 0;
}

.tape-scout-base {
  position: relative;
  z-index: 1;
  margin: 0;
}

.tape-phone__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.35rem;
}

.tape-scout-club {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
}

.tape-scout-club .tape-phone__img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 2.35rem;
  opacity: var(--tape-club, 0);
  transform: translate(
      calc((1 - var(--tape-club, 0)) * 46% + var(--tape-club, 0) * 11%),
      calc((1 - var(--tape-club, 0)) * 36% + var(--tape-club, 0) * 8%)
    )
    scale(calc(0.94 + 0.06 * var(--tape-club, 0)));
}

.tape-scout-alert {
  position: absolute;
  z-index: 3;
  left: auto;
  right: max(0.55%, 0.08rem);
  top: auto;
  bottom: 0;
  width: min(268px, 78%);
  max-width: calc(100% - 0.85rem);
  pointer-events: none;
  /* Slide R→L; +2px right and +10px down vs previous rest (single translate). */
  transform: translate(
    calc(2px + (1 - var(--tape-alert, 0)) * min(95vw, 320px)),
    10px
  );
}

.tape-scout-alert__img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .tape-showcase__stage.tape-scout-stack {
    max-width: min(368px, 36vw);
  }

  .tape-scout-alert {
    width: min(292px, 72%);
    right: max(0.45%, 0.06rem);
    bottom: 0;
    transform: translate(
      calc(2px + (1 - var(--tape-alert, 0)) * min(90vw, 340px)),
      10px
    );
  }
}

/* —— Our vision (statement panel) —— */
.vision-panel {
  max-width: 62ch;
  margin: 0;
  padding: 1.55rem 1.5rem 1.55rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid rgba(94, 94, 94, 0.38);
  border-left: 4px solid var(--accent);
  background:
    linear-gradient(145deg, rgba(45, 239, 129, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, var(--surface) 0%, #262626 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.vision-panel__text {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.3vw, 1.09rem);
  line-height: 1.68;
  font-weight: 400;
}

.vision-panel__text strong {
  color: color-mix(in srgb, var(--text) 82%, var(--accent) 18%);
  font-weight: 600;
}

@media (max-width: 720px) {
  .vision-panel {
    padding: 1.25rem 1.15rem 1.25rem 1.1rem;
  }
}

/* —— Pillars (onboarding echo) —— */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.pillar {
  position: relative;
  background:
    linear-gradient(120deg, rgba(45, 239, 129, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border-radius: var(--radius-sm);
  padding: 1.45rem 1.35rem 1.45rem 1.4rem;
  border: 1px solid rgba(94, 94, 94, 0.22);
  border-left: 3px solid var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

/* Same pill as hero “Our vision”; only spacing differs in context */
.pillar>.accent-pill {
  margin: 0 0 0.85rem;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

/* Pillar labels use `<span class="accent-pill">` so this never hits the pill. */
.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.58;
}

.pillar__art {
  margin-top: 1rem;
  max-height: 100px;
  object-fit: contain;
  object-position: left;
}

/* —— Feature grid —— */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.features--quad {
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .features--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature {
  position: relative;
  background:
    linear-gradient(120deg, rgba(45, 239, 129, 0.07) 0%, transparent 55%),
    var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem 1.1rem 1.2rem;
  border: 1px solid rgba(94, 94, 94, 0.22);
  border-left: 3px solid var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.feature h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}

.feature p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* —— Ecosystem / roles —— */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 720px) {
  .dual {
    grid-template-columns: 1fr;
  }

  /*
    Mobile: one short row — S icon + horizontally scrollable links.
    Avoids a tall multi-line grid and the “orphan” full-width CTA line.
  */
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.45rem 0.75rem;
    min-height: 0;
  }

  .nav__brand {
    flex-shrink: 0;
  }

  .nav>nav {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .nav__links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0 1.1rem;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0.2rem 0.15rem 0.35rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
    /* Scrollbar hidden; still swipe / drag with finger. */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav__links::-webkit-scrollbar {
    display: none;
  }

  .nav__links a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.4rem 0.05rem;
  }

  .hero {
    min-height: calc(100vh - 4.5rem);
    min-height: calc(100dvh - 4.5rem);
  }
}

.panel {
  position: relative;
  background:
    linear-gradient(120deg, rgba(45, 239, 129, 0.07) 0%, transparent 55%),
    linear-gradient(145deg, var(--surface) 0%, #252525 100%);
  border: 1px solid rgba(94, 94, 94, 0.22);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.45rem 1.35rem 1.45rem 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.45rem;
}

.panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.58;
}

/* Non-interactive cards: slight lift + green hairline on hover */
.vision-panel,
.pillar,
.feature,
.panel {
  cursor: default;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

@media (prefers-reduced-motion: no-preference) {

  .pillar:hover,
  .feature:hover,
  .panel:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 239, 129, 0.32);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 0 0 1px rgba(45, 239, 129, 0.48),
      0 14px 32px rgba(0, 0, 0, 0.3);
  }

  .vision-panel:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 239, 129, 0.34);
    box-shadow:
      0 0 0 1px rgba(45, 239, 129, 0.48),
      0 18px 40px rgba(0, 0, 0, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {

  .pillar:hover,
  .feature:hover,
  .panel:hover {
    transform: none;
    border-color: rgba(45, 239, 129, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.035),
      0 0 0 1px rgba(45, 239, 129, 0.42),
      0 10px 24px rgba(0, 0, 0, 0.22);
  }

  .vision-panel:hover {
    transform: none;
    border-color: rgba(45, 239, 129, 0.3);
    box-shadow:
      0 0 0 1px rgba(45, 239, 129, 0.42),
      0 14px 36px rgba(0, 0, 0, 0.28);
  }
}

/* —— Tech strip —— */
.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 1rem;
}

.chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--board-line);
}

/* —— Store buttons —— */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.15rem;
  background: #000;
  color: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #444;
  cursor: not-allowed;
  opacity: 0.7;
}

/* —— Footer —— */
footer {
  padding: 2.5rem 0 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(94, 94, 94, 0.35);
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
  text-decoration: none;
}

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

main .section__lede a:focus-visible,
main .hero__sub a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

footer .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.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;
}