/* CoderFlow website (preview)
   Layout, components and CoderFlow brand colors and type. */

/* Metric-matched fallback so text doesn't shift when Inter loads */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
  size-adjust: 107.06%;
}

:root {
  --blue: #4073F3;
  --blue-dark: #2650C8;
  /* Text-safe brand blue: 5.20:1 on white, 4.68:1 on --blue-50 (WCAG AA). #4073F3 stays for decorative use. */
  --blue-text: #3264E0;
  --blue-50: #EEF3FE;
  --blue-100: #DCE6FD;
  --cyan: #00D4FF;
  --cyan-50: #E6FBFF;
  --black: #000000;
  --ink: #0B1220;
  --cloud: #F8FAFC;
  --slate: #5E6D84; /* muted text: >= 4.5:1 on white, --cloud, --slate-100 and --blue-50 */
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --navy: #0A0E27;
  --navy-2: #121735;
  --amber: #B45309;
  --amber-50: #FEF3C7;
  --green: #059669;
  --green-text: #047857;
  --green-50: #ECFDF5;
  --red: #DC2626;
  --gradient: linear-gradient(135deg, #4073F3 0%, #00D4FF 100%);
  /* Deeper gradient for surfaces that carry white text (>= 5.3:1 everywhere) */
  /* Solid since 2026-11-11 (no blue gradients on the site); the name is kept for the rules that use it */
  --gradient-deep: var(--blue-text);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 24px 64px rgba(15, 23, 42, .14);
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', Consolas, Monaco, 'Courier New', monospace;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
.lead, .card p { text-wrap: pretty; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }
.grad-text { color: var(--blue-text); }
.band-dark .grad-text, .start-card.primary .grad-text { color: var(--cyan); }

/* Preview banner */
.preview-bar {
  background: var(--navy);
  color: #CBD5E1;
  font-size: .82rem;
  text-align: center;
  padding: 7px 16px;
}
.preview-bar strong { color: #fff; }
.verify {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-50);
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: middle;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 13px 22px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-text); color: #fff; box-shadow: 0 6px 18px rgba(64, 115, 243, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue-text); border-color: var(--blue-text); }
.btn-outline:hover { background: var(--blue-50); }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 1.08rem; border-radius: 14px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center .cta-row, .cta-row.center { justify-content: center; }
.micro { font-size: .85rem; color: var(--slate); margin-top: 12px; }

/* Header + mega menu */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 9px; border-radius: 10px;
  font-weight: 600; font-size: .94rem; line-height: 1.25; color: var(--ink); white-space: nowrap;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-item.open > .nav-link { background: var(--slate-100); text-decoration: none; }
.nav-link .chev { width: 12px; height: 12px; opacity: .55; transition: transform .15s; }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 14px; width: 620px;
  display: none;
}
.mega.wide { width: 760px; }
.nav-item:nth-child(n+4) > .mega.wide { left: auto; right: -160px; }
/* Menus open with .open (set by site.js on click/tap). Hover and keyboard focus also open them
   on desktop pointers only; .closing suppresses hover right after a click closes the menu. */
.nav-item.open > .mega { display: block; }
@media (min-width: 1261px) and (hover: hover) {
  .nav-item:not(.closing):hover > .mega, .nav-item:not(.closing):has(:focus-visible) > .mega { display: block; }
  .nav-item:not(.closing):hover > .nav-link .chev { transform: rotate(180deg); }
  .nav-item:hover > .mega::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega.wide .mega-grid { grid-template-columns: 1fr 1fr 1fr; }
.mega a.mega-card {
  display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink);
}
.mega a.mega-card:hover { background: var(--blue-50); text-decoration: none; }
.mega-icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.05rem;
  background: var(--blue-50); color: var(--blue-text);
}
.mega-card strong { display: block; font-size: .93rem; }
.mega-card span.d { display: block; font-size: .8rem; color: var(--slate); line-height: 1.35; }
.mega-foot { border-top: 1px solid var(--slate-200); margin-top: 10px; padding: 10px 12px 2px; font-size: .88rem; display: flex; justify-content: space-between; }
.badge-new { font-size: .62rem; font-weight: 800; color: #fff; background: var(--gradient); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.header-ctas { display: flex; gap: 8px; align-items: center; }
.header-ctas .login { font-weight: 600; color: var(--ink); padding: 8px 10px; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; margin-left: auto; min-width: 44px; min-height: 44px; padding: 0; border-radius: 10px; color: var(--ink); font-family: inherit; }
.menu-toggle:hover { background: var(--slate-100); }
.nav-link, .menu-toggle, .pill { -webkit-tap-highlight-color: transparent; }
.nav-mobile-ctas { display: none; }
html.nav-locked { overflow: hidden; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 40px;
  background: #fff;
}
.hero.center h1, .hero.center .lead { margin-left: auto; margin-right: auto; }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 1.28rem; color: #334155; max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--slate-200); box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 22px;
}
.eyebrow .tag { background: var(--gradient); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 800; }
.eyebrow:hover { text-decoration: none; border-color: var(--blue); }
.kicker { display: inline-block; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-text); margin-bottom: 12px; }
.kicker, .eyebrow, .label { hyphens: manual; overflow-wrap: normal; }
.value-points { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; gap: 10px 26px; flex-wrap: wrap; }
.center .value-points { justify-content: center; }
.value-points li { display: flex; gap: 8px; align-items: center; font-weight: 600; color: #1E293B; }
.value-points li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: .78rem; font-weight: 800; }

/* Product frames */
.frame {
  position: relative;
  border-radius: 18px; overflow: hidden;
  background: #fff; border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}
.frame-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--slate-100); border-bottom: 1px solid var(--slate-200); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); display: block; }
.frame-bar .url { margin-left: 12px; font-size: .72rem; color: var(--slate); background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; max-width: 340px; }
.frame img { width: 100%; height: auto; }
.frame.pad { padding: 18px; background: var(--cloud); }
.frame.pad img { border-radius: 10px; box-shadow: var(--shadow); }
.hero-visual { margin-top: 48px; position: relative; }
.hero-visual::before { content: none; }
.video-ph { position: relative; }
.video-ph .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(10, 14, 39, .86); color: #fff; padding: 12px 20px 12px 12px;
  border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.video-ph .play b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); font-size: .95rem; }
.caption { font-size: .8rem; color: var(--slate); margin-top: 10px; text-align: center; }

/* Sections */
section.s { padding: 96px 0; }
section.s.tight { padding: 64px 0; }
.s-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.s-head p { font-size: 1.15rem; color: #475569; }
.s-head.left { margin-left: 0; text-align: left; }
.bg-cloud { background: var(--cloud); }
.bg-blue { background: var(--blue-50); }
.band-dark { background: var(--navy); color: #CBD5E1; }
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .muted { color: #94A3B8; }
.band-dark .kicker { color: var(--cyan); }

/* Proof bar */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.proof .stat { background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; padding: 18px 20px; text-align: left; }
.proof .num { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.proof .lbl { font-size: .88rem; color: var(--slate); line-height: 1.4; }

/* Marquee of systems */
.marquee { overflow: hidden; position: relative; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sys-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 999px;
  padding: 8px 15px; font-size: .94rem; font-weight: 600; color: var(--ink); white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.sys-chip:hover { border-color: var(--blue); color: var(--blue-text); text-decoration: none; }
.sys-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }

/* Pill tabs (feature selector) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--slate-200); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .95rem;
  cursor: pointer; font-family: inherit; transition: all .15s ease;
}
.pill:hover { border-color: var(--blue); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill .ic { font-size: 1rem; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; background: var(--cloud); border: 1px solid var(--slate-200); border-radius: 28px; padding: 40px; }
.panel-grid h3 { font-size: 1.8rem; font-weight: 800; }
.panel-grid ul { padding-left: 0; list-style: none; margin: 18px 0 24px; }
.panel-grid li { padding-left: 28px; position: relative; margin-bottom: 8px; color: #334155; }
.panel-grid li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
.split h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
.split p { color: #475569; font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.band-dark .checks li::before { background: rgba(0, 212, 255, .15); color: var(--cyan); }

/* Cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  color: inherit;
  display: flex; flex-direction: column;
}
/* Inline-level bits keep their natural width inside the flex column */
.card > .label, .card > .btn, .card > .cov, .card > .status, .card > .kicker, .card > a.more { align-self: flex-start; }
/* Trailing "Learn more" style links sit on the card's bottom edge so rows line up */
.card > .more, .card > .meta:last-child { margin-top: auto; }
.card > .more { padding-top: 12px; }
a.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; border-color: var(--blue-100); }
.card p { color: #475569; font-size: .98rem; }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--blue-50); margin-bottom: 16px; }
.card .more { font-weight: 700; color: var(--blue-text); font-size: .92rem; }
.band-dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); color: #CBD5E1; }
.band-dark .card p { color: #94A3B8; }
.band-dark .card .ic { background: rgba(0, 212, 255, .12); }
.card-feature { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-feature .body { padding: 26px; }
.card-feature .media { background: var(--cloud); padding: 18px 18px 0; border-bottom: 1px solid var(--slate-200); height: 210px; overflow: hidden; }
.card-feature .media img { border-radius: 10px 10px 0 0; box-shadow: var(--shadow); object-fit: cover; object-position: top left; width: 100%; height: 100%; }

/* Two ways to start */
.start-card { border-radius: 28px; padding: 40px; border: 1px solid var(--slate-200); background: #fff; position: relative; overflow: hidden; }
.start-card.primary { background: var(--navy); color: #CBD5E1; border: 0; }
.start-card.primary h3 { color: #fff; }
.start-card.primary::after { content: none; }
.start-card .price { font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.start-card .price small { font-size: 1rem; font-weight: 500; color: #94A3B8; }
.start-card h3 { font-size: 1.7rem; font-weight: 800; }
.label { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-text); margin-bottom: 14px; }
.start-card.primary .label { background: rgba(0, 212, 255, .15); color: var(--cyan); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--slate-200); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: #475569; font-size: .96rem; margin: 0; }
.steps.s3 { grid-template-columns: repeat(3, 1fr); }
.steps.s5 { grid-template-columns: repeat(5, 1fr); }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--slate-200); }
.ba > div { padding: 28px; }
.ba .before { background: #fff; }
.ba .after { background: var(--blue-50); }
.ba h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.ba .after h4 { color: var(--blue-text); }
.ba ul { margin: 0; padding-left: 18px; color: #334155; }
.ba li { margin-bottom: 6px; }

/* Quote / story */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--navy); color: #CBD5E1; }
.story .l { padding: 48px; }
.story .r { background: var(--gradient-deep); display: grid; place-items: center; padding: 48px; color: #fff; text-align: center; }
.story .big { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.story h3 { color: #fff; font-size: 1.8rem; }

/* CTA band */
.cta-band { background: var(--gradient-deep); color: #fff; border-radius: 32px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff; font-size: 1.15rem; }
.cta-band .btn-primary { background: #fff; color: var(--blue-text); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--blue-50); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--slate-200); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: #475569; }

/* Code + explainer */
.code-card { border-radius: 18px; overflow: hidden; background: #0D1117; box-shadow: var(--shadow-lg); }
.code-card .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #161B22; color: #8B949E; font-size: .78rem; font-family: var(--mono); }
.code-card pre { margin: 0; padding: 18px 20px; tab-size: 4; color: #E6EDF3; font-size: .82rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: auto; }
.code-card .k { color: #FF7B72; } .code-card .s { color: #A5D6FF; } .code-card .c { color: #8B949E; } .code-card .n { color: #79C0FF; }
.explain { background: #fff; border-radius: 16px; border: 1px solid var(--slate-200); padding: 18px 20px; box-shadow: var(--shadow); margin-top: 14px; margin-left: 32px; position: relative; }
.explain .who { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; color: var(--blue-text); margin-bottom: 6px; }
.explain .who b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--gradient); color: #fff; font-size: .7rem; }
.explain p { font-size: .92rem; color: #334155; margin: 0 0 8px; }
.explain .src { font-size: .75rem; color: var(--slate); font-family: var(--mono); }

/* Illustrative mockups (CoderFlow for Business) */
.mock { background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: .88rem; }
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--slate-200); background: var(--cloud); }
.mock-top .brand { font-weight: 800; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.mock-top .brand i { width: 18px; height: 18px; border-radius: 5px; background: var(--gradient); display: block; }
.mock-tag { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.mock-body { padding: 18px; }
.askbar { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--blue-100); border-radius: 12px; padding: 10px 14px; color: var(--slate); background: #fff; margin-bottom: 14px; }
.askbar b { color: var(--ink); font-weight: 600; }
.answer { background: var(--cloud); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.answer p { margin: 0 0 8px; color: #1E293B; }
.sources { display: flex; gap: 6px; flex-wrap: wrap; }
.sources span { font-size: .72rem; background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 2px 9px; color: var(--slate); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px; }
.tile .t { font-size: .72rem; color: var(--slate); font-weight: 600; }
.tile .v { font-size: 1.35rem; font-weight: 800; }
.tile .d { font-size: .72rem; color: var(--green-text); font-weight: 600; }
.tile .d.bad { color: var(--red); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 8px; }
.bars i { flex: 1; background: var(--gradient); border-radius: 4px 4px 0 0; display: block; opacity: .85; }
div.req { border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.req .tt { font-weight: 700; color: var(--ink); }
.req .meta { font-size: .74rem; color: var(--slate); }
.status { font-size: .7rem; font-weight: 800; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.st-new { background: var(--slate-100); color: #475569; }
.st-prog { background: var(--amber-50); color: var(--amber); }
.st-ready { background: var(--green-50); color: var(--green-text); }
.st-blue { background: var(--blue-50); color: var(--blue-text); }
.flowline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.flowline .n { background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .93rem; box-shadow: var(--shadow); }
.flowline .a { color: var(--blue-text); font-weight: 800; }
.band-dark .flowline .n { background: var(--navy-2); border-color: rgba(255,255,255,.1); color: #fff; }
.band-dark .flowline .a { color: var(--cyan); }

/* Legacy systems hub */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.sys-card { display: flex; flex-direction: column; gap: 10px; }
.sys-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sys-mark { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: #fff; background: var(--gradient); letter-spacing: -0.02em; flex: none; }
.sys-card h3 { margin: 4px 0 0; font-size: 1.2rem; }
.sys-card .fam { font-size: .78rem; color: var(--slate); font-weight: 600; }
.cov { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.cov::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cov-deep { background: var(--green-50); color: var(--green-text); }
.cov-build { background: var(--blue-50); color: var(--blue-text); }
.cov-understand { background: var(--slate-100); color: #475569; }
.sys-card[hidden] { display: none; }
.coverage-key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Platform page hero */
.page-hero { padding: 72px 0 56px; background: #fff; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 20ch; }
.page-hero .lead { font-size: 1.22rem; color: #334155; max-width: 56ch; }
.page-hero .split { gap: 48px; }
.crumbs { font-size: .85rem; color: var(--slate); margin-bottom: 18px; }
.crumbs a { color: var(--slate); }

/* People */
.person { text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff; background: var(--gradient); }
.person h4 { margin-bottom: 2px; }
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--blue-100); }
.timeline .ev { position: relative; margin-bottom: 26px; }
.timeline .ev::before { content: ''; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 4px #fff; }
.timeline .yr { font-weight: 800; color: var(--blue-text); }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--slate-200); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 4px var(--blue-100); }
.form-note { display: none; background: var(--amber-50); color: var(--amber); border-radius: 10px; padding: 10px 14px; font-size: .88rem; font-weight: 600; }

/* Pricing table */
.price-card { border-radius: 28px; padding: 36px; border: 1px solid var(--slate-200); background: #fff; display: flex; flex-direction: column; }
.price-card.hl { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.price-card .amt { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amt small { font-size: 1rem; font-weight: 500; color: var(--slate); }
.price-card .checks { flex: 1; margin-bottom: 24px; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--slate-200); text-align: left; }
.compare th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.compare td.y { color: var(--green-text); font-weight: 800; }
.compare td.n { color: var(--slate); }

/* Footer */
.site-footer { background: var(--navy); color: #94A3B8; padding: 72px 0 32px; margin-top: 0; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.site-footer h4, .site-footer .foot-h { color: #fff; font-size: .85rem; font-weight: 700; line-height: 1.12; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #CBD5E1; }
.site-footer .logo img { height: 52px; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.by-pl { color: #94A3B8; font-size: .85rem; }
.by-pl strong { color: #CBD5E1; font-weight: 600; }

/* Responsive */
@media (max-width: 1260px) {
  .main-nav, .header-ctas .login, .header-ctas .btn-outline { display: none; }
  .header-inner { gap: 8px; }
  .header-ctas { margin-left: auto; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: 0; }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow);
    padding: 12px 16px 20px; max-height: calc(100vh - var(--menu-top, 68px)); max-height: calc(100dvh - var(--menu-top, 68px)); overflow-y: auto; overscroll-behavior: contain;
  }
  .mega, .mega.wide { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px 8px; }
  .nav-mobile-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--slate-200); }
  .nav-mobile-ctas .btn { width: 100%; }
  .mega-grid, .mega.wide .mega-grid { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.s5 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  section.s { padding: 64px 0; }
  .split, .panel-grid, .story, .ba, .g2, .g3, .coverage-key { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .split { gap: 32px; }
  .panel-grid { padding: 24px; gap: 24px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .g4, .steps, .steps.s3, .steps.s5 { grid-template-columns: 1fr; }
  .header-ctas .btn-primary { padding: 8px 12px; font-size: .85rem; }
  .cta-band { padding: 44px 24px; }
  .story .l, .story .r { padding: 32px; }
  .form .row2 { grid-template-columns: 1fr; }
  .explain { margin-left: 12px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
  .pill { flex: none; }
  .video-ph .play { font-size: .78rem; padding: 8px 14px 8px 8px; gap: 8px; }
  .video-ph .play b { width: 30px; height: 30px; }
  .preview-bar { font-size: .74rem; }
}

/* Inline SVG icons */
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.2em; flex: none; }
.card .ic .icon, .mega-icon .icon { width: 22px; height: 22px; }
.card .ic { color: var(--blue); }
.band-dark .card .ic { color: var(--cyan); }
.pill .ic .icon { width: 17px; height: 17px; }
.askbar .icon { color: var(--blue); }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.ind-card .ic { margin-bottom: 4px; }
.ind-card h3 { font-size: 1.1rem; margin: 0; }
.ind-card p { margin: 0; font-size: .92rem; }
.value-card { position: relative; overflow: hidden; }
.value-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient); }
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.qlist li { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px 16px; font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.qlist li .icon { color: var(--blue); margin-top: 3px; }
@media (max-width: 1260px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } .nav-item:nth-child(n+4) > .mega.wide { right: auto; } }
@media (max-width: 820px) { .ind-grid { grid-template-columns: 1fr 1fr; } }

/* Header: keep logo and CTAs from shrinking */
.site-header .logo, .header-ctas { flex: none; }
.header-ctas .login { white-space: nowrap; }

/* Flow lines: each arrow travels with the step it leads to */
.flowline { row-gap: 12px; }
.flowline .fl { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* About values */
.values-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 96px; }

/* Layout polish: grid/flex children may shrink below their content width (long code lines, wide mockups) */
.split > *, .grid > *, .panel-grid > *, .story > *, .ba > * { min-width: 0; }
.code-card pre { max-width: 100%; }
@media (max-width: 820px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .cta-row .btn-lg { width: 100%; }
  .compare { display: block; overflow-x: auto; font-size: .88rem; }
  .compare th, .compare td { padding: 10px 10px; }
  .page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); overflow-wrap: break-word; }
  h1 { overflow-wrap: break-word; }
}
@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; }
  .proof .num { font-size: 1.35rem; }
}

/* Legacy systems hub: grouped by family */
.fam-group { margin-bottom: 40px; }
.fam-group[hidden] { display: none; }
.fam-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--slate-200); }
.sys-card.cant-find { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy); border: 0; color: #CBD5E1; }
.sys-card.cant-find h3 { color: #fff; margin-bottom: 6px; }
.sys-card.cant-find p { color: #94A3B8; }
@media (max-width: 820px) { .sys-card.cant-find { flex-direction: column; align-items: flex-start; } }

/* Five-column grid (10 use cases in two rows) */
.g5 { grid-template-columns: repeat(5, 1fr); }
.g5 .card { padding: 22px; }
.g5 .card h3 { font-size: 1.08rem; }
.g5 .card p { font-size: .9rem; }
@media (max-width: 1180px) { .g5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .g5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .g5 { grid-template-columns: 1fr; } }

/* Page hero headings: a little smaller so long headlines stay balanced */
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
@media (max-width: 820px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: -24px; margin-right: -24px; padding: 0 24px 6px; scrollbar-width: none; }
  .filters .pill { flex: none; }
}
@media (max-width: 420px) { .proof .num { font-size: 1.15rem; } }

/* Proven in-house stats */
.proven .num { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.proven .card p { margin: 0; }
.band-dark .proven .card p { color: #CBD5E1; }

/* Answer-first summary line and freshness date */
.in-short { font-size: 1rem; color: #334155; background: rgba(255,255,255,.75); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; padding: 10px 14px; margin: 0 0 22px; max-width: 60ch; }
.in-short strong { color: var(--ink); }

/* Facts block */
.facts { margin: 0; border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--slate-200); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: #334155; }
@media (max-width: 640px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* Blog */
.blog-card { gap: 10px; }
.blog-card .label { align-self: flex-start; margin-bottom: 0; }
.blog-card h3 { font-size: 1.15rem; margin: 0; }
.meta { font-size: .85rem; color: var(--slate); }
.blog-card .meta { margin-top: auto; }
.blog-feature { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; background: var(--blue-50); border-color: var(--blue-100); }
.blog-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 6px 0 10px; }
.blog-feature p { color: #475569; max-width: 70ch; }
a.blog-feature:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
@media (max-width: 820px) { .blog-feature { flex-direction: column; align-items: flex-start; padding: 28px; } }
.blog-hero { padding-bottom: 24px; }
.blog-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3rem); }
.takeaway { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 16px; padding: 20px 24px; margin-bottom: 36px; }
.takeaway strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-text); margin-bottom: 6px; }
.takeaway p { margin: 0; font-size: 1.08rem; color: var(--ink); }
.prose { font-size: 1.07rem; color: #1E293B; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 4px solid var(--blue); color: #334155; font-style: italic; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tags span { font-size: .8rem; background: var(--slate-100); color: #475569; border-radius: 999px; padding: 4px 12px; }

/* Guides and glossary */
.guide-h { font-size: 1.6rem; margin: 0 0 16px; }
.table-wrap { overflow-x: auto; margin-bottom: 24px; border: 1px solid var(--slate-200); border-radius: 16px; }
.table-wrap .compare { margin: 0; }
.table-wrap .compare td, .table-wrap .compare th { vertical-align: top; }
.related-links { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--slate-200); font-size: .95rem; }
.glossary-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.glossary-index a { font-size: .85rem; font-weight: 600; background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 6px 12px; color: var(--ink); }
.glossary-index a:hover { border-color: var(--blue); color: var(--blue-text); text-decoration: none; }
.glossary { margin: 0; }
.glossary > div { padding: 20px 0; border-bottom: 1px solid var(--slate-200); }
.glossary dt { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.glossary dd { margin: 0; color: #334155; }
.band-dark .s-head p { color: #CBD5E1; }

/* Accessibility: skip link, keyboard focus, duplicated marquee copy */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--blue-text); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; border-radius: 6px; }
.marquee-dup { display: contents; }
.foot-bottom a { color: #CBD5E1; text-decoration: underline; }

/* ===== Custom systems redesign (2026-10-23) ===== */
.cov-replace { background: #FFF7ED; color: #C2410C; }

/* Solutions mega menu */
.mega.solutions { width: 980px; left: -220px; padding: 24px 8px 20px; }
.sol-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; }
.sol-col { padding: 0 24px; display: flex; flex-direction: column; align-items: flex-start; }
.sol-col + .sol-col { border-left: 1px solid var(--slate-200); }
.mega-h { font-size: .72rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; color: var(--slate); margin: 0 0 10px; }
.mega-h-sub { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--slate-200); align-self: stretch; }
.mega-link { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--ink); white-space: nowrap; }
.mega-link:hover { background: var(--blue-50); color: var(--blue-text); text-decoration: none; }
.mega-more { margin-top: auto; color: var(--blue-text); }
.sol-col > .mega-link:has(+ .mega-more) { margin-bottom: 10px; }
@media (max-width: 1260px) { .mega.solutions { width: auto; left: auto; padding: 16px 0; } .sol-grid { grid-template-columns: 1fr 1fr; row-gap: 20px; } .sol-col:nth-child(3) { border-left: 0; } .mega-link { white-space: normal; } }
@media (max-width: 640px) { .sol-grid { grid-template-columns: 1fr; } .sol-col { padding: 0 8px; } .sol-col + .sol-col { border-left: 0; } }
.mega.systems-menu { width: 680px; left: -220px; padding: 20px 24px; }
.systems-menu-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 24px; }
.systems-menu-list .mega-link { margin: 0; padding: 10px; white-space: normal; }
.systems-menu .mega-strip { margin: 14px 0 0; padding-top: 14px; justify-content: flex-end; }
.systems-menu .mega-more { margin: 0; }
@media (max-width: 1260px) { .mega.systems-menu { width: auto; left: auto; padding: 12px 8px; } }
@media (max-width: 640px) { .systems-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; } }
@media (max-width: 1260px) { .header-ctas .hide-sm { display: none; } }

/* Homepage sections */
.paths .card, .size-card { display: flex; flex-direction: column; gap: 6px; }
.paths .card h3, .size-card h3 { font-size: 1.25rem; }
.paths .more, .size-card .more { margin-top: auto; }
.size-card .label { align-self: flex-start; }
.everyday .card { display: flex; flex-direction: column; padding: 22px; }
.everyday .card h3 { font-size: 1.1rem; }
.everyday .card .more { margin-top: auto; }
.erp-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 28px; padding: 44px; }
.erp-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.erp-band > * { min-width: 0; }
@media (max-width: 820px) { .erp-band { grid-template-columns: 1fr; padding: 28px; } }

/* Mockups: spreadsheet to app, documents, connections, extraction, SOP */
.s2a { display: grid; grid-template-columns: 1.15fr auto 1fr; gap: 12px; align-items: center; }
.s2a > * { min-width: 0; }
.s2a-arrow { font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.sheet { border: 1px solid #CBD5E1; border-radius: 8px; overflow: hidden; font-size: .72rem; background: #fff; }
.sheet-tabs { background: var(--slate-100); color: #334155; font-weight: 700; padding: 4px 8px; font-size: .7rem; border-bottom: 1px solid var(--slate-200); }
.sheet table { border-collapse: collapse; width: 100%; }
.sheet th, .sheet td { border: 1px solid #E2E8F0; padding: 3px 5px; text-align: left; white-space: nowrap; }
.sheet th { background: #F1F5F9; color: var(--slate); font-weight: 600; }
.sheet td.err { color: var(--red); font-weight: 700; }
.app { border: 1px solid var(--blue-100); border-radius: 12px; padding: 12px; background: #fff; box-shadow: var(--shadow); }
.app-h { font-weight: 800; margin-bottom: 8px; }
.fld { border: 1px solid var(--slate-200); border-radius: 8px; padding: 5px 8px; margin-bottom: 6px; }
.fld span { display: block; font-size: .64rem; color: var(--slate); text-transform: uppercase; letter-spacing: .05em; }
.fld b { font-size: .82rem; }
.fld.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; }
.fld.two > div { border: 1px solid var(--slate-200); border-radius: 8px; padding: 5px 8px; }
.app-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.docsrc { background: var(--cloud); border-radius: 10px; padding: 10px 12px; font-size: .78rem; }
.docsrc .t, .pdf .t { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 4px; }
.docsrc p { margin: 0 0 6px; color: #334155; }
.docsrc mark { background: var(--blue-50); color: var(--blue-text); border-radius: 4px; padding: 0 3px; }
.docsrc .mono { font-family: var(--mono); font-size: .72rem; }
.docs { display: grid; gap: 6px; }
.doc { border: 1px solid var(--slate-200); border-left: 4px solid var(--blue); border-radius: 8px; padding: 8px 10px; font-size: .8rem; font-weight: 600; background: #fff; }
.conn { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 10px; align-items: center; }
.sysbox { border: 1px solid var(--slate-200); border-radius: 12px; padding: 14px; text-align: center; background: #fff; box-shadow: var(--shadow); }
.sysbox b { display: block; }
.sysbox span { font-size: .78rem; color: var(--slate); }
.pipe { text-align: center; font-size: .74rem; color: var(--slate); display: grid; gap: 6px; justify-items: center; }
.pipe i { display: block; width: 100%; height: 4px; border-radius: 4px; background: var(--gradient); }
.pdf { border: 1px solid var(--slate-200); border-radius: 8px; padding: 10px; background: #fff; }
.pdf .ln { height: 8px; border-radius: 4px; background: var(--slate-200); margin: 6px 0; }
.pdf .ln.w80 { width: 80%; } .pdf .ln.w60 { width: 60%; } .pdf .ln.w70 { width: 70%; }
.pdf .ln.hl { height: auto; background: #FEF9C3; font-size: .72rem; font-weight: 700; padding: 2px 6px; }
.sop ol { margin: 0; padding-left: 20px; font-size: .86rem; color: #1E293B; }
.sop li { margin-bottom: 6px; }
@media (max-width: 640px) { .s2a { grid-template-columns: 1fr; } .s2a-arrow { transform: rotate(90deg); justify-self: center; } .conn { grid-template-columns: 1fr; } }

/* Examples and gallery */
.example { display: flex; flex-direction: column; gap: 4px; }
.example h3 { margin-bottom: 4px; }
.example .replaces, .gallery-card .replaces { color: #475569; font-size: .92rem; }
.example .more { margin-top: auto; }
.gallery-card .mock { box-shadow: var(--shadow); }
.built-teaser { align-items: center; }
.band-dark .split p { color: #CBD5E1; }
/* Center a lone last card in three-column grids, only under centered headings (a centered
   section head, or a hub grid right below a centered hero). Not on the left-aligned family
   groups of the systems hub or the filtered blog grid. */
@media (min-width: 821px) {
  .s-head:not(.left) + .grid.g3 > :last-child:nth-child(3n+1),
  .hero.center + section .container > .grid.g3:first-child > :last-child:nth-child(3n+1) { grid-column: 2; }
}
/* Platform menu: same column structure and dividers as Solutions */
.mega.platform { width: 1000px; left: -126px; padding: 24px 8px 20px; }
.mega.platform .sol-grid { grid-template-columns: 1fr 1fr 1fr; }
.mega.platform .sol-col { align-items: stretch; padding: 0 16px; }
.mega.platform .mega-h { padding-left: 12px; }
.mega.platform a.mega-card { padding: 9px 12px; }
@media (max-width: 1260px) { .mega.platform { width: auto; left: auto; padding: 16px 0; } .mega.platform .sol-grid { grid-template-columns: 1fr; row-gap: 16px; } .mega.platform .sol-col + .sol-col { border-left: 0; } .mega.platform .mega-h { padding-left: 0; } }

/* ===== Review fixes (2026-10-23) ===== */

/* Resources (2 columns) and Company (1 column) menus: same structure as the Platform menu */
/* Left-anchored like the other menus: at 1261-1440px both fit inside the viewport (a right anchor overflows at 1280px) */
.mega.mini { width: 380px; left: 0; padding: 24px 8px 20px; }
.mega.mini-2 { width: 640px; }
.mega.mini .sol-grid { grid-template-columns: 1fr; }
.mega.mini-2 .sol-grid { grid-template-columns: 1fr 1fr; }
.mega.mini .sol-col { align-items: stretch; padding: 0 16px; }
.mega.mini .mega-h { padding-left: 12px; }
.mega.mini a.mega-card { padding: 9px 12px; }
@media (max-width: 1260px) {
  .mega.mini, .mega.mini-2 { width: auto; left: auto; right: auto; padding: 16px 0; }
  .mega.mini .sol-grid, .mega.mini-2 .sol-grid { grid-template-columns: 1fr; row-gap: 16px; }
  .mega.mini .sol-col { padding: 0 8px; }
  .mega.mini .sol-col + .sol-col { border-left: 0; }
  .mega.mini .mega-h { padding-left: 0; }
}

/* Vertical rhythm: two white sections in a row share one gap, as do two cloud sections */
section.s:not([class*="bg-"]):not(.band-dark) + section.s:not([class*="bg-"]):not(.band-dark),
section.s.bg-cloud + section.s.bg-cloud { padding-top: 0; }
/* Blog posts and guides: byline sits close to the first paragraph */
.blog-hero + section.s { padding-top: 16px; }

/* Required-field marker in form labels */
span.req { color: var(--red); font-weight: 700; margin-left: 3px; }

/* Screen-reader-only text (filter result counts) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  /* Home hero checklist: a left-aligned block centered as a whole, so icons line up when lines wrap */
  .center .value-points { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 10px; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .value-points li { align-items: flex-start; }
  .value-points li::before { margin-top: 2px; }

  /* Mock dashboard tiles: three compact tiles in a row */
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tiles .tile { padding: 10px; }
  .tiles .tile .v { font-size: 1.12rem; }

  /* Horizontally scrolling pill rows: fade the edge that has more pills (site.js sets data-scroll) */
  .pills, .filters {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
  }
  .pills[data-scroll="middle"], .filters[data-scroll="middle"] {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  }
  .pills[data-scroll="end"], .filters[data-scroll="end"] {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px);
    mask-image: linear-gradient(90deg, transparent, #000 56px);
  }
  .pills[data-scroll="none"], .filters[data-scroll="none"] { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) {
  /* Code samples: smaller type so fewer lines wrap */
  .code-card pre { font-size: .74rem; padding: 14px 16px; }
}
@media (max-width: 420px) {
  /* Mock dashboard tiles: one compact column, label left and value right */
  .tiles { grid-template-columns: 1fr; gap: 6px; }
  .tiles .tile { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 8px 12px; }
  .tiles .tile .t, .tiles .tile .d { grid-column: 1; }
  .tiles .tile .v { grid-column: 2; grid-row: 1 / span 2; font-size: 1.1rem; }
}
/* ---- Agent B handoff (append to style.css) ---- */
/* "In short" band directly below the hero on system, industry, use-case and size pages */
.short-band { background: #fff; padding: 0 0 40px; }
.short-band-inner { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.short-band .in-short { margin: 0; max-width: 92ch; flex: 1 1 520px; }
.short-band-badge { flex: 0 0 auto; }
/* Home "starting point" card with two links */
.paths .more + .more { margin-top: 0; }
/* Single proof stat (customer story) */
.proof.proof-one { grid-template-columns: minmax(0, 340px); }
/* Caption under the industry "questions your team can ask" list */
.ask-caption { margin-top: 10px; max-width: 60ch; text-align: left; }
/* Required-field marker in forms (span.req; .req is also used by request-row mocks, so reset those styles here) */
.form .req, label .req, .form-req-note .req { display: inline; border: 0; border-radius: 0; padding: 0; margin: 0 0 0 2px; color: #B91C1C; font-weight: 700; }
/* System pages: the code sample is taller than the hero copy, so top-align to keep the CTAs above the fold */
.page-hero .split.hero-top { align-items: start; }
.page-hero .split.hero-top > div:first-child { padding-top: 24px; }
@media (max-width: 1260px) { .page-hero .split.hero-top > div:first-child { padding-top: 0; } }

/* ---- T2: forms (hints, radio groups, success and error states) ---- */
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-size: .85rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
.form legend .optional, .form label .optional { font-weight: 400; color: var(--slate); }
.form input[type="radio"], .form input[type="checkbox"] { width: auto; padding: 0; margin: 0; border-radius: 0; accent-color: var(--blue-text); flex: 0 0 auto; }
.form input[type="radio"]:focus, .form input[type="checkbox"]:focus { box-shadow: none; }
.form input[type="radio"]:focus-visible, .form input[type="checkbox"]:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 2px; }
/* call_it_legacy: radios side by side, wrapping on narrow screens */
.form .radio-group .radios, .form .radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form .radios label, .form label.radio { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: .92rem; cursor: pointer; }
.form-hint, .form .hint { font-size: .85rem; color: var(--slate); margin: 6px 0 0; }
.form-hint a, .form .hint a { font-weight: 600; }
.form-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; border-radius: 10px; padding: 10px 14px; font-size: .9rem; font-weight: 600; }
.form-error a { color: #991B1B; text-decoration: underline; }
.form-success { padding: 28px 8px; text-align: center; outline: none; }
.form-success h3 { margin: 0 0 8px; font-size: 1.35rem; }
.form-success p { margin: 0; color: #475569; }
.form button[disabled] { opacity: .7; cursor: progress; }

/* ---- T2: cookie consent banner (shown only when GA4 is configured) ---- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  background: var(--navy); color: #CBD5E1; border-radius: 14px; padding: 14px 18px; box-shadow: 0 12px 40px rgba(2, 6, 23, .35); font-size: .9rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; }
.consent a { color: var(--cyan); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }
.consent-btn { font: inherit; font-weight: 600; font-size: .88rem; border-radius: 999px; padding: 8px 18px; cursor: pointer; border: 1.5px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; }
.consent-btn:hover { background: rgba(255, 255, 255, .12); }
.consent-accept { background: #fff; color: var(--blue-text); border-color: #fff; }
.consent-accept:hover { background: var(--blue-50); }

/* ---- T2: product tour (tour.html) ---- */
.page-hero.tour-hero { padding-bottom: 8px; }
.tour-hero h1 { max-width: 22ch; }
section.s.tour-section { padding-top: 24px; }
.tour-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
.tour-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.tour-step[hidden] { display: none; }
.tour-count { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-text); background: var(--blue-50); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.tour-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.tour-text p { font-size: 1.1rem; color: #334155; margin: 0; }
.tour-shot .frame { box-shadow: var(--shadow-lg); }
.tour-end { margin-top: 24px; }
.tour-end p { margin: 0 0 14px; }
.tour-end .cta-row .btn { padding: 12px 22px; }
.tour-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.tour-bar[hidden], .tour-nav[hidden] { display: none; }
.tour-progress { margin: 0; font-weight: 600; color: var(--ink); }
.tour-dots { display: flex; gap: 8px; }
.tour-dot { width: 28px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.tour-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); transition: background .15s, transform .15s; }
.tour-dot:hover::before { background: var(--blue); }
.tour-dot.active::before { background: var(--blue-text); transform: scale(1.3); }
.tour-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--slate-200); }
.tour-nav .btn[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.tour-js .tour-steps { gap: 0; min-height: 420px; }
/* No JavaScript: steps are listed one after another with a divider */
.tour:not(.tour-js) .tour-step + .tour-step { padding-top: 64px; border-top: 1px solid var(--slate-200); }
@media (hover: none) { .tour-keys { visibility: hidden; } }
@media (max-width: 900px) {
  .tour-step { grid-template-columns: 1fr; gap: 24px; }
  .tour-js .tour-steps { min-height: 0; }
  .tour-shot { order: -1; }
  .tour-keys { display: none; }
}
@media (max-width: 560px) {
  .tour-dot { width: 22px; height: 28px; }
  .tour-nav .btn { padding: 10px 16px; }
}

/* ---- T2: security overview (security-overview.html), screen and print ---- */
.secov-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.secov-head h1 { max-width: 18ch; }
.secov-actions { flex: 0 0 auto; }
.secov-actions p { margin: 8px 0 0; max-width: 28ch; }
section.s.secov { padding-top: 8px; }
.secov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.secov-block { border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 22px 24px; background: #fff; break-inside: avoid; page-break-inside: avoid; }
.secov-block h2 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin: 0 0 10px; }
.secov-block h2 .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-50); color: var(--blue-text); display: grid; place-items: center; flex: 0 0 auto; }
.secov-block h2 .ic .icon { width: 18px; height: 18px; }
.secov-block ul { margin: 0; padding-left: 18px; }
.secov-block li { margin: 0 0 6px; font-size: .95rem; color: #334155; }
.secov-block li:last-child { margin-bottom: 0; }
.secov-foot { margin: 24px 0 0; font-size: .88rem; color: var(--slate); }
.print-only { display: none; }
@media (max-width: 820px) { .secov-grid { grid-template-columns: 1fr; } }

@media print {
  @page { margin: 10mm 11mm; }
  html, body { background: #fff !important; }
  body { font-size: 10pt; color: #000; }
  .site-header, .site-footer, .preview-bar, .skip-link, .consent, .no-print, .cta-band, .menu-toggle { display: none !important; }
  .print-only { display: block; }
  span.print-only { display: inline; }
  a { color: inherit; text-decoration: none; }
  section.s, section.s.tight, .page-hero { padding: 0 !important; background: none !important; }
  .container { max-width: none; padding: 0; }
  details { break-inside: avoid; }
  img { max-width: 100% !important; break-inside: avoid; }
  .secov-hero { margin-bottom: 6pt; }
  .secov-head { display: block; }
  .secov-hero .kicker { display: none; }
  .secov-hero h1 { font-size: 16pt; max-width: none; margin: 0 0 3pt; letter-spacing: -.01em; }
  .secov-hero .lead { font-size: 9.5pt; line-height: 1.35; margin: 0; max-width: none; color: #000; }
  .secov-print-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1.5pt solid #3264E0; padding-bottom: 5pt; margin-bottom: 8pt; font-size: 8.5pt; color: #333; }
  .secov-print-head img { width: 110px; height: auto; }
  .secov-grid { grid-template-columns: 1fr 1fr; gap: 6pt; }
  .secov-block { padding: 5pt 8pt 6pt; border-color: #bbb; border-radius: 5pt; }
  .secov-block h2 { font-size: 9.5pt; margin-bottom: 3pt; gap: 6px; }
  .secov-block h2 .ic { width: 18px; height: 18px; border-radius: 5px; }
  .secov-block h2 .ic .icon { width: 11px; height: 11px; }
  .secov-block ul { padding-left: 13px; }
  .secov-block li { font-size: 8pt; margin-bottom: 1.5pt; color: #111; line-height: 1.3; }
  .secov-foot { font-size: 7.5pt; margin-top: 6pt; color: #333; }
  /* Product tour prints every step */
  .tour-step[hidden] { display: grid !important; }
  .tour-bar, .tour-nav { display: none !important; }
  .tour-step { break-inside: avoid; margin-bottom: 16pt; }
}
/* ---- T1: page templates (homepage restructure, thread, proof by audience, buying paths, forms) ---- */
/* Thread line ("Built from what you have") under hero buttons */
.thread { margin: 16px 0 0; font-weight: 600; color: #1E293B; display: flex; gap: 8px; align-items: baseline; }
.thread::before { content: ''; flex: none; width: 18px; height: 3px; border-radius: 2px; background: var(--gradient); transform: translateY(-4px); }
.center .thread, .hero.center .thread { justify-content: center; }
.tour-link { margin-top: 6px; }
.tour-link a { font-weight: 600; }
/* "Also called" line under system page H1s */
.aka { margin: -6px 0 14px; font-size: .9rem; color: var(--slate); font-weight: 600; }

/* Home: "Which sounds like you?" situation tiles (whole tile clickable through the main link) */
.situation { position: relative; display: flex; flex-direction: column; gap: 4px; }
.situation h3 { font-size: 1.2rem; }
.situation .more { margin-top: auto; padding-top: 12px; }
.situation .situation-main::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.situation .situation-second { position: relative; z-index: 1; margin-top: 0; padding-top: 4px; }
.situation:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.situation:focus-within { box-shadow: 0 0 0 3px var(--blue-100); }
.link-rows { margin-top: 32px; display: grid; gap: 12px; justify-items: center; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; justify-content: center; }
.link-row-h { font-weight: 700; color: var(--ink); margin-right: 4px; }

/* Home: built from what you have */
.diff-line { margin: 28px auto 0; max-width: 70ch; font-weight: 600; color: #1E293B; }

/* Home: proven on the hardest systems */
.sys-group h3 { font-size: 1.2rem; }
.sys-links { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sys-links a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: .9rem; }
.sys-links a:hover { border-color: var(--cyan); text-decoration: none; }
.erp-line { margin: 28px auto 0; max-width: 74ch; color: #CBD5E1; }
.band-dark .erp-line a { color: var(--cyan); font-weight: 700; }

/* Proof by audience: the small-team column (with the example) spans two rows on the left */
.proof-cols { grid-template-columns: 1.3fr 1fr; }
.proof-cols .proof-col:first-child { grid-row: span 2; }
@media (max-width: 820px) { .proof-cols { grid-template-columns: 1fr; } .proof-cols .proof-col:first-child { grid-row: auto; } }
.proof-col { display: flex; flex-direction: column; gap: 6px; }
.proof-col .num { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-top: 6px; }
.proof-col .lbl { margin: 0 0 8px; font-weight: 600; color: #334155; }
.proof-col .more { margin-top: auto; padding-top: 12px; }
.illustrative { border: 1px dashed var(--blue-100); background: var(--blue-50); border-radius: 16px; padding: 16px 18px; margin: 8px 0; }
.illustrative .label { background: #fff; margin-bottom: 8px; }
.illustrative p { margin: 0; color: #334155; font-size: .95rem; }
.honest-line { font-weight: 600; color: #1E293B; margin: 8px 0 0; }
.proof.proof-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.proof.proof-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .proof.proof-3 { grid-template-columns: 1fr; } }

/* Home: six industry tiles in two full rows */
.ind-grid.ind-six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .ind-grid.ind-six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-grid.ind-six { grid-template-columns: 1fr; } }

/* Two buying paths */
.path-cards { align-items: stretch; }
.path-cards .start-card { display: flex; flex-direction: column; }
.path-cards .start-card > p:last-child { margin-top: auto !important; padding-top: 20px; }
.path-cards .start-card h3 { font-size: 1.45rem; }
.path-cards .start-card > .label { align-self: flex-start; }
.path-cards .start-card > * { position: relative; z-index: 1; }
.start-card.primary a:not(.btn) { color: var(--cyan); }
.security-note { display: flex; gap: 16px; align-items: flex-start; margin: 28px auto 0; max-width: 860px; padding: 18px 22px; border: 1px solid var(--slate-200); border-radius: 16px; background: #fff; }
.security-note .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.security-note .ic .icon { width: 20px; height: 20px; }
.security-note p { margin: 0; }
.security-note a { font-weight: 700; margin-right: 12px; white-space: nowrap; }
@media (max-width: 560px) { .security-note a { white-space: normal; display: inline-block; margin-top: 6px; } }

/* Pricing */
.not-included { margin: 4px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--cloud); border: 1px solid var(--slate-200); }
.not-included p { margin: 0 0 4px; }
.not-included ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: .9rem; }
.path-pick .card h3 { font-size: 1.35rem; }
.path-pick .card > p:last-child { margin-top: auto; }

/* Forms: hint, optional marker, radio group */
.form .form-hint { margin: 6px 0 0; }
.form .optional { font-weight: 500; color: var(--slate); }
.form .radio-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form .radio-group legend { font-size: .85rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.form .radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form .radios label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: .92rem; cursor: pointer; }
.form .radios input[type="radio"] { width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--blue-text); }

/* Built with CoderFlow: illustrative example card spans the full row */
.gallery-illustrative { grid-column: 1 / -1; }

/* ===================================================================== Product tours (tours.html, tour-<slug>.html) */
.pt-hub-hero { padding-bottom: 32px; }
.pt-hub-hero h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.pt-hero-facts { font-weight: 600; color: #334155; margin: 0; }
.pt-mode-note { display: inline-block; margin: 14px 0 0; padding: 6px 14px; border-radius: 12px; background: var(--amber-50); color: #92400E; font-size: .86rem; font-weight: 600; }
.pt-mode-note[hidden] { display: none; }

/* Poster facade: thumbnail with a play button; the tour only loads when it's clicked */
.pt-poster { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--slate-200); background: var(--cloud); color: #fff; }
.pt-poster img { width: 100%; height: auto; transition: transform .3s ease; }
.pt-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 39, 0) 40%, rgba(10, 14, 39, .55)); }
.pt-poster:hover { text-decoration: none; }
.pt-poster:hover img { transform: scale(1.02); }
.pt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pt-play-btn { width: 76px; height: 76px; border-radius: 50%; background: var(--blue-text); box-shadow: 0 10px 30px rgba(38, 80, 200, .45); display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.pt-play-btn::before { content: ''; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.pt-poster:hover .pt-play-btn, .pt-poster:focus-visible .pt-play-btn { transform: scale(1.08); background: var(--blue-dark); }
.pt-play-label { background: rgba(10, 14, 39, .82); color: #fff; font-weight: 700; font-size: .92rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.pt-poster:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; }

/* Featured tour */
.pt-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 28px; padding: 32px; }
.pt-featured-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 8px; }
.pt-featured-text .label { margin-bottom: 10px; }
.pt-featured-text p { color: #334155; }

/* Filters */
.pt-filters { background: #fff; border: 1px solid var(--slate-200); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 8px; display: grid; gap: 12px; }
.pt-filters[hidden] { display: none; }
.pt-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pt-filter-label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); min-width: 52px; }
.pt-filters .pill { padding: 7px 14px; font-size: .88rem; }
.pt-filters .pill:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 2px; }
.pt-count { margin: 2px 0 0; font-size: .9rem; color: var(--slate); font-weight: 600; }

/* Groups and cards */
.pt-group { margin-top: 44px; }
.pt-group[hidden], .pt-card[hidden], .pt-empty[hidden] { display: none; }
.pt-group-title { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0 0 4px; }
.pt-blurb { color: var(--slate); margin: 0 0 18px; max-width: 70ch; }
.pt-card { padding: 0; overflow: hidden; }
.pt-thumb { display: block; aspect-ratio: 16 / 10; background: var(--cloud); border-bottom: 1px solid var(--slate-200); overflow: hidden; }
.pt-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .3s ease; }
.pt-card:hover .pt-thumb img { transform: scale(1.03); }
.pt-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pt-meta { margin: 0; font-size: .82rem; font-weight: 700; color: var(--slate); letter-spacing: .01em; }
.pt-title { font-size: 1.12rem; margin: 0; line-height: 1.3; }
.pt-title a { color: var(--ink); }
.pt-desc { margin: 0; font-size: .93rem !important; }
.pt-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pt-actions .more { font-size: .92rem; font-weight: 700; }
.pt-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.pt-empty { text-align: center; margin: 32px 0 0; padding: 28px; border-radius: 20px; background: var(--cloud); color: var(--slate); }
.pt-more-note { margin-top: 48px; padding: 24px 28px; border: 1.5px dashed var(--slate-300); border-radius: 20px; text-align: center; }
.pt-more-note p { margin: 0; color: #334155; }
.pt-more-note p + p { margin-top: 8px; color: var(--slate); }

/* "See it in a tour" callout on related pages */
.pt-callout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: center; background: var(--cloud); border: 1px solid var(--slate-200); border-radius: 28px; padding: 32px; }
.pt-callout-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pt-callout-head p { color: #475569; }
.pt-callout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pt-callout-grid:has(> :only-child) { grid-template-columns: minmax(0, 360px); }
.pt-card-compact .pt-body { padding: 14px 18px 18px; }
.pt-card-compact .pt-title { font-size: 1.02rem; }
.pt-coming { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--blue-50); border: 1px solid var(--blue-100); color: #1E293B; }
.pt-coming-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-text); color: #fff; display: grid; place-items: center; font-size: .7rem; padding-left: 2px; }

/* Tour page */
.pt-page-hero .split { align-items: center; }
.pt-h1 { font-size: clamp(2rem, 3.8vw, 3rem) !important; max-width: 22ch; }
.pt-meta-line { margin: 0 0 16px; font-weight: 600; color: #334155; font-size: .98rem; word-spacing: .06em; }
.pt-detail { align-items: start; }
.pt-h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.pt-steps { list-style: none; counter-reset: pt; padding: 0; margin: 20px 0 16px; display: grid; gap: 10px; }
.pt-steps li { counter-increment: pt; position: relative; padding: 10px 14px 10px 52px; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; font-weight: 600; color: var(--ink); }
.pt-steps li::before { content: counter(pt); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue-text); display: grid; place-items: center; font-size: .82rem; font-weight: 800; }
.pt-side { display: grid; gap: 20px; }
.pt-who ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pt-who li { color: #334155; font-size: .96rem; }
.pt-who h3, .pt-email h3 { font-size: 1.2rem; }
.pt-related li a { font-weight: 600; }
.pt-email .form { gap: 12px; }

/* External-link marker when "Start the tour" opens a new tab (preview and other hosts) */
.tp-ext { font-size: .85em; margin-left: 2px; }

/* ===================================================================== Tour player (site.js) */
html.tp-lock { overflow: hidden; }
dialog.tp { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--navy); color: #fff; overflow: hidden; }
dialog.tp[open] { display: flex; flex-direction: column; }
dialog.tp::backdrop { background: rgba(10, 14, 39, .85); }
.tp-bar { flex: none; display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 18px; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); min-height: 58px; }
.tp-logo { flex: none; display: flex; align-items: center; }
.tp-logo img { height: 40px; width: auto; margin: -4px 0 -4px -8px; }
.tp-heading { flex: 1; min-width: 0; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tp-heading h2 { margin: 0; font-size: .98rem; font-weight: 700; color: #fff; letter-spacing: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-progress { margin: 0; font-size: .8rem; color: #94A3B8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.tp-actions .tp-all { color: #CBD5E1; font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 8px; }
.tp-actions .tp-all:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.tp-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.tp-actions .btn-outline:hover { background: rgba(255, 255, 255, .1); }
.tp-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; }
.tp-close:hover { background: rgba(255, 255, 255, .1); }
dialog.tp :focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.tp-note { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 18px; background: var(--amber-50); color: #78350F; font-size: .88rem; font-weight: 600; }
.tp-note[hidden] { display: none; }
.tp-note p { margin: 0; flex: 1; }
.tp-note a { color: #78350F; text-decoration: underline; }
.tp-note button { flex: none; border: 0; background: transparent; color: #78350F; font-size: 1rem; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; }
.tp-stage { position: relative; flex: 1; min-height: 0; background: var(--navy-2); }
.tp-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .25s ease; }
.tp-frame:not(.loaded) { pointer-events: none; }
.tp-frame.loaded { opacity: 1; }
.tp-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #CBD5E1; font-weight: 600; text-align: center; padding: 24px; }
.tp-loading[hidden] { display: none; }
.tp-spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); border-top-color: var(--cyan); animation: tp-spin .8s linear infinite; }
@keyframes tp-spin { to { transform: rotate(360deg); } }
.tp-fallback { margin: 0; font-weight: 500; color: #CBD5E1; }
.tp-fallback[hidden] { display: none; }
.tp-fallback a { color: var(--cyan); font-weight: 700; }

/* "What next?" card: inside the player after the tour's finish, or on the page after closing part way through */
.tp-next { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(10, 14, 39, .72); }
.tp-next[hidden], .tp-after[hidden] { display: none; }
.tp-card { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 28px; width: min(480px, 100%); }
.tp-card h2, .tp-card h3 { margin: 0 0 6px; font-size: 1.4rem; color: var(--ink); }
.tp-card p { color: #475569; margin: 0 0 16px; }
.tp-card .cta-row { gap: 10px; }
.tp-card .tp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .92rem; font-weight: 600; }
.tp-card .tp-links button { border: 0; background: none; padding: 0; color: var(--blue-text); font: inherit; cursor: pointer; }
.tp-card .tp-links button:hover { text-decoration: underline; }
.tp-after { position: fixed; right: 20px; bottom: 20px; z-index: 150; width: min(400px, calc(100vw - 40px)); }
.tp-after .tp-card { padding: 22px 22px 20px; position: relative; }
.tp-after .tp-card h2 { font-size: 1.2rem; padding-right: 32px; }
.tp-after .tp-dismiss { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--slate-100); color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) {
  .pt-featured, .pt-callout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .pt-callout-grid { grid-template-columns: 1fr; }
  .pt-featured, .pt-callout { padding: 22px; gap: 24px; }
  .pt-filters { padding: 14px 16px; }
  .pt-filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  .pt-filter-row::-webkit-scrollbar { display: none; }
  .pt-filter-row .pill { flex: none; }
  .pt-play-btn { width: 60px; height: 60px; }
  .pt-play-btn::before { border-width: 10px 0 10px 17px; margin-left: 5px; }
}
@media (max-width: 760px) {
  .tp-bar { gap: 8px; padding: 6px 8px 6px 12px; min-height: 52px; }
  .tp-logo, .tp-actions .tp-all, .tp-actions .tp-sales { display: none; }
  .tp-heading { padding-left: 0; border-left: 0; }
  .tp-actions .btn-sm { padding: 7px 10px; font-size: .82rem; }
  .tp-after { right: 12px; left: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-spinner { animation-duration: 2.4s; }
  .pt-poster img, .pt-thumb img, .pt-play-btn, .tp-frame { transition: none; }
}
@media print { dialog.tp, .tp-after { display: none !important; } }
/* Tours hub: a single topic row that stays on one line (scrolls sideways on small screens) */
.pt-filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.pt-filter-row::-webkit-scrollbar { display: none; }
.pt-filter-row .pill { flex: none; }

/* Application security: copyable automation recipes and the "How CoderFlow itself is secured" card */
.recipes { align-items: start; }
.recipe { display: flex; flex-direction: column; min-width: 0; }
.recipe h3 { margin-bottom: 6px; }
.recipe-trigger { margin: 0 0 12px; font-size: .92rem; color: #334155; }
.recipe-k { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; margin-right: 6px; border-radius: 999px; background: var(--blue-50); color: var(--blue-text); vertical-align: 1px; }
.recipe-code { box-shadow: var(--shadow); }
.recipe-code .bar { font-family: var(--font, inherit); }
.recipe-code pre { font-size: .8rem; }
.recipe-copy { font: 600 .78rem/1 var(--mono); color: #E6EDF3; background: #30363D; border: 1px solid #484F58; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.recipe-copy:hover { background: #3B434C; }
.recipe-copy.copied { background: #1F6F43; border-color: #2EA043; }
.sec-own { display: flex; gap: 20px; align-items: flex-start; }
.sec-own .ic { flex: none; }
.sec-own h3 { margin-top: 0; }
.sec-own p { margin-bottom: 8px; }
.sec-own-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 4px 0 0; }
.sec-callout { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.sec-callout p { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .sec-own { flex-direction: column; } }
/* Solutions menu: security strip across the bottom, spanning all columns */
.mega-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 18px 24px 0; padding-top: 16px; border-top: 1px solid var(--slate-200); }
.mega-strip .mega-h { margin: 0 8px 0 0; }
.mega-strip .mega-link { margin: 0 -10px; }
.mega-strip .mega-more { margin-top: 0; margin-left: auto; }
@media (max-width: 1260px) { .mega-strip { display: block; margin: 16px 0 0; } .mega-strip .mega-h { margin: 0 0 10px; } .mega-strip .mega-more { margin-top: 8px; } }
@media (max-width: 640px) { .mega-strip { padding-left: 8px; padding-right: 8px; } }

/* ===================================================================== Marketing review (2026-11) */

/* Wide screens: a wider content column so sections fill large monitors (GL-07) */
@media (min-width: 1600px) {
  :root { --max: 1360px; }
  .narrow { max-width: 900px; }
}

/* Top menu: the label links to the landing page, the chevron button opens the menu */
.nav-item { display: flex; align-items: center; }
.nav-link.nav-label { padding-right: 3px; }
.nav-link.nav-toggle { min-width: 32px; min-height: 44px; justify-content: center; padding-left: 8px; padding-right: 8px; }
.nav-link.nav-toggle.nav-solo { padding-left: 9px; padding-right: 9px; }
.nav-item:hover > .nav-label { background: none; }
.nav-label:hover { color: var(--blue-text); }
@media (max-width: 1260px) {
  .nav-item { flex-wrap: wrap; }
  .nav-item > .nav-label { flex: 1; }
  .nav-item > .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
  .nav-item > .nav-toggle.nav-solo { flex: 1; justify-content: flex-start; }
  .nav-item > .mega { flex-basis: 100%; }
}

/* Hero: wider headlines that read on fewer lines (HOME-03, PLAT-03), roomier check lines (HOME-04) */
.hero.center h1 { max-width: 21ch; }
.page-hero h1 { max-width: 24ch; font-size: clamp(2.2rem, 3.9vw, 3.3rem); }
@media (min-width: 821px) { .page-hero .split:not(.hero-top) { grid-template-columns: 1.1fr 1fr; } }
.hero.center .lead { max-width: 60ch; }
.hub-h1 { max-width: 22ch; font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-left: auto; margin-right: auto; }
.value-points { gap: 14px 36px; margin: 26px 0 32px; }
.value-points li { font-size: 1.05rem; }
/* Supporting line under the home hero buttons: larger and darker (HOME-05) */
.hero-note { max-width: 66ch; margin: 20px auto 0; font-size: 1.08rem; line-height: 1.6; color: #334155; }

/* Section heads: wider so subheadings don't wrap in a narrow column (HOME-21) */
.s-head { max-width: 900px; }

/* Cards: one standard treatment, the shadow and hover of the "Which sounds like you?" cards (GL-06, HOME-09, BIZ-12,
   ITDEV-07, BUILD-01), and slightly larger body text (GL-05) */
.card, .step, .price-card { box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover, .step:hover, .price-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.step:hover { transform: translateY(-3px); }
.card p { font-size: 1.04rem; }
.card p.small, .g5 .card p, .ind-card p { font-size: .98rem; }
.step p { font-size: 1rem; }
.step h4 { font-size: 1.15rem; }
.band-dark .card:hover { border-color: rgba(0, 212, 255, .35); }

/* Dark sections: one shade lighter than the page navy (HOME-16) */
.band-dark { background: #141B3D; }
.band-dark .card, .band-dark .flowline .n { background: #1C2550; }

/* Home: small-team proof box fills its column, so the three proof cards end level (HOME-18) */
.proof-cols .proof-col:first-child .illustrative { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
.proof-cols .proof-col:first-child .illustrative p { font-size: 1.04rem; line-height: 1.65; }

/* Home: "Governed AI, your rules." callout as wide as the cards above, links on their own line (HOME-24, HOME-25) */
.security-note { max-width: none; align-items: center; padding: 22px 26px; }
.security-note-links { margin-top: 10px !important; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.security-note-links a { margin-right: 0; }

/* CTA band: palette gradient with a cyan glow (GL-16) */
.cta-band::before { content: none; }
.cta-band > * { position: relative; }

/* "In short" summary: full header width, easier to read (GL-20) */
.short-band .in-short { max-width: none; flex: 1 1 100%; font-size: 1.08rem; line-height: 1.65; padding: 16px 22px; background: var(--blue-50); border-left-width: 4px; }

/* "How it flows" strips: a real heading, larger steps, hover/focus explanations and a staggered entrance (GL-21, GL11) */
.flow-h { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 28px; }
.flowline.big .n { font-size: clamp(.84rem, .95vw, 1.02rem); padding: 11px 18px; }
.flowline .n[data-tip] { position: relative; cursor: help; transition: border-color .15s ease, transform .15s ease; }
.flowline .n[data-tip]:hover, .flowline .n[data-tip]:focus-visible { border-color: var(--cyan); transform: translateY(-2px); }
.flowline .n[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 12px); transform: translate(-50%, -6px);
  width: max-content; max-width: 260px; white-space: normal; text-align: left;
  background: #fff; color: var(--ink); font-weight: 500; font-size: .9rem; line-height: 1.45;
  padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--slate-200);
  opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 5;
}
.flowline .n[data-tip]:hover::after, .flowline .n[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.flowline .fl:first-child .n[data-tip]::after { left: 0; transform: translate(0, -6px); }
.flowline .fl:first-child .n[data-tip]:hover::after, .flowline .fl:first-child .n[data-tip]:focus-visible::after { transform: none; }
.flowline .fl:last-child .n[data-tip]::after { left: auto; right: 0; transform: translate(0, -6px); }
.flowline .fl:last-child .n[data-tip]:hover::after, .flowline .fl:last-child .n[data-tip]:focus-visible::after { transform: none; }
.flow-band { padding-bottom: 96px; }
.flow-hint { margin: 18px 0 0; }
@media (min-width: 1280px) { .flowline { flex-wrap: nowrap; } }
/* Entrance motion only when site.js can trigger it (html.js-motion) and motion isn't reduced */
@keyframes cf-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js-motion .flowline:not(.in-view) .fl, .js-motion .one-list:not(.in-view) li { opacity: 0; }
.js-motion .flowline.in-view .fl, .js-motion .one-list.in-view li { animation: cf-rise .5s ease both; animation-delay: calc(var(--i, 0) * 120ms); }

/* "Works with the systems you run" heading (GL-23) */
.marquee-h { text-align: center; font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 22px; }

/* Platform: "One platform." as a statement (PLAT-05) */
.one-platform { background: var(--cloud); }
.one-platform-h { font-size: clamp(2.8rem, 6.4vw, 4.8rem); margin-bottom: 24px; }
.one-list { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.one-list li { background: #fff; border: 1px solid var(--blue-100); border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 1.05rem; box-shadow: var(--shadow); }
.one-platform p { color: #334155; }

/* Platform: coding assistant vs. CoderFlow, two-line heading and a bigger table in brand colors (PLAT-10, PLAT-11) */
.vs-h { line-height: 1.15; }
.hl-blue { color: var(--blue); }
.compare td.y { color: var(--blue-text); }
.compare.vs { font-size: 1.05rem; border: 1px solid var(--slate-200); border-radius: 20px; border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--shadow); }
.compare.vs th { background: var(--navy); color: #fff; font-size: .82rem; padding: 16px 22px; border-bottom: 0; }
.compare.vs th:last-child { background: var(--blue-text); }
.compare.vs td { padding: 16px 22px; color: #334155; }
.compare.vs td:first-child { font-weight: 700; color: var(--ink); }
.compare.vs td:last-child { background: var(--blue-50); color: var(--ink); font-weight: 700; }
.compare.vs tr:last-child td { border-bottom: 0; }
.compare.vs tbody tr { transition: background .15s ease; }
.compare.vs tbody tr:hover td { background: var(--slate-100); }
.compare.vs tbody tr:hover td:last-child { background: var(--blue-100); }

/* CoderFlow Cloud: Cloud column highlighted as the recommended option (CLOUD-07) */
.pick-wrap { box-shadow: var(--shadow); }
.compare.pick th:nth-child(2), .compare.pick td:nth-child(2) { background: var(--blue-50); color: var(--ink); }
.compare.pick th:nth-child(2) { background: var(--blue-text); color: #fff; }
.pick-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--cyan); color: var(--navy); font-size: .68rem; letter-spacing: .06em; vertical-align: 1px; }
.compare.pick tbody tr { transition: background .15s ease; }
.compare.pick tbody tr:hover td { background: var(--slate-100); }
.compare.pick tbody tr:hover td:nth-child(2) { background: var(--blue-100); }
body[data-page="cloud"] section.s { padding: 72px 0; }
body[data-page="cloud"] section.s.tight { padding: 52px 0; }

/* Dark trust sections: larger text and checkmarks, with a hover on each point (BIZ-07, BIZ-08, CLOUD-05) */
.band-dark .checks li { font-size: 1.1rem; padding: 12px 16px 12px 52px; margin-bottom: 8px; border-radius: 14px; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.band-dark .checks li::before { width: 28px; height: 28px; font-size: .9rem; left: 14px; top: 12px; }
.band-dark .checks li:hover { background: rgba(255, 255, 255, .06); border-color: rgba(0, 212, 255, .25); transform: translateX(4px); }
.band-dark .split h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

/* Security: callout and button centered under the feature boxes (SEC-04) */
.sec-callout.center { flex-direction: column; justify-content: center; text-align: center; }

/* Systems hub: four smaller cards per row (SYS-OVERVIEW-01), all four coverage levels in one row (SYS-OVERVIEW-02) */
.sys-grid .sys-card { padding: 22px; }
.sys-grid .sys-card h3 { font-size: 1.08rem; }
.sys-grid .sys-card p { font-size: .95rem; }
.coverage-key { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1260px) { .coverage-key { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .coverage-key { grid-template-columns: 1fr; } }

/* Illustrative example sections at the full content width (IND-MFG-01) */
.scenario { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.scenario h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 0; }
.scenario p { font-size: 1.12rem; color: #334155; margin: 0; }
@media (max-width: 820px) { .scenario { grid-template-columns: 1fr; gap: 16px; } }

/* Portrait screenshots: narrower frame (SEC-CHANGE-03) */
figure.tall { max-width: 380px; margin-left: auto !important; margin-right: auto !important; }

/* Ready-to-use instructions: boxes side by side line up top and bottom (GL13) */
@supports (grid-template-rows: subgrid) {
  .recipes { row-gap: 0; align-items: stretch; }
  .recipe { display: grid; grid-template-rows: subgrid; grid-row: span 3; padding-bottom: 32px; }
  .recipe-code { display: flex; flex-direction: column; }
  .recipe-code pre { flex: 1; }
}

/* What can I build?: two rows of five, never a lone card (SOL-BUILD-05) */
.examples-grid { grid-template-columns: repeat(5, 1fr); }
.examples-grid .card { padding: 22px; }
@media (max-width: 1279px) { .examples-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .examples-grid { grid-template-columns: 1fr; } }

/* Blog: email list signup above the closing call to action (POST-01) */
.newsletter { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; padding: 40px 44px; border-radius: 28px; background: var(--blue-50); border: 1px solid var(--blue-100); box-shadow: var(--shadow); }
.newsletter h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.newsletter p { margin: 0; color: #334155; }
.newsletter-form { gap: 12px; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; } }

/* "Talk to sales" pop-up (GL-17) */
html.sales-lock { overflow: hidden; }
dialog.sales-dlg { border: 0; padding: 0; border-radius: 24px; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: 0 30px 80px rgba(2, 6, 23, .35); color: var(--ink); }
dialog.sales-dlg::backdrop { background: rgba(10, 14, 39, .62); backdrop-filter: blur(2px); }
.sales-dlg-card { position: relative; padding: 32px 32px 28px; }
.sales-dlg-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; padding-right: 36px; }
.sales-dlg-card > p { margin-bottom: 18px; }
.sales-dlg-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--slate-200); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.sales-dlg-close:hover { background: var(--slate-100); }
@media (max-width: 560px) { .sales-dlg-card { padding: 24px 20px 20px; } }

@media (prefers-reduced-motion: reduce) {
  .js-motion .flowline .fl, .js-motion .one-list li { opacity: 1 !important; animation: none !important; }
  .card, .step, .flowline .n, .band-dark .checks li { transition: none; }
}
/* Links inside copy on dark sections: cyan for contrast (e.g. the Profound Logic links) */
.band-dark p a:not(.btn), .band-dark li a:not(.btn) { color: var(--cyan); }
/* Platform: the two-line "coding assistant" heading gets the full content width so each sentence stays on one line */
.s-head:has(.vs-h) { max-width: none; }
.vs-h { font-size: clamp(1.9rem, 3.1vw, 2.8rem); }
/* Links inside the CTA band copy (e.g. Profound Logic): white and underlined on the dark gradient */
.cta-band p a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media print { .js-motion .flowline .fl, .js-motion .one-list li { opacity: 1 !important; animation: none !important; } }
@media (max-width: 820px) { .compare.vs { overflow-x: auto; } }
/* Flow step explanations take no space until shown (hidden ones would widen the page on phones) */
.flowline .n[data-tip]::after { display: none; }
.flowline .n[data-tip]:hover::after, .flowline .n[data-tip]:focus-visible::after, .flowline .n[data-tip]:focus::after { display: block; opacity: 1; }
@media (max-width: 820px) {
  .flowline .n[data-tip]::after, .flowline .fl .n[data-tip]:hover::after, .flowline .fl .n[data-tip]:focus::after { left: 0; right: auto; transform: none; max-width: min(260px, 70vw); }
}
/* Explore CoderFlow: "Unlock every walkthrough" form on the hub and walkthrough pages, and the free walkthrough's note */
.pt-unlock { margin: 20px 0 0; padding: 20px 22px 14px; max-width: 560px; background: #fff; border: 1px solid var(--blue-100); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); box-shadow: var(--shadow); text-align: left; }
.pt-unlock-hub { margin: 24px auto 0; }
.pt-unlock .pt-unlock-title { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.3; }
.pt-unlock .pt-unlock-lead { margin: 0 0 8px; color: #475569; font-size: .95rem; }
.pt-unlock .explore-form { margin-top: 12px; gap: 12px; }
.pt-unlock .explore-form .btn { justify-self: start; }
.pt-unlock-go { display: block; margin-top: 12px; }
.pt-unlock .pt-unlock-done { margin: 0; color: var(--green-text); font-size: .98rem; }
.pt-free-note { margin: 10px 0 0; font-size: .92rem; font-weight: 600; color: var(--green-text); }
.pt-free-note a { color: var(--blue-text); white-space: nowrap; }
.explore-dlg .form { margin-top: 6px; }
/* Embedded HubSpot forms: reserve some space while HubSpot loads the form */
.hs-embed { min-height: 220px; }
/* Explore CoderFlow: IBM i walkthroughs are labeled as such for non-IBM i visitors (mid-size review) */
.pt-ibmi { margin: 0; align-self: flex-start; font-size: .75rem; font-weight: 700; color: #92400E; background: var(--amber-50); border-radius: 999px; padding: 2px 10px; }
/* Mid-size page: systems with their coverage level */
.sys-cov-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.sys-cov-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 600; }
.sys-group .cov { align-self: flex-start; margin-bottom: 10px; }
/* Menu: small "IBM i today" note next to the walkthroughs link */
.ops-card { flex-direction: row; gap: 20px; align-items: flex-start; }
.ops-card .ic { flex: none; }
@media (max-width: 640px) { .ops-card { flex-direction: column; } }
/* Coverage group cards on dark and light sections */
section:not(.band-dark) .sys-group .sys-links a { color: var(--ink); border-color: var(--slate-200); }
section:not(.band-dark) .sys-group .sys-links a:hover { border-color: var(--blue); }
.also-supported { margin: 8px 0 40px; }
.also-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .also-list { grid-template-columns: 1fr; } }
.more-industries { margin-top: 40px; }

/* Every department (new message): one example agent per department, plus "Your department" */
.depts .dept h3 { margin: 0 0 8px; }
.depts .dept p { margin: 0; }
.depts .dept-own { border: 2px dashed var(--blue-100); background: var(--blue-50); color: inherit; }
.depts .dept-own .ic { background: #fff; }
.multiply-proof-h { margin: 56px auto 0; }
.multiply-proof-h h3 { font-size: 1.35rem; margin: 0; }

/* Customer story quotes (Scoular) */
.story-quote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue); font-size: 1.25rem; line-height: 1.5; font-weight: 600; color: var(--ink); }
.story-quote cite { display: block; margin-top: 10px; font-size: .95rem; font-style: normal; font-weight: 500; color: var(--slate); }

/* Balanced line breaks for centered hero leads */
.hero.center .lead { text-wrap: balance; }

/* Update brief: workflow-first homepage */
.hero-sub { margin: 18px auto 0; color: var(--slate); font-size: .98rem; text-wrap: balance; }
.hero .kicker + h1 { margin-top: 10px; }
.wf-steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: wf; }
.wf-step { position: relative; counter-increment: wf; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 24px 22px 20px; }
.wf-step::before { content: counter(wf); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue-text); font-weight: 800; font-size: .9rem; margin-bottom: 12px; }
.wf-step:not(:last-child)::after { content: '→'; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--slate); font-weight: 700; }
.wf-step h3 { font-size: 1.08rem; margin: 0 0 8px; }
.wf-step p { margin: 0; color: #475569; font-size: .96rem; }
.wf-step .wf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.wf-tags span { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--cloud); border: 1px solid var(--slate-200); color: #334155; }
.wf-decide { border: 2px solid var(--blue); background: var(--blue-50); }
.wf-decide::before { background: var(--blue); color: #fff; }
.wf-decide .wf-tags span { background: var(--blue); border-color: var(--blue); color: #fff; }
.wf-note { margin-top: 18px; }
.wf-bridge { max-width: 70ch; margin: 18px auto 0; }
@media (max-width: 980px) { .wf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wf-step:nth-child(2)::after { display: none; } }
@media (max-width: 640px) { .wf-steps { grid-template-columns: 1fr; gap: 26px; } .wf-step:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); display: block; } }
.proof-group { margin-top: 28px; }
.proof-group > .label { margin-bottom: 4px; }
.proof-group .proof { margin-top: 10px; }
.proof-group .proven { margin-top: 10px; }
.proof.proof-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .proof.proof-2 { grid-template-columns: 1fr; } }
.two-paths-note { margin-top: 28px; }
.dept-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dept-top .ic { margin-bottom: 14px; }
.dept-tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--slate-100); color: #334155; white-space: nowrap; }
.dept-tag.rec { background: var(--cyan-50); color: #0E5C6E; }
.conn-kinds { margin-bottom: 8px; }
.conn-sub { margin: 40px 0 18px; font-size: 1.2rem; }
.band-dark .conn-sub { color: #fff; }
.btn-outline-white { border: 2px solid rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.gov-qs h3 { font-size: 1.08rem; }
.conn-table th[scope="row"] { font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); vertical-align: top; min-width: 150px; }
.conn-table td { vertical-align: top; font-size: .92rem; color: #334155; }
.map-steps { margin: 18px 0 16px; padding-left: 22px; }
.map-steps li { margin-bottom: 10px; }
.form-h { font-size: 1.25rem; margin: 0 0 14px; }
.hero.center h1 { text-wrap: balance; }
.proof-group + p { margin-top: 24px; }

/* Consolidated homepage: product first, evidence second, eight distinct sections. */
.header-tour { color: var(--ink); font-size: .9rem; font-weight: 600; white-space: nowrap; padding: 10px 4px; }
main p a:not(.btn):not(.sys-chip):not(.more), .site-footer .by-pl a { text-decoration: underline; text-underline-offset: .2em; }
.home-hero { padding: 64px 0 0; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 44px; }
.home-hero h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 1.09; max-width: 16ch; text-wrap: balance; margin: 12px 0 22px; }
.home-emphasis { display: block; color: var(--blue-text); }
.home-hero .lead { font-size: 1.1rem; line-height: 1.65; margin: 0 0 14px; max-width: 48ch; }
.home-hero .lead strong { display: block; margin-top: 6px; color: var(--ink); font-weight: 700; }
.home-after { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.home-after li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.home-after-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-text); }
.home-after-ic svg { width: 16px; height: 16px; }
.home-after-close { margin: 0 0 24px; color: var(--slate); font-size: 1rem; line-height: 1.6; max-width: 48ch; }
.home-hero .cta-row { gap: 12px; }
.home-hero .btn { font-size: .91rem; padding: 12px 16px; }
.home-product { min-width: 0; }
.home-agent-line { font-size: .82rem; color: var(--slate); margin: 14px 0 0; text-align: center; }
.home-product-label { font-size: .84rem; font-weight: 600; color: var(--slate); margin: 0 0 12px; }
.home-product .cf-frame { box-shadow: var(--shadow-lg); }
.home-fit { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--slate-200); font-size: .92rem; }
.home-fit > span { color: var(--slate); }
.home-fit a { font-weight: 600; color: var(--ink); padding: 4px 0; }
.home-fit a:last-child { margin-left: auto; color: var(--blue-text); }
.home-stalls, .home-proof, .home-capabilities, .home-systems, .home-assistants, .home-governance, .home-faq, .home-start { padding: 72px 0; }
.home-keep { padding: 0 0 8px; }
.home-keep p { margin: 0; padding: 16px 22px; border: 1px solid var(--blue-100, #DBE6FE); border-left: 4px solid var(--blue); border-radius: 14px; background: #fff; font-size: 1rem; box-shadow: var(--shadow); }
.home-keep a { font-weight: 700; white-space: nowrap; }
.keep-agents { max-width: 980px; margin: 0 auto; }
.keep-agents .card { flex-direction: row; gap: 20px; align-items: flex-start; }
.keep-agents .card .ic { flex: none; margin: 0; }
.keep-agents .card p { margin: 0 0 10px; }
@media (max-width: 640px) { .keep-agents .card { flex-direction: column; } }
.home-stall-grid { gap: 24px; }
.home-stall-grid .card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.home-stall-grid .stall { font-size: .95rem; color: var(--slate); padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--slate-200); }
.home-stall-grid .stall strong { color: var(--ink); }
.home-one-platform { margin: 28px 0 0; padding: 20px 24px; border-radius: 16px; background: var(--blue-50); font-size: 1.02rem; }
.home-one-platform a { font-weight: 700; white-space: nowrap; }
.home-prod-flow { margin: 8px 0 36px; text-align: center; }
.home-prod-flow p { margin: 14px 0 0; font-size: .9rem; color: #CBD5E1; }
.home-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.home-proof h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); margin-top: 10px; }
.home-proof-grid > div > p { max-width: 48ch; }
.home-quote { margin: 0; padding: 28px 0 28px 36px; border-left: 3px solid var(--blue); }
.home-quote blockquote { margin: 0 0 24px; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }
.home-quote figcaption { display: grid; gap: 4px; font-size: .9rem; }
.home-quote figcaption span { color: var(--slate); }
.home-proof-metric { display: grid; gap: 4px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--slate-200); }
.home-proof-metric strong { color: var(--blue-text); font-size: 1.55rem; }
.home-proof-metric span { color: var(--slate); font-size: .87rem; max-width: 42ch; }
.home-internal { display: grid; grid-template-columns: .9fr 1fr 1.2fr 1.2fr; gap: 24px; align-items: start; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--slate-200); font-size: .84rem; color: var(--slate); }
.home-internal > span { font-weight: 600; }
.home-internal p { margin: 0; }
.home-internal strong { display: block; color: var(--ink); font-size: 1rem; }
.home-section-head { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; margin-bottom: 32px; }
.home-section-head h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin: 10px 0 0; max-width: 22ch; }
.home-section-head > p { color: var(--slate); margin: 0; max-width: 48ch; }
.home-capabilities .pills { justify-content: flex-start; gap: 8px; }
.home-capabilities .pill { padding: 10px 14px; font-size: .88rem; }
.home-capabilities .panel-grid { background: #fff; gap: 36px; padding: 32px; }
.home-capabilities .panel-grid figure .frame img { max-height: 360px; width: 100%; object-fit: contain; background: #fff; }
.home-section-link { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; font-weight: 600; }
.home-explore .home-section-link { align-items: center; }
.home-systems .home-section-head > p { color: #CBD5E1; }
.home-integration-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-integration-flow > div { padding: 26px; border: 1px solid #475569; border-radius: 18px; background: rgba(255,255,255,.04); }
.home-integration-flow > div:nth-child(2) { border-color: #7BA3FF; background: rgba(64,115,243,.12); }
.home-integration-flow .kicker { color: #A8C3FF; }
.home-integration-flow h3 { color: #fff; font-size: 1.3rem; line-height: 1.35; margin: 12px 0; }
.home-integration-flow p { color: #CBD5E1; font-size: .95rem; margin: 0; }
@media (max-width: 820px) { .home-integration-flow { grid-template-columns: 1fr; } }
.home-systems .sys-groups { gap: 16px; }
.home-systems .sys-group { padding: 24px; }
.home-systems .sys-group h3 { font-size: 1.15rem; line-height: 1.3; }
.home-systems .sys-group p { font-size: .9rem; color: #CBD5E1; }
.home-systems .sys-links { gap: 6px; }
.home-systems .sys-links a { font-size: .84rem; padding: 6px 9px; }
.home-connections { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.home-connections p { color: #CBD5E1; font-size: .9rem; margin: 0; max-width: 80ch; }
.home-connections strong { color: #fff; }
.home-connections a { color: var(--cyan); font-size: .9rem; }
.home-assistants h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.home-assistants .frame img { max-height: 340px; object-fit: contain; background: #fff; width: 100%; }
.home-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 24px 0; }
.home-controls .ic { display: block; color: var(--blue-text); margin-bottom: 16px; }
.home-controls h3 { font-size: 1.16rem; }
.home-controls p { font-size: .93rem; color: var(--slate); margin: 0; }
/* Homepage hero: four angle points with a bold label. */
.home-angles { gap: 12px; margin-bottom: 26px; }
.home-angles li { font-weight: 400; align-items: flex-start; line-height: 1.5; }
.home-angles li strong { color: var(--ink); font-weight: 700; }
.home-angles .home-after-ic { margin-top: -1px; }
.home-angles .home-after-ic svg { width: 15px; height: 15px; }

/* Homepage: results strip right under the hero. */
.home-results { padding: 8px 0 28px; }
.home-results-card { display: grid; grid-template-columns: minmax(220px, .8fr) 3fr; gap: 20px 40px; align-items: center; padding: 26px 32px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.home-results-head .kicker { color: #fff; opacity: .85; }
.home-results-head h2 { color: #fff; font-size: 1.45rem; line-height: 1.25; margin: 8px 0 10px; }
.home-results-head .more { color: #fff; font-size: .92rem; font-weight: 700; }
.home-results-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home-results-stats > div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.35); transition: transform .2s ease; }
.home-results-stats > div:hover { transform: translateY(-2px); }
.home-results-card a { color: #fff; }
.home-results-stats a { text-decoration: underline; text-underline-offset: 2px; }
.home-results-stats strong { display: block; white-space: nowrap; font-size: clamp(1.35rem, 1.75vw, 1.8rem); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.home-results-stats span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.92); }
.home-results-note { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.3); font-size: .86rem; color: rgba(255,255,255,.92); }
@media (max-width: 1100px) { .home-results-card { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .home-results-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-results-card { padding: 24px; } }

/* Homepage: outcomes by department. */
.home-depts { padding: 72px 0; }
.home-dept-grid { gap: 24px; }
.home-dept { color: inherit; text-decoration: none; }
.home-dept:hover { transform: translateY(-3px); }
.home-dept-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.home-dept-top .ic { margin: 0; }
.home-dept h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; }
.home-dept .more { margin-top: auto; padding-top: 12px; }
@media (max-width: 1000px) { .home-dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .home-dept-grid { grid-template-columns: 1fr; } }

/* Homepage: where your teams already work. */
.home-surfaces { padding: 72px 0; }
.home-surface-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-surface { padding: 22px; border: 1px solid var(--slate-200); border-radius: 14px; background: #fff; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.home-surface:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100, #DBE6FE); transform: translateY(-2px); }
.home-surface .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue-text); margin-bottom: 14px; }
.home-surface .ic .icon { width: 20px; height: 20px; }
.home-surface h3 { font-size: 1.1rem; margin: 0 0 6px; }
.home-surface p { font-size: .95rem; color: #475569; margin: 0; }
@media (max-width: 1000px) { .home-surface-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .home-surface-grid { grid-template-columns: 1fr; } }

/* Homepage: one change or hundreds. */
.home-scale { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.home-scale-card { padding: 28px; border: 1px solid var(--slate-200); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.home-scale-card h3 { font-size: 1.3rem; margin: 8px 0; }
.home-scale-card { display: flex; flex-direction: column; }
.home-scale-card p { color: #475569; margin: 0 0 14px; }
.home-scale-card .more { margin-top: auto; font-weight: 700; color: var(--blue-text); font-size: .92rem; }
.home-scale-card .kicker { align-self: flex-start; }
.home-scale-viz { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 150px; margin-bottom: 22px; padding: 18px; border-radius: 12px; background: var(--cloud); }
.sc-chip { flex: none; padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--slate-200); font-size: .82rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sc-judge { border-color: var(--blue); color: var(--blue-text); }
.sc-done { background: var(--blue); border-color: var(--blue); color: #fff; }
.sc-arrow { flex: none; color: var(--slate); font-weight: 700; }
.sc-agents { display: grid; gap: 6px; }
.sc-agents span { padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--slate-200); font-size: .78rem; font-weight: 600; white-space: nowrap; animation: sc-pulse 3.6s ease-in-out infinite; }
.sc-agents span:nth-child(2) { animation-delay: .4s; }
.sc-agents span:nth-child(3) { animation-delay: .8s; }
.sc-cells { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; min-width: 0; }
.sc-cells i { aspect-ratio: 1; border-radius: 3px; background: var(--slate-200); animation: sc-fill 4.8s ease-in-out infinite; animation-delay: var(--d); }
@keyframes sc-fill { 0%, 8% { background: var(--slate-200); } 30%, 80% { background: var(--blue); } 100% { background: var(--slate-200); } }
@keyframes sc-pulse { 0%, 100% { border-color: var(--slate-200); } 40% { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-50); } }
@media (prefers-reduced-motion: reduce) { .sc-cells i, .sc-agents span { animation: none; } .sc-cells i { background: var(--blue); } }
@media (max-width: 1100px) { .home-scale { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .home-scale-viz { flex-direction: column; } .sc-arrow { transform: rotate(90deg); } .sc-agents { grid-template-columns: repeat(3, auto); } .sc-cells { width: 100%; flex: none; } .home-scale-card { padding: 22px; } .home-hero h1 { font-size: 1.95rem; } }

/* Homepage: business and IT side by side, with what both teams share. */
.home-teams { padding: 72px 0; }
.home-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-team { padding: 32px; border-top: 4px solid var(--blue); }
.home-team.home-team-biz { border-top-color: var(--cyan); }
.home-team-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.home-team-head .ic { flex: none; margin: 0; }
.home-team-biz .home-team-head .ic { background: var(--cyan-50); }
.home-team-head .kicker { display: block; }
.home-team-head h3 { font-size: 1.5rem; line-height: 1.25; margin: 6px 0 0; }
.home-team-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.home-team-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.04rem; line-height: 1.5; color: var(--ink); }
.home-team-list .home-after-ic { margin-top: -1px; }
.home-shared { margin-top: 24px; padding: 30px 32px 24px; background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; box-shadow: var(--shadow); }
.home-shared-title { font-size: 1.5rem; margin: 0 0 22px; }
.home-shared-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.home-shared-grid > div { transition: transform .2s ease; }
.home-shared-grid > div:hover { transform: translateY(-2px); }
.home-shared-grid .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue-text); margin-bottom: 14px; }
.home-shared-grid .ic .icon { width: 20px; height: 20px; }
.home-shared-grid h4 { font-size: 1.16rem; margin: 0 0 8px; }
.home-shared-grid p { font-size: .98rem; color: #475569; margin: 0; }
.home-shared .home-section-link { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--slate-200); }
@media (max-width: 960px) { .home-shared-grid { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 820px) {
  .home-teams { padding: 48px 0; }
  .home-team-grid { grid-template-columns: 1fr; }
  .home-team, .home-shared { padding: 24px; }
}
@media (max-width: 520px) { .home-team-head { flex-direction: column; align-items: flex-start; gap: 12px; } }
.home-validation { border-top: 1px solid var(--slate-200); padding-top: 24px; margin: 10px 0 0; font-size: .9rem; color: var(--slate); max-width: 95ch; }
.home-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.home-faq h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.home-faq .faq { max-width: none; margin: 0; }
.home-faq .faq details { margin-bottom: 12px; }
.home-start { background: var(--blue-50); }
.home-start .s-head { margin-bottom: 36px; }
.home-start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; margin: 0 auto; }
.home-start-grid > div + div { border-left: 1px solid var(--slate-300); padding-left: 48px; }
.home-start-grid h3 { font-size: 1.5rem; }
.home-start-grid p { color: #475569; }
.home-price-link { display: inline-block; margin-left: 18px; font-size: .9rem; font-weight: 600; }
.form-fallback { margin: 18px 0 0; font-size: .88rem; color: var(--slate); }
@media (max-width: 1100px) {
  .home-hero-grid { gap: 28px; }
  .home-hero h1 { font-size: 2.6rem; }
  .home-systems .sys-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .home-hero { padding-top: 36px; }
  .home-hero-grid, .home-proof-grid, .home-section-head, .home-faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-hero h1 { max-width: 22ch; font-size: clamp(2.1rem, 6vw, 2.8rem); }
  .home-hero .lead { max-width: 60ch; font-size: 1rem; line-height: 1.6; }
  .home-fit { margin-top: 26px; gap: 8px 18px; }
  .home-fit a:last-child { margin-left: 0; }
  .home-stalls, .home-proof, .home-capabilities, .home-systems, .home-assistants, .home-governance, .home-faq, .home-start { padding: 48px 0; }
  .home-section-head h2 { max-width: none; }
  .home-capabilities .pills { flex-wrap: wrap; overflow: visible; mask-image: none; -webkit-mask-image: none; }
  .home-capabilities .panel-grid { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .home-internal, .home-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-connections { grid-template-columns: 1fr; gap: 16px; }
  .home-start-grid { gap: 28px; }
  .home-start-grid > div + div { padding-left: 28px; }
  .home-price-link { display: block; margin: 14px 0 0; }
}
@media (max-width: 520px) {
  .home-hero h1 { max-width: none; font-size: 2.15rem; }
  .home-hero .cta-row { align-items: stretch; }
  .home-hero .btn { width: 100%; }
  .home-quote { padding: 8px 0 8px 22px; }
  .home-internal { gap: 18px; }
  .home-systems .sys-groups, .home-controls, .home-start-grid { grid-template-columns: 1fr; }
  .home-systems .sys-group { padding: 22px; }
  .home-controls { gap: 24px; }
  .home-controls > div { padding-left: 36px; position: relative; }
  .home-controls .ic { position: absolute; left: 0; top: 0; }
  .home-start-grid > div + div { border-left: 0; border-top: 1px solid var(--slate-300); padding: 28px 0 0; }
}

/* Apps and data: concise workflow cards and a readable instruction example. */
.app-card { display: flex; flex-direction: column; align-items: flex-start; }
.app-card h3 { margin-top: 20px; }
.app-card .more { margin-top: auto; padding-top: 12px; }
.app-prompt { margin: 18px 0 24px; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }

.hero.apps-hero { padding: 48px 0 32px; }
.hero.apps-hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.6rem); }
.hero.apps-hero .lead { max-width: 65ch; font-size: 1.15rem; }

/* ===================================================================================================================
   Homepage, HockeyStack-style redesign (2026-11-11): airy white sections, light large headings, pill buttons and chip
   eyebrows, illustrated tiles, inset panels and a gradient results panel. The hero copy is the approved hero image's.
   Scoped to the home page ([data-page="index"]) and its hs-* classes; layout widths of the video slots are unchanged.
   =================================================================================================================== */
[data-page="index"] { --hs-line: #E6EAF0; --hs-soft: #F3F5F9; --hs-ink2: #334155; --hs-deep: #2F5FDE; }
[data-page="index"] main h2 { font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
[data-page="index"] main h3 { letter-spacing: -.02em; }
[data-page="index"] main .btn { border-radius: 999px; font-weight: 600; font-size: .95rem; padding: 11px 20px; gap: 8px; }
[data-page="index"] main .btn-primary { background: var(--blue-text); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px rgba(64,115,243,.28); }
[data-page="index"] main .btn-primary:hover { background: var(--blue-dark); }
[data-page="index"] main .btn-outline { background: #F1F3F6; color: var(--ink); border-color: transparent; box-shadow: inset 0 0 0 1px #E3E7EE; }
[data-page="index"] main .btn-outline:hover { background: #E9EDF3; }
.hs-i { width: 16px; height: 16px; flex: none; }
.btn .hs-i { width: 15px; height: 15px; transition: transform .2s ease; }
.btn:hover .hs-i { transform: translateX(2px); }
/* Eyebrow chip */
.kicker.hs-eyebrow { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), 0 2px 6px rgba(10,14,39,.06); font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--hs-ink2); margin-bottom: 20px; }
/* Section heads: centered, or split left/right with a rule under it */
.hs-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.hs-head h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin: 0; }
.hs-head p { font-size: 1.1rem; color: var(--hs-ink2); margin: 20px auto 0; max-width: 60ch; }
.hs-head .more { display: inline-block; margin-top: 14px; font-weight: 600; }
.hs-split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid var(--hs-line); }
.hs-split-head h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin: 0; }
.hs-split-head > p { margin: 0; font-size: 1.05rem; color: var(--hs-ink2); max-width: 52ch; }
.hs-tile-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-50); color: var(--blue-text); display: grid; place-items: center; flex: none; }
.hs-tile-ic .icon { width: 20px; height: 20px; }
[data-page="index"] section.s { padding: 104px 0; }
.hs-inset { background: #FAFBFD; border-radius: 22px; box-shadow: 0 0 0 1px #EEF1F5, 0 2px 10px rgba(10,14,39,.04); padding: 80px 56px; }

/* ---- Hero ---- */
.hs-hero { position: relative; padding: 56px 0 0; overflow: hidden; background: #fff; }
.hs-hero .container { position: relative; }
.hs-hero-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 640px; }
.hs-hero-copy { position: relative; z-index: 2; padding: 10px 0 70px; }
.hs-hero .hs-eyebrow { color: var(--blue-text); }
.hs-hero h1.hs-headline { font-size: clamp(2.8rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 0 0 22px; max-width: none; }
.hs-headline > span { display: block; }
.hs-l2 { background: linear-gradient(90deg, var(--blue-text), #00B8F0); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.hs-hero .lead { font-size: 1.15rem; line-height: 1.6; color: #475569; max-width: 34em; margin: 0 0 24px; }
/* Real CoderFlow for Business dashboard, tilted (approved draft B, 2026-11-11) */
.hs-hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
[data-page="index"] main .hs-hero-cta .btn { padding: 14px 24px; font-size: 1rem; }
.hs-hero-cta > span { font-size: .95rem; color: var(--slate); }
.hs-shot-wrap { position: relative; height: 640px; perspective: 2400px; clip-path: inset(-400px -2000px 0 -2000px); }
.hs-shot { position: absolute; left: 10px; top: 0; width: 960px; margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), -40px 60px 90px rgba(10,14,39,.16); transform-origin: 0 50%; transform: rotateY(-16deg) rotateX(5deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); animation: hs-rise .9s cubic-bezier(.2,.8,.2,1) both .1s; }
.hs-shot img { display: block; width: 100%; height: auto; }
.hs-hero:hover .hs-shot { transform: rotateY(-12deg) rotateX(4deg); }
.hs-shot-wrap::after { content: ""; position: absolute; left: -400px; right: -900px; bottom: -2px; height: 150px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%); pointer-events: none; }
@keyframes hs-rise { from { opacity: 0; transform: translateY(18px) rotateY(-16deg) rotateX(5deg); } }
@media (prefers-reduced-motion: reduce) { .hs-shot { animation: none; transition: none; } }
/* Systems strip under the hero: the Apps & Data menu's pages, scrolling; hover or focus pauses it */
.hs-logos { position: relative; z-index: 2; background: #fff; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 26px 0 30px; border-top: 1px solid var(--hs-line); }
.hs-logos-label { font-size: .86rem; color: var(--slate); white-space: nowrap; }
.hs-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hs-marquee-track { display: flex; width: max-content; animation: hs-scroll 38s linear infinite; }
.hs-marquee-track a, .hs-marquee-dup { display: flex; align-items: center; }
.hs-marquee-track a { flex: none; padding: 0 22px; line-height: 1; color: #64748B; font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; transition: color .15s ease; }
.hs-marquee-track a:hover, .hs-marquee-track a:focus-visible { color: var(--blue-text); text-decoration: underline; text-underline-offset: .25em; }
.hs-marquee:hover .hs-marquee-track, .hs-marquee:focus-within .hs-marquee-track { animation-play-state: paused; }
@keyframes hs-scroll { to { transform: translateX(-50%); } }
.hs-logos-all { font-size: .92rem; font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .hs-marquee { -webkit-mask-image: none; mask-image: none; }
  .hs-marquee-track { animation: none; width: auto; flex-wrap: wrap; row-gap: 12px; }
  .hs-marquee-dup { display: none; }
}

/* ---- See it in action (the overview video) ---- */
[data-page="index"] section.home-overview { padding: 72px 0 40px; }
.home-overview-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-overview-media .cf-frame, .home-overview-media .frame { border-radius: 16px; box-shadow: 0 0 0 1px var(--hs-line), 0 30px 60px rgba(10,14,39,.14); }
.home-overview-media { position: relative; }
.home-overview-media::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border-radius: 22px; background: var(--blue-50); z-index: -1; transform: rotate(-1.5deg); }
.home-overview-copy h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); margin: 0 0 18px; }
.home-overview-copy p { color: var(--hs-ink2); font-size: 1.06rem; margin: 0 0 26px; }
.home-overview-copy .cta-row { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.home-overview-copy .more { font-weight: 600; }

/* ---- Departments: illustrated tiles ---- */
.home-dept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.home-dept { display: flex; flex-direction: column; color: inherit; }
.home-dept:hover { text-decoration: none; }
.home-dept .kicker { font-size: .72rem; margin: 22px 0 6px; }
.home-dept h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; margin: 0 0 8px; }
.home-dept p { color: var(--hs-ink2); font-size: 1rem; margin: 0 0 10px; }
.home-dept .more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--blue-text); }
.hs-art { position: relative; height: 300px; border-radius: 12px; background: var(--hs-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1.4; color: var(--ink); transition: box-shadow .25s ease, transform .25s ease; }
.home-dept:hover .hs-art { box-shadow: 0 0 0 1px #C9D6F3, 0 16px 34px rgba(10,14,39,.10); transform: translateY(-3px); }
.hs-art .hs-i { width: 14px; height: 14px; }
.hs-stack { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.hs-stack::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 50%; width: 2px; background: #C9D6F3; }
.hs-node { position: relative; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 8px; border-radius: 12px; color: #fff; background: var(--bg); font-weight: 500; font-size: 12.5px; width: 200px; box-shadow: 0 6px 14px rgba(10,14,39,.12); }
.hs-node b { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.hs-node em { margin-left: auto; font-style: normal; font-size: 10px; background: rgba(255,255,255,.22); padding: 2px 7px; border-radius: 999px; }
.hs-node-top { background: #fff; color: var(--ink); width: 240px; height: 54px; box-shadow: 0 0 0 1px var(--hs-line), 0 10px 20px rgba(10,14,39,.08); }
.hs-node-top b { background: var(--blue-50); color: var(--blue-text); width: 32px; height: 32px; }
.hs-node-top strong { display: block; font-weight: 600; }
.hs-node-top small { display: block; font-size: 11px; color: var(--slate); }
.hs-cascade { position: relative; width: 272px; height: 250px; }
.hs-c { position: absolute; width: 190px; height: 150px; border-radius: 12px; padding: 12px 14px; color: #fff; font-size: 12.5px; font-weight: 500; box-shadow: 0 10px 20px rgba(10,14,39,.15); transition: transform .3s ease; }
.hs-c span { display: flex; align-items: center; gap: 6px; }
.hs-c1 { left: 0; top: 0; background: #0A0E27; } .hs-c2 { left: 24px; top: 30px; background: #1D3A9E; } .hs-c3 { left: 48px; top: 60px; background: var(--hs-deep); }
.hs-c4 { left: 72px; top: 90px; background: var(--blue); width: 200px; height: 160px; }
.home-dept:hover .hs-c4 { transform: translate(6px, -4px); }
.hs-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.hs-g i { height: 26px; border-radius: 5px; background: rgba(255,255,255,.18); display: block; }
.hs-g i:nth-child(2), .hs-g i:nth-child(6) { background: rgba(0,212,255,.6); }
.hs-art-quotes { background: var(--hs-deep); }
.hs-blueprint { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 28px 28px; }
.hs-bp { position: relative; transform: rotateX(50deg) rotateZ(-30deg); width: 270px; height: 220px; border: 1.5px solid rgba(255,255,255,.65); border-radius: 10px; color: #fff; padding: 16px; transition: transform .4s ease; }
.home-dept:hover .hs-bp { transform: rotateX(42deg) rotateZ(-26deg); }
.hs-bp .t { font-size: 13px; opacity: .85; }
.hs-bp .n { font-size: 38px; font-weight: 600; letter-spacing: -.03em; margin-top: 6px; }
.hs-bp .row { display: flex; gap: 10px; margin-top: 14px; }
.hs-bp .row div { flex: 1; border: 1.2px solid rgba(255,255,255,.5); border-radius: 6px; padding: 8px; font-size: 11px; }
.hs-bp .row b { display: block; font-size: 20px; font-weight: 600; }
.hs-sheet { display: flex; align-items: center; gap: 12px; }
.hs-grid { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--hs-line), 0 8px 18px rgba(10,14,39,.08); overflow: hidden; width: 128px; }
.hs-grid .hd { background: var(--blue-50); font-size: 10.5px; padding: 6px 8px; color: var(--blue-text); font-weight: 600; }
.hs-grid .r { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hs-line); }
.hs-grid .r i { height: 19px; border-left: 1px solid var(--hs-line); }
.hs-grid .r i:first-child { border-left: 0; }
.hs-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(64,115,243,.35); flex: none; }
.hs-app { width: 142px; background: var(--navy); border-radius: 14px; padding: 12px; color: #fff; box-shadow: 0 12px 24px rgba(10,14,39,.2); }
.hs-app .t { font-size: 12px; font-weight: 600; }
.hs-app .s { font-size: 9.5px; opacity: .7; margin-top: 2px; }
.hs-app .k { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.hs-app .k div { background: rgba(255,255,255,.08); border-radius: 6px; padding: 6px; font-size: 9px; }
.hs-app .k b { display: block; font-size: 16px; }
.hs-app .x { margin-top: 10px; height: 22px; border-radius: 6px; background: var(--cyan); color: var(--navy); font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.hs-wires { position: relative; width: 300px; height: 210px; }
.hs-wires svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-wires .nd { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--hs-line), 0 6px 14px rgba(10,14,39,.07); padding: 8px 10px; width: 132px; }
.hs-wires .nd b { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.hs-wires .nd b i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: #fff; }
.hs-wires .nd b i .hs-i { width: 11px; height: 11px; }
.hs-wires .nd span { display: block; color: var(--slate); font-size: 10.5px; margin-top: 3px; }
.hs-sec { width: 280px; display: grid; gap: 10px; }
.hs-sec .bubble { justify-self: start; background: #fff; border-radius: 12px 12px 12px 4px; box-shadow: 0 0 0 1px var(--hs-line); padding: 9px 12px; width: 230px; }
.hs-sec .panel { background: var(--navy); border-radius: 14px; padding: 12px 14px; color: #fff; }
.hs-sec .rw { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hs-sec .rw:last-child { border: 0; }
.hs-sec .rw em { font-style: normal; font-size: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(0,212,255,.18); color: var(--cyan); }
.hs-sec .rw em.b { background: rgba(64,115,243,.35); color: #C9D8FF; }

/* ---- Tested. Connected. Approved. ---- */
.home-stall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.home-stall-grid > div { display: flex; flex-direction: column; }
.home-stall-grid .hs-tile-ic { margin-bottom: 20px; }
.hs-num { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--slate); margin-bottom: 6px; }
.home-stall-grid h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; margin: 0 0 12px; }
.home-stall-grid p { color: var(--hs-ink2); font-size: 1rem; }
.home-stall-grid .stall { font-size: .95rem; color: var(--slate); padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--hs-line); }
.home-stall-grid .stall strong { color: var(--ink); }
.home-stall-grid .more { margin-top: auto; font-weight: 600; font-size: .92rem; }
.hs-callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.hs-callouts p { margin: 0; padding: 22px 24px; border-radius: 14px; background: #FAFBFD; box-shadow: 0 0 0 1px #EEF1F5; font-size: 1rem; color: var(--hs-ink2); }
.hs-callouts p:first-child { background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue-100); }
.hs-callouts strong { color: var(--ink); }
.hs-callouts a { font-weight: 600; white-space: nowrap; }

/* ---- Business and IT (inset panel) ---- */
[data-page="index"] section.home-teams { padding: 24px 0; }
.home-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-team { display: flex; flex-direction: column; border: 0; padding: 34px; border-radius: 16px; background: var(--blue-50); transition: transform .25s ease, box-shadow .25s ease; }
.home-team.home-team-biz { background: var(--cyan-50); }
.home-team:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10,14,39,.08); }
.home-team-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.home-team-biz .hs-tile-ic { background: #fff; color: #0077A0; }
.home-team-it .hs-tile-ic { background: #fff; }
.home-team-head .kicker { display: block; margin: 0; font-size: .72rem; }
.home-team-biz .home-team-head .kicker { color: #00739A; }
.home-team-head h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; margin: 4px 0 0; }
.home-team-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.home-team-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.5; color: var(--hs-ink2); }
.home-after-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-text); margin-top: 1px; }
.home-after-ic svg { width: 14px; height: 14px; }
.home-team-biz .home-after-ic { color: #0077A0; }
.home-team .btn { align-self: flex-start; margin-top: auto; }
.home-shared { margin-top: 20px; padding: 34px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--hs-line); }
.home-shared-title { font-size: 1.35rem; font-weight: 600; margin: 0 0 24px; }
.home-shared-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.home-shared-grid .hs-tile-ic { margin-bottom: 14px; }
.home-shared-grid h4 { font-size: 1.12rem; margin: 0 0 8px; }
.home-shared-grid p { font-size: .97rem; color: #475569; margin: 0; }
.home-section-link { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 28px 0 0; font-weight: 600; }
.home-shared .home-section-link { padding-top: 20px; border-top: 1px solid var(--hs-line); }

/* ---- Connected systems: light, with the platform slab in the middle ---- */
.home-systems { background: #fff; }
.home-prod-flow { margin: 0 0 40px; text-align: center; }
.home-prod-flow p { margin: 14px 0 0; font-size: .9rem; color: var(--slate); }
.home-systems .flowline .n { background: #fff; border: 0; box-shadow: 0 0 0 1px var(--hs-line), 0 6px 14px rgba(10,14,39,.07); font-weight: 600; color: var(--ink); }
.home-systems .flowline .fl:nth-child(4) .n { background: var(--blue-text); color: #fff; box-shadow: 0 6px 16px rgba(64,115,243,.3); }
.home-systems .flowline .a { color: var(--blue); }
.home-integration-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.home-integration-flow > div { border: 0; padding: 30px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #EEF1F5, 0 8px 24px rgba(10,14,39,.06); transition: transform .25s ease, box-shadow .25s ease; }
.home-integration-flow > div:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #DCE6FD, 0 16px 34px rgba(10,14,39,.10); }
.home-integration-flow .hs-tile-ic { margin-bottom: 18px; }
.home-integration-flow .kicker { display: block; color: var(--blue-text); font-size: .72rem; margin: 0; }
.home-integration-flow h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.25; margin: 8px 0 10px; color: var(--ink); }
.home-integration-flow p { color: var(--hs-ink2); font-size: .97rem; margin: 0; }
.home-integration-flow > div.hs-platform { background: #fff; text-align: center; }
.hs-slab-wrap { position: relative; height: 210px; margin: -6px 0 14px; display: grid; place-items: center; }
.hs-slab-wrap::before { content: none; }
.hs-slab { position: relative; width: 150px; height: 150px; border-radius: 26px; background: var(--blue); box-shadow: 10px 10px 0 #172F86, 20px 26px 40px rgba(10,14,39,.25); transform: rotateX(56deg) rotateZ(-45deg); }
.hs-slab::before { content: ""; position: absolute; inset: 14px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.28); }
.hs-slab i { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(255,255,255,.25); animation: hs-glow 3s ease-in-out infinite; }
.hs-slab i:nth-child(1) { left: 30px; top: 30px; } .hs-slab i:nth-child(2) { right: 30px; top: 30px; animation-delay: .7s; }
.hs-slab i:nth-child(3) { left: 30px; bottom: 30px; animation-delay: 1.4s; } .hs-slab i:nth-child(4) { right: 30px; bottom: 30px; animation-delay: 2.1s; }
@keyframes hs-glow { 50% { opacity: .6; } }
.hs-lbl { position: absolute; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: .78rem; font-weight: 600; box-shadow: 0 0 0 1px var(--hs-line), 0 6px 14px rgba(10,14,39,.08); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.hs-lbl i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); display: block; }
.home-systems .home-section-link { justify-content: center; margin-top: 36px; }
.hs-syschips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
[data-page="index"] .hs-syschips .sys-chip { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--hs-soft); border: 0; box-shadow: inset 0 0 0 1px var(--hs-line); font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; color: var(--hs-ink2); }
[data-page="index"] .hs-syschips .sys-chip:hover { background: var(--blue-50); color: var(--blue-text); text-decoration: none; }
.home-connections { margin: 40px auto 0; max-width: 980px; padding: 22px 26px; border-radius: 14px; background: #FAFBFD; box-shadow: 0 0 0 1px #EEF1F5; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.home-connections p { color: var(--hs-ink2); font-size: .95rem; margin: 0; }
.home-connections strong { color: var(--ink); }
.home-connections a { font-weight: 600; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .hs-slab i { animation: none; } }

/* ---- Results: gradient inset panel ---- */
.home-results { padding: 24px 0; }
.home-results-card { position: relative; overflow: hidden; display: block; padding: 76px 64px 64px; border-radius: 22px; color: #fff; background: var(--navy); box-shadow: none; }
.home-results-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.home-results-card > * { position: relative; }
.home-results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.home-results-head .kicker { color: var(--cyan); }
.home-results-head h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.25rem); margin: 4px 0 0; max-width: 14em; }
.home-results-head .more { color: #fff; font-weight: 600; }
.home-results-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.home-results-stats > div { background: #fff; color: var(--ink); border-radius: 16px; padding: 12px; border: 0; transition: transform .25s ease; }
.home-results-stats > div:hover { transform: translateY(-4px); }
.home-results-stats strong { display: flex; align-items: flex-end; min-height: 112px; padding: 16px 18px; border-radius: 10px; background: var(--blue-50); font-size: clamp(1.5rem, 2.1vw, 1.95rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; color: var(--hs-deep); white-space: normal; }
.home-results-stats span { display: block; padding: 16px 8px 8px; font-size: .95rem; line-height: 1.45; color: #1E293B; margin: 0; }
.home-results-stats span a { color: var(--blue-text); }
.home-results-note { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.home-results-note p { margin: 0; font-size: .86rem; color: rgba(255,255,255,.85); max-width: 400px; text-align: right; }
.home-results-note .hs-quote { font-size: 1.4rem; letter-spacing: -.02em; color: #fff; max-width: none; text-align: left; }
.home-results-note .hs-quote span { display: block; font-size: .9rem; letter-spacing: 0; color: rgba(255,255,255,.8); margin-top: 6px; }

/* ---- Capabilities: segmented tabs ---- */
.home-capabilities .pills { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), 0 1px 3px rgba(10,14,39,.05); margin-bottom: 24px; }
.home-capabilities .pill { border: 0; background: transparent; color: var(--slate); border-radius: 10px; padding: 12px 10px; font-size: .92rem; font-weight: 500; justify-content: center; }
.home-capabilities .pill:hover { color: var(--ink); background: var(--hs-soft); }
.home-capabilities .pill.active { background: #FAFBFD; color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px var(--hs-line), 0 1px 3px rgba(10,14,39,.08); }
.home-capabilities .panel-grid { background: #FAFBFD; border: 1px solid #EEF1F5; border-radius: 20px; gap: 36px; padding: 32px; }
.home-capabilities .panel-grid h3 { font-size: 1.75rem; font-weight: 500; letter-spacing: -.03em; }
.home-capabilities .panel-grid li { color: var(--hs-ink2); }
.home-capabilities .panel-grid li::before { content: '✓'; color: var(--blue); }
.home-capabilities .panel-grid .more { font-weight: 600; }

/* ---- Explore CoderFlow, coding agents, where you work ---- */
.home-explore .home-section-head { display: block; text-align: center; max-width: 820px; margin: 0 auto 52px; }
.home-explore .home-section-head .kicker { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), 0 2px 6px rgba(10,14,39,.06); font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--hs-ink2); }
.home-explore .home-section-head h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin: 10px 0 0; max-width: none; }
.home-explore .home-section-head > p { margin: 20px auto 0; font-size: 1.08rem; color: var(--hs-ink2); }
.home-explore .card { border: 0; border-radius: 16px; background: #FAFBFD; box-shadow: 0 0 0 1px #EEF1F5; }
.home-explore a.card:hover { background: #fff; box-shadow: 0 0 0 1px #DCE6FD, 0 18px 36px rgba(10,14,39,.10); }
.home-explore .card h3 { font-weight: 600; }
.home-explore .home-section-link { justify-content: center; }
.home-assistants h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); margin: 0 0 18px; }
.home-assistants .split p { color: var(--hs-ink2); }
.home-assistants .split .more { font-weight: 600; }
.home-assistants .frame { border-radius: 16px; box-shadow: 0 0 0 1px var(--hs-line), 0 24px 50px rgba(10,14,39,.12); }
.home-scale-card { border: 0; border-radius: 16px; box-shadow: 0 0 0 1px #EEF1F5, 0 8px 24px rgba(10,14,39,.06); transition: transform .25s ease, box-shadow .25s ease; }
.home-scale-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #DCE6FD, 0 16px 34px rgba(10,14,39,.10); }
.home-scale-card h3 { font-weight: 500; letter-spacing: -.03em; font-size: 1.45rem; }
.home-scale-viz { background: var(--hs-soft); }
.home-surface-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-surface { padding: 24px; border: 0; border-radius: 14px; background: #FAFBFD; box-shadow: 0 0 0 1px #EEF1F5; transition: box-shadow .2s ease, transform .2s ease, background .2s ease; }
.home-surface:hover { background: #fff; box-shadow: 0 0 0 1px #DCE6FD, 0 14px 30px rgba(10,14,39,.08); transform: translateY(-2px); }
.home-surface .hs-tile-ic { margin-bottom: 16px; }
.home-surface h3 { font-size: 1.12rem; font-weight: 600; margin: 0 0 6px; }
.home-surface p { font-size: .95rem; color: #475569; margin: 0; }

/* ---- IT stays in control ---- */
.home-governance { background: #fff; }
.hs-control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.hs-control h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin: 0; }
.hs-control-lead { font-size: 1.05rem; color: var(--hs-ink2); margin: 20px 0 0; }
.hs-runs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hs-runs > * { height: 38px; padding: 0 14px; border-radius: 10px; background: var(--hs-soft); display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--hs-ink2); box-shadow: inset 0 0 0 1px var(--hs-line); }
.hs-runs a:hover { background: var(--blue-50); color: var(--blue-text); text-decoration: none; }
.hs-runs .icon { width: 17px; height: 17px; color: var(--blue-text); }
.hs-control-label { font-size: .86rem; color: var(--slate); margin: 0 0 14px; }
.home-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; }
.home-controls > div { position: relative; padding: 30px 26px 40px; text-align: center; background: #fff; border-radius: 14px 14px 50% 50% / 14px 14px 16% 16%; box-shadow: 0 0 0 1px var(--hs-line), 0 6px 16px rgba(10,14,39,.06); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.home-controls > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--blue); }
.home-controls > div:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #DCE6FD, 0 16px 30px rgba(10,14,39,.10); }
.home-controls .hs-tile-ic { margin: 0 auto 14px; border-radius: 50%; }
.home-controls h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; }
.home-controls p { font-size: .94rem; color: #475569; margin: 0 auto; line-height: 1.5; max-width: 30ch; }
.home-validation { border-top: 1px solid var(--hs-line); padding-top: 24px; margin: 48px 0 0; font-size: .9rem; color: var(--slate); max-width: none; }

/* ---- FAQ (inset panel, card accordions) ---- */
[data-page="index"] section.home-faq { padding: 24px 0 14px; }
.home-faq .hs-head { margin-bottom: 44px; }
.home-faq .faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.home-faq .faq details { margin: 0; padding: 0 24px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #EEF1F5, 0 6px 16px rgba(10,14,39,.06); transition: box-shadow .2s ease; }
.home-faq .faq details:hover { box-shadow: 0 0 0 1px #DCE6FD, 0 10px 22px rgba(10,14,39,.08); }
.home-faq .faq summary { padding: 22px 0; font-weight: 500; font-size: 1.06rem; letter-spacing: -.01em; align-items: center; }
.home-faq .faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid #475569; border-bottom: 2px solid #475569; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.home-faq .faq details[open] summary::after { content: ''; transform: rotate(-135deg); }
.home-faq .faq details p { margin: -4px 0 0; padding: 0 0 22px; color: var(--hs-ink2); max-width: 72ch; }

/* ---- What would you fix first? (split CTA panel) ---- */
[data-page="index"] section.home-start { padding: 0 0 104px; background: none; }
.hs-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); border-radius: 22px; overflow: hidden; background: #FAFBFD; box-shadow: 0 0 0 1px #EEF1F5; }
.hs-cta-copy { padding: 72px 56px 56px; }
.hs-cta-copy h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin: 0; }
.hs-cta-lead { font-size: 1.08rem; color: var(--hs-ink2); margin: 18px 0 0; }
.home-start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: none; margin: 40px 0 0; }
.home-start-grid > div, .home-start-grid > div + div { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), 0 4px 12px rgba(10,14,39,.05); }
.home-start-grid h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; margin: 0 0 8px; }
.home-start-grid p { color: #475569; font-size: .95rem; flex: 1; }
.home-price-link { display: inline-block; margin: 14px 0 0; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.home-start-grid > div:last-child .btn { margin-bottom: calc(14px + 1.35rem); }
.hs-cta-art { position: relative; background: var(--navy); padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; overflow: hidden; }
.hs-cta-art::before { content: none; }
.hs-cta-art::after { content: none; }
.hs-fix { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.35); font-size: .9rem; transition: transform .3s ease; }
.hs-fix:nth-child(2) { margin-left: 28px; } .hs-fix:nth-child(3) { margin-left: 56px; }
.hs-cta:hover .hs-fix { transform: translateX(-6px); }
.hs-fix strong { display: block; font-weight: 600; color: var(--ink); }
.hs-fix small { display: block; color: var(--slate); font-size: .8rem; }
.hs-fix em { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-text); white-space: nowrap; }

/* ---- Homepage responsive ---- */
@media (max-width: 1260px) {
  .hs-hero-grid { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 32px; }
  .hs-shot { width: 820px; }
}
@media (max-width: 1100px) {
  .hs-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hs-hero-grid { min-height: 0; }
  .hs-hero-copy { min-width: 0; padding-bottom: 8px; }
  .hs-shot-wrap { height: auto; perspective: none; clip-path: none; padding-bottom: 40px; }
  .hs-shot-wrap::after { display: none; }
  .hs-shot, .hs-hero:hover .hs-shot { position: relative; left: 0; width: 100%; transform: none; box-shadow: 0 0 0 1px var(--hs-line), 0 24px 50px rgba(10,14,39,.14); animation: none; }
  .home-overview-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-results-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-integration-flow { grid-template-columns: 1fr; }
  .hs-control { grid-template-columns: 1fr; gap: 36px; }
  .hs-cta { grid-template-columns: 1fr; }
  .home-surface-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  [data-page="index"] section.s { padding: 64px 0; }
  .hs-hero { padding-top: 40px; }
  .hs-split-head { grid-template-columns: 1fr; gap: 18px; padding-bottom: 28px; margin-bottom: 32px; }
  .hs-head { margin-bottom: 36px; }
  .hs-inset { padding: 48px 22px; border-radius: 18px; }
  .home-stall-grid, .home-team-grid, .home-shared-grid, .hs-callouts { grid-template-columns: 1fr; gap: 28px; }
  .home-team, .home-shared { padding: 24px; }
  .home-capabilities .pills { display: flex; flex-wrap: wrap; }
  .home-capabilities .pill { flex: 1 1 auto; }
  .home-capabilities .panel-grid { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .home-results-card { padding: 48px 24px 32px; border-radius: 18px; }
  .home-results-note { flex-direction: column; align-items: flex-start; gap: 16px; }
  .home-results-note p { text-align: left; }
  .hs-cta-copy { padding: 44px 24px 28px; }
  .hs-cta-art { padding: 36px 20px; }
  .home-connections { grid-template-columns: 1fr; gap: 14px; }
  .hs-logos { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hs-marquee-track a { font-size: 1rem; padding: 0 18px; }
}
@media (max-width: 640px) {
  .home-dept-grid, .home-results-stats, .home-start-grid, .home-surface-grid { grid-template-columns: 1fr; }
  .hs-hero h1.hs-headline { font-size: clamp(2.5rem, 12vw, 3rem); }
  .hs-hero .lead { font-size: 1.06rem; }
  .kicker.hs-eyebrow { height: auto; min-height: 28px; padding: 5px 12px; line-height: 1.35; }
  .hs-fix:nth-child(2), .hs-fix:nth-child(3) { margin-left: 0; }
  .home-overview-media::before { inset: -10px -8px 10px 8px; }
}
@media (max-width: 560px) { .home-controls { grid-template-columns: 1fr; } .home-start-grid > div:last-child .btn { margin-bottom: 0; } }
.cta-band .cta-band-link { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

/* ---- Home: "How it works" scroll story (2026-11-11) ----
   The hero dashboard flies into the pinned frame as you scroll (site.js), then each step shows its real screen. */
[data-page="index"] section.hs-story { padding: 104px 0 72px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.story-head h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); margin: 0 0 16px; }
.story-head p { color: var(--hs-ink2); font-size: 1.05rem; margin: 0; }
.story-steps { list-style: none; margin: 18vh 0 0; padding: 0 0 0 28px; position: relative; }
.story-steps::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--hs-line); }
.story-step { position: relative; min-height: 68vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .4; transition: opacity .45s ease; }
.story-step::before { content: ""; position: absolute; left: -33px; top: calc(50% - 60px); width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--hs-line); transition: background .3s ease, box-shadow .3s ease; }
.story-step.is-active { opacity: 1; }
.story-step.is-active::before { background: var(--blue); box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px var(--blue-50); }
.story-num { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--blue-text); }
.story-step h3 { font-size: 2rem; font-weight: 500; letter-spacing: -.035em; margin: 8px 0 12px; }
.story-step p { color: var(--hs-ink2); font-size: 1.05rem; margin: 0 0 16px; }
.story-meta { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.story-meta li { font-family: var(--mono); font-size: .72rem; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; background: var(--hs-soft); box-shadow: inset 0 0 0 1px var(--hs-line); color: var(--hs-ink2); }
.story-inline { display: none; }
.story-stage { position: sticky; top: calc(50vh - 260px); }
.story-frame { position: relative; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), 0 30px 60px rgba(10,14,39,.14); }
.story-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--hs-line); border-radius: 16px 16px 0 0; background: #FAFBFD; }
.story-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DDE3EC; }
.story-bar span { margin-left: 10px; font-family: var(--mono); font-size: .7rem; color: var(--slate); }
.story-screens { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 16px 16px; background: #fff; }
.story-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.story-screen.is-active { opacity: 1; transform: none; }
.story-screens.is-arriving .story-screen[data-screen="dash"] { opacity: 0; transition: none; }
.story-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 600; box-shadow: 0 10px 24px rgba(10,14,39,.25); opacity: 0; transform: translateY(8px); transition: opacity .4s ease .25s, transform .4s ease .25s; pointer-events: none; white-space: nowrap; }
.story-chip b { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.story-chip.is-active { opacity: 1; transform: none; }
.story-progress { height: 3px; margin-top: 18px; border-radius: 3px; background: var(--hs-line); overflow: hidden; }
.story-progress span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .5s ease; }
/* The hero dashboard on its way into the frame */
.story-ghost { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; transform-origin: 0 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), -30px 40px 80px rgba(10,14,39,.16); will-change: transform; backface-visibility: hidden; display: none; }
.story-ghost img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.story-ghost.is-on { display: block; }
.hs-shot.is-traveling { visibility: hidden; }
/* The one-minute overview, at the end of the story */
.hs-story .home-overview-grid { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--hs-line); }
.hs-story .home-overview-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.03em; margin: 0 0 14px; }
.hs-story .home-overview-copy .kicker { display: block; margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) { .story-screen, .story-chip, .story-step, .story-progress span { transition: none; } }
@media (max-width: 1100px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .story-steps { margin-top: 40px; }
  .story-step { min-height: 0; opacity: 1; padding: 0 0 48px; }
  .story-step::before { top: 6px; }
  .story-inline { display: block; margin: 20px 0 0; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--hs-line), 0 16px 32px rgba(10,14,39,.10); }
  .story-inline img { width: 100%; height: auto; display: block; }
  .hs-story .home-overview-grid { margin-top: 8px; }
}

/* ---- Home: hairline dividers between consecutive white sections (2026-11-11) ----
   The inset panels (business and IT, FAQ, the closing CTA) and the dark results band separate themselves. */
[data-page="index"] main > section:is([data-section="overview"], [data-section="by-department"], [data-section="explore-coderflow"], [data-section="after-building"], [data-section="coding-assistants"], [data-section="where-you-work"], [data-section="governance"]) { position: relative; }
[data-page="index"] main > section:is([data-section="overview"], [data-section="by-department"], [data-section="explore-coderflow"], [data-section="after-building"], [data-section="coding-assistants"], [data-section="where-you-work"], [data-section="governance"])::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1152px, calc(100% - 48px)); height: 1px; background: var(--hs-line);
}


/* ---------------------------------------------------------------- The future of your systems (2026-11-15)
   Eight-job map, journey, control strip and jobs grids (pages-future.mjs), used on future-of-your-systems.html,
   system-administration.html, the home page, for-it.html and use-case-coderflow-for-business.html. */
/* ---------- Shared bits ---------- */
.fm-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: 0 0 auto; }
.fm-ic .icon { width: 20px; height: 20px; }
.fm-biz .fm-ic { background: var(--cyan-50); color: #0A7EA4; }
.fm-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fm-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; color: #334155; line-height: 1.4; }
.fm-checks li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234073F3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.fm-biz .fm-checks li::before { background-color: var(--cyan-50); }

/* ---------- Hub hero ---------- */
.fm-hero { padding: 72px 0 32px; }
.fm-hero h1 { font-size: clamp(2.2rem, 3.25vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; margin: 10px 0 18px; max-width: none; text-wrap: wrap; }
.fm-hero h1 .l1 { display: block; }
.fm-hero h1 .hl-blue { display: block; color: var(--blue); }
.fm-hero .lead { font-size: 1.3rem; max-width: 70ch; color: #475569; }
.fm-pill { display: inline-block; border: 1px solid var(--slate-200); border-radius: 999px; padding: 7px 14px; background: #fff; }
.fm-pill.kicker { margin-bottom: 4px; }

/* ---------- Platform map: two pillars, four jobs each ---------- */
.fm-map { display: grid; grid-template-columns: 1fr; gap: 24px; }
.fm-map.compact { grid-template-columns: 1fr 1fr; }
.fm-pillar { border-radius: 28px; padding: 28px; background: var(--blue-50); }
.fm-pillar.fm-biz { background: var(--cyan-50); }
.fm-pillar-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.fm-pillar-head .fm-ic { background: #fff; width: 48px; height: 48px; }
.fm-pillar-head .kicker { margin: 0 0 2px; font-size: .74rem; }
.fm-biz .fm-pillar-head .kicker { color: #0A6E8F; }
.fm-pillar-head h3 { margin: 0; font-size: 1.75rem; font-weight: 600; }
.fm-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fm-cap {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 22px;
  border: 1px solid transparent; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s, border-color .2s;
  color: inherit; text-decoration: none;
}
a.fm-cap:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); transform: translateY(-2px); }
.fm-cap-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.fm-cap-head h4 { margin: 0; font-size: 1.2rem; }
.fm-cap .fm-checks { margin-bottom: 16px; }
.fm-cap .more { margin-top: auto; font-weight: 700; color: var(--blue-text); font-size: .95rem; }
.fm-cap .fm-new { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); background: var(--blue-50); border-radius: 999px; padding: 3px 8px; margin-left: auto; }

/* Compact variant for the home page: one line per job, like slide 2 */
.fm-map.compact .fm-caps { grid-template-columns: 1fr; gap: 0; background: transparent; }
.fm-map.compact .fm-cap { flex-direction: row; gap: 16px; align-items: center; background: transparent; box-shadow: none; border-radius: 14px; padding: 16px 12px; border: 0; border-top: 1px solid rgba(64, 115, 243, .14); }
.fm-map.compact .fm-biz .fm-cap { border-top-color: rgba(0, 160, 200, .18); }
.fm-map.compact .fm-cap:first-child { border-top: 0; }
.fm-map.compact a.fm-cap:hover { background: #fff; transform: none; box-shadow: var(--shadow); }
.fm-map.compact .fm-cap .fm-ic { background: #fff; }
.fm-map.compact .fm-cap h4 { font-size: 1.15rem; margin: 0 0 2px; }
.fm-map.compact .fm-cap p { margin: 0; color: #475569; font-size: 1rem; }
.fm-map.compact .fm-cap .arrow { margin-left: auto; color: var(--blue-text); font-weight: 700; opacity: .0; transition: opacity .2s; }
.fm-map.compact a.fm-cap:hover .arrow { opacity: 1; }
.fm-map.compact .fm-pillar { display: flex; flex-direction: column; }
.fm-map.compact .fm-pillar .btn { margin-top: auto; align-self: flex-start; }
.fm-map.compact .fm-caps { margin-bottom: 20px; }
.fm-center-links { justify-content: center; }
.fm-map-foot { text-align: center; margin-top: 22px; font-weight: 700; }
.fm-map-foot a { color: var(--blue-text); }

/* ---------- Control strip ---------- */
.fm-control { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fm-control > div { background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.fm-control > div:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.fm-control h4 { margin: 14px 0 6px; font-size: 1.08rem; }
.fm-control p { margin: 0; color: #475569; font-size: 1rem; }

/* ---------- Journey ---------- */
.fm-journey { display: grid; grid-template-columns: minmax(200px, .9fr) repeat(4, minmax(0, 1fr)); gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--slate-200); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.fm-journey-lead { padding: 26px 24px; background: var(--cloud); border-right: 1px solid var(--slate-200); }
.fm-journey-lead h3 { margin: 0 0 6px; font-size: 1.35rem; line-height: 1.2; }
.fm-journey-lead p { margin: 0; color: #475569; font-size: .98rem; }
.fm-step { position: relative; padding: 26px 22px 24px 22px; display: flex; flex-direction: column; gap: 6px; transition: background .2s; }
.fm-step:hover { background: var(--blue-50); }
.fm-step + .fm-step::before { content: "→"; position: absolute; left: -9px; top: 30px; color: var(--blue); font-weight: 700; background: #fff; line-height: 1; }
.fm-step .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--blue-50); color: var(--blue-text); margin-bottom: 6px; }
.fm-step:first-of-type .num { background: var(--blue); color: #fff; }
.fm-step:last-of-type .num { background: var(--cyan); color: var(--navy); }
.fm-step strong { font-size: 1.1rem; }
.fm-step span.d { color: #475569; font-size: .98rem; }
.fm-step a { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue-text); font-size: .92rem; }
.fm-journey-wrap { margin-top: 28px; }

/* ---------- Jobs grid for the For IT / For Business pages (slides 3 and 4) ---------- */
.fm-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fm-job { background: #fff; border: 1px solid var(--slate-200); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.fm-job:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.fm-job-head { display: flex; gap: 14px; align-items: center; }
.fm-job-head .fm-ic { width: 48px; height: 48px; }
.fm-job-head h3 { margin: 0; font-size: 1.5rem; }
.fm-job > p { margin: 12px 0 16px; color: #475569; font-size: 1.05rem; }
.fm-job .fm-checks { grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 18px; }
.fm-job .fm-checks li { padding: 9px 0; border-top: 1px solid var(--slate-100); }
.fm-job .more { margin-top: auto; font-weight: 700; color: var(--blue-text); }

/* ---------- Nav additions ---------- */
.mega.platform .fm-mega-feature { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--blue-50); color: inherit; text-decoration: none; }
.mega.platform .fm-mega-feature:hover { background: var(--blue-100); }
.mega.platform .fm-mega-feature .d { color: #475569; font-size: .88rem; display: block; }
.mega.platform .fm-mega-feature .go { margin-left: auto; color: var(--blue-text); font-weight: 700; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .fm-map, .fm-map.compact { grid-template-columns: 1fr; }
  .fm-caps { grid-template-columns: 1fr 1fr; }
  .fm-journey { grid-template-columns: repeat(2, 1fr); }
  .fm-journey-lead { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--slate-200); }
  .fm-step + .fm-step::before { display: none; }
  .fm-control { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .fm-caps, .fm-jobs, .fm-control { grid-template-columns: 1fr; }
  .fm-job .fm-checks { grid-template-columns: 1fr; }
  .fm-journey { grid-template-columns: 1fr; }
  .fm-pillar { padding: 20px; }
}

/* ---------- Hero product shots ---------- */
.fm-hero-shot { margin: 44px 0 0; }
.fm-hero-shot .frame { box-shadow: 0 24px 60px rgba(15, 23, 42, .14); }
[data-section="in-coderflow"] .split h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
[data-section="in-coderflow"] .fm-checks { margin-top: 14px; }
[data-section="in-coderflow"] .split { grid-template-columns: .85fr 1.15fr; gap: 56px; }
[data-section="in-coderflow"] .split.rev { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { [data-section="in-coderflow"] .split, [data-section="in-coderflow"] .split.rev { grid-template-columns: 1fr; } }

.fm-wide { max-width: none; }
.page-hero .fm-hero-shot { margin-top: 40px; }

/* Home: the two core messages (2026-11-16). Hero points, then the "Why CoderFlow" statement section:
   business value first, and business users empowered under IT's governance and security. */
.hs-hero-points { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.hs-hero-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.02rem; line-height: 1.45; color: var(--hs-ink2, #334155); }
.hs-hero-points li strong { color: var(--ink); font-weight: 700; }
.hs-hero-points .hs-i { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--blue-50); color: var(--blue-text); }
.home-promise { padding: 88px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--cloud) 100%); }
.home-promise .hs-head { max-width: 900px; }
.home-promise .hs-head p { max-width: 66ch; }
.home-promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.home-promise-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 40px 40px 32px; box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.home-promise-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--blue); }
.home-promise-card + .home-promise-card::before { background: var(--cyan); }
.home-promise-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--blue-100); }
.home-promise-card .hs-tile-ic { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; }
.home-promise-card .hs-tile-ic .icon { width: 24px; height: 24px; }
.home-promise-card + .home-promise-card .hs-tile-ic { background: var(--cyan-50); color: #0077A0; }
.home-promise-card > .kicker { align-self: flex-start; margin-bottom: 8px; }
.home-promise-card h3 { font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.2; margin: 0 0 14px; max-width: none; }
.home-promise-card > p { font-size: 1.08rem; color: var(--hs-ink2, #334155); margin: 0; }
.home-promise-card .checks { margin: 22px 0 24px; }
.home-promise-card .checks li { font-size: 1.02rem; margin-bottom: 12px; }
.home-promise-card > .more { margin-top: auto; align-self: flex-start; font-weight: 600; padding-top: 4px; }
@media (max-width: 900px) {
  .home-promise { padding: 56px 0 48px; }
  .home-promise-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-promise-card { padding: 30px 24px 24px; }
}

/* HubSpot's web-interactives overlay (injected by its script, opacity 0 until a pop-up opens) is sized slightly wider
   than the viewport, which gave every page a 1px to 12px sideways scroll. Keep it within the viewport. */
#hs-interactives-modal-overlay { max-width: 100%; }
/* The tilted panel behind the overview video (.home-overview-media::before) reached past the viewport at about
   1024px. clip (not hidden) keeps the story stage's position: sticky working. */
.home-overview { overflow-x: clip; }

/* Flow steps explain themselves (2026-11-16): no "hover to see" hints on the page.
   A step with more to say gets a dotted underline, the usual cue for extra detail (its tip shows on hover, focus or tap).
   A captioned flow shows each step's explanation under it instead, so nothing is hidden. */
.flowline:not(.captions) .n[data-tip] { text-decoration: underline dotted var(--slate-300); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.flowline.captions { align-items: flex-start; flex-wrap: nowrap; gap: 6px; }
.flowline.captions .fl { align-items: flex-start; white-space: normal; flex: 1 1 0; min-width: 0; }
.flowline.captions .a { margin-top: 12px; flex: none; }
.flowline.captions .fl-step { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; text-align: center; }
.flowline.captions .n { white-space: normal; max-width: 100%; text-align: center; }
.flowline.captions .fl-cap { font-size: .95rem; line-height: 1.45; color: var(--slate); max-width: 22ch; }
@media (max-width: 900px) {
  .flowline.captions { flex-direction: column; align-items: center; gap: 4px; }
  .flowline.captions .fl { flex-direction: column; align-items: center; gap: 4px; flex: none; width: 100%; }
  .flowline.captions .a { margin: 0; transform: rotate(90deg); }
  .flowline.captions .fl-step { gap: 8px; width: 100%; }
  .flowline.captions .fl-cap { max-width: 34ch; }
}

/* Screenshots inside blog and guide copy ({{shot:...}} tokens, layout.mjs shotTokens) */
.prose .prose-shot { margin: 32px 0; }
.prose .prose-shot .frame { border-radius: 14px; box-shadow: 0 0 0 1px var(--slate-200), var(--shadow); overflow: hidden; }
.prose .prose-shot img { display: block; width: 100%; height: auto; }
.prose .prose-shot figure.tall .frame { max-width: 520px; margin: 0 auto; }
.prose .prose-shot .caption { font-size: .9rem; color: var(--slate); margin-top: 10px; text-align: center; }
