/* Dispono family site (www.dispono.app).
 *
 * Design tokens are lifted verbatim from the Dispono app's frontend
 * (frontend/src/index.css) so the portal and the product read as one brand.
 * Keep them in sync by hand — this site is deliberately dependency-free
 * static HTML/CSS, so there is no shared build step to import them through. */

:root {
  --accent: #f97316;
  --accent-dark: #c2410c;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --bg: #09090b;
  --surface: #161619;
  --surface-2: #1f1f24;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #7c7c85;
  --border: #26262c;
  --border-strong: #3a3a42;
  --brand-gradient: linear-gradient(135deg, #fdba74, #f97316 55%, #ea580c);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.18);

  --page-max: 940px;

  color-scheme: dark;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  /* A single warm bloom behind the hero, echoing the app's og-image, so the
     top of the page isn't a flat black field. */
  background-image: radial-gradient(60% 45% at 70% 0%, rgba(249, 115, 22, 0.13), transparent 70%);
  background-repeat: no-repeat;
}

a {
  color: inherit;
}

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

/* ---- Header ---- */

.site-header {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__brand {
  display: flex;
  line-height: 0;
}

.site-header__brand img {
  height: 34px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.site-header__nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

@media (hover: hover) {
  .site-header__nav a:hover {
    color: var(--text);
    background: var(--surface);
  }
}

.site-header__cta {
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
  font-weight: 600;
}

/* ---- Hero ---- */

.hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px 20px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0;
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 660px;
}

.hero__lede {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 14px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28);
}

/* ---- Sections ---- */

.section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 32px 20px;
}

.section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.section__note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- App cards ---- */

.apps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 780px) {
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* An odd card count leaves a hole in a 2-up grid; let the last one span
     both columns so the block stays square-edged at every width. */
  .app-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  /* ...but don't let the wider card stretch its paragraph to a 900px measure -
     hold it near the line length of the 2-up cards beside it. */
  .app-card:last-child:nth-child(odd) .app-card__body {
    max-width: 68ch;
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s, transform 0.15s;
}

@media (hover: hover) {
  .app-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
  }
}

.app-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-card__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

/* The TravelFoX mark is a raster icon with square corners of its own. */
.app-card__icon--raster {
  overflow: hidden;
  object-fit: cover;
}

.app-card__heading {
  min-width: 0;
}

.app-card__name {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.app-card__kicker {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.app-card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  /* Push the tag row and links to the bottom so cards of unequal copy length
     still line their controls up across the grid. */
  flex: 1;
}

.app-card__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.app-card__tags li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12px;
  color: var(--text-muted);
}

.app-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.link-button span {
  font-size: 12px;
  opacity: 0.7;
}

@media (hover: hover) {
  .link-button:hover {
    background: #2a2a31;
  }
}

.link-button--primary {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent);
}

@media (hover: hover) {
  .link-button--primary:hover {
    background: rgba(249, 115, 22, 0.22);
  }
}

/* Not a link — a status chip for an app that isn't on the store yet. */
.link-button--muted {
  border-style: dashed;
  border-color: var(--border);
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  cursor: default;
}

/* ---- Principles ---- */

.principles {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

@media (min-width: 780px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.principle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.principle__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.principle__body {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---- Article pages (e.g. /average-45-year-old-american) ---- */

.article-hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px 20px 8px;
}

.article-hero__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.article-hero__title {
  margin: 10px 0 0;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 1.12;
  max-width: 780px;
  text-wrap: balance;
}

.article-hero__lede {
  margin: 16px 0 0;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.article-hero__meta {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-hero__meta span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  color: var(--text-muted);
}

/* The hero's payoff: real headline numbers before the reader has to read a
   word of methodology. Grid hairlines are drawn with the background color
   showing through a 1px gap, so no per-cell border math is needed. */
.quick-stats {
  max-width: var(--page-max);
  margin: 28px auto 0;
  padding: 0 20px;
}

.quick-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 700px) {
  .quick-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-stat {
  background: var(--surface);
  padding: 16px 18px;
}

.quick-stat__value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}

.quick-stat__label {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.article-section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
}

.article-section__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.article-section__title {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-wrap: balance;
}

.article-section__intro {
  margin: 10px 0 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.article-section__intro + .article-section__intro {
  margin-top: 10px;
}

/* Persona input table. Collapses to labelled stacked rows below 640px
   (a horizontally-scrolling 3-column table is unreadable at phone width) -
   each <td> carries a data-label attribute the ::before reads back. */

.persona-table {
  margin-top: 22px;
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.persona-table th,
.persona-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.persona-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--surface-2);
}

.persona-table tr:last-child td {
  border-bottom: none;
}

.persona-table td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.persona-table td:nth-child(2) {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.persona-table td:last-child {
  color: var(--text-muted);
}

.persona-table__source {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .persona-table thead {
    display: none;
  }

  .persona-table,
  .persona-table tbody,
  .persona-table tr,
  .persona-table td {
    display: block;
    width: 100%;
  }

  .persona-table tr {
    padding: 14px 16px;
  }

  .persona-table td {
    padding: 3px 0;
    border: none;
  }

  .persona-table td:first-child {
    white-space: normal;
  }

  .persona-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    margin-top: 8px;
  }

  .persona-table td:first-child::before {
    margin-top: 0;
  }
}

/* Stat / gauge cards */

.stat-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.15s;
}

/* Left rail repeats the badge's verdict as a stripe - readable at a glance
   before the eye reaches the badge text, same idea as a severity marker on a
   dashboard row. */
.stat-card--red {
  border-left-color: #ef4444;
}

.stat-card--amber {
  border-left-color: #eab308;
}

.stat-card--green {
  border-left-color: #22c55e;
}

.stat-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.stat-card__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.stat-card__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.stat-card__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.stat-card__badge--red {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
}

.stat-card__badge--amber {
  color: #fcd34d;
  background: rgba(234, 179, 8, 0.14);
}

.stat-card__badge--green {
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
}

.stat-card__gauge {
  margin-top: 14px;
  position: relative;
  height: 6px;
  border-radius: 999px;
}

.stat-card__gauge-marker {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-1px);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}

.stat-card__gauge-labels {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

.stat-card__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Chart figures */

.chart-card {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  transition: border-color 0.15s;
}

@media (hover: hover) {
  .chart-card:hover,
  .breakdown-card:hover {
    border-color: var(--border-strong);
  }
}

.chart-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.chart-card__figure {
  margin: 16px 0 0;
}

.chart-card__figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-legend {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12px;
  color: var(--text-secondary);
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}

/* Breakdown lists (income/expense) */

.breakdown-grid {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .breakdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.breakdown-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.15s;
}

.breakdown-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.breakdown-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  font-weight: 600;
}

.breakdown-card__total {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.breakdown-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.breakdown-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.breakdown-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.breakdown-list span:first-of-type {
  flex: 1;
  min-width: 0;
}

.breakdown-list b {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Key-insights cards - a step up from a stat: each one is a finding plus
   what it means, so it gets a kicker label and more room than a stat-card. */

.insight-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .insight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border-strong);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.insight-card--gap {
  border-top-color: #eab308;
}

.insight-card--risk {
  border-top-color: #ef4444;
}

.insight-card--fix {
  border-top-color: #22c55e;
}

.insight-card__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
}

.insight-card--gap .insight-card__kicker {
  color: #eab308;
}

.insight-card--risk .insight-card__kicker {
  color: #fca5a5;
}

.insight-card--fix .insight-card__kicker {
  color: #86efac;
}

.insight-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.insight-card__body {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.insight-card__body strong {
  color: var(--text);
}

/* Scenario table */

.scenario-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.scenario-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--surface);
}

.scenario-table th,
.scenario-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.scenario-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--surface-2);
}

.scenario-table tr:last-child td {
  border-bottom: none;
}

.scenario-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.scenario-table td:nth-child(3),
.scenario-table td:nth-child(4) {
  font-variant-numeric: tabular-nums;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.rating-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.rating-pill--red {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
}

.rating-pill--amber {
  color: #fcd34d;
  background: rgba(234, 179, 8, 0.14);
}

.rating-pill--green {
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
}

/* Callout / disclaimer box */

.callout {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.callout--accent {
  border-color: rgba(249, 115, 22, 0.35);
  background: var(--accent-soft);
  color: var(--text);
}

.article-cta {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 12px 20px 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.article-cta__copy h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.article-cta__copy p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 46ch;
}

/* ---- Profiles hub (/profiles/) ---- */

.profiles-grid {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 940px) {
  .profiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

@media (hover: hover) {
  .profile-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
  }
}

.profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-card__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.profile-card__name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.profile-card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}

.profile-card__stats {
  display: flex;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.profile-card__stat-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.profile-card__stat-label {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

/* A queued example: same shape as a live card so the roadmap reads visually,
   but dimmed and inert - matches the homepage's "iOS coming soon" chip. */
.profile-card--soon {
  cursor: default;
  opacity: 0.55;
}

.profile-card--soon .profile-card__tag {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-muted);
}

@media (hover: hover) {
  .profile-card--soon:hover {
    border-color: var(--border);
    transform: none;
  }
}

/* ---- Homepage "Worked examples" section (links to /profiles) ---- */

.featured-profile {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

@media (min-width: 780px) {
  .featured-profile {
    flex-direction: row;
    align-items: center;
    padding: 28px 32px;
  }
}

.featured-profile__copy {
  flex: 1;
  min-width: 0;
}

.featured-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.featured-profile__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.featured-profile__name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.featured-profile__body {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 62ch;
}

.featured-profile__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.featured-profile__stats {
  flex: none;
  display: flex;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 780px) {
  .featured-profile__stats {
    flex-direction: column;
    width: 150px;
  }
}

.featured-profile__stat {
  flex: 1;
  background: var(--surface-2);
  padding: 14px 16px;
  text-align: center;
}

@media (min-width: 780px) {
  .featured-profile__stat {
    text-align: left;
  }
}

.featured-profile__stat-value {
  display: block;
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.featured-profile__stat-label {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ---- Footer ---- */

.site-footer {
  max-width: var(--page-max);
  margin: 24px auto 0;
  padding: 28px 20px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

.site-footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
}

@media (hover: hover) {
  .site-footer__links a:hover {
    color: var(--text);
  }
}

.site-footer__legal {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-footer__legal a {
  color: var(--text-secondary);
}
