/* ==========================================================================
   Incolo Systems 2.0 — components & layout
   ========================================================================== */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text-strong);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; stroke-width: 1.75; flex: none; }
.ic-sm { width: 16px; height: 16px; stroke-width: 2; flex: none; }

/* ---------- Type ---------- */
.h1 { font-size: 60px; line-height: 60px; font-weight: 400; letter-spacing: var(--track-tight); color: var(--text-strong); }
.h2 { font-size: 36px; line-height: 40px; font-weight: 400; letter-spacing: var(--track-tight); color: var(--text-strong); }
.h2-xl { font-size: 48px; line-height: 48px; font-weight: 400; letter-spacing: var(--track-tight); color: var(--text-strong); }
.h3 { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-strong); }
.eyebrow {
  display: inline-block;
  font-size: 11px; line-height: 16.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.lede { font-size: 18px; line-height: 28px; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; }
.mark-hl { background: var(--accent-soft); color: var(--text-strong); padding: 0 4px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: 18px; line-height: 28px; }

@media (max-width: 768px) {
  .h1 { font-size: 40px; line-height: 44px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .h2-xl { font-size: 38px; line-height: 42px; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px;
  font-size: 14px; line-height: 20px; font-weight: 500;
  border-radius: var(--r-btn); border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; line-height: 24px; }
.btn-md { height: 44px; padding: 0 20px; }
.btn-primary { background: var(--accent); color: #fff; border-color: rgba(11, 35, 64, 0.08); box-shadow: 0 1px 2px rgba(13, 44, 82, .12), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-secondary { background: #fff; color: var(--text-strong); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-strong); }
.btn-ghost:hover { background: var(--accent-softer); }
.btn .ic-sm { transition: transform .2s var(--ease); }
.btn:hover .ic-sm.go { transform: translate(2px, -2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; font-size: 14px; }
.link-arrow:hover .ic-sm { transform: translateX(3px); }
.link-arrow .ic-sm { transition: transform .2s var(--ease); }

/* ---------- Chips / pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px 0 6px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; color: var(--text-strong);
}
.chip .chip-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-softer); color: var(--accent); }
.chip .chip-ic svg { width: 13px; height: 13px; stroke-width: 2; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--surface-tint); color: var(--text-muted); font-size: 12px; font-weight: 500; }
.icon-tile { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--accent); flex: none; }
.icon-tile svg { width: 18px; height: 18px; stroke-width: 1.75; }

/* ==========================================================================
   Header + mega-menu
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
  animation: nav-drop .6s var(--ease-out) both;
}
.site-header.scrolled { border-bottom-color: var(--border); }
@keyframes nav-drop { from { transform: translateY(-100%); opacity: 0; } }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-strong); }
.brand img { width: 26px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 12px; border: 0; border-radius: var(--r-btn); background: transparent;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-trigger.active { color: var(--text-strong); }
.nav-trigger .ic-sm { color: var(--text-faint); width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] .ic-sm { transform: rotate(180deg); }
.nav-item { position: relative; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: var(--r-btn); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 440px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.mega.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega a.mega-row { display: flex; gap: 14px; padding: 12px; border-radius: 8px; }
.mega a.mega-row:hover { background: var(--surface-tint); }
.mega-row strong { display: block; font-size: 14px; font-weight: 500; color: var(--text-strong); }
.mega-row span { display: block; font-size: 13px; line-height: 18px; color: var(--text-muted); margin-top: 2px; }
.mega-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 12px 12px 62px; margin-top: -4px; }
.mega-sub a { font-size: 13px; color: var(--text-muted); }
.mega-sub a:hover { color: var(--accent); }
.mega hr { border: 0; border-top: 1px solid var(--border); margin: 4px 12px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header.menu-open { height: auto; background: #fff; border-bottom-color: var(--border); }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: static; transform: none;
    padding: 8px 0 20px; width: 100%;
  }
  .site-header.menu-open .header-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); }
  .site-header.menu-open .nav-trigger { width: 100%; justify-content: space-between; height: 44px; font-size: 16px; }
  .site-header.menu-open .mega { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; display: none; opacity: 1; visibility: visible; }
  .site-header.menu-open .mega.open { display: block; }
}
@media (max-width: 480px) {
  .header-actions .btn-primary { display: none; }
}

/* ==========================================================================
   Network background + glow (hero & final CTA)
   ========================================================================== */
.netbg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.netbg svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.netbg .glow {
  position: absolute; left: 50%; top: 38%; width: 760px; height: 520px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), rgba(215,233,255,0));
  filter: blur(8px);
}
.netbg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: calc(var(--header-h) + 88px) 0 0; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px;
  height: 32px; padding: 0 6px 0 12px; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  font-size: 13px; color: var(--text-muted); box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.announce .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 0 rgba(59,130,246,.5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(59,130,246,0); } 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); } }
.announce-text { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.announce-text.out { opacity: 0; transform: translateY(-6px); }
.announce .go { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-softer); color: var(--accent); flex: none; }
.announce .go svg { width: 12px; height: 12px; stroke-width: 2.2; }
.hero .h1 { max-width: 880px; margin: 0 auto; }
.hero .lede { max-width: 620px; margin: 22px auto 0; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Pillar cards ---------- */
.pillars { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.pillar { text-align: left; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pillar-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.pillar-top strong { display: block; font-size: 14px; line-height: 20px; font-weight: 500; }
.pillar-top strong em { font-style: normal; color: var(--text-faint); font-weight: 400; }
.pillar-top span { display: block; font-size: 12px; color: var(--text-muted); line-height: 16px; }
.pillar-art { height: 200px; background: var(--bg); border-bottom: 1px solid var(--border); position: relative; }
.pillar-art svg { width: 100%; height: 100%; }
.pillar-body { padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pillar-body p { font-size: 14px; line-height: 21px; color: var(--text-muted); }
.pillar-body .btn { margin-top: auto; align-self: flex-start; }
.pillar-body .h3 { font-size: 18px; }

/* diagram animation */
.flow { stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.node-pulse { transform-box: fill-box; transform-origin: center; animation: node 2.4s var(--ease) infinite; }
@keyframes node { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.35); opacity: 0; } }
.orbit { transform-origin: 50% 50%; transform-box: view-box; animation: spin 26s linear infinite; }
.orbit .counter { transform-box: fill-box; transform-origin: center; animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.draw { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.6s var(--ease-out) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { padding: 96px 0 24px; text-align: center; }
.trust-line { font-size: 18px; line-height: 28px; color: var(--text-strong); max-width: 640px; margin: 0 auto; }
.trust-line span { color: var(--text-faint); }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.badge-row .badge-pill { margin-top: 0; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--accent-softer); color: var(--accent); font-size: 13px; font-weight: 500; }
.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 44px; }
.industry { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px; border-radius: var(--r-card); color: var(--text-faint); transition: color .2s, background-color .2s; }
.industry svg { width: 28px; height: 28px; stroke-width: 1.5; }
.industry span { font-size: 13px; line-height: 17px; font-weight: 500; color: var(--text-muted); }
.industry:hover { color: var(--accent); background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: 28px 24px; text-align: left; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat .k { font-size: 36px; line-height: 40px; letter-spacing: var(--track-tight); color: var(--text-strong); }
.stat .v { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--text-muted); }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
  .industries { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Sticky showcase
   ========================================================================== */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.sc-sticky { position: sticky; top: calc(var(--header-h) + 56px); align-self: start; height: 600px; }
.sc-text { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.sc-text.active { opacity: 1; transform: none; pointer-events: auto; }
.sc-text .h2 { margin: 22px 0 18px; }
.sc-text p { color: var(--text-muted); font-size: 16px; line-height: 26px; }
.sc-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.sc-progress { position: absolute; left: 0; bottom: 0; display: flex; gap: 6px; }
.sc-progress i { width: 28px; height: 3px; border-radius: 2px; background: var(--border); transition: background-color .3s; }
.sc-progress i.on { background: var(--accent); }
.sc-steps { display: flex; flex-direction: column; gap: 120px; padding: 40px 0; }
.frame {
  position: relative;
  background: var(--accent-soft);
  border-radius: var(--r-frame);
  padding: 28px 0 0 28px;
  overflow: hidden;
}
.frame-inner { background: #fff; border-top-left-radius: 10px; border: 1px solid var(--border-strong); border-right: 0; border-bottom: 0; overflow: hidden; }
.frame-inner img { width: 100%; height: 440px; object-fit: cover; object-position: left top; }
.frame-inner.svg-tile { position: relative; height: 440px; display: flex; align-items: center; justify-content: flex-start; background: var(--bg); padding: 28px 28px 28px 72px; }
.frame-inner.svg-tile img { width: auto; height: 100%; object-fit: contain; }
.svg-legend { position: absolute; top: 36px; right: 36px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--text-muted); }
.svg-legend b { font-weight: 500; color: var(--text-strong); font-size: 13px; }
.svg-legend i { display: inline-block; width: 22px; vertical-align: middle; margin-right: 8px; border-top: 2px solid var(--accent); }
.svg-legend i.dot { border-top-style: dashed; }
.feature-chip {
  position: absolute; right: 20px; bottom: 20px; max-width: 340px;
  display: flex; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-card); box-shadow: var(--shadow-md);
}
.feature-chip strong { display: block; font-size: 14px; font-weight: 500; }
.feature-chip p { font-size: 13px; line-height: 19px; color: var(--text-muted); margin-top: 2px; }
.feature-chip a { display: inline-flex; margin-top: 6px; }
.sc-step-copy { display: none; }

@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; gap: 0; }
  .sc-sticky { display: none; }
  .sc-steps { gap: 72px; padding: 0; }
  .sc-step-copy { display: block; margin-bottom: 24px; }
  .sc-step-copy .h2 { margin: 18px 0 12px; }
  .sc-step-copy p { color: var(--text-muted); }
  .frame-inner img, .frame-inner.svg-tile { height: 300px; }
  .feature-chip { position: static; margin: 16px 16px 16px -2px; max-width: none; }
  .frame-inner.svg-tile { padding-left: 32px; }
  .svg-legend { top: 24px; right: 20px; }
  .frame { padding: 18px 0 0 18px; }
}

/* ---------- Data residency (showcase panel 1) ---------- */
.h2-kicker { display: block; margin-bottom: 8px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.residency { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.residency li { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); font-size: 13px; line-height: 18px; color: var(--text-muted); }
.residency li svg { color: var(--accent); margin-top: 1px; }
.residency b { display: block; font-size: 14px; font-weight: 500; color: var(--text-strong); margin-bottom: 2px; }
.sc-text p.residency-note { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--text-strong); font-weight: 500; }
@media (max-width: 480px) { .residency { grid-template-columns: 1fr; } }

/* ==========================================================================
   Tagline band (Industry 5.0)
   ========================================================================== */
.tagline-band { position: relative; overflow: hidden; padding: 88px 0 92px; text-align: center; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tagline-band .binary {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 46% 58% at 50% 52%, transparent 45%, #000 100%);
          mask-image: radial-gradient(ellipse 46% 58% at 50% 52%, transparent 45%, #000 100%);
}
.tagline-band .container { position: relative; z-index: 1; }
.tagline-eyebrow { font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.tagline-eyebrow .sep { display: inline-block; margin: 0 1.1em; color: var(--accent-bright); letter-spacing: 0; }
.tagline-rule { width: 96px; height: 3px; margin: 30px auto 34px; border-radius: 2px; background: var(--accent); }
.tagline-hi {
  font-family: var(--font-hi);
  font-size: 56px; line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; color: var(--accent-press);
}
.tagline-en { margin-top: 14px; font-size: 16px; color: var(--text-muted); }
@media (max-width: 768px) {
  .tagline-band { padding: 64px 0; }
  .tagline-eyebrow { font-size: 12px; letter-spacing: .22em; }
  .tagline-eyebrow .sep { display: block; height: 0; overflow: hidden; margin: 4px 0; }
  .tagline-hi { font-size: 34px; }
}

/* ==========================================================================
   Industry 4.0 standards
   ========================================================================== */
.standards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.standard { padding: 26px 24px 28px; background: #fff; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background-color .2s; }
.standard:nth-child(4n) { border-right: 0; }
.standard:nth-last-child(-n+4) { border-bottom: 0; }
.standard:hover { background: var(--bg); }
.standard .code { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--accent-softer); color: var(--accent); font-family: var(--font-mono); font-size: 11.5px; }
.standard h3 { margin: 16px 0 6px; font-size: 16px; line-height: 22px; font-weight: 500; }
.standard p { font-size: 14px; line-height: 21px; color: var(--text-muted); }
.standards-foot { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--text-muted); }
.standards-foot b { color: var(--text-strong); font-weight: 500; }
.standards-foot .arrow { color: var(--accent); }
@media (max-width: 960px) {
  .standards { grid-template-columns: 1fr 1fr; }
  .standard { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .standard:nth-child(2n) { border-right: 0 !important; }
  .standard:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 560px) {
  .standards { grid-template-columns: 1fr; }
  .standard { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .standard:last-child { border-bottom: 0 !important; }
}

/* ==========================================================================
   Audience band
   ========================================================================== */
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px 56px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-frame);
}
.band .h2 { margin: 12px 0 10px; }
.band p { color: var(--text-muted); max-width: 560px; }
@media (max-width: 768px) { .band { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

/* ==========================================================================
   Just ask
   ========================================================================== */
.ask-panel {
  margin-top: 48px; padding: 96px 24px 72px; border-radius: var(--r-frame);
  background:
    radial-gradient(60% 70% at 50% 0%, var(--glow) 0%, rgba(215,233,255,0) 70%),
    var(--bg);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.prompt {
  width: 100%; max-width: 620px; min-height: 132px; padding: 18px 18px 14px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-card); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; text-align: left;
}
.prompt-text { flex: 1; font-size: 16px; line-height: 24px; color: var(--text-strong); }
.prompt-text .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-bar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; color: var(--text-faint); }
.prompt-bar .send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .2s; }
.prompt-bar .send.fire { transform: scale(.88); }
.prompt-bar .send svg { width: 16px; height: 16px; stroke-width: 2.2; }
.ask-note { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--accent-softer); color: var(--accent); font-size: 13px; font-weight: 500; }
.ask-suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 720px; }
.ask-suggest button { height: 30px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: #fff; font-size: 13px; color: var(--text-muted); }
.ask-suggest button:hover, .ask-suggest button.on { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Why Incolo carousel
   ========================================================================== */
.why-card { position: relative; border-radius: var(--r-frame); overflow: hidden; min-height: 520px; background: var(--ink); color: #fff; }
.why-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,44,82,.94) 0%, rgba(13,44,82,.82) 42%, rgba(13,44,82,.25) 100%); z-index: 1; }
.why-slides { position: relative; z-index: 2; height: 100%; min-height: 520px; }
.why-slide { position: absolute; inset: 0; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transform: translateX(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.why-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.why-slide .count { font-family: var(--font-mono); font-size: 12px; color: var(--text-on-ink-muted); margin-bottom: auto; }
.why-slide blockquote { max-width: 720px; font-size: 30px; line-height: 38px; letter-spacing: -0.02em; font-weight: 400; }
.why-slide blockquote .mark-hl { background: var(--accent-soft); color: var(--text-strong); }
.why-slide cite { display: block; margin-top: 28px; font-style: normal; font-size: 14px; }
.why-slide cite span { display: block; color: var(--text-on-ink-muted); font-size: 13px; }
.why-nav { position: absolute; right: 32px; bottom: 32px; z-index: 3; display: flex; gap: 8px; }
.why-nav button { width: 36px; height: 36px; border-radius: 8px; border: 0; background: rgba(255,255,255,.95); color: var(--text-strong); display: grid; place-items: center; }
.why-nav button:hover { background: #fff; color: var(--accent); }
.why-quote { max-width: 760px; margin: 48px auto 0; text-align: center; }
.why-quote blockquote { font-size: 20px; line-height: 30px; color: var(--text-strong); letter-spacing: -0.01em; }
.why-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--text-faint); }
@media (max-width: 768px) {
  .why-slide { padding: 28px 24px 84px; }
  .why-slide blockquote { font-size: 22px; line-height: 30px; }
  .why-card::before { background: linear-gradient(180deg, rgba(13,44,82,.6), rgba(13,44,82,.95) 55%); }
  .why-nav { left: 24px; right: auto; bottom: 24px; }
}

/* ==========================================================================
   Integrations
   ========================================================================== */
.integrations { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.integration { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); color: var(--text-muted); text-align: center; transition: border-color .2s, color .2s; }
.integration svg { width: 24px; height: 24px; stroke-width: 1.5; }
.integration span { font-size: 13px; font-weight: 500; line-height: 17px; color: var(--text-strong); }
.integration:hover { border-color: var(--border-strong); color: var(--accent); }
@media (max-width: 960px) { .integrations { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .integrations { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Vision & values
   ========================================================================== */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { padding: 32px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); }
.vm-card p { margin-top: 12px; font-size: 18px; line-height: 28px; color: var(--text-strong); letter-spacing: -0.01em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.value { padding: 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.value:nth-child(3n) { border-right: 0; }
.value:nth-last-child(-n+3) { border-bottom: 0; }
.value .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.value h3 { margin: 14px 0 8px; font-size: 16px; font-weight: 500; }
.value p { font-size: 14px; line-height: 21px; color: var(--text-muted); }
@media (max-width: 960px) {
  .vm { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3n) { border-right: 1px solid var(--border); }
  .value:nth-child(2n) { border-right: 0; }
  .value:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .value:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .value:last-child { border-bottom: 0 !important; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final { position: relative; padding: 160px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.final .netbg .glow { top: 50%; }
.final .netbg::after { display: none; }
.final .container { position: relative; z-index: 1; }
.final .h2-xl { max-width: 720px; margin: 0 auto; }
.final p { margin-top: 16px; color: var(--text-muted); font-size: 18px; }
.final .btn { margin-top: 32px; }

/* ==========================================================================
   Footer + SEO band
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0 48px; }
.footer-tag { display: block; margin-top: 14px; font-size: 10px; line-height: 16px; font-weight: 500; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; color: var(--accent); }
.footer-tag .sep { margin: 0 .6em; color: var(--accent-bright); }
.footer-brand p.footer-hi { margin-top: 4px; font-family: var(--font-hi); font-size: 15px; font-weight: 500; color: var(--accent-press); max-width: none; }
.footer-brand p { margin-top: 12px; font-size: 14px; color: var(--text-muted); max-width: 260px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); }
.socials a:hover { color: var(--accent); border-color: var(--border-strong); }
.footer-col h4 { font-size: 11px; line-height: 16.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom a:hover { color: var(--accent); }
.pledge { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.pledge svg { color: var(--accent); }
.seo-band { background: var(--bg-2); padding: 48px 0 56px; }
.seo-band h4 { font-size: 15px; font-weight: 500; color: var(--text-strong); margin-bottom: 20px; }
.seo-links { columns: 4; column-gap: 32px; }
.seo-links a { display: block; font-size: 13px; line-height: 18px; padding: 5px 0; color: var(--text-muted); break-inside: avoid; }
.seo-links a:hover { color: var(--accent); }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .seo-links { columns: 2; }
}

/* ==========================================================================
   Scoping-call dialog
   ========================================================================== */
dialog.modal {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 1px solid var(--border); border-radius: var(--r-frame);
  box-shadow: 0 30px 80px -20px rgba(13,44,82,.35); color: var(--text-strong);
  overflow: auto;
}
dialog.modal::backdrop { background: rgba(11,35,64,.38); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .28s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal-grid { display: grid; grid-template-columns: 5fr 7fr; }
.modal-side { padding: 40px 36px; background: var(--bg); border-right: 1px solid var(--border); }
.modal-side .h2 { font-size: 28px; line-height: 34px; margin: 14px 0 12px; }
.modal-side > p { color: var(--text-muted); font-size: 15px; line-height: 23px; }
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 12px; font-size: 14px; line-height: 20px; }
.contact-list small { display: block; color: var(--text-faint); font-size: 12px; }
.modal-form { padding: 40px 36px 32px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; display: grid; place-items: center; color: var(--text-muted); }
.modal-close:hover { background: var(--surface-tint); color: var(--text-strong); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-strong); }
.field .req { color: var(--accent); }
.field input, .field textarea, .field select {
  height: 42px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--text-strong);
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-btn);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: 104px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .help { font-size: 12px; color: var(--text-faint); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.fineprint { font-size: 12px; line-height: 18px; color: var(--text-faint); max-width: 300px; }
.form-status { margin-top: 14px; font-size: 13px; color: var(--data); min-height: 20px; }
@media (max-width: 768px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-side { border-right: 0; border-bottom: 1px solid var(--border); padding: 28px 24px; }
  .modal-form { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   Programs directory (Page 2)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 56px) 0 40px; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .netbg .glow { left: 78%; top: 20%; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--text-faint); margin-bottom: 28px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--text-strong); }
.page-hero .h1 { font-size: 52px; line-height: 56px; max-width: 760px; margin-top: 14px; }
.page-hero .lede { max-width: 680px; margin-top: 18px; }
.searchbar { display: flex; gap: 8px; max-width: 760px; margin-top: 32px; }
.search-input { flex: 1; position: relative; }
.search-input svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-faint); stroke-width: 2; }
.search-input input {
  width: 100%; height: 48px; padding: 0 14px 0 42px; font: inherit; font-size: 15px; color: var(--text-strong);
  border: 1px solid var(--border-strong); border-radius: var(--r-btn); background: #fff; box-shadow: var(--shadow-sm);
}
.search-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--text-faint); }
.popular button { height: 28px; padding: 0 11px; border: 1px solid var(--border); border-radius: var(--r-pill); background: #fff; font-size: 13px; color: var(--text-muted); }
.popular button:hover { background: var(--accent-softer); color: var(--accent); border-color: var(--accent-soft); }
.path { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text-strong); flex-wrap: wrap; }
.path .step { display: inline-flex; align-items: center; gap: 10px; }
.path .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-softer); }
.path .line { flex: 1; min-width: 32px; height: 1px; background: var(--border-strong); }

.directory { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 96px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding-right: 8px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.filters-head strong { font-size: 15px; font-weight: 500; }
.filters-head button { border: 0; background: none; font-size: 13px; color: var(--accent); font-weight: 500; }
.fgroup { border-bottom: 1px solid var(--border); padding: 14px 0; }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .ic-sm { color: var(--text-faint); transition: transform .2s; }
.fgroup[open] summary .ic-sm { transform: rotate(180deg); }
.fgroup ul { margin-top: 10px; }
.fgroup li label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--text); cursor: pointer; }
.fgroup li label .count { margin-left: auto; font-size: 12px; color: var(--text-faint); }
.fgroup li label.zero { color: var(--text-faint); }
.fgroup input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; flex: none;
  border: 1px solid var(--border-strong); border-radius: 4px; background: #fff; display: grid; place-items: center; cursor: pointer;
}
.fgroup input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.fgroup input[type="checkbox"]:checked::after { content: ""; width: 8px; height: 4.5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.promo { margin-top: 20px; padding: 20px; border-radius: var(--r-card); background: var(--bg); border: 1px solid var(--border); }
.promo strong { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.promo strong svg { color: var(--accent); }
.promo p { margin: 8px 0 14px; font-size: 13px; line-height: 19px; color: var(--text-muted); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.results-bar .count { font-size: 14px; color: var(--text-muted); }
.results-bar .count b { color: var(--text-strong); font-weight: 600; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.sort select { height: 34px; padding: 0 30px 0 10px; font: inherit; font-size: 13px; color: var(--text-strong); border: 1px solid var(--border-strong); border-radius: var(--r-btn); background: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 11px; border: 0; border-radius: var(--r-pill); background: var(--accent-softer); color: var(--accent); font-size: 13px; font-weight: 500; }
.active-filters button svg { width: 13px; height: 13px; stroke-width: 2.2; }
.mobile-filter-btn { display: none; }

.results { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.pcard { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); transition: border-color .2s, box-shadow .2s; }
.pcard:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.pcard-media { position: relative; border-radius: 8px; overflow: hidden; background: var(--bg); aspect-ratio: 16 / 10.5; align-self: start; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-media.svg img { object-fit: contain; padding: 10px; }
.pcard-media .new { position: absolute; top: 10px; left: 10px; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; display: inline-flex; align-items: center; }
.pcard-body { display: flex; flex-direction: column; min-width: 0; padding: 4px 4px 2px 0; }
.pcard-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-faint); }
.pcard-kicker .mono { color: var(--accent); }
.pcard h3 { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; margin-top: 4px; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pcard .desc { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.pcard .outcomes { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.pcard .outcomes li { display: flex; gap: 8px; font-size: 13.5px; line-height: 20px; color: var(--text); }
.pcard .outcomes svg { color: var(--data); margin-top: 2px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.pcard-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-faint); }
.pcard-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pcard-meta svg { width: 14px; height: 14px; stroke-width: 2; }
.pcard-actions { display: flex; gap: 8px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: var(--r-card); background: var(--accent-softer); border: 1px solid var(--accent-soft); }
.inline-cta h3 { font-size: 18px; font-weight: 500; }
.inline-cta p { margin-top: 4px; font-size: 14px; color: var(--text-muted); max-width: 520px; }
.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--border-strong); border-radius: var(--r-card); }
.empty h3 { font-size: 18px; font-weight: 500; }
.empty p { margin: 6px 0 18px; color: var(--text-muted); font-size: 14px; }
.empty div { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.phases { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.phase { padding: 32px 28px 0 0; }
.phase + .phase { padding-left: 28px; border-left: 1px solid var(--border); }
.phase .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.phase h3 { margin: 12px 0 8px; font-size: 18px; font-weight: 500; }
.phase p { font-size: 14px; line-height: 22px; color: var(--text-muted); }
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 17px; font-weight: 500; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--accent); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 48px 22px 0; color: var(--text-muted); font-size: 15px; line-height: 24px; }

@media (max-width: 1024px) {
  .directory { grid-template-columns: 1fr; gap: 0; }
  .filters { display: none; position: fixed; inset: auto 0 0 0; top: auto; z-index: 60; max-height: 80vh; background: #fff; padding: 20px 20px 24px; border-radius: 16px 16px 0 0; box-shadow: 0 -20px 60px rgba(13,44,82,.25); }
  .filters.sheet-open { display: block; }
  .mobile-filter-btn { display: inline-flex; }
}
@media (max-width: 768px) {
  .page-hero .h1 { font-size: 36px; line-height: 40px; }
  .searchbar .btn { display: none; }
  .pcard { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .phases { grid-template-columns: 1fr; }
  .phase, .phase + .phase { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .path .line { display: none; }
}

/* ==========================================================================
   Shared bits for generated pages
   ========================================================================== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-ok { color: var(--data); }
.form-status.is-err { color: var(--danger); }
.btn:disabled { opacity: .7; cursor: progress; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.outcomes { display: flex; flex-direction: column; gap: 8px; }
.outcomes li { display: flex; gap: 8px; font-size: 14px; line-height: 21px; color: var(--text); }
.outcomes svg { color: var(--data); margin-top: 3px; }
.pcard h3 a:hover { color: var(--accent); }
.new, .new-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.new { position: absolute; top: 10px; left: 10px; }
.new-pill { margin-left: 4px; }
.frame-inner.tall img { height: 520px; }
.frame-inner.svg-tile.tall { height: 520px; }

/* ---------- Pillar: sticky sub-nav ---------- */
.pillar-page .subnav { position: sticky; top: var(--header-h); z-index: 40; margin-top: var(--header-h); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.subnav-inner { display: flex; align-items: center; gap: 24px; height: 56px; }
.subnav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav nav::-webkit-scrollbar { display: none; }
.subnav nav a { position: relative; flex: none; padding: 0 10px; height: 56px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.subnav nav a:hover { color: var(--text-strong); }
.subnav nav a.on { color: var(--text-strong); }
.subnav nav a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.subnav-cta { opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.subnav.show-cta .subnav-cta { opacity: 1; pointer-events: auto; }
.pillar-hero { padding-top: 72px; }
.pillar-hero .h1 { margin-top: 22px; }
.hero-frame { position: relative; max-width: 1080px; margin: 64px auto 0; text-align: left; }
.callout { position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-pill); box-shadow: var(--shadow-md); font-size: 13px; font-weight: 500; color: var(--text-strong); white-space: nowrap; }
.callout .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }
.callout.c1 { left: -24px; top: 72px; }
.callout.c2 { right: -24px; top: 46%; }
.callout.c3 { left: 64px; bottom: -18px; }
.pillar-page .stats { margin-top: 72px; }
@media (max-width: 960px) {
  .subnav-inner > .chip { display: none; }
  .subnav-cta { display: none; }
  .callout { position: static; margin: 10px 8px 0 0; }
  .hero-frame { margin-top: 40px; }
  .frame-inner.tall img, .frame-inner.svg-tile.tall { height: 320px; }
}

/* ---------- Pillar: capability tabs ---------- */
.tablist { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto; padding: 4px; background: var(--surface-tint); border: 1px solid var(--border); border-radius: 10px; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.tablist [role="tab"]:hover { color: var(--text-strong); }
.tablist [role="tab"][aria-selected="true"] { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 44px; animation: fade .35s var(--ease); }
.tabpanel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.tab-copy .h3 { font-size: 26px; line-height: 32px; font-weight: 400; letter-spacing: -0.02em; margin: 8px 0 14px; }
.tab-copy > p { color: var(--text-muted); font-size: 15px; line-height: 24px; }
.tab-copy .outcomes { margin-top: 18px; }
.tab-copy .tags { margin-top: 18px; }
@media (max-width: 960px) { .tabpanel { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Architecture diagram ---------- */
.arch { position: relative; padding: 52px 32px 28px; background: var(--bg); border: 1.5px dashed var(--accent); border-radius: var(--r-frame); }
.arch-label { position: absolute; top: -15px; left: 24px; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: #fff; border: 1px solid var(--accent-soft); border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--accent); }
.arch-row { display: flex; align-items: center; gap: 16px; }
.arch-col { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.arch-cap { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.arch-node { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; font-size: 14px; color: var(--text); }
.arch-node svg { color: var(--accent); }
.arch-node.strong { font-weight: 500; color: var(--text-strong); padding: 22px 16px; }
.arch-node.accent { background: var(--accent-softer); border-color: var(--accent-soft); color: var(--accent-press); }
.arch-arrow { color: var(--accent); flex: none; padding-top: 24px; }
.arch-arrow svg { width: 22px; height: 22px; }
.arch-return { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--border-strong); font-size: 14px; color: var(--text-muted); }
.arch-return > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.arch-return > span:first-child svg { color: var(--accent); transform: scaleX(-1); }
.arch-systems { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-systems i { font-style: normal; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-strong); }
.arch-out { display: flex; justify-content: center; gap: 8px; max-width: 760px; margin: 22px auto 0; font-size: 14px; line-height: 21px; color: var(--text-muted); text-align: center; }
.arch-out svg { color: var(--danger); margin-top: 2px; flex: none; }
@media (max-width: 768px) {
  .arch { padding: 64px 18px 22px; }
  .arch-label { height: auto; right: 16px; left: 16px; padding: 6px 12px; line-height: 18px; border-radius: 12px; }
  .arch-row { flex-direction: column; align-items: stretch; }
  .arch-arrow { padding: 0; align-self: center; transform: rotate(90deg); }
}

/* ---------- Deployment, governance, programs, other solutions ---------- */
.deploy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deploy-card, .gov-card { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); }
.deploy-card h3, .gov-card h3 { margin: 16px 0 6px; font-size: 16px; line-height: 22px; font-weight: 500; }
.deploy-card p, .gov-card p { font-size: 14px; line-height: 21px; color: var(--text-muted); }
.deploy-card .tag { margin-top: auto; align-self: flex-start; transform: translateY(14px); margin-bottom: 14px; }
.tag-accent { background: var(--accent-softer); color: var(--accent); }
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mini-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.mini-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.mini-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg); border-bottom: 1px solid var(--border); }
.mini-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-media.svg img { object-fit: contain; padding: 12px; }
.mini-body { display: flex; flex-direction: column; gap: 6px; padding: 18px; flex: 1; }
.mini-body strong { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--text-strong); }
.mini-desc { font-size: 13.5px; line-height: 20px; color: var(--text-muted); }
.mini-body .link-arrow { margin-top: auto; padding-top: 6px; }
.mini-card:hover .link-arrow .ic-sm { transform: translateX(3px); }
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.other-card { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); transition: border-color .2s; }
.other-card:hover { border-color: var(--border-strong); }
.other-card strong { display: block; font-size: 16px; font-weight: 500; }
.other-card > span:nth-child(2) > span { display: block; font-size: 14px; color: var(--text-muted); }
.other-card .btn { margin-left: auto; }
.band.featured { margin-bottom: var(--section-y); }
@media (max-width: 1024px) { .deploy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .gov-grid, .other-grid { grid-template-columns: 1fr; }
  .other-card { flex-wrap: wrap; }
}
@media (max-width: 560px) { .deploy-grid { grid-template-columns: 1fr; } }

/* ---------- Program detail ---------- */
.detail-hero { padding-bottom: 64px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.detail-hero .crumbs { margin-bottom: 22px; }
.detail-hero .pcard-kicker a { color: var(--text-muted); }
.detail-hero .pcard-kicker a:hover { color: var(--accent); }
.detail-hero .h1 { font-size: 48px; line-height: 52px; margin-top: 10px; }
.detail-hero .lede { font-size: 17px; line-height: 27px; margin-top: 16px; }
.detail-hero .tags { margin-top: 18px; }
.hero-actions.left { justify-content: flex-start; margin-top: 28px; }
.detail-hero .pcard-meta { margin-top: 18px; }
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.outcome-grid.three { grid-template-columns: repeat(3, 1fr); }
.outcome-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); }
.outcome-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.outcome-card svg { color: var(--data); }
.outcome-card p { font-size: 18px; line-height: 27px; letter-spacing: -0.01em; color: var(--text-strong); }
.detail-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.detail-two .h2 { font-size: 28px; line-height: 34px; margin: 12px 0 20px; }
.inputs > div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.inputs dt { font-size: 15px; font-weight: 500; color: var(--text-strong); }
.inputs dd { margin: 2px 0 0; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.rules li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 23px; color: var(--text); }
.rules svg { color: var(--data); margin-top: 4px; }
.connects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 960px) {
  .detail-grid, .detail-two { grid-template-columns: 1fr; gap: 36px; }
  .outcome-grid, .outcome-grid.three { grid-template-columns: 1fr; }
  .connects { grid-template-columns: 1fr 1fr; }
  .detail-hero .h1 { font-size: 36px; line-height: 40px; }
}

/* ---------- Contact page + 404 ---------- */
.contact-hero { padding-bottom: 96px; border-bottom: 0; }
.contact-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-intro .h1 { font-size: 48px; line-height: 52px; margin-top: 14px; }
.contact-intro .lede { margin-top: 18px; }
.contact-intro .contact-list { margin: 32px 0; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-frame); box-shadow: var(--shadow-md); }
.contact-card .modal-form { padding: 36px; }
.notfound { padding-bottom: 160px; }
.notfound .eyebrow { margin-bottom: 18px; }
@media (max-width: 960px) {
  .contact-page { grid-template-columns: 1fr; gap: 32px; }
  .contact-intro .h1 { font-size: 36px; line-height: 40px; }
  .contact-card .modal-form { padding: 24px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}
