/* CureVision public site - 2026 template, marketing hi-fi (Sep 2026).
   Tokens first; every component reads colour and type through them. */

:root {
  --ground: #FAFAFC;
  --card: #FFFFFF;
  --surface: #F1F0F8;
  --photo: #E9E7F3;
  --ink: #2D1B44;
  --muted: #55506B;
  --eyebrow: #472563;
  --accent: #6860A8;
  --accent-hover: #524F85;
  --line: #DCD9EC;
  --line-soft: #ECEBF5;
  --line-strong: #BDB8DB;
  --dark: #2D1B44;
  --dark-2: #3A2656;
  --dark-line: #4E3A6E;
  --on-dark: #D4CFE6;
  --on-dark-2: #B7B1E0;
  --on-dark-3: #9A94B8;
  --ok: #2E9E31;
  --ok-soft: #E8F5E9;
  --danger: #B3261E;
  --shadow: 0 18px 40px rgba(27,23,48,.10);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1280px;
  --gutter: clamp(16px, 4.4vw, 56px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; overflow-x: clip; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.125rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1875rem; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow.soft { color: var(--muted); }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--muted); max-width: 64ch; }
.sub { font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--accent); line-height: 1.35; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.stack { display: grid; gap: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; font: 600 15px/1.2 var(--body); border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-on-dark { background: transparent; color: #fff; border-color: #7C74B0; }
.btn-on-dark:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; color: var(--accent); }

/* Chips and badges */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; background: var(--card); color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; }
.status i { width: 8px; height: 8px; border-radius: 4px; background: var(--ok); display: inline-block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 30px; height: var(--header-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 26px; margin: 0 0 0 16px; padding: 0; list-style: none; align-items: stretch; height: 100%; }
.nav-links > li { display: flex; align-items: center; }
.nav-links a.nl, .nav-links button.nl { font: 500 15px/1 var(--body); color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.nav-links a.nl:hover, .nav-links .has-mega:hover > .nl, .nav-links .has-mega:focus-within > .nl, .nav-links .nl[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav-spacer { flex-grow: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { background: none; border: 1px solid transparent; border-radius: 8px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; border-color: var(--line); }
.nav .cta-btn { min-height: 44px; }
.nav-links li.cta { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 60; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.open > .mega { display: block; }
.mega-inner { max-width: var(--max); margin-inline: auto; padding: 32px var(--gutter) 36px; display: grid; gap: 28px; }
.mega-inner.products { grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; }
.mega-inner.solutions { grid-template-columns: repeat(2, minmax(0, 1fr)) 420px; }
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-col > .eyebrow { padding: 0 12px 8px; }
.mega-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; }
.mega-item:hover { background: var(--surface); color: var(--ink); }
.mega-item .t { font-weight: 600; font-size: 15px; }
.mega-item .d { font-size: 13px; color: var(--muted); }
.mega-card { background: var(--dark); color: #FAFAFC; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mega-card .eyebrow { color: var(--on-dark-2); }
.mega-card h3 { font-size: 22px; line-height: 1.25; color: #fff; }
.mega-card a { color: #fff; font-weight: 600; margin-top: auto; }
.mega-case { background: var(--surface); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.mega-case .ph { height: 150px; background: var(--photo); }
.mega-case .ph img { width: 100%; height: 100%; object-fit: cover; }
.mega-case .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }

/* Search */
.site-search { position: absolute; right: var(--gutter); top: 100%; width: min(460px, 92vw); padding-top: 10px; display: none; z-index: 70; }
.site-search.open { display: block; }
.site-search-inner { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 12px; }
.sr-list { display: grid; gap: 2px; margin-top: 8px; }
.sr-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 6px; }
.sr-item:hover { background: var(--surface); }
.sr-item img, .sr-noimg { width: 48px; height: 40px; object-fit: contain; background: var(--surface); border-radius: 4px; }
.sr-item b { display: block; font-weight: 600; font-size: 14px; }
.sr-item small { color: var(--muted); font-size: 12px; }
.sr-all, .sr-empty { display: block; padding: 10px 8px 4px; font-size: 14px; color: var(--accent); font-weight: 600; }
.sr-empty { color: var(--muted); font-weight: 400; }

@media (max-width: 1080px) {
  .nav-links, .nav > .cta-btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; overflow-y: auto; background: var(--card); margin: 0; padding: 8px var(--gutter) 32px; gap: 0; height: auto; }
  .nav.open .nav-links > li { display: block; border-bottom: 1px solid var(--line-soft); }
  .nav.open .nav-links a.nl, .nav.open .nav-links button.nl { padding: 16px 4px; font-size: 17px; width: 100%; border: 0; justify-content: space-between; }
  .nav.open .nav-links li.cta { display: block; border: 0; padding-top: 16px; }
  .nav.open .nav-links li.cta a { width: 100%; }
  .mega { position: static; box-shadow: none; border: 0; }
  .has-mega:hover > .mega, .has-mega:focus-within > .mega { display: none; }
  .has-mega.open > .mega { display: block; }
  .mega-inner, .mega-inner.products, .mega-inner.solutions { grid-template-columns: 1fr; padding: 0 0 16px; gap: 12px; }
  .mega-card, .mega-case { display: none; }
}
@media (max-width: 560px) { .brand img { height: 32px; } .nav { gap: 12px; } .nav-actions .cta-mobile { display: none; } }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--line-strong); margin-right: 6px; }
.crumbs li:last-child { color: var(--ink); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* Section rhythm */
.section { padding-block: clamp(48px, 6vw, 88px); }
.section-sm { padding-block: clamp(32px, 4vw, 56px); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.section-head.row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head .count { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.block + .block { margin-top: clamp(48px, 5vw, 72px); }

/* Page hero (inner) */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 56px; align-items: start; padding-block: 32px 64px; }
.page-hero .copy { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.page-hero .copy p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 70ch; }
.page-hero.solo { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.page-hero .subtitle { font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--ink); max-width: 60ch; }
.page-hero .copy .actions { margin-top: 6px; }
.page-end { margin-bottom: clamp(56px, 7vw, 96px); }
.visual { position: relative; background: var(--photo); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; }
.visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual.contain img { object-fit: contain; inset: 8%; width: 84%; height: 84%; }
.visual .label { position: relative; padding: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; gap: 28px; } .visual { min-height: 240px; } }

/* Strip link */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; background: var(--surface); border-radius: 12px; padding: 18px 24px; margin-bottom: clamp(48px, 5vw, 72px); }
.strip a { font-weight: 600; color: var(--accent); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
a.card { display: flex; flex-direction: column; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px -18px rgba(27,23,48,.35); color: var(--ink); }
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.c1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) { .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: minmax(0, 1fr); } }
.feature { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.feature .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.feature p, .feature .t { font-size: 15px; line-height: 1.6; color: var(--muted); }
.tile { padding: 26px; gap: 12px; }
.tile svg { width: 36px; height: 36px; color: var(--accent); }
.tile h3 { font-size: 21px; }
.tile p { font-size: 15px; color: var(--muted); }
.photo-card .ph { height: 180px; background: var(--photo); position: relative; overflow: hidden; }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .ph.contain img { object-fit: contain; padding: 14px; }
.photo-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.photo-card .body .more { margin-top: auto; padding-top: 6px; font-size: 15px; }
.photo-card .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }

/* Checklist / fit panel */
.panel { background: var(--surface); border-radius: 14px; padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks > div { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; }
.checks > div::before { content: "✓"; color: var(--accent); font-weight: 700; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: 15px; color: var(--muted); }

/* Prose */
.rich { max-width: 75ch; }
.rich > * + * { margin-top: 1em; }
.rich h2, .rich h3, .rich h4 { margin-top: 1.6em; }
.rich p, .rich li { color: var(--muted); font-family: var(--body) !important; text-align: left !important; }
.rich strong, .rich b { color: var(--ink); }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: 8px; }
.rich table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px 10px; }
.rich * { font-family: inherit !important; font-size: inherit; color: inherit; background: transparent !important; }
.prose-lg p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 900px; }
.prose-lg p + p { margin-top: 14px; }

/* Dark band + CTA with form */
.band { background: var(--dark); color: #FAFAFC; }
.band .eyebrow { color: var(--on-dark-2); }
.band h2 { color: #fff; }
.band p, .band .lede { color: var(--on-dark); }
.cta-band { background: var(--dark); border-radius: 16px; padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-block: clamp(48px, 5vw, 72px); }
.cta-band .copy { display: flex; flex-direction: column; gap: 14px; }
.cta-band .eyebrow { color: var(--on-dark-2); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.cta-band p { color: var(--on-dark); font-size: 17px; line-height: 1.6; }
.cta-band .ticks { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: 15px; color: #E9E6F4; }
.cta-form { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 12px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form .full { grid-column: 1 / -1; }
.cta-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--on-dark); }
.cta-form .interest { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark); }
.cta-form .interest span { background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 600; }
.cta-form input, .cta-form textarea { font: 15px var(--body); border: 1px solid var(--line); border-radius: 6px; padding: 12px; background: #fff; color: var(--ink); width: 100%; }
.cta-form textarea { min-height: 84px; resize: vertical; }
.cta-form .btn { grid-column: 1 / -1; }
.cta-form .fine { grid-column: 1 / -1; font-size: 12px; color: #8F89AC; }
.cta-form .agree { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 10px; }
.cta-form .agree input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.cta-form .agree a { color: #fff; text-decoration: underline; }
.cta-form .form-status { grid-column: 1 / -1; }
.cta-form .form-status.ok { color: #9EE2A1; }
.cta-form .form-status.err { color: #FFB4AB; }
.cta-simple { background: var(--dark); border-radius: 14px; padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.8vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-block: clamp(48px, 5vw, 72px); }
.cta-simple > div { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 6px; }
.cta-simple h2 { color: #fff; font-size: 28px; }
.cta-simple p { color: var(--on-dark); }
.cta-simple.light { background: var(--surface); }
.cta-simple.light h2 { color: var(--ink); }
.cta-simple.light p { color: var(--muted); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .cta-form { grid-template-columns: 1fr; } }

/* Light form (contact, home demo, support) */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 32px; }
.form .full { grid-column: 1 / -1; }
.form label { font-size: 13px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: 15px var(--body); border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 96px; resize: vertical; }
.form .agree { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; }
.form .agree input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.form .agree a { color: var(--accent); }
.form .send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 14px; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 20px; } }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 14px; }
.steps > div { display: flex; gap: 14px; }
.steps > div > span:first-child { font-family: var(--mono); color: var(--accent); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stats > div { padding: 22px 0; }
.stats .v { font-family: var(--display); font-size: 24px; font-weight: 600; margin-top: 6px; }
.stats.big .v { font-size: 40px; }
.stats.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .stats, .stats.c3 { grid-template-columns: 1fr 1fr; } }

/* Home hero */
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 80px) 64px; }
.home-hero .copy { display: flex; flex-direction: column; gap: 22px; }
.home-hero .kicker { font-size: 15px; font-weight: 700; color: var(--accent); }
.home-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; }
.home-hero .lede { font-size: 19px; }
.hero-stage { position: relative; aspect-ratio: 580 / 420; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 100%; }
.hero-stage img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(27,23,48,.22)); }
.hero-stage.photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.hero-stage .status { position: absolute; }
.hero-stage .s1 { top: 22px; left: 22px; }
.hero-stage .s2 { bottom: 22px; right: 22px; }
@media (max-width: 960px) { .home-hero { grid-template-columns: 1fr; } }

/* Home layers band */
.layers-band { padding-block: clamp(56px, 7vw, 88px); }
.layers-band .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: 36px; }
.layers-band .head > div { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.layers-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.625rem); line-height: 1.1; }
.layers-row { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 40px; }
.iso { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; overflow: hidden; }
.iso svg { width: 100%; height: auto; display: block; }
.iso .plane { transition: opacity .2s; }
.iso.has-active .plane:not(.on) { opacity: .35; }
.layer-links { display: flex; flex-direction: column; gap: 10px; }
.layer-link { display: flex; gap: 18px; align-items: center; padding: 16px 20px; border: 1px solid var(--dark-line); border-radius: 10px; color: #FAFAFC; }
.layer-link:hover, .layer-link.on { border-color: #8E87C4; color: #fff; }
.layer-link .c { font-family: var(--mono); color: var(--on-dark-2); width: 30px; }
.layer-link .x { flex: 1; }
.layer-link b { display: block; font-weight: 600; font-size: 17px; }
.layer-link small { display: block; font-size: 14px; color: var(--on-dark); }
@media (max-width: 960px) { .layers-row { grid-template-columns: 1fr; } .iso { max-width: 470px; } }

/* Role chips row */
.role-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 20px; }

/* Featured horizontal card */
.hcard, a.card.hcard { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); overflow: hidden; }
.hcard .ph { min-height: 300px; background: var(--photo); position: relative; }
.hcard .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcard .body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.hcard h2, .hcard h3 { font-size: clamp(1.4rem, 2.4vw, 1.875rem); line-height: 1.2; }
@media (max-width: 860px) { .hcard, a.card.hcard { grid-template-columns: 1fr; } .hcard .ph { min-height: 220px; } }

/* Home demo */
.demo-box { background: var(--surface); border-radius: 14px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-bottom: clamp(56px, 7vw, 88px); }
.demo-box .copy { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) { .demo-box { grid-template-columns: 1fr; } }

/* Tabs (resources) */
.tabs { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 600; }
.tabs a { padding-bottom: 6px; }
.tabs a.on { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 34px; border-block: 1px solid var(--line); margin-bottom: clamp(48px, 5vw, 64px); }
.subnav a { padding: 16px 0; font-weight: 500; font-size: 15px; }
.subnav a:first-child { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }

/* Filter chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 14px var(--body); color: var(--ink); cursor: pointer; }
.filter-chips button.on { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Product page */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery .main { position: relative; height: 400px; background: var(--photo); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gallery .main img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .thumbs button { height: 84px; background: var(--photo); border: 1px solid var(--line); border-radius: 8px; padding: 6px; cursor: pointer; }
.gallery .thumbs button.on { border-color: var(--accent); border-width: 2px; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) { .gallery .main { height: 280px; } }
.twin { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.twin > * { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--card); }
.twin .here { border: 2px solid var(--accent); }
.twin small { display: block; font-size: 13px; color: var(--muted); }
.spec-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.spec-tiles > div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.spec-tiles .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec-tiles .v { font-weight: 600; font-size: 15px; line-height: 1.4; }
@media (max-width: 900px) { .spec-tiles { grid-template-columns: 1fr 1fr; } }
details.more-specs { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; margin-top: 20px; }
details.more-specs > summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
details.more-specs > summary::-webkit-details-marker { display: none; }
details.more-specs > summary::after { content: "+"; color: var(--accent); font-size: 22px; }
details.more-specs[open] > summary::after { content: "−"; }
.spec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; padding: 4px 0 22px; }
.spec-cols > div { display: flex; flex-direction: column; gap: 20px; }
.spec-box { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.spec-box h3 { padding: 14px 18px; font-size: 16px; background: var(--surface); }
.spec-box .r { display: grid; grid-template-columns: 42% 58%; gap: 14px; padding: 10px 18px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.45; }
.spec-box .r span:first-child { color: var(--muted); }
@media (max-width: 760px) { .spec-cols { grid-template-columns: 1fr; } }
.dl { display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: var(--ink); }
.dl .ic { width: 40px; height: 48px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; color: var(--accent); flex-shrink: 0; }
.dl .t { flex: 1; font-weight: 600; font-size: 15px; word-break: break-word; }
.dl .a { color: var(--accent); font-weight: 600; }
.related { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.related .card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.related .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.related .links a { font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.related .links a::after, .link-list a::after { content: " →"; color: var(--accent); }
@media (max-width: 760px) { .related, .related .links { grid-template-columns: 1fr; } }
.link-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.link-list a { font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 760px) { .link-list { grid-template-columns: 1fr; } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--line); padding: 12px 16px 20px; gap: 10px; box-shadow: 0 -8px 20px rgba(27,23,48,.08); }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar .call { width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
  body.has-mobile-bar { padding-bottom: 84px; }
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
table.t { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 15px; min-width: 620px; }
table.t th, table.t td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.t th { background: var(--surface); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.t tr:last-child td { border-bottom: 0; }
table.t td:first-child { font-weight: 600; }
table.t td a { color: var(--ink); font-weight: 600; }
table.t td a::after { content: " →"; color: var(--accent); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); line-height: 1.6; }

/* How it works */
.explorer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; }
.explorer .picks { display: flex; flex-direction: column; gap: 8px; }
.explorer .picks button { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 18px; border-radius: 8px; background: transparent; color: #E7E4F4; border: 1px solid var(--dark-line); font: 600 16px var(--body); cursor: pointer; text-align: left; }
.explorer .picks button .c { font-family: var(--mono); font-size: 13px; color: var(--on-dark-2); }
.explorer .picks button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.explorer .picks button.on .c { color: #fff; }
.explorer .pane { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.explorer .pane .head { display: flex; align-items: baseline; gap: 14px; }
.explorer .pane .head span { font-family: var(--mono); color: var(--on-dark-2); }
.explorer .pane h3 { font-size: 28px; color: #fff; }
.explorer .pane .what { font-size: 18px; color: var(--on-dark); line-height: 1.55; }
.explorer .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.explorer .facts .eyebrow { color: var(--on-dark-2); margin-bottom: 4px; }
.explorer .facts > div > div:last-child { color: #fff; }
@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } .explorer .facts { grid-template-columns: 1fr; } }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.flow .node { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.flow .node.cv { border-color: var(--accent); background: #F6F5FC; }
.flow .node .tag { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.flow .node b { font-size: 15px; }
.flow .node span:last-child { font-size: 13px; color: var(--muted); }
.flow .arrow { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); min-height: 24px; } }
.phase { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.timeline > div { border-top: 2px solid var(--accent); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.timeline .n { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.timeline b { font-size: 16px; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
.tbd { display: inline-block; border: 1px dashed #9C97B8; border-radius: 4px; padding: 0 6px; color: var(--muted); font-size: .92em; }

/* Article / case */
.article-head { max-width: 900px; display: flex; flex-direction: column; gap: 20px; padding-block: 32px 40px; }
.article-head .date { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.article-head .subtitle { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--ink); max-width: 60ch; }
.cover + .cover-second { margin-top: calc(-1 * clamp(24px, 2.5vw, 32px)); }
.author-box { max-width: 900px; border-top: 1px solid var(--line); padding-top: 20px; }
.author-box .name { font-weight: 700; color: var(--ink); margin: 4px 0; }
.author-box p { color: var(--muted); margin: 0; }
.card-text p { margin: 0 0 10px; }
.card-text p:last-child { margin-bottom: 0; }
.card-text a { color: var(--accent); font-weight: 600; }
.case-card .case-org { font-weight: 700; color: var(--ink); margin: -4px 0 4px; }
.case-tile .ph { height: 200px; }
.case-tile .case-org { font-weight: 700; color: var(--ink); }
.case-tile h3 { font-size: 1.125rem; line-height: 1.35; }
.article-head p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.cover { border-radius: 12px; overflow: hidden; background: var(--photo); border: 1px solid var(--line); margin-bottom: clamp(48px, 5vw, 64px); }
.cover img { width: 100%; height: auto; }
.cover.fixed { height: 420px; position: relative; }
.cover.fixed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Video grid */
.vcard .thumb { height: 180px; background: #3A2656; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vcard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.vcard .play { position: relative; width: 56px; height: 56px; border-radius: 28px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; }
.vcard .tag { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 11px; color: #E7E4F4; background: rgba(27,23,48,.7); padding: 3px 8px; border-radius: 4px; }
.vcard .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.vcard h3 { font-size: 17px; line-height: 1.35; }

/* Downloads */
.dl-box { overflow: hidden; }
.dl-box .bh { padding: 16px 20px; background: var(--surface); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dl-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line-soft); }
.dl-row:hover { background: #F6F5FA; color: var(--ink); }
.dl-row .pdf { font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid #C9C5E6; border-radius: 4px; padding: 2px 6px; }
.dl-row span:last-child { flex: 1; }
.dl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.dl-cols > div { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 800px) { .dl-cols { grid-template-columns: 1fr; } }
.search-input { font: 15px var(--body); border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px; background: #fff; width: 100%; max-width: 380px; }

/* Contact aside */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; padding-block: 64px 80px; }
.contact-grid aside { display: flex; flex-direction: column; gap: 18px; padding-top: 120px; }
.contact-grid aside .card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid aside { padding-top: 0; } }
.map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 6; background: var(--surface); margin-bottom: 72px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Why hero */
.why-hero { background: var(--dark); padding-block: clamp(56px, 7vw, 88px); }
.why-hero .inner { display: flex; flex-direction: column; gap: 20px; }
.why-hero .eyebrow { color: var(--on-dark-2); }
.why-hero h1 { color: #fff; max-width: 900px; }
.why-hero p { color: #E7E4F4; font-size: 19px; line-height: 1.55; max-width: 760px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member { overflow: hidden; }
.member .ph { aspect-ratio: 1; background: var(--photo); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; }
.member .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.member .role { font-size: 14px; color: var(--muted); }
.member a { font-size: 13px; color: var(--accent); word-break: break-all; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .team { grid-template-columns: 1fr 1fr; } }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photos a { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--photo); }
.photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .photos { grid-template-columns: 1fr 1fr; } }
.lightbox { position: fixed; inset: 0; background: rgba(27,23,48,.85); display: grid; place-items: center; z-index: 95; padding: 20px; }
.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 6px; }
.lightbox .lb-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }

/* Status pages */
.status-page { padding-block: clamp(56px, 8vw, 96px) 56px; display: flex; flex-direction: column; gap: 20px; max-width: 860px; }
.status-page .code { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.done-mark { width: 56px; height: 56px; border-radius: 28px; background: var(--ok-soft); display: flex; align-items: center; justify-content: center; }
.search-row { display: flex; gap: 10px; }
.search-row input { font: 16px var(--body); border: 1px solid var(--line-strong); border-radius: 6px; padding: 14px; background: #fff; flex: 1; }

/* Legacy service form inside the new chrome */
.legacy-form .service-form-section { border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-top: 16px; background: var(--card); }
.legacy-form .cfs-title { font-family: var(--display); font-weight: 600; margin-bottom: 10px; }
.legacy-form .form-group { margin-bottom: 12px; }
.legacy-form input[type=text], .legacy-form input[type=tel], .legacy-form input[type=email], .legacy-form textarea, .legacy-form select { font: 15px var(--body); padding: 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.legacy-form .row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.legacy-form .col-md-4 { grid-column: span 4; } .legacy-form .col-md-6 { grid-column: span 6; } .legacy-form .col-md-12 { grid-column: span 12; }
.legacy-form .contact-send-btn { font: 600 15px var(--body); min-height: 48px; padding: 0 22px; border-radius: 6px; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
.legacy-form .checkbox label { display: inline-flex; gap: 8px; align-items: start; font-size: 14px; color: var(--muted); }
.legacy-form .checkbox a { color: var(--accent); text-decoration: underline; }
@media (max-width: 700px) { .legacy-form .col-md-4, .legacy-form .col-md-6 { grid-column: span 12; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: 14px; }
.site-footer .inner { max-width: var(--max); margin-inline: auto; padding: 48px var(--gutter) 32px; display: flex; flex-direction: column; gap: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; }
.foot-grid .h { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.foot-grid a { color: var(--on-dark); }
.foot-grid a:hover { color: #fff; }
.foot-grid .brandcol { gap: 12px; }
.foot-grid .brandcol img { height: 40px; width: auto; }
.foot-grid .brandcol span { line-height: 1.5; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--dark-line); padding-top: 22px; font-size: 13px; }
.foot-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.foot-bottom .legal a { color: var(--on-dark); }
.foot-bottom .social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-bottom .social b { font-family: var(--display); font-size: 16px; color: #fff; margin-right: 6px; }
.foot-bottom .social a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid #6E5A94; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 600; }
.foot-bottom .social a:hover { border-color: #fff; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-grid .brandcol { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Cookie notice + popup */
.cookie-notice { position: fixed; left: 16px; bottom: 16px; max-width: 360px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); z-index: 80; }
.cookie-notice a { color: var(--accent); font-weight: 600; }
.cookie-notice .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.has-mobile-bar .cookie-notice { bottom: 100px; }
.site-popup { position: fixed; inset: 0; background: rgba(27,23,48,.6); display: grid; place-items: center; z-index: 90; padding: 20px; }
.site-popup-inner { position: relative; max-width: min(860px, 92vw); }
.site-popup-inner img { max-height: 85vh; width: auto; border-radius: 8px; }
.site-popup-inner button { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font-size: 20px; cursor: pointer; }

/* ---- hifi-v2 A ---- */
/* Header (HiMenu / HiMobile): bordered search button; on small screens menu · logo · search · compact CTA. */
#search-toggle { border-color: var(--line); }
@media (max-width: 1080px) {
  .nav { gap: 10px; }
  .nav > .cta-btn { display: inline-flex; min-height: 40px; font-size: 13px; padding: 0 12px; white-space: nowrap; }
}
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .nav { padding-inline: 16px; }
  .brand img { height: 30px; }
}
@media (max-width: 359px) { .nav > .cta-btn { padding: 0 8px; font-size: 12px; } }
/* Home insight cards: the title links the article, the foot link the related solution (G-17). */
.insight-card h3 a { color: inherit; }
.insight-card h3 a:hover { color: var(--accent); }
/* ---- hifi-v2 C ---- */
/* Category pages: "CureConsole or CureLink?" pair (HiCategory / HiCat-curelink) */
.hw-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.hw-card.here { border: 2px solid var(--accent); }
.hw-card h3 { font-size: 24px; margin: 0; }
.hw-card p { margin: 0; font-size: 16px; line-height: 1.55; }
.hw-card .checks > div { font-size: 15px; line-height: 1.5; }
.hw-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hw-top .more { font-weight: 600; font-size: 14px; color: var(--accent); }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 10px; }
.hw-if { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.5; }
.hw-both { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.hw-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 10px; padding: 6px; flex-wrap: wrap; }
.hw-spec { width: 170px; padding-left: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hw-same { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.hw-model { flex: 1; min-width: 200px; padding: 14px 18px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 8px; }
.hw-model.on { background: var(--card); }
.hw-model span { color: var(--accent); }
@media (max-width: 640px) { .hw-spec { width: 100%; padding: 6px 12px 0; } .hw-same { padding-left: 12px; } }
/* CureLink model grid split into sub-groups */
.model-group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 8px 0 16px; }
.model-group-head h3 { margin: 0; font-size: 20px; }
.grid.model-group + .model-group-head { margin-top: 36px; }
/* Group pages: several cross-links in one strip */
.strip-links { display: inline-flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.strip-links .sep { color: var(--line-strong); }
/* ---- hifi-v2 E ---- */
/* Resource cards whose cross-link is a second link (insights, videos, cases). */
.insight-card .rel, .vcard .rel { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--accent); }
.insight-card .rel:hover, .vcard .rel:hover { color: var(--accent-hover); }
.insight-card h2 a, .insight-card h3 a, .case-card h2 a, .vcard h3 a { color: var(--ink); }
.insight-card h2 a:hover, .insight-card h3 a:hover, .case-card h2 a:hover, .vcard h3 a:hover { color: var(--accent); }
.insight-card .ph, .case-card .ph { display: block; }
.vcard .thumb { display: flex; }
.case-card .more { font-weight: 600; color: var(--accent); }
a.badge:hover { border-color: var(--accent); color: var(--accent); }
.load-more-card { padding: 24px; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 180px; }
.link-btn { margin-top: 6px; border: 0; background: none; padding: 4px 0; font: 600 15px var(--body); color: var(--accent); cursor: pointer; }
.link-btn:hover { color: var(--accent-hover); text-decoration: underline; }
/* Case study "Related products": one full-width card (HiCase). */
.related.related-full { grid-template-columns: 1fr; }
/* Article "Next step" band: copy left, two buttons right (HiArticle). */
.next-band .eyebrow { color: var(--on-dark-2); }
.next-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }
/* ---- hifi-v2 D ---- */
/* CureLink GP-449 Inwall (HiProductLink): trust line, At a glance table, Consider-instead card, three link blocks. */
.page-hero .trust-line { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.page-hero .twin .here b, .page-hero .twin a b { display: block; }
table.t.glance td:last-child { white-space: nowrap; text-align: right; }
table.t.glance td:last-child a { font-weight: 500; color: var(--accent); }
.note.alt-card { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.note.alt-card b { color: var(--ink); font-size: 16px; }
.note.alt-card a { color: var(--accent); font-weight: 600; }
.related.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related .links.plain a::after { content: none; }
@media (max-width: 760px) { .related.three { grid-template-columns: 1fr; } }
/* ---- hifi-v2 B ---- */
/* How It Works: flow legend and labelled connectors (hi-fi HiHow) */
.flow-legend { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.flow-legend span { display: inline-flex; align-items: center; gap: 8px; }
.flow-legend span::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); background: var(--card); }
.flow-legend span.cv::before { border-color: var(--accent); background: #F6F5FC; }
.flow.labelled { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr); gap: 0; }
.flow .link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; padding: 0 4px; }
.flow .link::after { content: "→"; font-size: 16px; color: var(--accent); }
@media (max-width: 1000px) { .flow.labelled { grid-template-columns: 1fr; } .flow .link { min-height: 40px; } .flow .link::after { content: "↓"; } }
/* How It Works contact block: interest "Change" link and selects */
.cta-form .interest .change { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; }
.cta-form .interest b { color: #fff; }
.cta-form select { font: 15px var(--body); border: 1px solid var(--line); border-radius: 6px; padding: 12px; background: #fff; color: var(--ink); width: 100%; min-height: 46px; }
.cta-form .interest select { width: auto; min-height: 0; padding: 4px 8px; }
.cta-form label .opt { color: #8F89AC; }
/* ---- hifi-v2 quote form (MO-38) ---- */
.cta-form .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-form .actions .btn-ghost { background: transparent; color: #fff; border-color: #6E5A94; }

/* ---- fix list 2026-10-12 ---- */
/* Item 6: the home tagline stays on one line on desktop; the copy column grows to fit it and the image column takes what is left (max 580px). */
@media (min-width: 1100px) {
  .home-hero { grid-template-columns: minmax(min-content, 1fr) minmax(0, 580px); }
  .home-hero .kicker { white-space: nowrap; }
}
/* Item 12: the current section is highlighted in the main nav (the header is cached; <body data-section> picks the item). */
body[data-section="solutions"] .nav-links .nl[data-section="solutions"], body[data-section="products"] .nav-links .nl[data-section="products"],
body[data-section="how"] .nav-links .nl[data-section="how"], body[data-section="cases"] .nav-links .nl[data-section="cases"],
body[data-section="resources"] .nav-links .nl[data-section="resources"], body[data-section="company"] .nav-links .nl[data-section="company"] { color: var(--accent); border-bottom-color: var(--accent); }
/* ---- search 2026-10 ---- */
/* Header dropdown: "Models" / "Product categories" headings, a scroll cap on short screens, the "View all" link set off */
.sr-list { max-height: min(72vh, 640px); overflow-y: auto; }
.sr-head { padding: 10px 8px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sr-head:first-child { padding-top: 2px; }
.sr-list .sr-all { margin-top: 6px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
/* Results page: summary line under the H1, card titles at the model-card size */
.article-head .sr-summary { margin: 0; }
.sr-grid h3 { font-size: 17px; }

/* ---- seo 2026-11 ---- */
/* The mega-menu card title is a div, not an h3 (it sat before the H1): same look as before. */
.mega-card .mega-card-title { font-family: var(--display); font-weight: 600; text-wrap: balance; font-size: 22px; line-height: 1.25; color: #fff; }

/* ---- mobile 2026-11 ---- */
/* Mobile menu: the desktop rule gives the top-level items height:100%; inside the open (fixed, full-height) menu that made
   "Products" ~1,150px tall, so the sub-menu opened below a blank screen. */
@media (max-width: 1080px) {
  .nav.open .nav-links a.nl, .nav.open .nav-links button.nl { height: auto; }
  .nav.open .nav-links > li { flex: none; }
}
/* Single-column layouts may shrink below their content's min width (the 304px reCAPTCHA box widened pages at 320px). */
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cta-form { grid-template-columns: minmax(0, 1fr); } }
/* Search box (404 page, search results): the input may shrink so the button stays on screen. */
.search-row input { min-width: 0; }
/* Very small phones (320px, e.g. iPhone SE 1st gen): the header CTA wraps to two lines instead of pushing the page sideways,
   reCAPTCHA is scaled to fit, the cookie notice stays inside the screen. */
@media (max-width: 374px) {
  .nav { gap: 8px; padding-inline: 12px; }
  .nav > .cta-btn { flex-shrink: 1; min-width: 0; white-space: normal; text-align: center; line-height: 1.15; padding: 4px 8px; font-size: 12px; }
  .g-recaptcha { transform: scale(.86); transform-origin: 0 0; height: 68px; }
  .cookie-notice { right: 12px; left: 12px; max-width: none; }
}
/* About page leadership block (pre-launch audit 2026-11): three per row; no photo = initials on the photo tile. */
.team.leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.member .ph.initials { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 1; background: var(--surface); color: var(--accent); font: 600 clamp(28px, 4vw, 40px)/1 var(--display); letter-spacing: .04em; }
@media (max-width: 760px) { .team.leaders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .team.leaders { grid-template-columns: 1fr; } }

/* small print written in the CMS as <small> (ContentParser footnotes) */
.footnotes { max-width: 900px; font-size: 13px; line-height: 1.55; color: var(--muted, #6b6b76); }
.footnotes p { margin: 0 0 6px; }
