.landing {
  --site-width: 1300px;
  --hero-floor: #0a1422;
  --story-ground: #edf2f8;
  --story-line: #9fb2cc78;
}
:root[data-theme="dark"] .landing {
  --story-ground: var(--hero-floor);
  --story-line: #789dc233;
}
.landing-document { --site-header-height: 76px; }
.landing .site-header {
  color: #f2f7ff;
  background: #0a1422;
  border-bottom-color: #b3d9ff1a;
}
.landing .site-header .site-brand { color: #f2f7ff; }
.landing .site-header .site-brand :is(strong, .design-icon) { color: #83c5ff; }
.landing-nav { display: flex; align-items: center; gap: clamp(18px, 3.2vw, 44px); color: #b9cbe4; font-size: .875rem; font-weight: 600; }
.landing-nav a { padding-block: 6px; transition: color .2s; }
.landing-nav a:hover { color: #fff; }
.landing .site-header .button.secondary { color: #e5efff; border-color: #b3d9ff25; background: #8bbdff0a; }
.landing .site-header .button.secondary:hover { background: #7eb5ff29; border-color: #9bc5ff68; }
.landing .site-header .header-workspace { padding-inline: 12px; }
.landing :is(.site-header, .hero-stage) :focus-visible { outline-color: #94caff; }

.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #f0f6ff;
  background: var(--hero-floor);
}
.hero {
  min-height: clamp(598px, calc(100svh - var(--site-header-height)), 775px);
  padding-top: clamp(46px, 5.4vw, 81px);
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hero-copy { width: min(100%, 55rem); pointer-events: auto; }
.hero h1 { font-size: clamp(2.85rem, 7.15vw, 7.6rem); line-height: .99; letter-spacing: -.063em; font-weight: 790; }
.hero h1 > * { display: block; }
:lang(en) .hero h1 { letter-spacing: -.059em; }
.hero h1 em { font-style: normal; color: #a5c9e8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; margin-block-start: clamp(22px, 3vw, 39px); gap: 8px 22px; }
.hero-actions .button { min-height: 52px; padding-inline: 18px; border-radius: 8px; font-size: 1rem; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.hero-actions .hero-action { color: #07192e; border-color: #bbd9f2; background: #c4e0f7; }
.hero-actions .hero-action:hover { background: #edf7ff; transform: translateY(-2px); }
.hero-actions .hero-secondary { color: #c8dbf5; padding-inline: 0; }
.hero-secondary:hover { color: #fff; transform: translateX(2px); }

.hero-metrics {
  display: grid;
  justify-items: start;
  gap: clamp(12px, 1.8vw, 24px);
  position: absolute;
  bottom: clamp(35px, 5vh, 54px);
  left: max(69%, calc(50% + 19vw));
  pointer-events: auto;
}
.board-metric { display: grid; justify-items: start; min-width: 0; gap: 5px; }
.board-metric > span { color: #b0c7e8; font-size: .83rem; }
.board-metric strong {
  display: inline-flex;
  align-items: baseline;
  gap: .19em;
  white-space: nowrap;
  font: 735 clamp(1.61rem, 3.55vw, 3.3rem)/1.07 var(--mono);
  letter-spacing: -.09em;
}
.board-unit { font-size: .5em; letter-spacing: 0; }
.board-metric:nth-of-type(2) strong { color: #9cd7ff; }
:lang(en) .board-metric:first-of-type .board-unit { display: none; }
.board-status { position: absolute; left: 0; top: 100%; color: #ffc581; font-size: .74rem; }
.metric-update { animation: highlight-update .9s ease-out; }
@keyframes highlight-update { 0% { color: #c9f1ff; } }

.hero-visual { position: absolute; inset: 0; z-index: 0; }
#hero-water { display: block; width: 100%; height: 100%; }

.landing-story {
  --story-transition: clamp(69px, 7vw, 100px);
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--story-transition) + clamp(19px, 3vw, 42px));
  background: var(--story-ground);
}
:root[data-theme="dark"] .landing-story { --story-transition: clamp(37px, 5vw, 70px); }
:root:not([data-theme="dark"]) .landing-story::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: var(--story-transition);
  pointer-events: none;
  background: linear-gradient(180deg, var(--hero-floor), #36485f 37%, var(--story-ground));
}
.product-section, .coverage-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: 28px clamp(26px, 7.7vw, 107px);
}
.product-section { padding-bottom: clamp(57px, 8vw, 110px); }
.product-section h2, .coverage-copy h2 {
  text-wrap: balance;
  font-size: clamp(2.1rem, 4.8vw, 4.45rem);
  line-height: 1.06;
  letter-spacing: -.048em;
  font-weight: 780;
}
:lang(en) .product-section h2, :lang(en) .coverage-copy h2 { letter-spacing: -.04em; }
.product-section > h2 { grid-row: span 2; align-self: start; }
.dataset-lead { padding-block: 4px 15px; }
.dataset-lead h3 { font-size: clamp(1.42rem, 2.55vw, 2.36rem); line-height: 1.15; letter-spacing: -.039em; }
.dataset-lead p, .coverage-copy > p { max-width: 33em; margin-top: 12px; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.story-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 37px;
  color: var(--accent-strong);
  font-size: .89rem;
  font-weight: 680;
}
.story-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.dataset-lead .story-link { margin-top: 12px; }
.product-links { display: grid; border-block-start: 1px solid var(--story-line); }
.product-link-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) max-content 16px;
  align-items: center;
  gap: 10px 13px;
  min-height: 58px;
  padding-block: 8px;
  border-block-end: 1px solid var(--story-line);
  color: var(--text);
}
.product-link-row > :is(i, span) { color: var(--muted); }
.product-link-row > strong { font-size: .98rem; }
.product-link-row > span { font-size: .84rem; }
.product-link-row:hover > :is(strong, i), .product-link-row:focus-visible > :is(strong, i) { color: var(--accent); }
.story-link > i, .product-link-row > i:last-child { transition: transform .18s ease-out; }
.story-link:hover > i, .product-link-row:is(:hover, :focus-visible) > i:last-child { transform: translateX(4px); }

.coverage-section {
  align-items: start;
  padding-block: clamp(40px, 5.75vw, 83px) clamp(50px, 6vw, 87px);
  border-top: 1px solid var(--story-line);
}
.coverage-copy { padding-top: 5px; }
.coverage-copy h2 { font-size: clamp(1.9rem, 3.9vw, 3.75rem); }
.coverage-copy > p { margin-top: 15px; }
.quick-archive { min-width: 0; display: grid; gap: 9px; }
.quick-head, .quick-dates, .quick-footer { display: flex; align-items: center; gap: 8px; }
.quick-head { justify-content: space-between; border-bottom: 1px solid var(--story-line); }
.quick-badge { color: var(--muted); font-size: .75rem; }
.quick-dates { min-height: 40px; flex-wrap: wrap; color: var(--muted); font-size: .8125rem; }
.quick-date-options { display: flex; gap: clamp(8px, 2.7vw, 30px); }
.quick-date-options button {
  min-width: 63px;
  min-height: 39px;
  padding: 0 5px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  background: transparent;
  font: 650 .875rem/1 var(--mono);
  transition: color .18s, border-color .18s;
}
.quick-date-options button:hover { color: var(--accent); }
.quick-date-options button[aria-pressed="true"] { color: var(--accent-strong); border-color: var(--accent); }
.quick-results { min-height: 151px; }
.quick-table-scroll { max-width: 100%; overflow: auto; }
.quick-matrix { table-layout: fixed; border-collapse: collapse; width: 100%; }
.quick-matrix th, .quick-matrix td { background: none; border: 0; padding: 0 3px; }
.quick-matrix tr { border-bottom: 1px solid var(--story-line); }
.quick-matrix thead th { height: 34px; text-align: center; font: 620 .77rem/1.4 var(--mono); color: var(--muted); }
.quick-matrix th:first-child { width: 23%; padding-inline-start: 0; text-align: start; }
.quick-matrix tbody th { color: var(--text); font-size: .86rem; font-weight: 640; white-space: normal; overflow-wrap: anywhere; }
.coverage-cell { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 37px; font-size: .76rem; font-weight: 580; }
.coverage-cell::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: currentColor; opacity: .7; }
.coverage-cell.ready { color: var(--accent-strong); }
.coverage-cell.gap { color: var(--orange); }
.coverage-cell.unlisted { color: var(--muted); }
.quick-loading { padding: 28px 0; text-align: center; color: var(--muted); font-size: .875rem; }
.quick-footer { justify-content: end; }
.landing .site-footer { border-color: var(--story-line); background: var(--story-ground); }
.landing .site-footer .design-icon { width: 24px; height: 24px; }

@media (max-width: 820px) {
  .product-section, .coverage-section { grid-template-columns: minmax(0,1fr); }
  .hero { min-height: clamp(550px, calc(100svh - 100px), 670px); }
  .hero h1 { font-size: clamp(2.85rem, 9.7vw, 5.05rem); }
  .landing-nav { display: none; }
  .hero-metrics {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
    width: min(100%, 34rem);
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    gap: 12px;
  }
  .board-metric strong { font-size: clamp(1.2rem, 4.75vw, 2.45rem); }
  .product-section > h2 { grid-row: auto; }
  .coverage-section { gap: 17px; }
}
@media (max-width: 590px) {
  .landing-document { --site-header-height: 59px; }
  .landing .site-nav { gap: 7px; }
  .landing .site-header .header-workspace { padding-inline: 8px; }
  .landing .site-header .header-workspace i { display: none; }
  .hero { min-height: clamp(520px, calc(100svh - 100px), 632px); padding-top: 33px; }
  .hero h1 { font-size: clamp(2.32rem, 11.7vw, 4.05rem); }
  .hero-actions { column-gap: 14px; }
  .hero-actions .button { min-height: 46px; padding-inline: 12px; font-size: .88rem; }
  .hero-actions .hero-secondary { padding-inline: 0; }
  .board-metric { gap: 4px; }
  .board-metric > span { font-size: .73rem; }
  .board-metric strong { font-size: clamp(1rem, 4.8vw, 1.62rem); }
  .product-section { gap: 20px; padding-bottom: 42px; }
  .dataset-lead { padding-bottom: 0; }
  .product-link-row { min-height: 51px; gap: 8px; }
  .product-link-row > strong { font-size: .89rem; }
  .product-link-row > span { font-size: .73rem; }
  .coverage-section { padding-block: 32px 39px; }
  .quick-date-options button { min-width: 55px; }
  .quick-matrix tbody th { font-size: .74rem; }
  .coverage-cell { font-size: .66rem; }
  .coverage-cell::before { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-stage { --title-shrink: .22; --title-shift: 16px; --metric-shrink: .08; --visual-shift: 28px; }
  .hero h1 {
    scale: calc(1 - var(--title-scroll, 0) * var(--title-shrink));
    translate: 0 calc(-1 * var(--title-scroll, 0) * var(--title-shift));
    transform-origin: left top;
  }
  .board-metric strong {
    scale: calc(1 - var(--metric-scroll, 0) * var(--metric-shrink));
    transform-origin: left center;
  }
  .hero-visual {
    opacity: calc(1 - var(--visual-scroll, 0) * .24);
    translate: 0 calc(-1 * var(--visual-scroll, 0) * var(--visual-shift));
  }
  [data-scroll-reveal] {
    --reveal-distance: 21px;
    opacity: calc(.48 + .52 * var(--scroll-reveal, 1));
    translate: 0 calc((1 - var(--scroll-reveal, 1)) * var(--reveal-distance));
  }
  [data-scroll-title] {
    --title-enter-scale: .12;
    --title-exit-scale: .04;
    scale: calc(1 - (1 - var(--title-enter, 1)) * var(--title-enter-scale) - var(--title-exit, 0) * var(--title-exit-scale));
    transform-origin: left center;
  }
  [data-scroll-reveal]:focus-within { opacity: 1; }
  .coverage-section::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto;
    height: 1px;
    background: var(--story-line);
    transform: scaleX(var(--section-reveal, 1));
    transform-origin: left;
    pointer-events: none;
  }
  @media (max-width: 820px) {
    .hero-stage { --title-shrink: .11; --title-shift: 8px; --metric-shrink: .04; --visual-shift: 11px; }
    [data-scroll-reveal] { --reveal-distance: 12px; }
    [data-scroll-title] { --title-enter-scale: .06; --title-exit-scale: .02; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing * { animation: none !important; transition: none !important; }
  .story-link:hover > i, .product-link-row:is(:hover, :focus-visible) > i:last-child, .hero-actions .button:hover { transform: none; }
}
