/* ==========================================================================
   Hagimo Holdings — site_7 (global corporate direction)
   One corporate color (deep cobalt), one restrained accent (clinical teal).
   ========================================================================== */

:root {
  --brand: #0b3a82;
  --brand-700: #082c64;
  --brand-900: #061d44;
  --brand-500: #1d56b8;
  --brand-50: #eef3fb;
  --brand-100: #dbe6f7;
  --accent: #0a8a7a;
  --accent-50: #e6f4f2;
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #56637a;
  --line: #dde3ec;
  --line-2: #c9d2df;
  --soft: #f5f7fa;
  --white: #ffffff;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
  --shadow-lg: 0 24px 60px rgba(6, 29, 68, .16);
  --wrap: 1240px;
  --gutter: 24px;
  --font: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "IBM Plex Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-500); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); letter-spacing: -.03em; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 600; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- skip link ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: var(--radius); transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- utility bar ---------- */
.utility { background: var(--brand-900); color: #c9d6ee; font-size: 13.5px; }
.utility-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility-q { margin: 0; }
.utility-q strong { color: #fff; font-weight: 500; }
.utility-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.utility-links li { margin: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }
.brand-tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-2); padding-left: 12px; line-height: 1.3; }
.primary-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 16px; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-list > li { margin: 0; }
.nav-btn, .nav-link {
  font: 500 15.5px/1 var(--font); color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: 29px 14px 27px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.nav-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); }
.nav-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.nav-btn:hover, .nav-link:hover, .nav-btn[aria-expanded="true"] { color: var(--brand); }
.nav-btn[aria-expanded="true"] { border-bottom-color: var(--brand); }
.is-active > .nav-btn, .nav-link.is-active { color: var(--brand); border-bottom-color: var(--accent); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1.2 var(--font); padding: 13px 22px; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); }
.arrow-link::after { content: "\2192"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- mega menu ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
.mega.is-open { display: block; animation: megaIn .18s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mega-in { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-top: 36px; padding-bottom: 40px; }
.mega-intro { border-right: 1px solid var(--line); padding-right: 36px; }
.mega-intro .mega-title { font: 600 1.6rem/1.2 var(--font-display); color: var(--ink); margin: 6px 0 12px; letter-spacing: -.02em; }
.mega-intro p { color: var(--muted); font-size: 15px; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.mega-grid li { margin: 0; }
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink-2); transition: background .15s; }
.mega-item:hover { background: var(--brand-50); color: var(--ink-2); }
.mega-item .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.mega-item:hover .ico { background: var(--brand); color: #fff; }
.mega-item .ico svg { width: 22px; height: 22px; }
.mega-item strong { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 2px; }
.mega-item span.d { font-size: 14px; line-height: 1.45; color: var(--muted); display: block; }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 36px; }
.mega-col h4 { font: 600 12px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin: 0 0 4px; }
.mega-col a { display: block; padding: 7px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; }
.mega-col a:hover { color: var(--brand); }
.mega-col a small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; }
.mega-feature { background: var(--brand); color: #dbe6f7; border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.mega-feature h4 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.mega-feature p { font-size: 14.5px; }
.mega-feature a { color: #fff; }
.mega-feature .stat-sm { font: 600 2.4rem/1 var(--font-display); color: #fff; letter-spacing: -.03em; }

/* ---------- mobile nav ---------- */
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 9px 12px; font: 600 14px var(--font); color: var(--ink); cursor: pointer; align-items: center; gap: 8px; }
.nav-toggle .bars { width: 18px; height: 12px; position: relative; display: inline-block; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

@media (max-width: 1440px) {
  .brand-tag { display: none; }
}
@media (max-width: 1180px) {
  .nav-btn, .nav-link { padding-left: 10px; padding-right: 10px; font-size: 15px; }
  .mega-cols { grid-template-columns: repeat(3, 1fr); }
  .mega-feature { grid-column: 1 / -1; }
}
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-btn, .nav-link { width: 100%; justify-content: space-between; padding: 18px 2px; border-bottom: 0; }
  .is-active > .nav-btn, .nav-link.is-active { border-bottom: 0; box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega .wrap { padding: 0; }
  .mega-in { grid-template-columns: 1fr; gap: 12px; padding: 0 0 16px; }
  .mega-intro { display: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-cols { grid-template-columns: 1fr; gap: 18px; }
  .mega-feature { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; padding-top: 16px; }
  .utility-q { display: none; }
}

/* ---------- eyebrow / section heads ---------- */
.eyebrow { font: 600 12.5px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow.light { color: #7fd6c8; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section.soft, .section-sm.soft { background: var(--soft); }
.section.tint { background: var(--brand-50); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p.lead, .lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); }
.section-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-split .lead { margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { position: absolute; right: -80px; top: -40px; width: 760px; max-width: none; height: auto; opacity: .9; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.hero h1 { margin-bottom: 24px; max-width: 14ch; }
.hero .lead { max-width: 58ch; font-size: 1.25rem; color: var(--ink-2); }
.hero-kicker { font: 500 1.05rem/1.4 var(--font); color: var(--brand); margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.hero-panel h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--font); font-weight: 600; margin-bottom: 16px; }
.panel-stat { padding: 16px 0; border-top: 1px solid var(--line); }
.panel-stat:first-of-type { border-top: 0; padding-top: 0; }
.panel-stat .n { font: 600 2.2rem/1 var(--font-display); color: var(--brand); letter-spacing: -.03em; display: block; }
.panel-stat .l { font-size: 14.5px; color: var(--muted); display: block; margin-top: 6px; line-height: 1.4; }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--brand); color: #dbe6f7; }
.page-hero .hero-bg svg { right: -120px; top: -80px; width: 820px; opacity: .55; }
.page-hero-in { position: relative; padding-top: 40px; padding-bottom: 80px; }
.page-hero h1 { color: #fff; max-width: 20ch; margin: 18px 0 20px; }
.page-hero .lead { color: #dbe6f7; max-width: 62ch; font-size: 1.22rem; }
.page-hero .eyebrow { color: #7fd6c8; margin-top: 40px; }
.page-hero .tagline { font: 500 1.1rem/1.5 var(--font); color: #fff; opacity: .92; max-width: 62ch; border-left: 3px solid #7fd6c8; padding-left: 16px; margin-top: 24px; }
.page-hero.audience { background: var(--brand-900); }
.page-hero .hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: end; }
.page-hero .hero-panel { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; color: #dbe6f7; }
.page-hero .hero-panel h2 { color: #9fb3d6; }
.page-hero .panel-stat { border-color: rgba(255, 255, 255, .14); }
.page-hero .panel-stat .n { color: #fff; }
.page-hero .panel-stat .l { color: #b8c7e3; }

/* breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 14px; }
.breadcrumbs li { margin: 0; color: #9fb3d6; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #6f86b3; }
.breadcrumbs a { color: #dbe6f7; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- audience selector ---------- */
.paths { background: #fff; padding: 88px 0 96px; border-bottom: 1px solid var(--line); }
.paths .section-split { align-items: end; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.path-grid > li { margin: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path-tile { display: flex; flex-direction: column; height: 100%; padding: 36px 32px 32px; text-decoration: none; color: var(--ink-2); position: relative; background: #fff; transition: background .25s var(--ease); }
.path-tile::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.path-tile:hover, .path-tile:focus-visible { background: var(--brand-50); color: var(--ink-2); }
.path-tile:hover::before, .path-tile:focus-visible::before { width: 100%; }
.path-tile .ico { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--brand-100); color: var(--brand); display: grid; place-items: center; margin-bottom: 26px; transition: background .25s, color .25s, border-color .25s; }
.path-tile .ico svg { width: 28px; height: 28px; }
.path-tile:hover .ico { background: var(--brand); color: #fff; border-color: var(--brand); }
.path-tile .who { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.path-tile h3 { font-size: 1.45rem; margin-bottom: 10px; color: var(--ink); }
.path-tile p { font-size: 15.5px; color: var(--muted); margin-bottom: 24px; flex: 1; }
.path-tile .go { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.path-tile .go::after { content: "\2192"; transition: transform .2s var(--ease); }
.path-tile:hover .go::after { transform: translateX(4px); }
.path-grid.compact .path-tile { padding: 24px 22px; }
.path-grid.compact .path-tile .ico { width: 44px; height: 44px; margin-bottom: 16px; }
.path-grid.compact .path-tile .ico svg { width: 22px; height: 22px; }
.path-grid.compact .path-tile h3 { font-size: 1.15rem; }
.path-grid.compact .path-tile p { font-size: 14.5px; margin-bottom: 14px; }

/* ---------- stats band ---------- */
.stats-band { background: var(--brand); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.stats-band .hero-bg svg { left: -200px; right: auto; top: -120px; width: 900px; opacity: .35; }
.stats-band .eyebrow { color: #7fd6c8; }
.stats-band h2 { color: #fff; }
.stats-band .lead { color: #c6d4ee; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.stats-grid li { margin: 0; padding: 32px 28px 8px 0; border-right: 1px solid rgba(255, 255, 255, .14); padding-left: 28px; }
.stats-grid li:first-child { padding-left: 0; }
.stats-grid li:last-child { border-right: 0; }
.stats-grid .n { font: 600 clamp(2.4rem, 4vw, 3.6rem)/1 var(--font-display); letter-spacing: -.035em; display: block; color: #fff; }
.stats-grid .l { display: block; margin-top: 12px; font-size: 15px; color: #c6d4ee; line-height: 1.45; }
.stats-grid.five { grid-template-columns: repeat(5, 1fr); }
.stats-grid.three { grid-template-columns: repeat(3, 1fr); }
.stats-light { background: #fff; color: var(--ink-2); }
.stats-light .stats-grid { border-color: var(--line); }
.stats-light .stats-grid li { border-color: var(--line); }
.stats-light .stats-grid .n { color: var(--brand); }
.stats-light .stats-grid .l { color: var(--muted); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid > li { margin: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; height: 100%; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { font-size: 15.5px; }
.card p:last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 16px; }
a.card { text-decoration: none; color: var(--ink-2); }
a.card:hover, .card.linked:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .tag { font: 600 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.card .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }
.card.feature { background: var(--brand); border-color: var(--brand); color: #dbe6f7; }
.card.feature h3 { color: #fff; }
.card.feature a { color: #fff; }
.card.feature .tag { color: #7fd6c8; }
.card.soft { background: var(--soft); border-color: transparent; }
.card-num { font: 600 14px var(--font); color: var(--accent); margin-bottom: 10px; display: block; letter-spacing: .06em; }

/* ---------- prose / content ---------- */
.prose { max-width: 820px; }
.prose p, .prose li { font-size: 17px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.content-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: 14.5px; }
.toc h2 { font: 600 12px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0 7px 16px; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; line-height: 1.35; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.block { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.block > h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%230a8a7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.dash-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.dash-list li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 2px; background: var(--brand-500); }
.term-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 0; border-top: 1px solid var(--line); }
.term-list li { padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.term-list li strong { display: block; margin-bottom: 4px; }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-3 { columns: 3; column-gap: 32px; }
.cols-2 li, .cols-3 li { break-inside: avoid; }
.pill-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { margin: 0; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; background: #fff; color: var(--ink); }

.callout { background: var(--brand-50); border-left: 4px solid var(--brand); padding: 24px 28px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.accent { background: var(--accent-50); border-left-color: var(--accent); }
.pull { font: 500 clamp(1.3rem, 2vw, 1.65rem)/1.4 var(--font-display); color: var(--ink); letter-spacing: -.015em; border-top: 2px solid var(--brand); padding-top: 20px; margin: 36px 0; }
blockquote { margin: 0 0 20px; padding: 22px 26px; background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
blockquote p { margin-bottom: 8px; font-size: 16.5px; }
blockquote cite { font-style: normal; font-size: 14px; color: var(--muted); display: block; }

.figure { margin: 0 0 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.85); }
.media-row { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.media-row.rev { grid-template-columns: 320px 1fr; }

/* ---------- details / accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 600 1.15rem/1.35 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s var(--ease); }
.accordion details[open] > summary::after { transform: rotate(-135deg); margin-top: -3px; }
.accordion summary:hover { color: var(--brand); }
.accordion summary .sub { display: block; font: 400 14.5px/1.4 var(--font); color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.accordion .acc-body { padding: 0 0 28px; max-width: 860px; }

/* ---------- tabs ---------- */
.tabs [role="tablist"] { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; margin-bottom: 36px; }
.tabs [role="tab"] { font: 600 15.5px/1.2 var(--font); background: none; border: 0; border-bottom: 3px solid transparent; padding: 16px 20px; color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs [role="tab"]:hover { color: var(--brand); }
.tabs [role="tab"][aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tabs .tab-nojs-title { display: none; }
html:not(.js) .tabs [role="tablist"] { display: none; }
html:not(.js) .tabs .tab-nojs-title { display: block; margin-top: 32px; }
html.js .tabs [role="tabpanel"][hidden] { display: none; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 0 0 28px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
table.data caption { text-align: left; padding: 16px 20px; font-weight: 600; color: var(--ink); background: var(--soft); border-bottom: 1px solid var(--line); }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
table.data thead th { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #fff; }
table.data tbody th { color: var(--ink); font-weight: 600; width: 26%; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--brand); }
.steps li { margin: 0; padding: 28px 28px 8px 0; counter-increment: step; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); font: 600 14px var(--font); color: var(--accent); letter-spacing: .08em; display: block; margin-bottom: 12px; }
.steps h3, .steps h4 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--muted); }
.steps.two { grid-template-columns: repeat(2, 1fr); }
.steps.two li:nth-child(3) { padding-left: 0; border-left: 0; }
.steps.two li:nth-child(n+3) { border-top: 1px solid var(--line); }

/* ---------- avatar / demo cards ---------- */
.demo-card { display: flex; flex-direction: column; }
.demo-card .who { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.demo-card .who img { width: 64px; height: 64px; object-fit: contain; }
.demo-card .who span { font-size: 13.5px; color: var(--muted); }
.demo-card .who strong { display: block; font-size: 15px; }
.demo-card h3 a { text-decoration: none; color: var(--ink); }
.demo-card h3 a:hover { color: var(--brand); }
.demo-card h3 small { display: block; font: 400 14.5px/1.4 var(--font); color: var(--muted); margin-top: 4px; }
.haj { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-top: 8px; }
.haj img { width: 96px; height: 96px; object-fit: contain; }
.haj p { margin: 0; }

/* ---------- people ---------- */
.person { display: flex; gap: 20px; align-items: flex-start; }
.person .mono { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 600 1.3rem var(--font-display); flex-shrink: 0; }
.person h3 { margin-bottom: 4px; }
.person p { margin: 0 0 4px; font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-900); color: #c6d4ee; padding: 88px 0; position: relative; overflow: hidden; }
.cta-band .hero-bg svg { right: -160px; top: -160px; width: 760px; opacity: .4; }
.cta-in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c6d4ee; }
.cta-band .contact-lines { list-style: none; padding: 0; margin: 0; }
.cta-band .contact-lines li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 0; }
.cta-band .contact-lines a { color: #fff; font-weight: 600; text-decoration: none; }
.cta-band .contact-lines a:hover { text-decoration: underline; }
.cta-band .contact-lines span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #9fb3d6; }
.other-paths { background: var(--soft); padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.other-paths h2 { font-size: 1.6rem; }

/* ---------- directory (home) ---------- */
.directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.directory > div { padding: 36px 32px 20px 0; }
.directory > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.directory h3 { font-size: 1.3rem; }
.directory p { color: var(--muted); font-size: 15.5px; }
.link-list { list-style: none; padding: 0; margin: 0 0 20px; }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.link-list a::after { content: "\2192"; color: var(--brand); transition: transform .2s var(--ease); }
.link-list a:hover { color: var(--brand); }
.link-list a:hover::after { transform: translateX(3px); }
.directory h4 { font: 600 12px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 24px 0 6px; }

/* product feature row */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; background: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.product .mark { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 24px; }
.product .mark img { width: 72px; height: 72px; object-fit: contain; }
.product .mark:has(svg) { border-radius: 50%; background: var(--brand-50); }
.product .mark svg { width: 34px; height: 34px; color: var(--brand); }
.product h3 { font-size: 1.7rem; letter-spacing: -.02em; }
.product .actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 12px 20px; }
.contact-card dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 3px; }
.contact-card dd { margin: 0; color: var(--ink); }
.form-grid { display: grid; gap: 16px; }
.form-grid label { font-weight: 600; font-size: 14.5px; color: var(--ink); display: block; margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; font: 400 16px/1.4 var(--font); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); background: #fff; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 3px solid var(--brand-100); border-color: var(--brand); }
.form-note { font-size: 13.5px; color: var(--muted); }
.route-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.route-list li { margin: 0; border-bottom: 1px solid var(--line); }
.route-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; text-decoration: none; color: var(--ink); }
.route-list a strong { font-size: 1.05rem; }
.route-list a span { color: var(--muted); font-size: 15px; grid-column: 1; }
.route-list a::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--brand); font-size: 1.2rem; }
.route-list a:hover strong { color: var(--brand); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-900); color: #9fb3d6; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 64px; padding: 72px 0 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { width: 168px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 20px; }
.footer-brand p { color: #b8c7e3; max-width: 44ch; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.footer-cols h2 { font: 600 12px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 0 0 10px; line-height: 1.4; }
.site-footer a { color: #c6d4ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols address { font-style: normal; line-height: 1.6; }
.social { display: flex; gap: 10px; margin-top: 20px; list-style: none; padding: 0; }
.social li { margin: 0; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; }
.social a:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.social svg { width: 16px; height: 16px; fill: #fff; }
.footer-who { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-who strong { color: #fff; margin-right: 8px; font-weight: 600; }
.footer-who a { border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; }
.footer-who a:hover { border-color: #fff; text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0 32px; font-size: 13.5px; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer-legal li { margin: 0; }
.footer-legal p { margin: 0; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 29, 68, .55); }
.modal.is-open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); max-width: 480px; width: 100%; padding: 36px; position: relative; box-shadow: var(--shadow-lg); border-top: 4px solid var(--brand); }
.modal-box h2 { font-size: 1.5rem; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 50%; }
.modal-close:hover { background: var(--soft); color: var(--ink); }
.modal .code { font-family: "IBM Plex Mono", Consolas, monospace; font-size: 13.5px; background: var(--soft); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--radius); word-break: break-all; color: var(--ink); }
.modal-wide .modal-box { max-width: 1200px; height: 90vh; padding: 48px 12px 12px; display: flex; }
.modal-wide iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* ---------- misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story { border-top: 2px solid var(--brand); padding-top: 28px; }
.story .tag { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }
.client-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-list li { margin: 0; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); font-size: 15px; display: flex; align-items: center; min-height: 72px; }
.note { font-size: 14px; color: var(--muted); }
.badge { display: inline-block; font: 600 11.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-50); padding: 6px 10px; border-radius: 999px; vertical-align: middle; }
.analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.analytics-grid > li { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; background: #fff; }
.analytics-grid h4 { font-size: 1rem; margin-bottom: 10px; color: var(--brand); }
.analytics-grid ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.analytics-grid ul li { padding: 6px 0; border-top: 1px solid var(--line); margin: 0; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-grid .card h3 { font-size: 1.1rem; }
.tech-grid ul { font-size: 15px; }
.tech-grid ul ul { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* reveal (JS only, understated) */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero-in, .page-hero .hero-grid, .cta-in, .section-split, .two-col, .contact-grid, .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .content-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; border-left: 0; gap: 6px; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0; }
  .card-grid, .card-grid.four, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .stats-grid.five { grid-template-columns: repeat(2, 1fr); }
  .stats-grid li, .stats-grid li:first-child { padding: 24px 20px 20px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .stats-light .stats-grid li { border-color: var(--line); }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .directory { grid-template-columns: 1fr; }
  .directory > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .product-row { grid-template-columns: 1fr; }
  .media-row, .media-row.rev { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .client-list { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { max-width: none; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .paths { padding: 56px 0 64px; }
  .hero-in { padding-top: 56px; padding-bottom: 56px; }
  .page-hero-in { padding-bottom: 56px; }
  .card-grid, .card-grid.two, .card-grid.four, .tech-grid, .path-grid, .stats-grid.three { grid-template-columns: 1fr; }
  .stats-grid, .stats-grid.five { grid-template-columns: 1fr 1fr; }
  .stats-grid li { padding-right: 12px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .steps, .steps.two { grid-template-columns: 1fr; }
  .steps.two li { padding-left: 0; border-left: 0; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .cols-2, .cols-3 { columns: 1; }
  .analytics-grid { grid-template-columns: 1fr; }
  .client-list { grid-template-columns: 1fr 1fr; }
  .utility-links { gap: 14px; }
  .utility-links .u-email { display: none; }
  .card, .product { padding: 24px; }
  .path-tile { padding: 28px 22px; }
  .contact-card dl { grid-template-columns: 1fr; gap: 2px; }
  .contact-card dd { margin-bottom: 12px; }
  .brand img { width: 144px; }
  .header-in { min-height: 66px; gap: 12px; }
  .hero-bg svg { width: 520px; right: -200px; opacity: .5; }
  .modal-box { padding: 28px 22px; }
}
@media (max-width: 400px) {
  .stats-grid, .stats-grid.five { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .client-list { grid-template-columns: 1fr; }
}
@media print {
  .utility, .site-header, .cta-band, .other-paths, .site-footer, .modal { display: none !important; }
  .page-hero { background: #fff; color: #000; }
  .page-hero h1 { color: #000; }
}

.prose p.pull, .prose .callout p { font-size: inherit; }
.prose p.pull { font-size: clamp(1.3rem, 2vw, 1.65rem); }
