/* Inspectra360 website v2 - Phase 3 preview
   One stylesheet for every page. Tokens first, then base, layout, components, page sections.
   Brand: Navy #1a365d, Navy-light #1e40af, Teal #0891b2, Cyan #06b6d4, Inter.
   Contrast notes: teal #0891b2 fails AA for text on white, so text/links/buttons use teal-700 #0e7490. */

:root {
  /* brand */
  --navy: #1a365d;
  --navy-light: #1e40af;
  --teal: #0891b2;
  --cyan: #06b6d4;
  --teal-700: #0e7490;
  --teal-800: #155e75;
  /* dark field (derived from navy) */
  --field: #0b1730;
  --field-2: #0f1f3d;
  --field-3: #142a50;
  --field-line: rgba(148, 178, 220, 0.16);
  --on-dark: #eef3fa;
  --on-dark-2: #b4c2d8;
  --on-dark-3: #8fa1bd;
  --cyan-on-dark: #5fe0f2;
  /* light surfaces */
  --ink: #0f172a;
  --text: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --white: #ffffff;
  /* signal */
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --red: #b91c1c;
  --green: #15803d;
  /* GEN palette from the owner's diagram */
  --gen1: #cbd5e1;
  --gen2: #94a3b8;
  --gen3: #1e40af;
  --gen4: linear-gradient(180deg, #06b6d4 0%, #0891b2 100%);
  /* type + rhythm */
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-2: 0 10px 30px -12px rgba(15, 23, 42, 0.25), 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-dark: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --nav-h: 68px;
}

/* ---------- base ---------- */
/* Metric-matched fallback so the swap to Inter does not shift layout (CLS). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; size-adjust: 107.4%; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.num, .tabular { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 600;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.band--tight { padding: clamp(48px, 6vw, 80px) 0; }
.band--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--dark {
  background-color: var(--field);
  color: var(--on-dark-2);
  background-image:
    linear-gradient(rgba(148, 178, 220, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 220, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(148, 178, 220, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 220, 0.035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: var(--on-dark); }
.band--dark a:not(.btn) { color: var(--cyan-on-dark); }
.band--dark a:not(.btn):hover { color: #a5f3fc; }
.band--dark .kicker { color: var(--cyan-on-dark); }
.band--dark .lede { color: var(--on-dark-2); }

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-700); margin: 0 0 14px;
}
.kicker .idx { font-variant-numeric: tabular-nums; }
.kicker .idx::after { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; margin-left: 10px; vertical-align: middle; opacity: 0.6; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); }
.small { font-size: 0.875rem; }
.note { font-size: 0.85rem; color: var(--muted); }
.band--dark .note { color: var(--on-dark-3); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.grid-2--top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.split-5-7 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.stack > * + * { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 8px;
  font: 600 0.95rem/1 var(--font); text-decoration: none; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.band--dark .btn--ghost, .hero .btn--ghost { color: var(--on-dark); border-color: rgba(180, 194, 216, 0.45); }
.band--dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--cyan-on-dark); color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: '\2192'; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 23, 48, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--field-line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 34px; width: 34px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; }
.nav__links > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 6px;
  color: var(--on-dark-2); text-decoration: none; font: 500 0.93rem/1 var(--font);
  background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current="page"] { color: #fff; background: rgba(148, 178, 220, 0.1); }
.nav__link .chev { width: 10px; height: 10px; transition: transform .15s; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__cta { margin-left: 8px; min-height: 40px; padding: 0 16px; }
.nav .nav__menu-btn { display: none; margin-left: auto; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(680px, 90vw); background: var(--white); border-radius: 12px; box-shadow: 0 24px 60px -20px rgba(2, 8, 23, 0.55), 0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 14px; display: none;
}
.mega.is-open { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; list-style: none; }
.mega a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.mega a:hover, .mega a:focus-visible { background: var(--surface-2); }
.mega__title { display: block; font-weight: 600; font-size: 0.95rem; }
.mega__desc { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.45; margin-top: 3px; }
.mega__foot { border-top: 1px solid var(--line); margin-top: 10px; padding: 12px 14px 4px; font-size: 0.85rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* phone sheet */
.sheet { position: fixed; inset: 0; z-index: 150; background: var(--field); color: var(--on-dark); display: none; flex-direction: column; overflow-y: auto; }
.sheet.is-open { display: flex; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--field-line); flex: none; }
.sheet__top img { height: 32px; width: auto; }
.sheet__body { padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; }
.sheet__group { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); margin: 18px 0 6px; font-weight: 600; }
.sheet a:not(.btn) { color: var(--on-dark); text-decoration: none; display: block; padding: 12px 0; border-bottom: 1px solid var(--field-line); font-weight: 500; }
.sheet a small { display: block; color: var(--on-dark-3); font-weight: 400; font-size: 0.85rem; margin-top: 2px; }
.sheet .btn { margin-top: 24px; width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(180, 194, 216, 0.35); background: transparent; color: var(--on-dark); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
body.sheet-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.15rem, 3.9vw, 3.4rem); margin-bottom: 22px; }
.hero h1 .h1-lead { display: block; color: var(--cyan-on-dark); }
.hero__sub { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--on-dark-2); max-width: 560px; margin-bottom: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; list-style: none; font-size: 0.85rem; color: var(--on-dark-3); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ecosystem composition */
.eco { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(56px, 7vw, 104px); row-gap: clamp(96px, 11vw, 150px); padding: 4px 0; }
.eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.eco__lines line { stroke: rgba(95, 224, 242, 0.55); stroke-width: 1; stroke-dasharray: 3 4; }
.eco__lines circle { fill: var(--cyan); }
.eco__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: clamp(210px, 21vw, 260px); padding: 16px 18px; text-align: center;
  background: linear-gradient(180deg, #13305c 0%, #0f2348 100%);
  border: 1px solid rgba(95, 224, 242, 0.55); border-radius: 12px;
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.08), 0 0 40px -6px rgba(6, 182, 212, 0.45), var(--shadow-dark);
}
.eco__hub img { width: 30px; height: 30px; margin: 0 auto 8px; }
.eco__hub-name { display: block; color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.eco__hub-line { display: block; color: var(--on-dark); font-size: 0.86rem; margin-top: 2px; font-weight: 500; }
.eco__hub-tags { display: block; color: var(--cyan-on-dark); font-size: 0.74rem; margin-top: 8px; letter-spacing: 0.04em; }
.eco__tile { position: relative; z-index: 2; background: rgba(15, 31, 61, 0.92); border: 1px solid rgba(148, 178, 220, 0.24); border-radius: 10px; padding: 10px; box-shadow: var(--shadow-dark); }
.eco__tile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 9px; }
.eco__tile-name { color: #fff; font-weight: 600; font-size: 0.92rem; }
.eco__tile-sub { color: var(--on-dark-3); font-size: 0.76rem; text-align: right; }
.eco__tile .shot__media { aspect-ratio: 16 / 10; border-radius: 5px; }
.eco__tile .shot__media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.eco__tile .shot__placeholder { font-size: 0.72rem; padding: 10px; }

/* subpage hero */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px); }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero .lede { max-width: 760px; color: var(--on-dark-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 0.85rem; color: var(--on-dark-3); margin-bottom: 22px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-2) !important; text-decoration: none; }
.crumbs a:hover { color: #fff !important; text-decoration: underline; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.answer { border-left: 3px solid var(--cyan); padding: 4px 0 4px 18px; color: var(--on-dark); font-size: 1.02rem; margin-top: 26px; max-width: 720px; }
.answer strong { color: #fff; }
.answer--light { color: var(--text); border-left-color: var(--teal); }
.answer--light strong { color: var(--ink); }

/* ---------- screenshot frame ---------- */
.shot { margin: 0; }
.shot__frame { background: #e9eef5; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 8px 8px; box-shadow: var(--shadow-2); }
.band--dark .shot__frame, .hero .shot__frame { background: #1a2c4e; border-color: rgba(148, 178, 220, 0.3); box-shadow: var(--shadow-dark); }
.shot__bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 4px; font-size: 0.72rem; color: #475569; font-weight: 500; letter-spacing: 0.02em; }
.band--dark .shot__bar { color: var(--on-dark-3); }
.shot__bar::before { content: ''; width: 34px; height: 8px; flex: none; background: radial-gradient(circle at 4px 4px, #b6c2d3 3px, transparent 3.5px), radial-gradient(circle at 17px 4px, #b6c2d3 3px, transparent 3.5px), radial-gradient(circle at 30px 4px, #b6c2d3 3px, transparent 3.5px); }
.band--dark .shot__bar::before { filter: brightness(0.6); }
.shot__media { position: relative; overflow: hidden; border-radius: 6px; background: #fff; }
.shot__media img { width: 100%; height: auto; }
.shot--phone { max-width: 330px; margin-left: auto; margin-right: auto; }
.shot--phone .shot__frame { border-radius: 30px; padding: 12px 10px 14px; }
.shot--phone .shot__bar { display: none; }
.shot--phone .shot__media { border-radius: 20px; }
.shot figcaption { margin-top: 14px; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.band--dark .shot figcaption { color: var(--on-dark-3); }
.shot figcaption strong { color: var(--ink); font-weight: 600; }
.band--dark .shot figcaption strong { color: var(--on-dark); }
.shot__marks { list-style: none; position: absolute; inset: 0; pointer-events: none; }
.shot__marks li {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-light); color: #fff; font: 700 0.8rem/1 var(--font);
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(2, 8, 23, 0.35);
}
.legend { list-style: none; counter-reset: lg; margin-top: 12px; display: grid; gap: 8px; }
.legend li { counter-increment: lg; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.legend li::before { content: counter(lg); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-light); color: #fff; font: 700 0.72rem/1 var(--font); margin-top: 1px; }
.shot__placeholder {
  display: none; aspect-ratio: 16 / 10; width: 100%; place-content: center; text-align: center; gap: 6px; padding: 20px;
  color: #475569; font-size: 0.85rem; line-height: 1.45;
  background: repeating-linear-gradient(135deg, #f1f5f9 0 12px, #eaf0f6 12px 24px);
}
.shot__placeholder b { display: block; color: #1e293b; font-weight: 600; }
.shot.is-missing img, .shot.is-missing .shot__marks { display: none; }
.shot.is-missing .shot__placeholder { display: grid; }
.shot--phone .shot__placeholder { aspect-ratio: 9 / 18; }
.band--dark .shot__placeholder, .hero .shot__placeholder { color: var(--on-dark-2); background: repeating-linear-gradient(135deg, #12274a 0 12px, #10223f 12px 24px); }
.band--dark .shot__placeholder b, .hero .shot__placeholder b { color: var(--on-dark); }

/* ---------- GEN maturity framework ---------- */
.gen { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0 clamp(40px, 5vw, 72px); align-items: start; }
.gen__chart { position: relative; padding-top: 44px; }
.gen__cols { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; height: 440px; align-items: end; }
.gen__col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.gen__bar {
  border-radius: 8px 8px 2px 2px; padding: 16px 14px; display: flex; flex-direction: column; gap: 6px;
  height: var(--h); transform-origin: bottom; overflow: hidden;
}
.gen__col:nth-child(1) .gen__bar { --h: 34%; background: var(--gen1); color: #1e293b; }
.gen__col:nth-child(2) .gen__bar { --h: 50%; background: var(--gen2); color: #0f172a; }
.gen__col:nth-child(3) .gen__bar { --h: 72%; background: var(--gen3); color: #fff; }
.gen__col:nth-child(4) .gen__bar { --h: 92%; background: var(--gen4); color: #04212b; }
.gen__no { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; opacity: 0.85; }
.gen__name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.gen__desc { font-size: 0.8rem; line-height: 1.4; }
.gen__col:nth-child(1) .gen__desc, .gen__col:nth-child(2) .gen__desc { color: #1e293b; }
.gen__col:nth-child(3) .gen__desc { color: #dbe5ff; }
.gen__col:nth-child(4) .gen__desc { color: #032b36; }
.gen__axis { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 8px; }
.gen__bracket { position: absolute; top: 0; left: calc(50% + 7px); right: 0; height: 26px; border: 2px solid var(--teal); border-bottom: 0; border-radius: 8px 8px 0 0; }
.gen__bracket::before { content: ''; position: absolute; left: 50%; top: -2px; width: 2px; height: 14px; background: var(--teal); transform: translate(-50%, -100%); display: none; }
.gen__bracket-label { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); background: var(--white); padding: 0 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); white-space: nowrap; }
.gen__connector { position: absolute; top: 12px; right: calc(-1 * clamp(40px, 5vw, 72px)); width: clamp(40px, 5vw, 72px); height: 2px; background: var(--teal); }
.gen__connector::after { content: ''; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--teal); border-right: 0; }
.gen__result { padding-top: 0; }
.gen__box { background: var(--field); color: var(--on-dark); border-radius: 12px; padding: 20px 22px; position: relative; box-shadow: var(--shadow-2); }
.gen__box img { width: 28px; height: 28px; margin-bottom: 10px; }
.gen__box-name { display: block; color: #fff; font-weight: 700; font-size: 1.15rem; }
.gen__box-line { display: block; color: var(--cyan-on-dark); font-weight: 500; font-size: 0.95rem; }
.gen__tree { position: relative; margin-top: 30px; }
.gen__tree::before { content: ''; position: absolute; left: 50%; top: -30px; height: 16px; width: 2px; background: var(--teal); }
.gen__tree::after { content: ''; position: absolute; left: 25%; right: 25%; top: -14px; height: 14px; border: 2px solid var(--teal); border-bottom: 0; border-radius: 6px 6px 0 0; }
.gen__outcomes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gen__outcomes li { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 8px; padding: 12px 14px; font-weight: 600; color: var(--ink); font-size: 0.95rem; box-shadow: var(--shadow-1); }
.gen__outcomes li span { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; margin-top: 2px; line-height: 1.4; }
.gen__caption { margin-top: 28px; }
.gen-defs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.gen-defs h3 { font-size: 1rem; margin-bottom: 6px; }
.gen-defs p { font-size: 0.9rem; margin: 0; }
.gen-defs .tag { display: inline-block; width: 26px; height: 6px; border-radius: 3px; margin-bottom: 10px; }

/* GEN 3 vs GEN 4 comparison */
.g34 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.g34__panel { border-radius: 14px; padding: clamp(22px, 3vw, 34px); position: relative; }
.g34__panel--3 { background: rgba(30, 64, 175, 0.22); border: 1px solid rgba(96, 140, 255, 0.4); }
.g34__panel--4 { background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(95, 224, 242, 0.5); }
.g34__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.g34__gen { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; padding: 4px 9px; border-radius: 4px; }
.g34__panel--3 .g34__gen { background: var(--gen3); color: #fff; }
.g34__panel--4 .g34__gen { background: var(--cyan); color: #04212b; }
.g34__title { color: #fff; font-size: 1.35rem; margin: 0; }
.g34__verb { color: var(--on-dark-2); font-size: 0.95rem; margin: 6px 0 22px; }
.g34__verb strong { color: #fff; }
.g34__flow { list-style: none; display: grid; gap: 0; }
.g34__step { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; padding-bottom: 26px; }
.g34__step:last-child { padding-bottom: 0; }
.g34__step:not(:last-child)::after { content: ''; position: absolute; left: 22px; bottom: 4px; width: 2px; height: 18px; background: rgba(148, 178, 220, 0.5); }
.g34__step:not(:last-child)::before { content: ''; position: absolute; left: 18px; bottom: 2px; border: 5px solid transparent; border-top: 6px solid rgba(148, 178, 220, 0.7); border-bottom: 0; }
.g34__panel--4 .g34__step { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.25fr); align-items: center; }
.g34__stage { background: rgba(11, 23, 48, 0.75); border: 1px solid rgba(148, 178, 220, 0.3); border-radius: 8px; padding: 11px 14px; color: var(--on-dark); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.g34__stage .n { font-size: 0.72rem; color: var(--on-dark-3); font-variant-numeric: tabular-nums; font-weight: 600; }
.g34__tie { height: 2px; background: var(--cyan); position: relative; }
.g34__tie::after { content: ''; position: absolute; right: -2px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.g34__check { background: rgba(6, 182, 212, 0.16); border: 1px solid rgba(95, 224, 242, 0.6); border-radius: 8px; padding: 9px 12px; color: #e8fbff; font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.g34__check small { display: block; font-weight: 400; color: var(--on-dark-2); font-size: 0.78rem; margin-top: 2px; }
.g34__foot { margin-top: 22px; padding-top: 14px; border-top: 1px dashed rgba(148, 178, 220, 0.35); font-size: 0.9rem; color: var(--on-dark-2); font-style: italic; }
.g34-note { margin-top: 22px; }

/* ---------- problem: before / after ---------- */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ba__panel { border-radius: 14px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); background: var(--white); }
.ba__panel--before { background: #fbfcfd; }
.ba__label { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ba__label .dot { width: 10px; height: 10px; border-radius: 50%; }
.ba__panel--before .dot { background: #94a3b8; }
.ba__panel--after .dot { background: var(--teal); }
.ba__sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.ba svg { width: 100%; height: auto; display: block; }
.ba__facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.ba__facts li { padding-left: 16px; border-left: 2px solid var(--line-2); color: var(--ink); font-weight: 500; font-size: 1rem; }
.ba__facts li span { display: block; color: var(--muted); font-weight: 400; font-size: 0.88rem; margin-top: 4px; }

/* ---------- outcomes ---------- */
.outcomes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.outcome { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; box-shadow: var(--shadow-1); position: relative; }
.outcome__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #e6f6fa; color: var(--teal-700); margin-bottom: 16px; }
.outcome__icon svg { width: 22px; height: 22px; }
.outcome h3 { font-size: 1.1rem; margin-bottom: 8px; }
.outcome p { font-size: 0.92rem; margin-bottom: 12px; }
.outcome ul { list-style: none; display: grid; gap: 7px; font-size: 0.86rem; color: var(--text); }
.outcome ul li { padding-left: 16px; position: relative; line-height: 1.45; }
.outcome ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 2px; background: var(--teal); }

/* capability x outcome map */
.cmap-wrap { margin-top: clamp(40px, 5vw, 64px); }
.cmap-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.cmap-head h3 { font-size: 1.35rem; margin: 0; }
.cmap { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 0.92rem; }
.cmap th, .cmap td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmap tbody tr:last-child th, .cmap tbody tr:last-child td { border-bottom: 0; }
.cmap thead th { background: var(--surface); color: var(--ink); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.cmap thead th.o { text-align: center; width: 104px; }
.cmap tbody th { color: var(--ink); font-weight: 600; width: 27%; }
.cmap tbody th small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; margin-top: 2px; letter-spacing: 0; }
.cmap td.o { text-align: center; }
.cmap .yes { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #e0f4f8; }
.cmap .no { display: inline-block; width: 8px; height: 2px; background: var(--line-2); }
.cmap td.effect { color: var(--text); }
.cmap .chip-o { display: none; }

/* ---------- integrated flow ---------- */
.flow { position: relative; }
.flow__track { position: relative; }
.flow__line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; width: 100%; overflow: visible; }
.flow__line path { stroke: var(--cyan); stroke-width: 2; fill: none; }
.flow__stations { list-style: none; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; position: relative; counter-reset: st; }
.flow__station { position: relative; text-align: center; counter-increment: st; }
.flow__station a, .flow__station > span { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); }
.flow__node { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--field-2); border: 2px solid var(--cyan); color: #fff; font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px var(--field); transition: background .15s; }
.flow__station a:hover .flow__node { background: var(--teal-700); }
.flow__label { font-size: 0.86rem; font-weight: 600; line-height: 1.3; color: var(--on-dark); }
.flow__mod { font-size: 0.74rem; color: var(--on-dark-3); font-weight: 500; }
.flow__station a:hover .flow__label { color: var(--cyan-on-dark); text-decoration: underline; }
.rails { list-style: none; margin-top: 44px; display: grid; gap: 6px; }
.rail { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 16px; }
.rail__name { color: var(--on-dark); font-size: 0.86rem; font-weight: 600; text-align: right; }
.rail__bar { height: 30px; border-radius: 4px; background: rgba(95, 224, 242, 0.08); border: 1px solid rgba(95, 224, 242, 0.25); display: flex; align-items: center; padding: 0 12px; font-size: 0.8rem; color: var(--on-dark-2); position: relative; overflow: hidden; }
.rail__bar::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cyan); }
.rails__title { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; margin-top: 36px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 600; }
.rails__title span:first-child { text-align: right; }
.flow__note { margin-top: 28px; text-align: center; }

/* ---------- error-prevention scenarios ---------- */
.scen-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.scen-tab {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white);
  font: 600 0.88rem/1 var(--font); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.scen-tab:hover { border-color: var(--navy); color: var(--navy); }
.scen-tab[aria-selected="true"] { background: var(--field); border-color: var(--field); color: #fff; }
.scen-tab .m { font-weight: 500; font-size: 0.74rem; color: var(--muted); }
.scen-tab[aria-selected="true"] .m { color: var(--cyan-on-dark); }
.scenario { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.scenarios--stacked .scenario + .scenario { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.scenario[hidden] { display: none; }
.scenario__module { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 8px; }
.scenario h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 18px; }
.steps3 { list-style: none; display: grid; gap: 0; }
.steps3 > li { position: relative; padding: 0 0 20px 40px; }
.steps3 > li:last-child { padding-bottom: 0; }
.steps3 > li::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line-2); }
.steps3 > li:last-child::before { display: none; }
.steps3 .ico { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.steps3 .ico svg { width: 15px; height: 15px; }
.steps3 .s-problem .ico { background: #fde8e8; color: var(--red); }
.steps3 .s-detect .ico { background: #e0f2fe; color: var(--navy-light); }
.steps3 .s-avoid .ico { background: #dcfce7; color: var(--green); }
.steps3 h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 4px 0 6px; font-weight: 700; }
.steps3 p { margin: 0; font-size: 0.96rem; }
.steps3 p + p { margin-top: 8px; }
.quote-ui { display: inline; background: var(--amber-bg); color: #78350f; padding: 1px 6px; border-radius: 4px; font-weight: 500; font-size: 0.92em; }
.quote-ui--block { background: #eef2f7; color: #1e293b; }
.scen-foot { margin-top: 32px; padding: 18px 20px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; font-size: 0.92rem; }
.scen-foot svg { width: 20px; height: 20px; flex: none; color: var(--teal-700); margin-top: 2px; }
.scen-foot p { margin: 0; }

/* how the checks work */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how__card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.how__card h3 { font-size: 1.1rem; }
.how__card p { font-size: 0.93rem; }
.how__card ul { list-style: none; display: grid; gap: 8px; font-size: 0.88rem; }
.how__card ul li { padding-left: 18px; position: relative; }
.how__card ul li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
.how__kind { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

/* ---------- LIMS band + facts ---------- */
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--field-line); border: 1px solid var(--field-line); border-radius: 12px; overflow: hidden; margin: 28px 0; }
.facts li { background: var(--field); padding: 16px 18px; }
.facts b { display: block; color: #fff; font-weight: 600; font-size: 0.98rem; }
.facts span { display: block; color: var(--on-dark-3); font-size: 0.85rem; margin-top: 2px; line-height: 1.45; }
.facts--light { background: var(--line); border-color: var(--line); }
.facts--light li { background: var(--white); }
.facts--light b { color: var(--ink); }
.facts--light span { color: var(--muted); }
.spec { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.band--dark .spec { background: rgba(255, 255, 255, 0.06); border-color: rgba(148, 178, 220, 0.35); color: var(--on-dark); }
.spec-row { display: flex; flex-wrap: wrap; gap: 6px; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e0f4f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230e7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.band--dark .checklist li::before { background-color: rgba(6, 182, 212, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%235fe0f2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.band--dark .checklist li { color: var(--on-dark-2); }
.band--dark .checklist li strong { color: var(--on-dark); }

/* ---------- module grid ---------- */
.modules { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.module { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.module:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); }
.module .shot__frame { border: 0; border-radius: 0; box-shadow: none; padding: 10px 10px 0; background: var(--surface-2); }
.module .shot__bar { display: none; }
.module .shot__media { aspect-ratio: 16 / 9; border-radius: 6px 6px 0 0; }
.module .shot__media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.module .shot__placeholder { aspect-ratio: 16 / 9; font-size: 0.75rem; }
.module__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.module h3 { font-size: 1.1rem; margin-bottom: 6px; }
.module h3 a { color: var(--ink); text-decoration: none; }
.module h3 a::after { content: ''; position: absolute; inset: 0; }
.module { position: relative; }
.module p { font-size: 0.92rem; margin-bottom: 14px; flex: 1; }
.module .link-arrow { font-size: 0.9rem; }

/* ---------- roles strip ---------- */
.roles { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.role a { display: flex; flex-direction: column; height: 100%; padding: 16px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.role a:hover { border-color: var(--teal); box-shadow: var(--shadow-1); }
.role b { color: var(--ink); font-size: 0.92rem; font-weight: 600; line-height: 1.25; }
.role span { font-size: 0.8rem; color: var(--muted); margin-top: 6px; line-height: 1.4; flex: 1; }
.role i { font-style: normal; font-size: 0.78rem; font-weight: 600; color: var(--teal-700); margin-top: 10px; }

/* ---------- enterprise ---------- */
.ent { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--field-line); border: 1px solid var(--field-line); border-radius: 14px; overflow: hidden; }
.ent li { background: var(--field-2); padding: 24px 24px 26px; }
.ent h3 { font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.ent h3 svg { width: 20px; height: 20px; color: var(--cyan-on-dark); flex: none; }
.ent p { font-size: 0.9rem; margin: 0; color: var(--on-dark-2); }
.ent--light { background: var(--line); border-color: var(--line); }
.ent--light li { background: var(--white); }
.ent--light h3 svg { color: var(--teal-700); }
.ent--light p { color: var(--text); }

/* ---------- proof band ---------- */
.proof { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof li { padding: 22px 18px; border-right: 1px solid var(--line); }
.proof li:last-child { border-right: 0; }
.proof b { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.proof li > span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--surface); color: var(--ink); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { color: var(--ink); font-weight: 600; }
.table td.dim { color: #64748b; }
.table--compare td:nth-child(3) { background: #f3fbfd; }
.table--compare thead th:nth-child(3) { background: #e0f4f8; color: var(--teal-800); }

/* ---------- lifecycle diagram ---------- */
.life { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.life li { position: relative; padding: 0 10px; text-align: center; }
.life li::before { content: ''; position: absolute; top: 21px; left: 0; right: 0; height: 2px; background: var(--line-2); z-index: 0; }
.life li:first-child::before { left: 50%; }
.life li:last-child::before { right: 50%; }
.life .pip { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--white); border: 2px solid var(--teal); color: var(--teal-700); font-weight: 700; font-size: 0.86rem; }
.life b { display: block; color: var(--ink); font-size: 0.92rem; }
.life span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.band--dark .life li::before { background: rgba(148, 178, 220, 0.35); }
.band--dark .life .pip { background: var(--field); border-color: var(--cyan); color: var(--cyan-on-dark); }
.band--dark .life b { color: var(--on-dark); }
.band--dark .life span { color: var(--on-dark-3); }

/* ---------- cards / feature rows ---------- */
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { font-size: 0.92rem; margin: 0; }
.card p + p { margin-top: 8px; }
.band--dark .card { background: var(--field-2); border-color: var(--field-line); }
.band--dark .card p { color: var(--on-dark-2); }
.feature-row + .feature-row { margin-top: clamp(56px, 7vw, 96px); }
.feature-row h2, .feature-row h3.h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* conn diagram (upstream/downstream) */
.conn { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.conn__box { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 16px; }
.conn__box b { display: block; color: var(--ink); font-size: 0.95rem; }
.conn__box span { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.conn__box--core { background: var(--field); border-color: var(--field); }
.conn__box--core b { color: #fff; }
.conn__box--core span { color: var(--on-dark-2); }
.conn__arrow { color: var(--teal-700); font-size: 1.4rem; font-weight: 700; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal-700); line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq .faq__a { padding: 0 0 20px; max-width: 760px; }
.faq .faq__a p { margin: 0 0 10px; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 780px; margin: 0 auto 14px; }
.cta p { max-width: 640px; margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: #08111f; color: var(--on-dark-3); padding: 64px 0 36px; font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 380px; color: var(--on-dark-3); font-size: 0.88rem; }
.footer h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin: 4px 0 14px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer a { color: var(--on-dark-2); text-decoration: none; display: inline-block; padding: 5px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(148, 178, 220, 0.14); font-size: 0.82rem; }
.footer__base p { margin: 0; }

/* ---------- forms (demo) ---------- */
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: 0.9rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: 8px;
  font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(6, 182, 212, 0.45); outline-offset: 0; border-color: var(--teal-700); }
.field .err { display: none; color: var(--red); font-size: 0.85rem; margin-top: 6px; }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-2); }
.privacy { font-size: 0.85rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.privacy p { margin: 0 0 6px; }
.privacy p:last-child { margin: 0; }
.confirm { display: none; border: 1px solid #a7e3ee; background: #effbfd; border-radius: 12px; padding: 22px; }
.confirm.is-shown { display: block; }
.confirm h2 { font-size: 1.3rem; }
.sched { display: none; margin-top: 16px; border: 1px dashed var(--line-2); border-radius: 10px; padding: 18px; background: var(--surface); }
.sched.is-shown { display: block; }
.preview-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; color: #78350f; background: var(--amber-bg); border-radius: 999px; padding: 4px 10px; }

/* ---------- motion (enabled only when JS adds .js and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .gen__bar { transform: scaleY(0.04); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .gen__col:nth-child(2) .gen__bar { transition-delay: .12s; }
  .js .gen__col:nth-child(3) .gen__bar { transition-delay: .24s; }
  .js .gen__col:nth-child(4) .gen__bar { transition-delay: .36s; }
  .js .gen__bar > * { opacity: 0; transition: opacity .4s .8s; }
  .js .gen.is-in .gen__bar { transform: none; }
  .js .gen.is-in .gen__bar > * { opacity: 1; }
  .js .flow__line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s ease-out; }
  .js .flow.is-in .flow__line path { stroke-dashoffset: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .nav__links, .nav__cta { display: none; }
  .nav .nav__menu-btn { display: inline-flex; }
  .roles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: 720px; }
  .eco { max-width: 760px; margin: 8px auto 0; width: 100%; }
  .gen { grid-template-columns: minmax(0, 1fr); }
  .gen__connector { display: none; }
  .gen__result { margin-top: 36px; max-width: 640px; }
  .gen__tree::before, .gen__tree::after { display: none; }
  .gen__tree { margin-top: 14px; }
  .gen__outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__stations { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .flow__line { display: none; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof li:nth-child(3) { border-right: 0; }
  .proof li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .life { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .life li::before { display: none; }
}
@media (max-width: 900px) {
  .grid-2, .split-7-5, .split-5-7, .page-hero__grid, .ba, .g34, .scenario { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .cards, .how { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gen-defs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba__facts { grid-template-columns: minmax(0, 1fr); }
  .conn { grid-template-columns: minmax(0, 1fr); }
  .conn__arrow { transform: rotate(90deg); }
  .rail, .rails__title { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rail__name, .rails__title span:first-child { text-align: left; }
  .rails__title span:last-child { display: none; }
  .rail { margin-bottom: 6px; }
  /* capability map becomes cards */
  .cmap, .cmap tbody, .cmap tr, .cmap th, .cmap td { display: block; width: 100%; }
  .cmap { border: 0; background: transparent; overflow: visible; }
  .cmap thead { display: none; }
  .cmap tbody tr { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
  .cmap tbody th, .cmap td { border: 0; padding: 0; width: 100%; }
  .cmap td.effect { margin: 6px 0 10px; font-size: 0.9rem; }
  .cmap td.o { display: inline-block; width: auto; margin: 0 6px 6px 0; }
  .cmap td.o .yes, .cmap td.o .no { display: none; }
  .cmap td.o .chip-o { display: inline-flex; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e0f4f8; color: var(--teal-800); }
  .cmap td.o.is-no { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --nav-h: 62px; }
  .nav__logo img { height: 30px; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcomes, .modules { grid-template-columns: minmax(0, 1fr); }
  .gen__outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li { border-right: 0 !important; border-top: 1px solid var(--line); }
  .proof li:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .proof li:nth-child(-n+2) { border-top: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__stations { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow__station { text-align: left; padding-bottom: 18px; }
  .flow__station::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: rgba(95, 224, 242, 0.45); }
  .flow__station:last-child::before { display: none; }
  .flow__station a, .flow__station > span { flex-direction: row; align-items: center; gap: 14px; }
  .flow__station .flow__txt { display: flex; flex-direction: column; }
  .life { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g34__panel--4 .g34__step { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .g34__tie { width: 2px; height: 12px; margin-left: 22px; }
  .g34__tie::after { display: none; }
  /* GEN chart turns into horizontal rising bars */
  .gen__chart { padding-top: 0; padding-right: 30px; }
  .gen__cols { grid-template-columns: minmax(0, 1fr); height: auto; gap: 8px; }
  .gen__col { height: auto; }
  .gen__bar { height: auto; width: var(--w); min-height: 0; border-radius: 2px 8px 8px 2px; transform-origin: left; }
  .gen__col:nth-child(1) .gen__bar { --w: 62%; }
  .gen__col:nth-child(2) .gen__bar { --w: 74%; }
  .gen__col:nth-child(3) .gen__bar { --w: 88%; }
  .gen__col:nth-child(4) .gen__bar { --w: 100%; }
  .gen__axis { display: none; }
  .gen__bracket { top: auto; bottom: 0; left: auto; right: -30px; width: 18px; height: calc(50% - 4px); border: 2px solid var(--teal); border-left: 0; border-radius: 0 8px 8px 0; }
  .gen__bracket-label { display: none; }
  .scen-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scrollbar-width: thin; }
  .scen-tab { flex: none; }
  .eco { column-gap: 14px; row-gap: 14px; padding-top: 128px; }
  .eco__hub { top: 0; transform: translateX(-50%); width: 100%; max-width: 340px; }
  .eco__lines { display: none; }
  .eco__tile { padding: 7px; }
  .eco__tile-head { flex-direction: column; gap: 1px; padding: 2px 2px 7px; }
  .eco__tile-sub { text-align: left; }
  .table th, .table td { padding: 11px 12px; }
  .hero h1 { font-size: 2.05rem; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 720px) {
  .js .gen__bar { transform: scaleX(0.04); }
  .js .gen.is-in .gen__bar { transform: none; }
}
@media (max-width: 380px) {
  .gen__outcomes, .roles { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- additions: nav placement, hero category, eco tile head ---------- */
.nav__main { margin-left: auto; }
.nav__links { margin: 0; }
.hero__category { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--field-line); font-size: 0.86rem; color: var(--on-dark-3); max-width: 520px; }
.eco__tile .eco__tile-head { margin: 0; }

/* ---------- before / after chain ---------- */
.chain { list-style: none; display: flex; flex-direction: column; align-items: stretch; }
.chain__st { border-radius: 8px; padding: 11px 14px; font-weight: 600; font-size: 0.94rem; color: var(--ink); }
.chain--before .chain__st { background: var(--white); border: 1px dashed #94a3b8; color: #334155; }
.chain--after .chain__st { background: var(--white); border: 1px solid #9bd7e4; box-shadow: var(--shadow-1); }
.chain__link { position: relative; height: 34px; display: flex; align-items: center; padding-left: 34px; }
.chain__link::before { content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 0; }
.chain--before .chain__link::before { border-left: 2px dashed #cbd5e1; top: 4px; bottom: 4px; }
.chain--before .chain__link::after { content: ''; position: absolute; left: 16px; top: 50%; width: 14px; height: 2px; background: #b91c1c; transform: rotate(-35deg); }
.chain--before .chain__link span { font-size: 0.78rem; font-weight: 600; color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; padding: 2px 8px; border-radius: 999px; }
.chain--after .chain__link::before { border-left: 2px solid var(--teal); }
.chain--after .chain__link span { font-size: 0.78rem; font-weight: 600; color: var(--teal-800); background: #e6f6fa; border: 1px solid #a5dcea; padding: 2px 8px 2px 22px; border-radius: 999px; position: relative; }
.chain--after .chain__link span::before { content: ''; position: absolute; left: 8px; top: 50%; width: 8px; height: 4px; border-left: 2px solid var(--teal-700); border-bottom: 2px solid var(--teal-700); transform: translateY(-70%) rotate(-45deg); }
.chain-wrap { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.chain__spine { background: var(--field); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.chain__spine span { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* ---------- "what the screen says" panel ---------- */
.says { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.says__title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.says ul { list-style: none; display: grid; gap: 10px; }
.says li { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 4px; }
.says__where { font-size: 0.8rem; color: var(--muted); }
.says__msg { font-weight: 600; color: #78350f; background: var(--amber-bg); justify-self: start; padding: 2px 8px; border-radius: 4px; font-size: 0.92rem; }
.says__note { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- desktop + phone composition ---------- */
.duo { position: relative; padding: 0 0 40px 40px; }
.duo__phone { position: absolute; left: 0; bottom: 0; width: 30%; max-width: 210px; margin: 0; }
.duo__phone .shot__frame { padding: 7px 6px 9px; border-radius: 22px; }
.duo__phone .shot__media { border-radius: 15px; }
@media (max-width: 720px) {
  .duo { padding: 0 0 28px 22px; }
  .duo__phone { width: 34%; }
  .chain-wrap { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
}

/* ---------- review round 1 fixes ---------- */
h1, h2, h3 { text-wrap: balance; }
.nav__logo { gap: 9px; text-decoration: none; margin: 0; }
.wm { font-weight: 600; font-size: 1.32rem; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.wm b { font-weight: 700; color: var(--cyan-on-dark); }
.sheet__top .nav__logo img { height: 30px; width: 30px; }
.footer__logo { margin-bottom: 16px; }
.footer__logo img { height: 30px; width: 30px; }
.hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); }
.hero h1 { font-size: clamp(2.05rem, 3.4vw, 3.05rem); }
.eco__tile-head { flex-direction: column; align-items: flex-start; gap: 1px; }
.eco__tile-sub { text-align: left; }
.eco__lines circle { fill: var(--cyan); }
.band--tight[aria-label="Platform facts"] { padding: 36px 0 0; }
.g34__step { min-height: 78px; align-content: center; }
.flow__txt { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.flow__label { font-size: 0.82rem; }
.rails__title { display: block; margin: 44px 0 12px; }
.rails-area { position: relative; }
.rails__drops { position: absolute; inset: -24px 0 -8px; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; pointer-events: none; }
.rails__drops span { position: relative; }
.rails__drops span::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(95, 224, 242, 0.28); }
.rails { margin-top: 0; position: relative; }
.rail { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 5px; background: rgba(15, 31, 61, 0.88); border: 1px solid rgba(95, 224, 242, 0.25); position: relative; }
.rail::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cyan); border-radius: 5px 0 0 5px; }
.rail__name { text-align: left; }
.rail__bar { height: auto; background: none; border: 0; padding: 0; font-size: 0.82rem; }
.rail__bar::before { display: none; }
.module .link-arrow { color: var(--teal-700); }
.says__msg--plain { background: none; color: var(--ink); padding: 0; }
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .rails__drops { display: none; }
}
@media (max-width: 900px) {
  .rail { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 9px 14px; }
}
@media (max-width: 720px) {
  .eco { padding-top: 0; }
  .eco__hub { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; margin: 0 auto 6px; width: 100%; max-width: none; }
  .gen__bracket { right: 4px; }
  .g34__step { min-height: 0; }
  .flow__txt { align-items: flex-start; }
  .wm { font-size: 1.2rem; }
}

/* ---------- ecosystem map (platform) ---------- */
.ecomap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px 28px; align-items: stretch; position: relative; }
.ecomap__area { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; position: relative; z-index: 1; box-shadow: var(--shadow-1); }
.ecomap__area h3 { margin-bottom: 2px; font-size: 1.05rem; }
.ecomap__area > p { color: var(--muted); font-size: 0.86rem; margin-bottom: 12px; }
.ecomap__area ul { list-style: none; display: grid; gap: 6px; font-size: 0.9rem; }
.ecomap__area li { padding-left: 14px; position: relative; }
.ecomap__area li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.ecomap__area:nth-child(1) { grid-column: 1; grid-row: 1; }
.ecomap__area:nth-child(2) { grid-column: 3; grid-row: 1; }
.ecomap__area:nth-child(4) { grid-column: 1; grid-row: 2; }
.ecomap__area:nth-child(5) { grid-column: 3; grid-row: 2; }
.ecomap__hub { grid-column: 2; grid-row: 1 / 3; align-self: center; background: var(--field); color: var(--on-dark-2); border-radius: 14px; padding: 26px 22px; text-align: center; box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.12), var(--shadow-2); position: relative; z-index: 1; }
.ecomap__hub img { width: 40px; height: 40px; margin: 0 auto 10px; }
.ecomap__hub b { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.ecomap__hub span { font-size: 0.86rem; }
.ecomap::before { content: ''; position: absolute; left: 16%; right: 16%; top: 50%; border-top: 2px dashed #9bd7e4; z-index: 0; }
.ecomap::after { content: ''; position: absolute; left: 50%; top: 10%; bottom: 10%; border-left: 2px dashed #9bd7e4; z-index: 0; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.phones .shot--phone { max-width: 260px; }
.phones .shot--phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 900px) {
  .ecomap { grid-template-columns: minmax(0, 1fr); }
  .ecomap > * { grid-column: 1 !important; grid-row: auto !important; }
  .ecomap__hub { order: -1; }
  .ecomap::before { display: none; }
  .ecomap::after { top: 0; bottom: 0; }
}
@media (max-width: 480px) {
  .phones { gap: 12px; }
  .phones .shot--phone:nth-child(2) { margin-top: 24px; }
}

/* ---------- review round 2 ---------- */
@media (max-width: 1080px) {
  .eco { padding-top: 0; row-gap: 18px; column-gap: 18px; }
  .eco__hub { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; margin: 0 auto; width: 100%; max-width: 420px; }
  .eco__lines { display: none; }
}
.dash-list { list-style: none; display: grid; gap: 8px; margin: 10px 0 0; }
.dash-list li { padding-left: 18px; position: relative; }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 9px; height: 2px; background: var(--amber); }
.footer__brand .footer__logo img { margin: 0; height: 30px; width: 30px; }
.mega__foot { align-items: center; }

/* ---------- review round 3: scenarios stacked so screenshots are readable ---------- */
.scenario { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.scenario > div:first-child { max-width: none; }
.scenario h3 { max-width: 760px; }
@media (min-width: 901px) {
  .scenario .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .scenario .steps3 > li { padding: 42px 0 0; border-top: 2px solid var(--line); }
  .scenario .steps3 > li::before { display: none; }
  .scenario .steps3 .ico { top: -15px; left: 0; box-shadow: 0 0 0 5px var(--white); }
  .band--tint .scenario .steps3 .ico { box-shadow: 0 0 0 5px var(--surface); }
  .scenario .steps3 .s-problem { border-top-color: #fecaca; }
  .scenario .steps3 .s-detect { border-top-color: #bfdbfe; }
  .scenario .steps3 .s-avoid { border-top-color: #bbf7d0; }
  .scenario .steps3 h4 { margin-top: 0; }
  .scenario .says ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.shot__marks li { width: 24px; height: 24px; font-size: 0.74rem; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(2, 8, 23, 0.35); }
.shot figcaption .legend { margin-top: 10px; }
@media (min-width: 901px) { .scenario .shot figcaption .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }

/* hero tiles: zoom into the most legible part of each real screenshot */
.eco__tile .shot__media img { transform: scale(2.7); transform-origin: var(--zx, 0%) var(--zy, 0%); }

/* =================== Version 2 =================== */
.kicker .idx { display: none; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); margin-bottom: 18px; }
.hero h1 .h1-lead { display: inline; }
.hero__category-line { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.4; font-weight: 600; color: var(--cyan-on-dark); max-width: 600px; margin: 0 0 16px; letter-spacing: -0.01em; }
.hero__sub { max-width: 540px; margin-bottom: 28px; }

/* connected ecosystem */
.eco { column-gap: clamp(64px, 7vw, 96px); row-gap: clamp(108px, 10vw, 132px); }
.eco__hub { width: clamp(200px, 18vw, 232px); padding: 14px 16px; }
.eco__tile-head { display: grid; grid-template-columns: 1fr auto; align-items: start; column-gap: 8px; }
.eco__tile-name { grid-column: 1; }
.eco__tile-sub { grid-column: 1; }
.eco__chip { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; color: var(--cyan-on-dark); border: 1px solid rgba(95, 224, 242, 0.45); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.eco__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.eco__tile .shot__media img { transform: none; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.eco__lines .bus { stroke: rgba(95, 224, 242, 0.75); stroke-width: 1.5; fill: none; }
.eco__lines .ring { stroke: rgba(95, 224, 242, 0.35); stroke-width: 1; fill: none; stroke-dasharray: 4 5; }
.eco__lines circle { fill: var(--cyan); }
.eco__tile { border-color: rgba(95, 224, 242, 0.32); }
@media (max-width: 1080px) {
  .eco__chip { display: none; }
}

/* outcomes v2 */
.outcomes--v2 .outcome p { font-size: 0.92rem; }
.outcome__ex { color: var(--text); }
.outcome__fx { color: var(--ink); margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.outcome__ex b, .outcome__fx b { color: var(--teal-800); font-weight: 600; }

/* cause -> consequence */
.cc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.cc__head, .cc__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr); }
.cc__head { background: var(--surface); }
.cc__head span { padding: 12px 18px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.cc__row { border-top: 1px solid var(--line); }
.cc__row > span { padding: 15px 18px; font-size: 0.93rem; line-height: 1.45; position: relative; }
.cc__cause { color: var(--ink); font-weight: 600; }
.cc__cost { color: #7c2d12; background: #fff7ed; }
.cc__fix { color: var(--teal-800); background: #f0fafc; }
.cc__fix::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--teal); border-radius: 2px; }
.cc__lbl { display: none; }
@media (max-width: 900px) {
  .cc__head { display: none; }
  .cc__row { grid-template-columns: minmax(0, 1fr); }
  .cc__row > span { padding: 10px 16px; }
  .cc__lbl { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
}

/* featured modules + compact list */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feat__card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .15s, border-color .15s; }
.feat__card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); color: var(--text); }
.feat__card .shot__frame { border: 0; border-radius: 0; box-shadow: none; background: var(--surface-2); padding: 12px 12px 0; }
.feat__card .shot__bar { display: none; }
.feat__card .shot__media { aspect-ratio: 16 / 8; border-radius: 6px 6px 0 0; }
.feat__card .shot__media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.feat__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.feat__name { color: var(--ink); font-weight: 600; font-size: 1.2rem; }
.feat__desc { font-size: 0.95rem; }
.feat__card .link-arrow { color: var(--teal-700); font-size: 0.92rem; }
.mini { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.mini a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; color: var(--text); }
.mini a:hover { border-color: var(--teal); }
.mini b { color: var(--ink); font-size: 0.95rem; }
.mini span { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }

/* enterprise strip */
.strip-title { font-size: 1.25rem; margin-bottom: 16px; }
.strip { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.strip li { padding: 16px 18px; border-right: 1px solid var(--line); }
.strip li:last-child { border-right: 0; }
.strip b { display: block; color: var(--ink); font-size: 0.95rem; }
.strip span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
@media (max-width: 1080px) {
  .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip li { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .feat, .mini { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip li { border-right: 0; }
}

/* narrow crops keep their natural scale */
.shot--narrow { max-width: 560px; }
.shot--narrow-s { max-width: 420px; }

/* expandable screenshots */
.shot__expand { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(15, 23, 42, 0.18); background: rgba(255, 255, 255, 0.95); color: var(--ink); font: 600 0.8rem/1 var(--font); cursor: pointer; box-shadow: var(--shadow-1); }
.shot__expand:hover { background: #fff; border-color: var(--navy); }
.shot__expand svg { width: 14px; height: 14px; }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(2, 8, 23, 0.82); display: none; overflow: auto; padding: 56px 16px 24px; }
.lb.is-open { display: block; }
.lb__panel { max-width: 1440px; margin: 0 auto; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.lb__title { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.lb__close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; color: var(--ink); }
.lb__close svg { width: 18px; height: 18px; }
.lb__img { display: block; width: 100%; height: auto; }
body.lb-open { overflow: hidden; }
@media (max-width: 720px) {
  .shot__marks li { width: 20px; height: 20px; font-size: 0.66rem; }
}

/* v2 review round 1 */
.band { padding: clamp(56px, 6.5vw, 92px) 0; }
.hero h1 { font-size: clamp(2.2rem, 3.7vw, 3.35rem); }
.hero h1 .h1-lead { display: block; }
.eco { row-gap: clamp(150px, 13vw, 176px); }
.eco__hub { width: clamp(220px, 19vw, 256px); }
.eco__hub-tags { white-space: nowrap; font-size: 0.7rem; }
.eco__tile-head { display: flex; flex-direction: column; }
.eco__chip { position: absolute; top: -11px; right: 12px; background: var(--field); padding: 2px 9px; z-index: 3; }
.feat__card .shot__media img { object-position: center top; }
@media (max-width: 1080px) {
  .eco { row-gap: 18px; }
}
.feat__card .shot__media img { object-position: left top; }

/* phone: pannable full view; annotations live in the numbered legend only */
@media (max-width: 720px) {
  .lb__panel { overflow-x: auto; }
  .lb__img { width: auto; max-width: none; min-width: 1100px; }
}
@media (max-width: 560px) {
  .shot__marks { display: none; }
  .legend li { grid-template-columns: 1fr; }
  .legend li::before { display: none; }
}

/* =================== Release candidate (v3) =================== */
/* Self-hosted Inter (SIL OFL, see assets/fonts/LICENSE-Inter-OFL.txt), latin subset */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

.mega--narrow { width: min(420px, 90vw); }
.mega--narrow .mega__grid { grid-template-columns: minmax(0, 1fr); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.footer__cookie { background: none; border: 0; padding: 5px 0; color: var(--on-dark-2); font: inherit; cursor: pointer; }
.footer__cookie:hover { color: #fff; text-decoration: underline; }

/* platform: sticky section navigation */
.subnav { position: sticky; top: var(--nav-h); z-index: 90; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__label { flex: none; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--surface-2); color: var(--ink); }
.subnav a[aria-current="true"] { background: var(--field); color: #fff; }
html { scroll-padding-top: calc(var(--nav-h) + 72px); }

/* pricing */
.price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-2); }
.price__head { background: var(--field); color: var(--on-dark-2); padding: clamp(24px, 3vw, 40px); }
.price__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-on-dark); margin-bottom: 12px; }
.price__amount { display: flex; align-items: baseline; gap: 6px; color: #fff; }
.price__dollar { font-size: 1.6rem; font-weight: 600; }
.price__number { font-size: clamp(3.2rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price__per { font-size: 1rem; color: var(--on-dark-2); }
.price__sub { margin-top: 14px; color: var(--on-dark-2); }
.price__body { padding: clamp(24px, 3vw, 40px); }
.price__includes { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.price__features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.price__notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.price__notes span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: middle; }
.addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; margin-top: 20px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.addon h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.addon__badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-800); background: #e0f4f8; border-radius: 999px; padding: 3px 9px; }
.addon p { margin: 0; }
.addon__side { text-align: right; }
.addon__price { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 900px) {
  .price { grid-template-columns: minmax(0, 1fr); }
  .price__features { grid-template-columns: minmax(0, 1fr); }
  .addon { grid-template-columns: minmax(0, 1fr); }
  .addon__side { text-align: left; }
}

/* demo booking area */
.booking { display: none; margin-top: 24px; }
.booking.is-shown { display: block; }
.booking__frame { min-height: 640px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.booking__fallback { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

/* prose (About and legal-style pages) */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.05rem; line-height: 1.7; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }

/* phone: compact ecosystem so the outcomes appear within about 1.5 screens */
@media (max-width: 720px) {
  .hero { padding: 32px 0 36px; }
  .hero h1 { font-size: 2rem; margin-bottom: 12px; }
  .hero__category-line { font-size: 1.08rem; margin-bottom: 10px; }
  .hero__sub { font-size: 0.98rem; margin-bottom: 18px; }
  .hero .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero .btn-row .btn { flex: 1 1 0; padding: 0 10px; font-size: 0.9rem; min-height: 44px; }
  .hero__grid { gap: 24px; }
  .eco { gap: 8px; }
  .eco__hub { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: left; padding: 8px 12px; border-radius: 10px; }
  .eco__hub img { width: 22px; height: 22px; margin: 0; }
  .eco__hub-name { font-size: 0.9rem; }
  .eco__hub-line { margin: 0; font-size: 0.78rem; color: var(--on-dark-2); }
  .eco__hub-tags { display: none; }
  .eco__tile { padding: 6px; border-radius: 8px; }
  .eco__tile-head { padding: 0 2px 5px; }
  .eco__tile-name { font-size: 0.78rem; }
  .eco__tile-sub { display: none; }
  .eco__tile .shot__media { aspect-ratio: 16 / 9; border-radius: 4px; }
}

.linklike { background: none; border: 0; padding: 0; color: var(--teal-700); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.faq-group { font-size: 1.4rem; margin-bottom: 16px; }
.band--tight .faq { margin: 0; max-width: 860px; }

/* consent banner (cookie-consent.js is kept verbatim from the live site; only its button colour is raised to AA here) */
#i360-cookie-banner .i360-cookie-btn-primary { background: #0e7490 !important; border-color: #0e7490 !important; }
#i360-cookie-banner .i360-cookie-btn-primary:hover { background: #155e75 !important; }
.link-arrow { padding: 3px 0; }
@media (max-width: 720px) { .eco__hub { flex-wrap: nowrap; } .eco__hub-line { white-space: nowrap; } .eco__hub-line::before { content: "\00B7"; margin-right: 8px; color: var(--on-dark-3); } }
@media (max-width: 560px) { .shot__expand { min-height: 30px; padding: 0 8px; font-size: 0.72rem; right: 6px; bottom: 6px; } }
@media (max-width: 1080px) { .eco .eco__hub { width: 100%; max-width: 440px; } }
@media (max-width: 720px) { .eco .eco__hub { max-width: none; } }
