/* ==========================================================================
   Combiine.com – site styles
   Brand: dark blue #134A5E · light blue #0FAFE3 · green #4E984C · Roboto
   ========================================================================== */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand */
  --brand-navy: #134a5e;
  --brand-blue: #0fafe3;
  --brand-green: #4e984c;

  /* Extended palette (derived from the brand colours) */
  --ink: #06202b;
  --navy-950: #082431;
  --navy-900: #0b2c3a;
  --navy-800: #0f3a4c;
  --navy-700: #134a5e;
  --blue-300: #7fd6f3;
  --blue-100: #e3f6fd;
  --blue-text: #0077a8;      /* light blue darkened for text on white (AA) */
  --green-300: #9fd39d;
  --green-100: #e8f4e7;
  --green-text: #3a7a38;

  --text: #26404c;
  --muted: #587280;
  --line: #d9e4ea;
  --soft: #f3f7f9;
  --white: #ffffff;
  --amber: #b86e00;
  --amber-bg: #fff4dc;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 36, 49, .06), 0 2px 8px rgba(8, 36, 49, .05);
  --shadow: 0 2px 6px rgba(8, 36, 49, .06), 0 12px 32px rgba(8, 36, 49, .09);
  --shadow-lg: 0 30px 80px rgba(3, 18, 26, .45);

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.icon { width: 24px; height: 24px; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 44em; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Draft markers (remove .draft-bar and .verify before launch) ---------- */
.draft-bar { background: var(--amber-bg); color: #6b4300; font-size: .85rem; padding: 6px 0; border-bottom: 1px solid #f1d9a6; }
.verify {
  display: inline-block; font-size: .72em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber); background: var(--amber-bg); border: 1px dashed var(--amber);
  border-radius: 6px; padding: 1px 6px; vertical-align: middle; line-height: 1.5;
}
.verify-block { outline: 2px dashed var(--amber); outline-offset: 6px; border-radius: var(--radius); position: relative; }
.verify-note { font-size: .85rem; color: var(--amber); background: var(--amber-bg); border-radius: 8px; padding: 8px 12px; margin-top: 14px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 22px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-blue); color: var(--ink); }
.btn-primary:hover { background: #3cc2ee; color: var(--ink); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--navy-700); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--blue-text); }
.arrow-link::after {
  content: ""; width: 16px; height: 16px; background: currentColor; transition: transform .15s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
a:hover > .arrow-link::after, .arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 36, 49, .94);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; color: var(--white); }
.logo-svg { height: 30px; width: auto; }
.logo .st0 { fill: var(--brand-blue); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.82);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: 10px 12px; border-radius: 8px;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--white); background: rgba(255,255,255,.07); }
.nav-link[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--brand-blue); border-radius: 0; }
.chev { width: 12px; height: 12px; transition: transform .2s; }
.mega-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { padding: 12px 18px; }
.nav-toggle { display: none; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(var(--header-h) - 6px); transform: translateX(-50%);
  width: min(1100px, calc(100vw - 32px));
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px; display: none;
}
.mega.open { display: block; animation: megaIn .16s ease-out; }
@keyframes megaIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.05fr; gap: 24px; }
.mega-head { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.mega-head:not(:first-child) { margin-top: 18px; }
.mega-col a { display: block; padding: 9px 12px; margin: 0 -12px; border-radius: 10px; text-decoration: none; }
.mega-col a:hover { background: var(--soft); }
.mega-col strong { display: block; color: var(--ink); font-size: .96rem; font-weight: 700; }
.mega-col span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.mega-feature {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(15,175,227,.35), transparent 60%), var(--navy-900);
  color: rgba(255,255,255,.8); border-radius: var(--radius); padding: 22px; font-size: .9rem; line-height: 1.45;
}
.mega-feature strong { color: var(--white); font-size: 1.1rem; }
.mega-feature .arrow-link { color: var(--blue-300); margin-top: auto; padding-top: 10px; }
.mega-feature-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-300); }
.mega-foot { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .eyebrow { color: var(--blue-300); }
.section-dark .lede { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: rgba(255,255,255,.8);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(15,175,227,.28), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(78,152,76,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  padding: clamp(56px, 8vw, 104px) 0 0;
}
.hero::before { /* faint grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%); mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand-blue), #7be0a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: var(--blue-300); }
.hero .lede { color: rgba(255,255,255,.76); }
.hero-visual { position: relative; margin-right: calc(-1 * clamp(0px, 4vw, 60px)); }
.hero-visual img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }

.trust-strip {
  position: relative; margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item { padding: 26px 20px 30px 0; }
.trust-item + .trust-item { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.1); }
.trust-num { display: block; font-size: 1.7rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; }
.trust-label { margin: 0; display: block; font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: rgba(255,255,255,.8);
  background:
    radial-gradient(55% 80% at 90% 0%, rgba(15,175,227,.25), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  padding: clamp(48px, 7vw, 88px) 0;
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--blue-300); }
.page-hero .lede { color: rgba(255,255,255,.76); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 8px; }

/* ---------- Ecosystem hub ---------- */
.hub-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hub-figure { margin: 0; }
.hub-figure > svg { width: 100%; height: auto; display: block; }
.hub-caption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.point-list { list-style: none; display: grid; gap: 22px; margin-top: 28px; }
.point-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.point-list h3 { margin-bottom: 4px; font-size: 1.1rem; }
.point-list p { margin: 0; color: var(--muted); font-size: .98rem; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--navy-700);
}
.icon-tile.green { background: var(--green-100); color: var(--green-text); }
.icon-tile.dark { background: rgba(255,255,255,.08); color: var(--blue-300); }

/* ---------- Lifecycle ---------- */
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.lifecycle > li { position: relative; padding: 0 14px; text-align: center; }
.lifecycle > li::before { /* connector line */
  content: ""; position: absolute; top: 27px; left: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: .5;
}
.lifecycle > li:last-child::before { display: none; }
.step-dot {
  position: relative; z-index: 1; margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--navy-700);
  border: 2px solid var(--brand-blue); box-shadow: 0 0 0 6px var(--soft);
}
.lifecycle h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lifecycle p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.chip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; }
.chip { display: inline-block; font-size: .76rem; font-weight: 500; color: var(--navy-700); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; text-decoration: none; }
a.chip:hover { border-color: var(--brand-blue); color: var(--ink); }
.lifecycle-note { text-align: center; margin-top: 36px; color: var(--muted); }

/* ---------- Module groups ---------- */
.module-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.module-group {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.module-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.module-group-head h3 { margin: 0; }
.module-group-head p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.module-list { list-style: none; display: grid; gap: 10px; }
.module-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 12px; background: var(--soft); text-decoration: none; color: var(--text);
  border: 1px solid transparent; transition: border-color .15s, background-color .15s;
}
.module-card:hover { background: var(--white); border-color: var(--brand-blue); color: var(--text); }
.module-card strong { display: block; color: var(--ink); font-size: 1.02rem; }
.module-card span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.module-card .icon { width: 20px; height: 20px; color: var(--blue-text); transition: transform .15s; }
.module-card:hover .icon { transform: translateX(3px); }
.module-group-app {
  grid-column: 1 / -1;
  background: radial-gradient(70% 120% at 100% 0%, rgba(15,175,227,.3), transparent 60%), var(--navy-900);
  border: 0; color: rgba(255,255,255,.78);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center;
}
.module-group-app h3 { color: var(--white); }
.module-group-app .module-group-head p { color: rgba(255,255,255,.6); }
.module-group-app .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.module-group-app .chip-list { justify-content: flex-start; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 112px); }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-media.plain img { box-shadow: none; border-radius: 0; }
.split-media.phones { display: flex; justify-content: center; }
.split-media.phones img { max-height: 620px; width: auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }

.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%233a7a38' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist.two-col { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.section-dark .checklist li::before { background-color: rgba(78,152,76,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%239fd39d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section-dark .checklist li { color: rgba(255,255,255,.85); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 16px 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-dark .card p { color: rgba(255,255,255,.68); }

/* ---------- Recognition ---------- */
.recognition { display: grid; grid-template-columns: .9fr 2fr; gap: 40px; align-items: center; }
.award-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.award { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.award .icon { color: var(--brand-green); width: 30px; height: 30px; }
.award strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.award span { display: block; font-size: .82rem; color: var(--muted); }

/* ---------- Partnership band ---------- */
.partner-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(78,152,76,.35), transparent 60%),
    radial-gradient(50% 80% at 0% 0%, rgba(15,175,227,.25), transparent 60%),
    var(--navy-900);
  color: rgba(255,255,255,.8); padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.partner-band h2 { color: var(--white); }
.partner-band .eyebrow { color: var(--green-300); }
.partner-steps { list-style: none; display: grid; gap: 14px; counter-reset: ps; }
.partner-steps li {
  counter-increment: ps; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px;
}
.partner-steps li::before {
  content: counter(ps); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: var(--ink); background: var(--brand-blue);
}
.partner-steps li:last-child::before { background: var(--brand-green); color: var(--white); }
.partner-steps strong { display: block; color: var(--white); }
.partner-steps span { font-size: .92rem; color: rgba(255,255,255,.7); }
.partner-aside { margin-top: 18px; font-size: .95rem; color: rgba(255,255,255,.7); }
.partner-aside a { color: var(--blue-300); }

/* ---------- Workflow (inner pages) ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow li {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 50%; width: 12px; height: 2px; background: var(--brand-blue);
}
.flow-num { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--blue-text); }
.flow h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.flow p { font-size: .88rem; color: var(--muted); margin: 0; }
.flow .icon { color: var(--navy-700); }

/* ---------- Escalation ladder ---------- */
.ladder { list-style: none; display: grid; gap: 10px; }
.ladder li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.ladder li:nth-child(1) { margin-right: 36px; }
.ladder li:nth-child(2) { margin-left: 18px; margin-right: 18px; }
.ladder li:nth-child(3) { margin-left: 36px; }
.ladder .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.ladder strong { color: var(--white); display: block; }
.ladder span { font-size: .9rem; color: rgba(255,255,255,.68); }
.ladder.light li { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.ladder.light strong { color: var(--ink); }
.ladder.light span { color: var(--muted); }
.ladder.steps4 li:nth-child(1) { margin: 0 48px 0 0; }
.ladder.steps4 li:nth-child(2) { margin: 0 32px 0 16px; }
.ladder.steps4 li:nth-child(3) { margin: 0 16px 0 32px; }
.ladder.steps4 li:nth-child(4) { margin: 0 0 0 48px; }

/* ---------- Risk bands ---------- */
.bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.band { border-radius: 10px; padding: 12px; font-size: .85rem; line-height: 1.35; color: var(--ink); }
.band strong { display: block; font-size: .95rem; }
.band-high { background: #fde3e1; }
.band-elevated { background: #feecd6; }
.band-moderate { background: #fff6cf; }
.band-low { background: var(--green-100); }

/* ---------- Case study placeholder ---------- */
.quote-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0 0 18px; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); font-weight: 500; }
.quote-card cite { font-style: normal; color: var(--muted); font-size: .95rem; }

/* ---------- Related modules ---------- */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related a { display: block; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; background: var(--white); transition: border-color .15s, transform .15s; }
.related a:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.related .icon { color: var(--blue-text); }
.related strong { display: block; color: var(--ink); margin: 12px 0 4px; }
.related span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band h2 { max-width: 20em; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); font-size: .93rem; padding: 64px 0 28px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo-svg { height: 28px; }
.footer-brand p { margin-top: 16px; max-width: 22em; }
.footer-head { color: var(--white); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
.footer-legal p { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-link { padding: 10px 9px; font-size: .92rem; }
  .site-nav { gap: 12px; }
  .grid-4, .related { grid-template-columns: repeat(2, 1fr); }
  .flow, .flow.flow-4 { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3)::after { display: none; }
  .award-list { grid-template-columns: 1fr; }
  .recognition { grid-template-columns: 1fr 1.3fr; }
}

@media (max-width: 940px) {
  :root { --header-h: 64px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,.08); border: 0; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.08);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--brand-blue); }
  .nav-cta { margin-top: 18px; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border-radius: 12px; padding: 16px; margin: 8px 0; }
  .mega.open { animation: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 8px; }

  .hero-grid, .page-hero-grid, .hub-grid, .split, .partner-band, .recognition, .module-group-app { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-visual { margin-right: 0; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .module-groups { grid-template-columns: 1fr; }
  .lifecycle { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .lifecycle > li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0 0 28px; }
  .lifecycle > li::before { top: 56px; left: 27px; width: 2px; height: calc(100% - 56px); }
  .lifecycle .step-dot { margin: 0; grid-row: span 3; }
  .lifecycle .chip-list { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .related, .flow, .flow.flow-4, .checklist.two-col { grid-template-columns: 1fr; }
  .prose table { display: block; width: 100%; overflow-x: auto; }
  .flow li::after { display: none; }
  .bands { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .trust-num { font-size: 1.4rem; }
  .ladder li:nth-child(n) { margin: 0; }
  .ladder.steps4 li:nth-child(n) { margin: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .draft-bar { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Product screenshots
   ========================================================================== */
.screen {
  margin: 0; border-radius: 12px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.section-dark .screen, .page-hero .screen { border-color: rgba(255,255,255,.12); box-shadow: var(--shadow-lg); }
.screen-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #e9eef1; }
.section-dark .screen-bar, .page-hero .screen-bar { background: #1c3a4b; }
.screen-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(8,36,49,.2); }
.section-dark .screen-bar span, .page-hero .screen-bar span { background: rgba(255,255,255,.22); }
.screen img { display: block; width: 100%; }
.caption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.section-dark .caption, .page-hero .caption { color: rgba(255,255,255,.55); }

.phone {
  margin: 0; width: 100%; max-width: 250px; padding: 7px; border-radius: 36px;
  background: #0a1720; box-shadow: 0 0 0 1px rgba(255,255,255,.08), var(--shadow-lg);
}
.phone img { display: block; width: 100%; border-radius: 29px; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2vw, 22px); }
.phones .phone { flex: 1 1 0; }
.phones .phone:nth-child(2) { transform: translateY(-28px); }
.phones.two .phone:nth-child(2) { transform: translateY(-20px); }

/* Illustration cards (clearly marked, built in HTML) */
.illus { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; color: var(--text); max-width: 460px; margin-left: auto; }
.illus-tag { display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.illus h3 { font-size: 1.05rem; margin: 0 0 4px; }
.illus .sub { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.quote-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; font-size: .92rem; }
.quote-row strong { font-size: 1.1rem; color: var(--ink); }
.quote-row small { display: block; color: var(--muted); font-size: .78rem; }
.quote-row.best { border-color: var(--brand-green); background: var(--green-100); }
.quote-row .badge { font-size: .7rem; font-weight: 700; color: var(--white); background: var(--brand-green); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.illus-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.illus-btn { background: var(--brand-blue); color: var(--ink); font-weight: 700; border-radius: 8px; padding: 8px 14px; font-size: .85rem; }
.choice-list { list-style: none; display: grid; gap: 8px; }
.choice { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; }
.choice strong { color: var(--ink); display: block; }
.choice .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.choice .tags span { font-size: .68rem; padding: 1px 7px; border-radius: 999px; background: var(--blue-100); color: var(--navy-700); }
.choice .tags span.ev { background: var(--green-100); color: var(--green-text); }
.choice .price { text-align: right; color: var(--ink); font-weight: 700; }
.choice .price small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
.choice.out { opacity: .45; }
.choice.out .price { color: var(--muted); font-weight: 500; font-size: .75rem; }

/* Stepper (long workflows) */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(var(--steps, 7), 1fr); gap: 0; counter-reset: st; }
.stepper li { position: relative; text-align: center; padding: 0 8px; counter-increment: st; }
.stepper li::before {
  content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--navy-900); color: var(--white); font-weight: 700; position: relative; z-index: 1;
}
.stepper li::after { content: ""; position: absolute; top: 20px; left: calc(50% + 20px); width: calc(100% - 40px); height: 2px; background: var(--line); }
.stepper li:last-child::after { display: none; }
.stepper strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 4px; }
.stepper span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.stepper .who { font-style: normal; display: inline-block; margin-top: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); }
.stepper .who.employer { color: var(--green-text); }
.section-dark .stepper li::before { background: var(--brand-blue); color: var(--ink); }
.section-dark .stepper li::after { background: rgba(255,255,255,.15); }
.section-dark .stepper strong { color: var(--white); }
.section-dark .stepper span { color: rgba(255,255,255,.65); }

/* Feature grid (icon + title + text, compact) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature .icon-tile { width: 44px; height: 44px; }
.feature h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.feature p { margin: 0; font-size: .94rem; color: var(--muted); }
.section-dark .feature p { color: rgba(255,255,255,.66); }

/* Comparison columns */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--white); }
.compare-col h3 { margin-bottom: 14px; }
.compare-col ul { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.compare-col li { position: relative; padding-left: 26px; }
.compare-col li::before { content: "–"; position: absolute; left: 6px; color: var(--muted); }
.compare-col.win { border: 2px solid var(--brand-green); box-shadow: var(--shadow); position: relative; }
.compare-col.win li::before { content: ""; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%233a7a38' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.compare-flag { position: absolute; top: -12px; left: 24px; background: var(--brand-green); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.compare-col .muted-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: block; }

/* Roles grid */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.role h3 { color: var(--white); font-size: 1.05rem; margin: 14px 0 6px; }
.role p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.66); }

/* Coming soon / roadmap card */
.soon { border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--white); }
.soon-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-700); background: var(--blue-100); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #b42318; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(15,175,227,.18); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.field.error input, .field.error select, .field.error textarea { border-color: #b42318; }
.field .err { display: none; font-size: .82rem; color: #b42318; margin-top: 4px; }
.field.error .err { display: block; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .85rem; color: var(--muted); }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-status.ok { display: block; background: var(--green-100); color: var(--green-text); }
.form-status.fail { display: block; background: #fdecea; color: #8a1c14; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { font-weight: 500; }

/* Long-form text (policies, blog posts) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.post-meta { color: rgba(255,255,255,.65); font-size: .95rem; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; text-decoration: none; background: var(--white); transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.post-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.post-card h3 { color: var(--ink); margin: 10px 0; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .arrow-link { margin-top: auto; }
.policy-nav { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.policy-nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; background: var(--white); }
.policy-nav a:hover { border-color: var(--brand-blue); }

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stepper { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .stepper li:nth-child(4n)::after { display: none; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .post-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .compare { grid-template-columns: 1fr; }
  .illus { margin: 0 auto; }
}
@media (max-width: 640px) {
  .feature-grid, .roles, .post-list, .policy-nav, .form-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; text-align: left; row-gap: 18px; }
  .stepper li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; text-align: left; padding: 0; }
  .stepper li::before { margin: 0; grid-row: span 3; }
  .stepper li::after { display: none; }
  .phones .phone:nth-child(2) { transform: none; }
  .phones .phone:nth-child(3) { display: none; }
}
