:root {
  --ink: #090b10;
  --ink-soft: #12161f;
  --paper: #f5f6f1;
  --white: #ffffff;
  --muted: #aeb4bd;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: #d9ddd8;
  --blue: #3768ff;
  --lime: #d9ff43;
  --coral: #ff6f61;
  --shell: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-140%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 11, 16, 0.93);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--white);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
}

.primary-nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:not(.nav-cta) {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.primary-nav a:not(.nav-cta):hover,
.primary-nav a:not(.nav-cta):focus-visible {
  border-color: currentColor;
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 860px;
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("/assets/hero-liquid-glass.png");
  background-position: center center;
  background-size: cover;
  transform: none;
  animation: settle 1400ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(5, 7, 11, 0.12);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(5, 7, 11, 0.06);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 860px;
  min-height: 100svh;
  padding-top: 126px;
  padding-bottom: 86px;
}

.eyebrow,
.section-index {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 950px;
  margin-top: 26px;
  font-size: clamp(52px, 7vw, 108px);
}

.hero-lead {
  max-width: 650px;
  margin-top: 32px;
  color: #d7dbe1;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding-block: 10px;
  color: var(--white);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin-top: 70px;
  border-top: 1px solid var(--line-dark);
}

.hero-proof div {
  padding: 18px 20px 0 0;
}

.hero-proof div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line-dark);
}

.hero-proof dt {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.hero-proof dd {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-status {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dce1e8;
  font-size: 12px;
  font-weight: 650;
}

.hero-status span {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(217, 255, 67, 0.13);
}

.intro-band {
  padding-block: clamp(74px, 9vw, 138px);
  background: var(--lime);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 2.2fr 1.2fr;
  gap: clamp(30px, 5vw, 86px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.visual-heading h2,
.method-sticky h2,
.contact-inner h2 {
  font-size: clamp(42px, 5.2vw, 78px);
}

.intro-grid > p:last-child,
.section-heading > p,
.visual-heading > div > p,
.method-sticky > p:last-child {
  font-size: 18px;
  line-height: 1.6;
}

.scenario-section,
.impact-section,
.method-section {
  padding-block: clamp(90px, 11vw, 170px);
}

.scenario-section {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.9fr);
  gap: clamp(44px, 7vw, 116px);
  align-items: end;
}

.section-heading .section-index,
.visual-heading .section-index,
.method-sticky .section-index {
  margin-bottom: 26px;
  color: #5f6670;
}

.scenario-tabs {
  display: inline-flex;
  gap: 6px;
  margin-top: 72px;
  padding: 5px;
  background: #e4e7e2;
  border-radius: 6px;
}

.scenario-tabs button {
  min-height: 42px;
  padding: 9px 16px;
  color: #4d545d;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.scenario-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--ink);
}

.scenario-panel {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(500px, 1.4fr);
  gap: clamp(44px, 7vw, 112px);
  margin-top: 36px;
  padding: clamp(34px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.scenario-panel:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.scenario-label {
  color: var(--lime);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.scenario-summary h3 {
  max-width: 520px;
  margin-top: 18px;
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1.06;
}

.scenario-summary > p:not(.scenario-label) {
  max-width: 560px;
  margin-top: 24px;
  color: #b9c0ca;
  font-size: 17px;
}

.scenario-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.scenario-result span {
  color: var(--lime);
  font-size: 42px;
  font-weight: 700;
  line-height: 0.9;
}

.scenario-result p {
  max-width: 230px;
  color: #929aa6;
  font-size: 12px;
}

.flow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: -12px;
  left: 39px;
  width: 1px;
  height: 13px;
  background: var(--lime);
}

.flow-number {
  color: #757e8a;
  font-size: 12px;
  font-weight: 700;
}

.flow strong,
.flow small {
  display: block;
}

.flow strong {
  font-size: 18px;
}

.flow small {
  margin-top: 4px;
  color: #8f98a5;
  font-size: 13px;
}

.flow-state {
  padding: 5px 8px;
  color: #b7bfca;
  border: 1px solid #3f4753;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.flow-state-done {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.visual-section {
  padding-top: clamp(90px, 11vw, 170px);
  color: var(--white);
  background: var(--ink);
}

.visual-heading {
  display: grid;
  grid-template-columns: 0.7fr 2.4fr;
  gap: clamp(42px, 8vw, 140px);
  align-items: start;
  padding-bottom: 74px;
}

.visual-heading .section-index {
  color: #89919c;
}

.visual-heading > div {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.visual-heading > div > p {
  color: #aeb5bf;
}

.system-visual {
  position: relative;
  width: 100%;
  max-height: 900px;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}

.system-visual img {
  width: 100%;
  max-height: 900px;
  object-fit: cover;
}

.system-visual figcaption {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  left: var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #d8dde5;
  font-size: 12px;
  font-weight: 700;
}

.system-visual figcaption span:nth-child(2) {
  text-align: center;
}

.system-visual figcaption span:last-child {
  text-align: right;
}

.impact-section {
  background: var(--white);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 78px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.metric {
  min-height: 330px;
  padding: clamp(28px, 4vw, 54px);
  color: var(--ink);
}

.metric p {
  font-size: 16px;
  font-weight: 700;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  margin-top: 80px;
  font-size: clamp(58px, 7vw, 100px);
  line-height: 0.85;
}

.metric span {
  margin-top: 24px;
  font-size: 14px;
}

.metric-blue {
  color: var(--white);
  background: var(--blue);
}

.metric-lime {
  background: var(--lime);
}

.metric-coral {
  background: var(--coral);
}

.impact-total {
  display: grid;
  grid-template-columns: 0.6fr 1.3fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px 0 0;
}

.impact-total p {
  color: #5d6570;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.impact-total strong {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
}

.impact-total span {
  color: #646b73;
  font-size: 14px;
}

.method-section {
  color: var(--white);
  background: var(--ink-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.25fr);
  gap: clamp(60px, 11vw, 180px);
  align-items: start;
}

.method-sticky {
  position: sticky;
  top: 130px;
}

.method-sticky > p:last-child {
  max-width: 480px;
  margin-top: 32px;
  color: #aeb5bf;
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.method-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line-dark);
}

.method-list > li > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 750;
}

.method-list h3 {
  font-size: 30px;
}

.method-list p {
  max-width: 590px;
  margin-top: 12px;
  color: #9fa7b2;
  font-size: 16px;
}

.contact-section {
  position: relative;
  min-height: 760px;
  color: var(--ink);
  background: var(--blue);
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 760px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.contact-inner h2 {
  max-width: 1080px;
  margin-top: 28px;
  color: var(--white);
}

.contact-inner > p:not(.section-index) {
  max-width: 660px;
  margin-top: 30px;
  color: #dce4ff;
  font-size: 19px;
}

.button-light {
  margin-top: 38px;
  color: var(--ink);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--lime);
}

.contact-mark {
  position: absolute;
  right: 0;
  bottom: -0.28em;
  color: rgba(255, 255, 255, 0.09);
  font-size: min(76vw, 1000px);
  font-weight: 800;
  line-height: 0.8;
  pointer-events: none;
}

.site-footer {
  padding-block: 44px;
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  margin-top: 3px;
  color: #8e96a1;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 26px;
}

.site-footer a {
  color: #c1c6ce;
  font-size: 13px;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--lime);
}

.site-footer > .footer-grid > p {
  color: #747c87;
  font-size: 12px;
  text-align: right;
}

@keyframes settle {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1080px) {
  .intro-grid {
    grid-template-columns: 1fr 2.4fr;
  }

  .intro-grid > p:last-child {
    grid-column: 2;
  }

  .scenario-panel {
    grid-template-columns: 1fr;
  }

  .visual-heading > div {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .impact-total {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .impact-total span {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 110px var(--gutter) 50px;
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    font-size: 30px;
  }

  .primary-nav .nav-cta {
    margin-top: 16px;
    font-size: 17px;
  }

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

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

  .hero {
    min-height: 820px;
  }

  .hero-media {
    background-position: 34% center;
  }

  .hero::after {
    background: rgba(5, 7, 11, 0.64);
  }

  .hero-inner {
    min-height: 820px;
  }

  .hero h1 {
    font-size: clamp(50px, 13vw, 78px);
  }

  .hero-proof {
    margin-top: 52px;
  }

  .hero-status {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .visual-heading,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid > p:last-child {
    grid-column: auto;
  }

  .scenario-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .scenario-tabs button {
    padding-inline: 8px;
  }

  .visual-heading > div {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 260px;
  }

  .metric strong {
    margin-top: 48px;
  }

  .method-sticky {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer > .footer-grid > p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 20px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero,
  .hero-inner {
    min-height: 780px;
  }

  .hero-inner {
    justify-content: flex-end;
    padding-top: 104px;
    padding-bottom: 54px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(46px, 13.2vw, 66px);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
  }

  .hero-proof div,
  .hero-proof div + div {
    padding: 14px 8px 0;
  }

  .hero-proof div:first-child {
    padding-left: 0;
  }

  .hero-proof dt {
    font-size: 28px;
  }

  .hero-proof dd {
    font-size: 10px;
    line-height: 1.35;
  }

  .intro-grid h2,
  .section-heading h2,
  .visual-heading h2,
  .method-sticky h2,
  .contact-inner h2 {
    font-size: clamp(40px, 11vw, 54px);
  }

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

  .scenario-tabs button {
    min-height: 58px;
    line-height: 1.2;
    white-space: normal;
  }

  .scenario-tabs button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .scenario-panel {
    gap: 44px;
    padding: 26px 20px;
  }

  .scenario-result {
    grid-template-columns: 1fr;
  }

  .flow li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px;
  }

  .flow li:not(:last-child)::after {
    left: 28px;
  }

  .flow-state {
    grid-column: 2;
    justify-self: start;
  }

  .visual-heading {
    padding-bottom: 52px;
  }

  .system-visual {
    min-height: 520px;
  }

  .system-visual img {
    width: 100%;
    height: 520px;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .system-visual figcaption {
    bottom: 18px;
    gap: 8px;
    font-size: 9px;
  }

  .impact-total {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .impact-total span {
    grid-column: auto;
  }

  .method-grid {
    gap: 62px;
  }

  .method-list li {
    grid-template-columns: 40px 1fr;
  }

  .contact-section,
  .contact-inner {
    min-height: 680px;
  }

  .contact-mark {
    right: 0;
    font-size: 138vw;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
