:root {
  --bg: #050505;
  --bg-soft: #101010;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f6f3ee;
  --muted: rgba(246, 243, 238, 0.72);
  --muted-strong: rgba(246, 243, 238, 0.88);
  --ink: #101010;
  --paper: #f6f3ee;
  --paper-line: rgba(16, 16, 16, 0.14);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #050505 0%, #050505 45%, #f6f3ee 45%, #f6f3ee 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: none;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 18px 0;
  isolation: isolate;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -10px;
  left: calc((100vw - 100%) / -2);
  right: calc((100vw - 100%) / -2);
  z-index: -1;
  pointer-events: none;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(
    180deg,
    rgba(246, 243, 238, 0.08) 0%,
    rgba(246, 243, 238, 0.04) 62%,
    rgba(246, 243, 238, 0) 100%
  );
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
}

.wordmark,
.topnav {
  position: relative;
  background: rgba(9, 9, 9, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  overflow: visible;
  isolation: isolate;
}

.wordmark::before,
.topnav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.wordmark::after,
.topnav::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(9, 9, 9, 0.18);
  filter: blur(14px);
  pointer-events: none;
}

.wordmark {
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  color: var(--muted);
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.hero {
  padding: 2.75rem 0 5rem;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.66);
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.hero-text,
.info-card p,
.verification-card p,
.about-card p,
.subpage-intro,
.footer p,
.search-note,
#searchStatus,
.dataset-badge {
  line-height: 1.65;
}

.hero-text {
  max-width: 640px;
  margin: 1.5rem 0 0;
  font-size: 1rem;
  color: var(--muted);
}

.hero-text span {
  color: var(--muted-strong);
}

.search-panel,
.result-card,
.info-card,
.verification-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.result-card {
  border-radius: var(--radius-lg);
}

.search-vision__row,
.search-vision__field,
.search-vision__field--interactive input {
  border-radius: 0;
}

.search-panel::before,
.result-card::before,
.info-card::before,
.verification-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.search-vision__label,
.info-kicker,
.metric-label,
.result-label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-vision__label {
  color: rgba(246, 243, 238, 0.56);
}

.search-panel--hero {
  margin-top: 3rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.search-panel--hero::before {
  display: none;
}

.search-stage {
  margin-top: 1.35rem;
}

.search-stage__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.search-vision__row {
  padding: 1rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.search-vision__row--input {
  cursor: text;
}

.search-vision__field {
  position: relative;
  min-height: 74px;
  padding: 1.15rem 1.25rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.45;
}

.search-vision__field--interactive {
  padding: 0;
}

.search-vision__field--interactive input {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 74px;
  padding: 1.15rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  caret-color: #ffffff;
  outline: none;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.45;
}

.search-vision__field--interactive input::placeholder {
  color: rgba(246, 243, 238, 0.32);
}

.search-vision__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 1.15rem 1.25rem;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.search-panel.demo-visible:not(.is-active):not(.has-value) .search-vision__overlay {
  opacity: 1;
}

.search-panel.demo-visible:not(.is-active):not(.has-value)
  .search-vision__field--interactive
  input::placeholder {
  color: transparent;
}

.search-panel.is-active .search-vision__overlay,
.search-panel.has-value .search-vision__overlay,
.search-panel:not(.demo-visible) .search-vision__overlay {
  opacity: 0;
  transform: translateY(-6px);
}

.search-vision__field--output {
  padding: 0;
  overflow: hidden;
  color: #ffffff;
}

.search-vision__output-demo {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.search-vision__arrow {
  display: flex;
  justify-content: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.search-stage__row > .search-vision__row:not(.search-vision__row--input) {
  transition: opacity 180ms ease, transform 180ms ease;
}

.search-panel.demo-visible:not(.is-active):not(.has-value) .search-vision__output-demo {
  opacity: 1;
}

.search-panel.demo-dismissed .search-vision__overlay,
.search-panel.demo-dismissed .search-vision__output-demo {
  display: none !important;
}

.search-panel.is-active .search-vision__output-demo,
.search-panel.has-value .search-vision__output-demo,
.search-panel:not(.demo-visible) .search-vision__output-demo {
  opacity: 0;
  transform: translateY(-6px);
}

.search-alternatives {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  min-height: 0;
  padding: 0.7rem;
}

.search-alternatives__empty {
  display: grid;
  place-items: center;
  min-height: 100%;
  margin: 0;
  padding: 1rem;
  color: rgba(246, 243, 238, 0.56);
  line-height: 1.6;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.search-alternatives__empty[hidden] {
  display: none;
}

.search-alternatives__list {
  display: grid;
  gap: 0;
}

.alternative-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.8rem 0.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #ffffff;
  transition: color 180ms ease, transform 180ms ease;
}

.alternative-card:hover,
.alternative-card:focus-visible {
  transform: translateY(-1px);
  color: rgba(255, 255, 255, 0.92);
}

.alternative-card:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.alternative-card__copy {
  min-width: 0;
}

.alternative-card__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.alternative-card__meta {
  margin: 0.16rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.46);
  line-height: 1.3;
}

.alternative-card__savings {
  text-align: right;
  white-space: nowrap;
}

.alternative-card__amount {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.alternative-card__unit {
  margin: 0.12rem 0 0;
  font-size: 0.82rem;
  color: rgba(246, 243, 238, 0.56);
  line-height: 1.25;
}

.search-vision__arrow span {
  display: block;
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  position: relative;
  animation: pulse-line 2.8s infinite ease-in-out;
}

.search-vision__arrow span::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-right: 1px solid rgba(255, 255, 255, 0.85);
  transform: translateY(-50%) rotate(45deg);
}

.caret {
  display: inline-block;
  width: 0;
  height: 1.15em;
  margin-left: 0.08em;
  flex: 0 0 auto;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  vertical-align: middle;
  animation: blink 1s infinite steps(1);
}

.search-panel {
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.search-panel.search-panel--hero {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.search-panel__header,
.search-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.search-meta__primary {
  display: grid;
  gap: 0.45rem;
}

.dataset-badge {
  max-width: 260px;
  margin: 0;
  font-size: 0.9rem;
  text-align: right;
  color: rgba(246, 243, 238, 0.72);
}

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

.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.chip {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.chip:hover,
.chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.search-meta {
  margin-top: 1rem;
  align-items: start;
}

#searchStatus {
  margin: 0;
  color: var(--muted-strong);
}

.search-notice {
  margin: 0;
  color: rgba(246, 243, 238, 0.86);
  line-height: 1.55;
}

.search-note {
  max-width: 360px;
  margin: 0;
  text-align: right;
  color: rgba(246, 243, 238, 0.56);
}

.results-section,
.info-band {
  padding: 3.8rem 0;
}

.results-section {
  margin-top: -0.9rem;
  padding-top: 3.8rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.8rem;
  color: var(--ink);
}

.section-heading .eyebrow {
  color: rgba(16, 16, 16, 0.46);
}

.results-section .section-heading,
.info-band--light .section-heading {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.results-section .section-heading {
  color: var(--text);
}

.results-section .section-heading .eyebrow {
  color: rgba(246, 243, 238, 0.52);
}

.results-grid,
.info-grid,
.verification-layout {
  display: grid;
  gap: 1rem;
}

.results-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.results-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.result-card {
  padding: 1.35rem;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #f5f5f5;
  box-shadow: none;
}

.result-card--group-heading {
  grid-column: 1 / -1;
}

.result-card--empty {
  grid-column: 1 / -1;
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
}

.result-topline,
.result-footer {
  display: flex;
  gap: 0.9rem;
}

.result-topline,
.result-footer {
  justify-content: space-between;
  align-items: start;
}

.result-footer {
  align-items: center;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.result-label,
.metric-label {
  color: rgba(255, 255, 255, 0.56);
}

.result-brand {
  margin: 0;
  max-width: 18ch;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.result-subtitle,
.result-detail,
.result-source,
.result-assumption {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.result-section {
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.result-section__title,
.result-jana h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.result-assumption {
  margin-top: 0.95rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.result-safety {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.result-stats {
  display: grid;
  gap: 0.35rem;
}

.result-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.result-stat-row:first-of-type {
  border-top: 0;
  padding-top: 0.2rem;
}

.result-stat-row__label {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.result-stat-row__value {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
}

.result-tag {
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.result-source {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.result-source::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.info-grid,
.verification-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.about-card,
.verification-card {
  padding: 1.5rem;
  border: 1px solid var(--paper-line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.info-kicker {
  color: rgba(16, 16, 16, 0.48);
}

.subpage {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 4rem 0 5rem;
  color: var(--ink);
}

.subpage-hero {
  max-width: 860px;
  margin-bottom: 2rem;
}

.subpage-intro {
  max-width: 720px;
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
  color: rgba(16, 16, 16, 0.74);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.about-card a {
  display: inline-flex;
  align-items: center;
  margin-left: 0.55rem;
  color: rgba(16, 16, 16, 0.86);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer--light {
  color: rgba(16, 16, 16, 0.62);
}

.about-page {
  color: var(--text);
  background: linear-gradient(180deg, #060606 0%, #080808 100%);
}

.about-page .topbar {
  width: min(calc(100% - 32px), var(--max-width));
}

.about-page .topbar::before {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.16) 0%,
    rgba(10, 10, 10, 0.08) 62%,
    rgba(10, 10, 10, 0) 100%
  );
}

.about-page .wordmark,
.about-page .topnav {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
}

.about-page .topnav a:hover,
.about-page .topnav a:focus-visible {
  color: #ffffff;
}

.subpage--dark {
  padding-top: 3rem;
  color: var(--text);
}

.about-page h1,
.about-page h2 {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.about-page h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6.6vw, 5.2rem);
}

.about-page h2 {
  font-size: clamp(2rem, 3.3vw, 2.95rem);
}

.about-hero {
  position: relative;
  min-height: auto;
  padding: 2rem 0 2.5rem;
}

.about-hero::before {
  display: none;
}

.about-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.subpage--dark .eyebrow,
.subpage--dark .info-kicker {
  color: rgba(246, 243, 238, 0.58);
}

.subpage-intro--light {
  color: rgba(246, 243, 238, 0.74);
}

.about-hero__support {
  max-width: 720px;
  margin-top: 2rem;
  color: rgba(246, 243, 238, 0.76);
  line-height: 1.65;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1080px;
  margin: 0 0 2.4rem;
}

.fact-tile {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-facts .source-row {
  grid-column: 1 / -1;
}

.section-flow {
  width: min(100%, 780px);
}

.section-flow--left {
  margin-right: auto;
}

.section-flow--right {
  margin-left: auto;
  margin-right: 0;
}

.about-narrative.section-flow--left,
.mission-panel.section-flow--left,
.explainer-panel.section-flow--left,
.trust-panel.section-flow--left {
  margin-left: 0;
  margin-right: auto;
}

.about-narrative.section-flow--right,
.mission-panel.section-flow--right,
.explainer-panel.section-flow--right,
.trust-panel.section-flow--right {
  margin-left: auto;
  margin-right: 0;
}

.fact-tile__value {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.fact-tile__label {
  margin: 0.5rem 0 0;
  color: rgba(246, 243, 238, 0.68);
  line-height: 1.6;
}

.signal-band {
  margin: 0 0 2rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 32px;
  background: rgba(12, 12, 12, 0.8);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.signal-band__header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.signal-band__header h2 {
  max-width: 14ch;
  color: #ffffff;
}

.signal-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.signal-pill {
  padding: 1rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-pill__label {
  margin: 0;
  color: rgba(246, 243, 238, 0.82);
}

.about-narrative,
.trust-panel {
  position: relative;
  margin: 0 0 2rem;
  padding: 0;
}

.about-narrative::before,
.trust-panel::before {
  display: none;
}

.about-narrative__copy h2,
.trust-panel h2 {
  color: #ffffff;
}

.about-narrative p,
.trust-panel p {
  color: rgba(246, 243, 238, 0.78);
  line-height: 1.72;
  margin-top: 1.15rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.story-grid--tail {
  margin-top: 2rem;
}

.story-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 11, 11, 0.9);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  color: rgba(246, 243, 238, 0.78);
}

.story-card::before,
.mission-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.story-card h2,
.mission-panel h2 {
  max-width: 15ch;
  margin-bottom: 1rem;
  color: #ffffff;
}

.story-card p,
.mission-panel p {
  margin: 0.85rem 0 0;
  line-height: 1.7;
}

.story-card--wide {
  grid-column: span 2;
}

.story-card--accent {
  background: rgba(11, 11, 11, 0.9);
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.source-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #f6f3ee;
  text-decoration: none;
}

.source-row a:hover,
.source-row a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.mission-panel {
  position: relative;
  margin-top: 2rem;
  padding: 0;
}

.mission-panel h2,
.explainer-panel__header h2 {
  max-width: 16ch;
}

.mission-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
  margin-top: 1.2rem;
}

.explainer-panel {
  position: relative;
  margin-top: 2rem;
  padding: 0;
}

.explainer-panel::before {
  display: none;
}

.explainer-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.explainer-panel__header h2 {
  color: #ffffff;
}

.explainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.explainer-card {
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(246, 243, 238, 0.8);
}

.explainer-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.explainer-card p {
  margin: 0;
  line-height: 1.72;
}

.mission-step {
  padding: 0 0 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mission-step:last-child {
  padding-bottom: 0;
}

.mission-step__number {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.56);
}

.mission-step__text {
  margin: 0.45rem 0 0;
  color: #ffffff;
}

.detail-page {
  background: linear-gradient(180deg, #050505 0%, #050505 38%, #f6f3ee 38%, #f6f3ee 100%);
}

.maintenance-page {
  min-height: 100vh;
  background: #050505;
  color: var(--text);
}

.maintenance-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding: 3rem 0;
}

.maintenance-panel {
  width: 100%;
  max-width: 760px;
  padding: 2.2rem 0;
}

.maintenance-panel h1 {
  max-width: 11ch;
}

.maintenance-copy,
.maintenance-note {
  max-width: 620px;
  margin: 1.2rem 0 0;
  color: rgba(246, 243, 238, 0.74);
  line-height: 1.7;
}

.maintenance-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #ffffff;
}

.detail-hero {
  padding: 2.8rem 0 2.1rem;
}

.detail-hero .hero-copy {
  max-width: 760px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
  color: rgba(246, 243, 238, 0.84);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.detail-back::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.detail-section {
  padding: 1.2rem 0 4rem;
}

.detail-card {
  max-width: 960px;
  margin: 0 auto;
}

.detail-card .result-brand {
  max-width: none;
}

.legal-page {
  background: #050505;
  color: var(--text);
}

.legal-page h1,
.legal-page h2,
.legal-page .subpage-intro,
.legal-page .eyebrow {
  color: #f6f3ee;
}

.legal-hero {
  max-width: 860px;
  margin-bottom: 2rem;
}

.legal-text {
  max-width: 760px;
  color: rgba(246, 243, 238, 0.82);
}

.legal-text p {
  margin: 0;
  line-height: 1.8;
}

.legal-text p + p {
  margin-top: 1.35rem;
}

.legal-text strong {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer-links a[aria-label="Contact by email"]::before {
  content: "✉";
  display: inline-block;
  margin-right: 0.35rem;
}

.footer--about {
  color: rgba(246, 243, 238, 0.62);
}

[data-reveal] {
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--delay, 0s);
}

[data-reveal="up"] {
  transform: translateY(42px);
}

[data-reveal="left"] {
  transform: translateX(32px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.info-band--light .verification-card {
  background: rgba(16, 16, 16, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.verification-copy {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(246, 243, 238, 0.8);
}

.verification-copy p {
  margin: 0;
  line-height: 1.9;
}

.verification-copy p + p {
  margin-top: 1.25rem;
}

.info-band--light .section-heading {
  color: var(--text);
}

.info-band--light .section-heading .eyebrow,
.info-band--light .info-kicker {
  color: rgba(246, 243, 238, 0.55);
}

.info-band--light {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw - 48px, 1320px);
  margin-left: 0;
  margin-right: 0;
  margin-top: 1rem;
  padding: 3rem clamp(1rem, 2.6vw, 2rem) 5rem;
  border-radius: 32px 32px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  color: var(--text);
}

.footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: rgba(16, 16, 16, 0.62);
}

.footer.footer--about,
.footer.footer--about .footer-links a {
  color: rgba(246, 243, 238, 0.82);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes pulse-line {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(8px);
    opacity: 1;
  }
}

@media (max-width: 1040px) {
  .search-stage__row,
  .results-grid,
  .results-group,
  .about-facts,
  .info-grid,
  .verification-layout {
    grid-template-columns: 1fr;
  }

  .section-flow,
  .section-flow--left,
  .section-flow--right {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .mission-steps {
    grid-template-columns: 1fr;
  }

  .explainer-panel__header {
    flex-direction: column;
    align-items: start;
  }

  .search-vision__arrow {
    justify-content: start;
    padding-left: 1rem;
  }

  .search-vision__arrow span {
    width: 64px;
  }

  .search-panel__header,
  .search-meta,
  .section-heading,
  .result-topline,
  .result-footer {
    flex-direction: column;
    align-items: start;
  }

  .result-stat-row {
    flex-direction: column;
    align-items: start;
    gap: 0.2rem;
  }

  .dataset-badge,
  .search-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 720px) {
  body {
    background: linear-gradient(180deg, #050505 0%, #050505 37%, #f6f3ee 37%, #f6f3ee 100%);
  }

  .detail-page {
    background: linear-gradient(180deg, #050505 0%, #050505 34%, #f6f3ee 34%, #f6f3ee 100%);
  }

  .maintenance-shell {
    width: min(calc(100% - 20px), 920px);
  }

  .topbar {
    width: min(calc(100% - 20px), var(--max-width));
    padding: 14px 0;
  }

  .topnav {
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
  }

  main,
  .subpage,
  .footer {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .about-page {
    background: linear-gradient(180deg, #060606 0%, #080808 100%);
  }

  .hero {
    padding-top: 2.4rem;
  }

  h1 {
    max-width: none;
  }

  .search-panel,
  .result-card,
  .info-card,
  .verification-card {
    border-radius: 22px;
  }

  .result-card {
    border-radius: var(--radius-lg);
  }

  .search-vision__row,
  .search-vision__field,
  .search-vision__field--interactive input {
    border-radius: 0;
  }

  .mission-panel,
  .signal-band {
    border-radius: 24px;
  }

  .result-brand {
    max-width: none;
  }

  .search-alternatives {
    min-height: 0;
  }
}
