/* =========================================================
   Sunlight Ledger — Canonical Styles (Landing + Pages)
   ========================================================= */

/* -------------------------
   Design tokens
------------------------- */
:root {
  --bg: #faf9f7;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.65);
  --muted-2: rgba(15, 23, 42, 0.45);
  --line: rgba(15, 23, 42, 0.10);

  --container-width: 1200px;
  --container-pad: 28px;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --nav-h: 76px;

  --scale-subtle: 1.04; /* Apple-ish but restrained */

  /* Page rhythm (NEW) */
  --section-pad-y: 64px;          /* was 96px */
  --section-pad-y-tight: 38px;    /* for stacked sections like Data page */
  --section-gap: 26px;            /* gap between header and grid */
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

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

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

/* -------------------------
   Buttons (used in page body)
------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease),
    color 180ms var(--ease);
  will-change: transform;
}

.btn-secondary {
  background: rgba(250, 249, 247, 0.88);
  border-color: rgba(15, 23, 42, 0.14);
  color: rgba(15, 23, 42, 0.90);
}

.btn-small {
  padding: 9px 14px;
  font-size: 13px;
}

/* Subtle MacOS dock-like grow on hover */
.btn:hover {
  transform: scale(var(--scale-subtle));
}

/* -------------------------
   NAVBAR (canonical)
------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(250, 249, 247, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Left: icon-only brand */
.nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--nav-h) - 18px);
  padding: 6px 6px;
  border-radius: 12px;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
  will-change: transform;
}

/* Logo size */
.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-brand:hover {
  transform: scale(var(--scale-subtle));
  background: rgba(15, 23, 42, 0.03);
}

/* Right: links */
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Logo size (bigger, still proportional, never stretched) */
.brand-logo {
  height: 42px;  /* <<< increased to visually match nav text */
  width: auto;
  object-fit: contain;
}

/* Subtle grow on hover (Apple-ish) */
.nav-brand:hover {
  transform: scale(var(--scale-subtle));
  background: rgba(15, 23, 42, 0.03);
}

/* Right: links */
.nav-links {
  margin-left: auto; /* pushes links to the right */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Bain-ish link style */
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.70);
  padding: 10px 10px;
  border-radius: 12px;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
  will-change: transform;
}

.nav-links a:hover {
  transform: scale(1.03);
  color: rgba(15, 23, 42, 0.92);
  background: rgba(15, 23, 42, 0.03);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu button */
.btn-mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(250, 249, 247, 0.78);
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
  will-change: transform;
}

.btn-mobile-menu:hover {
  transform: scale(var(--scale-subtle));
  background: rgba(15, 23, 42, 0.03);
}

.btn-mobile-menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.86);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  padding: 14px var(--container-pad) 18px var(--container-pad);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(250, 249, 247, 0.98);
}

.mobile-nav[hidden] {
  display: none !important;
}

/* -------------------------
   HERO (home only)
------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.hero-map {
  position: absolute;
  inset: 0;
  background: #eaeaea;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(250, 249, 247, 0.72), rgba(250, 249, 247, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 120px var(--container-pad) 90px var(--container-pad);
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(15, 23, 42, 0.55);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 18px 0;
}

.hero-description {
  margin: 0 auto 26px auto;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.70);
}

.hero-actions {
  margin-top: 20px;
}

.hero-chips {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: rgba(250, 249, 247, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.chip-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(15, 23, 42, 0.60);
  font-weight: 600;
}

.chip-value {
  font-size: 14px;
  color: rgba(15, 23, 42, 0.78);
}

/* -------------------------
   Sections (global)
------------------------- */
.section {
  padding: var(--section-pad-y) 0;
}

/* Used implicitly: the first section after nav needs less top space */
main > .section:first-child {
  padding-top: 44px; /* reduces gap from navbar to first headline */
}

/* Headings smaller + tighter */
.section-header h2 {
  margin: 0 0 10px 0;
  font-size: 32px;     /* was 40px */
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  max-width: 820px;
  font-size: 16px;     /* slightly smaller */
  color: rgba(15, 23, 42, 0.70);
}

/* Make stacked sections (like Data page) not feel far apart */
.section + .metrics-section {
  padding-top: 24px; /* reduces huge gap between Data cards and metrics */
}

/* -------------------------
   Cards / Grids
------------------------- */
.sources-grid {
  margin-top: var(--section-gap);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.source-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(250, 249, 247, 0.80);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.source-card h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.source-card p {
  margin: 0 0 14px 0;
  color: rgba(15, 23, 42, 0.70);
}

/* -------------------------
   Download Data (Data page)
------------------------- */
.download-grid{
  margin-top: var(--section-gap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card{
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(250, 249, 247, 0.80);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.download-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.03);
  display: grid;
  place-items: center;
  color: rgba(15, 23, 42, 0.75);
}

.download-title{
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-title:hover{
  color: rgba(15, 23, 42, 0.92);
}

.download-links{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-links a{
  font-size: 14px;
  color: rgba(15, 23, 42, 0.74);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-links a:hover{
  color: rgba(15, 23, 42, 0.92);
}

/* placeholders until you add real URLs */
.download-placeholder{
  opacity: 0.65;
}

/* -------------------------
   Metrics
------------------------- */
.metrics-section {
  padding: 40px 0 54px 0; /* tighter */
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(250, 249, 247, 0.80);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.metric-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.metric-label {
  margin-top: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(15, 23, 42, 0.62);
}

.metric-description {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.70);
}

/* -------------------------
   Features (home)
------------------------- */
.features-grid {
  margin-top: var(--section-gap);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(250, 249, 247, 0.80);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
/* Make feature cards behave like nav links on hover */
.features-grid .feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease),
    border-color 180ms var(--ease), box-shadow 180ms var(--ease);
  will-change: transform;
}

.features-grid .feature-card:hover {
  transform: scale(1.03);
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.14);
}

.features-grid .feature-card:focus-visible {
  outline: 2px solid rgba(15, 23, 42, 0.35);
  outline-offset: 3px;
}

.feature-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: rgba(15, 23, 42, 0.70);
}

/* -------------------------
   FAQ (home)
------------------------- */
.faq-list {
  margin-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  padding: 16px 0;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.92);
}

.faq-answer {
  padding-top: 10px;
  color: rgba(15, 23, 42, 0.72);
}

/* -------------------------
   Footer
------------------------- */
.footer {
  padding: 44px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(15, 23, 42, 0.70);
}

.footer-links a:hover {
  color: rgba(15, 23, 42, 0.92);
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 1000px) {
  .sources-grid,
  .metrics-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .btn-mobile-menu {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.78);
    transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
    will-change: transform;
  }

  .mobile-nav a:hover {
    transform: scale(1.02);
    background: rgba(15, 23, 42, 0.03);
    color: rgba(15, 23, 42, 0.92);
  }

  .section-header h2 {
    font-size: 28px;
  }

  main > .section:first-child {
    padding-top: 34px;
  }
}
@media (max-width: 1000px) {
  .sources-grid,
  .download-grid,
  .metrics-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* -------------------------
   TEAM (Bain-style cards)
------------------------- */
.team-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(250, 249, 247, 0.80);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px 16px;
}

.team-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.02);
}

.team-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.team-body {
  padding-top: 14px;
}

.team-name {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.team-role {
  margin-top: 6px;
  font-size: 16px;
  color: rgba(15, 23, 42, 0.70);
}

.team-bio {
  margin: 12px 0 0 0;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.6;
}

.team-links {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

  .team-photo img {
    height: 260px;
  }
}
/* =========================================================
   HOME HERO (Bain-style angled collage using clip-path)
   Replace the previous collage block with this one
   ========================================================= */

.hero-split {
  padding: 52px 0 54px 0;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-left {
  max-width: 620px;
}

.hero-split-title {
  margin: 0 0 18px 0;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-split-description {
  margin: 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.70);
}

/* Right side: Bain-style collage scaffold */
.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-collage {
  position: relative;
  width: min(560px, 100%);
  height: 420px;                 /* fixed visual height (Bain-like) */
  margin-left: auto;
}

/* Shared “Bain diamond” treatment */
.collage-tile {
  position: absolute;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
  transform: translateZ(0);
}

/* IMPORTANT:
   This polygon creates the matching “cut” angles.
   Same geometry used everywhere so the angles align. */
.collage-tile,
.collage-tile::before {
  clip-path: polygon(
    12% 0%,
    88% 0%,
    100% 12%,
    100% 88%,
    88% 100%,
    12% 100%,
    0% 88%,
    0% 12%
  );
}

/* Image inside tile */
.collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Layout: big diamond + two supporting diamonds */
.tile-main {
  right: 0;
  top: 0;
  width: 420px;
  height: 420px;
}

.tile-mid {
  right: 220px;
  top: 120px;
  width: 260px;
  height: 260px;
  opacity: 0.95;
}

.tile-strip {
  right: 140px;
  top: 280px;
  width: 360px;
  height: 170px;
  opacity: 0.98;
}

/* Subtle premium motion on hover */
.collage-tile {
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
  will-change: transform;
}

.collage-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.14);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-split {
    padding: 38px 0 44px 0;
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-collage {
    width: min(520px, 100%);
    height: 360px;
  }

  .tile-main {
    width: 360px;
    height: 360px;
    right: 0;
    top: 0;
  }

  .tile-mid {
    right: 190px;
    top: 110px;
    width: 220px;
    height: 220px;
  }

  .tile-strip {
    right: 110px;
    top: 240px;
    width: 320px;
    height: 150px;
  }
}

@media (max-width: 520px) {
  .hero-split-title {
    font-size: 40px;
  }

  .hero-split-description {
    font-size: 16px;
  }

  .hero-collage {
    height: 300px;
  }

  .tile-main {
    width: 300px;
    height: 300px;
  }

  .tile-mid {
    display: none; /* keep it clean on small screens */
  }

  .tile-strip {
    right: 0;
    top: 190px;
    width: 300px;
    height: 130px;
  }
}
/* =========================================================
   Bain-style interlocking collage (SVG, cross-browser)
   ========================================================= */

.hero-collage-svg {
  width: min(600px, 100%);
  height: auto;
  margin-left: auto;
}

.bain-collage {
  width: 100%;
  height: auto;
  display: block;
}

/* tighten vertical spacing if you want the hero to feel more “Bain” */
.hero-split {
  padding-top: 44px;
  padding-bottom: 44px;
}

/* responsive: keep it clean on small screens */
@media (max-width: 980px) {
  .hero-collage-svg {
    width: min(520px, 100%);
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .hero-collage-svg {
    width: 100%;
  }
}

/* =========================================================
   HOME HERO — simple photo (replaces SVG collage)
   ========================================================= */

.hero-photo {
  width: min(560px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.02);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) {
  .hero-photo {
    width: min(520px, 100%);
  }
}

@media (max-width: 520px) {
  .hero-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
  }
}
/* Hero image behaves like nav buttons on hover */
.hero-photo-link {
  display: inline-block;
  border-radius: 22px; /* match .hero-photo */
  text-decoration: none;
  color: inherit;
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
  will-change: transform;
}

.hero-photo-link:hover {
  transform: scale(1.03);
}

.hero-photo-link:focus-visible {
  outline: 2px solid rgba(15, 23, 42, 0.35);
  outline-offset: 4px;
}
/* Tooltip (clickable link) */
.tt {
  position: relative;
  display: inline-block;
}

.tt__term {
  cursor: help;
  border-bottom: 1px dotted rgba(15, 23, 42, 0.35);
}

.tt__term:focus {
  outline: none;
  border-bottom-color: rgba(15, 23, 42, 0.65);
}

.tt__bubble {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 50;

  width: max-content;
  max-width: min(360px, calc(100vw - 60px));

  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;

  background: #fff;
  color: rgba(15, 23, 42, 0.92);
  font-size: 13px;
  line-height: 1.35;

  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);

  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity 120ms ease, transform 120ms ease;

  pointer-events: none;
}

.tt__bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid rgba(15, 23, 42, 0.10);
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  transform: translateX(-50%) rotate(45deg);
}

/* show on hover OR keyboard focus; keep open when hovering bubble */
.tt:hover .tt__bubble,
.tt:focus-within .tt__bubble {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.tt__link {
  text-decoration: underline; /* override global a { text-decoration: none } */
  color: rgba(15, 23, 42, 0.92);
}
/* =========================
   Download Data (Data page)
   ========================= */

.download-grid{
  margin-top: var(--section-gap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card{
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(250, 249, 247, 0.80);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.download-top{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Bigger icon container */
.download-icon{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.03);
  display: grid;
  place-items: center;
}

.download-icon-img{
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

/* Make all text in the card the same size */
.download-title,
.download-links a,
.download-placeholder{
  font-size: 16px;
  line-height: 1.35;
}

/* Keep title distinct via weight only (same size) */
.download-title{
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(15, 23, 42, 0.92);
}

.download-title:hover{
  color: rgba(15, 23, 42, 0.92);
}

.download-links{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-links a{
  color: rgba(15, 23, 42, 0.74);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-links a:hover{
  color: rgba(15, 23, 42, 0.92);
}

.download-placeholder{
  color: rgba(15, 23, 42, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Download cards: icon left, content right */
.download-card{
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(250, 249, 247, 0.80);
  border-radius: var(--radius-lg);
  padding: 22px 20px;

  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
}

.download-icon{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.03);
  display: grid;
  place-items: center;
}

.download-icon-img{
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.download-title,
.download-links a,
.download-placeholder{
  font-size: 16px;
  line-height: 1.35;
}

.download-title{
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
}

.download-links{
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-links a{
  color: rgba(15, 23, 42, 0.74);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-placeholder{
  color: rgba(15, 23, 42, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* FAQ links: blue + underlined */
.faq-answer a{
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-answer a:hover{
  color: #2563eb;
}
