:root {
  --primary: #000000;
  --black: #000000;
  --white: #ffffff;
  --grey-ccc: #cccccc;
  --grey-line: #e6e6ec;
  --grey-grid: #f0f0f4;
  --grey-fafafc: #fafafc;
  --secondary: #666666;
  --muted: #999999;
  --brand: #6d5aff;
  --brand-2: #00a9ff;
  --brand-3: #26ff8c;
  --hero-sky: #3db4e8;
  --header-h: 5.25rem;
  --page-gutter: 4rem;
  --white-64: #ffffffa3;
  --font-sans: "IBM Plex Sans", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Arial, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }

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

body {
  margin: 0;
  color: var(--primary);
  background: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:hover { color: var(--brand); }

.is-hidden { display: none !important; }

.wrap {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.eyebrow,
.section__meta,
.btn,
.stat__label,
.method-card__index,
.changelog__date,
.site-nav,
.footer-social,
.footer-badges a,
.site-footer h3,
.footer-kicker,
.footer-certs p,
.empty-card__bar {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Header — inset like penti.ai, not edge-to-edge */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: var(--white);
  background: transparent;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  color: var(--primary);
  background: var(--white);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled .site-header__inner {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 90rem;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.site-logo {
  flex: 0 0 auto;
  margin-right: 3.75rem;
}

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

.site-logo__white { display: block; }
.site-logo__color { display: none; }
.site-header.is-scrolled .site-logo__white { display: none; }
.site-header.is-scrolled .site-logo__color { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1 1 auto;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav .nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-caret {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.15em;
  transition: transform 200ms ease;
}

.nav-caret path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown { position: relative; }
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }

/* Dropdown panels (Webflow: .navigation-list / .nav-drop-big-list__wr) */
.nav-list,
.nav-mega {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: -1rem;
  z-index: 50;
  display: none;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--grey-line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  text-transform: none;
  letter-spacing: 0;
}

.nav-dropdown.is-open > .nav-list,
.nav-dropdown.is-open > .nav-mega { display: block; }

@media (hover: hover) and (min-width: 901px) {
  .nav-dropdown:hover > .nav-list,
  .nav-dropdown:hover > .nav-mega,
  .nav-dropdown:focus-within > .nav-list,
  .nav-dropdown:focus-within > .nav-mega { display: block; }
  .nav-dropdown:hover .nav-caret,
  .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
  /* keep the panel reachable across the gap below the toggle — only while
     that dropdown is hovered, so the bridge never opens a menu by itself */
  .nav-dropdown:hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.2rem; }
}

.nav-list {
  min-width: 17rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
}

.nav-list li + li { border-top: 1px solid var(--grey-line); }

.nav-list a {
  display: block;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-list a:hover { background: var(--grey-fafafc); }

.nav-dropdown--mega { position: static; }

.nav-mega {
  left: 0;
  right: 0;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  padding: 1.75rem 2rem 2rem;
}

.nav-dropdown--mega.is-open > .nav-mega { display: grid; }

@media (hover: hover) and (min-width: 901px) {
  .nav-dropdown--mega:hover > .nav-mega,
  .nav-dropdown--mega:focus-within > .nav-mega { display: grid; }
}

.nav-group__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 3.25rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--grey-line);
}

.nav-group__icon {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}

.nav-group__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
}

.nav-group__desc {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--secondary);
}

.nav-group__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.nav-group__list a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
}

.nav-group__list a:hover { color: var(--primary); }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

/* Burger (Webflow .burger-btn), mobile only */
.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.burger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.13em;
  min-height: 3.5rem;
  padding: 1rem 1.75rem;
  border: 0;
  text-transform: uppercase;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
}

a.btn:hover { color: inherit; }

.btn__text {
  display: flex;
  flex-direction: column;
  height: 1.3rem;
  overflow: hidden;
}

.btn--signin .btn__text { height: 1.1rem; }

.btn__text span {
  display: block;
  height: 1.3rem;
  transition: transform 300ms ease;
}

.btn--signin .btn__text span { height: 1.1rem; }

.btn:hover .btn__text span { transform: translateY(-100%); }

.btn__arrow {
  display: flex;
  width: 0.75rem;
  min-width: 0.75rem;
  transition: transform 300ms ease;
}

.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.btn--dark,
a.btn--dark:hover { background: var(--primary); color: var(--white); }
.btn--white,
a.btn--white:hover { background: var(--white); color: var(--primary); }
.btn--green,
a.btn--green:hover { background: var(--brand-3); color: var(--primary); }

.btn--signin,
.btn--trial {
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.875rem;
}

.btn--signin {
  border: 1px solid currentColor;
  background: transparent;
}

.btn--trial,
a.btn--trial:hover {
  background: var(--white);
  color: var(--primary);
  gap: 1.1em;
}

.site-header.is-scrolled .btn--trial,
.site-header.is-scrolled a.btn--trial:hover {
  background: var(--primary);
  color: var(--white);
}

/* Hero */
.hero {
  color: var(--white);
  background-color: var(--hero-sky);
  background-image: url("https://cdn.prod.website-files.com/684795f4e9f56ff2034c7bf0/684795f4e9f56ff2034c7d8b_8fcaac2a0e3d399ce24ad9ab2431a79f_gradient-image.avif");
  background-size: cover;
  background-position: 0 0;
  padding: calc(var(--header-h) + 7rem) 0 5.5rem;
}

.hero h1,
.section h2,
.footer-cta h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  text-wrap: pretty;
}

.eyebrow {
  margin: 0 0 2.25rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 40rem;
  margin: 2.75rem 0 3rem;
  font-size: 1.25rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__scroll {
  margin-left: 0.25rem;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__scroll:hover { color: var(--white); opacity: 0.8; }

/* Stat strip */
.stat-strip {
  background: var(--primary);
  color: var(--white);
  padding: 0;
}

.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat {
  background: var(--primary);
  padding: 2.25rem 1.75rem;
}

.stat:first-child { padding-left: 0; }
.stat--end { padding-right: 0; }

.stat__value {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-64);
}

/* Sections */
.section {
  padding: 5.63rem 0;
  background: var(--white);
}

.section--tint { background: var(--grey-fafafc); }

.section__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--grey-line);
  padding-top: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.88rem;
}

.section__meta p { margin: 0; }

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 20ch;
}

.h2-wide { max-width: 22ch; }

.section__copy {
  max-width: 46rem;
  margin: 1.25rem 0 2.5rem;
  font-size: 1.125rem;
  color: var(--black);
  text-wrap: pretty;
}

#chartTitle,
#chartCopy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#chartTitle { max-width: 28ch; }

#chartCopy { max-width: 46rem; }

#chartCopy.has-source { margin-bottom: 0.45rem; }

.section__source {
  max-width: 46rem;
  margin: 0.35rem auto 2.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--secondary);
}

.section__source a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.section__source a:hover { color: var(--brand); }

/* Chart — same column width as the results table */
.chart-block {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.75rem 0 1.25rem;
}

.chart-grid {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  grid-template-rows: 1fr 2.75rem;
  gap: 0;
  padding-right: 1.25rem;
}

.chart-y {
  position: relative;
  height: 440px;
  padding-right: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.chart-y span {
  position: absolute;
  right: 0.75rem;
  transform: translateY(-50%);
}

.chart-plot {
  position: relative;
  height: 440px;
  background: var(--white);
  overflow: visible;
}

.chart-plot__edge {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--grey-grid);
}

.chart-plot__axis {
  position: absolute;
  top: -1.9rem;
  left: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--secondary);
}

.chart-vline {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--grey-grid);
}

.chart-hline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--grey-grid);
}

.chart-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.chart-point {
  position: absolute;
  transform: translate(-50%, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  cursor: default;
  transition: left 400ms cubic-bezier(0.4, 0, 0.2, 1), bottom 400ms cubic-bezier(0.4, 0, 0.2, 1);
  animation: juice-dot-enter 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}

.chart-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ffffff;
  transition: width 150ms ease, height 150ms ease, box-shadow 150ms ease, transform 180ms ease, outline 180ms ease, opacity 180ms ease;
}

.chart-plot.is-juice .chart-dot {
  width: 10px;
  height: 10px;
  box-shadow: none;
  outline: 2px solid currentColor;
  outline-offset: 2px;
  outline-color: var(--dot, currentColor);
}

.chart-plot.is-juice .chart-dot.is-fail {
  width: 8px;
  height: 8px;
  background: transparent !important;
  outline-width: 2px;
  outline-offset: 1px;
}

.chart-plot.is-juice .chart-dot.is-pending,
.chart-plot.is-juice .chart-dot.is-skipped {
  width: 6px;
  height: 6px;
  outline: none;
  opacity: 0.7;
}

.chart-plot.is-hovering .chart-point:not(.is-hover),
.chart-plot.is-hovering .chart-label:not(.is-hover):not(.juice-tip) {
  opacity: 0.5;
  filter: blur(2px);
}

.chart-plot.is-hovering polyline {
  opacity: 0.18;
}

.chart-plot .chart-point.is-hover .chart-dot {
  transform: scale(1.25);
}

.chart-plot.is-juice .juice-tip {
  opacity: 0;
  filter: none;
  pointer-events: none;
}

.chart-plot.is-juice .juice-tip.is-hover {
  opacity: 1;
  filter: none;
  z-index: 24;
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
  pointer-events: none;
}

@keyframes juice-dot-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 50%) scale(0.35);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 50%) scale(1);
  }
}

.chart-point.is-hover { z-index: 20; }

.chart-point.is-hover .chart-dot {
  width: 11px;
  height: 11px;
}

.chart-plot.is-juice .chart-point.is-hover .chart-dot {
  width: 17px;
  height: 17px;
}

.chart-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 4;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: left 400ms cubic-bezier(0.4, 0, 0.2, 1), bottom 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-label.is-hover { z-index: 30; }

.chart-label__name,
.chart-label__meta {
  text-shadow:
    0 0 6px #fff,
    0 0 10px #fff,
    1px 0 0 #fff,
    -1px 0 0 #fff,
    0 1px 0 #fff,
    0 -1px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.chart-label__name {
  display: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.chart-label.is-named .chart-label__name {
  display: block;
}

.chart-label__meta {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.chart-label.is-hover .chart-label__meta { display: block; }

.chart-plot.is-juice .juice-tip .chart-label__meta {
  text-transform: none;
  letter-spacing: 0.02em;
}

.chart-cross-y,
.chart-cross-x {
  position: absolute;
  font-size: 0.8rem;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.chart-cross-y {
  left: -0.75rem;
  transform: translate(-100%, 50%);
}

.chart-cross-x {
  bottom: -1.6rem;
  transform: translateX(-50%);
}

.chart-x {
  position: relative;
  padding-top: 0.5rem;
}

.chart-x__row {
  position: relative;
  height: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.chart-x__row span {
  position: absolute;
  transform: translateX(-50%);
}

.suite-tabs {
  margin: 0 0 1.5rem;
}

.chart-tabs {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--grey-line);
  background: var(--white);
}

.chart-tab {
  border: 0;
  padding: 0.55rem 1.15rem;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.chart-tab + .chart-tab {
  border-left: 1px solid var(--grey-line);
}

.chart-tab.is-active {
  color: var(--white);
  background: var(--primary);
}

.chart-caption {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--secondary);
}

/* Table */
.results-wrap {
  margin: 2.5rem auto 0;
  max-width: 64rem;
  overflow-x: auto;
}

.results {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
}

.results th,
.results td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-grid);
  vertical-align: middle;
}

.results th {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--grey-line);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
}

.results thead th.is-active { color: var(--primary); }

.results tbody tr { cursor: default; }
.results tbody tr.is-hover { background: var(--grey-fafafc); }

.col-rank { width: 3.5rem; }
.col-api { width: 8.5rem; }

.api {
  color: var(--muted);
  font-size: 0.85rem;
}
.col-score,
.col-fp,
.col-noise {
  cursor: pointer;
  user-select: none;
  width: 9rem;
}

.col-fp { width: 11rem; }
.col-noise { width: 7rem; }

.results th.col-rank,
.results th.col-score,
.results th.col-fp,
.results th.col-noise,
.results td.rank,
.results td.num {
  text-align: right;
}

.rank {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

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

.swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.model-name { font-weight: 500; }

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.score-tip {
  position: relative;
  display: inline-block;
  font-weight: 500;
  cursor: default;
}

.score-tip__box {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;
  padding: 0.3rem 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 5;
}

.score-tip:hover .score-tip__box,
.score-tip.is-open .score-tip__box { display: block; }

.empty-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
}

.empty-card {
  border: 1px solid var(--grey-ccc);
  background: var(--white);
}

.empty-card__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--grey-ccc);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.empty-card__body {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 2rem;
  background: var(--grey-fafafc);
  color: var(--secondary);
}

.empty-cell {
  padding: 3.5rem 1.25rem;
  text-align: center;
  color: var(--secondary);
}

/* Methodology */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.25rem;
}

.method-card {
  background: var(--white);
  border: 1px solid var(--grey-ccc);
  padding: 1.75rem 1.5rem 2rem;
}

.method-card__index {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.method-card h3 {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.method-card p {
  margin: 0;
  color: var(--black);
  text-wrap: pretty;
}

/* Changelog */
.changelog {
  margin-top: 2.5rem;
  border: 1px solid var(--grey-ccc);
  background: var(--white);
}

.changelog__row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 0 2rem;
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--grey-ccc);
}

.changelog__row--last { border-bottom: 0; }

.changelog__date {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.changelog h3 {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: 1.25rem;
}

.changelog ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--black);
  display: grid;
  gap: 0.5rem;
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--primary);
  color: var(--white-64);
  padding: 4.5rem 0 2.5rem;
}

/* Webflow .footer-gradient-bar */
.footer-gradient-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-3) 0%, var(--brand) 55%, var(--brand-2) 100%);
}

.site-footer a:hover:not(.btn) { color: var(--white); }

.footer-main {
  display: grid;
  grid-template-columns: minmax(17rem, 20rem) 1fr;
  gap: 3rem 4rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.footer-brand img {
  display: block;
  height: 34px;
  width: auto;
}

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

.footer-social__link {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--white);
  opacity: 0.8;
}

.footer-social__link:hover { opacity: 1; }
.footer-social__link svg { width: 100%; height: 100%; display: block; }

.footer-brand > p {
  margin: 0;
  max-width: 26rem;
  font-size: 0.95rem;
  text-wrap: pretty;
}

/* Webflow .footer-trust-cluster */
.footer-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #ffffff2e;
}

.footer-trust__cell {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.6rem;
  color: var(--white-64);
  white-space: nowrap;
}

.footer-trust__cell + .footer-trust__cell { border-left: 1px solid #ffffff2e; }

.footer-trust__eyebrow,
.footer-trust__caption {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-trust__value {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
}

.footer-trust__stars { font-size: 0.78rem; letter-spacing: 0.04em; }
.footer-trust__stars--green { color: var(--brand-3); }
.footer-trust__stars--purple { color: var(--brand); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2.25rem 1.5rem;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.site-footer h3 {
  margin: 0 0 0.45rem;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a {
  font-size: 0.86rem;
  font-weight: 500;
}

.footer-contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ffffff1f;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
}

.footer-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.footer-contact__value,
.footer-contact a {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}

.footer-cta {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #ffffff1f;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}

.footer-cta h2 {
  max-width: 16ch;
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ffffff1f;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-legal p { margin: 0; }
.footer-legal div { display: flex; gap: 1.5rem; }

.results td.pass { color: var(--primary); font-weight: 500; }
.results td.fail { color: var(--secondary); }
.results td.skipped { color: var(--muted); }
.results td.mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--secondary);
}

.results-wrap.is-juice { max-width: 72rem; }

.chart-block.is-juice {
  max-width: 72rem;
}

.juice-bar {
  margin: 2.5rem auto 0;
  max-width: 72rem;
}

.juice-bar__caption {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--secondary);
}

.juice-bar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.juice-bar__item {
  display: grid;
  grid-template-columns: 0.5rem 4.5rem minmax(0, 1fr) 3.4rem;
  align-items: center;
  gap: 0.75rem;
}

.juice-bar__swatch {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--diff, var(--muted));
}

.juice-bar__level {
  font-size: 0.78rem;
  color: var(--muted);
}

.juice-bar__value {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--primary);
}

.juice-bar__track {
  height: 0.7rem;
  background: var(--grey-fafafc);
  border: 1px solid var(--grey-line);
}

.juice-bar__fill {
  height: 100%;
  min-width: 0;
  background: var(--diff, var(--primary));
}

.juice-filters {
  display: grid;
  grid-template-columns: minmax(10rem, 1.4fr) repeat(3, minmax(7rem, 1fr));
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.juice-filters input,
.juice-filters select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--grey-line);
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.juice-group td {
  padding: 0;
  border-bottom: 1px solid var(--grey-line);
  background: var(--grey-fafafc);
}

.juice-group__btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.juice-group__count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.juice-group__caret {
  color: var(--muted);
}

@media (max-width: 900px) {
  .juice-filters { grid-template-columns: 1fr 1fr; }
  :root { --page-gutter: 1.5rem; }
  .site-logo { margin-right: 0; }
  .burger { display: flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 0.5rem var(--page-gutter) 2rem;
    color: var(--primary);
    background: var(--white);
  }
  .site-header.is-menu-open .site-nav { display: flex; }
  .site-header.is-menu-open { color: var(--primary); background: var(--white); }
  .site-header.is-menu-open .site-logo__white { display: none; }
  .site-header.is-menu-open .site-logo__color { display: block; }
  .site-header.is-menu-open .btn--trial,
  .site-header.is-menu-open a.btn--trial:hover { background: var(--primary); color: var(--white); }
  .site-nav .nav-link,
  .nav-toggle { width: 100%; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--grey-line); }
  .nav-list,
  .nav-mega,
  .nav-dropdown--mega.is-open > .nav-mega,
  .nav-dropdown.is-open > .nav-list {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.5rem;
  }
  .nav-dropdown.is-open > .nav-list { display: block; }
  .nav-dropdown--mega.is-open > .nav-mega { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
  .nav-list a { padding: 0.65rem 0; }
  .nav-group__desc { display: none; }
  .site-nav__actions { margin: 1.25rem 0 0; flex-wrap: wrap; }
  .footer-trust { grid-template-columns: 1fr; }
  .footer-trust__cell + .footer-trust__cell { border-left: 0; border-top: 1px solid #ffffff2e; }
  .hero { padding: calc(var(--header-h) + 3.5rem) 0 4rem; }
  .footer-main { grid-template-columns: 1fr; }
  .chart-grid { grid-template-columns: 2.5rem 1fr; padding-right: 0; }
  .stat:first-child,
  .stat--end { padding-left: 1.75rem; padding-right: 1.75rem; }
}

@media (max-width: 600px) {
  :root { --page-gutter: 1rem; }
  .changelog__row { grid-template-columns: 1fr; gap: 0.75rem; }
  .chart-plot,
  .chart-y { height: 320px; }
}
