/*
  RealmHelm site styles.
  Components, in the order they appear here:
    base, header, buttons
    section        .band (default white), .band.soft, .band.night
    intros         .hero (home), .intro (inner pages), .intro.reference (compact, light)
    figures        .fig (from [[fig:...]] in build.mjs),     layouts        .feature (text beside a figure), .pair, .split (heading beside text)
    lists          .also (secondary facts, no boxes), .rows (name beside description), .plain, .toc (section index)
    details        details.detail (reference facts that start closed)
    steps          [data-steps] with role=tablist (one workflow, several views)
    cards          .options > .option (comparisons only)
    reference      .table-scroll, table, table.matrix, table.compare.stack (stacked pairs on phones), .note
    cta, footer
*/
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/IBMPlexSans-Medium-Latin1.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2"); }

:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #5b6878;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-soft: #f3f5f8;
  --night: #0a1424;
  --night-2: #0d1830;
  --night-line: rgba(148, 178, 255, .2);
  --on-night: #c9d6ee;
  --blue: #0f62fe;
  --blue-dark: #0043ce;
  --sky: #8ab4ff;
  --green: #42be65;
  --radius: 10px;
  --wrap: 1280px;
  --gap: 96px;
  --shadow: 0 1px 2px rgba(6, 11, 26, .06), 0 18px 48px rgba(6, 11, 26, .14);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --header: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); letter-spacing: -.03em; line-height: 1.07; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 40; }
.measure { max-width: 46em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 32px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--blue-dark); }
#site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
#site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
#site-nav a:not(.btn):hover, #site-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }
.menu-btn[hidden] { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-small { min-height: 42px; padding: 9px 16px; font-size: .95rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2b74ff; color: #fff; }
.btn-ghost { border-color: rgba(148, 178, 255, .55); color: #fff; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue-dark); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " \2192"; }

/* Sections */
.band { padding: var(--gap) 0; }
.band.soft { background: var(--bg-soft); }
.band.night { background: var(--night); color: #fff; }
.band.night p, .band.night li, .band.night dd { color: var(--on-night); }
.band.night a:not(.btn) { color: var(--sky); }
.band + .band:not(.soft):not(.night) { border-top: 1px solid var(--line); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 14px; }
.night .eyebrow, .hero .eyebrow { color: var(--sky); }
.intro.reference .eyebrow { color: var(--blue-dark); }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.night .lede { color: var(--on-night); }
.head { max-width: 800px; margin-bottom: 40px; }

/* Home hero */
.hero { padding: 76px 0 0; background: radial-gradient(ellipse at 85% 0, #17365e 0, transparent 60%), var(--night); color: #fff; }
.hero h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -.045em; }
.hero .lede { color: var(--on-night); margin-top: 20px; }
.hero figcaption { color: #9fb2d3; }
.hero .fig .shot { border-color: rgba(148, 178, 255, .35); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }

/* Inner page intros */
.intro { padding: 56px 0 52px; background: var(--bg-soft); color: var(--ink); border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); max-width: 20em; }
.intro .lede { color: var(--ink-2); max-width: 48em; }
.intro.reference { background: var(--bg-soft); color: var(--ink); padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.intro.reference h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.intro.reference .lede { color: var(--ink-2); font-size: 1.1rem; }

/* Section index */
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); background: #fff; text-decoration: none; font-size: .93rem; font-weight: 500; }
.toc a:hover { border-color: var(--blue); color: var(--blue-dark); }
.intro.reference .toc a { border-color: var(--line); background: #fff; color: var(--ink-2); }
.intro.reference .toc a:hover { border-color: var(--blue); color: var(--blue-dark); }

/* Figures */
figure { margin: 0; }
.fig .shot { display: block; position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.fig img { width: 100%; }
figcaption { font-size: .88rem; line-height: 1.5; color: var(--muted); margin-top: 10px; max-width: 60em; }
.night figcaption { color: #9fb2d3; }
.night .fig .shot { border-color: var(--night-line); box-shadow: 0 24px 64px rgba(0, 0, 0, .5); }

/* Layouts */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.feature + .feature, .feature + .also, .also + .feature { margin-top: 56px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: baseline; }
.split h2 { margin: 0; }
.wrap > h2 + .options, .wrap > h2 + .table-scroll, .wrap > h2 + .also, .wrap > h2 + .pair { margin-top: 28px; }
.after { margin-top: 24px; }

/* Lists */
.plain { padding-left: 1.2em; }
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 40px 0 0; padding: 0; }
.also.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.also > div { padding: 18px 0; border-top: 1px solid var(--line); }
.also dt { font-weight: 600; margin-bottom: 4px; }
.also dd { margin: 0; color: var(--ink-2); font-size: .98rem; }
.night .also > div { border-top-color: var(--night-line); }
.night .also dt { color: #fff; }
.rows { margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 40px; padding: 22px 0; border-top: 1px solid var(--line); }
.rows dt { font-weight: 600; font-size: 1.1rem; }
.rows dd { margin: 0; color: var(--ink-2); max-width: 46em; }
details.detail { margin-top: 32px; border-top: 1px solid var(--line); }
details.detail summary { cursor: pointer; min-height: 48px; padding: 16px 0; font-weight: 600; color: var(--blue-dark); }
details.detail summary:hover { color: var(--blue); }
details.detail .also { margin-top: 12px; }

/* Step views */
.steps-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.steps-tabs li { margin: 0; }
.steps-tabs button { font: inherit; font-weight: 600; font-size: .98rem; min-height: 48px; padding: 10px 18px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.steps-tabs button span { color: var(--muted); font-weight: 500; margin-right: 6px; }
.steps-tabs button:hover { border-color: var(--blue); color: var(--blue-dark); }
.steps-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps-tabs button[aria-selected="true"] span { color: #d6e4ff; }
[data-steps]:not(.steps-ready) .steps-tabs { display: none; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.step[hidden] { display: none; }
.step + .step { margin-top: 48px; }
.steps-ready .step + .step { margin-top: 0; }
.step h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.night .steps-tabs button { background: transparent; border-color: var(--night-line); color: var(--on-night); }
.night .steps-tabs button:hover { border-color: #fff; color: #fff; }
.night .steps-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.night .step h3 { color: #fff; }

/* Cards: comparisons and service groupings only */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.option { padding: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.option h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.option .actions { margin-top: auto; padding-top: 20px; }
.option p:last-child { margin-bottom: 0; }

/* Vendor strip */
.vendors { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 26px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .98rem; }
.vendors-label { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vendors ul { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; padding: 0; margin: 0; font-weight: 600; color: #475569; }
.vendors li { margin: 0; }

/* Reference: tables and notes */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-scroll:focus-visible { outline-offset: 0; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
tr:last-child > * { border-bottom: 0; }
thead th { font-weight: 600; background: var(--night); color: #fff; }
tbody th { font-weight: 600; }
table.compare { min-width: 720px; table-layout: fixed; }
table.compare th:first-child { width: 26%; }
table.matrix { min-width: 860px; }
table.matrix th:first-child { min-width: 220px; }
table.matrix td { white-space: nowrap; }
table.matrix thead th { white-space: nowrap; }
.yes::before { content: "\2713"; color: #198038; font-weight: 600; margin-right: 6px; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: 10px; }
/* A wide table shows a shadow at its right edge while more columns are out of view. */
.table-scroll.more-right {
  background:
    linear-gradient(to left, #fff 40%, rgba(255, 255, 255, 0)) right / 48px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, rgba(6, 11, 26, .22), rgba(6, 11, 26, 0)) right / 16px 100% no-repeat scroll,
    #fff;
}
.scroll-hint { display: none; font-weight: 500; }
@media (max-width: 940px) { .scroll-hint { display: block; margin: 0 0 8px; } }
.note { margin-top: 32px; padding: 24px 28px; background: rgba(15, 98, 254, .07); border: 1px solid rgba(15, 98, 254, .25); border-radius: var(--radius); max-width: 820px; }
.note h3 { margin-bottom: 6px; }

/* Contact */
.contact-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.address { font-family: var(--mono); font-size: 1rem; margin-top: 12px; }

/* Call to action */
.cta { text-align: center; }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }
.cta .actions:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--night); border-top: 1px solid var(--night-line); padding: 48px 0; font-size: .95rem; color: #9fb2d3; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 20px 48px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: start; }
.foot a { color: var(--on-night); text-decoration: none; }
.foot .brand { color: #fff; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 12px 0 0; }
.foot .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot .footer-links p { margin: 0 0 6px; color: #fff; font-weight: 600; }
.legal { grid-column: 1 / -1; }

/* Homepage narrative and task-specific layouts */
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 48px; }
.hero-copy h1 { margin-bottom: 0; text-wrap: initial; }
.hero-summary .lede { margin-top: 0; font-size: 1.12rem; }
.hero-summary .actions { gap: 12px; margin-top: 24px; }
.hero-summary .btn { padding: 13px 18px; }
.product-window { border: 1px solid #3a4c65; border-radius: 10px 10px 0 0; padding: 0; background: #162339; box-shadow: 0 24px 70px #030a1455; overflow: hidden; }
.window-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 20px; color: #d4deec; font-size: .8rem; letter-spacing: .03em; }
.window-label > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8ab4ff; }
.product-window .fig .shot { border: 0; border-radius: 0; box-shadow: none; }
.product-window .fig img { aspect-ratio: 2.65; object-fit: cover; object-position: top; }
.hero-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--night-line); margin-top: 32px; }
.hero-index a { display: flex; align-items: center; gap: 12px; padding: 24px 16px; color: #e1e9f6; text-decoration: none; font-size: .92rem; border-right: 1px solid var(--night-line); }
.hero-index a:first-child { padding-left: 0; }
.hero-index a:last-child { border-right: 0; }
.hero-index a > span:first-child { font: .75rem var(--mono); color: #8da6c9; }
.hero-index a > span:last-child { margin-left: auto; color: var(--sky); }
.hero-index a:hover { background: #ffffff08; color: #fff; }
.section-heading { max-width: 850px; margin-bottom: 32px; }
.section-heading h2, .change-story h2, .cta h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; }
.section-heading .lede { max-width: 38em; }
.operations-feature { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.evidence-list { margin: 0; }
.evidence-list > div { border-top: 1px solid var(--line); padding: 16px 0; }
.evidence-list > div:first-child { padding-top: 0; border: 0; }
.evidence-list dt { font-weight: 600; margin-bottom: 4px; }
.evidence-list dd { margin: 0; color: var(--ink-2); font-size: 1rem; }
.change-story { background: #0a1424; }
.change-story .head { max-width: 820px; }
.change-story .step { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: 48px; margin-top: 32px; }
.change-story .step > div { padding-top: 12px; }
.step .fig img { aspect-ratio: 1.65; object-fit: contain; background: #f4f4f4; }
.step[role="tabpanel"]:focus-visible { outline-offset: 8px; }
.firmware-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; }
.stage-list { list-style: none; counter-reset: stage; padding: 0; margin: 0 0 24px; }
.stage-list li { counter-increment: stage; position: relative; padding: 0 0 24px 48px; margin: 0; }
.stage-list li::before { content: "0" counter(stage); position: absolute; left: 0; top: 0; font: .8rem/1.9 var(--mono); color: var(--blue-dark); }
.stage-list li:not(:last-child)::after { content: ""; position: absolute; top: 32px; bottom: 8px; left: 10px; border-left: 1px solid var(--line); }
.stage-list h3 { margin-bottom: 7px; }
.stage-list p { color: var(--ink-2); font-size: 1rem; }
.support-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); max-width: 70em; }
.ai-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; }
.ai-principles > div { padding: 20px 0; border-top: 1px solid #cdd6e3; }
.ai-principles > div:first-child { padding-top: 0; border-top: 0; }
.ai-principles p { color: var(--ink-2); font-size: 1rem; }
.mini-label { display: block; margin-bottom: 12px; color: var(--blue-dark); font: 500 .76rem/1.5 "IBM Plex Sans", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.service-note { display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 28px; }
.service-note p { max-width: 46em; color: var(--ink-2); font-size: 1rem; }
.service-note > a { flex-shrink: 0; }
.anchor-alias { display: block; scroll-margin-top: calc(var(--header) + 20px); }
.contact-ways .option { scroll-margin-top: calc(var(--header) + 24px); }
.contact-ways .option:target { border-color: var(--blue); box-shadow: 0 0 0 3px #0f62fe12; }
.contact-ways .plain { color: var(--ink-2); font-size: 1rem; }
.contact-ways .btn { align-self: flex-start; }
.email-note { font-size: .9rem; color: var(--muted); margin: 16px 0 0; }

@media (max-width: 1000px) {
  :root { --gap: 56px; --header: 60px; }
  body { font-size: 16.5px; }
  .menu-btn { display: block; }
  .js #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .js #site-nav.open { display: flex; }
  .js #site-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .js #site-nav .btn { margin-top: 16px; }
  html:not(.js) .bar { flex-wrap: wrap; padding: 10px 28px; }
  html:not(.js) #site-nav { flex-wrap: wrap; gap: 8px 20px; margin-left: 0; }
  .hero { padding: 44px 0 0; }
  .feature, .feature.flip, .step, .pair, .split, .options, .contact-ways, .foot { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip > :first-child { order: 0; }
  .also, .also.two { grid-template-columns: 1fr; }
  .hero-copy, .operations-feature, .change-story .step, .firmware-layout, .ai-feature { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 6.2vw, 3.8rem); }
  .hero-summary { max-width: 42em; }
  .hero-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-index a { border-bottom: 1px solid var(--night-line); padding: 18px 16px; }
  .hero-index a:nth-child(2n) { border-right: 0; }
  .hero-index a:nth-child(2n + 1) { padding-left: 0; }
  .service-note { align-items: flex-start; flex-direction: column; gap: 16px; }
  .split { gap: 12px; }
  .feature + .feature, .feature + .also, .also + .feature { margin-top: 40px; }
  .intro { padding: 40px 0; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .also { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options, .contact-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.option h2, .contact-ways h2 { font-size: 1.45rem; letter-spacing: -.02em; }
.diagram { margin: 0 0 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.diagram svg { width: 100%; height: auto; }
.diagram svg.tall { display: none; }
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero-copy { margin-bottom: 32px; }
  .hero-copy h1 { font-size: clamp(1.8rem, 6.6vw, 2.65rem); }
  .hero-summary .actions { align-items: stretch; }
  .hero-summary .btn { flex: 1 1 auto; }
  .hero-index a { gap: 8px; font-size: .82rem; padding: 16px 10px; }
  .hero-index a > span:last-child { display: none; }
  .window-label { padding: 12px; font-size: .73rem; }
  .product-window .fig img { aspect-ratio: auto; }
  .option { padding: 24px; }
  .steps-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-tabs li { display: flex; }
  .steps-tabs button { width: 100%; padding: 10px; font-size: .9rem; text-align: left; }
  .step .fig img { aspect-ratio: auto; }
  .address { font-size: .9rem; overflow-wrap: anywhere; }
  .diagram { padding: 0; border: 0; background: none; }
  .diagram svg.wide { display: none; }
  .diagram svg.tall { display: block; max-width: 420px; margin: 0 auto; }
  .rows > div { grid-template-columns: 1fr; }
  /* Two-option comparisons read as stacked pairs on phones. */
  .table-scroll:has(table.stack) { border: 0; background: none; overflow: visible; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: auto; }
  table.compare.stack { min-width: 0; }
  table.stack thead { display: none; }
  table.stack tr { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; padding: 4px 0; }
  table.stack tbody th { width: auto !important; padding: 12px 16px 4px; border: 0; }
  table.stack td { padding: 4px 16px 12px; border: 0; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: .82rem; font-weight: 600; color: var(--muted); }
}

/* Capability matrix */
table.matrix tbody th[colspan] { background: var(--bg-soft); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 10px; padding-bottom: 10px; }
table.matrix tbody th[scope="row"], table.matrix thead th:first-child { position: sticky; left: 0; z-index: 1; }
table.matrix tbody th[colspan] span { position: sticky; left: 18px; }
table.matrix tbody th[scope="row"] { background: #fff; box-shadow: 1px 0 0 var(--line); white-space: normal; max-width: 260px; }
table.matrix td { color: var(--ink-2); }
table.matrix td.yes { color: var(--ink); }
@media (max-width: 640px) { table.matrix th:first-child, table.matrix tbody th[scope="row"] { min-width: 150px; max-width: 170px; } }

/* Product-led presentation: capability index, product navigation and detail pages. */
:root {
  --night: #10191c;
  --night-2: #172428;
  --night-line: #314146;
  --on-night: #bdcace;
  --bg-soft: #f1f4f3;
  --line: #d7dfdf;
  --radius: 3px;
  --sky: #98d5df;
  --header: 74px;
}
.site-header { background: #10191cf7; border-color: var(--night-line); }
.site-header .brand, .site-header .brand:hover { color: #f2f6f5; }
#site-nav { gap: 30px; }
#site-nav a:not(.btn) { color: #c5d0d2; font-size: .89rem; }
#site-nav a:not(.btn):hover, #site-nav a[aria-current] { color: #fff; border-bottom-color: var(--sky); }
.btn { border-radius: 3px; }
.site-header .btn-primary { background: #b6e6d0; color: #11291f; }
.site-header .btn-primary:hover { background: #d1f0e1; }
.menu-btn { color: #fff; border-color: #516167; border-radius: 3px; }
.product-nav summary { display: flex; align-items: center; gap: 8px; color: #d9e3e4; font-size: .89rem; font-weight: 500; padding: 16px 0; cursor: pointer; list-style: none; }
.product-nav summary::-webkit-details-marker { display: none; }
.product-nav summary > span { font-size: 1.2rem; line-height: 1; color: #8ca0a5; }
.product-nav[open] summary, .product-page .product-nav summary { color: #b6e6d0; }
.product-nav[open] summary > span { transform: rotate(180deg); }
.product-menu { position: absolute; left: 0; right: 0; top: 100%; background: #142024; border-bottom: 1px solid #536469; box-shadow: 0 24px 40px #0004; max-height: calc(100dvh - var(--header)); overflow-y: auto; }
.product-menu-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; padding-top: 34px; padding-bottom: 38px; }
.nav-label { color: #9ab1b6; font: .69rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.product-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 30px; }
#site-nav .product-links a { display: block; padding: 12px 0; border: 0; }
.product-links span { display: block; font-size: 1rem; color: #e4eeed; }
.product-links small { display: block; font-size: .78rem; color: #9db1b5; line-height: 1.5; margin-top: 3px; }
#site-nav .product-links a:hover span, #site-nav .product-links a[aria-current] span { color: #b6e6d0; text-decoration: underline; text-underline-offset: 5px; }
.product-menu-aside { border-left: 1px solid var(--night-line); padding-left: 36px; }
#site-nav .product-menu-aside a { display: flex; justify-content: space-between; padding: 8px 0; border: 0; font-size: .85rem; }
#site-nav .product-menu-aside a:hover { text-decoration: underline; }
.nav-label-secondary { margin-top: 26px; margin-bottom: 10px; }
.overline { font: .71rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #566a72; margin-bottom: 22px; }
.night .overline, .product-hero .overline { color: #a6c5cb; }
.product-hero { background: var(--night); color: #f4f7f6; padding: 74px 0 0; }
.hero-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; align-items: end; padding-bottom: 48px; }
.hero-heading h1 { font-size: clamp(2.8rem, 4.6vw, 4.3rem); line-height: 1.02; font-weight: 400; letter-spacing: -.055em; margin-bottom: 0; }
.hero-description { padding-bottom: 8px; }
.hero-description > p { color: #c0ced1; font-size: 1.17rem; line-height: 1.65; max-width: 32em; }
.hero-description .actions { gap: 20px; align-items: center; }
.hero-text-link { color: #d8e5e5; font-size: .9rem; text-decoration: none; }
.hero-text-link span { margin-left: 8px; color: #b6e6d0; }
.hero-text-link:hover { color: #fff; text-decoration: underline; }
.hero-product-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; padding: 19px 0; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.hero-product-strip .strip-label { color: #779297; font: .68rem var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; }
.hero-product-strip a { color: #ccdbdc; text-decoration: none; font-size: .81rem; }
.hero-product-strip a:hover { color: #b6e6d0; text-decoration: underline; }
.hero-console { margin-top: 34px; border: 1px solid #51676c; border-bottom: 0; background: #18262a; }
.console-label { display: flex; justify-content: space-between; gap: 20px; padding: 12px 18px; color: #adbfC3; font: .67rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.console-label > span:first-child { display: flex; gap: 10px; align-items: center; }
.console-label i { width: 6px; height: 6px; background: #a5dcbd; border-radius: 50%; }
.hero-console .fig .shot { border: 0; border-radius: 0; box-shadow: none; }
.hero-console .fig img { width: 100%; }
.hero-console figcaption { margin: 0; padding: 9px 18px; color: #98b1b7; background: #18262a; font-size: .74rem; max-width: none; }
.product-catalog { background: #f6f8f5; }
.catalog-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; align-items: end; margin-bottom: 42px; }
.catalog-heading .overline { grid-column: 1 / -1; }
.catalog-heading h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); font-weight: 400; margin: 0; }
.catalog-heading > p:last-child { margin: 0; color: var(--ink-2); max-width: 31em; }
.capability-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 1px solid #bfcfcd; border-left: 1px solid #bfcfcd; }
.capability { grid-column: span 3; display: flex; flex-direction: column; padding: 26px; border-right: 1px solid #bfcfcd; border-bottom: 1px solid #bfcfcd; text-decoration: none; color: var(--ink); min-height: 220px; transition: background .15s; }
.capability:nth-child(n+5) { grid-column: span 4; }
.capability:hover { background: #e8efea; color: var(--ink); }
.capability-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.serial { color: #56756f; font: .72rem/1.6 var(--mono); letter-spacing: .06em; }
.tile-arrow { color: #527b6c; font-size: 1.2rem; }
.capability h3 { font-size: 1.26rem; font-weight: 500; line-height: 1.2; margin-bottom: 14px; }
.capability p { font-size: .92rem; line-height: 1.6; color: #526267; margin-bottom: 24px; }
.connected-work .split { align-items: end; margin-bottom: 38px; }
.connected-work h2, .specialist-section h2, .agent-section h2 { font-size: clamp(2.2rem, 4vw, 3.35rem); font-weight: 400; }
.change-preview .fig { max-width: 1040px; margin-left: auto; margin-right: auto; }
.change-preview .fig .shot { box-shadow: none; border-radius: 2px; }
.inline-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: .8rem; color: #bbcdcf; }
.inline-facts a { text-decoration: none; font-weight: 500; }
.specialist-section .split > div > p:not(.overline) { margin-top: 20px; color: var(--ink-2); max-width: 30em; }
.specialist-list > a { display: block; color: var(--ink); padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; }
.specialist-list > a:first-child { padding-top: 0; border: 0; }
.specialist-list h3 { font-size: 1.3rem; font-weight: 500; }
.specialist-list p { color: #526267; font-size: .95rem; }
.specialist-list > a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.requirement { display: block; color: #536b64; font: .66rem/1.8 var(--mono); }
.agent-method { list-style: none; padding: 0; margin: 0; }
.agent-method li { border-top: 1px solid #c0cecc; margin: 0; padding: 20px 0; }
.agent-method li:first-child { padding-top: 0; border: 0; }
.agent-method span { font: .7rem/1.7 var(--mono); color: #426259; text-transform: uppercase; letter-spacing: .07em; }
.agent-method p { color: var(--ink-2); font-size: 1rem; margin-top: 8px; }
.deployment-summary .wrap { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.deployment-summary h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; }
.deployment-summary p:not(.overline) { max-width: 48em; color: var(--ink-2); }
.deployment-summary .more { flex-shrink: 0; }
.product-intro { padding: 56px 0 60px; background: #10191c; color: #f3f7f5; border-bottom: 1px solid #314146; }
.product-back { display: inline-block; color: #a4c4ca; text-decoration: none; font: .7rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 26px; }
.product-back:hover { color: #fff; }
.product-intro h1 { font-size: clamp(2.6rem, 4.7vw, 4.2rem); font-weight: 400; letter-spacing: -.045em; max-width: 16em; }
.product-intro .lede { color: #bdcdd0; max-width: 42em; font-size: 1.12rem; }
.product-intro .toc a { background: transparent; border-color: #4e656c; color: #cfe0e2; border-radius: 2px; font-size: .8rem; }
.product-intro .toc a:hover { background: #26383e; border-color: #93c5cb; }
.product-page .band h2 { font-weight: 400; }
.directory, .report-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.directory > div, .report-directory > div { border-top: 1px solid var(--line); padding: 24px 0; }
.directory p, .report-directory p { font-size: .95rem; color: var(--ink-2); margin-top: 10px; }
.report-directory { margin-top: 44px; }
.report-directory .serial { display: block; margin-bottom: 18px; }
.report-directory h3 { font-size: 1.25rem; font-weight: 500; }
.firmware-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #bfcfcd; }
.firmware-stages > div { padding: 32px; }
.firmware-stages > div + div { border-left: 1px solid #bfcfcd; }
.firmware-stages .serial { display: block; margin-bottom: 42px; }
.firmware-stages h2 { font-size: 1.6rem; }
.firmware-stages p { font-size: 1rem; color: var(--ink-2); }
.foot .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot .footer-links a { font-size: .82rem; }
.site-footer { padding: 64px 0 30px; }
.legal { font-size: .73rem; color: #7b959c; border-top: 1px solid var(--night-line); padding-top: 20px; margin-top: 20px !important; }
@media (max-width: 1100px) and (min-width: 1001px) {
  #site-nav { gap: 22px; }
  .capability { padding: 22px; }
  .capability h3 { font-size: 1.1rem; }
}
@media (max-width: 1000px) {
  :root { --header: 60px; }
  .js #site-nav { background: #142024; border-color: var(--night-line); max-height: calc(100dvh - 60px); overflow-y: auto; }
  .js #site-nav a:not(.btn) { border-color: var(--night-line); }
  .js #site-nav > a { flex-shrink: 0; }
  .product-nav summary { padding: 14px 0; border-bottom: 1px solid var(--night-line); font-size: 1.02rem; }
  .product-menu { position: static; max-height: none; box-shadow: none; overflow: visible; border-bottom: 0; }
  .product-menu-inner { padding: 20px 0; grid-template-columns: 1fr; gap: 24px; }
  .product-links { gap: 0 24px; }
  .product-menu-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--night-line); padding-top: 20px; }
  #site-nav .product-links a, #site-nav .product-menu-aside a { font-size: .9rem; padding: 10px 0; }
  .product-links span { font-size: .94rem; }
  .product-links small { font-size: .75rem; }
  .hero-heading { gap: 32px; }
  .hero-heading h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .hero-description > p { font-size: 1rem; }
  .hero-description .actions { gap: 14px; }
  .hero-text-link { font-size: .8rem; }
  .capability, .capability:nth-child(n+5) { grid-column: span 6; }
  .capability:last-child { grid-column: span 12; min-height: 180px; }
  .capability { min-height: 200px; }
  .capability-top { margin-bottom: 22px; }
  .foot .footer-links { gap: 26px; }
  .deployment-summary .wrap { align-items: start; flex-direction: column; gap: 24px; }
  .firmware-stages > div { padding: 24px; }
  .firmware-stages h2 { font-size: 1.35rem; }
}
@media (max-width: 640px) {
  .product-hero { padding-top: 44px; }
  .hero-heading { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
  .hero-heading h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .hero-description { padding-bottom: 0; }
  .hero-description > p { font-size: 1.02rem; margin: 0; }
  .hero-description .actions { margin-top: 22px; }
  .hero-description .btn { font-size: .9rem; padding: 12px 16px; }
  .overline { font-size: .61rem; margin-bottom: 18px; letter-spacing: .08em; }
  .hero-product-strip { gap: 12px 18px; }
  .hero-product-strip a { font-size: .74rem; }
  .hero-product-strip .strip-label { display: none; }
  .hero-console { margin-top: 24px; }
  .console-label { padding: 10px 12px; font-size: .52rem; letter-spacing: .04em; }
  .hero-console figcaption { padding: 8px 12px; font-size: .64rem; }
  .catalog-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .catalog-heading .overline { margin-bottom: 0; }
  .catalog-heading > p:last-child { font-size: .96rem; }
  .capability, .capability:nth-child(n+5), .capability:last-child { grid-column: span 12; padding: 24px; min-height: 0; }
  .capability h3 { font-size: 1.35rem; }
  .capability p { margin-bottom: 18px; }
  .capability-top { margin-bottom: 20px; }
  .inline-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: .73rem; }
  .specialist-list > a:first-child { padding-top: 10px; }
  .product-links { grid-template-columns: 1fr; }
  .product-menu-inner { gap: 18px; }
  .product-links small { display: none; }
  .nav-label { margin-bottom: 10px; }
  .product-intro { padding: 38px 0 42px; }
  .product-intro h1 { font-size: clamp(2.1rem, 8.5vw, 3rem); }
  .product-intro .lede { font-size: 1rem; }
  .product-back { margin-bottom: 20px; }
  .directory, .report-directory, .firmware-stages { grid-template-columns: 1fr; }
  .firmware-stages > div + div { border-left: 0; border-top: 1px solid #bfcfcd; }
  .firmware-stages .serial { margin-bottom: 20px; }
  .foot .footer-links { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot .footer-links > div:last-child { grid-column: 1 / -1; }
}
