:root {
  --ink: #11251e;
  --ink-soft: #34463f;
  --muted: #6b7772;
  --line: #dce4df;
  --line-strong: #cbd7d0;
  --paper: #fbfcfa;
  --soft: #f1f5f1;
  --mist: #e7f1eb;
  --green: #08785a;
  --green-bright: #11a97c;
  --lime: #d9f576;
  --forest: #082c21;
  --white: #fff;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgb(12 43 32 / 5%), 0 8px 24px rgb(12 43 32 / 7%);
  --shadow-lg: 0 30px 80px rgb(12 43 32 / 13%), 0 2px 8px rgb(12 43 32 / 5%);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button,
input { font: inherit; }

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

:focus-visible {
  outline: 3px solid rgb(17 169 124 / 35%);
  outline-offset: 4px;
}

.nav-wrap {
  width: min(100% - 40px, 1240px);
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 42px;
  position: relative;
  z-index: 20;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.logo-icon {
  width: 39px;
  height: 31px;
  border: 2px solid currentColor;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 6px;
  box-shadow: 4px 4px 0 currentColor;
}

.logo-icon i {
  display: block;
  width: 4px;
  background: currentColor;
  border-radius: 4px 4px 1px 1px;
}

.logo-icon i:nth-child(1) { height: 8px; }
.logo-icon i:nth-child(2) { height: 15px; }
.logo-icon i:nth-child(3) { height: 11px; }

.nav-wrap nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-wrap nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav-wrap nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.nav-wrap nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--ink);
  color: white !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  padding: 8px;
}

.menu-button span { display: block; width: 23px; height: 2px; margin: 5px; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 20px 112px;
  text-align: center;
  background:
    linear-gradient(rgb(8 120 90 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(8 120 90 / 5%) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  background-position: center top;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--paper) 0, transparent 16%, transparent 72%, var(--paper) 100%);
  pointer-events: none;
}

.glow {
  position: absolute;
  pointer-events: none;
  filter: blur(12px);
  opacity: .75;
}

.glow-a { width: 720px; height: 570px; left: -8%; top: 20px; background: radial-gradient(ellipse, #bfeeda8c, transparent 68%); }
.glow-b { width: 720px; height: 570px; right: -8%; top: 30px; background: radial-gradient(ellipse, #e1ddfb75, transparent 68%); }

.announcement {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  border: 1px solid rgb(8 120 90 / 18%);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgb(255 255 255 / 78%);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.announcement span,
.pulse {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 5px rgb(17 169 124 / 12%);
}

.hero h1,
.problem h2,
.section-heading h2,
.final-cta h2 {
  font-family: var(--display);
  text-wrap: balance;
}

.hero h1 {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(50px, 6.2vw, 90px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.065em;
}

.hero h1 em {
  position: relative;
  color: var(--green);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 2px;
  left: 2%;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  z-index: -1;
}

.hero-copy {
  position: relative;
  max-width: 720px;
  margin: 28px auto 36px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.012em;
}

.hero-search {
  position: relative;
  max-width: 820px;
  margin: auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 22px 60px rgb(12 43 32 / 14%);
  text-align: left;
  backdrop-filter: blur(12px);
}

.hero-search label { padding: 5px 18px; }
.hero-search label + label { border-left: 1px solid var(--line); }

.hero-search label span {
  display: block;
  margin-bottom: 1px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 1px 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.hero-search input::placeholder { color: #a4ada8; font-weight: 500; }

.hero-search button {
  border: 0;
  border-radius: 12px;
  padding: 0 23px;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.hero-search button:hover { background: #056a4e; transform: translateY(-1px); }
.hero-search button:disabled { cursor: wait; opacity: .65; }
.hero-search button b { margin-left: 14px; font-size: 17px; }

.search-status {
  position: absolute;
  top: calc(100% + 36px);
  right: 0;
  left: 0;
  color: #a13d25;
  font-size: 12px;
  text-align: center;
}

.search-note { position: relative; margin: 15px 0 0; color: var(--muted); font-size: 11px; }

.proof-row {
  position: relative;
  margin: 48px auto 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.proof-row div { display: flex; align-items: center; gap: 7px; }
.proof-row strong { color: var(--ink); font-weight: 800; }
.proof-row > i { width: 3px; height: 3px; border-radius: 50%; background: #aebbb4; }
.proof-icon { color: var(--green); font-size: 18px; }

.product-window {
  position: relative;
  max-width: 1040px;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.window-tabs {
  height: 62px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: #fcfdfc;
}

.window-tabs button {
  position: relative;
  border: 0;
  padding: 0 20px;
  background: none;
  color: #87918c;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.window-tabs button.is-active { color: var(--ink); }
.window-tabs button.is-active::after { content: ""; position: absolute; right: 7px; bottom: -1px; left: 7px; height: 2px; background: var(--green-bright); }
.window-tabs .pulse { width: 6px; height: 6px; margin-right: 9px; }

.window-live {
  margin-left: auto;
  align-self: center;
  border: 1px solid #b5decf;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.demo-panel { display: none; }
.demo-panel.is-active { display: block; }

.demo-address { padding: 28px 32px 20px; display: flex; align-items: end; justify-content: space-between; }
.demo-address small, .units-demo small { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.demo-address h2 { margin: 3px 0 0; font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.035em; }
.demo-address a { color: var(--green); font-size: 12px; font-weight: 700; }

.feed article {
  display: grid;
  grid-template-columns: 100px 14px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 32px;
  border-top: 1px solid #edf1ee;
}

.feed time { color: #87918c; font-size: 11px; font-variant-numeric: tabular-nums; }
.feed-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgb(17 169 124 / 10%); }
.feed-mark.calc { border-radius: 0; background: #c15d3e; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.feed strong { font-size: 13px; font-weight: 800; }
.feed p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }

.tag { border: 1px solid #b5e4d2; border-radius: 999px; padding: 3px 8px; background: #eaf8f2; color: var(--green); font-size: 9px; font-weight: 700; }
.tag-calc { border-color: #efc6b8; background: #fff1ec; color: #9c3b22; }

.window-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 10px;
}

.window-footer b { color: var(--ink); }
.window-footer .updated { margin-left: auto; }
.under-window { position: relative; margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.under-window .pulse { width: 6px; height: 6px; margin-right: 9px; }

.units-demo { min-height: 330px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 50px 64px; }
.units-demo strong { display: block; color: var(--green); font-family: var(--display); font-size: 88px; font-weight: 600; line-height: 1; letter-spacing: -.08em; }
.units-demo p { color: var(--muted); font-size: 13px; }

.mini-building { min-height: 220px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 36px; background: var(--forest); box-shadow: 12px 14px 0 var(--mist); transform: rotate(1deg); }
.mini-building span { min-height: 42px; border: 1px solid #668175; background: #173b2d; }
.mini-building .lit { background: var(--lime); box-shadow: 0 0 17px rgb(217 245 118 / 45%); }

.evidence-demo { min-height: 330px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 48px; }
.evidence-demo article { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 25px; }
.evidence-demo article > span { width: 12px; height: 12px; flex: none; margin-top: 4px; }
.observed-dot { border-radius: 50%; background: var(--green-bright); }
.calculated-dot { background: #c15d3e; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.inferred-dot { border: 2px dashed #7e8d83; border-radius: 50%; }
.evidence-demo strong { font-size: 14px; }
.evidence-demo p { color: var(--muted); font-size: 12px; }

.problem,
.evidence-section,
.archive {
  padding: clamp(100px, 11vw, 160px) max(24px, calc((100vw - 1160px) / 2));
}

.kicker {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.problem h2,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.problem-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px, 9vw, 130px); margin-top: 80px; }
.problem-grid > p { margin: 0; color: var(--ink-soft); font-size: 19px; line-height: 1.7; letter-spacing: -.018em; }
.steps { border-top: 1px solid var(--line-strong); }
.steps article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.steps article > span { padding-top: 2px; color: var(--green); font-family: var(--display); font-size: 11px; font-weight: 700; }
.steps strong { font-size: 14px; font-weight: 800; }
.steps p { margin: 3px 0; color: var(--muted); font-size: 12px; }

.evidence-section { background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 68px; }
.section-heading > p { max-width: 400px; margin-bottom: 7px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.evidence-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.evidence-cards article {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 80%) inset;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.evidence-cards article:hover { border-color: #b8c9bf; background: white; transform: translateY(-6px); }
.card-code { color: #77857d; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.card-symbol { position: relative; height: 80px; margin: 42px 0 25px; }
.observed-symbol::before { content: ""; position: absolute; top: 10px; left: 10px; width: 54px; height: 54px; border-radius: 50%; background: #d6f2e7; }
.observed-symbol::after { content: ""; position: absolute; top: 28px; left: 28px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 8px white; }
.calculated-symbol::before { content: ""; position: absolute; left: 5px; border-right: 35px solid transparent; border-bottom: 65px solid #f1c1b1; border-left: 35px solid transparent; }
.calculated-symbol::after { content: "Δ"; position: absolute; top: 28px; left: 31px; color: #8e371f; font-size: 17px; font-weight: 800; }
.inferred-symbol::before { content: "?"; position: absolute; top: 5px; left: 7px; width: 58px; height: 58px; display: grid; place-items: center; border: 2px dashed #8b9b90; border-radius: 50%; color: #607168; font-size: 25px; }
.evidence-cards h3 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -.035em; }
.evidence-cards p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.evidence-cards small { margin-top: auto; border-top: 1px solid var(--line); padding-top: 17px; color: #738078; font-size: 10px; }

.archive .section-heading > a { margin-bottom: 8px; color: var(--green); font-size: 12px; font-weight: 800; }
.archive-list { border-top: 1px solid var(--line-strong); }
.archive-list > a { display: grid; grid-template-columns: 55px 1fr auto 25px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line-strong); padding: 26px 6px; text-decoration: none; transition: padding .25s ease, background .25s ease; }
.archive-list > a:hover { padding-right: 16px; padding-left: 16px; background: var(--soft); }
.archive-no { color: var(--green); font-family: var(--display); font-size: 11px; font-weight: 700; }
.archive-list small { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.archive-list strong { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.archive-stats { display: flex; gap: 30px; color: var(--muted); font-size: 10px; }
.archive-stats b { color: var(--ink); }
.archive-arrow { color: var(--green); font-size: 16px; }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(105px, 12vw, 175px) 20px;
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    var(--forest);
  background-size: 52px 52px;
  color: white;
  text-align: center;
}

.final-cta .kicker { position: relative; color: var(--lime); }
.final-cta h2 { position: relative; font-size: clamp(52px, 7vw, 96px); }
.final-cta > a { position: relative; display: inline-flex; align-items: center; gap: 44px; margin: 42px 0 14px; border-radius: 999px; padding: 15px 19px 15px 24px; background: var(--lime); color: var(--forest); font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.final-cta > a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgb(0 0 0 / 20%); }
.final-cta > a span { font-size: 20px; }
.final-cta > p:last-child { position: relative; color: #a8bbb2; font-size: 10px; }
.cta-glow { position: absolute; top: 2%; left: 50%; width: 900px; height: 580px; background: radial-gradient(ellipse, rgb(40 137 103 / 55%), transparent 66%); transform: translateX(-50%); }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 25px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding: 58px max(24px, calc((100vw - 1160px) / 2));
  background: #061f18;
  color: white;
}

footer .inverse { color: white; }
footer p { color: #96aaa0; font-size: 12px; }
footer > div { display: flex; gap: 24px; }
footer > div a { color: #c7d4ce; font-size: 11px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
footer small { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 9%); padding-top: 24px; color: #718b7f; font-size: 10px; }

@media (max-width: 850px) {
  .nav-wrap { height: 76px; }
  .nav-wrap nav, .nav-cta { display: none; }
  .nav-wrap.is-open nav { position: absolute; top: 68px; right: 0; left: 0; display: flex; align-items: start; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: white; box-shadow: var(--shadow-lg); }
  .menu-button { display: block; }
  .hero { padding-top: 64px; }
  .proof-row { flex-wrap: wrap; }
  .proof-row > i { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .evidence-cards { grid-template-columns: 1fr; }
  .evidence-cards article { min-height: 285px; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading > a { display: block; margin-top: 26px; }
  .archive-stats { gap: 13px; }
  .archive-stats span:last-child { display: none; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 600px) {
  .nav-wrap { width: min(100% - 30px, 1240px); height: 70px; }
  .logo { font-size: 18px; }
  .logo-icon { width: 35px; height: 28px; }
  .hero { padding: 54px 15px 88px; background-size: 38px 38px; }
  .announcement { margin-bottom: 23px; font-size: 9px; }
  .hero h1 { font-size: clamp(36px, 9.8vw, 42px); line-height: 1.02; letter-spacing: -.06em; }
  .hero-copy { margin: 24px auto 29px; font-size: 15px; line-height: 1.65; }
  .hero-search { grid-template-columns: 1fr; padding: 8px; border-radius: 15px; }
  .hero-search label { padding: 8px 12px; }
  .hero-search label + label { border-top: 1px solid var(--line); border-left: 0; }
  .hero-search button { height: 51px; margin-top: 5px; border-radius: 10px; }
  .search-status { top: 100%; }
  .proof-row { display: grid; gap: 9px; margin: 38px auto 46px; }
  .product-window { border-radius: 17px; }
  .window-tabs { height: 57px; overflow: auto; padding: 0 6px; }
  .window-tabs button { padding: 0 13px; font-size: 10px; white-space: nowrap; }
  .window-live { display: none; }
  .demo-address { display: block; padding: 20px; }
  .demo-address h2 { font-size: 23px; }
  .demo-address a { display: block; margin-top: 9px; }
  .feed article { grid-template-columns: 72px 10px 1fr; gap: 9px; padding: 14px 18px; }
  .feed .tag { display: none; }
  .feed strong { font-size: 11px; }
  .window-footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 13px 15px; text-align: center; }
  .window-footer .updated { display: none; }
  .units-demo { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .mini-building { padding: 23px; }
  .evidence-demo { grid-template-columns: 1fr; padding: 22px; }
  .evidence-demo article { padding: 17px; }
  .problem, .evidence-section, .archive { padding-top: 92px; padding-bottom: 92px; }
  .problem h2, .section-heading h2 { font-size: 40px; }
  .problem-grid { margin-top: 46px; }
  .problem-grid > p { font-size: 16px; }
  .section-heading { margin-bottom: 46px; }
  .evidence-cards article { padding: 25px; }
  .archive-list > a { grid-template-columns: 34px 1fr 20px; }
  .archive-stats { grid-row: 2; grid-column: 2 / 3; display: flex; }
  .archive-arrow { grid-row: 1; grid-column: 3; }
  .final-cta { background-size: 38px 38px; }
  .final-cta h2 { font-size: 47px; }
  footer { grid-template-columns: 1fr; }
  footer > div { grid-row: 2; }
  footer small { grid-row: 3; }
  .glow-a, .glow-b { width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
