:root {
  --deep-navy: #081d3a;
  --night: #081d3a;
  --teal: #0fa3a3;
  --cobalt: #2536eb;
  --ice: #e6f2fa;
  --stone: #f2f4f7;
  --slate: #475569;
  --white: #ffffff;
  --ink: #081d3a;
  --muted: #475569;
  --line: rgba(8, 29, 58, 0.12);
  --panel: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 80px rgba(8, 29, 58, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 132px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--stone);
  color: var(--ink);
  font-family:
    "Sora",
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(8, 29, 58, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 29, 58, 0.025) 1px, transparent 1px),
    var(--stone);
  background-size: 36px 36px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--deep-navy);
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 0 40px;
  color: var(--deep-navy);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(8, 29, 58, 0.1);
  box-shadow: 0 12px 36px rgba(8, 29, 58, 0.06);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-navy);
  font-size: 1.25rem;
  line-height: 1;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-heavy {
  font-weight: 800;
}

.brand-light {
  font-weight: 300;
}

.brand-tech {
  margin-left: 0.32em;
  font-weight: 300;
}

.brand-mark-icon {
  width: 72px;
  height: auto;
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--deep-navy);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a + a::before {
  position: absolute;
  top: 50%;
  left: -14px;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--teal);
  border-radius: 999px;
  transform: translateY(-50%);
}

.nav-links a:hover {
  color: var(--teal);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 750;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 163, 163, 0.28);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  color: var(--deep-navy);
  background:
    linear-gradient(rgba(8, 29, 58, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 29, 58, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(230, 242, 250, 0.95), transparent 32%),
    linear-gradient(120deg, var(--white) 0%, var(--ice) 58%, var(--stone) 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(15, 163, 163, 0.055));
}

.hero-raster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-raster {
  z-index: -1;
  opacity: 0.72;
  background:
    linear-gradient(rgba(8, 29, 58, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 29, 58, 0.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
  animation: raster-drift 18s linear infinite;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(470px, 0.9fr);
  align-items: center;
  gap: 50px;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 70px 0 72px;
}

.hero-copy {
  max-width: 650px;
  padding: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--deep-navy);
  font-size: 4.25rem;
  line-height: 0.92;
}

.hero h1 span:first-child {
  font-weight: 800;
}

.hero h1 span:last-child {
  font-weight: 300;
}

.hero-subtitle {
  margin: 26px 0 0;
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  --button-icon-color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button::after {
  flex: 0 0 auto;
  width: 0.46rem;
  height: 0.46rem;
  content: "";
  border-right: 2px solid var(--button-icon-color);
  border-bottom: 2px solid var(--button-icon-color);
  transition: transform 180ms ease;
}

.button-arrow-right::after {
  transform: rotate(-45deg);
}

.button-arrow-down::after {
  transform: translateY(-2px) rotate(45deg);
}

.button:hover {
  transform: translateY(-2px);
}

.button-arrow-right:hover::after {
  transform: translateX(2px) rotate(-45deg);
}

.button-arrow-down:hover::after {
  transform: translateY(1px) rotate(45deg);
}

.button-primary {
  --button-icon-color: var(--white);
  color: var(--white);
  font-weight: 800;
  background: var(--teal);
  box-shadow: 0 18px 42px rgba(15, 163, 163, 0.26);
}

.button-secondary {
  --button-icon-color: var(--deep-navy);
  color: var(--deep-navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(8, 29, 58, 0.16);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 163, 163, 0.42);
}

.hero-copy,
.hero-figure,
.hero-signals {
  min-width: 0;
}

.hero-figure {
  display: grid;
  align-content: center;
  gap: 30px;
  align-self: center;
}

.figure-logo-mark {
  width: min(620px, 100%);
  height: auto;
  margin: 0 0 0 auto;
  filter: drop-shadow(0 28px 34px rgba(8, 29, 58, 0.1));
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 620px);
  margin-left: auto;
  border-top: 1px solid rgba(8, 29, 58, 0.14);
}

.signal-card {
  position: relative;
  padding: 18px 18px 0;
}

.signal-card + .signal-card {
  border-left: 1px solid rgba(8, 29, 58, 0.12);
}

.signal-card::before {
  position: absolute;
  top: -4px;
  left: 18px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(15, 163, 163, 0.1);
  animation: step-dot-pulse 2.4s ease-in-out infinite;
}

.signal-card:nth-child(2)::before {
  animation-delay: 0.35s;
}

.signal-card:nth-child(3)::before {
  animation-delay: 0.7s;
}

.signal-card span,
.card-index,
.process-step span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.card-index {
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.signal-card strong,
.platform-card h3,
.solution-copy h3 {
  display: block;
  margin-top: 6px;
  color: inherit;
  font-size: 1rem;
  line-height: 1.2;
}

.signal-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 64px));
  margin: -24px auto 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 29, 58, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}

.proof-item {
  min-height: 140px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-icon {
  display: block;
  color: var(--teal);
  font-size: 1.8rem;
  line-height: 1;
}

.proof-item strong {
  display: block;
  margin-top: 18px;
  color: var(--deep-navy);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.proof-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.science-copy h2,
.impact-copy h2,
.brand-copy h2,
.cta-copy h2 {
  margin: 0;
  color: var(--deep-navy);
  font-size: 3.05rem;
  font-weight: 750;
  line-height: 1.04;
}

.section-heading p:not(.section-kicker),
.science-copy p:not(.section-kicker),
.impact-copy p:not(.section-kicker),
.brand-copy p:not(.section-kicker),
.cta-copy p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.platform-card {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 29, 58, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(8, 29, 58, 0.07);
}

.platform-card h3 {
  margin: 44px 0 0;
  color: var(--deep-navy);
  font-size: 1.25rem;
}

.platform-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.science-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 70px;
  padding-top: 70px;
}

.loop-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  margin: 0;
  padding: 0;
}

.loop-stage::before {
  content: none;
}

.loop-asset {
  width: min(118%, 760px);
  max-width: none;
  filter: drop-shadow(0 16px 28px rgba(8, 29, 58, 0.06));
}

.solutions-section {
  width: 100%;
  max-width: none;
  padding: 110px max(32px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(rgba(8, 29, 58, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 29, 58, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 244, 247, 0.96)),
    var(--stone);
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: var(--deep-navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solutions-section .section-heading h2,
.solutions-section .section-heading p:not(.section-kicker) {
  color: var(--deep-navy);
}

.solutions-section .section-heading p:not(.section-kicker) {
  color: var(--muted);
}

.solution-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(520px, 0.98fr);
  align-items: center;
  gap: 54px;
  margin-top: 52px;
}

.solution-copy h3 {
  margin: 0;
  color: var(--teal);
  font-size: 2.5rem;
}

.solution-copy p {
  margin: 18px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--deep-navy);
}

.check-list li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 16px;
  height: 16px;
  content: "";
  border: 2px solid var(--teal);
  border-radius: 50%;
  box-shadow: inset 5px 0 0 rgba(15, 163, 163, 0.3);
}

.product-mock {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 470px;
}

.product-mock::before {
  position: absolute;
  inset: 10% 2% 12% 4%;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 38% 48%, rgba(15, 163, 163, 0.22), transparent 28%),
    radial-gradient(circle at 70% 28%, rgba(37, 54, 235, 0.16), transparent 26%),
    linear-gradient(90deg, transparent 0%, rgba(15, 163, 163, 0.26) 46%, transparent 100%);
  opacity: 0.92;
  filter: blur(2px);
}

.spendcheck-stack {
  --sc-ink: #0f1a2e;
  --sc-muted: #6b7280;
  --sc-soft: #f8fafc;
  --sc-line: #d6deea;
  --sc-blue-1: #1d3460;
  --sc-blue-2: #3a5c92;
  --sc-blue-3: #5a78a8;
  --sc-blue-4: #7c97c4;
  --sc-blue-5: #9fb4d6;
  display: block;
  width: 100%;
  min-height: 560px;
  max-width: none;
  margin-left: auto;
  isolation: isolate;
}

.spendcheck-stack::before {
  inset: 6% 1% 11% 5%;
  background:
    radial-gradient(circle at 56% 44%, rgba(124, 151, 196, 0.2), transparent 45%),
    linear-gradient(90deg, transparent 0%, rgba(230, 242, 250, 0.72) 36%, rgba(124, 151, 196, 0.09) 72%, transparent 100%);
  border-radius: 52px;
  filter: blur(0);
}

.spendcheck-glow {
  position: absolute;
  inset: 8% 4% 4%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 42%, rgba(8, 29, 58, 0.12), transparent 46%),
    radial-gradient(circle at 36% 58%, rgba(15, 163, 163, 0.12), transparent 42%);
  filter: blur(22px);
}

.spendcheck-phone {
  --phone-scale: 0.78;
  position: absolute;
  z-index: 1;
  box-sizing: content-box;
  width: calc(320px * var(--phone-scale));
  height: calc(660px * var(--phone-scale));
  overflow: visible;
  padding: calc(8px * var(--phone-scale));
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Inter",
    "Segoe UI",
    sans-serif;
  color: var(--sc-ink);
  background: #0e0e10;
  border-radius: calc(46px * var(--phone-scale));
  box-shadow:
    0 30px 80px -20px rgba(20, 30, 60, 0.35),
    0 8px 24px -8px rgba(20, 30, 60, 0.2);
}

.spendcheck-phone-front {
  --phone-scale: 0.78;
  top: 0;
  left: clamp(400px, 62%, 520px);
  z-index: 3;
  transform: translateX(-50%);
}

.spendcheck-phone-back {
  --phone-scale: 0.68;
  top: 52px;
  left: clamp(28px, 7%, 88px);
  z-index: 2;
  opacity: 0.82;
  transform: rotate(-6deg);
}

.spendcheck-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: calc(38px * var(--phone-scale));
}

.spendcheck-notch {
  position: absolute;
  top: calc(10px * var(--phone-scale));
  left: 50%;
  z-index: 5;
  width: calc(100px * var(--phone-scale));
  height: calc(26px * var(--phone-scale));
  content: "";
  background: #0e0e10;
  border-radius: 999px;
  transform: translateX(-50%);
}

.spendcheck-canvas {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 320px;
  height: 660px;
  overflow: hidden;
  background: var(--white);
  transform: scale(var(--phone-scale));
  transform-origin: top left;
}

.spendcheck-home-screen {
  padding: 52px 24px 20px;
}

.spendcheck-analysis-screen {
  padding: 46px 15px 14px;
}

.spendcheck-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.spendcheck-brand img {
  width: 26px;
  height: 26px;
}

.spendcheck-brand strong {
  color: var(--sc-ink);
  font-size: 1.58rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.spendcheck-home-screen p {
  margin: 0 0 22px;
  color: var(--sc-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.spendcheck-upload {
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 28px 16px;
  text-align: center;
  background: #f0f4fb;
  border: 1.5px dashed #c7d5e8;
  border-radius: 14px;
}

.spendcheck-upload span {
  color: var(--sc-blue-4);
  font-size: 1.9rem;
  line-height: 1;
}

.spendcheck-upload strong,
.spendcheck-choice strong {
  display: block;
  color: var(--sc-ink);
  font-size: 0.93rem;
}

.spendcheck-upload small,
.spendcheck-choice small,
.spendcheck-history small {
  display: block;
  color: #94a3b8;
  font-size: 0.7rem;
}

.spendcheck-choice {
  margin-bottom: 10px;
  padding: 12px 16px;
  text-align: center;
  border-radius: 12px;
}

.spendcheck-choice-basic {
  background: var(--white);
  border: 1.5px solid #c7d5e8;
}

.spendcheck-choice-basic strong {
  color: var(--sc-blue-2);
}

.spendcheck-choice-detailed {
  color: var(--white);
  background: var(--sc-blue-4);
}

.spendcheck-choice-detailed strong,
.spendcheck-choice-detailed small {
  color: inherit;
}

.spendcheck-history {
  margin-top: 18px;
}

.spendcheck-history > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--sc-ink);
  font-size: 1rem;
}

.spendcheck-history div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 11px 13px;
  background: var(--sc-soft);
  border-radius: 10px;
}

.spendcheck-history span {
  color: var(--sc-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.spendcheck-history em {
  display: grid;
  justify-items: end;
  font-style: normal;
}

.spendcheck-history em i {
  display: inline-block;
  color: var(--white);
  background: var(--sc-blue-2);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.spendcheck-history em b {
  margin-top: 3px;
  color: var(--sc-blue-2);
  font-size: 0.68rem;
  white-space: nowrap;
}

.spendcheck-history em.is-basic i {
  color: var(--sc-blue-2);
  background: var(--white);
  border: 1px solid var(--sc-blue-2);
}

.spendcheck-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.spendcheck-nav span {
  color: var(--sc-blue-2);
  font-size: 0.66rem;
  font-weight: 650;
}

.spendcheck-nav strong {
  color: var(--sc-ink);
  font-size: 0.78rem;
}

.spendcheck-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.spendcheck-tabs span {
  padding: 4px 8px;
  color: #7c8798;
  font-size: 0.5rem;
  background: #f1f5f9;
  border-radius: 999px;
}

.spendcheck-tabs span:first-child {
  color: var(--sc-blue-2);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--sc-blue-2);
}

.spendcheck-card {
  padding: 10px 11px;
  background: var(--sc-soft);
  border-radius: 12px;
}

.spendcheck-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.spendcheck-card-head strong,
.spendcheck-breakdown > strong {
  color: var(--sc-ink);
  font-size: 0.6rem;
}

.spendcheck-card-head em {
  color: #94a3b8;
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.spendcheck-card-head b {
  color: var(--sc-ink);
  font-size: 0.58rem;
}

.spendcheck-category-body {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  align-items: center;
}

.spendcheck-donut {
  width: 56px;
  aspect-ratio: 1;
  filter: drop-shadow(0 6px 12px rgba(29, 52, 96, 0.08));
}

.spendcheck-mini-legend {
  display: grid;
  gap: 4px;
}

.spendcheck-mini-legend span {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  gap: 4px;
  align-items: center;
  color: var(--sc-ink);
  font-size: 0.44rem;
  font-weight: 650;
}

.spendcheck-mini-legend i {
  width: 7px;
  height: 7px;
  background: var(--sc-color);
  border-radius: 2px;
}

.spendcheck-mini-legend b {
  color: #94a3b8;
  font-weight: 650;
}

.spendcheck-breakdown {
  margin-top: 12px;
}

.spendcheck-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  margin-top: 7px;
  padding-left: 7px;
  border-left: 3px solid var(--sc-color);
  border-radius: 2px;
  color: var(--sc-ink);
  font-size: 0.5rem;
}

.spendcheck-bar-row span {
  font-weight: 650;
}

.spendcheck-bar-row b {
  font-size: 0.5rem;
}

.spendcheck-bar-row i {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  background: #edf2f7;
  border-radius: 999px;
}

.spendcheck-bar-row i::before {
  display: block;
  width: var(--sc-width);
  height: 100%;
  content: "";
  background: var(--sc-color);
  border-radius: inherit;
}

.spend-phone,
.spend-panel,
.spend-nudge {
  position: relative;
  z-index: 1;
  color: var(--ice);
  background: linear-gradient(180deg, #0c2747, #06182f);
  border: 1px solid rgba(230, 242, 250, 0.16);
  box-shadow: 0 30px 72px rgba(8, 29, 58, 0.26);
}

.spend-phone {
  width: min(100%, 292px);
  min-height: 456px;
  padding: 13px;
  border-radius: 28px;
  transform: rotate(-2deg) translateY(8px);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 18px;
  padding: 0 12px 10px;
  color: rgba(230, 242, 250, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
}

.phone-top span:last-child {
  width: 48px;
  height: 5px;
  margin-top: 5px;
  background: rgba(230, 242, 250, 0.22);
  border-radius: 999px;
}

.phone-screen {
  display: grid;
  align-content: start;
  min-height: 402px;
  padding: 19px;
  background:
    linear-gradient(rgba(230, 242, 250, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 242, 250, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #092544, #06182f);
  background-size: 24px 24px;
  border: 1px solid rgba(230, 242, 250, 0.12);
  border-radius: 22px;
}

.phone-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ice);
  font-weight: 900;
}

.phone-title small {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 800;
}

.amount-card {
  display: grid;
  gap: 3px;
  margin-top: 24px;
}

.amount-card span,
.amount-card small {
  color: rgba(230, 242, 250, 0.62);
  font-size: 0.72rem;
}

.amount-card strong {
  color: var(--white);
  font-size: 2.3rem;
  line-height: 1;
}

.spend-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 138px;
  margin: 26px 0 18px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 242, 250, 0.1);
  border-radius: 10px;
}

.spend-chart span {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, var(--teal), rgba(37, 54, 235, 0.65));
  border-radius: 999px 999px 3px 3px;
}

.micro-insight {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 11px;
  padding: 13px;
  color: rgba(230, 242, 250, 0.76);
  background: rgba(15, 163, 163, 0.1);
  border: 1px solid rgba(15, 163, 163, 0.2);
  border-radius: 10px;
}

.micro-insight span {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.micro-insight p {
  margin: 0;
  font-size: 0.76rem;
}

.spend-panel {
  display: grid;
  gap: 17px;
  width: min(100%, 336px);
  padding: 24px;
  border-radius: 14px;
  transform: rotate(1.4deg);
}

.spend-panel-header,
.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.spend-panel-header strong {
  color: var(--white);
}

.spend-panel-header span {
  color: rgba(230, 242, 250, 0.56);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-row {
  color: rgba(230, 242, 250, 0.74);
}

.category-row div {
  flex: 1;
  min-width: 0;
}

.category-row strong {
  display: block;
  color: var(--ice);
  font-size: 0.82rem;
}

.category-row em {
  color: var(--white);
  font-style: normal;
  font-weight: 850;
}

.category-row i {
  display: block;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(230, 242, 250, 0.1);
  border-radius: 999px;
}

.category-row i::before {
  display: block;
  width: var(--value);
  height: 100%;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--cobalt));
  border-radius: inherit;
}

.category-dot {
  width: 11px;
  height: 11px;
  background: rgba(230, 242, 250, 0.74);
  border: 2px solid rgba(230, 242, 250, 0.16);
  border-radius: 50%;
}

.category-dot.teal {
  background: var(--teal);
}

.category-dot.cobalt {
  background: var(--cobalt);
}

.category-dot.pale {
  background: var(--ice);
}

.spend-nudge {
  position: absolute;
  right: 8%;
  bottom: 18px;
  width: min(265px, 42%);
  padding: 16px 18px;
  color: var(--deep-navy);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(8, 29, 58, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.spend-nudge span {
  display: block;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spend-nudge strong {
  display: block;
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.35;
}

.process-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 98px;
  padding: 0 26px;
  border-right: 1px solid var(--line);
}

.process-step span {
  display: block;
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.process-step:last-child {
  border-right: 0;
}

.process-step::after {
  position: absolute;
  top: 50%;
  right: -7px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--stone);
  border: 1px solid rgba(15, 163, 163, 0.4);
  border-radius: 50%;
  transform: translateY(-50%);
}

.process-step:last-child::after {
  display: none;
}

.process-step strong {
  display: block;
  margin-top: 14px;
  color: var(--deep-navy);
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 70px;
}

.impact-visual {
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(8, 29, 58, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.impact-area {
  fill: url("#impactFill");
}

.impact-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 6;
  stroke-linecap: round;
}

.impact-grid line {
  stroke: rgba(8, 29, 58, 0.1);
}

.impact-dot {
  fill: var(--teal);
  stroke: var(--white);
  stroke-width: 5;
}

.brand-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.58fr);
  align-items: center;
  gap: 54px;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto 110px;
  padding: 44px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(8, 29, 58, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    linear-gradient(rgba(8, 29, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 29, 58, 0.035) 1px, transparent 1px),
    rgba(230, 242, 250, 0.55);
  background-size: 28px 28px;
  border-radius: 8px;
  overflow: hidden;
}

.brand-media img {
  width: min(92%, 640px);
  filter: drop-shadow(0 20px 30px rgba(8, 29, 58, 0.12));
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.55fr);
  gap: 54px;
  align-items: start;
  padding: 98px max(32px, calc((100% - var(--max)) / 2));
  color: var(--deep-navy);
  background:
    linear-gradient(rgba(8, 29, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 29, 58, 0.022) 1px, transparent 1px),
    var(--white);
  background-size: 38px 38px, 38px 38px, auto;
  border-top: 1px solid var(--line);
}

.cta-copy h2,
.cta-copy p:not(.section-kicker) {
  color: var(--deep-navy);
}

.cta-copy p:not(.section-kicker) {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 29, 58, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--deep-navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--deep-navy);
  background: rgba(242, 244, 247, 0.9);
  border: 1px solid rgba(8, 29, 58, 0.14);
  border-radius: 7px;
  outline: 0;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(15, 163, 163, 0.74);
  box-shadow: 0 0 0 3px rgba(15, 163, 163, 0.14);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px max(32px, calc((100% - var(--max)) / 2));
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--deep-navy);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 1;
  transform: translateY(18px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
  transition-delay: var(--delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes raster-drift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 92px 46px, 46px 92px;
  }
}

@keyframes step-dot-pulse {
  0%,
  100% {
    opacity: 0.72;
    box-shadow: 0 0 0 6px rgba(15, 163, 163, 0.08);
    transform: scale(1);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 0 12px rgba(15, 163, 163, 0);
    transform: scale(1.28);
  }
}

@media (min-width: 780px) {
  .hero h1 {
    font-size: 6.75rem;
  }
}

@media (min-width: 1180px) {
  .hero h1 {
    font-size: 8.4rem;
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-shell,
  .science-section,
  .solution-showcase,
  .impact-section,
  .brand-section,
  .cta-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-shell {
    align-items: start;
    padding-top: 64px;
  }

  .hero-figure {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .figure-logo-mark {
    width: min(560px, 100%);
    margin-right: auto;
  }

  .hero-signals {
    width: min(100%, 560px);
    margin-right: auto;
    margin-left: 0;
  }

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

  .platform-card {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 0;
  }

  .site-header {
    position: relative;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: auto;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.95);
    column-gap: 12px;
    row-gap: 16px;
  }

  .brand-lockup {
    font-size: 1.1rem;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a + a::before {
    left: -12px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-raster {
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    opacity: 0.26;
  }

  .hero-shell,
  .section,
  .proof-strip,
  .process-band,
  .brand-section {
    width: min(var(--max), 82vw);
  }

  .hero-shell {
    gap: 26px;
    padding: 42px 0 36px;
  }

  .hero-copy {
    width: min(100%, 82vw);
    max-width: 82vw;
    text-shadow: none;
  }

  .hero h1 {
    font-size: 3.7rem;
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .eyebrow,
  .section-kicker {
    max-width: 30ch;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    max-width: 82vw;
  }

  .proof-strip,
  .platform-grid,
  .process-band,
  .product-mock {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    display: grid;
    gap: 12px;
    margin-top: 8px;
  }

  .figure-logo-mark {
    width: min(360px, 100%);
    margin: 4px auto 0;
  }

  .hero-signals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 2px 0 0;
    border-top: 0;
  }

  .signal-card,
  .signal-identify,
  .signal-influence,
  .signal-measure {
    width: 100%;
    padding: 15px 0 0;
    border-top: 1px solid rgba(8, 29, 58, 0.12);
  }

  .signal-card + .signal-card {
    border-left: 0;
  }

  .proof-strip {
    margin-top: 0;
  }

  .proof-item,
  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child,
  .process-step:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2,
  .science-copy h2,
  .impact-copy h2,
  .brand-copy h2,
  .cta-copy h2 {
    font-size: 2.2rem;
  }

  .science-section,
  .impact-section {
    gap: 38px;
  }

  .loop-stage {
    min-height: 250px;
  }

  .loop-asset {
    width: min(100%, 520px);
  }

  .solutions-section,
  .cta-section {
    padding: 76px 16px;
  }

  .solution-showcase {
    gap: 32px;
  }

  .solution-copy h3 {
    font-size: 2rem;
  }

  .product-mock {
    justify-items: center;
    min-height: auto;
    gap: 18px;
  }

  .product-mock::before {
    inset: 6% -8% 20%;
  }

  .spendcheck-stack {
    width: min(100%, 560px);
    min-height: 540px;
    margin: 0 auto;
  }

  .spendcheck-stack::before {
    inset: 10% -8% 12%;
  }

  .spendcheck-phone-back {
    --phone-scale: 0.64;
    top: 58px;
    left: clamp(0px, 4%, 24px);
  }

  .spendcheck-phone-front {
    left: clamp(332px, 62%, 376px);
  }

  .spend-phone,
  .spend-panel {
    width: min(100%, 340px);
    transform: none;
  }

  .spend-phone {
    min-height: 430px;
  }

  .phone-screen {
    min-height: 376px;
  }

  .spend-nudge {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 340px);
  }

  .process-band {
    padding: 28px 0;
  }

  .process-step {
    min-height: auto;
    padding: 18px 0;
  }

  .process-step::after {
    display: none;
  }

  .brand-section {
    padding: 18px;
    margin-bottom: 76px;
  }

  .brand-media {
    min-height: 250px;
  }

  .cta-section {
    gap: 32px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 16px;
  }
}

@media (max-width: 480px) {
  .hero-shell,
  .section,
  .proof-strip,
  .process-band,
  .brand-section {
    width: min(340px, calc(100% - 40px));
    margin-left: 20px;
    margin-right: auto;
  }

  .hero-copy,
  .hero-actions {
    width: 100%;
    max-width: 340px;
  }

  .spendcheck-stack {
    min-height: 500px;
  }

  .spendcheck-phone-back {
    --phone-scale: 0.59;
    top: 66px;
    left: -18px;
  }

  .spendcheck-phone-front {
    left: 246px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
