/* Nexion Software Solutions — site styles */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --text-2: #3A4558;
  --muted: #4B5567;
  --link-ink: #2A3446;
  --line: #D5DBE4;
  --line-2: #AEB8C8;
  --chip: #EEF2F7;
  --accent: #1D4ED8;
  --accent-hover: #1E3A8A;
  --sky: #38BDF8;
  --sky-soft: #7DD3FC;
  --night: #0B111D;
  --night-2: #0A1120;
  --navy: #0B1220;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul.plain, ol.plain { padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg);
}
.skip-link:focus { top: 12px; color: var(--bg); }

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

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Typography helpers ---------- */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--muted); }
.mono { font-family: var(--mono); }
.balance { text-wrap: balance; }
.accent { color: var(--accent); }

.h1-hero { font-size: clamp(2.75rem, 1.1rem + 6.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.035em; }
.h1-page { font-size: clamp(2.5rem, 1.25rem + 4.9vw, 4.75rem); letter-spacing: -0.035em; }
.h1-contact { font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.25rem); letter-spacing: -0.035em; }
.h2-xl { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); }
.h2-lg { font-size: clamp(2.1rem, 1.35rem + 3vw, 3.5rem); line-height: 1.02; }
.h2-md { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); line-height: 1.02; }
.h2-sm { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.625rem); line-height: 1.05; letter-spacing: -0.025em; }
.h2-xs { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.025em; }
.h-card { font-size: clamp(1.75rem, 1.5rem + 0.9vw, 2.125rem); line-height: 1.05; letter-spacing: -0.02em; }
.h-step { font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }

.lede-xl { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
.lede { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--text-2); }
.lede-18 { font-size: 18px; color: var(--text-2); }
.sub { font-size: 17px; color: var(--muted); max-width: 30em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 600; cursor: pointer; border: 0;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--ink); min-height: 46px; padding: 0 22px; }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }
.btn-sky { background: var(--sky); color: #04111D; min-height: 48px; padding: 0 22px; }
.btn-sky:hover { background: var(--sky-soft); color: #04111D; }
.btn-ghost-dark { border: 1px solid #2B3A52; color: #E5EBF4; font-weight: 500; min-height: 48px; padding: 0 22px; }
.btn-ghost-dark:hover { border-color: var(--sky-soft); color: #FFFFFF; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tag {
  padding: 4px 12px; border-radius: 999px; background: var(--chip);
  font-family: var(--mono); font-size: 12.5px; color: var(--link-ink);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Header / nav ---------- */
.site-nav {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); min-height: 80px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); }

.nav-menu { display: contents; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15.5px; }
.nav-links a { color: var(--link-ink); padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 15px;
}
.nav-cta:hover { background: #1F2A3D; color: var(--bg); }
.nav-cta[aria-current="page"] { background: var(--accent); color: #FFFFFF; font-weight: 600; }

.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #FFFFFF; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.nav-toggle-icon { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle-icon::before, .nav-toggle-icon::after, .nav-toggle-icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon span { top: 5px; }
.nav-toggle-icon::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { bottom: 5px; transform: rotate(-45deg); }

@media (max-width: 800px) {
  .site-nav { min-height: 72px; gap: 12px 16px; }
  .js .nav-toggle { display: inline-flex; }
  .nav-menu { display: flex; flex-direction: column; width: 100%; gap: 12px; padding-bottom: 16px; }
  .js .nav-menu { display: none; }
  .js .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; font-size: 17px; border-top: 1px solid var(--line); }
  .nav-links a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav-cta { min-height: 48px; }
}

/* Phone: number beside Start a project on desktop, call button beside Menu on mobile. */
.nav-end { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--link-ink); font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.nav-phone svg, .footer-phone svg { color: var(--accent); flex: 0 0 auto; }
.nav-phone:hover { color: var(--ink); }
.nav-call { display: none; }
.footer-links .footer-phone { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 800px) {
  .nav-end { flex-direction: column; align-items: stretch; gap: 12px; }
  .js .nav-end .nav-phone { display: none; }
  .js .nav-call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 999px; background: #FFFFFF; color: var(--accent); }
}
@media (min-width: 801px) and (max-width: 1100px) { .nav-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 420px) {
  .site-nav { column-gap: 8px; }
  .js .nav-toggle { padding: 0 14px; }
}
@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .brand-sub { letter-spacing: 0.08em; }
  .js .nav-call { width: 40px; height: 40px; }
  .js .nav-toggle { font-size: 0; gap: 0; padding: 0 11px; min-height: 40px; }
}

/* ---------- Sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-stack { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-top { border-top: 1px solid var(--line); }
.band-navy { background: var(--navy); color: #E5EBF4; }
.band-navy .display { color: #F8FAFC; }

/* ---------- Home: hero ---------- */
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .lede-xl { max-width: 31em; }

.ndiagram { flex: 2 1 400px; position: relative; height: 460px; min-width: 300px; }
.ndiagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nd-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg);
  border: 5px solid var(--sky); box-shadow: 0 0 0 8px var(--bg);
}
.nd-node.is-filled { background: var(--sky); }
.nd-label {
  position: absolute; transform: translateX(-50%); white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--link-ink);
}
.nd-l { left: 20%; }
.nd-r { left: 80%; }
.nd-node.nd-t { top: 13%; }
.nd-node.nd-b { top: 87%; }
.nd-label.nd-t { top: calc(13% - 62px); }
.nd-label.nd-b { top: calc(87% + 36px); }

@media (max-width: 800px) {
  .hero { padding-top: 40px; padding-bottom: 72px; gap: 64px; }
  .ndiagram { min-width: 0; height: 380px; }
}

/* ---------- Product cards ---------- */
.cards-row { display: flex; flex-wrap: wrap; gap: 24px; }
.ih-card {
  flex: 2 1 620px; min-width: 0; display: flex; flex-wrap: wrap;
  border-radius: 20px; overflow: hidden; background: var(--night); color: #E5EBF4;
}
.ih-card:hover { color: #E5EBF4; }
.ih-card:hover .ih-more { color: #FFFFFF; }
.ih-card-copy { flex: 1 1 320px; padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.ih-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--sky-soft); }
.ih-name { font-family: var(--display); font-weight: 700; font-size: clamp(2.25rem, 1.9rem + 1.4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; color: #F8FAFC; }
.ih-text { font-size: 17px; color: #B6C2D4; }
.ih-more { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--sky-soft); }
.ih-shot { flex: 1 1 300px; min-width: 0; display: flex; align-items: center; padding: 24px; background: var(--night-2); }
.ih-shot img {
  display: block; width: 100%; height: auto; border-radius: 10px;
  border: 1px solid #22304A; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.ih-shot picture { display: block; width: 100%; }

.card-dashed {
  border: 1.5px dashed var(--line-2); border-radius: 20px; padding: 40px 36px;
  display: flex; flex-direction: column; gap: 14px; min-height: 260px;
}
.card-dark {
  border-radius: 20px; padding: 40px 36px; display: flex; flex-direction: column; gap: 16px;
  background: var(--navy); color: #E5EBF4; min-height: 260px;
}
.card-dark .display { color: #F8FAFC; }
.card-dark p { font-size: 16px; color: #B6C2D4; max-width: 40em; }
.card-dark .btn { margin-top: auto; align-self: flex-start; }
.kicker-sky { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--sky-soft); }

/* ---------- Secondary product cards (home + products page) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.prod-card .pill { border-color: var(--line-2); color: var(--muted); }
.prod-card .pill-live { color: #047857; border-color: #6EE7B7; }
.prod-card h2, .prod-card h3 { font-size: clamp(1.75rem, 1.5rem + 0.9vw, 2.125rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.prod-card > p { font-size: 17px; color: var(--text-2); max-width: 34em; }
.prod-points { display: grid; gap: 12px; }
.prod-points li { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.prod-points strong { font-weight: 600; font-size: 16px; color: var(--ink); }
.prod-points span { font-size: 15px; color: var(--muted); }
.prod-card .prod-note { font-size: 14.5px; color: var(--muted); }
.prod-card .btn-row { margin-top: auto; padding-top: 8px; }
.prod-card .more-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent); }
.prod-card .more-link:hover { color: var(--accent-hover); }
.prod-card .btn-primary, .prod-card .btn-outline { min-height: 46px; padding: 0 22px; }
.more-products { padding-top: 24px; }
.cards-row + .prod-grid { margin-top: 24px; }
.more-products .section-head { margin-bottom: 28px; }
/* Home: energy products sit in a smaller row under the IncidentHub card */
.row-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); }
.row-label + .prod-grid { margin-top: -28px; }
.prod-grid-sm .prod-card { padding: 28px; gap: 12px; }
.prod-grid-sm .prod-card h3 { font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem); }
.prod-grid-sm .prod-card > p { font-size: 16px; }

/* ---------- Home: services list ---------- */
.svc-list li { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.svc-num { flex: 0 0 64px; font-family: var(--mono); font-size: 14px; color: var(--accent); padding-top: 10px; }
.svc-name {
  flex: 1 1 300px; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.75rem, 1.5rem + 0.9vw, 2.125rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink);
}
.svc-body { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.svc-body > p { font-size: 17px; color: var(--text-2); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 3px solid var(--ink); }
.step-when { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.step p { font-size: 16px; color: var(--text-2); }

/* ---------- Home: about band ---------- */
.about-band { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px 96px; }
.about-band h2 { flex: 1 1 420px; }
.about-band-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.about-band-body > p { font-size: 18px; color: #C2CCDA; }
.principles-list { display: flex; flex-direction: column; gap: 20px; }
.principles-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 2px solid var(--sky); }
.principles-list strong { font-weight: 600; font-size: 17px; color: #F8FAFC; }
.principles-list span { font-size: 16px; color: #A9B6C9; }

/* ---------- Forms ---------- */
.contact-split { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px 96px; }
.contact-split-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-split-copy .lede-18 { max-width: 26em; }
.contact-facts { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; font-size: 16px; color: var(--text-2); }
.contact-facts strong { font-weight: 600; color: var(--ink); }

.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
}
.form-home { flex: 1 1 460px; min-width: 0; }
.form-contact { flex: 1.3 1 520px; min-width: 0; gap: 20px; border-radius: 24px; padding: 36px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px;
  font: inherit; color: var(--ink); background: #F8FAFC; width: 100%;
}
.form-contact .field input, .form-contact .field select { min-height: 48px; }
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.form .btn { grid-column: 1 / -1; justify-self: start; padding: 0 28px; }
.form-contact .btn { min-height: 52px; padding: 0 30px; }
.form-status { grid-column: 1 / -1; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; border-radius: 12px; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.form-status.is-error { padding: 14px 16px; border-radius: 12px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .form, .form-contact { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .form .btn { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 16px 40px; font-size: 14.5px; color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--link-ink); padding: 4px 0; }
.footer-links a:hover { color: var(--accent); }

/* ---------- Page intros ---------- */
.intro { padding-top: 64px; display: flex; flex-direction: column; gap: 22px; }
.intro-split { padding-top: 64px; display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-end; }
.intro-split-main { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.intro-split-side { flex: 2 1 380px; min-width: 0; }

/* ---------- Products page ---------- */
.products-intro { padding-bottom: 56px; }
.products-intro h1 { max-width: 14em; }
.products-intro .lede { max-width: 36em; }
.flagship-wrap { padding-bottom: 40px; }
.flagship { display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden; background: var(--night); color: #E5EBF4; }
.flagship-copy { flex: 1 1 460px; min-width: 0; padding: 52px 48px; display: flex; flex-direction: column; gap: 20px; }
.flagship-copy h2 { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); color: #F8FAFC; }
.flagship-copy > p { font-size: 18px; color: #B6C2D4; max-width: 30em; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 4px 12px; border-radius: 999px; border: 1px solid #2B3A52;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: #A9B6C9;
}
.pill-sky { color: var(--sky-soft); }
.pill-live { color: #6EE7B7; }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.parts li { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid #22304A; }
.parts strong { font-weight: 600; font-size: 16px; color: #F1F5F9; }
.parts span { font-size: 14.5px; color: #A9B6C9; }
.flagship-copy .btn-row { padding-top: 8px; }
.flagship .ih-shot { flex: 1 1 380px; padding: 28px; }
.pipeline { padding-top: 24px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

/* ---------- Services page ---------- */
.services-intro { padding-bottom: 72px; }
.services-intro .lede { max-width: 30em; }
.jump-links { padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.jump-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid #C9D1DD; background: #FFFFFF; color: var(--link-ink); font-size: 15px;
}
.jump-links a:hover { border-color: var(--accent); color: var(--ink); }
.jump-links .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.svc-blocks { padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; }
.svc-block { display: flex; flex-wrap: wrap; gap: 28px 64px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.svc-block-head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-block-head .svc-num { padding-top: 0; }
.svc-block-head > p { font-size: 17.5px; color: var(--text-2); }
.svc-block-head .tags { padding-top: 6px; }
.svc-block-body { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.svc-col { display: flex; flex-direction: column; gap: 12px; }
.svc-col .svc-label { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); }
.svc-col p { font-size: 16px; color: var(--link-ink); }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 16px; color: var(--link-ink); }
.checks svg { flex: 0 0 18px; margin-top: 4px; }
.proof {
  grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px;
  border-radius: 16px; background: var(--night); color: #E5EBF4;
}
.proof p { font-size: 16px; color: #C9D3E1; }
.cta-split { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: space-between; }
.cta-split h2 { flex: 2 1 520px; min-width: 0; }
.cta-split-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cta-split-body .btn { align-self: flex-start; padding: 0 26px; }

/* ---------- About page ---------- */
.about-intro { padding-bottom: 88px; gap: 40px 96px; }
.about-intro .intro-split-side { display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--text-2); }
.about-principles h2 { max-width: 16em; }
.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 48px; }
.principle { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--sky); }
.principle .n { font-family: var(--mono); font-size: 13px; color: var(--sky-soft); }
.principle .h-step { color: #F8FAFC; }
.principle p { font-size: 16.5px; color: #B6C2D4; }
.details { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 40px 96px; }
.details h2 { flex: 1 1 320px; }
.details dl { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: minmax(160px, auto) 1fr; gap: 14px 32px; font-size: 16.5px; }
.details dt { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); padding-top: 3px; }
@media (max-width: 560px) {
  .details dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .details dd { margin-bottom: 14px; }
}

/* ---------- Contact page ---------- */
.contact-page { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px 88px; }
.contact-left { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.contact-left-head { display: flex; flex-direction: column; gap: 20px; }
.contact-left-head .lede { max-width: 26em; }
.channels { border-top: 1px solid var(--line); }
.channels li { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.channels .label { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; color: var(--muted); }
.channels .value { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; }
.channels a.value:hover { color: var(--accent); }
.channels .note { font-size: 15px; color: var(--muted); }
.aside-note {
  display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line);
}
.aside-note svg { flex: 0 0 22px; margin-top: 2px; }
.aside-note div { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-2); }
.aside-note strong { font-weight: 600; color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { padding-top: 64px; padding-bottom: 96px; }
.legal-head { display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; border-bottom: 1px solid var(--line); max-width: 46rem; }
.legal-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.prose { max-width: 46rem; padding-top: 40px; color: var(--text-2); }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin: 48px 0 14px; }
.prose h3 { font-weight: 600; font-size: 18px; color: var(--ink); margin: 28px 0 8px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.callout { padding: 18px 20px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); margin: 0 0 14px; }

/* ---------- 404 ---------- */
.notfound { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- Mobile spacing ---------- */
@media (max-width: 800px) {
  :root { --gutter: 20px; }
  .section, .cta-split { padding-top: 72px; padding-bottom: 72px; }
  .about-band, .contact-split { padding-top: 80px; padding-bottom: 80px; }
  .details { padding-top: 64px; padding-bottom: 64px; }
  .ih-card-copy { padding: 32px 24px; }
  .flagship-copy { padding: 36px 24px; }
  .card-dashed, .card-dark { padding: 32px 24px; }
  .pipeline { grid-template-columns: minmax(0, 1fr); padding-bottom: 72px; }
  .svc-block { padding: 44px 0; }
  .svc-list li { gap: 8px 24px; padding: 28px 0; }
  .svc-num { flex-basis: 100%; padding-top: 0; }
  .intro, .intro-split, .contact-page, .legal { padding-top: 40px; }
}

/* ---------- Partners ---------- */
.partner { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.partner p { margin: 0; color: var(--text-2); }
.partner-role { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.partner-note { padding-top: 72px; display: flex; flex-direction: column; gap: 10px; }
.partner-note p { margin: 0; }
.partner-link { align-self: flex-start; margin-top: 4px; font-weight: 500; }
.band-navy a:not(.btn) { color: #93C5FD; text-decoration: underline; text-underline-offset: 3px; }
.band-navy a:not(.btn):hover { color: #F8FAFC; }
