:root {
  color-scheme: light;
  --canvas: #f5f7f2;
  --paper: #ffffff;
  --ink: #18281e;
  --muted: #4b5c50;
  --line: #d3ded2;
  --forest: #13241c;
  --forest-deep: #101e17;
  --forest-card: #1c3125;
  --leaf: #d4ef88;
  --parchment: #f4f8ef;
  --light-muted: #bbcbbb;
  --gutter: clamp(1.2rem, 4.8vw, 4.75rem);
  --radius: 1rem;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-family: Inter, Aptos, "Helvetica Neue", Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
figure, dl, dd { margin: 0; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
section[id] { scroll-margin-top: 1.5rem; }

:focus-visible {
  outline: 3px solid #57883c;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  padding: .625rem 1rem;
  transform: translateY(-150%);
  background: var(--leaf);
  color: var(--forest);
}

.skip-link:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), 78rem);
  margin-inline: auto;
}

.masthead, .hero, .quickstart-section {
  background: var(--forest);
  color: var(--parchment);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.65rem;
  border-bottom: 1px solid #ffffff24;
}

.brand, .nav a, .footer a { text-decoration: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  justify-self: start;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.055em;
}

.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-links a { color: var(--light-muted); font-size: .94rem; font-weight: 600; }
.nav-links a:hover { color: var(--leaf); }
.nav-paper {
  justify-self: end;
  padding: .48rem .8rem;
  border: 1px solid #ffffff36;
  border-radius: .45rem;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 680;
}

.nav-paper span {
  margin-inline-start: .35rem;
  color: var(--leaf);
  font: 700 .75rem var(--mono);
}

.nav-paper:hover, .button-outline:hover { border-color: var(--leaf); }

.hero {
  background-image: radial-gradient(ellipse at 77% 54%, #253e2e 0%, transparent 62%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6.2vw, 6.4rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #37513d;
  font: 700 .82rem/1.45 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.rule { width: 1.5rem; height: 1px; flex: 0 0 auto; background: currentColor; }
.hero .eyebrow, .quickstart-section .eyebrow, .condition-card .eyebrow { color: var(--leaf); }

.hero h1 {
  margin: .9rem 0 .65rem -.06em;
  white-space: nowrap;
  font-size: clamp(4.65rem, 9.6vw, 9.2rem);
  font-weight: 830;
  line-height: .96;
  letter-spacing: -.06em;
}

.hero-dash { color: var(--leaf); }
.hero-title {
  max-width: 30rem;
  font-size: clamp(1.1rem, 1.85vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.021em;
}

.hero-description { max-width: 31rem; margin-block: 1.15rem 1.75rem; color: var(--light-muted); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .48rem;
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
}

.button-primary { color: var(--forest-deep); background: var(--leaf); }
.button-primary:hover { background: #e8faa8; }
.button-outline { border-color: #ffffff48; color: var(--parchment); }
.play-icon {
  width: 0;
  height: 0;
  border-block: .34rem solid transparent;
  border-left: .52rem solid currentColor;
}

.hero-map {
  overflow: hidden;
  border: 1px solid #9db9a852;
  border-radius: var(--radius);
  background: #162a20;
}

.map-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 1.38;
  background-color: #152a20;
  background-image:
    linear-gradient(#9bd4a814 1px, transparent 1px),
    linear-gradient(90deg, #9bd4a814 1px, transparent 1px),
    radial-gradient(ellipse at 50% 50%, #304637, transparent 77%);
  background-position: center;
  background-size: 2rem 2rem, 2rem 2rem, auto;
}

.map-frame img {
  width: 100%;
  height: 100%;
  padding: 2rem .45rem .55rem;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: grayscale(1) invert(1) contrast(1.155) brightness(3.45) sepia(1) hue-rotate(35deg) saturate(2.15);
  mask-image: radial-gradient(ellipse 75% 83% at 50% 51%, black 52%, transparent 89%);
}

.map-label {
  position: absolute;
  z-index: 1;
  top: .9rem;
  left: 1rem;
  padding: .25rem .45rem;
  border: 1px solid #a0baae60;
  border-radius: .2rem;
  background: #152a20;
  color: var(--leaf);
  font: 700 .72rem/1.3 var(--mono);
  letter-spacing: .045em;
}

.map-cross {
  position: absolute;
  width: .65rem;
  height: .65rem;
  border: solid #badea6a8;
}

.map-cross-ne { top: 1rem; right: 1rem; border-width: 1px 1px 0 0; }
.map-cross-sw { bottom: 1rem; left: 1rem; border-width: 0 0 1px 1px; }

.hero-map figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding: .6rem 1rem;
  border-top: 1px solid #ffffff22;
  color: #c5d4c6;
  font: 500 .78rem/1.45 var(--mono);
}

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: end;
  gap: .85rem 2.5rem;
  margin-bottom: clamp(1.95rem, 4vw, 3rem);
}

.section-heading > p, .launch-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); max-width: 34rem; }
.section h2 { margin-top: .55rem; font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -.055em; }

.demos-section { background: #eff3ec; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(17rem, 1fr); align-items: start; gap: 1rem; }
.demo-panels { grid-area: 1 / 1; min-width: 0; }
.demo-panel {
  overflow: hidden;
  border: 1px solid #c9d6c8;
  border-radius: var(--radius);
  background: var(--paper);
}

.demo-panel:not([hidden]) ~ .demo-panel:not([hidden]) { margin-top: 1rem; }
.demo-media { position: relative; }
.demo-panel video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #eaede6;
}

.player-start {
  position: absolute;
  inset: 50% auto auto 50%;
  display: flex;
  align-items: center;
  gap: .6rem;
  transform: translate(-50%, -50%);
  padding: .7rem .9rem;
  border: 1px solid #c1dcc4;
  border-radius: .45rem;
  background: var(--forest);
  color: var(--parchment);
  font-weight: 730;
  white-space: nowrap;
  cursor: pointer;
}

.player-start .play-icon { color: var(--leaf); }
.player-start:hover { background: var(--forest-card); }
.player-start-overview {
  inset: auto auto clamp(.3rem, 1vw, .85rem) 50%;
  transform: translateX(-50%);
  padding: .3rem .75rem;
  font-size: .875rem;
  line-height: 1.35;
}

.demo-caption { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1.4rem; padding: 1.05rem 1.2rem 1.2rem; }
.meta { color: #37513d; font: 650 .8rem/1.4 var(--mono); }
.demo-caption h3 { margin: .3rem 0; font-size: clamp(1.45rem, 3vw, 2.1rem); letter-spacing: -.05em; }
.demo-caption p { color: var(--muted); }
.text-link { color: #244c30; font-weight: 690; text-underline-offset: .2em; }
.text-link:hover { color: #162d1b; }
.demo-caption .text-link { flex-shrink: 0; }
.demo-picker { display: grid; grid-area: 1 / 2; gap: .56rem; }
.demo-option {
  display: grid;
  grid-template-columns: minmax(0, 4.7rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: .72rem;
  min-height: 4.65rem;
  padding: .65rem;
  border: 1px solid #c8d6c8;
  border-radius: .65rem;
  background: #f8fbf6;
  text-decoration: none;
}

.demo-option:hover { background: #e7efe3; border-color: #90a693; }
.demo-option[aria-selected="true"] { color: var(--parchment); background: var(--forest-card); border-color: var(--forest-card); }
.demo-option img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: .3rem; object-fit: cover; }
.demo-option strong, .demo-option small { display: block; line-height: 1.2; }
.demo-option strong { font-size: 1rem; }
.demo-option small { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.demo-option[aria-selected="true"] small { color: var(--light-muted); }
.rate { padding: .18rem .35rem; border-radius: .24rem; background: #e2eddd; color: #2c4e36; font: 750 .85rem/1.28 var(--mono); }
.demo-option[aria-selected="true"] .rate { background: var(--leaf); color: var(--forest); }

.method-section { border-top: 1px solid var(--line); background: var(--paper); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: start; gap: 1.5rem 3rem; }
.steps { display: grid; list-style: none; margin: 0; padding: 0 0 0 1.22rem; border-left: 1px solid #99af9a; gap: 1.3rem; }
.steps li { position: relative; }
.steps li::before {
  content: "";
  position: absolute;
  top: .4rem;
  left: -1.55rem;
  width: .58rem;
  height: .58rem;
  border: 1px solid #68876f;
  border-radius: 100%;
  background: #d4e9c9;
  box-shadow: 0 0 0 4px var(--paper);
}

.steps h3 { margin-bottom: .3rem; font-size: 1.27rem; letter-spacing: -.028em; }
.steps p, .paper-figure figcaption { color: var(--muted); }
.method-note { margin-top: 1.45rem; padding: .85rem 1rem; border-radius: .45rem; background: #edf4e7; color: #2d4b34; }

.paper-figure { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.paper-figure > a { display: block; padding: .85rem; }
.paper-figure > a:focus-visible { outline-offset: -3px; }
.paper-figure img { width: 100%; height: auto; }
.paper-figure figcaption { padding: .7rem .95rem; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.48; background: #f7faf5; }

.results-section { border-top: 1px solid var(--line); }
.results-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 1rem; margin-bottom: 1rem; }
.result-table { overflow: hidden; padding: 1.12rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.3; }
caption { padding: 0 0 .65rem; font-size: 1.18rem; font-weight: 750; text-align: left; letter-spacing: -.025em; }
th, td { padding: .66rem .4rem; border-bottom: 1px solid #e0e8dd; font-size: .94rem; }
th { font-weight: 670; }
thead th { background: #eff4eb; color: #354c3a; }
.result-table td:last-child, .result-table thead th:last-child { text-align: end; }
td:last-child { font-variant-numeric: tabular-nums; }
.result-table td:last-child { white-space: nowrap; color: #234e32; font-weight: 750; }
.table-note { margin-block: .72rem; font-size: .9rem; color: var(--muted); }

.condition-card { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--forest-card); color: var(--parchment); }
.condition-metric {
  display: grid;
  grid-template-columns: auto minmax(1.25rem, 1fr) auto;
  align-items: start;
  gap: .6rem;
  margin-block: 1.4rem 1.1rem;
}

.condition-metric strong { display: block; font-size: clamp(2.1rem, 4.3vw, 4.3rem); line-height: 1; letter-spacing: -.065em; }
.condition-metric div:last-child strong { color: var(--leaf); }
.condition-metric div > span { display: block; font-size: .9rem; color: var(--light-muted); margin-top: .35rem; }
.condition-line { position: relative; align-self: start; margin-top: clamp(1rem, 2.1vw, 2.05rem); height: 1px; background: #a3c87e; }
.condition-line::after {
  content: "";
  position: absolute;
  top: -.23rem;
  right: 0;
  width: .47rem;
  height: .47rem;
  transform: rotate(45deg);
  border: solid #a3c87e;
  border-width: 1px 1px 0 0;
}

.condition-card > p:last-child { color: #c9d8ca; }

.evidence { display: grid; gap: .68rem; margin-top: 1.15rem; }
details { border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); }
summary {
  position: relative;
  display: block;
  cursor: pointer;
  padding: .9rem 3rem .9rem 1.05rem;
  font-weight: 730;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1rem; top: .74rem; color: #3b6544; font: 500 1.4rem/1.4 var(--mono); }
details[open] > summary::after { content: "−"; }
.details-body { padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); }
.all-results { overflow-x: auto; }
.all-results table { min-width: 39rem; }
.all-results th:nth-last-child(-n + 2), .all-results td:nth-last-child(-n + 2) { text-align: right; }
.all-results td:nth-last-child(-n + 2) { font-variant-numeric: tabular-nums; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.evidence-grid .wide { grid-column: 1 / -1; }

.launch-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem 3.2rem; align-items: start; }
.launch-grid > div:first-child > p:not(.eyebrow) { margin-top: .85rem; color: var(--light-muted); }
.repo-link { margin-top: 1.15rem; }
.terminal { min-width: 0; overflow: hidden; border: 1px solid #ffffff30; border-radius: .65rem; background: var(--forest-deep); }
.terminal-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .68rem .9rem; border-bottom: 1px solid #ffffff25; color: #c8d8ca; font: 600 .83rem/1.5 var(--mono); }
.copy-button { padding: .2rem .45rem; border: 1px solid #b6cce666; border-radius: .3rem; background: none; color: var(--parchment); cursor: pointer; }
.copy-button:hover { border-color: var(--leaf); }
pre { overflow: auto; margin: 0; padding: 1rem; font: 400 .86rem/1.7 var(--mono); color: #e3f1de; }
code { font-family: var(--mono); }
.footer { background: var(--forest-deep); color: #cbd8cb; border-top: 1px solid #c4dbc32e; }
.footer-layout { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.4rem; padding-block: 1.1rem; }
.footer .brand { margin-right: auto; color: var(--parchment); }
.footer a { font-size: .94rem; }
.footer a:hover { color: var(--leaf); }

@media (max-width: 55rem) {
  .hero-layout { gap: 1.6rem; }
  .hero h1 { font-size: clamp(4.1rem, 10.3vw, 6.8rem); }
  .demo-layout { grid-template-columns: minmax(0, 1.65fr) minmax(13.5rem, 1fr); }
  .demo-option { grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .45rem; }
  .demo-caption { align-items: start; flex-direction: column; }
  .condition-metric { gap: .4rem; }
  .method-grid, .launch-grid { column-gap: 1.8rem; }
}

@media (max-width: 42rem) {
  .nav { grid-template-columns: 1fr auto; gap: .6rem 1rem; padding-block: .7rem; }
  .nav-links { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .3rem .8rem; padding-block: .18rem; }
  .nav-paper { grid-row: 1; grid-column: 2; }
  .hero-layout, .section-heading, .demo-layout, .method-grid, .results-grid, .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 1.65rem; }
  .hero h1 { font-size: clamp(4.6rem, 16.3vw, 6.8rem); }
  .map-frame { aspect-ratio: 1.46; }
  .demo-picker { grid-area: 1 / 1; }
  .demo-panels { grid-area: 2 / 1; }
  .demo-option { grid-template-columns: 3.8rem minmax(0, 1fr) auto; min-height: 3.45rem; padding: .44rem .58rem; }
  .condition-metric { grid-template-columns: auto minmax(1.5rem, 1fr) auto; gap: .7rem; }
  .condition-metric strong { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .condition-line { margin-top: 1.3rem; }
  .evidence-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 23rem) {
  .hero h1 { font-size: 4.1rem; }
  .result-table { padding: .68rem; }
  th, td { font-size: .83rem; }
}

.demo-option > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
#overview, #orchard, #campus { container-type: inline-size; }
.video-point-key { display: none; }
@container (max-width: 40rem) {
  .demo-caption { align-items: start; flex-direction: column; }
  .video-point-key {
    display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin: .75rem 0 0;
    padding: 0; list-style: none; color: #21352e; font-size: 1rem; line-height: 1.4;
  }
  .video-point-key li { display: inline-flex; align-items: center; gap: .42rem; }
  .video-point-key i { width: .72rem; height: .72rem; border-radius: 50%; }
  .point-high { background: #b52d2c; }
  .point-low { background: #285aaf; }
  .point-ground { background: #287040; }
}
