/* ==========================================================================
   Completely Managed Inc. — site.css (v2 redesign)
   Design system: graphite + light paper, CM blue accent, system type.
   ========================================================================== */

:root {
  --ink: #07090c;
  --ink-2: #0d1015;
  --ink-3: #141920;
  --ink-4: #1c222b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f6f8;
  --muted: #a3aab5;
  --muted-2: #6f7784;
  --paper: #f5f5f7;
  --paper-2: #ffffff;
  --paper-ink: #1d1d1f;
  --paper-muted: #6e6e73;
  --accent: #3ab4ff;
  --accent-2: #1f7bff;
  --accent-ink: #0a6fd6;
  --glow: rgba(58, 180, 255, .55);
  --steel: #8b939d;
  --radius: 28px;
  --radius-sm: 18px;
  --header-h: 56px;
  --wrap: 1180px;
  --wrap-wide: 1440px;
  --pad: clamp(20px, 5vw, 48px);
  --section: clamp(96px, 13vw, 190px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.028em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: #001; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.wrap-wide { width: 100%; max-width: calc(var(--wrap-wide) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--flush-top { padding-top: 0; }
.section--light { background: var(--paper); color: var(--paper-ink); }
.section--white { background: var(--paper-2); color: var(--paper-ink); }
.section--ink2 { background: var(--ink-2); }
.section--light .muted, .section--white .muted { color: var(--paper-muted); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block; font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; letter-spacing: -.01em;
  background: linear-gradient(90deg, #6fd0ff, #3a8bff); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.section--light .eyebrow, .section--white .eyebrow { background: linear-gradient(90deg, #0a7fd6, #2a5bff); -webkit-background-clip: text; background-clip: text; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display { font-size: clamp(44px, 7.6vw, 112px); letter-spacing: -.045em; line-height: .98; }
.h1 { font-size: clamp(42px, 6.6vw, 96px); letter-spacing: -.04em; line-height: 1; }
.h2 { font-size: clamp(34px, 5.2vw, 76px); letter-spacing: -.035em; }
.h3 { font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1.08; }
.h4 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.18; }
.lede { font-size: clamp(19px, 2vw, 26px); line-height: 1.38; color: var(--muted); letter-spacing: -.016em; font-weight: 500; }
.section--light .lede, .section--white .lede { color: var(--paper-muted); }
.lede strong, .statement strong { color: var(--text); font-weight: 600; }
.section--light .lede strong { color: var(--paper-ink); }
.grad { background: linear-gradient(100deg, #fff 10%, #9fdcff 55%, #3a8bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-steel { background: linear-gradient(180deg, #ffffff 0%, #c7ced6 55%, #7f8893 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; max-width: 18em; }
.statement .w { opacity: .16; transition: opacity .2s linear; }
.reduce .statement .w, .no-js .statement .w { opacity: 1; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btns, .btns.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px;
  background: var(--accent-2); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 8px 28px -10px rgba(31, 123, 255, .8);
}
.btn:hover { background: #3a8bff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); }
.section--light .btn--ghost, .section--white .btn--ghost { color: var(--paper-ink); border-color: rgba(0, 0, 0, .18); }
.section--light .btn--ghost:hover { background: rgba(0, 0, 0, .05); }
.link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease); }
.link:hover::after { transform: translate(3px, -1px); }
.section--light .link, .section--white .link { color: var(--accent-ink); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(9, 11, 14, .66);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s;
}
.site-header.is-scrolled { background: rgba(9, 11, 14, .82); }
.nav { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 40px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: static; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: center; gap: 5px; height: var(--header-h); padding: 0 12px;
  font-size: 13.5px; color: rgba(245, 246, 248, .82); letter-spacing: -.005em; transition: color .2s;
}
.nav-trigger:hover, .nav-link:hover, .nav-item.open .nav-trigger, .nav-link[aria-current="page"], .nav-trigger.is-current { color: #fff; }
.nav-trigger svg { width: 9px; height: 9px; opacity: .6; transition: transform .25s; }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.nav-cta { margin-left: 8px; min-height: 32px; padding: 0 15px; font-size: 13px; box-shadow: none; }
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: rgba(10, 12, 16, .92);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.mega-inner { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 32px 48px; padding: 38px 0 46px; }
.mega h3 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.mega a.mega-link { display: block; padding: 7px 0; font-size: 15px; font-weight: 600; color: #e9ecf0; letter-spacing: -.01em; }
.mega a.mega-link small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.mega a.mega-link:hover { color: var(--accent); }
.mega-feature { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.mega-feature img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.mega-feature span { display: block; padding: 14px 16px 16px; font-weight: 600; font-size: 15px; }
.mega-feature span small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 3px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 18px; height: 1.5px; background: #fff; display: block; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 1060px) {
  .nav-menu, .nav-cta-wrap { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: rgba(9, 11, 14, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 12px var(--pad) 48px; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .menu-open { overflow: hidden; }
  .m-group { border-bottom: 1px solid var(--line); }
  .m-group > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
  .m-group > button svg { width: 12px; height: 12px; transition: transform .3s; opacity: .6; }
  .m-group.open > button svg { transform: rotate(180deg); }
  .m-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
  .m-group.open .m-panel { grid-template-rows: 1fr; }
  .m-panel > div { overflow: hidden; }
  .m-panel a { display: block; padding: 10px 0 10px 2px; font-size: 17px; color: #d8dce2; }
  .m-panel a:last-child { margin-bottom: 14px; }
  .m-direct { display: block; padding: 18px 0; font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 26px; width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.hero--center { align-items: center; text-align: center; }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media img, .hero-media picture { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 12, .55) 0%, rgba(7, 9, 12, .1) 35%, rgba(7, 9, 12, .55) 70%, var(--ink) 100%); }
.hero-media.kenburns img { animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero-schematic { position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.hero-schematic svg { width: min(68vw, 980px); height: auto; margin-right: -4vw; opacity: .95; }
.hero--schematic { background: radial-gradient(120% 90% at 78% 40%, #0f2a44 0%, #0a1420 35%, var(--ink) 70%); }
.hero--schematic::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(90% 80% at 70% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(90% 80% at 70% 45%, #000 20%, transparent 75%); }
.hero-content { position: relative; width: 100%; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(64px, 11vh, 130px); }
.hero-content .lede { max-width: 34em; margin-top: 22px; color: #c9cfd8; }
.hero--center .hero-content .lede { margin-left: auto; margin-right: auto; }
.hero-content .btns { margin-top: 34px; }
.hero--schematic .hero-content { max-width: 760px; margin-left: 0; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 760px) {
  .hero-schematic { align-items: flex-start; justify-content: center; padding-top: calc(var(--header-h) + 24px); }
  .hero-schematic svg { width: 120vw; margin: 0; opacity: .55; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reduce .reveal, .no-gsap .reveal.is-in { opacity: 1 !important; transform: none !important; }

/* ---------- Intro block ---------- */
.intro { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 980px; }
.intro .lede { max-width: 40em; }
.center .intro, .intro.center { margin: 0 auto; text-align: center; }
.center .intro .lede { margin: 0 auto; }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .lede { margin-top: 20px; max-width: 38em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Media frames ---------- */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--screen { background: #0b0f15; padding: 0; }
.frame--screen::before { content: ""; display: block; height: 28px; background: linear-gradient(#1a2029, #141920); border-bottom: 1px solid var(--line); }
.frame--screen::after { content: ""; position: absolute; top: 10px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; box-shadow: 14px 0 #febc2e, 28px 0 #28c840; }
.frame--screen img { height: auto; object-fit: contain; }
.section--light .frame { border-color: rgba(0, 0, 0, .06); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .45); }
.caption { margin-top: 14px; font-size: 13px; color: var(--muted-2); }
.tag-illustration { position: absolute; right: 12px; bottom: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }

/* ---------- Sticky story (image stays, content changes) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story--flip { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.story--flip .story-media { order: 2; }
.story-media { position: sticky; top: calc(var(--header-h) + 6vh); height: min(76vh, 760px); }
.story-media .frames { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); box-shadow: 0 50px 140px -50px rgba(0, 0, 0, .9); }
.section--light .story-media .frames { border-color: rgba(0, 0, 0, .06); background: #e8e8ed; box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .35); }
.story-media .sf { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.story-media .sf.is-active { opacity: 1; transform: none; }
.story-media .sf img, .story-media .sf picture { width: 100%; height: 100%; object-fit: cover; }
.story-media .sf.contain img { object-fit: contain; background: #0b0f15; }
.story-media .sf.screen img { object-fit: cover; object-position: left top; }
.story-media .sf svg { width: 100%; height: 100%; }
.story-media .sf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35)); pointer-events: none; }
.story-media .sf.screen::after, .story-media .sf.plain::after { display: none; }
.story-steps { display: flex; flex-direction: column; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; opacity: .28; transition: opacity .6s var(--ease); }
.story-step.is-active { opacity: 1; }
.story-step:first-child { min-height: 64vh; }
.story-step .kicker { margin-bottom: 18px; color: var(--accent); }
.story-step h3 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.035em; line-height: 1.04; margin-bottom: 20px; }
.story-step p { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 30em; line-height: 1.45; }
.section--light .story-step p { color: var(--paper-muted); }
.story-step ul.ticks { margin-top: 22px; }
.reduce .story-step, .no-gsap .story-step { opacity: 1; }
.story-progress { position: absolute; left: 22px; bottom: 20px; display: flex; gap: 6px; z-index: 3; }
.story-progress i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: background .4s, width .4s; }
.story-progress i.on { background: #fff; width: 38px; }
@media (max-width: 900px) {
  .story, .story--flip { grid-template-columns: 1fr; gap: 0; }
  .story--flip .story-media { order: 0; }
  .story-media { top: calc(var(--header-h) + 12px); height: 42vh; height: 42svh; z-index: 2; }
  .story-step { min-height: 62vh; padding: 8vh 0 4vh; }
  .story-step:first-child { min-height: 55vh; }
  .story-step h3 { font-size: 30px; }
}

/* ---------- Zoom pin (inset card expands to full-bleed) ---------- */
.zoom { position: relative; height: 230vh; }
.zoom-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.zoom-card { position: relative; width: 100%; height: 100%; --s: .58; --r: 36px; clip-path: inset(calc((1 - var(--s)) * 50%) calc((1 - var(--s)) * 50%) round var(--r)); will-change: clip-path; }
.zoom-card img, .zoom-card picture { width: 100%; height: 100%; object-fit: cover; }
.zoom-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); opacity: var(--o, 0); }
.zoom-copy { position: absolute; inset: auto 0 9vh 0; text-align: center; padding: 0 var(--pad); opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 40px)); z-index: 2; }
.zoom-copy .lede { color: #dde2e8; max-width: 34em; margin: 18px auto 0; }
.reduce .zoom, .no-gsap .zoom { height: auto; }
.reduce .zoom-sticky, .no-gsap .zoom-sticky { position: relative; height: 80vh; }
.reduce .zoom-card, .no-gsap .zoom-card { --s: 1; --r: 0px; --o: 1; }
.reduce .zoom-copy, .no-gsap .zoom-copy { --o: 1; }

/* ---------- Parallax band ---------- */
.band { position: relative; height: clamp(420px, 80vh, 860px); overflow: hidden; }
.band .band-media { position: absolute; inset: -12% 0; }
.band .band-media img, .band .band-media picture { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 12, .85) 0%, rgba(7, 9, 12, .35) 55%, rgba(7, 9, 12, .1) 100%); }
.band-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.band-copy .lede { max-width: 30em; margin-top: 20px; color: #d3d8df; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  position: relative; border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.card:hover { border-color: var(--line-2); }
a.card:hover { transform: translateY(-4px); }
.card .num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); margin-bottom: 26px; display: block; }
.card h3 { font-size: clamp(21px, 1.9vw, 27px); letter-spacing: -.024em; line-height: 1.15; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.card .icon { width: 46px; height: 46px; margin-bottom: 24px; color: var(--accent); }
.card .link { margin-top: 20px; font-size: 15px; }
.card--glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(58, 180, 255, .6), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.section--light .card, .section--white .card { background: #fff; border-color: rgba(0, 0, 0, .06); box-shadow: 0 20px 60px -40px rgba(0, 0, 0, .3); }
.section--white .card { background: var(--paper); }
.section--light .card p, .section--white .card p { color: var(--paper-muted); }
.card--media { padding: 0; display: flex; flex-direction: column; }
.card--media .card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--ink-3); }
.card--media .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card--media:hover .card-img img { transform: scale(1.04); }
.card--media .card-body { padding: 26px 28px 30px; }
.ticks li { position: relative; padding-left: 26px; margin: 9px 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.section--light .ticks li, .section--white .ticks li { color: var(--paper-muted); }
.section--light .ticks li::before { border-color: var(--accent-ink); }

/* ---------- Expanding rows (open/close as you scroll) ---------- */
.xrows { border-top: 1px solid var(--line); }
.section--light .xrows, .section--white .xrows { border-color: rgba(0, 0, 0, .1); }
.xrow { border-bottom: 1px solid var(--line); }
.section--light .xrow, .section--white .xrow { border-color: rgba(0, 0, 0, .1); }
.xrow-head { width: 100%; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 12px; padding: clamp(22px, 3vw, 34px) 0; text-align: left; }
.xrow-head .n { font-family: var(--mono); font-size: 13px; color: var(--muted-2); letter-spacing: .1em; transition: color .4s; }
.xrow-head h3 { font-size: clamp(22px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; color: rgba(245, 246, 248, .45); transition: color .5s var(--ease); }
.section--light .xrow-head h3, .section--white .xrow-head h3 { color: rgba(29, 29, 31, .4); }
.xrow-head .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; justify-self: end; transition: transform .5s var(--ease), background .4s; }
.xrow-head .pm::before, .xrow-head .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; }
.xrow-head .pm::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.xrow-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.xrow-body > div { overflow: hidden; }
.xrow-inner { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 12px 32px; padding: 0 0 clamp(26px, 3vw, 40px); }
.xrow-inner > p { grid-column: 2; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; opacity: 0; transform: translateY(10px); transition: opacity .6s .1s, transform .6s .1s var(--ease); }
.xrow-inner > ul { grid-column: 3; opacity: 0; transition: opacity .6s .2s; }
.xrow-inner > p:only-child { grid-column: 2 / 4; }
.section--light .xrow-inner > p { color: var(--paper-muted); }
.xrow.open .xrow-body { grid-template-rows: 1fr; }
.xrow.open .xrow-head h3 { color: inherit; }
.xrow.open .xrow-head .n { color: var(--accent); }
.xrow.open .xrow-head .pm { transform: rotate(180deg); background: rgba(58, 180, 255, .15); border-color: rgba(58, 180, 255, .5); }
.xrow.open .xrow-head .pm::after { transform: rotate(0deg); }
.xrow.open .xrow-inner > p, .xrow.open .xrow-inner > ul { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .xrow-head { grid-template-columns: 44px 1fr 34px; }
  .xrow-inner { grid-template-columns: 1fr; padding-left: 44px; }
  .xrow-inner > p, .xrow-inner > ul, .xrow-inner > p:only-child { grid-column: 1; }
}

/* ---------- Horizontal scroller ---------- */
.hs { position: relative; overflow: hidden; }
@media (min-width: 900px) and (hover: hover) { .hs-section { padding: 0; } .hs { min-height: 100vh; display: flex; align-items: center; } }
.reduce .hs-section { padding: var(--section) 0; }
.hs-track { display: flex; gap: 22px; padding: 0 var(--pad); will-change: transform; }
.hs-item { flex: 0 0 clamp(290px, 34vw, 460px); }
.hs-item .card { height: 100%; }
.hs-intro { flex: 0 0 clamp(290px, 32vw, 440px); display: flex; flex-direction: column; justify-content: center; padding-right: 30px; }
@media (max-width: 899px), (hover: none) and (max-width: 1100px) {
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 18px; scrollbar-width: none; }
  .hs-track::-webkit-scrollbar { display: none; }
  .hs-item, .hs-intro { scroll-snap-align: start; flex-basis: 82vw; }
}
.reduce .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; }

/* ---------- Chips / stats ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #d9dee5; background: rgba(255, 255, 255, .03); }
.chip b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
a.chip:hover { border-color: var(--accent); color: #fff; }
.section--light .chip, .section--white .chip { border-color: rgba(0, 0, 0, .14); color: var(--paper-ink); background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -.045em; line-height: 1; font-weight: 700; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat { border-top: 1px solid var(--line); } .stat:nth-child(-n+2) { border-top: 0; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split .lede { margin-top: 20px; }
.split .btns { margin-top: 30px; }
@media (max-width: 900px) { .split, .split--wide-media { grid-template-columns: 1fr; } }

/* ---------- Spec table / reference ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec th { width: 28%; font-weight: 600; padding-right: 28px; color: #fff; }
.spec td { color: var(--muted); }
.section--light .spec th { color: var(--paper-ink); }
.section--light .spec th, .section--light .spec td { border-color: rgba(0, 0, 0, .1); }
.section--light .spec td { color: var(--paper-muted); }
@media (max-width: 640px) { .spec th, .spec td { display: block; width: 100%; padding: 6px 0; border: 0; } .spec tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); } }
details.ref { border-top: 1px solid var(--line); }
details.ref:last-of-type { border-bottom: 1px solid var(--line); }
details.ref summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(19px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; }
details.ref summary::-webkit-details-marker { display: none; }
details.ref summary::after { content: "+"; font-weight: 300; font-size: 30px; color: var(--accent); transition: transform .3s; }
details.ref[open] summary::after { transform: rotate(45deg); }
details.ref .ref-body { padding: 0 0 34px; color: var(--muted); max-width: 980px; }
details.ref .ref-body p + p, details.ref .ref-body p + ul, details.ref .ref-body ul + p { margin-top: 14px; }
.section--light details.ref, .section--white details.ref { border-color: rgba(0, 0, 0, .1); }
.section--light details.ref .ref-body { color: var(--paper-muted); }
.cols-2 { columns: 2; column-gap: 48px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 700px) { .cols-2 { columns: 1; } }

/* ---------- Tier ladder ---------- */
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tier { border-radius: var(--radius-sm); padding: 24px 20px 26px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tier .lvl { display: flex; gap: 4px; margin-bottom: 22px; }
.tier .lvl i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.tier .lvl i.on { background: linear-gradient(90deg, #3ab4ff, #1f7bff); box-shadow: 0 0 12px var(--glow); }
.tier h4 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 8px; }
.tier p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.tier .kicker { display: block; margin-bottom: 8px; color: var(--accent); }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- LANAWARE Edge gear ---------- */
.gear-section { position: relative; background: radial-gradient(90% 70% at 30% 50%, #0d2236 0%, #090d13 45%, var(--ink) 75%); }
.gear-pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.gear-layout { width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 70px); align-items: center; padding-top: var(--header-h); }
.gear-stage { position: relative; width: min(100%, 78vh, 760px); aspect-ratio: 1; margin: 0 auto; }
.gear-stage svg { width: 100%; height: 100%; overflow: visible; }
.gear-stage .gear-shadow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(58, 180, 255, .22), transparent 70%); filter: blur(30px); z-index: -1; transition: opacity 1s; }
#gear .seg { cursor: pointer; }
#gear .seg-face { transition: fill .6s var(--ease); }
#gear .seg-led { opacity: .12; transition: opacity .5s, filter .5s; }
#gear .seg-label, #gear .seg-num { fill: #8f99a6; transition: fill .5s; }
#gear .seg-icon { stroke: #7d8794; transition: stroke .5s; }
#gear .seg.lit .seg-led { opacity: .55; }
#gear .seg.active .seg-face { fill: url(#segActive); }
#gear .seg.active .seg-led { opacity: 1; filter: url(#glow); }
#gear .seg.active .seg-label, #gear .seg.active .seg-num { fill: #ffffff; }
#gear .seg.active .seg-icon { stroke: #bfe8ff; }
#gear .seg:hover .seg-label { fill: #dbe7f3; }
#gear .seg:focus-visible { outline: none; }
#gear .seg:focus-visible .seg-face { stroke: #fff; stroke-width: 3; }
#gear .ring-text { fill: #1a1f25; transition: fill .8s; }
#gear.ring-done .ring-text { fill: #cfeeff; filter: url(#glowSoft); }
.gear-panel { position: relative; min-height: 520px; }
.gp { position: absolute; inset: 0 0 46px 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.gp.is-active { opacity: 1; transform: none; pointer-events: auto; }
.gp .kicker { color: var(--accent); margin-bottom: 14px; }
.gp h3 { font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.035em; margin-bottom: 14px; }
.gp p { color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); max-width: 30em; }
.gp .gp-media { margin-top: 26px; max-width: 560px; }
.gp .gp-media .frame { aspect-ratio: 16/9.2; }
.gp .gp-media .frame img { object-fit: cover; object-position: left top; height: calc(100% - 28px); }
.gp .gp-media .frame svg { width: 100%; height: calc(100% - 28px); }
.gear-hint { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 13px; color: var(--muted-2); }
.gear-dots { display: flex; gap: 6px; position: absolute; left: 0; bottom: 0; }
.gear-dots button { width: 26px; height: 26px; border-radius: 50%; font-family: var(--mono); font-size: 10px; color: var(--muted); border: 1px solid var(--line-2); transition: all .3s; }
.gear-dots button.on { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.gear-static .gp .gp-media { max-width: 440px; }
.gear-static .gp h3 { font-size: clamp(26px, 2.6vw, 38px); }
.gear-static .gear-pin { height: auto; padding: calc(var(--header-h) + 60px) 0 80px; }
@media (max-width: 900px) {
  .gear-layout { grid-template-columns: 1fr; gap: 6px; align-content: start; padding-top: calc(var(--header-h) + 8px); height: 100%; }
  .gear-stage { width: min(84vw, 44vh, 44svh); }
  .gear-panel { min-height: 0; height: calc(100svh - var(--header-h) - min(84vw, 44svh) - 40px); }
  .gp { justify-content: flex-start; padding-top: 10px; text-align: center; align-items: center; }
  .gp h3 { font-size: clamp(22px, 6vw, 30px); margin-bottom: 8px; }
  .gp p { font-size: 15px; }
  .gp .gp-media { margin-top: 14px; width: min(100%, 360px); }
  .gear-dots { justify-content: center; flex-wrap: wrap; right: 0; bottom: 6px; }
  .gear-dots button { width: 24px; height: 24px; }
  .gear-hint { display: none; }
  .gear-static .gear-panel { height: auto; min-height: 520px; }
}
@media (max-width: 900px) and (max-height: 760px) { .gp .gp-media { display: none; } }

/* ---------- Echo diagram ---------- */
.echo-wrap { position: relative; }
.echo-v { display: none; }
@media (max-width: 700px) { .echo-h { display: none; } .echo-v { display: block; max-width: 420px; margin: 0 auto; } }
.echo-svg { width: 100%; height: auto; }
.echo-svg .node-box { fill: #10161e; stroke: rgba(255, 255, 255, .14); }
.echo-svg .node-title { fill: #fff; font: 600 22px var(--font); letter-spacing: -.01em; }
.echo-svg .node-sub { fill: #8f99a6; font: 400 15px var(--font); }
.echo-svg .copy-tag { font: 500 12px var(--mono); letter-spacing: .12em; fill: #3ab4ff; }
.echo-svg .wire { stroke: rgba(255, 255, 255, .14); stroke-width: 2; fill: none; }
.echo-svg .wire-live { stroke-width: 3; fill: none; stroke-dasharray: 8 12; animation: flow 1.4s linear infinite; opacity: .25; transition: opacity .6s; }
.echo-svg .stage-on .wire-live { opacity: 1; }
.echo-svg .packet { fill: #6fd0ff; opacity: 0; transition: opacity .4s; }
.echo-svg .stage-on .packet { opacity: 1; }
.echo-svg .eg { opacity: .35; transition: opacity .8s var(--ease); }
.echo-svg .eg.on { opacity: 1; }
.echo-svg .lock { stroke: #3ab4ff; }
.echo-svg .restore { stroke: #ffb648; stroke-width: 3; fill: none; stroke-dasharray: 10 10; animation: flow 1.2s linear infinite reverse; opacity: 0; transition: opacity .6s; }
.echo-svg.restore-on .restore { opacity: 1; }
.echo-svg .led { animation: blink 2.4s infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.echo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.echo-step { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .5s, background .5s; }
.echo-step b { display: block; font-size: 40px; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.echo-step span { color: var(--muted); font-size: 15px; }
.echo-step.on { border-color: rgba(58, 180, 255, .55); background: rgba(58, 180, 255, .07); }
.echo-step.on b { color: var(--accent); }
@media (max-width: 760px) { .echo-steps { grid-template-columns: 1fr 1fr; } }
.reduce .echo-svg *, .reduce .hero-schematic * { animation: none !important; }
.reduce .echo-svg .packet { display: none; }

/* ---------- Schematic animation primitives ---------- */
.sx .ln { stroke: rgba(160, 200, 235, .28); stroke-width: 1.5; fill: none; }
.sx .ln2 { stroke: rgba(160, 200, 235, .16); stroke-width: 1; fill: none; }
.sx .fl { stroke: #3ab4ff; stroke-width: 2.2; fill: none; stroke-dasharray: 6 14; animation: flow 1.6s linear infinite; filter: url(#sxglow); }
.sx .fl.slow { animation-duration: 3s; }
.sx .fl.rev { animation-direction: reverse; }
.sx .nd { fill: #0e1822; stroke: rgba(120, 190, 240, .55); stroke-width: 1.5; }
.sx .nd-hot { fill: #0e2a44; stroke: #3ab4ff; stroke-width: 2; filter: url(#sxglow); }
.sx .dot { fill: #3ab4ff; filter: url(#sxglow); }
.sx .pulse { animation: pulse 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.sx .pulse.d1 { animation-delay: .6s; } .sx .pulse.d2 { animation-delay: 1.2s; } .sx .pulse.d3 { animation-delay: 1.8s; }
.sx .blink { animation: blink 1.8s infinite; }
.sx .blink.d1 { animation-delay: .4s; } .sx .blink.d2 { animation-delay: .9s; } .sx .blink.d3 { animation-delay: 1.3s; }
.sx .lbl { fill: rgba(200, 220, 240, .6); font: 500 11px var(--mono); letter-spacing: .14em; }
.sx .ring { fill: none; stroke: #3ab4ff; stroke-width: 1.5; animation: ripple 3.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.sx .ring.d1 { animation-delay: 1.06s; } .sx .ring.d2 { animation-delay: 2.13s; }
.sx .spin { animation: spin 40s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes ripple { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Product showcase (SmartKits / MVE) ---------- */
.showcase { position: relative; text-align: center; }
.showcase-img { margin: clamp(40px, 6vw, 80px) auto 0; max-width: 1100px; }
.showcase-img img { width: 100%; border-radius: var(--radius); }
.hotspots { position: relative; }
.hotspot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(31, 123, 255, .92); color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 0 rgba(58, 180, 255, .6); animation: hs 2.4s infinite; z-index: 2; }
@keyframes hs { 0% { box-shadow: 0 0 0 0 rgba(58, 180, 255, .6); } 70% { box-shadow: 0 0 0 16px rgba(58, 180, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 180, 255, 0); } }
.hotspot-tip { position: absolute; transform: translate(-50%, calc(-100% - 26px)); background: rgba(12, 15, 20, .94); border: 1px solid var(--line-2); padding: 12px 16px; border-radius: 14px; width: 240px; text-align: left; font-size: 14px; color: #dfe4ea; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; z-index: 3; pointer-events: none; }
.hotspot-tip b { display: block; color: #fff; margin-bottom: 4px; }
.hotspot-tip.show { opacity: 1; visibility: visible; transition: opacity .3s; }
.config-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.config-grid .card { padding: 26px 22px; }
.config-grid .card h3 { font-size: 19px; }
.config-grid .card p { font-size: 14.5px; }
@media (max-width: 1000px) { .config-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .config-grid { grid-template-columns: 1fr; } }

/* ---------- Mode compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare .card dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.compare .card dt { color: var(--muted-2); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.compare .card dd { margin: 0; color: #e6e9ee; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Steps row ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps > div { padding: 30px 26px 10px 0; border-top: 2px solid var(--line); position: relative; }
.steps > div::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); display: block; margin-bottom: 16px; }
.steps > div::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: var(--p, 0%); background: linear-gradient(90deg, #3ab4ff, #1f7bff); transition: width 1.2s var(--ease); }
.steps > div.is-in::after { --p: 100%; }
.steps h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; }
.section--light .steps > div { border-color: rgba(0, 0, 0, .1); }
.section--light .steps p { color: var(--paper-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 22px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.person { padding: 28px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.person .avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 19px; background: linear-gradient(135deg, #1f7bff, #3ab4ff); color: #fff; margin-bottom: 22px; }
.person h3 { font-size: 20px; letter-spacing: -.02em; }
.person .role { color: var(--accent); font-size: 14px; margin: 4px 0 12px; font-weight: 600; }
.person p { color: var(--muted); font-size: 15px; }
.section--light .person { background: #fff; border-color: rgba(0, 0, 0, .06); }
.section--light .person p { color: var(--paper-muted); }
.section--light .person .role { color: var(--accent-ink); }
@media (max-width: 980px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); }
.timeline .t { position: relative; padding-top: 40px; }
.timeline .t::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--accent); box-shadow: 0 0 16px var(--glow); }
.timeline .t b { font-size: 34px; letter-spacing: -.04em; display: block; margin-bottom: 4px; }
.timeline .t h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.015em; }
.timeline .t p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline::before { display: none; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #dfe3e9; }
.field label .opt { color: var(--muted-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, #a3aab5 50%), linear-gradient(135deg, #a3aab5 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #12161c; color: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(58, 180, 255, .05); }
.radio-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .radio-cards { grid-template-columns: 1fr 1fr; } }
.radio-cards label { position: relative; display: block; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .2s, background .2s; }
.radio-cards label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 4px; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards input:checked + span { color: #fff; }
.radio-cards label:has(input:checked) { border-color: var(--accent); background: rgba(58, 180, 255, .08); }
.radio-cards label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; padding: 14px 16px; border-radius: 12px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(40, 200, 120, .12); color: #9ff0c4; }
.form-status.err { background: rgba(255, 90, 90, .12); color: #ffb3b3; }
.contact-cards { display: grid; gap: 14px; }
.contact-cards .card { padding: 26px 28px; }
.contact-cards a { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; background: radial-gradient(70% 90% at 50% 100%, rgba(31, 123, 255, .28), transparent 70%), var(--ink); }
.cta .h1 { max-width: 12em; margin: 0 auto; }
.cta .lede { margin: 22px auto 0; max-width: 32em; }
.cta .btns { justify-content: center; margin-top: 36px; }
.cta-lines { position: absolute; inset: auto 0 0 0; height: 60%; opacity: .5; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: #050608; border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 14px; color: var(--muted); }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 36px; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 22em; line-height: 1.55; }
.foot-col h4 { font-size: 12px; font-family: var(--mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #e6e9ee; margin-bottom: 16px; }
.foot-col a { display: block; padding: 5px 0; color: var(--muted); transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.foot-bottom a:hover { color: #fff; }
.foot-contact a { color: #e6e9ee; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.spacer { height: clamp(40px, 6vw, 80px); }
.mt-s { margin-top: 20px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: clamp(56px, 8vw, 110px); }
.maxw { max-width: 760px; }
.note { font-size: 13px; color: var(--muted-2); }
.badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; background: rgba(58, 180, 255, .12); color: var(--accent); border: 1px solid rgba(58, 180, 255, .3); }
.ring-deco { position: absolute; border-radius: 50%; border: 1px solid rgba(58, 180, 255, .18); pointer-events: none; }
.icon-inline { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; }
.redirect-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-media.kenburns img { animation: none; }
}
@media print {
  .site-header, .mobile-menu, .scroll-cue, .hero-canvas { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Echo pinned layout */
.echo-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 28px) 0 32px; }
.echo-pin .section-head { margin-bottom: clamp(20px, 3vh, 40px); }
.echo-pin .section-head h2 { font-size: clamp(30px, 4vw, 56px); }
.echo-pin .echo-h svg { max-height: 44vh; margin: 0 auto; }
.echo-pin .section-head .lede { font-size: clamp(16px, 1.5vw, 20px); margin-top: 12px; }
.echo-pin .echo-v svg { max-height: 50vh; margin: 0 auto; }
.echo-pin .echo-steps { margin-top: 20px; }
.echo-pin .echo-step { padding: 14px 18px; }
.echo-pin .echo-step b { font-size: 30px; }
@media (max-width: 700px) { .echo-pin .echo-step span { font-size: 13px; } .echo-pin .section-head .lede { font-size: 16px; } }
.hs-item .card { min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(58,180,255,.10), rgba(255,255,255,.02) 60%); }
.hs-item .card .icon { width: 54px; height: 54px; margin-bottom: auto; }

/* ---------- Partners marquee & certification wall ---------- */
.partners { overflow: hidden; }
.mq { position: relative; display: grid; gap: 18px; padding: 8px 0 clamp(48px, 7vw, 90px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.logo-tile { flex: none; width: clamp(190px, 18vw, 250px); height: clamp(104px, 9vw, 124px); border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.logo-tile img { max-width: 62%; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(1.7) contrast(.9); opacity: .78; transition: filter .4s, opacity .4s; }
.logo-tile .wordmark { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; color: #e8ecf1; opacity: .82; text-align: center; padding: 0 14px; line-height: 1.1; transition: color .4s, opacity .4s; }
.logo-tile .wordmark.long { font-size: clamp(16px, 1.35vw, 19px); }
.logo-tile small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); transition: color .4s; }
.logo-tile:hover { border-color: rgba(58,180,255,.5); background: linear-gradient(180deg, rgba(58,180,255,.12), rgba(255,255,255,.02)); transform: translateY(-3px); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile:hover .wordmark { color: #fff; opacity: 1; }
.logo-tile:hover small { color: var(--accent); }
.section--light .logo-tile { background: #fff; border-color: rgba(0,0,0,.07); box-shadow: 0 16px 40px -30px rgba(0,0,0,.35); }
.section--light .logo-tile img { filter: grayscale(1) contrast(1.1); opacity: .7; }
.section--light .logo-tile .wordmark { color: #2a2d33; }
.cert-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; perspective: 1200px; }
.cert { position: relative; border-radius: 18px; padding: 20px 16px 22px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transform-origin: 50% 100%; overflow: hidden; }
.cert::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(120,200,255,.18) 48%, transparent 66%); transform: translateX(-120%); transition: transform 1.1s var(--ease); pointer-events: none; }
.cert.shine::after, .cert:hover::after { transform: translateX(120%); }
.cert-issuer { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cert b { display: block; font-size: 17px; letter-spacing: -.015em; line-height: 1.2; }
.section--light .cert { background: #fff; border-color: rgba(0,0,0,.07); }
.section--light .cert-issuer { color: var(--accent-ink); }
@media (max-width: 1100px) { .cert-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cert-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mq { -webkit-mask-image: none; mask-image: none; } }
.reduce .mq-track { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--pad); transform: none !important; }
.reduce .mq-row[data-dir="1"], .reduce .logo-tile.dup { display: none; }
.reduce .mq { -webkit-mask-image: none; mask-image: none; }

/* ---------- Website chat (driven by the existing /assets/js/chatbot.js) ---------- */
#cm-chat-bubble, #cm-back-to-top { position: fixed; right: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
#cm-chat-bubble { bottom: 22px; background: var(--accent-2); color: #fff; box-shadow: 0 14px 40px -12px rgba(31,123,255,.9); }
#cm-chat-bubble svg { width: 24px; height: 24px; fill: currentColor; }
#cm-chat-bubble:hover { transform: scale(1.06); background: #3a8bff; }
#cm-back-to-top { bottom: 88px; width: 44px; height: 44px; right: 28px; background: rgba(20,25,32,.86); color: #fff; border: 1px solid var(--line-2); font-size: 18px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
#cm-chat-window { position: fixed; right: 22px; bottom: 92px; z-index: 95; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 140px)); display: none; flex-direction: column; overflow: hidden;
  background: rgba(12,15,20,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
#cm-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
#cm-chat-header-left { display: flex; gap: 12px; align-items: center; }
#cm-chat-window .cm-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, #1f7bff, #3ab4ff); color: #fff; }
#cm-chat-window .cm-chat-name { font-weight: 600; font-size: 15px; }
#cm-chat-window .cm-chat-sub { font-size: 12px; color: var(--muted); }
#cm-chat-close { font-size: 26px; line-height: 1; color: var(--muted); width: 36px; height: 36px; }
#cm-chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
#cm-chat-window .cm-msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
#cm-chat-window .cm-msg.bot { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 6px; }
#cm-chat-window .cm-msg.user { align-self: flex-end; background: var(--accent-2); color: #fff; border-bottom-right-radius: 6px; }
#cm-chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
#cm-chat-input { flex: 1; resize: none; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-size: 16px; padding: 10px 12px; }
#cm-chat-input:focus { outline: none; border-color: var(--accent); }
#cm-chat-send { width: 44px; border-radius: 14px; background: var(--accent-2); color: #fff; display: grid; place-items: center; }
#cm-chat-send svg { width: 18px; height: 18px; fill: currentColor; }
#cm-chat-footer { font-size: 11.5px; color: var(--muted-2); text-align: center; padding: 0 12px 12px; }
.menu-open #cm-chat-bubble, .menu-open #cm-back-to-top { display: none; }
@media print { #cm-chat-bubble, #cm-back-to-top, #cm-chat-window { display: none !important; } }

/* Partner tile glyphs (original CM icons describing the partnership area) */
.logo-tile { gap: 8px; height: clamp(124px, 10.5vw, 146px); }
.logo-tile .p-ico { width: 28px; height: 28px; color: var(--accent); opacity: .8; transition: opacity .4s, transform .5s var(--ease); }
.logo-tile:hover .p-ico { opacity: 1; transform: translateY(-2px) scale(1.06); }
.section--light .logo-tile .p-ico { color: var(--accent-ink); }