/* FABLAB AI. Layout: one centred column on a near-black field ground; sections separated by hairlines, not colour bands. Product shots sit on lit stages, real photography carries the people. */
:root {
  --bg: #f7f5ef;
  --bg-2: #efece3;
  --surface: #ffffff;
  --surface-2: #f3f1ea;
  --surface-3: #e8e5da;
  --line: rgba(20, 35, 26, 0.10);
  --line-2: rgba(20, 35, 26, 0.18);
  --text: #14231a;
  --text-2: #4a5a50;
  --text-3: #7a867e;
  --accent: #1f6b3d;
  --accent-2: #2c8a53;
  --accent-ink: #ffffff;
  --accent-wash: rgba(31, 107, 61, 0.10);
  --amber: #e09a2b;
  --amber-wash: rgba(224, 154, 43, 0.14);
  --red: #c4513a;
  --hover: rgba(20, 35, 26, 0.05);
  --track: rgba(20, 35, 26, 0.10);
  --edge: rgba(20, 35, 26, 0.40);
  --head-bg: rgba(247, 245, 239, 0.86);
  --display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-xs: 5px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --wrap: 1180px;
  --text-w: 620px;
  color-scheme: light;
}
/* Dark islands: photo bands, forest bands, footer and chips on images */
.hx-hero, .tint-strong, .backed, .band.ink, .site-foot, .mega-side-glass, .s2-chip, .s2-cue span, .viewer-hint, .ex-dot, .hx-mark, .s2-hud, .mosaic figcaption {
  --bg: #0e1a13;
  --bg-2: #112018;
  --surface: #15261c;
  --surface-2: #1b3024;
  --surface-3: #223a2c;
  --line: rgba(233, 240, 235, 0.12);
  --line-2: rgba(233, 240, 235, 0.22);
  --text: #f4f2ea;
  --text-2: #c7d1ca;
  --text-3: #93a299;
  --accent: #7fd39a;
  --accent-2: #a6e5bb;
  --accent-ink: #0b1a11;
  --accent-wash: rgba(127, 211, 154, 0.14);
  --amber: #f0b54a;
  --hover: rgba(255, 255, 255, 0.06);
  --track: rgba(255, 255, 255, 0.10);
  --edge: var(--edge);
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100%; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }
body {
  margin: 0; max-width: 100%; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16.5px; line-height: 1.6; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video, canvas { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(79, 209, 139, 0.3); }
[id] { scroll-margin-top: 84px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--text); margin: 0; line-height: 1.08; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -0.032em; }
h3 { font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: .95rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: 1.12rem; line-height: 1.6; color: var(--text-2); max-width: var(--text-w); margin-inline: auto; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.center { text-align: center; }
.caption, figcaption { font-size: .84rem; color: var(--text-3); text-align: center; margin-top: 14px; }
.caption a { color: var(--text-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); 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) + 48px); 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)); } }

/* Sections */
.band { padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); overflow-x: clip; }
.band.tight { padding-block: clamp(48px, 6vw, 72px); }
.band.field, .band.dots { background: var(--bg-2); }
.band.ink { background: #123020; color: var(--text); }
.head { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); }
.prose { max-width: var(--text-w); margin: 0 auto; display: grid; gap: 16px; color: var(--text-2); text-align: center; font-size: 1.05rem; }
.note { max-width: 680px; margin: 24px auto 0; text-align: center; font-size: .9rem; color: var(--text-3); }
.note a { color: var(--text-2); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--head-bg); -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(247, 245, 239, 0.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 1.12rem var(--display); letter-spacing: -0.03em; }
.brand:hover { color: var(--text); }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .mega-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-sm); border: 0; background: none;
  text-decoration: none; color: var(--text-2); font: 500 .92rem var(--body); white-space: nowrap; cursor: pointer; transition: color .15s, background-color .15s;
}
.nav-links > li > a:hover, .mega-btn:hover, .mega-btn[aria-expanded="true"] { color: var(--text); background: var(--hover); }
.nav-links > li > a[aria-current="page"], .mega-btn[data-current="true"] { color: var(--text); }
.nav-links > li > a[aria-current="page"]::after, .mega-btn[data-current="true"]::after { content: ""; width: 4px; height: 4px; border-radius: 1px; background: var(--accent); margin-left: 2px; }
.mega-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 12px; font: 500 .92rem var(--body); color: var(--text); cursor: pointer; }
.nav-links .mobile-only { display: none; }

.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -6px);
  width: min(760px, calc(100vw - 48px)); padding: 10px; border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px;
  background: rgba(15, 25, 19, 0.97); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  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: 2px; }
.nav-links .mega-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-md); text-decoration: none; color: var(--text); white-space: normal; }
.mega-item > span { min-width: 0; }
.mega-item img { width: 64px; height: 46px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-3); }
.mega-item b { display: block; font: 600 .95rem var(--display); letter-spacing: -0.015em; }
.mega-item span span { display: block; font-size: .83rem; color: var(--text-3); line-height: 1.4; }
.nav-links .mega-item:hover, .nav-links .mega-item[aria-current="page"] { background: var(--hover); color: var(--text); }
.nav-links .mega-side { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 220px; display: block; text-decoration: none; color: var(--text); }
.mega-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s 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(7, 13, 9, 0.78); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mega-side-glass b { display: block; font: 600 .98rem var(--display); }
.mega-side-glass span { display: block; font-size: .83rem; color: var(--text-2); line-height: 1.4; margin-top: 2px; }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .site-head.open { background: var(--bg); }
  .site-head.open .nav-links {
    display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 2px; max-height: calc(100vh - 80px); overflow-y: auto;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  .site-head.open .nav-links > li > a { padding: 12px; font-size: 1.02rem; display: flex; }
  .nav-links .mobile-only { display: block; }
  .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: 38px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px;
  border-radius: var(--r-md); border: 1px solid transparent; font: 600 .95rem/1 var(--body); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn.primary, .btn.light { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover, .btn.light:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--edge); color: var(--text); background: var(--hover); }
.btn.small { padding: 9px 14px; font-size: .88rem; border-radius: var(--r-sm); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Hero */
.hero { text-align: center; padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); overflow: hidden; }
.hero h1 .after { display: block; color: var(--text-3); }
.hero .lede { margin-top: 22px; }
.hero .actions { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin: 28px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: .9rem; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

.hero-visual { margin: clamp(48px, 6vw, 72px) auto 0; }
.hv3 { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.7fr) minmax(0, .82fr); gap: 14px; max-width: 1180px; text-align: left; align-items: stretch; }
.stage {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(320px, 33vw, 460px);
  display: grid; place-items: center; padding: 28px 24px 44px; border: 1px solid var(--line);
  background-color: var(--surface);
  background-image: radial-gradient(60% 55% at 50% 42%, rgba(127, 227, 171, 0.10), transparent 70%);
}
.stage img { position: relative; z-index: 1; width: auto; max-width: 92%; max-height: clamp(260px, 28vw, 390px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.hv3:hover .stage img { transform: translateY(-4px) scale(1.015); }
.stage-cap { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 1; text-align: center; font: 500 .74rem var(--mono); letter-spacing: .06em; color: var(--text-3); text-transform: uppercase; }
.hv-card {
  border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2); transition: border-color .25s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.hv-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.hv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hv-top svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.hv-signal .hv-top { justify-content: flex-start; gap: 10px; }
.hv-label { font: 500 .8rem var(--body); color: var(--text-3); }
.hv-signal .hv-label { font: 600 1rem var(--display); color: var(--text); letter-spacing: -0.015em; }
.hv-crop { font-size: .84rem; color: var(--text-3); margin-top: 4px; }
.hv-card .value { font: 600 clamp(1.2rem, 1.8vw, 1.5rem)/1.15 var(--display); letter-spacing: -0.025em; color: var(--text); }
.hv-card .conf { font-size: .86rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hv-card .conf b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.hv-alts { display: grid; gap: 8px; margin-top: auto; padding: 12px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); }
.hv-mini { font-size: .74rem; color: var(--text-3); }
.hv-alt { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: .82rem; color: var(--text-2); }
.hv-alt b { color: var(--text); font: 500 .8rem var(--mono); }
.hv-alt i { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--track); overflow: hidden; }
.hv-alt em { display: block; height: 100%; background: var(--text-3); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.hv-note { font-size: .82rem; color: var(--text-3); padding-top: 10px; border-top: 1px solid var(--line); }
.hv-lead { font-size: .9rem; color: var(--text-2); line-height: 1.5; }
.hv-counter { display: grid; gap: 2px; padding: 12px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); }
.hv-counter b { font: 500 2rem/1 var(--mono); color: var(--text); letter-spacing: -0.04em; display: inline-block; }
.hv-counter b.bump { animation: bump .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { transform: scale(1.12); color: var(--accent); } }
.hv-counter span { font-size: .78rem; color: var(--text-3); }
.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: .86rem; color: var(--text); padding: 7px 10px; border-radius: var(--r-xs); background: var(--bg-2); border: 1px solid var(--line); }
.hv-list li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); flex: none; }
.hv-list li.later { color: var(--text-3); border-style: dashed; background: transparent; }
.hv-list li.later::before { background: var(--amber); }
@media (max-width: 900px) {
  .hv3 { grid-template-columns: 1fr 1fr; }
  .stage { grid-column: 1 / -1; order: -1; min-height: 0; padding: 20px 16px 40px; }
  .stage img { max-height: 58vw; }
}
@media (max-width: 480px) {
  .hv3 { gap: 10px; }
  .hv-card { padding: 13px; gap: 8px; }
  .hv-card .value { font-size: 1.04rem; }
  .hv-lead { font-size: .8rem; }
  .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.5rem; }
  .hv-counter span { font-size: .72rem; }
  .hv-list li { font-size: .76rem; padding: 5px 7px; }
  .hv-list li:nth-child(2), .hv-list li:nth-child(3) { display: none; }
  .hv-note { font-size: .74rem; }
  .hv-signal .hv-label { font-size: .92rem; }
}

/* Spec band */
.specband { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 56px); background: var(--bg-2); }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.specs > div { padding: 4px 24px; border-left: 1px solid var(--line); text-align: center; min-width: 0; }
.specs > div:first-child { border-left: 0; }
.specs dt { font: 500 clamp(2rem, 3.4vw, 2.75rem)/1 var(--mono); letter-spacing: -0.05em; color: var(--text); }
.specs dd { margin: 10px 0 0; font-size: .9rem; color: var(--text-2); }
.stackline { max-width: 700px; margin: 36px auto 0; text-align: center; font-size: .88rem; color: var(--text-3); }
.stackline b { color: var(--text-2); font-weight: 500; }
@media (max-width: 760px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .specs > div:nth-child(3) { border-left: 0; }
  .specs > div { padding: 0 12px; }
}

/* Inner page heroes */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero-in { text-align: center; padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); display: grid; gap: 20px; justify-items: center; }
.page-hero-in h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 860px; }
.page-hero + .band { border-top: 0; }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; max-width: 1080px; margin: 0 auto; }
.mosaic figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; min-width: 0; }
.mosaic .m-tall { grid-row: span 2; aspect-ratio: auto; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); filter: saturate(.92); }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 12px 14px; border-radius: var(--r-md); text-align: left;
  background: rgba(7, 13, 9, 0.74); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: .88rem; color: var(--text-2); line-height: 1.45;
}
.mosaic figcaption b { display: block; font: 600 1rem var(--display); color: var(--text); letter-spacing: -0.015em; }
@media (max-width: 720px) { .mosaic { grid-template-columns: 1fr; } .mosaic .m-tall { grid-row: auto; aspect-ratio: 4 / 4.4; } }

/* Photo-backed bands */
.backed { position: relative; isolation: isolate; overflow: hidden; min-height: 540px; display: grid; align-items: center; }
.backed > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; filter: saturate(.85); }
.backed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 10, 7, 0.52); pointer-events: none; }
.backed .glass {
  max-width: 620px; margin: 0 auto; text-align: center; padding: clamp(28px, 4vw, 44px); display: grid; gap: 16px; justify-items: center;
  background: rgba(7, 13, 9, 0.72); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.backed .glass .lede { font-size: 1.04rem; }
.credit {
  position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: 10px; z-index: 2; font-size: .72rem; text-decoration: none;
  color: rgba(233, 240, 235, 0.8); padding: 3px 8px; border-radius: var(--r-xs); background: rgba(7, 13, 9, 0.6);
}
.credit:hover { color: var(--text); }
@media (max-width: 720px) { .backed { min-height: 460px; } }

/* Part explorer */
.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; padding: 20px; border-radius: var(--r-lg); background-color: var(--surface); background-image: radial-gradient(60% 55% at 50% 45%, rgba(127, 227, 171, 0.08), transparent 70%); border: 1px solid var(--line); }
.ex-img { position: relative; width: min(100%, calc(min(460px, 58svh) * var(--ar))); aspect-ratio: var(--ar); }
.ex-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5)); }
.ex-dot {
  position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; padding: 0; cursor: pointer; border-radius: 7px;
  background: rgba(7, 13, 9, 0.85); color: var(--text); font: 500 .8rem var(--mono); border: 1px solid rgba(233, 240, 235, 0.5);
  transition: transform .2s cubic-bezier(.3,1.4,.5,1), background-color .2s, color .2s, border-color .2s;
}
.ex-dot:hover { transform: translate(-50%, -50%) scale(1.1); border-color: var(--accent); }
.ex-dot.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.16); z-index: 2; }
.ex-dot.on::after { content: ""; position: absolute; inset: -8px; border-radius: 11px; border: 1.5px solid var(--accent); 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(--surface); border: 1px solid var(--line); }
.ex-list > li { border-radius: var(--r-md); transition: background-color .25s; }
.ex-list > li.on { background: var(--surface-2); }
.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: 500 .95rem var(--body); color: var(--text-2); border-radius: var(--r-md); }
.ex-row:hover { color: var(--text); }
.ex-n { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font: 500 .78rem var(--mono); border: 1px solid var(--line-2); color: var(--text-3); transition: all .2s; }
.ex-row svg { width: 12px; height: 12px; color: var(--text-3); transition: transform .25s; }
li.on .ex-row { color: var(--text); }
li.on .ex-n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
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(--text-2); font-size: .92rem; 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-2); background: transparent; color: var(--text); cursor: pointer; }
.ex-arrow:hover { border-color: var(--edge); }
.ex-arrow svg { width: 16px; height: 16px; }
.ex-count { font: 500 .85rem var(--mono); color: var(--text-3); white-space: nowrap; }
.ex-count b { color: var(--text); font-weight: 500; }
.ex-track { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; min-width: 30px; }
.ex-track i { display: block; height: 100%; width: 0; background: var(--accent); }
.ex-track i.run { animation: carfill linear forwards; }
@keyframes carfill { from { width: 0; } to { width: 100%; } }
@media (max-width: 880px) {
  .explore { grid-template-columns: 1fr; gap: 12px; }
  .ex-fig { padding: 14px; }
  .ex-img { width: min(100%, calc(min(300px, 36svh) * var(--ar))); }
  .ex-list > li:not(.on) { display: none; }
  .ex-list { padding: 4px; }
  .ex-list > li.on { background: transparent; }
  .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: fadeup .35s ease; }
}
@media (max-width: 420px) { .ex-dot { width: 22px; height: 22px; font-size: .72rem; } .ex-body > p { padding-left: 12px; } }
@keyframes fadeup { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Try a scan */
.scan2 {
  max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.08fr 1fr; text-align: left;
  height: clamp(500px, calc(100svh - 120px), 610px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface);
}
.scan2 > * { min-width: 0; }
.s2-left { background: var(--bg); padding: 14px; display: grid; gap: 10px; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; border-right: 1px solid var(--line); }
.s2-crops { display: flex; flex-wrap: wrap; gap: 6px; }
.s2-crops button { border: 1px solid var(--line-2); background: transparent; color: var(--text-2); border-radius: var(--r-sm); padding: 7px 11px; font: 500 .86rem var(--body); cursor: pointer; transition: all .15s; }
.s2-crops button:hover { color: var(--text); border-color: var(--edge); }
.s2-crops button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.s2-crops .s2-own { margin-left: auto; border-style: dashed; }
.s2-own .sm { display: none; }
.s2-view { position: relative; min-height: 0; border-radius: var(--r-md); background: var(--surface); display: grid; place-items: center; container-type: size; overflow: hidden; }
.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-stage { position: absolute; inset: 0; transition: box-shadow .2s; }
.s2-stage.dragging { box-shadow: inset 0 0 0 3px var(--accent); }
.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-stage [hidden] { display: none !important; }
.s2-drop { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--text-2); padding: 16px; background: var(--surface-2); }
.s2-drop svg { position: static; width: 32px; height: 32px; color: var(--accent); }
.s2-drop b { color: var(--text); font: 600 1rem var(--display); }
.s2-drop small { color: var(--text-3); }
.s2-scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(79, 209, 139, 0), rgba(79, 209, 139, .22) 85%, rgba(127, 227, 171, .9)); }
.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: 8px; top: 8px; display: flex; gap: 5px; flex-wrap: wrap; pointer-events: none; }
.s2-chip { font: 500 .72rem var(--mono); padding: 4px 7px; border-radius: var(--r-xs); background: rgba(7, 13, 9, 0.82); color: var(--text); }
.s2-chip.good::before, .s2-chip.bad::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1px; margin-right: 6px; vertical-align: 1px; }
.s2-chip.good::before { background: var(--accent); } .s2-chip.bad::before { background: var(--amber); }
.s2-chip.off { background: var(--accent); color: var(--accent-ink); }
.s2-cues { position: absolute; inset: 0; pointer-events: none; }
.s2-cue { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 8px; 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, .22); 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: 500 .76rem var(--body); color: var(--text); background: rgba(7, 13, 9, 0.92); padding: 4px 8px; border-radius: var(--r-xs); transition: opacity .15s, transform .15s; pointer-events: none; }
.s2-cue.hot, .s2-cue:hover, .s2-cue:focus-visible { transform: scale(1.16); 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: var(--text-2); font: 500 .85rem var(--body); }
.s2-sliders input { accent-color: var(--accent); width: 100%; min-width: 0; }
.s2-sliders output { font: 500 .76rem var(--mono); color: var(--accent); min-width: 62px; text-align: right; }
.s2-ownbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text-3); font-size: .84rem; }
.s2-right { padding: 18px 20px; display: grid; gap: 12px; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: 0; }
.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: 2px solid var(--line-2); padding-top: 7px; min-width: 0; transition: border-color .3s; }
.s2-steps b { font: 500 .78rem var(--body); color: var(--text-3); transition: color .3s; }
.s2-steps span { display: none; }
.s2-steps li.active { border-color: var(--accent); animation: s2blink .7s ease-in-out infinite alternate; }
.s2-steps li.active b, .s2-steps li.done b { color: var(--text); }
.s2-steps li.done { border-color: var(--accent); }
.s2-steps li.fail { border-color: var(--amber); }
.s2-steps li.fail b { color: var(--amber); }
@keyframes s2blink { from { border-color: var(--line-2); } to { border-color: var(--accent); } }
.s2-out { min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); padding: 14px 16px; display: grid; align-content: start; gap: 10px; }
.s2-idle { display: grid; gap: 6px; place-content: center; text-align: center; min-height: 100%; color: var(--text-3); }
.s2-idle b { font: 600 1.05rem var(--display); color: var(--text); }
.s2-res-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.s2-band { font: 500 .74rem var(--mono); padding: 4px 8px; border-radius: var(--r-xs); }
.s2-band.high { background: var(--accent-wash); color: var(--accent); }
.s2-band.mid { background: rgba(214, 220, 120, 0.12); color: #d6dc78; }
.s2-band.low { background: var(--amber-wash); color: var(--amber); }
.s2-crop { font-size: .82rem; color: var(--text-3); }
.s2-bars { display: grid; gap: 7px; }
.s2-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; }
.s2-bar .n { font-size: .86rem; color: var(--text-2); }
.s2-bar .v { font: 500 .84rem var(--mono); color: var(--text-2); }
.s2-bar i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--track); overflow: hidden; }
.s2-bar i b { display: block; height: 100%; width: 0; background: var(--text-3); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.s2-bar.top .n { font: 600 1.15rem var(--display); color: var(--text); letter-spacing: -0.02em; }
.s2-bar.top .v { font-size: 1.05rem; color: var(--text); }
.s2-bar.top i { height: 6px; }
.s2-bar.top i b { background: var(--accent); }
.s2-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s2-compare div { border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 6px 8px; display: grid; gap: 2px; font-size: .8rem; color: var(--text-2); }
.s2-compare b { color: var(--text); font-size: .86rem; }
.s2-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.s2-tabs button { border: 0; background: none; padding: 8px 10px; font: 500 .88rem var(--body); color: var(--text-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.s2-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.s2-todo, .s2-why, .s2-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.s2-todo label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .9rem; color: var(--text); padding: 5px 6px; border-radius: var(--r-xs); }
.s2-todo label:hover { background: var(--hover); }
.s2-todo input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.s2-todo input:checked + span { color: var(--text-3); text-decoration: line-through; }
.s2-why li { padding: 6px 9px; border-radius: var(--r-xs); border: 1px solid var(--line); font-size: .88rem; color: var(--text-2); }
.s2-why li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; background: rgba(240, 120, 60, .8); }
.s2-why li.hot, .s2-why li:hover { border-color: rgba(240, 120, 60, .5); color: var(--text); }
.s2-progress { font: 500 .76rem var(--mono); color: var(--text-3); }
.s2-progress.all { color: var(--accent); }
.s2-checks li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: var(--r-xs); background: var(--surface-2); font-size: .9rem; }
.s2-checks li.no { background: var(--amber-wash); }
.s2-checks li span { color: var(--text-2); }
.s2-checks li.ok span::before { content: "✓ "; color: var(--accent); }
.s2-checks li.no span::before { content: "! "; color: var(--amber); }
.s2-honest { font-size: .88rem; color: var(--text-2); }
.s2-fail { display: grid; gap: 4px; padding: 12px; border-radius: var(--r-sm); background: var(--amber-wash); border: 1px solid rgba(231, 176, 74, 0.25); }
.s2-fail b { font: 600 1rem var(--display); }
.s2-fail span { color: var(--text-2); font-size: .9rem; }
.s2-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.s2-scanbtn {
  position: relative; width: 96px; height: 50px; border-radius: 11px; border: 0; cursor: pointer; padding: 0;
  background: var(--accent); color: var(--accent-ink); font: 600 .98rem var(--display); letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 0 #1f7a4a, 0 14px 24px -12px rgba(79, 209, 139, .6);
  transition: transform .08s ease, box-shadow .08s ease;
}
.s2-scanbtn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 0 #1f7a4a; }
.s2-scanbtn:disabled { cursor: progress; filter: saturate(.6) brightness(.85); }
.s2-scanbtn .ring { position: absolute; inset: -5px; border-radius: 15px; border: 1.5px solid var(--accent); 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: .74rem; color: var(--text-3); }
#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); } .s2-left { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) {
  #try .head { margin-bottom: 18px; }
  .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: .74rem; 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 { gap: 6px 12px; }
  .s2-sliders label { grid-template-columns: auto 1fr; gap: 6px; font-size: .76rem; }
  .s2-sliders output { display: none; }
  .s2-chip { font-size: .66rem; padding: 3px 5px; }
  .s2-right { padding: 12px; gap: 8px; }
  .s2-steps b { font-size: .66rem; line-height: 1.2; display: block; }
  .s2-out { padding: 10px 12px; }
  .s2-note { display: none; }
  .s2-controls { gap: 10px; flex-wrap: nowrap; }
  .s2-scanbtn { width: 82px; height: 44px; flex: none; }
  .s2-side { flex-wrap: nowrap; }
  .s2-side .btn { padding: 9px 11px; font-size: .82rem; }
  .s2-compare { grid-template-columns: 1fr; }
  .s2-cue { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}

/* Offline toggle */
.toggle-wrap { display: grid; gap: 22px; justify-items: center; }
.switch { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 6px 8px 6px 16px; font: 500 .95rem var(--body); color: var(--text); cursor: pointer; }
.switch .track { width: 48px; height: 28px; border-radius: 7px; background: var(--surface-3); position: relative; transition: background-color .25s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 5px; background: var(--text); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.switch[aria-checked="true"] .track { background: var(--accent); }
.switch[aria-checked="true"] .track::after { transform: translateX(20px); background: var(--accent-ink); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 660px; text-align: left; }
.feature-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .93rem; }
.feature-list li > span:first-of-type { flex: 1; min-width: 0; }
.feature-list .st { font: 500 .72rem var(--mono); padding: 3px 7px; border-radius: var(--r-xs); white-space: nowrap; }
.feature-list .st.ok { color: var(--accent); background: var(--accent-wash); }
.feature-list .st.wait { color: var(--amber); background: var(--amber-wash); }
.feature-list .st.sync { color: var(--accent-ink); background: var(--accent); }
.queue { font-size: .92rem; color: var(--text-2); }
.queue b { color: var(--text); font: 500 1.1rem var(--mono); }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }

/* 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); }
.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(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
  .ds-box b { font: 600 1rem 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(--surface-2); border-radius: var(--r-xs); padding: 6px 8px; font-size: .86rem; color: var(--text-2); }
  .ds-box small { color: var(--text-3); font-size: .8rem; }
  .ds-flow { display: grid; gap: 4px; padding: 0 6px; font: 500 .8rem var(--mono); }
  .ds-flow .up { color: var(--accent); } .ds-flow .up::before { content: "↑ "; }
  .ds-flow .down { color: var(--amber); } .ds-flow .down::before { content: "↓ "; }
}

/* Crops */
.crop-picker { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 860px; margin: 0 auto; }
.crop-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 9px; border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-sm); font: 500 .94rem var(--body); color: var(--text); text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.crop-btn svg { width: 28px; height: 28px; flex: none; }
.crop-btn:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.crop-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.catalogue { max-width: 920px; margin: 40px 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: 12px; text-align: left; }
.cat-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; min-width: 0; }
.cat-grid h4 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cat-grid h4 span { font: 500 .78rem var(--mono); color: var(--text-3); }
.cat-grid ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; font-size: .9rem; color: var(--text-2); }
.cat-grid li { padding-left: 14px; position: relative; }
.cat-grid li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 1px; background: var(--c, var(--accent)); }
.cat-grid .disease { --c: var(--red); } .cat-grid .pest { --c: var(--amber); } .cat-grid .nutrient { --c: #6aa8e8; } .cat-grid .stress { --c: var(--text-3); }
.cat-grid > div.pop { animation: fadeup .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; } }

/* Tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); justify-content: center; }
.tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 7px; font: 500 .92rem var(--body); color: var(--text-2); cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.tab-panel { max-width: 880px; margin: 24px auto 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); 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 .copy h3 { font-size: 1.3rem; }
.tab-panel .copy .muted { color: var(--text-2); }
.tab-panel .pic { background: var(--surface-2); min-height: 280px; }
.tab-panel .pic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.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: 500 1.3rem var(--mono); letter-spacing: -0.03em; color: var(--text); }
.facts span { font-size: .84rem; color: var(--text-3); }
@media (max-width: 720px) { .tab-panel { grid-template-columns: 1fr; } .tab-panel .pic { min-height: 200px; aspect-ratio: 16/10; } }

/* Likelihood scale */
.scale { max-width: 760px; margin: 0 auto; color: var(--text); }
.scale-bar { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; height: 6px; border-radius: 3px; overflow: hidden; gap: 3px; }
.scale-bar i:nth-child(1) { background: var(--amber); } .scale-bar i:nth-child(2) { background: #8fae86; } .scale-bar i:nth-child(3) { background: var(--accent); }
.scale-labels { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 12px; margin-top: 18px; text-align: left; }
.scale-labels > div { min-width: 0; }
.scale-labels b { display: block; font: 500 .9rem var(--mono); color: var(--text); }
.scale-labels span { font-size: .88rem; color: var(--text-2); display: block; margin-top: 4px; }
.scale-pin { position: relative; height: 30px; }
.scale-pin i { position: absolute; top: 4px; width: 1px; height: 22px; background: var(--text); transition: left 1s cubic-bezier(.2,.8,.2,1); }
.scale-pin i::before { content: attr(data-v); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font: 500 .78rem var(--mono); white-space: nowrap; color: var(--text); }
.scale-pin i[data-edge="r"]::before { left: auto; right: -1px; transform: none; }
.scale-pin i[data-edge="l"]::before { left: -1px; transform: none; }
@media (max-width: 620px) { .scale-labels { grid-template-columns: 1fr; } }

/* Spec table */
.spec { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); text-align: left; }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.spec-row > * { min-width: 0; }
.spec-row dt { font: 500 .88rem var(--mono); color: var(--text); padding-top: 2px; }
.spec-row dd { margin: 0; color: var(--text-2); }
@media (max-width: 620px) { .spec-row { grid-template-columns: 1fr; gap: 4px; } }

/* Feature pairs */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); 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-color: var(--surface); background-image: radial-gradient(60% 60% at 50% 45%, rgba(127, 227, 171, 0.07), transparent 70%); border: 1px solid var(--line); aspect-ratio: 4 / 3; width: 100%; }
.pair figure img { width: 100%; height: 100%; object-fit: cover; }
.pair p { color: var(--text-2); max-width: 420px; }
@media (max-width: 680px) { .pair { grid-template-columns: 1fr; } }

/* Sequences */
.sequence { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; text-align: left; counter-reset: q; }
.sequence li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 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, decimal-leading-zero); font: 500 .9rem/1.6 var(--mono); color: var(--accent); }
.sequence h3 { margin-bottom: 6px; }
.sequence p { color: var(--text-2); }
.sequence.timed li { grid-template-columns: 76px 1fr; }
.sequence.timed li::before { content: attr(data-time); counter-increment: none; }

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 1080px; margin: 0 auto; }
.pipeline > div { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 14px; text-align: center; display: grid; gap: 6px; transition: border-color .3s, background-color .3s; }
.pipeline > div h3 { font-size: 1rem; }
.pipeline > div p { font-size: .86rem; color: var(--text-3); }
.pipeline > div .out { font: 500 .74rem var(--mono); color: var(--accent); background: var(--accent-wash); padding: 4px 8px; border-radius: var(--r-xs); justify-self: center; margin-top: 4px; opacity: .3; transition: opacity .3s; }
.pipeline > div.on { border-color: rgba(79, 209, 139, 0.45); background: var(--surface-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; } }

/* Grid helpers */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid > * { min-width: 0; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g3 > div { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.g3 .muted { color: var(--text-2); }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr; } }

/* 3D viewer */
.viewer { max-width: 1000px; margin: 0 auto; border-radius: var(--r-lg); background-color: var(--surface); background-image: radial-gradient(55% 55% at 50% 45%, rgba(127, 227, 171, 0.08), transparent 70%); 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: 500 .76rem var(--mono); color: var(--text-2); background: rgba(7, 13, 9, 0.8); padding: 6px 10px; border-radius: var(--r-xs); pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.viewer-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; align-items: center; padding: 14px; border-top: 1px solid var(--line); background: var(--bg-2); }
.viewer-bar label { font: 500 .88rem var(--body); display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.viewer-bar input[type="range"] { accent-color: var(--accent); width: 150px; }
@media (max-width: 560px) { .viewer-stage { aspect-ratio: 4 / 3.6; } }

/* 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; border: 1px solid var(--line); background-color: var(--surface); background-image: radial-gradient(55% 55% at 50% 45%, rgba(127, 227, 171, 0.07), transparent 70%); }
.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: 24px 16px; min-width: 0; }
.car-slide img { width: auto; max-width: 100%; max-height: 440px; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5)); }
.car-slide figcaption { font-size: .94rem; color: var(--text-2); margin: 0; }
.car-slide figcaption b { display: block; font: 600 1.05rem var(--display); color: var(--text); letter-spacing: -0.015em; }
.car-bar { margin: 18px auto 0; max-width: 520px; border-radius: var(--r-md); padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); background: var(--surface); }
.car-count { font: 500 .85rem var(--mono); color: var(--text-3); white-space: nowrap; }
.car-count b { color: var(--text); font-weight: 500; }
.car-progress { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; min-width: 40px; }
.car-progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.car-progress i.run { animation: carfill linear forwards; }
.car-btns { display: flex; gap: 6px; }
.car-btn, .car-pause { height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; font: 500 .84rem var(--body); }
.car-btn { width: 36px; }
.car-btn svg { width: 16px; height: 16px; }
.car-pause { padding: 0 12px; }
.car-btn:hover, .car-pause:hover { border-color: var(--edge); }
@media (max-width: 480px) { .car-bar { padding-left: 12px; gap: 10px; } .car-pause { padding: 0 9px; } }

/* Calculator */
.calc { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); 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: 500 .92rem var(--body); color: var(--text-2); }
.calc label output { font: 500 1rem var(--mono); color: var(--text); }
.calc .row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.calc input[type="range"] { accent-color: var(--accent); width: 100%; }
.calc .outputs { background: var(--bg-2); border-left: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: center; }
.calc .big { font: 500 clamp(2.6rem, 6vw, 3.6rem)/1 var(--mono); letter-spacing: -0.05em; color: var(--accent); }
.calc .outputs p { color: var(--text-2); font-size: .92rem; }
.calc .outputs dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; font-size: .9rem; color: var(--text-2); padding-top: 16px; border-top: 1px solid var(--line); }
.calc .outputs dd { margin: 0; color: var(--text); font-family: var(--mono); text-align: right; }
@media (max-width: 720px) { .calc { grid-template-columns: 1fr; } .calc .outputs { border-left: 0; border-top: 1px solid var(--line); } }

/* Team */
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1080px; margin: 0 auto; }
.person { flex: 0 1 calc((100% - 28px) / 3); min-width: 260px; text-align: left; display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .2s; }
.person:hover { border-color: var(--line-2); }
.avatar { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--surface-3); color: var(--text); font: 500 1rem var(--mono); letter-spacing: .02em; margin-bottom: 10px; border: 1px solid var(--line-2); }
.person h2 { font-size: 1.2rem !important; letter-spacing: -0.02em; }
.person .role { color: var(--accent); font: 500 .8rem var(--mono); }
.person p { color: var(--text-2); font-size: .93rem; }
.person .link { font-size: .9rem; word-break: break-all; margin-top: 6px; color: var(--text); text-decoration-color: var(--line-2); }
.person .link:hover { color: var(--accent); }
@media (max-width: 900px) { .person { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 600px) { .person { flex-basis: 100%; min-width: 0; } }

/* Forms */
.form { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; text-align: left; background: var(--surface); 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: 8px; font: 500 .9rem var(--body); color: var(--text); }
.field-label small { font-weight: 400; color: var(--text-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .15s;
}
input:hover, select:hover, textarea:hover { border-color: var(--edge); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 209, 139, 0.18); }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font: 500 .9rem var(--body); margin-bottom: 10px; }
.check-row { display: flex; flex-wrap: wrap; gap: 6px; }
.check-row label { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 7px 12px; font-size: .9rem; color: var(--text-2); cursor: pointer; }
.check-row input { accent-color: var(--accent); }
.check-row label:has(input:checked) { border-color: var(--accent); color: var(--text); background: var(--accent-wash); }
.form-error { color: var(--red); font-size: .9rem; font-weight: 500; }
.form-done { display: grid; gap: 14px; }
.form-done pre { white-space: pre-wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; font: .84rem/1.6 var(--mono); color: var(--text-2); margin: 0; overflow-x: auto; }
@media (max-width: 620px) { .form .two { grid-template-columns: 1fr; } }

/* CTA */
.cta { text-align: center; display: grid; gap: 18px; justify-items: center; }
.cta .lede { color: var(--text-2); }

/* Page figure */
.page-figure { max-width: 1060px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.page-figure img { width: 100%; filter: saturate(.92); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 64px 32px; font-size: .92rem; background: #0f1c14; color: var(--text-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font: 500 .8rem var(--mono); color: var(--text-3); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--text-2); text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-grid .about p { color: var(--text-2); margin-top: 14px; max-width: 330px; }
.site-foot .foot-co { margin-top: 10px; font-size: .88rem; color: var(--text-3) !important; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .82rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .about { grid-column: 1 / -1; } }

/* Small tags and meters */
.offline-tag { display: inline-flex; align-items: center; gap: 6px; font: 500 .72rem var(--mono); color: var(--accent); background: var(--accent-wash); padding: 3px 7px; border-radius: var(--r-xs); }
.meter { height: 4px; background: var(--track); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.meter i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; transition: width .9s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.meter.low i { background: var(--amber); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s 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; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hero render: front view; on narrow screens it sits on the page, no container, and smaller */
@media (max-width: 900px) {
  .stage { background: none; border: 0; border-radius: 0; padding: 4px 0 30px; overflow: visible; }
  .stage img { max-width: min(78%, 420px); max-height: none; }
  .stage-cap { bottom: 4px; }
}
@media (max-width: 480px) {
  .stage { padding-bottom: 26px; }
  .stage img { max-width: 72%; }
}
@media (max-width: 900px) { .stage img { max-width: min(60%, 340px); } }
@media (max-width: 480px) { .stage img { max-width: min(58%, 230px); } .stage { padding-top: 0; } }

/* Team timeline: centred spine, entries alternate sides; single side on narrow screens */
.timeline { list-style: none; margin: 0 auto; padding: 8px 0; max-width: 900px; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(var(--line-2), var(--line-2)) no-repeat; transform: translateX(-.5px); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start; }
.tl-node {
  grid-column: 2; justify-self: center; position: relative; z-index: 1; width: 44px; height: 44px; margin-top: 18px;
  display: grid; place-items: center; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line-2);
  font: 500 .82rem var(--mono); color: var(--text); transition: border-color .25s, background-color .25s, color .25s;
}
.tl-item:first-child .tl-node { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tl-card { grid-row: 1; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: 6px; text-align: left; min-width: 0; position: relative; transition: border-color .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; }
.tl-card::after { content: ""; position: absolute; top: 39px; width: 20px; height: 1px; background: var(--line-2); }
.tl-item:nth-child(odd) .tl-card::after { right: -21px; }
.tl-item:nth-child(even) .tl-card::after { left: -21px; }
.tl-item:hover .tl-card { border-color: var(--line-2); transform: translateY(-2px); }
.tl-item:hover .tl-node { border-color: var(--accent); }
.tl-role { font: 500 .78rem var(--mono); color: var(--accent); }
.tl-name { font-size: 1.2rem !important; letter-spacing: -0.02em; }
.tl-card p { color: var(--text-2); font-size: .93rem; }
.tl-link { font-size: .9rem; color: var(--text); text-decoration-color: var(--line-2); word-break: break-all; margin-top: 4px; justify-self: start; }
.tl-link:hover { color: var(--accent); }
@media (max-width: 760px) {
  .timeline { gap: 14px; }
  .timeline::before { left: 22px; }
  .tl-item { grid-template-columns: 44px 1fr; column-gap: 16px; }
  .tl-node { grid-column: 1; margin-top: 16px; }
  .tl-item:nth-child(odd) .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 2; }
  .tl-item:nth-child(odd) .tl-card::after, .tl-item:nth-child(even) .tl-card::after { left: -17px; right: auto; width: 16px; top: 37px; }
  .tl-card { padding: 16px 18px; }
}

/* ===== Spec-sheet hero ===== */
.hx-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.vf { position: relative; display: inline-block; padding: clamp(18px, 2.4vw, 30px) clamp(22px, 3.2vw, 44px); max-width: 980px; }
.vf .c { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); }
.vf .tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.vf .tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.vf .bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.vf .br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .vf .c { animation: vflock .7s cubic-bezier(.3,1.35,.5,1) .15s both; }
  .vf .tl { --dx: -18px; --dy: -14px; } .vf .tr { --dx: 18px; --dy: -14px; } .vf .bl { --dx: -18px; --dy: 14px; } .vf .br { --dx: 18px; --dy: 14px; }
  @keyframes vflock { 0% { opacity: 0; transform: translate(var(--dx), var(--dy)); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
}
.hx-hero .lede { margin-top: 18px; }
.hx-hero .actions { margin-top: 30px; }

.hx { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: 0 clamp(20px, 3vw, 44px); margin-top: clamp(48px, 6vw, 72px); text-align: left; }
.hx-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.hx-lines path { fill: none; stroke: rgba(233, 240, 235, 0.32); stroke-width: 1; }
.hx-lines circle { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.hx-lines .hot path, .hx-lines path.hot { stroke: var(--accent); }
.hx-calls { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 52px); position: relative; z-index: 2; }
.hx-right { text-align: left; }
.hx-left { text-align: right; }
.hx-call { display: grid; gap: 3px; cursor: default; }
.hx-call b { font: 600 1rem var(--display); letter-spacing: -0.015em; color: var(--text); }
.hx-call span:not(.hx-n) { font: 400 .84rem var(--mono); color: var(--text-3); }
.hx-n { display: none; }
.hx-call:hover b { color: var(--accent); }
.hx-plate { position: relative; margin: 0; padding: 20px 0 0; z-index: 0; }
.hx-plate::before {
  content: ""; position: absolute; inset: -20px -10%; z-index: -1;
  background-image: linear-gradient(rgba(233, 240, 235, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 240, 235, 0.05) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.hx-img { position: relative; width: 100%; aspect-ratio: 1399 / 1210; }
.hx-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.6)); }
.hx-mark { display: none; }
.hx-dim { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 6px 7% 0; color: var(--text-3); font: 500 .74rem var(--mono); }
.hx-dim i { height: 1px; background: var(--line-2); position: relative; }
.hx-dim i:first-child::before, .hx-dim i:last-child::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--line-2); }
.hx-dim i:first-child::before { left: 0; } .hx-dim i:last-child::after { right: 0; }
.hx-plate figcaption { margin-top: 10px; font: 400 .76rem var(--mono); color: var(--text-3); }

.readout {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; max-width: 900px;
  margin: clamp(36px, 4vw, 52px) auto 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  font: 400 .82rem var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums;
}
.readout b { font-weight: 500; color: var(--text); margin-right: 8px; transition: opacity .25s; }
.readout b.swap { opacity: .15; }
.readout .ro-conf { color: var(--accent); }
.readout .ro-conf.low { color: var(--amber); }
.readout .ro-off { color: var(--accent); }
.ro-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); margin-right: 4px; animation: roblink 1.6s steps(2, start) infinite; }
@keyframes roblink { to { opacity: .25; } }

@media (prefers-reduced-motion: no-preference) {
  .hx-call { animation: callin .6s cubic-bezier(.2,.8,.2,1) both; }
  .hx-left .hx-call:nth-child(1) { animation-delay: .9s; } .hx-left .hx-call:nth-child(2) { animation-delay: 1s; } .hx-left .hx-call:nth-child(3) { animation-delay: 1.1s; }
  .hx-right .hx-call:nth-child(1) { animation-delay: .95s; } .hx-right .hx-call:nth-child(2) { animation-delay: 1.05s; } .hx-right .hx-call:nth-child(3) { animation-delay: 1.15s; }
  @keyframes callin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .hx-lines.draw path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: drawln .9s cubic-bezier(.4,0,.2,1) forwards; }
  .hx-lines.draw circle { opacity: 0; animation: dotin .3s ease forwards; }
  @keyframes drawln { to { stroke-dashoffset: 0; } }
  @keyframes dotin { to { opacity: 1; } }
}

/* Narrow: render without a plate, numbered marks, callouts as a compact list */
@media (max-width: 900px) {
  .hx { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .hx-lines { display: none; }
  .hx-plate { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(60%, 340px); padding: 0; }
  .hx-plate::before { display: none; }
  .hx-left { grid-column: 1; grid-row: 2; } .hx-right { grid-column: 2; grid-row: 2; }
  .hx-calls { gap: 12px; margin-top: 22px; }
  .hx-left, .hx-right { text-align: left; }
  .hx-call { grid-template-columns: 22px 1fr; column-gap: 10px; align-items: start; }
  .hx-call b, .hx-call span:not(.hx-n) { grid-column: 2; }
  .hx-n { display: grid; grid-row: 1 / span 2; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); font: 500 .72rem var(--mono); color: var(--text-2); }
  .hx-mark { display: grid; position: absolute; transform: translate(-50%, -50%); width: 18px; height: 18px; place-items: center; border-radius: 5px; background: rgba(7, 13, 9, 0.85); border: 1px solid rgba(233, 240, 235, 0.5); font: 500 .62rem var(--mono); color: var(--text); }
  .hx-dim { margin-inline: 4%; }
  .hx-plate figcaption { font-size: .68rem; }
}
@media (max-width: 480px) {
  .hx-plate { width: min(64%, 240px); }
  .hx-call b { font-size: .86rem; }
  .hx-call span:not(.hx-n) { font-size: .72rem; }
  .readout { gap: 4px 8px; padding: 10px 12px; font-size: .72rem; }
  .readout .ro-k:nth-of-type(4), .readout .ro-k:nth-of-type(4) + b { display: none; }
  .vf { padding: 16px 18px; }
  .vf .c { width: 16px; height: 16px; }
}

/* ===== Signature buttons: chamfered primary with a scan sweep, viewfinder-bracket secondary ===== */
.btn { position: relative; isolation: isolate; border: 0; border-radius: 0; background: transparent; padding: 13px 22px; }
.btn.small { padding: 10px 15px; }
.btn.primary, .btn.light { background: transparent; color: var(--accent-ink); }
.btn.primary::before, .btn.light::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  --ch: 9px;
  clip-path: polygon(0 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% 100%, var(--ch) 100%, 0 calc(100% - var(--ch)));
  background:
    linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%) no-repeat -120% 0 / 60% 100%,
    var(--accent);
  transition: background-position .6s cubic-bezier(.3,.7,.2,1), background-color .2s;
}
.btn.small.primary::before, .btn.small.light::before { --ch: 7px; }
.btn.primary:hover, .btn.light:hover { background: transparent; color: var(--accent-ink); }
.btn.primary:hover::before, .btn.light:hover::before { background-position: 220% 0, 0 0; background-color: var(--accent-2); }
.btn.primary::after, .btn.light::after {
  content: ""; position: absolute; right: 3px; top: 3px; width: 4px; height: 4px; background: var(--accent-ink); opacity: .55;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.btn.ghost {
  --bc: var(--edge); --bl: 10px;
  color: var(--text); border: 0;
  background:
    linear-gradient(var(--bc), var(--bc)) left top / var(--bl) 1.5px no-repeat,
    linear-gradient(var(--bc), var(--bc)) left top / 1.5px var(--bl) no-repeat,
    linear-gradient(var(--bc), var(--bc)) right top / var(--bl) 1.5px no-repeat,
    linear-gradient(var(--bc), var(--bc)) right top / 1.5px var(--bl) no-repeat,
    linear-gradient(var(--bc), var(--bc)) left bottom / var(--bl) 1.5px no-repeat,
    linear-gradient(var(--bc), var(--bc)) left bottom / 1.5px var(--bl) no-repeat,
    linear-gradient(var(--bc), var(--bc)) right bottom / var(--bl) 1.5px no-repeat,
    linear-gradient(var(--bc), var(--bc)) right bottom / 1.5px var(--bl) no-repeat,
    rgba(255, 255, 255, 0.02);
  transition: background-size .35s cubic-bezier(.3,1.3,.5,1), color .2s;
}
.btn.ghost:hover { --bc: var(--accent); --bl: 50.5%; color: var(--text); background-color: var(--accent-wash); }
@supports not (background: linear-gradient(var(--x), var(--x))) { .btn.ghost { border: 1px solid var(--line-2); } }
.btn.ghost:hover {
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 50.5% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 1.5px 50.5% no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 50.5% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 1.5px 50.5% no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / 50.5% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / 1.5px 50.5% no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 50.5% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 1.5px 50.5% no-repeat,
    rgba(79, 209, 139, 0.06);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .btn.primary:hover::before { background-position: -120% 0, 0 0; } }
.btn.primary::after, .btn.light::after { display: none; }

/* Team timeline: entries sit on the page, no card boxes */
.tl-card { background: none; border: 0; border-radius: 0; padding: 10px 0 6px; box-shadow: none; }
.tl-item:hover .tl-card { transform: none; }
.tl-item:hover .tl-name { color: var(--accent); }
.tl-name { transition: color .2s; }
.tl-item:nth-child(odd) .tl-card { text-align: right; justify-items: end; }
.tl-item:nth-child(odd) .tl-link { justify-self: end; }
.tl-card::after { top: 30px; }
.tl-item:nth-child(odd) .tl-card::after { right: -21px; }
.tl-item:nth-child(even) .tl-card::after { left: -21px; }
.tl-node { margin-top: 9px; }
.timeline { gap: 34px; }
@media (max-width: 760px) {
  .timeline { gap: 26px; }
  .tl-item:nth-child(odd) .tl-card { text-align: left; justify-items: start; }
  .tl-item:nth-child(odd) .tl-link { justify-self: start; }
  .tl-card { padding: 8px 0 4px; }
  .tl-item:nth-child(odd) .tl-card::after, .tl-item:nth-child(even) .tl-card::after { top: 30px; left: -17px; right: auto; }
  .tl-node { margin-top: 8px; }
}

/* Team timeline: entries sit directly on the page, no card */
.tl-card { background: none; border: 0; border-radius: 0; padding: 10px 0 6px; }
.tl-item:hover .tl-card { transform: none; }
.tl-item:nth-child(odd) .tl-card { text-align: right; justify-items: end; }
.tl-item:nth-child(odd) .tl-link { justify-self: end; }
.tl-card::after { top: 40px; width: 22px; }
.tl-item:nth-child(odd) .tl-card::after { right: -22px; }
.tl-item:nth-child(even) .tl-card::after { left: -22px; }
.tl-item:hover .tl-name { color: var(--accent); }
.tl-name { transition: color .2s; }
.timeline { gap: 34px; }
@media (max-width: 760px) {
  .timeline { gap: 26px; }
  .tl-item:nth-child(odd) .tl-card { text-align: left; justify-items: start; }
  .tl-item:nth-child(odd) .tl-link { justify-self: start; }
  .tl-card { padding: 8px 0 0; }
  .tl-item:nth-child(odd) .tl-card::after, .tl-item:nth-child(even) .tl-card::after { top: 37px; left: -17px; width: 13px; }
}

/* Technology strip under the hero */
.techstrip { border-top: 1px solid var(--line); background: var(--bg); padding-block: 20px; overflow: hidden; }
.ts-in { display: flex; align-items: center; gap: 28px; }
.ts-label { flex: none; font: 500 .76rem var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; padding-right: 24px; border-right: 1px solid var(--line-2); }
.ts-track { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ts-row { flex: none; display: flex; align-items: center; gap: 48px; margin: 0; padding: 0 24px; list-style: none; animation: tsmove 28s linear infinite; }
.ts-row li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ts-row svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.ts-row b { font: 600 .98rem var(--display); letter-spacing: -0.015em; color: var(--text); }
.ts-row span { font: 400 .78rem var(--mono); color: var(--text-3); }
.techstrip:hover .ts-row { animation-play-state: paused; }
@keyframes tsmove { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ts-row[aria-hidden="true"] { display: none; }
  .ts-track { -webkit-mask-image: none; mask-image: none; }
  .ts-row { flex-wrap: wrap; justify-content: center; gap: 14px 32px; }
}
@media (max-width: 640px) {
  .ts-in { flex-direction: column; align-items: stretch; gap: 12px; }
  .ts-label { border-right: 0; padding-right: 0; text-align: center; }
  .ts-row { gap: 32px; animation-duration: 22s; }
  .ts-row span { display: none; }
}

/* Regions: global reach */
.rg-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1080px; text-align: left; }
.rg-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; transition: border-color .25s, transform .25s; }
.rg-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.rg-card::before, .rg-card::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--accent); border-style: solid; opacity: .55; }
.rg-card::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: var(--r-md); }
.rg-card::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: var(--r-md); }
.rg-top { display: flex; align-items: baseline; gap: 12px; }
.rg-n { font: 500 .78rem var(--mono); color: var(--accent); letter-spacing: .04em; }
.rg-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.rg-card dl { margin: 0; display: grid; gap: 10px; }
.rg-card dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
.rg-card dt { font: 500 .74rem var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.rg-card dd { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.rg-read { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line-2); font: 500 .78rem/1.5 var(--mono); color: var(--text-2); display: flex; gap: 8px; align-items: baseline; overflow-wrap: anywhere; }
.rg-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(79, 209, 139, .6); animation: rgPulse 2.4s infinite; transform: translateY(-1px); }
@keyframes rgPulse { 0% { box-shadow: 0 0 0 0 rgba(79, 209, 139, .55); } 70% { box-shadow: 0 0 0 7px rgba(79, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 139, 0); } }
.rg-next { background: transparent; border-style: dashed; border-color: var(--line-2); justify-content: center; }
.rg-next p { margin: 0; color: var(--text-2); font-size: .95rem; }
.rg-next .btn { align-self: flex-start; }
.regions .caption { margin-top: 22px; }
@media (max-width: 960px) { .rg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rg-grid { grid-template-columns: 1fr; } .rg-card { padding: 20px 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .rg-dot { animation: none; } }

/* Platform halves (home) */
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0 auto; }
.pf-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--text); text-decoration: none; text-align: left; min-width: 0; transition: border-color .25s, transform .25s; }
.pf-card:hover { border-color: var(--line-2); transform: translateY(-3px); color: var(--text); }
.pf-vis { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(60% 70% at 50% 45%, rgba(127, 227, 171, .09), transparent 70%), var(--bg-2); border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.pf-dev img { height: 92%; width: auto; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.pf-card:hover .pf-dev img { transform: translateY(-6px) rotate(-2deg); }
.pf-feed { list-style: none; margin: 0; padding: 0; width: min(88%, 380px); display: grid; gap: 8px; }
.pf-feed li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); transition: transform .4s; }
.pf-card:hover .pf-feed li:nth-child(2) { transform: translateX(6px); }
.pf-card:hover .pf-feed li:nth-child(3) { transform: translateX(-4px); }
.pf-ic svg { width: 28px; height: 28px; display: block; }
.pf-feed b { display: block; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-feed i { display: block; font: normal 500 .7rem var(--mono); color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-feed em { font: normal 500 .74rem var(--mono); color: var(--text-2); }
.pf-copy { padding: 22px 24px 24px; display: grid; gap: 8px; align-content: start; }
.pf-copy h3 { margin: 0; font-size: 1.25rem; }
.pf-copy p { margin: 0; color: var(--text-2); }
.pf-go { margin-top: 6px; font: 500 .85rem var(--mono); color: var(--accent); }
.pf-go::after { content: " \2192"; transition: margin .2s; }
.pf-card:hover .pf-go::after { margin-left: 4px; }
@media (max-width: 760px) { .pf-grid { grid-template-columns: 1fr; } }

/* Community market demo */
.cm { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 4vw, 48px); align-items: center; max-width: 1040px; margin: 0 auto; }
.cm-side { display: grid; gap: 10px; }
.cm-pillar { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; text-align: left; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cm-pillar:hover { border-color: var(--line-2); }
.cm-pillar[aria-pressed="true"] { border-color: var(--accent); background: var(--surface-2); }
.cm-pi { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.cm-pi svg { width: 28px; height: 28px; }
.cm-pillar b { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.cm-pillar > span > span { display: block; color: var(--text-2); font-size: .92rem; line-height: 1.5; }
.cm-phone { position: relative; width: 100%; max-width: 360px; justify-self: center; padding: 12px; background: #1a1f18; border-radius: 34px; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 2px #262d23; }
.cm-phone::before, .cm-phone::after { content: ""; position: absolute; right: -4px; width: 4px; border-radius: 0 3px 3px 0; }
.cm-phone::before { top: 110px; height: 56px; background: var(--accent); }
.cm-phone::after { top: 64px; height: 28px; background: #2a3227; }
.cm-screen { background: #f4f7f2; color: #12261b; border-radius: 24px; overflow: hidden; height: 600px; display: flex; flex-direction: column; }
.cm-bar { display: flex; justify-content: space-between; padding: 10px 18px 4px; background: #12261b; color: #b9d8bf; font: 500 .7rem var(--mono); }
.cm-sync { display: inline-flex; align-items: center; gap: 6px; }
.cm-sync i { width: 6px; height: 6px; border-radius: 50%; background: #4fd18b; }
.cm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 16px 14px; background: #12261b; color: #fff; }
.cm-top b { font-size: 1.05rem; }
.cm-reg { background: #1f3a29; color: #e9f0eb; border: 1px solid #2f5a3e; border-radius: 6px; font: 500 .75rem var(--body); padding: 5px 6px; max-width: 132px; }
.cm-search { display: flex; align-items: center; gap: 8px; margin: 12px 14px 8px; padding: 8px 10px; background: #fff; border: 1px solid #dbe4d8; border-radius: 8px; color: #5b6b5f; }
.cm-search svg { width: 15px; height: 15px; flex: none; }
.cm-search input { border: 0; outline: 0; background: transparent; font: 500 .85rem var(--body); color: #12261b; width: 100%; min-width: 0; }
.cm-chips { display: flex; gap: 6px; padding: 0 14px 10px; overflow-x: auto; scrollbar-width: none; flex: none; }
.cm-chips::-webkit-scrollbar { display: none; }
.cm-chip { flex: none; border: 1px solid #cfdacb; background: #fff; color: #2b3d31; border-radius: 6px; padding: 5px 10px; font: 600 .74rem var(--body); cursor: pointer; }
.cm-chip[aria-pressed="true"] { background: #12261b; border-color: #12261b; color: #fff; }
.cm-alert { margin: 0 14px 10px; padding: 9px 11px; background: #fff4dc; border: 1px solid #efd28f; border-radius: 8px; font-size: .76rem; line-height: 1.4; color: #5a4316; }
.cm-alert b { display: block; font-size: .78rem; color: #3d2d0c; }
.cm-feed { list-style: none; margin: 0; padding: 0 14px 14px; overflow-y: auto; display: grid; gap: 8px; align-content: start; flex: 1; }
.cm-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 10px; background: #fff; border: 1px solid #e1e9dc; border-radius: 10px; animation: cmIn .35s both; }
.cm-item .ic { width: 40px; height: 40px; border-radius: 8px; background: #eef3ea; display: grid; place-items: center; }
.cm-item .ic svg { width: 28px; height: 28px; }
.cm-item h4 { margin: 0 0 2px; font-size: .86rem; line-height: 1.3; color: #12261b; }
.cm-item .mt { font-size: .72rem; color: #5b6b5f; }
.cm-item .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.cm-item .pr { font: 600 .8rem var(--mono); color: #12261b; }
.cm-item .sl { font-size: .68rem; color: #6f8277; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-item .bd { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.cm-item .bd span { font: 600 .62rem var(--mono); color: #1d7a45; background: #e2f5e9; border-radius: 4px; padding: 2px 6px; }
.cm-empty { padding: 30px 10px; text-align: center; color: #6f8277; font-size: .85rem; }
@keyframes cmIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cm-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0 auto; text-align: left; }
.cm-trust article { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 8px; align-content: start; }
.cm-trust h3 { margin: 0; font-size: 1.1rem; }
.cm-trust p { margin: 0; color: var(--text-2); }
@media (max-width: 900px) { .cm { grid-template-columns: 1fr; } .cm-phone { max-width: 340px; } }
@media (max-width: 760px) { .cm-trust { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cm-screen { height: 540px; } .cm-pillar { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .cm-item { animation: none; } }
.pf-dev img { position: absolute; top: 4%; bottom: 4%; left: 0; right: 0; margin: auto; height: 92%; width: auto; max-width: 100%; object-fit: contain; }
.cm-item .pr { flex: none; white-space: nowrap; font-size: .76rem; }
.cm-item .sl { min-width: 0; }

/* Transparent photo overlays */
.tint { position: relative; isolation: isolate; overflow: hidden; }
.tint > .tint-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.85) contrast(1.05); pointer-events: none; }
.tint::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 40%, rgba(7, 13, 9, .45), rgba(7, 13, 9, .82) 75%), linear-gradient(180deg, rgba(7, 13, 9, .7) 0%, rgba(7, 13, 9, .35) 35%, rgba(7, 13, 9, .55) 70%, var(--bg) 100%); }
.tint.tint-strong > .tint-bg { opacity: .42; }
.tint.dots::after, .tint.field::after { z-index: -1; }
.page-hero.tint { background: var(--bg); }
.page-hero.tint > .tint-bg { opacity: .4; }
.page-hero.tint::before { background: linear-gradient(180deg, rgba(7, 13, 9, .55) 0%, rgba(7, 13, 9, .5) 45%, rgba(7, 13, 9, .9) 92%, var(--bg) 100%), radial-gradient(60% 80% at 50% 50%, rgba(7, 13, 9, .25), transparent 70%); }
.tint .rg-card, .tint .cm-trust article { background: rgba(15, 25, 19, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tint .rg-next { background: rgba(10, 18, 13, .5); }
@media (prefers-reduced-transparency: reduce) { .tint .rg-card, .tint .cm-trust article { background: var(--surface); backdrop-filter: none; } }
.tint > .tint-bg { opacity: .46; }
.tint.tint-strong > .tint-bg { opacity: .52; }
.tint:not(.page-hero)::before { background: radial-gradient(75% 95% at 50% 45%, rgba(7, 13, 9, .32), rgba(7, 13, 9, .78) 80%), linear-gradient(180deg, var(--bg) 0%, rgba(7, 13, 9, .3) 18%, rgba(7, 13, 9, .45) 75%, var(--bg) 100%); }

/* Photo overlays: visible, still readable */
.tint > .tint-bg { opacity: .78 !important; filter: saturate(.95); }
.tint.tint-strong > .tint-bg, .page-hero.tint > .tint-bg { opacity: .85 !important; }
.tint:not(.page-hero)::before, .page-hero.tint::before {
  background: linear-gradient(180deg, rgba(7, 13, 9, .9) 0%, rgba(7, 13, 9, .55) 16%, rgba(7, 13, 9, .5) 50%, rgba(7, 13, 9, .6) 84%, rgba(7, 13, 9, .92) 100%) !important; }
.band.tint, .band.field.tint, .band.dots.tint { background: #050a07; }
.tint .head h2, .tint .page-hero-in h1, .page-hero.tint h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.tint .lede, .tint .caption, .tint .note { color: #c9d6cd; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.tint .pf-card, .tint .explore .ex-panel, .tint .ex-fig, .tint .tab-panel, .tint .calc, .tint .scan2, .tint .cm-pillar, .tint .sequence li, .tint .feature-list li, .tint .crop-btn, .tint .tabs, .tint .scale {
  background-color: rgba(10, 18, 13, .72); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
.tint .sequence li { padding-inline: 18px; border-radius: var(--r-md); border: 1px solid var(--line); margin-bottom: 8px; }
.tint .crop-btn[aria-pressed="true"] { background: var(--text); }
/* Home hero photo */
.tint.hero-tint > .tint-bg.hero-bg { opacity: .72 !important; }
.tint.hero-tint:not(.page-hero)::before { background:
  radial-gradient(55% 45% at 50% 70%, rgba(7, 13, 9, .6), transparent 75%),
  linear-gradient(180deg, rgba(7, 13, 9, .82) 0%, rgba(7, 13, 9, .66) 30%, rgba(7, 13, 9, .62) 60%, rgba(7, 13, 9, .86) 88%, var(--bg) 100%) !important; }
.hero-tint h1 .after { color: #a9bcb0; }
.hero-tint .hx-plate::before { opacity: .55; }
.hero-tint .hx-call b { text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hero-tint .hx-call span { color: #c3d2c8; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hero-tint .readout { background: rgba(10, 18, 13, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* Address */
.foot-addr { font-style: normal; color: var(--text-3); font-size: .88rem; line-height: 1.6; margin-top: 10px; }
.pilot-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 860px; margin: 28px auto 0; text-align: left; }
.pilot-contact > div { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.pilot-contact p { margin: 6px 0 0; color: var(--text-2); line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 760px) { .pilot-contact { grid-template-columns: 1fr; } }

/* Light theme polish */
body { background: var(--bg); }
.site-head .brand, .nav-links > li > a, .mega-btn { color: var(--text); }
.hx-hero .site-head { color: var(--text); }
.ex-img img, .pf-dev img { filter: drop-shadow(0 22px 26px rgba(20, 35, 26, 0.22)); }
.tint .ex-img img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5)); }
.band.field:not(.tint), .band.dots:not(.tint) { background: var(--bg-2); }
.rg-card, .pf-card, .cm-trust article, .cm-pillar { box-shadow: 0 1px 2px rgba(20, 35, 26, 0.04), 0 8px 24px -16px rgba(20, 35, 26, 0.18); }
.tint .rg-card, .tint .pf-card, .tint .cm-trust article, .tint .cm-pillar { box-shadow: none; }
.cm-phone { box-shadow: 0 0 0 1px rgba(20, 35, 26, .12), 0 30px 60px -24px rgba(20, 35, 26, .45), inset 0 0 0 2px #262d23; }
.tint .cm-phone { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 2px #262d23; }
::selection { background: rgba(31, 107, 61, 0.22); }

/* Light photo washes (cream overlay, dark text) */
.tint:not(.hx-hero):not(.tint-strong):not(.ink) { color: var(--text); }
.band.tint:not(.hx-hero):not(.tint-strong):not(.ink) { background: var(--bg-2); }
.tint:not(.hx-hero):not(.tint-strong):not(.ink) > .tint-bg { opacity: .95 !important; filter: saturate(.9); }
.tint:not(.hx-hero):not(.tint-strong):not(.ink)::before { background: linear-gradient(180deg, rgba(247, 245, 239, .93) 0%, rgba(247, 245, 239, .8) 18%, rgba(247, 245, 239, .76) 50%, rgba(247, 245, 239, .82) 82%, rgba(247, 245, 239, .95) 100%) !important; }
.tint:not(.hx-hero):not(.tint-strong):not(.ink) .head h2, .tint:not(.hx-hero):not(.tint-strong):not(.ink) h1, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .page-hero-in h1 { text-shadow: none; }
.tint:not(.hx-hero):not(.tint-strong):not(.ink) .lede, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .caption, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .note { color: var(--text-2); text-shadow: none; }
.tint:not(.hx-hero):not(.tint-strong):not(.ink) .pf-card, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .explore .ex-panel, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .ex-fig, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .tab-panel, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .calc, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .scan2, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .cm-pillar, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .sequence li, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .feature-list li, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .crop-btn, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .tabs, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .scale, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .rg-card, .tint:not(.hx-hero):not(.tint-strong):not(.ink) .cm-trust article {
  background-color: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 2px rgba(20, 35, 26, .05), 0 12px 30px -18px rgba(20, 35, 26, .25); }
.tint:not(.hx-hero):not(.tint-strong):not(.ink) .rg-next { background: rgba(255, 255, 255, .55); }
.tint:not(.hx-hero):not(.tint-strong):not(.ink) .crop-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.mosaic figcaption { color: var(--text); }
