/* ==========================================================================
   Flow Artech — website styles
   Derived from the Flow Artech brand style guide:
   Flow Blue #1565DB · Machine Navy #0D1B2A · Steel Slate #334155
   CAD Grid #E2E8F0 · Cloud White #F8FAFC · Sora typeface
   ========================================================================== */

:root {
  --blue: #1565DB;
  --blue-2: #0B78FF;
  --blue-light: #3994ff;
  --navy: #0D1B2A;
  --navy-deep: #071522;
  --slate: #334155;
  --line: #E2E8F0;
  --mist: #F8FAFC;
  --white: #FFFFFF;
  --ink: #102033;
  --muted: #64748b;

  /* Logo tones. Not interface colours — they exist only inside the mark and
     the wordmark. See "Mark tones" in the style guide for the contrast table. */
  --mark-blue-dark: #3B86E8;
  --mark-slate-dual: #7A8899;

  --shadow: 0 16px 45px rgba(13, 27, 42, .10);
  --shadow-sm: 0 7px 25px rgba(15, 23, 42, .04);
  --r: 18px;
  --r-sm: 10px;
  --max: 1180px;

  --font: Sora, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -.035em; line-height: 1.1; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 100;
  background: var(--blue); color: #fff;
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Brand lockup. One inline drawing (views/partials/brandmark.ejs, generated by
   tools/build-brand.py) that takes its two tones from the section it sits in —
   so a dark band can never end up with the light-ground mark. Set --fa-f and
   --fa-a on any container, or give it .on-dark. */
:root { --fa-f: var(--blue); --fa-a: var(--slate); }
.on-dark, .site-footer, .cta-band { --fa-f: var(--mark-blue-dark); --fa-a: var(--line); }

.fa-logo { display: block; height: 34px; width: auto; }
.fa-logo .fa-f, .fa-logo .fa-rule { fill: var(--fa-f); }
.fa-logo .fa-a { fill: var(--fa-a); }

.brand { flex: none; display: inline-flex; text-decoration: none; }

.navlinks { display: flex; gap: 26px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.navlinks a {
  text-decoration: none; color: #475569;
  padding: 6px 0; position: relative;
  transition: color .15s ease;
}
.navlinks a:hover { color: var(--blue); }
.navlinks a[aria-current="page"] { color: var(--blue); }
.navlinks a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-decoration: none; color: #94a3b8;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 7px 11px; background: #fff;
  transition: border-color .15s ease, color .15s ease;
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }
.lang-switch .lang-current { color: var(--ink); }
.lang-switch .lang-sep { color: var(--line); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-sm); padding: 11px 16px;
  font-family: inherit; font-size: 13px; font-weight: 750; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 14px; }
.btn-sm { padding: 9px 14px; font-size: 12px; }

.btn.primary {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 8px 22px rgba(21, 101, 219, .22);
}
.btn.primary:hover { background: var(--blue-2); border-color: var(--blue-2); }

.btn.ghost { background: transparent; color: #fff; border-color: #47617e; }
.btn.ghost:hover { border-color: #7fb1ff; color: #fff; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 88px 0; }
.soft { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-kicker {
  font-size: 12px; color: var(--blue); font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; margin: 0 0 9px;
}
.section-title { font-size: clamp(30px, 4vw, 50px); line-height: 1.05; margin: 0 0 14px; }
.section-intro { max-width: 720px; color: var(--muted); margin: 0 0 38px; }
.muted { color: var(--muted); font-size: 14px; }

.textlink {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 750; color: var(--blue); text-decoration: none;
}
.textlink:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 54%, #103968 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 0;
}
.hero::before, .hero::after {
  content: ""; position: absolute;
  border: 1px solid rgba(21, 101, 219, .55);
  border-radius: 48% 52% 60% 40%;
  transform: rotate(-12deg);
  pointer-events: none;
}
.hero::before { width: 640px; height: 240px; right: -150px; top: 60px; }
.hero::after { width: 560px; height: 180px; right: -80px; top: 160px; }

.hero-inner {
  min-height: 560px; padding: 80px 0;
  display: grid; grid-template-columns: 1.25fr .75fr;
  align-items: center; gap: 48px;
  position: relative; z-index: 1;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .16em;
  font-weight: 800; color: #7fb1ff;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--blue); flex: none; }

/* Sized so each of the two headline lines stays unbroken at the widest layout. */
.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px); line-height: .98;
  margin: 0 0 22px; letter-spacing: -.05em; font-weight: 800;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--blue-light); }

.lead { font-size: 18px; color: #dbeafe; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.tagline {
  margin: 30px 0 0; font-size: 13px; letter-spacing: .17em;
  text-transform: uppercase; color: #e2e8f0;
}
.tagline b { color: #4aa0ff; }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px; padding: 26px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}
.hero-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hero-panel-item {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 18px;
  background: rgba(255, 255, 255, .04);
  position: relative;
}
.hero-panel-item .num {
  position: absolute; top: 14px; right: 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #72adff;
}
.hero-panel-item .icon { width: 30px; height: 30px; color: var(--blue-light); margin-bottom: 14px; }
.hero-panel-item strong { display: block; font-size: 12.5px; line-height: 1.35; color: #e6effb; font-weight: 650; }

.flowline {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 18px; font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: #cbd5e1;
}
.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #4aa0ff; box-shadow: 0 0 0 5px rgba(74, 160, 255, .13); flex: none;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #0f3057 100%);
  color: #fff; padding: 92px 0 84px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -140px; top: 40px;
  width: 560px; height: 200px;
  border: 1px solid rgba(21, 101, 219, .5);
  border-radius: 48% 52% 60% 40%; transform: rotate(-12deg);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 62px); line-height: 1;
  letter-spacing: -.045em; font-weight: 800; margin: 0 0 20px;
  max-width: 900px; position: relative;
}
.page-hero .lead { position: relative; }
.error-hero { padding: 110px 0 100px; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 20px; margin: 0 0 18px; }
.card h3 { font-size: 17px; margin: 0 0 8px; }

.card-icon { display: flex; flex-direction: column; }
.card-icon .icon { margin-bottom: 20px; }
/* Push the link to the card floor so it lines up across a row of cards. */
.card-icon .textlink { margin-top: auto; padding-top: 14px; }

.card-link { text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { border-color: var(--blue); transform: translateY(-2px); }

/* Icons */
.icon { display: block; width: 40px; height: 40px; color: var(--blue); flex: none; }
.icon svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.icon-check { width: 20px; height: 20px; stroke-width: 2; }

/* --------------------------------------------------------------------------
   Pipeline
   -------------------------------------------------------------------------- */

.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.pipe-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.pipe-step .icon { margin: 0 auto 14px; }
.pipe-step b { display: block; font-size: 14px; margin-bottom: 2px; }
.pipe-step small { color: var(--muted); font-size: 12.5px; }
.pipe-arrow { text-align: center; color: #94a3b8; font-size: 22px; line-height: 1; }

/* --------------------------------------------------------------------------
   Rules / principle blocks
   -------------------------------------------------------------------------- */

.rule { border-left: 3px solid var(--blue); padding: 6px 0 6px 20px; }
.rule h3 { font-size: 18px; margin: 0 0 8px; }
.rule p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Solutions
   -------------------------------------------------------------------------- */

.solution-list { display: grid; gap: 64px; }
.solution { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.solution-head .icon { width: 46px; height: 46px; margin-bottom: 20px; }
.solution-head h2 { font-size: 26px; letter-spacing: -.03em; line-height: 1.2; }
.solution-body > p { font-size: 17px; color: var(--slate); margin-bottom: 24px; }
.solution + .solution { border-top: 1px solid var(--line); padding-top: 64px; }

.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--slate); }
.checklist .icon { margin-top: 3px; }
.checklist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.product-list { display: grid; gap: 28px; }

.product {
  display: grid; grid-template-columns: 360px 1fr;
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}

.product-mast {
  background: linear-gradient(140deg, var(--navy) 0%, #102f56 100%);
  color: #fff; padding: 34px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.product-mast::after {
  content: ""; position: absolute; right: -90px; bottom: -40px;
  width: 300px; height: 120px;
  border: 1px solid rgba(21, 101, 219, .55);
  border-radius: 48% 52% 60% 40%; transform: rotate(-12deg);
  pointer-events: none;
}
.product-mast .icon { width: 44px; height: 44px; color: var(--blue-light); margin-bottom: 24px; }

.product-role {
  margin: 0 0 6px; font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #7fb1ff;
}
.product-role-light { color: var(--blue); }

.product-name { font-size: 34px; letter-spacing: -.04em; margin: 0; font-weight: 800; }
.product-name-sm { font-size: 22px; letter-spacing: -.03em; margin: 0 0 8px; }

.product-stage {
  margin: auto 0 0; padding-top: 28px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #cbd5e1; position: relative;
}
.product-stage .num { color: var(--blue-light); font-weight: 800; }

.product-body { padding: 34px 36px; }
.product-tagline { font-size: 21px; letter-spacing: -.02em; margin: 0 0 16px; line-height: 1.3; }
.product-body > p { color: var(--slate); font-size: 16px; max-width: 640px; }
.product-note {
  display: inline-block; margin: 6px 0 0;
  font-size: 13.5px; font-weight: 650; color: var(--blue);
  background: rgba(21, 101, 219, .07);
  border-radius: var(--r-sm); padding: 10px 14px;
}

.chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.chain-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.chain-step .icon { margin: 0 auto 14px; }
.chain-step b { display: block; font-size: 18px; letter-spacing: -.02em; margin-bottom: 3px; }
.chain-step small {
  color: var(--muted); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.chain-arrow { text-align: center; color: #94a3b8; font-size: 22px; line-height: 1; }
.chain-note {
  margin: 32px 0 0; max-width: 640px;
  font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--blue); padding-left: 18px;
}

/* --------------------------------------------------------------------------
   Workflow steps
   -------------------------------------------------------------------------- */

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 84px 1fr; gap: 28px; }
.step-marker { display: flex; flex-direction: column; align-items: center; }
.step-marker .icon {
  width: 64px; height: 64px; padding: 14px;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm);
}
.step-line { flex: 1; width: 1px; background: var(--line); margin: 12px 0; }
.step:last-child .step-line { display: none; }
.step-content { padding-bottom: 48px; }
.step-content h2 { font-size: 26px; margin: 0 0 12px; }
.step-content > p { color: var(--slate); max-width: 720px; }
.step-detail {
  display: inline-block; margin-top: 6px;
  font-size: 13.5px; font-weight: 650; color: var(--blue);
  background: rgba(21, 101, 219, .07);
  border-radius: var(--r-sm); padding: 10px 14px;
}
.step:last-child .step-content { padding-bottom: 0; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.story { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.story-aside img { width: 120px; }
.story-caption {
  margin-top: 20px; font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.story-body p { color: var(--slate); font-size: 17px; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #103968 100%);
  color: #fff; padding: 68px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 12px; }
.cta-inner p { color: #cbd5e1; max-width: 620px; margin: 0; }
.cta-inner .btn { flex: none; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: start; }
.form-title { font-size: 24px; margin: 0 0 6px; }

.notice { border-radius: var(--r); padding: 22px 24px; margin-bottom: 32px; }
.notice h2 { font-size: 18px; margin: 0 0 6px; }
.notice p { margin: 0; font-size: 14.5px; }
.notice-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.notice-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.contact-form { margin-top: 26px; display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 750; color: var(--slate); }
.field .req { color: var(--blue); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 219, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }

.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #dc2626; }
.field-error { margin: 0; font-size: 13px; color: #dc2626; font-weight: 600; }

.field-consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--slate); line-height: 1.5; cursor: pointer; }
.field-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }

/* Honeypot — off-screen rather than display:none so bots still see it. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form button[type="submit"] { justify-self: start; }
.contact-form button[disabled] { opacity: .65; cursor: progress; transform: none; }

.contact-aside { display: grid; gap: 24px; }
.detail-list { display: grid; gap: 22px; }
.detail-list li { display: flex; gap: 16px; align-items: flex-start; }
.detail-list .icon { width: 26px; height: 26px; margin-top: 2px; }
.detail-list span {
  display: block; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.detail-list strong, .detail-list a { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.detail-list a { color: var(--blue); text-decoration: none; word-break: break-word; }
.detail-list a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: #08131f; color: #94a3b8; padding: 66px 0 34px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .7fr; gap: 44px; }
.footer-brand .fa-logo { height: 34px; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; margin-bottom: 14px; }
.footer-tagline {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #4aa0ff;
}
.footer-col h2 {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #e2e8f0; margin: 0 0 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { text-decoration: none; transition: color .15s ease; }
.footer-col a:hover { color: #4aa0ff; }

.footer-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(226, 232, 240, .1);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 12.5px; color: #64748b;
}
.footer-flow { display: flex; align-items: center; gap: 10px; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 920px) {
  .navlinks {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: var(--shadow);
  }
  .navlinks.is-open { display: flex; }
  .navlinks a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .navlinks a:last-child { border-bottom: 0; }
  .navlinks a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .topbar { position: relative; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 0; min-height: 0; }
  .hero-card { max-width: 560px; }
  .hero::before, .hero::after { opacity: .5; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .solution { grid-template-columns: 1fr; gap: 24px; }
  .solution + .solution { padding-top: 48px; }
  .solution-list { gap: 48px; }
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story-aside { display: flex; align-items: center; gap: 20px; }
  .story-aside img { width: 76px; }
  .story-caption { margin-top: 0; }

  .pipeline, .chain { grid-template-columns: 1fr; }
  .pipe-arrow, .chain-arrow { transform: rotate(90deg); }

  .product { grid-template-columns: 1fr; }
  .product-mast { padding: 28px; }
  .product-mast .icon { margin-bottom: 18px; }
  .product-stage { padding-top: 20px; }
  .product-body { padding: 28px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  section { padding: 62px 0; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 62px 0 58px; }
  .hero-panel { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step-marker .icon { width: 48px; height: 48px; padding: 10px; }
  .lead { font-size: 16.5px; }
  .flowline { font-size: 10px; }
}

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

@media print {
  .topbar, .cta-band, .site-footer, .skip-link { display: none; }
  body { color: #000; }
  .hero, .page-hero { background: none; color: #000; }
}
