:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Geist", ui-sans-serif, -apple-system, "Segoe UI", Arial, sans-serif; background: #03070c; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site {
  --bg: #050b12;
  --bg-soft: #07121d;
  --panel: rgba(8, 23, 35, .86);
  --panel-2: rgba(12, 31, 45, .94);
  --text: #f3f7fb;
  --muted: #a5b1be;
  --border: rgba(117, 162, 195, .22);
  --border-strong: rgba(100, 155, 194, .38);
  --green: #72df3f;
  --green-deep: #3bb234;
  --blue: #2b9cff;
  --teal: #26d4bd;
  --violet: #a875ff;
  --amber: #ffb614;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 77% 5%, rgba(27, 119, 155, .16), transparent 22rem),
    radial-gradient(circle at 16% 34%, rgba(36, 133, 94, .08), transparent 28rem),
    linear-gradient(180deg, #02070c, var(--bg) 55%, #06111b);
  transition: color .25s, background .25s;
}

.theme-light {
  --bg: #f7faf9;
  --bg-soft: #edf5f1;
  --panel: rgba(255, 255, 255, .92);
  --panel-2: rgba(249, 253, 251, .98);
  --text: #08172f;
  --muted: #506072;
  --border: rgba(38, 89, 111, .14);
  --border-strong: rgba(49, 104, 119, .24);
  --green: #2aae50;
  --green-deep: #18883e;
  --blue: #2389ed;
  --teal: #13aa91;
  --violet: #8a5ce6;
  --amber: #ed9600;
  color-scheme: light;
  background:
    radial-gradient(circle at 75% 8%, rgba(62, 182, 113, .10), transparent 24rem),
    linear-gradient(180deg, #fff, #f8fbfa 58%, #f1f7f4);
}

.section-shell { width: min(1420px, calc(100% - 64px)); margin-inline: auto; }

.nav-shell {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 0 max(28px, calc((100vw - 1420px) / 2));
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand { width: 177px; height: 54px; display: block; position: relative; color: inherit; text-decoration: none; overflow: hidden; flex: 0 0 auto; }
.brand-logo { width: 100%; height: auto; display: block; transform: translateY(-24.5%); }
.nav-links { display: flex; align-items: center; gap: 31px; margin: 0 auto; }
.nav-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 540; opacity: .86; }
.nav-links a:hover { color: var(--green); opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { border: 1px solid transparent; min-height: 42px; border-radius: 6px; padding: 0 22px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; color: inherit; cursor: pointer; font-weight: 640; font-size: 13px; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s, background .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; border-color: rgba(120, 242, 78, .5); background: linear-gradient(135deg, #50b542, #268c3f); box-shadow: 0 8px 26px rgba(44, 170, 62, .17), inset 0 1px rgba(255,255,255,.25); }
.button.primary:hover { box-shadow: 0 10px 32px rgba(54, 195, 72, .3); }
.button.ghost { color: var(--text); background: color-mix(in srgb, var(--panel) 86%, transparent); border-color: var(--border-strong); }
.button.large { min-height: 50px; padding-inline: 30px; font-size: 14px; }
.theme-toggle, .menu-button, .modal-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--panel); color: var(--text); cursor: pointer; }
.menu-button { display: none; }

.hero { min-height: 600px; display: grid; grid-template-columns: 42% 58%; align-items: center; position: relative; padding-block: 50px 38px; }
.hero-copy { position: relative; z-index: 4; padding: 10px 0 16px 5px; }
.hero-kicker { width: fit-content; display: flex; gap: 12px; align-items: center; padding: 6px 13px; margin-bottom: 16px; color: var(--muted); font-size: 11px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--panel); }
.hero-kicker b { color: var(--green); letter-spacing: .03em; }
.hero-kicker b::after { content: ""; height: 13px; width: 1px; background: var(--border-strong); display: inline-block; margin-left: 12px; vertical-align: -2px; }
.hero h1 { max-width: 610px; margin: 0; font-size: clamp(44px, 4.1vw, 72px); line-height: 1.05; letter-spacing: -3.4px; font-weight: 700; }
.hero h1 span { color: var(--green); }
.hero-copy > p { max-width: 560px; margin: 23px 0 27px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; gap: 13px; }
.proof-points { max-width: 650px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.proof-points span { display: grid; grid-template-columns: 23px 1fr; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.proof-points svg { width: 20px; color: var(--green); }

.hero-visual { height: 520px; position: relative; overflow: hidden; align-self: stretch; margin-right: -22px; border-radius: 16px; isolation: isolate; mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 100%); }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0, transparent 23%, transparent 80%, var(--bg) 110%); pointer-events: none; }
.hero-reference { position: absolute; z-index: 0; width: 1000px; max-width: none; top: -60px; right: -18px; filter: saturate(1.08) contrast(1.02); }
.hero-reference-light { display: none; }
.theme-light .hero-reference-dark { display: none; }
.theme-light .hero-reference-light { display: block; }
.metric-row { position: absolute; z-index: 3; top: 12px; left: 84px; right: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.metric-card { min-width: 0; min-height: 87px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 7px; background: color-mix(in srgb, var(--panel-2) 90%, transparent); box-shadow: 0 10px 25px rgba(0,0,0,.17); backdrop-filter: blur(12px); overflow: hidden; }
.metric-card > span { display: block; color: var(--muted); font-size: 9px; }
.metric-card strong { display: block; margin-top: 4px; font-size: 23px; line-height: 1; }
.metric-card strong small { font-size: 9px; margin-left: 2px; }
.metric-foot { display: flex; align-items: end; justify-content: space-between; }
.metric-card em { color: var(--muted); font-size: 8px; font-style: normal; }
.trend { width: 72px; height: 24px; overflow: visible; }
.trend path { fill: none; stroke: currentColor; stroke-width: 2; filter: drop-shadow(0 3px 5px currentColor); }
.trend-blue { color: var(--blue); }.trend-green { color: var(--green); }.trend-teal { color: var(--teal); }.trend-violet { color: var(--violet); }.trend-amber { color: var(--amber); }
.twin-chip { position: absolute; z-index: 3; left: 72px; bottom: 34px; padding: 8px 16px; border: 1px solid var(--green-deep); border-radius: 999px; background: rgba(3,15,15,.8); color: #f2fff0; font-size: 12px; }
.twin-chip span { width: 8px; height: 8px; display: inline-block; margin-right: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px var(--green); }
.hero-status { position: absolute; z-index: 3; bottom: 38px; width: 130px; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: 7px; background: color-mix(in srgb, var(--panel-2) 93%, transparent); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.hero-status span, .hero-status small { display: block; color: var(--muted); font-size: 8px; }.hero-status strong { display: block; margin: 2px 0; font-size: 19px; }.hero-status small { color: var(--green); }
.hero-status.status-left { right: 145px; }.hero-status.status-right { right: 5px; }

.trusted { margin-top: 5px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); padding: 14px 26px 17px; }
.trusted h2 { margin: 0 0 12px; color: var(--green); text-align: center; font-size: 14px; font-weight: 650; }
.trusted > div { display: grid; grid-template-columns: repeat(5, 1fr); }
.trusted span { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 34px; padding: 0 18px; color: var(--muted); font-size: 11px; text-align: left; border-right: 1px solid var(--border); }
.trusted span:last-child { border-right: 0; }.trusted svg { color: var(--green); width: 23px; }

.platform { padding-block: 40px 24px; }
.section-heading { text-align: center; margin-bottom: 22px; }
.section-heading > span { color: var(--green); font-size: 11px; letter-spacing: .1em; font-weight: 700; }
.section-heading h2 { margin: 5px 0 4px; font-size: 25px; letter-spacing: -.7px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.section-heading.compact { margin-bottom: 15px; }
.section-heading.compact h2 { color: var(--green); font-size: 20px; }
.pillar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pillar-card { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 22px 17px; text-align: center; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); overflow: hidden; }
.pillar-card::before { content: ""; position: absolute; inset: 0; opacity: .09; background: radial-gradient(circle at 50% 0, currentColor, transparent 60%); }
.icon-orb { width: 54px; height: 54px; display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 12px; color: currentColor; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--panel-2) 90%, transparent); }
.icon-orb svg { width: 30px; height: 30px; }.pillar-card h3 { margin: 0 0 6px; font-size: 15px; }.pillar-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.card-arrow { display: none; position: absolute; right: 13px; bottom: 13px; color: currentColor; }
.tone-green { color: var(--green); }.tone-blue { color: var(--blue); }.tone-teal { color: var(--teal); }.tone-violet { color: var(--violet); }.tone-amber { color: var(--amber); }
.pillar-card h3, .module-card h3 { color: var(--text); }

.action-section { display: grid; grid-template-columns: 280px 1fr; gap: 20px; margin-block: 2px 26px; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.action-copy { padding: 6px 2px; }.action-copy > span { color: var(--green); font-weight: 700; font-size: 15px; }.action-copy h2 { margin: 4px 0 11px; font-size: 21px; }.action-copy > p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.action-copy ol { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }.action-copy li { display: grid; grid-template-columns: 28px 65px 1fr; align-items: center; gap: 6px; font-size: 10px; }.action-copy li i { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(77,211,110,.25); border-radius: 5px; color: var(--green); background: rgba(40,190,85,.08); }.action-copy li svg { width: 15px; }.action-copy li small { color: var(--muted); font-size: 9px; line-height: 1.3; }
.command-panel { padding: 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: color-mix(in srgb, var(--bg-soft) 88%, transparent); box-shadow: inset 0 0 30px rgba(33,120,164,.06); }
.panel-topline { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; letter-spacing: .06em; }.live-dot { color: var(--green); }.live-dot::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.dashboard-grid { display: grid; grid-template-columns: 180px 1fr 230px; gap: 10px; margin-top: 10px; }.dashboard-grid > div { min-height: 155px; padding: 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); }
.dashboard-grid h3 { margin: 0 0 10px; color: var(--muted); font-size: 8px; letter-spacing: .05em; }.block-map > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.block-map span { height: 23px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; font-size: 9px; }.block-map span.selected { color: var(--text); border-color: var(--green); background: rgba(86,210,68,.23); box-shadow: 0 0 13px rgba(86,210,68,.2); }
.flow-chart > span { display: block; color: var(--muted); font-size: 9px; }.flow-chart strong { display: block; margin-top: 10px; font-size: 27px; }.flow-chart strong small { font-size: 10px; }.flow-chart em { display: block; color: var(--green); font-size: 9px; font-style: normal; }.flow-chart .trend { width: 100%; height: 60px; margin-top: 10px; }
.alert-stack p { display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 5px; margin: 0 0 7px; padding: 7px; color: var(--text); border: 1px solid var(--border); border-radius: 4px; font-size: 9px; }.alert-stack p svg { width: 13px; color: var(--amber); }.alert-stack p:last-child svg { color: var(--green); }.alert-stack small { grid-column: 2; color: var(--muted); font-size: 8px; }
.telemetry-table { margin-top: 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; font-size: 8px; overflow: hidden; }.telemetry-table [role="row"] { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; padding: 6px 10px; border-bottom: 1px solid var(--border); }.telemetry-table [role="row"]:last-child { border-bottom: 0; }.telemetry-table b { color: var(--text); }.telemetry-table .ok { color: var(--green); }

.modules-section { padding-block: 13px 24px; }.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }.module-card { min-height: 77px; display: grid; grid-template-columns: 37px 1fr; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); }.module-card > svg { width: 25px; }.module-card h3 { margin: 0 0 3px; font-size: 11px; }.module-card p { margin: 0; color: var(--muted); font-size: 9px; }.modules-page-link { width: fit-content; display: flex; align-items: center; gap: 7px; margin: 14px 0 0 auto; color: var(--green); font-size: 11px; font-weight: 700; text-decoration: none; }
.impact-section { padding-block: 6px 20px; }.outcomes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }.outcome-card { min-height: 145px; padding: 15px 16px 8px; border: 1px solid color-mix(in srgb, currentColor 34%, var(--border)); border-radius: 8px; background: var(--panel); overflow: hidden; }.outcome-card > span { display: block; font-size: 10px; }.outcome-card strong { display: block; margin: 5px 0; font-size: 28px; }.outcome-card p { min-height: 26px; margin: 0; color: var(--muted); font-size: 9px; }.outcome-card .trend { width: 100%; height: 45px; margin-top: 5px; }.data-note { margin: 10px 0 0; color: var(--muted); font-size: 8px; text-align: right; }

.architecture-section { margin-bottom: 20px; padding: 19px 20px 13px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); }.architecture-grid { display: grid; grid-template-columns: repeat(6, 1fr); }.architecture-grid article { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 5px 12px; border-right: 1px solid var(--border); }.architecture-grid article:last-child { border-right: 0; }.architecture-grid svg { color: var(--blue); width: 23px; }.architecture-grid h3 { margin: 0 0 2px; font-size: 10px; }.architecture-grid p { margin: 0; color: var(--muted); font-size: 8px; }.security-line { display: flex; justify-content: center; gap: 25px; margin-top: 10px; color: var(--muted); font-size: 8px; }.security-line span { display: flex; align-items: center; gap: 5px; }.security-line svg { width: 12px; }

.footer { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 35px; padding-block: 12px 25px; }.footer-intro { max-width: 240px; }.footer .brand { width: 154px; height: 45px; }.footer-intro p { margin: 13px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }.footer-intro > span { color: var(--green); font-size: 9px; }.footer h3 { margin: 4px 0 13px; font-size: 10px; }.footer a, .footer button { display: block; margin: 0 0 9px; padding: 0; color: var(--muted); text-decoration: none; font-size: 9px; border: 0; background: none; cursor: pointer; }.footer a:hover, .footer button:hover { color: var(--green); }.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 10px; padding-top: 17px; color: var(--muted); border-top: 1px solid var(--border); font-size: 8px; }

.nav-links a.active { color: var(--green); opacity: 1; }
.modules-site { min-height: 100vh; }
.modules-hero { padding-block: 76px 45px; text-align: center; }
.back-link { width: fit-content; display: flex; align-items: center; gap: 6px; margin: 0 auto 29px; color: var(--muted); font-size: 11px; text-decoration: none; }
.back-link:hover { color: var(--green); }
.modules-hero > span { color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.modules-hero h1 { margin: 11px auto 16px; font-size: clamp(42px, 5.7vw, 78px); line-height: 1.03; letter-spacing: -3.7px; }
.modules-hero h1 em { color: var(--green); font-style: normal; }
.modules-hero > p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.7; }
.modules-summary { width: fit-content; display: grid; grid-template-columns: auto auto auto auto auto auto; align-items: center; gap: 9px 18px; margin: 35px auto 0; padding: 14px 22px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); }
.modules-summary strong { color: var(--green); font-size: 22px; }
.modules-summary span { color: var(--muted); font-size: 9px; text-align: left; }
.module-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; padding-bottom: 58px; }
.module-detail-card { min-height: 275px; padding: 20px; border: 1px solid color-mix(in srgb, currentColor 28%, var(--border)); border-radius: 10px; background: linear-gradient(145deg, color-mix(in srgb, currentColor 5%, var(--panel)), var(--panel)); }
.module-detail-top { display: flex; justify-content: space-between; align-items: center; }
.module-detail-card .icon-orb { width: 48px; height: 48px; margin: 0; }
.module-detail-card .icon-orb svg { width: 24px; }
.module-number { color: color-mix(in srgb, currentColor 58%, var(--muted)); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.module-detail-card h2 { margin: 19px 0 8px; color: var(--text); font-size: 18px; }
.module-detail-card > p { min-height: 57px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.module-detail-card ul { display: grid; gap: 7px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); list-style: none; }
.module-detail-card li { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 9px; }
.module-detail-card li::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.modules-footer { padding-top: 28px; border-top: 1px solid var(--border); }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(0, 5, 10, .74); backdrop-filter: blur(12px); }.modal { width: min(520px, 100%); position: relative; padding: 35px; color: var(--text); border: 1px solid var(--border-strong); border-radius: 14px; background: var(--panel-2); box-shadow: 0 30px 80px rgba(0,0,0,.4); }.modal-close { position: absolute; top: 13px; right: 13px; }.modal .eyebrow { color: var(--green); font-size: 10px; letter-spacing: .11em; font-weight: 700; }.modal h2 { margin: 9px 0 8px; font-size: 28px; }.modal > p, .success-state p { color: var(--muted); font-size: 13px; line-height: 1.55; }.modal form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 23px; }.modal label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; }.modal input, .modal select { height: 42px; padding: 0 11px; color: var(--text); border: 1px solid var(--border-strong); border-radius: 6px; outline: none; background: var(--panel); }.modal input:focus, .modal select:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 15%, transparent); }.modal form .button { grid-column: 1 / -1; margin-top: 4px; }.success-state { text-align: center; padding: 15px; }.success-state > span { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto; color: white; border-radius: 50%; background: var(--green-deep); }.success-state h2 { margin-top: 16px; }

@media (max-width: 1180px) {
  .section-shell { width: min(100% - 36px, 1080px); }
  .nav-shell { gap: 16px; padding-inline: 18px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 10px; }
  .desktop-action { display: none; }
  .hero { grid-template-columns: 43% 57%; min-height: 555px; }.hero h1 { font-size: 50px; }.hero-copy > p { font-size: 14px; }.hero-visual { height: 480px; }.hero-reference { width: 900px; top: -34px; right: -64px; }.metric-row { left: 55px; right: 5px; }.proof-points { grid-template-columns: 1fr 1fr; }
  .metric-card em { display: none; }.metric-card .trend { width: 52px; margin-left: auto; }.metric-card strong { font-size: 20px; }.metric-card > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }.pillar-card { min-height: 145px; display: grid; grid-template-columns: 55px 1fr; text-align: left; }.icon-orb { margin: 0; }.card-arrow { display: block; }
  .action-section { grid-template-columns: 230px 1fr; }.dashboard-grid { grid-template-columns: 150px 1fr; }.alert-stack { display: none; }
  .module-grid { grid-template-columns: repeat(4, 1fr); }.module-card { min-height: 70px; }.architecture-grid { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }.architecture-grid article:nth-child(3) { border-right: 0; }
  .module-detail-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .section-shell { width: min(100% - 28px, 720px); }.nav-shell { height: 68px; }.brand { width: 148px; height: 44px; }.nav-actions .button { padding-inline: 14px; }
  .hero { display: block; padding-top: 28px; min-height: auto; }.hero-copy { max-width: 620px; }.hero h1 { font-size: clamp(42px, 9vw, 62px); }.hero-visual { height: 480px; margin: 18px -14px 0; mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 100%); }.hero-reference { right: -35px; width: 900px; }.metric-row { left: 40px; top: 14px; }.proof-points { grid-template-columns: repeat(4, 1fr); }
  .trusted > div { grid-template-columns: repeat(5, minmax(150px,1fr)); overflow-x: auto; }.trusted span { padding: 0 12px; }
  .action-section { grid-template-columns: 1fr; }.action-copy ol { grid-template-columns: repeat(5, 1fr); }.action-copy li { grid-template-columns: 27px 1fr; }.action-copy li small { grid-column: 2; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }.outcomes-grid { grid-template-columns: repeat(5, minmax(155px, 1fr)); overflow-x: auto; padding-bottom: 6px; }.architecture-grid { grid-template-columns: repeat(2, 1fr); }.architecture-grid article { border-right: 0; justify-content: flex-start; }.security-line { flex-wrap: wrap; gap: 12px; }
  .module-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-summary { grid-template-columns: auto auto auto auto; }
  .modules-summary strong:nth-of-type(3), .modules-summary strong:nth-of-type(3) + span { display: none; }
  .footer { grid-template-columns: 1.8fr repeat(2,1fr); }.footer-bottom { grid-column: 1/-1; }.footer > div:nth-child(4), .footer > div:nth-child(5) { margin-left: calc(100% + 35px); }
}

@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--panel-2); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
  .nav-links.open { display: flex; }
  .nav-links a { justify-content: space-between; padding: 12px; font-size: 12px; }
  .menu-button { display: grid; }
}

@media (max-width: 580px) {
  .section-shell { width: calc(100% - 22px); }.nav-actions .primary { display: none; }.nav-shell { gap: 8px; }.nav-actions { margin-left: auto; }.hero-kicker span { display: none; }.hero h1 { font-size: 42px; letter-spacing: -2.3px; }.hero-copy > p { margin-block: 17px 22px; font-size: 14px; }.hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }.proof-points { grid-template-columns: 1fr 1fr; }.hero-visual { height: 415px; }.hero-reference { width: 770px; top: -20px; right: -73px; }.metric-row { grid-template-columns: repeat(2, 1fr); left: 44px; right: 4px; }.metric-card:nth-child(n+3) { display: none; }.hero-status { bottom: 22px; }.hero-status.status-left { right: 140px; }.hero-status.status-right { right: 4px; }.twin-chip { left: 22px; bottom: 95px; }
  .trusted { padding-inline: 12px; }.platform { padding-top: 30px; }.section-heading h2 { font-size: 22px; }.pillar-grid { grid-template-columns: 1fr; }.pillar-card { min-height: 112px; }.action-copy ol { grid-template-columns: 1fr; }.action-copy li { grid-template-columns: 28px 72px 1fr; }.action-copy li small { grid-column: auto; }.dashboard-grid { grid-template-columns: 1fr; }.flow-chart { display: none; }.telemetry-table [role="row"] { grid-template-columns: 2fr 1fr 1fr; }.telemetry-table [role="row"] span:nth-child(4), .telemetry-table [role="row"] span:nth-child(5), .telemetry-table [role="row"] b:nth-child(4), .telemetry-table [role="row"] b:nth-child(5) { display: none; }
  .module-grid { grid-template-columns: 1fr; }.outcomes-grid { grid-template-columns: repeat(5, 165px); }.architecture-grid { grid-template-columns: 1fr 1fr; }.architecture-section { padding-inline: 12px; }.security-line span:nth-child(n+4) { display: none; }
  .modules-hero { padding-block: 48px 32px; }.modules-hero h1 { font-size: 43px; letter-spacing: -2.3px; }.modules-hero > p { font-size: 13px; }.modules-summary { grid-template-columns: auto auto; width: 100%; }.module-detail-grid { grid-template-columns: 1fr; }.module-detail-card { min-height: auto; }.module-detail-card > p { min-height: 0; }
  .footer { grid-template-columns: 1fr 1fr; gap: 25px; }.footer-intro { grid-column: 1 / -1; }.footer > div:nth-child(4), .footer > div:nth-child(5) { margin-left: 0; }.footer-bottom { flex-direction: column; gap: 7px; }
  .modal { padding: 30px 20px 22px; }.modal form { grid-template-columns: 1fr; }.modal form .button { grid-column: 1; }
}

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


/* Static-port additions */
[hidden] { display: none !important; }
.theme-toggle .ic-moon { display: none; }
.theme-light .theme-toggle .ic-sun { display: none; }
.theme-light .theme-toggle .ic-moon { display: block; }
.nav-links a svg, .button svg, .back-link svg, .modules-page-link svg { flex: 0 0 auto; }

/* Reference art is cropped to the irrigation render; let it fill the visual. */
.hero-reference { inset: 0; width: 100%; height: 100%; top: 0; right: 0; object-fit: cover; object-position: 78% 20%; }

/* Hero background slider */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease-out; }
.hero-slide.is-active { opacity: 1; }
.hero-slide .hero-reference { inset: 0; width: 100%; height: 100%; top: 0; right: 0; object-fit: cover; object-position: 78% 20%; }
.slide-dots { position: absolute; z-index: 4; inset-inline-end: 16px; inset-block-start: 118px; display: flex; flex-direction: column; gap: 7px; }
.slide-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: color-mix(in srgb, var(--panel-2) 80%, transparent); cursor: pointer; }
.slide-dots button[aria-selected="true"] { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px var(--green); }
.twin-chip em { font-style: normal; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* Inner pages */
.page-hero { padding-block: 64px 34px; text-align: center; }
.page-hero > span { color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.page-hero h1 { margin: 11px auto 15px; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; letter-spacing: -2.6px; }
.page-hero h1 em { color: var(--green); font-style: normal; }
.page-hero > p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.7; }
.page-section { padding-block: 10px 34px; }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.solution-card { padding: 24px; border: 1px solid color-mix(in srgb, currentColor 28%, var(--border)); border-radius: 10px; background: linear-gradient(145deg, color-mix(in srgb, currentColor 5%, var(--panel)), var(--panel)); }
.solution-card h2 { margin: 14px 0 8px; color: var(--text); font-size: 19px; }
.solution-card > p { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.solution-card ul { display: grid; gap: 7px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--border); list-style: none; }
.solution-card li { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 11px; }
.solution-card li::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.tech-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tech-card { padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.tech-card h2 { margin: 12px 0 7px; font-size: 16px; color: var(--text); }
.tech-card p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: start; padding-block: 8px 50px; }
.contact-card { padding: 30px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--panel-2); }
.contact-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; }
.contact-card label.full { grid-column: 1 / -1; }
.contact-card input, .contact-card select, .contact-card textarea { padding: 11px; color: var(--text); border: 1px solid var(--border-strong); border-radius: 6px; outline: none; background: var(--panel); font: inherit; font-size: 13px; }
.contact-card textarea { min-height: 120px; resize: vertical; }
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 15%, transparent); }
.contact-card .button { grid-column: 1 / -1; }
.contact-aside h1 { margin: 0 0 14px; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -2px; line-height: 1.06; }
.contact-aside h1 em { color: var(--green); font-style: normal; }
.contact-aside p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-points { display: grid; gap: 11px; margin-top: 22px; }
.contact-points span { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.contact-points svg { color: var(--green); flex: none; }
.form-note { grid-column: 1 / -1; font-size: 11px; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #ff7b6b; }
@media (max-width: 900px) { .solution-grid, .tech-stack, .contact-wrap { grid-template-columns: 1fr; } }

/* 30-module catalog */
.tone-crimson { color: #ff5d5d; }
.module-tag { color: var(--text); font-weight: 650; }
.module-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .module-grid { grid-template-columns: 1fr; } }

/* Eight-card architecture strip */
.architecture-grid { grid-template-columns: repeat(8, 1fr); }
.architecture-grid article { padding: 5px 8px; }
@media (max-width: 1180px) { .architecture-grid { grid-template-columns: repeat(4, 1fr); row-gap: 8px; } .architecture-grid article:nth-child(4n) { border-right: 0; } }
@media (max-width: 820px) { .architecture-grid { grid-template-columns: repeat(2, 1fr); } }

/* CTA band */
.cta-band {
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: stretch; overflow: hidden;
  margin-bottom: 26px; border: 1px solid var(--border-strong); border-radius: 12px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--green-deep) 14%, var(--panel)), var(--panel) 60%);
}
.cta-copy { padding: 30px 34px; }
.cta-copy h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.6px; }
.cta-copy p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-art { width: 100%; height: 100%; min-height: 170px; object-fit: cover; mask-image: linear-gradient(to right, transparent 0, #000 22%); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-art { display: none; } }
.trusted > div { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 820px) { .trusted > div { grid-template-columns: repeat(6, minmax(150px,1fr)); } }

/* AGRY OS in Action — visual upgrade */
.command-panel {
  background:
    radial-gradient(circle at 85% 0%, rgba(43,156,255,.07), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(114,223,63,.05), transparent 40%),
    repeating-linear-gradient(0deg, rgba(117,162,195,.03) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(117,162,195,.03) 0 1px, transparent 1px 26px),
    color-mix(in srgb, var(--bg-soft) 88%, transparent);
  box-shadow: inset 0 0 40px rgba(33,120,164,.08), 0 14px 44px rgba(0,0,0,.28);
}
.action-copy li i { color: currentColor; border-color: color-mix(in srgb, currentColor 32%, transparent); background: color-mix(in srgb, currentColor 9%, transparent); }
.action-copy li b, .action-copy li small { color: var(--text); }
.action-copy li small { color: var(--muted); }

.block-map span { position: relative; transition: transform .16s ease-out, box-shadow .16s ease-out; cursor: default; }
.block-map span:hover { transform: scale(1.08); }
.block-map .b-ok { color: #d9ffd2; border-color: rgba(114,223,63,.35); background: rgba(86,210,68,.10); }
.block-map .b-warn { color: #ffe8b8; border-color: rgba(255,182,20,.45); background: rgba(255,182,20,.12); box-shadow: 0 0 9px rgba(255,182,20,.15); }
.block-map .b-crit { color: #ffd2cc; border-color: rgba(255,93,93,.5); background: rgba(255,93,93,.13); box-shadow: 0 0 9px rgba(255,93,93,.2); }
.block-map span.selected { color: #fff; border-color: var(--green); background: rgba(86,210,68,.28); box-shadow: 0 0 14px rgba(86,210,68,.35); font-weight: 700; }
.map-legend { display: flex; gap: 12px; margin-top: 11px; color: var(--muted); font-size: 8.5px; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i { width: 8px; height: 8px; border-radius: 2.5px; }
.lg-ok { background: rgba(86,210,68,.55); } .lg-warn { background: rgba(255,182,20,.75); } .lg-crit { background: rgba(255,93,93,.75); }

.flow-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.flow-stats span { display: block; color: var(--muted); font-size: 8px; letter-spacing: .06em; }
.flow-stats strong { display: block; margin-top: 3px; font-size: 21px; line-height: 1; }
.flow-stats strong small { font-size: 9px; }
.flow-stats em { font-size: 8.5px; font-style: normal; }
.flow-stats .up { color: var(--green); } .flow-stats .down { color: var(--blue); }
.area-chart { width: 100%; height: 96px; display: block; }
.chart-grid line { stroke: rgba(117,162,195,.13); stroke-width: 1; }
.line-flow { stroke: var(--green); stroke-width: 2.2; filter: drop-shadow(0 2px 6px rgba(114,223,63,.45)); }
.line-energy { stroke: var(--blue); stroke-width: 1.6; opacity: .8; }
.dot-flow { fill: var(--green); filter: drop-shadow(0 0 6px var(--green)); }
.chart-axis { display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); font-size: 7.5px; }

.alert-stack p { grid-template-columns: 24px 1fr; align-items: start; padding: 8px; border-radius: 6px; background: color-mix(in srgb, var(--panel-2) 55%, transparent); }
.alert-stack p i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px; }
.alert-stack p i svg { width: 12px; }
.alert-stack .al-warn { color: var(--amber); background: rgba(255,182,20,.13); }
.alert-stack .al-crit { color: #ff6b6b; background: rgba(255,93,93,.13); }
.alert-stack .al-ok { color: var(--green); background: rgba(86,210,68,.13); }
.alert-stack p b { display: block; font-size: 9.5px; }
.alert-stack p small { color: var(--muted); font-size: 8px; }
.panel-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--green); font-size: 9px; font-weight: 700; text-decoration: none; }
.panel-link:hover { text-decoration: underline; }

.telemetry-table .standby { color: var(--amber); }
.telemetry-table .idle { color: var(--muted); }
.telemetry-table [role="row"]:not(:first-child):hover { background: color-mix(in srgb, var(--panel-2) 55%, transparent); }
@media (prefers-reduced-motion: reduce) { .block-map span { transition: none; } .block-map span:hover { transform: none; } }

/* Inner-page hero backgrounds */
.page-bg { position: absolute; inset: 0 0 auto 0; height: 620px; overflow: hidden; pointer-events: none; }
.page-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .5; filter: saturate(1.05); }
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0, color-mix(in srgb, var(--bg) 30%, transparent) 34%, var(--bg) 96%),
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 55%, transparent), transparent 30%, transparent 70%, color-mix(in srgb, var(--bg) 55%, transparent));
}
.theme-light .page-bg img { opacity: .4; }
.page-bg .bg-light { display: none; }
.theme-light .page-bg .bg-dark { display: none; }
.theme-light .page-bg .bg-light { display: block; }
.page-hero, .modules-hero, .contact-wrap, .page-section, .module-detail-grid { position: relative; z-index: 1; }
.nav-shell { z-index: 50; }

/* Hero deck — full-bleed slides with per-slide copy (no CTAs) */
.hero-deck { position: relative; height: min(660px, 82vh); min-height: 480px; overflow: hidden; isolation: isolate; }
.hero-deck .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease-out; }
.hero-deck .hero-slide.is-active { opacity: 1; }
.deck-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.deck-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2,7,12,.93) 0, rgba(2,7,12,.72) 32%, rgba(2,7,12,.18) 58%, rgba(2,7,12,.05) 100%),
    linear-gradient(180deg, rgba(2,7,12,.5) 0, transparent 22%, transparent 70%, rgba(2,7,12,.65) 100%);
}
.deck-copy {
  position: relative; z-index: 2; height: 100%;
  width: min(1420px, calc(100% - 64px)); margin-inline: auto;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  max-width: none;
}
.deck-copy > * { max-width: 560px; }
.deck-kicker { color: #8bec5a; font-size: 12px; font-weight: 750; letter-spacing: .28em; }
.deck-head { margin: 14px 0 0; color: #fff; font-size: clamp(38px, 3.9vw, 62px); line-height: 1.06; letter-spacing: -2.2px; font-weight: 700; }
.deck-head em { color: #72df3f; font-style: normal; }
.deck-copy p { margin: 18px 0 0; color: rgba(233,242,248,.82); font-size: 16px; line-height: 1.65; }
.deck-chips { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.deck-chips span { display: grid; grid-template-columns: auto; justify-items: center; gap: 8px; color: rgba(233,242,248,.88); font-size: 11px; text-align: center; max-width: 96px; }
.deck-chips i {
  width: 46px; height: 46px; display: grid; place-items: center;
  color: #8bec5a; border: 1.5px solid rgba(114,223,63,.5); border-radius: 50%;
  background: rgba(3,15,10,.55); box-shadow: 0 0 16px rgba(114,223,63,.18);
}
.hero-deck .slide-dots { position: absolute; z-index: 3; inset-block-end: 18px; inset-inline-start: 50%; transform: translateX(-50%); flex-direction: row; inset-block-start: auto; inset-inline-end: auto; }
.theme-light .hero-deck { background: #04101a; }
@media (max-width: 820px) {
  .hero-deck { height: auto; min-height: 0; }
  .hero-deck .hero-slide { position: relative; inset: auto; display: none; }
  .hero-deck .hero-slide.is-active { display: block; }
  .deck-copy { width: calc(100% - 40px); padding-block: 64px 84px; }
  .deck-head { font-size: clamp(32px, 8vw, 44px); }
  .deck-chips { gap: 16px; }
  .deck-shade { background: linear-gradient(180deg, rgba(2,7,12,.9), rgba(2,7,12,.72) 55%, rgba(2,7,12,.85)); }
}
@media (prefers-reduced-motion: reduce) { .hero-deck .hero-slide { transition: none; } }

/* Prominent, clickable slider dots */
.hero-deck .slide-dots { gap: 10px; padding: 8px 14px; background: rgba(2,10,16,.55); border: 1px solid rgba(117,162,195,.3); border-radius: 999px; backdrop-filter: blur(8px); }
.hero-deck .slide-dots button { width: 12px; height: 12px; position: relative; border-color: rgba(233,242,248,.5); background: rgba(233,242,248,.22); transition: transform .15s ease-out, background .15s ease-out; }
.hero-deck .slide-dots button::after { content: ""; position: absolute; inset: -8px; }
.hero-deck .slide-dots button:hover { transform: scale(1.25); background: rgba(233,242,248,.55); }
.hero-deck .slide-dots button[aria-selected="true"] { width: 26px; border-radius: 999px; }

/* Mobile: modules in two columns, compact cards; tighter architecture rows */
@media (max-width: 580px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .module-card { min-height: 58px; grid-template-columns: 26px 1fr; gap: 8px; padding: 9px 10px; }
  .module-card > svg { width: 20px; height: 20px; }
  .module-card h3 { font-size: 10px; margin-bottom: 2px; }
  .module-card p { font-size: 8px; line-height: 1.35; }

  .module-detail-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .module-detail-card { padding: 13px; min-height: 0; }
  .module-detail-card .icon-orb { width: 36px; height: 36px; }
  .module-detail-card .icon-orb svg { width: 18px; height: 18px; }
  .module-number { font-size: 8.5px; }
  .module-detail-card h2 { margin: 12px 0 6px; font-size: 13.5px; }
  .module-detail-card > p { min-height: 0; font-size: 9.5px; line-height: 1.5; }
  .module-detail-card ul { gap: 5px; margin-top: 11px; padding-top: 10px; }
  .module-detail-card li { font-size: 8.5px; }

  .architecture-grid { grid-template-columns: repeat(2, 1fr); gap: 2px 10px; }
  .architecture-grid article { min-height: 44px; padding: 4px 2px; justify-content: flex-start; border-right: 0; }
  .architecture-grid svg { width: 19px; flex: none; }
  .architecture-section { padding: 15px 14px 11px; }
  .security-line { gap: 10px 14px; flex-wrap: wrap; }
  .security-line span:nth-child(n+4) { display: flex; }

  .modules-summary { padding: 12px 14px; gap: 8px 12px; }
  .modules-summary strong { font-size: 18px; }
}

/* Deck theme-swap backgrounds (original OS render slide) */
.hero-deck .bg-light { display: none; }
.theme-light .hero-deck .bg-dark { display: none; }
.theme-light .hero-deck .bg-light { display: block; }

/* Classic hero as deck slide one */
.hero-slide-classic { background: linear-gradient(180deg, #02070c, #050b12 55%, #06111b); }
.hero-deck .hero-slide-classic .hero { min-height: 0; height: 100%; padding-block: 26px 56px; }
.hero-deck .hero-slide-classic .hero-visual { height: auto; align-self: stretch; }
@media (max-width: 820px) {
  .hero-deck .hero-slide-classic .hero { height: auto; padding-block: 24px 70px; }
  .hero-deck .hero-slide-classic .hero-visual { height: 420px; }
}

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-card { display: grid; grid-template-rows: 240px 1fr; overflow: hidden; border: 1px solid color-mix(in srgb, currentColor 26%, var(--border)); border-radius: 12px; background: var(--panel); }
.product-grid .product-card:first-child { grid-column: 1 / -1; grid-template-rows: 300px 1fr; }
.product-media { display: block; overflow: hidden; background: #0a1420; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media.light-media { background: #f4f7f9; }
.product-media.light-media img { object-fit: contain; padding: 12px; }
.product-body { padding: 18px 20px 20px; }
.product-top { display: flex; align-items: center; gap: 12px; }
.product-top .icon-orb { width: 40px; height: 40px; margin: 0; }
.product-card h2, .product-hero h1 { margin: 0; color: var(--text); font-size: 20px; }
.product-tag { margin: 10px 0 6px; color: currentColor; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.product-intro { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.product-link { margin-top: 14px; }

.product-detail { padding-block: 34px 50px; position: relative; z-index: 1; }
.product-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: start; }
.product-hero h1 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -1.4px; margin: 14px 0 12px; }
.product-tagline { color: currentColor; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.product-copy .product-intro { font-size: 14px; max-width: 60ch; }
.product-features { list-style: none; display: grid; gap: 9px; margin: 20px 0 26px; padding: 0; }
.product-features li { display: flex; gap: 9px; align-items: flex-start; color: var(--text); font-size: 12.5px; line-height: 1.5; }
.product-features svg { color: var(--green); flex: none; margin-top: 2px; }
.product-visual { display: grid; gap: 12px; }
.product-visual .product-media { border-radius: 12px; border: 1px solid var(--border-strong); max-height: 340px; }
.spec-card { padding: 18px 20px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--panel-2); }
.spec-card h3 { margin: 0 0 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row b { color: var(--text); text-align: end; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } .product-hero { grid-template-columns: 1fr; } .product-grid .product-card:first-child { grid-template-rows: 240px 1fr; } }
@media (max-width: 1180px) { .nav-links { gap: 12px; } }

/* Solutions cards share the product-card layout; ideal-for rows left-checked */
.solution-grid-cards .product-card:first-child { grid-column: auto; grid-template-rows: 240px 1fr; }
.spec-card .spec-row svg { color: var(--green); }

/* Theme-aware deck: light art gets light shade and dark text */
.theme-light .hero-slide-classic { background: linear-gradient(180deg, #ffffff, #f8fbfa 58%, #f1f7f4); }
.theme-light .deck-shade {
  background:
    linear-gradient(90deg, rgba(250,253,252,.94) 0, rgba(250,253,252,.74) 32%, rgba(250,253,252,.16) 58%, rgba(250,253,252,.05) 100%),
    linear-gradient(180deg, rgba(250,253,252,.5) 0, transparent 22%, transparent 70%, rgba(250,253,252,.6) 100%);
}
.theme-light .deck-kicker { color: #18883e; }
.theme-light .deck-head { color: #08172f; }
.theme-light .deck-head em { color: #2aae50; }
.theme-light .deck-copy p { color: #43536a; }
.theme-light .deck-chips span { color: #34455c; }
.theme-light .deck-chips i { color: #18883e; border-color: rgba(42,174,80,.45); background: rgba(255,255,255,.65); box-shadow: 0 0 14px rgba(42,174,80,.14); }
.theme-light .hero-deck .slide-dots { background: rgba(255,255,255,.7); border-color: rgba(38,89,111,.25); }
.theme-light .hero-deck .slide-dots button { border-color: rgba(8,23,47,.35); background: rgba(8,23,47,.15); }
.theme-light .hero-deck .slide-dots button[aria-selected="true"] { background: #2aae50; border-color: #2aae50; box-shadow: 0 0 8px rgba(42,174,80,.6); }

/* Crisp deck art: shade only where the text sits, nothing over the panels */
.deck-shade {
  background: linear-gradient(90deg, rgba(2,7,12,.88) 0, rgba(2,7,12,.5) 24%, rgba(2,7,12,.1) 44%, transparent 58%);
}
.theme-light .deck-shade {
  background: linear-gradient(90deg, rgba(250,253,252,.95) 0, rgba(250,253,252,.62) 24%, rgba(250,253,252,.1) 44%, transparent 58%);
}
@media (max-width: 820px) {
  .deck-shade { background: linear-gradient(180deg, rgba(2,7,12,.86), rgba(2,7,12,.66) 55%, rgba(2,7,12,.8)); }
  .theme-light .deck-shade { background: linear-gradient(180deg, rgba(250,253,252,.92), rgba(250,253,252,.72) 55%, rgba(250,253,252,.88)); }
}

/* No nav separator; art fully clear past the text zone */
.nav-shell { border-bottom: 0; }
.deck-shade { background: linear-gradient(90deg, rgba(2,7,12,.85) 0, rgba(2,7,12,.42) 22%, rgba(2,7,12,.06) 38%, transparent 46%); }
.theme-light .deck-shade { background: linear-gradient(90deg, rgba(250,253,252,.93) 0, rgba(250,253,252,.5) 22%, rgba(250,253,252,.06) 38%, transparent 46%); }
.deck-bg { image-rendering: auto; }

/* Deck copy: anchored to the page edge, never crossing into the art panels */
.hero-deck .deck-copy {
  width: auto;
  margin: 0;
  max-width: none;
  padding-inline-start: max(32px, calc((100vw - 1420px) / 2));
  padding-inline-end: 58vw;
}
.hero-deck .deck-copy > * { max-width: 560px; }
@media (max-width: 820px) {
  .hero-deck .deck-copy { padding-inline: 20px; }
  .hero-deck .deck-copy > * { max-width: 100%; }
  .deck-head { font-size: clamp(30px, 7.6vw, 42px); letter-spacing: -1.4px; }
  .deck-copy p { font-size: 14px; }
  .deck-chips { gap: 14px; }
  .deck-chips span { max-width: 84px; font-size: 10px; }
  .deck-chips i { width: 40px; height: 40px; }
  .hero-deck .slide-dots { inset-block-end: 12px; }
}

/* Mobile deck: text sits over the full art, so it needs a real backing */
@media (max-width: 820px) {
  .deck-shade { background: linear-gradient(180deg, rgba(2,7,12,.9), rgba(2,7,12,.74) 55%, rgba(2,7,12,.86)) !important; }
  .theme-light .deck-shade { background: linear-gradient(180deg, rgba(250,253,252,.94), rgba(250,253,252,.78) 55%, rgba(250,253,252,.9)) !important; }
}

/* Brand-blue nav, green on hover/active (from the logo palette) */
.nav-links a { color: #2e8fe0; opacity: 1; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--green); opacity: 1; }
.theme-light .nav-links a { color: #046bbd; }
.theme-light .nav-links a:hover, .theme-light .nav-links a.active { color: var(--green); }

/* ---- Dropdown submenus ---- */
.nav-item.has-sub { position: relative; display: flex; align-items: center; }
.nav-item.has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { transition: transform .16s ease-out; }
.nav-item.has-sub:hover .nav-caret { transform: rotate(180deg); }
.sub-toggle { display: none; }
.nav-sub {
  position: absolute; z-index: 60; inset-block-start: 100%; inset-inline-start: -14px;
  min-inline-size: 232px; padding: 8px; margin-block-start: 10px;
  display: grid; gap: 1px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: color-mix(in srgb, var(--panel-2) 97%, transparent);
  box-shadow: 0 22px 48px rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease-out, transform .16s ease-out, visibility .16s;
}
/* Hover bridge so the pointer can travel from the label into the panel */
.nav-item.has-sub::after { content: ""; position: absolute; inset-block-start: 100%; inset-inline: -14px; block-size: 14px; }
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a { display: block; padding: 8px 11px; border-radius: 6px; font-size: 12px; font-weight: 550; color: var(--text); opacity: .9; }
.nav-sub a:hover { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); opacity: 1; }
.sub-overview { color: #2e8fe0 !important; font-weight: 700 !important; border-bottom: 1px solid var(--border); border-radius: 6px 6px 0 0 !important; margin-bottom: 4px; }
.theme-light .sub-overview { color: #046bbd !important; }
.sub-overview:hover { color: var(--green) !important; }
@media (prefers-reduced-motion: reduce) { .nav-sub { transition: none; } .nav-caret { transition: none; } }

/* ---- Hero headline in brand blue (green emphasis kept) ---- */
.hero-deck .hero-copy h1, .deck-head { color: #2e8fe0; }
.hero-deck .hero-copy h1 span, .deck-head em { color: var(--green); }
.theme-light .hero-deck .hero-copy h1, .theme-light .deck-head { color: #046bbd; }
.theme-light .hero-deck .hero-copy h1 span, .theme-light .deck-head em { color: #2aae50; }

/* ---- Mobile nav: accordion submenus ---- */
@media (max-width: 760px) {
  .nav-item.has-sub { display: block; position: static; }
  .nav-item.has-sub > a { justify-content: space-between; padding: 12px; font-size: 12px; }
  .nav-caret { display: none; }
  .sub-toggle {
    display: grid; place-items: center; position: absolute; inset-inline-end: 14px;
    width: 34px; height: 34px; margin-block-start: -42px;
    border: 1px solid var(--border-strong); border-radius: 7px;
    background: var(--panel); color: var(--text); cursor: pointer;
  }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    margin: 0 0 6px; box-shadow: none; backdrop-filter: none;
    background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
    display: none;
  }
  .nav-item.has-sub.open .nav-sub { display: grid; }
  .nav-item.has-sub:hover .nav-sub { display: none; }
  .nav-item.has-sub.open:hover .nav-sub { display: grid; }
}

/* Sitemap index page */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sitemap-col h2 { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.sitemap-col a { display: block; padding: 6px 0; color: var(--muted); font-size: 12.5px; text-decoration: none; }
.sitemap-col a:hover { color: var(--green); }
@media (max-width: 900px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* Submenu opens on hover (CSS) or via the .open class (JS/keyboard/touch) */
.nav-item.has-sub.open > .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.has-sub.open .nav-caret { transform: rotate(180deg); }

/* ---- Submenu links in brand blue ---- */
.nav-sub a { color: #2e8fe0; font-weight: 600; opacity: 1; }
.theme-light .nav-sub a { color: #046bbd; }
.nav-sub a:hover, .theme-light .nav-sub a:hover { color: var(--green); }

/* ---- Shared: stat strip ---- */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--border);
}
.stat-strip > div { padding: 20px 22px; background: var(--panel); }
.stat-strip b { display: block; font-size: 30px; line-height: 1; color: var(--green); letter-spacing: -1px; }
.stat-strip span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }

/* ---- Products: editorial rows ---- */
.product-rows { display: grid; gap: 16px; }
.product-row {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 0;
  border: 1px solid color-mix(in srgb, currentColor 24%, var(--border));
  border-radius: 14px; overflow: hidden; background: var(--panel);
}
.product-row.reversed .product-row-media { order: 2; }
.product-row-media { position: relative; display: block; min-block-size: 300px; background: #0a1420; overflow: hidden; }
.product-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.product-row:hover .product-row-media img { transform: scale(1.03); }
.product-row-media.light-media { background: #f4f7f9; }
.product-row-media.light-media img { object-fit: contain; padding: 22px; }
.row-index {
  position: absolute; inset-block-start: 14px; inset-inline-start: 16px;
  padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
  color: #fff; background: rgba(4,12,20,.66); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
}
.product-row-copy { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.product-row-copy h2 { margin: 12px 0 10px; font-size: 25px; letter-spacing: -.7px; color: var(--text); }
.product-row-copy .product-intro { font-size: 13px; max-width: 58ch; }
.product-row-copy .product-features { margin: 16px 0 0; gap: 8px; }
.product-row-copy .product-features li { font-size: 12px; }
.row-specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.row-specs span {
  display: grid; gap: 2px; padding: 9px 13px; border-radius: 8px;
  border: 1px solid var(--border); background: color-mix(in srgb, var(--panel-2) 70%, transparent);
  color: var(--muted); font-size: 9.5px;
}
.row-specs b { color: var(--text); font-size: 12.5px; }
.product-row .product-link { margin-top: 18px; }

/* ---- Products: closed loop ---- */
.loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.loop-card { position: relative; padding: 22px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.loop-card .icon-orb { width: 44px; height: 44px; margin: 0 0 14px; color: var(--green); }
.loop-step { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; color: color-mix(in srgb, var(--green) 55%, var(--muted)); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.loop-card h3 { margin: 0 0 7px; font-size: 16px; color: var(--text); }
.loop-card p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

/* ---- Impact ---- */
.outcome-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.outcome-tile {
  display: flex; flex-direction: column; padding: 22px 20px 14px;
  border: 1px solid color-mix(in srgb, currentColor 30%, var(--border));
  border-radius: 12px; background: linear-gradient(160deg, color-mix(in srgb, currentColor 7%, var(--panel)), var(--panel));
}
.outcome-label { color: currentColor; font-size: 10.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.outcome-tile strong { display: block; margin: 8px 0 10px; font-size: 42px; line-height: 1; letter-spacing: -2px; color: currentColor; }
.outcome-tile p { flex: 1; margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.62; }
.outcome-tile .trend { width: 100%; height: 40px; margin-top: 12px; }

.driver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.driver-card { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.driver-card .icon-orb { width: 46px; height: 46px; margin: 0; }
.driver-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--text); }
.driver-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.68; }

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.method-card { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(160deg, color-mix(in srgb, var(--green) 6%, var(--panel)), var(--panel)); }
.method-step { display: block; margin-bottom: 12px; color: var(--green); font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.method-card h3 { margin: 0 0 9px; font-size: 17px; color: var(--text); }
.method-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.68; }

.honesty-panel {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 26px;
  padding: 28px 30px; margin-bottom: 16px;
  border: 1px solid var(--border-strong); border-radius: 14px;
  background: color-mix(in srgb, var(--bg-soft) 82%, transparent);
}
.honesty-panel h2 { margin: 10px 0 10px; font-size: 24px; letter-spacing: -.7px; }
.honesty-panel > div > p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.honesty-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.honesty-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text); font-size: 12.5px; line-height: 1.62; }
.honesty-list svg { color: #ff7b6b; margin-top: 3px; }

.impact-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 30px; border: 1px solid var(--border-strong); border-radius: 14px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--green-deep) 16%, var(--panel)), var(--panel) 62%);
}
.impact-cta h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.6px; }
.impact-cta p { margin: 0; color: var(--muted); font-size: 12.5px; }

@media (max-width: 1180px) {
  .outcome-rail { grid-template-columns: repeat(3, 1fr); }
  .loop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .product-row { grid-template-columns: 1fr; }
  .product-row.reversed .product-row-media { order: 0; }
  .product-row-media { min-block-size: 220px; }
  .product-row-copy { padding: 22px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .driver-grid, .method-grid, .honesty-panel { grid-template-columns: 1fr; }
  .outcome-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .outcome-rail, .loop-grid { grid-template-columns: 1fr; }
  .outcome-tile strong { font-size: 34px; }
  .product-row-copy h2 { font-size: 21px; }
  .impact-cta { flex-direction: column; align-items: flex-start; }
}

/* ---- Cut-out product shots: transparent, no white card ---- */
.product-media.cutout-media,
.product-row-media.cutout-media,
.product-visual .product-media.cutout-media {
  background:
    radial-gradient(ellipse at 50% 58%, color-mix(in srgb, var(--green) 9%, transparent), transparent 62%),
    color-mix(in srgb, var(--panel-2) 55%, transparent);
}
.cutout-media img {
  object-fit: contain;
  padding: 26px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5));
}
.theme-light .product-media.cutout-media,
.theme-light .product-row-media.cutout-media,
.theme-light .product-visual .product-media.cutout-media {
  background:
    radial-gradient(ellipse at 50% 58%, color-mix(in srgb, var(--green) 10%, transparent), transparent 62%),
    color-mix(in srgb, var(--panel) 70%, transparent);
}
.theme-light .cutout-media img { filter: drop-shadow(0 14px 26px rgba(20, 40, 60, .22)); }
.product-row-media.cutout-media img { padding: 30px; }
