/* ============================================================
   WorQuick — Design System
   Royal blue structure + orange action, IBM Plex type.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand */
  --blue:        #1453C2;
  --blue-700:    #0F3E96;
  --blue-900:    #0B2A66;
  --blue-tint:   #EAF0FB;
  --blue-tint-2: #DCE7F8;
  --orange:      #F2944C;
  --orange-600:  #E27B2C;
  --orange-tint: #FDEEDF;

  /* Ink + neutrals (cool-tinted) */
  --ink:        #0C1B33;
  --ink-2:      #314463;
  --muted:      #5E6E8C;
  --faint:      #8896AE;
  --line:       #E1E8F2;
  --line-2:     #EDF1F8;

  /* Surfaces */
  --bg:        #FFFFFF;
  --bg-alt:    #F5F8FD;
  --bg-deep:   #0B1E45;   /* deep navy section */
  --surface:   #FFFFFF;

  /* Accent control (tweakable) */
  --accent:      var(--orange);
  --accent-600:  var(--orange-600);
  --accent-tint: var(--orange-tint);

  /* Radius / density (tweakable) */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --section-y: 104px;

  /* Shadows — cool, restrained */
  --sh-1: 0 1px 2px rgba(12,27,51,.05), 0 1px 1px rgba(12,27,51,.04);
  --sh-2: 0 6px 20px rgba(12,27,51,.07), 0 2px 6px rgba(12,27,51,.05);
  --sh-3: 0 22px 60px rgba(11,30,69,.16), 0 6px 18px rgba(11,30,69,.08);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #EAF0FB; }
.section--tight { padding: 72px 0; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.section--deep .eyebrow { color: #8FB0EE; }

.section-head { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 18px; }
h2.section-title { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p.lede { margin-top: 18px; font-size: 19px; color: var(--muted); }
.section--deep .section-head p.lede { color: #AFC2E6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: #2A1604; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--sh-1); }
.btn-blue:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.section--deep .btn-ghost { color: #EAF0FB; border-color: rgba(255,255,255,.22); }
.section--deep .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Chips / tags ---------- */
.chip {
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 500;
  letter-spacing: .04em; color: var(--ink-2);
  padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); display: inline-flex; align-items: center; gap: 7px;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px rgba(12,27,51,.06); }
.nav { display: flex; align-items: center; gap: 14px; height: 78px; transition: height .25s var(--ease); }
.header.is-stuck .nav { height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: 8px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 9px 13px; border-radius: var(--r-sm); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s; position: relative;
}
.nav-link:hover { color: var(--blue); background: var(--blue-tint); }
.nav-link .caret { width: 13px; height: 13px; transition: transform .2s; opacity: .7; }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Dropdown */
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 340px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 90;
}
.has-menu:hover .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-menu:hover .caret { transform: rotate(180deg); }
.menu-item { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); transition: background .14s; align-items: flex-start; }
.menu-item:hover { background: var(--blue-tint); }
.menu-item .mi-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--blue-tint-2); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.menu-item:hover .mi-ic { background: var(--blue); color: #fff; }
.menu-item .mi-ic svg { width: 16px; height: 16px; }
.menu-item b { font-size: 14.5px; font-weight: 600; display: block; }
.menu-item span { font-size: 12.5px; color: var(--muted); }

/* Mobile */
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.hamburger svg { width: 20px; height: 20px; }
.mobile-panel { display: none; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-cta .btn-text { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-panel {
    display: block; position: fixed; inset: 0 0 0 auto; width: min(380px, 86vw);
    background: var(--surface); z-index: 120; box-shadow: var(--sh-3);
    transform: translateX(100%); transition: transform .32s var(--ease);
    padding: 22px; overflow-y: auto;
  }
  .mobile-panel.open { transform: translateX(0); }
  .scrim { position: fixed; inset: 0; background: rgba(11,30,69,.42); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s; }
  .scrim.open { opacity: 1; visibility: visible; }
  .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .m-head img { height: 26px; }
  .m-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
  .m-link { display: block; padding: 14px 12px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
  .m-sub { padding: 4px 12px 12px; }
  .m-sub a { display: block; padding: 9px 0; font-size: 14.5px; color: var(--muted); }
  .mobile-panel .btn { width: 100%; margin-top: 18px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--blue-tint) 0%, rgba(234,240,251,0) 60%),
    radial-gradient(700px 380px at 102% 30%, var(--accent-tint) 0%, rgba(253,238,223,0) 55%);
}
.hero-grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(800px 600px at 30% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(800px 600px at 30% 20%, #000 0%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--blue); }
.hero .sub { margin-top: 24px; font-size: 19px; color: var(--ink-2); max-width: 600px; }
.hero .sub.small { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.cred { margin-top: 26px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.cred svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

/* Hero visual — platform window mock */
.hero-visual { position: relative; }
.win {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: #fff; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-dots i:nth-child(1) { background: #F2C0A0; } .win-dots i:nth-child(2) { background: #BFD0EC; }
.win-title { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--faint); margin-left: 4px; }
.win-tag { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--blue); background: var(--blue-tint); padding: 4px 9px; border-radius: var(--r-pill); }
.win-body { padding: 18px; display: grid; gap: 12px; }
.win-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-alt); }
.win-row .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.win-row .ic svg { width: 18px; height: 18px; }
.ic-blue { background: var(--blue-tint-2); color: var(--blue); }
.ic-orange { background: var(--accent-tint); color: var(--orange-600); }
.ic-green { background: #E2F2E8; color: #2C8C57; }
.win-row .t b { display: block; font-size: 14px; font-weight: 600; }
.win-row .t span { font-size: 12px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; }
.win-row .stat { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; }
.win-row .badge { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 11px; padding: 4px 9px; border-radius: var(--r-pill); font-weight: 500; }
.badge-ok { background: #E2F2E8; color: #2C8C57; }
.badge-wait { background: var(--accent-tint); color: var(--orange-600); }
.win-progress { height: 6px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.win-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #3E78DB); border-radius: 4px; }

.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-2); padding: 13px 16px; display: flex; gap: 11px; align-items: center;
}
.float-card .fc-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; }
.float-card .fc-ic svg { width: 19px; height: 19px; }
.float-card b { font-size: 14px; display: block; } .float-card span { font-size: 12px; color: var(--muted); }
.float-1 { top: -22px; right: -18px; }
.float-2 { bottom: -24px; left: -26px; }
@media (max-width: 1080px) { .float-1, .float-2 { display: none; } }

/* ---------- Industry strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .container { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.strip .lbl { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.strip .chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   GENERIC CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-tint-2); }
.card .c-ic { width: 46px; height: 46px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card.accent .c-ic { background: var(--accent-tint); color: var(--orange-600); }
.card .c-ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 20px; margin-bottom: 9px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card .c-num { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--accent); font-weight: 600; }

/* ---------- Why Now: old vs new ---------- */
.shift { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; margin-top: 48px; }
.shift-card { border-radius: var(--r-lg); padding: 30px; position: relative; }
.shift-old { background: var(--bg-alt); border: 1px solid var(--line); }
.shift-new { background: var(--blue); color: #fff; border: 1px solid var(--blue); box-shadow: var(--sh-2); }
.shift-card .sc-tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; display: inline-block; }
.shift-old .sc-tag { color: var(--faint); }
.shift-new .sc-tag { color: #AEC6F2; }
.shift-step { display: flex; gap: 12px; padding: 13px 0; font-size: 16px; align-items: flex-start; }
.shift-step:not(:last-child) { border-bottom: 1px solid var(--line); }
.shift-new .shift-step:not(:last-child) { border-bottom-color: rgba(255,255,255,.16); }
.shift-step .n { font-family: 'IBM Plex Mono', monospace; font-size: 12px; opacity: .6; padding-top: 3px; }
.shift-arrow { display: grid; place-items: center; color: var(--accent); align-self: center; }
.shift-arrow svg { width: 30px; height: 30px; }
@media (max-width: 860px) { .shift { grid-template-columns: 1fr; } .shift-arrow { transform: rotate(90deg); } }

.pullquote {
  margin-top: 48px; padding: 40px; border-radius: var(--r-lg);
  background: var(--bg-deep); color: #fff; position: relative; overflow: hidden;
}
.pullquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.pullquote p { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; max-width: 900px; }
.pullquote .qm { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; display: block; }

/* ---------- Problem list ---------- */
.pain-list { columns: 2; column-gap: 40px; margin-top: 8px; }
.pain-list li { break-inside: avoid; display: flex; gap: 12px; padding: 12px 0; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.pain-list li svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 720px) { .pain-list { columns: 1; } }

/* ---------- Solution connect ---------- */
.connect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.connect-item { padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); display: flex; gap: 12px; align-items: center; transition: border-color .2s, transform .2s; }
.connect-item:hover { border-color: var(--blue-tint-2); transform: translateY(-2px); }
.connect-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.connect-item span { font-size: 14.5px; font-weight: 500; }
@media (max-width: 920px) { .connect-grid { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   AI AGENT FLOW DIAGRAM
   ============================================================ */
.flow { margin-top: 52px; }
.flow-stage {
  position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 40px 34px; overflow: hidden;
}
.flow-track { display: grid; grid-template-columns: 1fr 1.2fr 1fr 1.1fr; gap: 0; align-items: stretch; position: relative; z-index: 2; }
.flow-node {
  background: #102a5c; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r);
  padding: 22px 20px; position: relative; transition: border-color .4s, box-shadow .4s, transform .4s; margin: 0 14px;
}
.flow-node.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 40px rgba(242,148,76,.22); transform: translateY(-3px); }
.flow-node .fn-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(255,255,255,.08); color: #fff; transition: background .4s, color .4s; }
.flow-node.is-active .fn-ic { background: var(--accent); color: #2A1604; }
.flow-node .fn-ic svg { width: 22px; height: 22px; }
.flow-node .fn-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8FB0EE; margin-bottom: 6px; }
.flow-node h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.flow-node ul { margin-top: 12px; }
.flow-node li { font-size: 13px; color: #B7C8E6; padding: 5px 0 5px 16px; position: relative; }
.flow-node li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.flow-node.is-active li::before { background: var(--accent); }

.flow-connectors { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.flow-connectors path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; }
.flow-connectors .pulse { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(242,148,76,.7)); }

.flow-legend { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 26px; justify-content: center; }
.flow-legend .lg { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #B7C8E6; }
.flow-legend .lg b { color: #fff; font-weight: 600; }
.flow-legend .lg i { width: 11px; height: 11px; border-radius: 3px; }

.guardrails { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 40px; }
.guardrail { padding: 14px 12px; text-align: center; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); background: rgba(255,255,255,.03); }
.guardrail svg { width: 20px; height: 20px; color: var(--accent); margin-bottom: 8px; }
.guardrail span { display: block; font-size: 12.5px; color: #CBD9F0; line-height: 1.3; }
@media (max-width: 980px) { .guardrails { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .guardrails { grid-template-columns: repeat(2,1fr); } }

.principle { margin-top: 40px; text-align: center; }
.principle p { font-size: clamp(19px, 2.4vw, 26px); font-weight: 500; letter-spacing: -0.01em; max-width: 880px; margin: 0 auto; line-height: 1.4; }
.principle p .a { color: var(--accent); } .principle p .b { color: #8FB0EE; }

@media (max-width: 900px) {
  .flow-track { grid-template-columns: 1fr; gap: 14px; }
  .flow-node { margin: 0; }
  .flow-connectors { display: none; }
}

/* ---------- Approach timeline ---------- */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--surface); padding: 30px 26px; position: relative; transition: background .2s; }
.step:hover { background: var(--bg-alt); }
.step .s-num { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; color: #fff; background: var(--blue); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 18px; }
.step:nth-child(n+4) .s-num { background: var(--accent); color: #2A1604; }
.step h4 { font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Who we help ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.who-grid .card:nth-child(4) { grid-column: span 1; }
@media (max-width: 920px) { .who-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- What we build ---------- */
.build-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.build-item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .2s, transform .2s; }
.build-item:hover { border-color: var(--blue-tint-2); transform: translateX(3px); }
.build-item .bn { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--accent); font-weight: 600; width: 28px; flex-shrink: 0; }
.build-item span { font-size: 16px; font-weight: 500; }
.build-item svg { width: 18px; height: 18px; color: var(--blue); margin-left: auto; opacity: 0; transition: opacity .2s, transform .2s; }
.build-item:hover svg { opacity: 1; transform: translateX(2px); }
@media (max-width: 700px) { .build-list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 4px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-family: inherit; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-q .pm::before { width: 16px; height: 2.5px; top: 12px; left: 5px; }
.faq-q .pm::after { width: 2.5px; height: 16px; top: 5px; left: 12px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--muted); font-size: 16px; max-width: 700px; }

/* ---------- Final CTA ---------- */
.final {
  background: var(--bg-deep); color: #fff; border-radius: 26px; padding: 72px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.final::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(700px 380px at 50% -20%, rgba(62,120,219,.5), transparent 60%), radial-gradient(500px 300px at 80% 120%, rgba(242,148,76,.35), transparent 60%); }
.final .container-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.final h2 { font-size: clamp(30px, 4vw, 48px); color: #fff; }
.final p { margin-top: 20px; font-size: 19px; color: #B7C8E6; }
.final .btn-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-deep); color: #9FB3D6; padding: 72px 0 36px; }
.footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .f-brand img { height: 30px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer .f-brand p { font-size: 14.5px; max-width: 320px; line-height: 1.6; }
.footer h5 { color: #fff; font-size: 13px; font-family: 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer .f-col a { display: block; padding: 7px 0; font-size: 14.5px; color: #9FB3D6; transition: color .15s; }
.footer .f-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .mono { font-family: 'IBM Plex Mono', monospace; }
@media (max-width: 820px) { .footer .container { grid-template-columns: 1fr 1fr; } .footer .f-brand { grid-column: 1 / -1; } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-scrim { position: fixed; inset: 0; background: rgba(11,30,69,.55); backdrop-filter: blur(4px); z-index: 200; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s; }
.modal-scrim.open { opacity: 1; visibility: visible; }
.modal { width: min(560px, 100%); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden; transform: translateY(16px) scale(.98); transition: transform .3s var(--ease); max-height: 92vh; overflow-y: auto; }
.modal-scrim.open .modal { transform: translateY(0) scale(1); }
.modal-head { padding: 28px 30px 0; position: relative; }
.modal-head .eyebrow { margin-bottom: 12px; }
.modal-head h3 { font-size: 26px; }
.modal-head p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.modal-close { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.modal-close:hover { background: var(--bg-alt); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 24px 30px 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-alt); color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-tint); }
.field textarea { resize: vertical; min-height: 84px; }
.field.error input, .field.error select, .field.error textarea { border-color: #D9534F; }
.field .err-msg { font-size: 12.5px; color: #D9534F; margin-top: 5px; display: none; }
.field.error .err-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal .btn { width: 100%; margin-top: 8px; }
.modal-success { padding: 50px 30px; text-align: center; }
.modal-success .ok-ic { width: 64px; height: 64px; border-radius: 50%; background: #E2F2E8; color: #2C8C57; display: grid; place-items: center; margin: 0 auto 22px; }
.modal-success .ok-ic svg { width: 32px; height: 32px; }
.modal-success h3 { font-size: 24px; } .modal-success p { margin-top: 12px; color: var(--muted); }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flow-connectors .pulse { display: none; }
}
