/* Layout: one centred column; white and pale-field bands alternate; image-backed bands carry frosted panels. */
:root {
  --paper: #ffffff;
  --field: #f2f6f0;
  --field-2: #e7eee4;
  --ink: #13251a;
  --ink-2: #4b5e51;
  --ink-3: #74867a;
  --leaf: #1d7a3d;
  --leaf-2: #2fa457;
  --leaf-wash: #e2f1e5;
  --line: #d9e3d6;
  --amber: #b87a0c;
  --amber-wash: #fbf1dc;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.65);
  --shadow: 0 18px 40px -22px rgba(19, 37, 26, 0.35);
  --display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-btn: 10px;
  --wrap: 1180px;
  --text: 640px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--leaf); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--leaf-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; }
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: var(--text); margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 560px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

.band { padding-block: clamp(64px, 9vw, 112px); }
.band.tight { padding-block: clamp(48px, 6vw, 72px); }
.band.field { background: var(--field); }
.band.ink { background: var(--ink); color: #dfe9e1; }
.band.ink h2, .band.ink h3 { color: #fff; }
.band.ink .lede, .band.ink .muted { color: #b7c9bc; }

.center { text-align: center; }
.head { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.kicker { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--leaf); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255,255,255,0.92); }
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 11px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--field); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 650; background: var(--leaf-wash); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font: 600 0.95rem var(--body); color: var(--ink); cursor: pointer; }
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .site-head.open .nav-links {
    display: grid; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); gap: 2px;
    box-shadow: var(--shadow);
  }
  .site-head.open .nav-links > li > a { padding: 12px; font-size: 1.05rem; }
  .nav-links .mobile-only { display: block; }
}
.nav-links .mobile-only { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--leaf); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn.small { padding: 10px 16px; font-size: 0.92rem; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--leaf-wash); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px) 0; text-align: center; overflow: hidden; }
.hero .stage { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.9rem; font-weight: 500; }
.hero .stage i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-2); box-shadow: 0 0 0 4px var(--leaf-wash); }
.hero h1 { margin-top: 22px; }
.hero h1 .after { display: block; color: var(--ink-3); }
.hero .lede { margin-top: 20px; }
.hero .actions { margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 26px; color: var(--ink-2); font-size: 0.93rem; list-style: none; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }

.hero-visual { position: relative; margin: clamp(40px, 6vw, 64px) auto 0; max-width: 1180px; }
.hero-visual .frame { border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 8; background: var(--field-2); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.float {
  position: absolute; text-align: left;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border-radius: var(--r-md); box-shadow: var(--shadow); padding: 16px 18px;
}
.float.result { left: 4%; bottom: 9%; width: min(320px, 44%); }
.float.signal { right: 4%; top: 8%; width: min(280px, 42%); }
.float .label { font-size: 0.82rem; color: var(--ink-2); font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.float .value { font-family: var(--display); font-weight: 700; font-size: 1.45rem; margin-top: 2px; line-height: 1.15; }
.meter { height: 8px; background: rgba(19, 37, 26, 0.1); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.meter i { display: block; height: 100%; width: 0; background: var(--leaf-2); border-radius: 99px; transition: width .9s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.meter.low i { background: var(--amber); }
.float .conf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-top: 8px; font-size: 0.85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.float .conf span { white-space: nowrap; }
.float .conf b { color: var(--ink); }
.offline-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--leaf); background: var(--leaf-wash); padding: 3px 8px; border-radius: 99px; }
.signal-row { display: flex; gap: 12px; align-items: flex-start; }
.signal-row svg { width: 34px; height: 34px; flex: none; color: var(--ink); }
.signal-row strong { display: block; font-family: var(--display); font-size: 1.05rem; line-height: 1.25; }
.signal-row span { font-size: 0.86rem; color: var(--ink-2); display: block; margin-top: 4px; line-height: 1.45; }
@media (max-width: 720px) {
  .hero-visual .frame { aspect-ratio: 4 / 3.4; border-radius: var(--r-md) var(--r-md) 0 0; }
  .hero-visual .frame img { object-position: 52% 60%; }
  .float { position: relative; inset: auto; width: auto; margin: 12px 0 0; }
  .float.result, .float.signal { left: auto; right: auto; top: auto; bottom: auto; width: auto; }
  .float.signal { display: none; }
  .hero-visual .float.result { margin: -64px 12px 0; }
}

/* Generic grids */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* Hotspot figure */
.hotspots { position: relative; max-width: 980px; margin: 0 auto; }
.hotspots img { width: 100%; }
.dot {
  position: absolute; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: #fff; box-shadow: 0 0 0 2px var(--leaf-2), 0 6px 16px -6px rgba(0,0,0,.45);
  display: grid; place-items: center; color: var(--leaf); font: 700 0.95rem var(--display);
  transition: transform .2s ease, background-color .2s, color .2s;
}
.dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--leaf-2); opacity: 0; animation: ping 2.6s ease-out infinite; }
.dot:nth-of-type(2)::after { animation-delay: .4s; } .dot:nth-of-type(3)::after { animation-delay: .8s; } .dot:nth-of-type(4)::after { animation-delay: 1.2s; } .dot:nth-of-type(5)::after { animation-delay: 1.6s; }
.dot:hover, .dot[aria-pressed="true"] { transform: translate(-50%, -50%) scale(1.12); background: var(--ink); color: #fff; }
@keyframes ping { 0% { transform: scale(.7); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.spot-card {
  max-width: 560px; margin: 8px auto 0; text-align: center; min-height: 112px;
  display: grid; gap: 6px; justify-items: center; padding: 18px 20px;
  border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line);
}
.spot-card h3 { font-size: 1.15rem; }
.spot-card p { color: var(--ink-2); font-size: 0.98rem; }
.spot-card.flash { animation: flash .45s ease; }
@keyframes flash { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
.spot-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.spot-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font: 500 0.92rem var(--body); color: var(--ink-2); cursor: pointer; }
.spot-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Scan simulator */
.sim { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-align: left; }
.sim > * { min-width: 0; }
.sim-screen { background: #10180f; padding: 18px; display: grid; }
.sim-viewport { position: relative; border-radius: var(--r-sm); overflow: hidden; background: #eef3ec; aspect-ratio: 4 / 3; }
.sim-viewport svg { width: 100%; height: 100%; display: block; }
.sim-scanline { position: absolute; left: 0; right: 0; height: 3px; background: var(--leaf-2); box-shadow: 0 0 0 6px rgba(47,164,87,.18); top: 0; opacity: 0; }
.sim.running .sim-scanline { opacity: 1; animation: sweep 1.3s ease-in-out infinite alternate; }
@keyframes sweep { from { top: 4%; } to { top: 94%; } }
.sim-box { position: absolute; border: 2px dashed var(--leaf-2); border-radius: 6px; opacity: 0; transition: opacity .3s; }
.sim-box.on { opacity: 1; }
.sim-panel { padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
.sim-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.sim-picker button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font: 500 .9rem var(--body); cursor: pointer; color: var(--ink-2); }
.sim-picker button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 650; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; color: var(--ink-3); font-size: .97rem; transition: color .25s; }
.steps li::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font: 600 .8rem var(--display); background: #fff; transition: all .25s; }
.steps li.active { color: var(--ink); }
.steps li.active::before { border-color: var(--leaf-2); color: var(--leaf); }
.steps li.done { color: var(--ink-2); }
.steps li.done::before { content: "✓"; background: var(--leaf-2); border-color: var(--leaf-2); color: #fff; }
.sim-result { border-radius: var(--r-md); background: var(--field); padding: 16px 18px; min-height: 126px; }
.sim-result .value { font-family: var(--display); font-size: 1.4rem; font-weight: 700; }
.sim-result .alt { font-size: .88rem; color: var(--ink-2); margin-top: 6px; }
.sim-result .advice { font-size: .92rem; margin-top: 10px; color: var(--ink); }
.sim-result.idle { display: grid; place-items: center; color: var(--ink-3); text-align: center; font-size: .95rem; }
@media (max-width: 820px) { .sim { grid-template-columns: 1fr; } }

/* Image-backed band with glass panel */
.backed { position: relative; isolation: isolate; overflow: hidden; }
.backed > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; z-index: -1; }
.backed .glass {
  max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(28px, 4vw, 44px);
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow); display: grid; gap: 16px; justify-items: center;
}
.backed .glass .lede { font-size: 1.05rem; }

/* Offline toggle widget */
.toggle-wrap { display: grid; gap: 22px; justify-items: center; }
.switch { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 8px 6px 16px; font-weight: 600; cursor: pointer; font-family: var(--body); font-size: .97rem; color: var(--ink); }
.switch .track { width: 52px; height: 30px; border-radius: 99px; background: var(--ink-3); position: relative; transition: background-color .25s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.switch[aria-checked="true"] .track { background: var(--leaf-2); }
.switch[aria-checked="true"] .track::after { transform: translateX(22px); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 640px; text-align: left; }
.feature-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .95rem; transition: background-color .3s, border-color .3s, color .3s; }
.feature-list li > span:first-of-type { flex: 1; min-width: 0; }
.feature-list .st { font-size: .78rem; font-weight: 650; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.feature-list .st.ok { color: var(--leaf); background: var(--leaf-wash); }
.feature-list .st.wait { color: var(--amber); background: var(--amber-wash); }
.feature-list .st.sync { color: #fff; background: var(--leaf-2); }
.queue { font-size: .93rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.queue b { color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }

/* Crops */
.crop-picker { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.crop-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px;
  border: 1px solid var(--line); background: #fff; border-radius: 99px;
  font: 600 .97rem var(--body); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.crop-btn svg { width: 30px; height: 30px; flex: none; }
.crop-btn:hover { border-color: var(--leaf-2); transform: translateY(-2px); }
.crop-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalogue { max-width: 900px; margin: 36px auto 0; }
.catalogue-head { text-align: center; display: grid; gap: 8px; margin-bottom: 26px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: left; }
.cat-grid > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; min-width: 0; }
.cat-grid h4 { font-size: .98rem; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cat-grid h4 span { font: 600 .8rem var(--body); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-grid ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.cat-grid li { padding-left: 14px; position: relative; }
.cat-grid li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--leaf-2)); }
.cat-grid .disease { --c: #c0503f; } .cat-grid .pest { --c: #b87a0c; } .cat-grid .nutrient { --c: #2f6fb0; } .cat-grid .stress { --c: #6b7c70; }
.cat-grid > div.pop { animation: flash .4s ease both; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

/* Audience tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 99px; background: var(--field); border: 1px solid var(--line); justify-content: center; }
.tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 99px; font: 600 .95rem var(--body); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0,0,0,.2); }
.tab-panel { max-width: 860px; margin: 28px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; text-align: left; }
.tab-panel > * { min-width: 0; }
.tab-panel .copy { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: center; }
.tab-panel .pic { background: var(--field-2); min-height: 260px; }
.tab-panel .pic img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.facts b { display: block; font-family: var(--display); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.facts span { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 720px) { .tab-panel { grid-template-columns: 1fr; } .tab-panel .pic { min-height: 200px; aspect-ratio: 16/10; } }

/* Confidence scale */
.scale { max-width: 760px; margin: 0 auto; }
.scale-bar { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; height: 14px; border-radius: 99px; overflow: hidden; }
.scale-bar i:nth-child(1) { background: #e9c98a; } .scale-bar i:nth-child(2) { background: #a9d3b3; } .scale-bar i:nth-child(3) { background: var(--leaf-2); }
.scale-labels { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 12px; margin-top: 14px; text-align: left; }
.scale-labels > div { min-width: 0; }
.scale-labels b { display: block; font-family: var(--display); font-size: 1rem; }
.scale-labels span { font-size: .88rem; color: var(--ink-2); display: block; }
.band.ink .scale-labels span { color: #b7c9bc; }
.scale-pin { position: relative; height: 26px; }
.scale-pin i { position: absolute; top: 0; width: 2px; height: 22px; background: currentColor; transition: left 1s cubic-bezier(.2,.8,.2,1); }
.scale-pin i::before { content: attr(data-v); position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font: 700 .85rem var(--display); white-space: nowrap; }
@media (max-width: 620px) { .scale-labels { grid-template-columns: 1fr; } }

/* Spec table */
.spec { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); text-align: left; }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.spec-row > * { min-width: 0; }
.spec-row dt { font-weight: 650; }
.spec-row dd { margin: 0; color: var(--ink-2); }
@media (max-width: 620px) { .spec-row { grid-template-columns: 1fr; gap: 4px; } }
.note { max-width: 680px; margin: 22px auto 0; text-align: center; font-size: .92rem; color: var(--ink-2); }

/* Plain feature pairs */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); max-width: 1000px; margin: 0 auto; }
.pair > article { min-width: 0; text-align: center; display: grid; gap: 12px; justify-items: center; }
.pair figure { margin: 0 0 6px; border-radius: var(--r-lg); overflow: hidden; background: var(--field); aspect-ratio: 4 / 3; width: 100%; }
.pair figure img { width: 100%; height: 100%; object-fit: cover; }
.pair p { color: var(--ink-2); max-width: 420px; }
@media (max-width: 680px) { .pair { grid-template-columns: 1fr; } }

/* Sequence list (real processes only) */
.sequence { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 0; text-align: left; counter-reset: q; }
.sequence li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sequence li:first-child { border-top: 1px solid var(--line); }
.sequence li::before { counter-increment: q; content: counter(q); font: 700 1.6rem/1 var(--display); color: var(--leaf); padding-top: 2px; }
.sequence h3 { margin-bottom: 4px; }
.sequence p { color: var(--ink-2); }
.sequence .time { font-size: .85rem; color: var(--ink-3); font-weight: 600; display: block; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.band.ink .sequence li { border-color: rgba(255,255,255,.14); }
.band.ink .sequence p { color: #b7c9bc; }
.band.ink .sequence li::before { color: #8fdca6; }

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 1060px; margin: 0 auto; position: relative; }
.pipeline > div { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 14px; text-align: center; display: grid; gap: 6px; position: relative; transition: border-color .3s, background-color .3s; }
.pipeline > div b { font: 700 .82rem var(--display); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pipeline > div h3 { font-size: 1.05rem; }
.pipeline > div p { font-size: .88rem; color: var(--ink-2); }
.pipeline > div .out { font-size: .82rem; font-weight: 650; color: var(--leaf); background: var(--leaf-wash); padding: 4px 8px; border-radius: 99px; justify-self: center; margin-top: 4px; opacity: .35; transition: opacity .3s; }
.pipeline > div.on { border-color: var(--leaf-2); }
.pipeline > div.on .out { opacity: 1; }
@media (max-width: 900px) { .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pipeline > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pipeline { grid-template-columns: 1fr; } }

/* 3D viewer */
.viewer { max-width: 1000px; margin: 0 auto; border-radius: var(--r-lg); background: var(--field); border: 1px solid var(--line); overflow: hidden; }
.viewer-stage { position: relative; aspect-ratio: 16 / 10; cursor: grab; touch-action: pan-y; }
.viewer-stage:active { cursor: grabbing; }
.viewer-stage canvas, .viewer-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.viewer-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: .85rem; color: var(--ink-2); background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 99px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.viewer-bar { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; align-items: center; padding: 16px; border-top: 1px solid var(--line); background: #fff; }
.viewer-bar label { font-size: .92rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.viewer-bar input[type="range"] { accent-color: var(--leaf); width: 160px; }
@media (max-width: 560px) { .viewer-stage { aspect-ratio: 4 / 3.6; } }

/* Diagram */
.diagram { max-width: 940px; margin: 0 auto; overflow-x: auto; }
.diagram svg { width: 100%; min-width: 620px; height: auto; display: block; }
.diagram text { font-family: var(--body); }

/* Calculator */
.calc { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; text-align: left; }
.calc > * { min-width: 0; }
.calc .inputs { padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; }
.calc label { display: grid; gap: 8px; font-weight: 600; font-size: .95rem; }
.calc label output { font-family: var(--display); font-size: 1.1rem; color: var(--leaf); font-variant-numeric: tabular-nums; }
.calc .row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.calc input[type="range"] { accent-color: var(--leaf); width: 100%; }
.calc .outputs { background: var(--ink); color: #dfe9e1; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: center; }
.calc .big { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3rem); color: #fff; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.calc .outputs p { color: #b7c9bc; font-size: .92rem; }
.calc .outputs dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; font-size: .93rem; }
.calc .outputs dd { margin: 0; color: #fff; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .calc { grid-template-columns: 1fr; } }

/* Team */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.person { text-align: center; display: grid; gap: 10px; justify-items: center; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; min-width: 0; }
.avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf-wash); color: var(--leaf); font: 700 1.6rem var(--display); }
.person .role { color: var(--leaf); font-weight: 600; font-size: .95rem; }
.person p { color: var(--ink-2); font-size: .97rem; max-width: 360px; }
.person .link { font-weight: 600; font-size: .95rem; word-break: break-all; }
@media (max-width: 680px) { .people { grid-template-columns: 1fr; } }

/* Forms */
.form { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .two > * { min-width: 0; }
.field-label { display: grid; gap: 7px; font-weight: 600; font-size: .95rem; }
.field-label small { font-weight: 400; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--leaf-2); outline-offset: 0; border-color: var(--leaf-2); }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-row label { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-size: .92rem; cursor: pointer; }
.check-row input { accent-color: var(--leaf); }
.check-row label:has(input:checked) { border-color: var(--leaf-2); background: var(--leaf-wash); }
.form-error { color: #a33a2b; font-size: .92rem; font-weight: 600; }
.form-done { display: grid; gap: 14px; }
.form-done pre { white-space: pre-wrap; background: var(--field); border-radius: var(--r-sm); padding: 14px; font: .88rem/1.5 var(--body); margin: 0; overflow-x: auto; }
@media (max-width: 620px) { .form .two { grid-template-columns: 1fr; } }

/* CTA band */
.cta { text-align: center; display: grid; gap: 18px; justify-items: center; }
.cta .lede { color: #b7c9bc; }

/* Footer */
.site-foot { background: var(--field); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font-size: .98rem; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid .about p { color: var(--ink-2); margin-top: 12px; max-width: 320px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .88rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .about { grid-column: 1 / -1; } }

/* Page hero (inner pages) */
.page-hero { text-align: center; padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 44px); display: grid; gap: 18px; justify-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 860px; }
.page-hero .lede { margin-top: 0; }
.page-figure { max-width: 1060px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; background: var(--field); }
.page-figure img { width: 100%; }
figcaption, .caption { font-size: .86rem; color: var(--ink-3); text-align: center; margin-top: 10px; }

/* Plain prose block */
.prose { max-width: var(--text); margin: 0 auto; display: grid; gap: 16px; color: var(--ink-2); text-align: center; }

/* Reveal: visible at rest, small settle on load */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .36s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
  .hero-visual .float.result { animation: bob 6s ease-in-out infinite; }
  .hero-visual .float.signal { animation: bob 7s ease-in-out -2s infinite; }
  @keyframes bob { 50% { transform: translateY(-6px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Glass layer (white cards only), dot grids, mega menu, carousel ===== */
:root {
  --glass-card: rgba(255, 255, 255, 0.66);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-hair: rgba(19, 37, 26, 0.08);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(19, 37, 26, 0.05), 0 22px 44px -28px rgba(19, 37, 26, 0.38);
  --dot-light: rgba(29, 122, 61, 0.16);
  --dot-dark: rgba(191, 231, 201, 0.13);
}
.band.field.dots, .site-foot {
  background-color: var(--field);
  background-image: radial-gradient(var(--dot-light) 1.1px, transparent 1.3px);
  background-size: 22px 22px;
  background-position: 11px 11px;
}
.band.ink, .sim-screen, .calc .outputs {
  background-color: var(--ink);
  background-image: radial-gradient(var(--dot-dark) 1.1px, transparent 1.3px);
  background-size: 20px 20px;
}
.spot-card, .sim, .tab-panel, .calc, .cat-grid > div, .person, .form, .feature-list li,
.pipeline > div, .viewer, .crop-btn, .spot-tabs button, .sim-picker button, .tabs, .switch, .car-bar {
  background-color: var(--glass-card);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.sim, .tab-panel, .calc, .viewer, .form { outline: 1px solid var(--glass-hair); outline-offset: -1px; }
.crop-btn[aria-pressed="true"], .spot-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sim-picker button[aria-pressed="true"] { border-color: var(--ink); background: #fff; }
.tabs { background-color: rgba(255, 255, 255, 0.5); }
.tabs button[aria-selected="true"] { background: #fff; }
.pipeline > div.on { border-color: var(--leaf-2); background-color: rgba(255, 255, 255, 0.9); }
.float, .backed .glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}
.calc .outputs { border-left: 1px solid rgba(255, 255, 255, 0.06); }
.dot { box-shadow: 0 0 0 2px var(--leaf-2), inset 0 1px 0 #fff, 0 8px 18px -8px rgba(0, 0, 0, 0.5); }

/* Hero visual gets a glass rail under the image edge */
.hero-visual .frame { box-shadow: 0 30px 60px -40px rgba(19, 37, 26, 0.55); }

/* Timed sequence: time sits in the left column, not above the heading */
.sequence.timed li { grid-template-columns: 76px 1fr; }
.sequence.timed li::before { content: attr(data-time); counter-increment: none; font-size: 1.05rem; font-variant-numeric: tabular-nums; padding-top: 3px; }

/* Mega menu */
.has-mega { position: relative; }
.mega-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 0; background: none; border-radius: var(--r-sm);
  font: 500 0.95rem var(--body); color: var(--ink-2); cursor: pointer;
}
.mega-btn svg { width: 12px; height: 12px; transition: transform .2s ease; }
.mega-btn:hover, .mega-btn[aria-expanded="true"] { color: var(--ink); background: var(--field); }
.mega-btn[data-current="true"] { color: var(--ink); font-weight: 650; background: var(--leaf-wash); }
.mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, -6px);
  width: min(760px, calc(100vw - 48px)); padding: 12px; border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow), 0 0 0 1px var(--glass-hair), 0 30px 60px -30px rgba(19, 37, 26, 0.4);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .18s ease, transform .18s ease; }
.mega-grid { display: grid; gap: 4px; }
.nav-links .mega a { white-space: normal; }
.nav-links .mega-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.mega-item > span { min-width: 0; }
.mega-item img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-sm); background: var(--field); }
.mega-item b { display: block; font: 650 0.97rem var(--display); }
.mega-item span span { display: block; font-size: 0.85rem; color: var(--ink-2); line-height: 1.4; }
.nav-links .mega-item:hover, .nav-links .mega-item[aria-current="page"] { background: rgba(226, 241, 229, 0.8); color: var(--ink); }
.nav-links .mega-side { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 220px; display: block; text-decoration: none; color: var(--ink); }
.mega-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mega-side:hover img { transform: scale(1.04); }
.mega-side-glass {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.mega-side-glass b { display: block; font: 650 1rem var(--display); }
.mega-side-glass span { display: block; font-size: 0.85rem; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
@media (max-width: 1120px) {
  .site-head.open .nav-links { max-height: calc(100vh - 80px); overflow-y: auto; }
  .has-mega .mega-btn { display: none; }
  .has-mega .mega, .has-mega.open .mega {
    position: static; transform: none; width: auto; opacity: 1; visibility: visible; pointer-events: auto;
    display: block; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-links .mega-side { display: none; }
  .nav-links .mega-item { grid-template-columns: 52px 1fr; padding: 8px 12px; }
  .mega-item img { width: 52px; height: 40px; }
}
@media (min-width: 1121px) { .nav-links { gap: 2px; } }

/* Carousel */
.carousel { max-width: 1000px; margin: 0 auto; }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; border-radius: var(--r-lg); scrollbar-width: none; cursor: grab;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.car-slide { margin: 0; scroll-snap-align: center; display: grid; gap: 10px; justify-items: center; padding: 10px 10px 0; min-width: 0; }
.car-slide img { width: auto; max-width: 100%; max-height: 480px; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.car-slide figcaption { font-size: 0.98rem; color: var(--ink-2); text-align: center; margin: 0; }
.car-slide figcaption b { display: block; font: 650 1.12rem var(--display); color: var(--ink); }
.car-bar { margin: 20px auto 0; max-width: 520px; border-radius: 999px; padding: 8px 8px 8px 20px; display: flex; align-items: center; gap: 16px; }
.car-count { font: 600 0.95rem var(--display); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.car-count b { color: var(--ink); }
.car-progress { flex: 1; height: 3px; border-radius: 99px; background: rgba(19, 37, 26, 0.1); overflow: hidden; min-width: 40px; }
.car-progress i { display: block; height: 100%; width: 0; background: var(--leaf-2); }
.car-progress i.run { animation: carfill linear forwards; }
@keyframes carfill { from { width: 0; } to { width: 100%; } }
.car-btns { display: flex; gap: 6px; }
.car-btn, .car-pause { height: 38px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; font: 600 0.88rem var(--body); }
.car-btn { width: 38px; }
.car-btn svg { width: 16px; height: 16px; }
.car-pause { padding: 0 14px; }
.car-btn:hover, .car-pause:hover { border-color: var(--ink); }
@media (max-width: 480px) { .car-bar { padding-left: 14px; gap: 10px; } .car-pause { padding: 0 10px; } }

/* Real photography */
.backed { min-height: 520px; display: grid; align-items: center; }
.backed > img.bg { object-position: 50% 40%; }
.backed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 37, 26, 0.08), rgba(19, 37, 26, 0.28)); pointer-events: none; }
.credit {
  position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: 10px; z-index: 2;
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.92); text-decoration: none; padding: 3px 8px; border-radius: 99px;
  background: rgba(19, 37, 26, 0.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.credit:hover { color: #fff; background: rgba(19, 37, 26, 0.65); }
.mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.8vw, 20px); max-width: 1080px; margin: 0 auto; }
.mosaic figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--field-2); min-width: 0; aspect-ratio: 4 / 3; }
.mosaic .m-tall { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.mosaic figure:hover img { transform: scale(1.035); }
.mosaic figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: var(--r-md); text-align: left;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  font-size: 0.9rem; color: var(--ink-2); line-height: 1.45;
}
.mosaic figcaption b { display: block; font: 650 1.02rem var(--display); color: var(--ink); }
.mosaic + .caption a { color: var(--ink-3); }
@media (max-width: 720px) { .mosaic { grid-template-columns: 1fr; } .mosaic .m-tall { grid-row: auto; aspect-ratio: 4 / 4.4; } .backed { min-height: 460px; } }

/* Dark dot-grid heroes (home and every inner page) */
:root {
  --hero-bg: #13251a;
  --hero-ink: #ffffff;
  --hero-muted: #8ea597;
  --hero-text: #b7c9bc;
  --hero-accent: #8fdca6;
  --hero-line: rgba(255, 255, 255, 0.22);
}
.hero, .page-hero {
  background-color: var(--hero-bg);
  background-image: radial-gradient(var(--dot-dark) 1.1px, transparent 1.3px);
  background-size: 20px 20px;
  color: var(--hero-text);
}
.page-hero { padding: 0; display: block; }
.page-hero-in { text-align: center; padding-block: clamp(56px, 8vw, 96px); display: grid; gap: 18px; justify-items: center; }
.page-hero-in h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 860px; }
.hero h1, .page-hero h1 { color: var(--hero-ink); }
.hero h1 .after { color: var(--hero-muted); }
.hero .lede, .page-hero .lede { color: var(--hero-text); }
.hero .chips { color: var(--hero-text); }
.hero .chips svg { color: var(--hero-accent); }
.hero .btn.primary, .page-hero .btn.primary { background: #ffffff; color: var(--ink); }
.hero .btn.primary:hover, .page-hero .btn.primary:hover { background: var(--hero-accent); color: var(--ink); }
.hero .btn.ghost, .page-hero .btn.ghost { background: transparent; color: #ffffff; border-color: var(--hero-line); }
.hero .btn.ghost:hover, .page-hero .btn.ghost:hover { border-color: #ffffff; color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.hero :focus-visible, .page-hero :focus-visible { outline-color: var(--hero-accent); }
.hero .hero-visual .frame { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -40px rgba(0, 0, 0, 0.6); }
.hero .float { color: var(--ink); }
.hero .float .label, .hero .float .conf, .hero .signal-row span { color: var(--ink-2); }
.hero .float .value, .hero .signal-row strong, .hero .float .conf b { color: var(--ink); }
.hero .signal-row svg { color: var(--ink); }

/* Rounded rectangles, not pills (Streamliner COPE level) */
.btn { border-radius: var(--r-btn); }
.btn.small { border-radius: var(--r-sm); }
.menu-btn, .mega-btn, .nav-links a { border-radius: var(--r-sm); }
.spot-tabs button, .sim-picker button, .crop-btn, .check-row label, .car-btn, .car-pause { border-radius: var(--r-sm); }
.crop-btn { padding: 8px 14px 8px 9px; }
.tabs { border-radius: var(--r-md); padding: 5px; }
.tabs button { border-radius: var(--r-xs); }
.switch { border-radius: var(--r-md); }
.switch .track { border-radius: 7px; }
.switch .track::after { border-radius: 5px; }
.car-bar { border-radius: var(--r-md); }
.offline-tag, .feature-list .st, .pipeline > div .out, .credit, .hero .stage { border-radius: var(--r-xs); }
.meter, .meter i, .scale-bar, .car-progress { border-radius: 3px; }
.steps li::before { border-radius: var(--r-xs); }
.avatar { border-radius: var(--r-lg); }
.dot { border-radius: var(--r-sm); }
.dot::after { border-radius: 11px; }
.float, .backed .glass, .mega, .mega-side-glass, .mosaic figcaption { border-radius: var(--r-md); }
.hero-visual .frame { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.mosaic figure, .viewer, .sim, .tab-panel, .calc, .form, .person, .page-figure, .car-track, .pair figure { border-radius: var(--r-lg); }
.cat-grid > div, .pipeline > div, .spot-card, .sim-result { border-radius: var(--r-md); }
.mega-item, .mega-item img, .feature-list li { border-radius: var(--r-sm); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { border-radius: var(--r-sm); }

/* ===== Try a scan: interactive station ===== */
.scan2 {
  max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.12fr 1fr; gap: 0; text-align: left;
  background: var(--glass-card); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  outline: 1px solid var(--glass-hair); outline-offset: -1px; border-radius: var(--r-lg); overflow: hidden;
}
.scan2 > * { min-width: 0; }
.s2-left {
  background-color: var(--ink); background-image: radial-gradient(var(--dot-dark) 1.1px, transparent 1.3px); background-size: 20px 20px;
  padding: 18px; display: grid; gap: 14px; align-content: start;
}
.s2-crops { display: flex; flex-wrap: wrap; gap: 6px; }
.s2-crops button {
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #cfe0d4; border-radius: var(--r-sm);
  padding: 8px 13px; font: 600 .9rem var(--body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.s2-crops button:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.s2-crops button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.s2-crops .s2-own { margin-left: auto; border-style: dashed; }
.s2-view { position: relative; border-radius: var(--r-md); overflow: hidden; background: #eef3ec; aspect-ratio: 4 / 3; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.s2-stage { position: absolute; inset: 0; transition: box-shadow .2s; }
.s2-stage.dragging { box-shadow: inset 0 0 0 3px var(--leaf-2); }
.s2-stage svg, .s2-stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: filter .25s ease; }
.s2-stage img { object-fit: cover; }
.s2-drop { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--ink-2); padding: 16px; background: repeating-linear-gradient(45deg, #eef3ec 0 12px, #e8efe5 12px 24px); }
.s2-drop svg { width: 34px; height: 34px; color: var(--leaf); }
.s2-drop b { color: var(--ink); font: 650 1.05rem var(--display); }
.s2-drop small { color: var(--ink-3); }
.s2-scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(47,164,87,0), rgba(47,164,87,.22) 85%, rgba(143,220,166,.9) 100%); }
.scan2.scanning .s2-scan { opacity: 1; animation: s2sweep 1.1s ease-in-out infinite alternate; }
@keyframes s2sweep { from { transform: translateY(-20%); } to { transform: translateY(300%); } }
.s2-hud { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.s2-chip { font: 650 .78rem var(--body); padding: 4px 8px; border-radius: var(--r-xs); background: rgba(19,37,26,.72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.s2-chip.good::before, .s2-chip.bad::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }
.s2-chip.good::before { background: #6fe39a; } .s2-chip.bad::before { background: #f0b64a; }
.s2-chip.off { background: rgba(47,164,87,.85); }
.s2-cues { position: absolute; inset: 0; pointer-events: none; }
.s2-cue {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 9px; border: 2px solid #fff; padding: 0;
  background: radial-gradient(circle, rgba(240,120,60,.55), rgba(240,120,60,.08) 70%); pointer-events: auto; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(240,120,60,.25); animation: s2pop .45s cubic-bezier(.3,1.5,.5,1) both;
}
.s2-cue span {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap; opacity: 0;
  font: 600 .78rem var(--body); color: var(--ink); background: rgba(255,255,255,.92); padding: 4px 8px; border-radius: var(--r-xs);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); transition: opacity .15s, transform .15s; pointer-events: none;
}
.s2-cue.hot, .s2-cue:hover, .s2-cue:focus-visible { transform: scale(1.18); background: radial-gradient(circle, rgba(240,120,60,.8), rgba(240,120,60,.15) 70%); z-index: 2; }
.s2-cue.hot span, .s2-cue:hover span, .s2-cue:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
@keyframes s2pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.s2-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.s2-sliders label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: #cfe0d4; font: 600 .88rem var(--body); }
.s2-sliders input { accent-color: #8fdca6; width: 100%; min-width: 0; }
.s2-sliders output { font: 600 .8rem var(--body); color: #8fdca6; min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.s2-ownbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #b7c9bc; font-size: .85rem; }
.s2-ownbar .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.s2-right { padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 16px; align-content: start; }
.s2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.s2-steps li { border-top: 3px solid var(--line); padding-top: 8px; display: grid; gap: 2px; transition: border-color .3s; min-width: 0; }
.s2-steps b { font: 650 .84rem var(--display); color: var(--ink-3); transition: color .3s; }
.s2-steps span { font-size: .74rem; color: var(--ink-3); line-height: 1.35; }
.s2-steps li.active { border-color: var(--leaf-2); animation: s2blink .7s ease-in-out infinite alternate; }
.s2-steps li.active b, .s2-steps li.done b { color: var(--ink); }
.s2-steps li.done { border-color: var(--leaf); }
.s2-steps li.fail { border-color: var(--amber); }
.s2-steps li.fail b { color: var(--amber); }
@keyframes s2blink { from { border-color: var(--line); } to { border-color: var(--leaf-2); } }
.s2-out { min-height: 300px; border-radius: var(--r-md); background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: 16px 18px; display: grid; align-content: start; gap: 12px; }
.s2-idle { display: grid; gap: 6px; place-content: center; text-align: center; min-height: 260px; color: var(--ink-2); }
.s2-idle b { font: 650 1.1rem var(--display); color: var(--ink); }
.s2-res-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.s2-band { font: 650 .8rem var(--body); padding: 4px 9px; border-radius: var(--r-xs); }
.s2-band.high { background: var(--leaf-wash); color: var(--leaf); }
.s2-band.mid { background: #e9f0dc; color: #5a6b1f; }
.s2-band.low { background: var(--amber-wash); color: var(--amber); }
.s2-crop { font-size: .85rem; color: var(--ink-3); }
.s2-bars { display: grid; gap: 10px; }
.s2-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; }
.s2-bar .n { font-size: .92rem; color: var(--ink-2); }
.s2-bar .v { font: 650 .92rem var(--display); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.s2-bar i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(19,37,26,.08); overflow: hidden; }
.s2-bar i b { display: block; height: 100%; width: 0; border-radius: 3px; background: #a9c9b2; transition: width .9s cubic-bezier(.2,.8,.2,1); }
.s2-bar.top .n { font: 700 1.3rem var(--display); color: var(--ink); }
.s2-bar.top .v { font-size: 1.3rem; color: var(--ink); }
.s2-bar.top i { height: 9px; }
.s2-bar.top i b { background: var(--leaf-2); }
.s2-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s2-compare div { border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 8px 10px; display: grid; gap: 2px; font-size: .84rem; color: var(--ink-2); }
.s2-compare b { color: var(--ink); font-size: .9rem; }
.s2-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.s2-tabs button { border: 0; background: none; padding: 8px 10px; font: 600 .9rem var(--body); color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.s2-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--leaf-2); }
.s2-todo, .s2-why, .s2-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.s2-todo label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .93rem; color: var(--ink); padding: 6px 8px; border-radius: var(--r-xs); transition: background-color .15s; }
.s2-todo label:hover { background: var(--field); }
.s2-todo input { accent-color: var(--leaf); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.s2-todo input:checked + span { color: var(--ink-3); text-decoration: line-through; }
.s2-why li { padding: 8px 10px; border-radius: var(--r-xs); border: 1px solid var(--line); font-size: .92rem; cursor: default; transition: background-color .15s, border-color .15s; }
.s2-why li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 8px; background: rgba(240,120,60,.7); }
.s2-why li.hot, .s2-why li:hover { background: #fff3ea; border-color: rgba(240,120,60,.5); }
.s2-progress { font-size: .84rem; color: var(--ink-3); }
.s2-progress.all { color: var(--leaf); font-weight: 650; }
.s2-checks li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: var(--r-xs); background: var(--field); font-size: .92rem; }
.s2-checks li.no { background: var(--amber-wash); }
.s2-checks li span { color: var(--ink-2); }
.s2-checks li.ok span::before { content: "✓ "; color: var(--leaf); font-weight: 700; }
.s2-checks li.no span::before { content: "! "; color: var(--amber); font-weight: 700; }
.s2-honest { font-size: .9rem; color: var(--ink-2); }
.s2-fail { display: grid; gap: 4px; padding: 12px; border-radius: var(--r-sm); background: var(--amber-wash); }
.s2-fail b { font: 650 1.05rem var(--display); }
.s2-fail span { color: var(--ink-2); font-size: .93rem; }
.s2-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.s2-scanbtn {
  position: relative; width: 112px; height: 64px; border-radius: 14px; border: 0; cursor: pointer; padding: 0;
  background: linear-gradient(180deg, #3cc06a, #24934c); color: #fff; font: 700 1.05rem var(--display); letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(0,0,0,.18), 0 6px 0 #1b6e39, 0 14px 22px -10px rgba(19,90,45,.7);
  transition: transform .08s ease, box-shadow .08s ease;
}
.s2-scanbtn:active, .s2-scanbtn.pressed { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.18), 0 2px 0 #1b6e39, 0 6px 12px -8px rgba(19,90,45,.7); }
.s2-scanbtn:disabled { cursor: progress; filter: saturate(.7); }
.s2-scanbtn .ring { position: absolute; inset: -5px; border-radius: 18px; border: 2px solid var(--leaf-2); opacity: 0; }
.scan2:not(.scanning):not(.done) .s2-scanbtn .ring { animation: s2ring 2.2s ease-out infinite; }
@keyframes s2ring { 0% { opacity: .8; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
.s2-side { display: flex; gap: 8px; flex-wrap: wrap; }
.s2-note { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 900px) { .scan2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .s2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .s2-sliders { grid-template-columns: 1fr; }
  .s2-crops .s2-own { margin-left: 0; }
  .s2-compare { grid-template-columns: 1fr; }
}
.s2-stage [hidden] { display: none !important; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.scale-pin i[data-edge="r"]::before { left: auto; right: -1px; transform: none; }
.scale-pin i[data-edge="l"]::before { left: -1px; transform: none; }
.band { overflow-x: clip; }
[id] { scroll-margin-top: 84px; }

/* ===== No sideways scrolling on phones (site-wide guard) ===== */
html, body { max-width: 100%; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }
img, svg, video, canvas { max-width: 100%; }
.diagram-stack { display: none; }
@media (max-width: 680px) {
  .diagram { display: none; }
  .diagram-stack { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; text-align: left; }
  .ds-box { background: var(--glass-card); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); border-radius: var(--r-md); padding: 14px 16px; }
  .ds-box b { font: 700 1.05rem var(--display); display: block; margin-bottom: 8px; }
  .ds-box ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .ds-box li { background: var(--leaf-wash); border-radius: var(--r-xs); padding: 6px 8px; font-size: .88rem; color: var(--ink-2); }
  .ds-box small { color: var(--ink-3); font-size: .82rem; }
  .ds-flow { display: grid; gap: 4px; padding: 0 6px; font-size: .84rem; font-weight: 600; }
  .ds-flow .up { color: var(--leaf); } .ds-flow .up::before { content: "↑ "; }
  .ds-flow .down { color: var(--amber); } .ds-flow .down::before { content: "↓ "; }
}

/* ===== Try a scan: fit one screen ===== */
.scan2 { max-width: 1040px; height: clamp(500px, calc(100svh - 120px), 610px); grid-template-columns: 1.08fr 1fr; }
.s2-left { padding: 14px; gap: 10px; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; }
.s2-crops button { padding: 7px 11px; font-size: .86rem; }
.s2-own .sm { display: none; }
.s2-view { aspect-ratio: auto; min-height: 0; background: #0f1d14; display: grid; place-items: center; container-type: size; }
.s2-fit { position: relative; width: min(100cqw, calc(100cqh * 4 / 3)); aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: #eef3ec; }
.s2-right { padding: 18px 20px; gap: 12px; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: 0; }
.s2-steps span { display: none; }
.s2-steps li { padding-top: 6px; }
.s2-steps b { font-size: .8rem; }
.s2-out { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; gap: 10px; }
.s2-idle { min-height: 100%; }
.s2-bar.top .n, .s2-bar.top .v { font-size: 1.15rem; }
.s2-bars { gap: 7px; }
.s2-bar .n, .s2-bar .v { font-size: .86rem; }
.s2-todo label { padding: 4px 6px; font-size: .9rem; }
.s2-why li { padding: 6px 9px; font-size: .88rem; }
.s2-compare div { padding: 6px 8px; font-size: .8rem; }
.s2-scanbtn { width: 96px; height: 52px; border-radius: 12px; font-size: 1rem; }
.s2-scanbtn .ring { border-radius: 16px; }
.s2-note { font-size: .76rem; margin: 0; }
#try .head { margin-bottom: 28px; }
@media (max-width: 900px) {
  .scan2 { grid-template-columns: 1fr; grid-template-rows: minmax(0, 47fr) minmax(0, 53fr); height: clamp(600px, calc(100svh - 92px), 820px); }
}
@media (max-width: 560px) {
  #try .head { margin-bottom: 18px; }
  .scan2 { border-radius: var(--r-md); }
  .s2-left { padding: 10px; gap: 8px; }
  .s2-crops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .s2-crops button { padding: 7px 2px; font-size: .76rem; text-align: center; min-width: 0; }
  .s2-crops .s2-own { margin-left: 0; }
  .s2-own .lg { display: none; } .s2-own .sm { display: inline; }
  .s2-sliders { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .s2-sliders label { grid-template-columns: auto 1fr; gap: 6px; font-size: .78rem; }
  .s2-sliders output { display: none; }
  .s2-chip { font-size: .7rem; padding: 3px 6px; }
  .s2-hud { left: 6px; top: 6px; gap: 4px; }
  .s2-right { padding: 12px; gap: 8px; }
  .s2-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .s2-steps b { font-size: .68rem; line-height: 1.2; }
  .s2-out { padding: 10px 12px; }
  .s2-note { display: none; }
  .s2-controls { gap: 10px; flex-wrap: nowrap; }
  .s2-scanbtn { width: 84px; height: 46px; flex: none; }
  .s2-side { flex-wrap: nowrap; }
  .s2-side .btn { padding: 9px 11px; font-size: .84rem; }
  .s2-drop { gap: 4px; padding: 8px; font-size: .85rem; }
  .s2-drop svg { width: 24px; height: 24px; }
  .s2-cue { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}

/* ===== Part explorer (model + list side by side) ===== */
.explore { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px); align-items: center; text-align: left; }
.ex-fig { display: grid; place-items: center; min-width: 0; }
.ex-img { position: relative; width: min(100%, calc(min(500px, 62svh) * var(--ar))); aspect-ratio: var(--ar); }
.ex-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ex-dot {
  position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r-sm); background: rgba(255,255,255,.92); color: var(--leaf); font: 700 .88rem var(--display);
  box-shadow: 0 0 0 2px var(--leaf-2), 0 6px 14px -6px rgba(0,0,0,.5);
  transition: transform .2s cubic-bezier(.3,1.4,.5,1), background-color .2s, color .2s, box-shadow .2s;
}
.ex-dot:hover { transform: translate(-50%, -50%) scale(1.1); }
.ex-dot.on { background: var(--ink); color: #fff; transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--leaf-2), 0 8px 20px -6px rgba(0,0,0,.55); z-index: 2; }
.ex-dot.on::after { content: ""; position: absolute; inset: -9px; border-radius: 12px; border: 2px solid var(--leaf-2); animation: exping 1.6s ease-out infinite; }
@keyframes exping { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.ex-panel { min-width: 0; display: grid; gap: 14px; }
.ex-list { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; border-radius: var(--r-lg); background: var(--glass-card); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.ex-list > li { border-radius: var(--r-md); transition: background-color .25s; }
.ex-list > li.on { background: #fff; box-shadow: 0 1px 0 rgba(19,37,26,.04), 0 10px 24px -18px rgba(19,37,26,.5); }
.ex-row { width: 100%; display: grid; grid-template-columns: 26px 1fr 14px; gap: 12px; align-items: center; padding: 10px 12px; border: 0; background: none; cursor: pointer; text-align: left; font: 600 .97rem var(--body); color: var(--ink-2); border-radius: var(--r-md); }
.ex-row:hover { color: var(--ink); }
.ex-n { width: 26px; height: 26px; border-radius: var(--r-xs); display: grid; place-items: center; font: 700 .82rem var(--display); background: var(--leaf-wash); color: var(--leaf); transition: background-color .2s, color .2s; }
.ex-row svg { width: 12px; height: 12px; color: var(--ink-3); transition: transform .25s; }
li.on .ex-row { color: var(--ink); }
li.on .ex-n { background: var(--ink); color: #fff; }
li.on .ex-row svg { transform: rotate(180deg); }
.ex-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.ex-body > p { overflow: hidden; margin: 0; padding: 0 14px 0 50px; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
li.on .ex-body { grid-template-rows: 1fr; }
li.on .ex-body > p { padding-bottom: 12px; }
.ex-nav { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
.ex-arrow { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.ex-arrow:hover { border-color: var(--ink); }
.ex-arrow svg { width: 16px; height: 16px; }
.ex-count { font: 600 .9rem var(--display); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-count b { color: var(--ink); }
.ex-track { flex: 1; height: 3px; border-radius: 3px; background: rgba(19,37,26,.1); overflow: hidden; min-width: 30px; }
.ex-track i { display: block; height: 100%; width: 0; background: var(--leaf-2); }
.ex-track i.run { animation: carfill linear forwards; }
@media (max-width: 880px) {
  .explore { grid-template-columns: 1fr; gap: 14px; }
  .ex-img { width: min(100%, calc(min(320px, 38svh) * var(--ar))); }
  .ex-list > li:not(.on) { display: none; }
  .ex-list { padding: 4px; }
  .ex-list > li.on { background: transparent; box-shadow: none; }
  .ex-row { cursor: default; grid-template-columns: 26px 1fr; }
  .ex-row svg { display: none; }
  .ex-body > p { padding: 0 12px 12px 50px; }
  li.on .ex-body > p { animation: flash .35s ease; }
}
@media (max-width: 420px) {
  .ex-dot { width: 24px; height: 24px; font-size: .78rem; }
  .ex-body > p { padding-left: 12px; }
}

/* ===== Hero visual: three panels in a row ===== */
.hero:has(.hv3) { padding-bottom: clamp(48px, 6vw, 80px); }
.hv3 {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.75fr) minmax(0, .8fr);
  gap: clamp(12px, 1.6vw, 20px); align-items: stretch; max-width: 1180px; text-align: left;
}
.hv3 .frame { aspect-ratio: auto; height: clamp(300px, 32vw, 440px); border-radius: var(--r-lg); box-shadow: 0 30px 60px -36px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); }
.hv3 .frame img { object-position: 50% 62%; transition: transform 6s ease; }
.hv3:hover .frame img { transform: scale(1.04); }
.hv-card {
  border-radius: var(--r-lg); padding: clamp(16px, 1.8vw, 22px); display: flex; flex-direction: column; gap: 10px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px -32px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  color: #cfe0d4; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, background-color .25s;
}
.hv-card:hover { transform: translateY(-4px); border-color: rgba(143, 220, 166, 0.35); background: rgba(255, 255, 255, 0.08); }
.hv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hv-top svg { width: 26px; height: 26px; color: var(--hero-accent); flex: none; }
.hv-signal .hv-top { justify-content: flex-start; gap: 10px; }
.hv-label { font: 600 .82rem var(--body); color: #9fb6a7; }
.hv-signal .hv-label { font: 700 1.05rem var(--display); color: #fff; }
.hv-card .offline-tag { background: rgba(143, 220, 166, 0.14); color: var(--hero-accent); }
.hv-crop { font-size: .86rem; color: #9fb6a7; margin-top: auto; }
.hv-card .value { font: 700 clamp(1.25rem, 1.9vw, 1.6rem)/1.15 var(--display); color: #fff; }
.hv-card .meter { background: rgba(255, 255, 255, 0.1); margin-top: 2px; }
.hv-card .meter i { background: var(--hero-accent); }
.hv-card .meter.low i { background: #f0b64a; }
.hv-card .conf { font-size: .88rem; color: #b7c9bc; font-variant-numeric: tabular-nums; }
.hv-card .conf b { color: #fff; }
.hv-note { font-size: .84rem; color: #9fb6a7; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hv-lead { font-size: .92rem; color: #b7c9bc; line-height: 1.5; }
.hv-list { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 6px; }
.hv-list li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #dfe9e1; padding: 7px 10px; border-radius: var(--r-xs); background: rgba(255, 255, 255, 0.05); }
.hv-list li::before { content: "✓"; font-weight: 700; color: var(--hero-accent); width: 14px; }
.hv-list li.later { color: #9fb6a7; background: transparent; border: 1px dashed rgba(255, 255, 255, 0.14); }
.hv-list li.later::before { content: "↻"; color: #f0b64a; }
@media (prefers-reduced-motion: no-preference) {
  .hv-result { animation: hvin .8s .35s cubic-bezier(.2,.8,.2,1) both; }
  .hv-signal { animation: hvin .8s .5s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes hvin { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .hv3 { grid-template-columns: 1fr 1fr; }
  .hv3 .frame { grid-column: 1 / -1; order: -1; height: clamp(220px, 52vw, 380px); }
}
@media (max-width: 480px) {
  .hv3 { gap: 10px; }
  .hv-card { padding: 12px; gap: 7px; }
  .hv-card .value { font-size: 1.08rem; }
  .hv-lead { font-size: .82rem; }
  .hv-list li { font-size: .78rem; padding: 5px 7px; }
  .hv-list li:nth-child(3) { display: none; }
  .hv-note { font-size: .76rem; }
  .hv-signal .hv-label { font-size: .95rem; }
  .hv-top svg { width: 22px; height: 22px; }
}
.hv-alts { display: grid; gap: 8px; margin-top: 6px; padding: 10px 12px; border-radius: var(--r-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.hv-mini { font-size: .74rem; color: #8ea597; }
.hv-alt { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: .82rem; color: #cfe0d4; }
.hv-alt b { color: #fff; font-variant-numeric: tabular-nums; font-weight: 600; }
.hv-alt i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.hv-alt em { display: block; height: 100%; background: #6f8d7a; border-radius: 2px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.hv-crop { margin-top: auto; }
.hv-counter { display: grid; gap: 2px; margin-top: 4px; padding: 12px; border-radius: var(--r-sm); background: rgba(143,220,166,.08); border: 1px solid rgba(143,220,166,.18); }
.hv-counter b { font: 700 2.1rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; display: inline-block; }
.hv-counter b.bump { animation: bump .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); color: var(--hero-accent); } 100% { transform: scale(1); } }
.hv-counter span { font-size: .8rem; color: #9fb6a7; }
.hv-list { margin-top: 10px; }
@media (max-width: 480px) {
  .hv-alts { padding: 8px; gap: 6px; }
  .hv-alt { font-size: .74rem; }
  .hv-alt:nth-of-type(3) { display: none; }
  .hv-counter b { font-size: 1.6rem; }
  .hv-counter span { font-size: .72rem; }
  .hv-list { display: none; }
}
.hv-crop { margin-top: 4px; }
.hv-alts { margin-top: auto; }
@media (max-width: 480px) { .hv-list { display: grid; margin-top: auto; } .hv-list li:nth-child(2), .hv-list li:nth-child(3) { display: none; } }
/* Team grid for five or more people: centred rows */
.people { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1080px; gap: 20px; }
.people > .person { flex: 0 1 calc((100% - 40px) / 3); min-width: 260px; }
@media (max-width: 900px) { .people > .person { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .people > .person { flex-basis: 100%; min-width: 0; } }
.person { align-content: start; }
