/* =========================================================
   Peltarix — marketing site
   Brand: logo blue #1080E8 / #0870D0 · logo navy #202838 · deep navy #0B1A2E
   Every text/background pair below clears WCAG AA (4.5:1); the sky tone
   --accent is decorative only (dots, rules, glows), never text on light.
   ========================================================= */

:root {
  --brand-950: #071120;
  --brand-900: #0A2E5C;
  --brand-800: #0A5AA8;
  --brand-700: #0870D0;
  --brand:     #1080E8;
  --brand-600: #2B8FF2;
  --brand-400: #6BB4F7;
  --brand-300: #9CCDFA;
  --brand-mist:#E6F0FC;

  --navy:     #0B1A2E;
  --navy-2:   #12304F;

  --paper:    #F8FAFC;
  --paper-2:  #F1F5F9;
  --white:    #ffffff;
  --ink:      #202838;
  --ink-soft: #475569;
  --ink-mute: #64748B;
  --line:     #DDE5EE;

  --accent:      #38BDF8;
  --accent-600:  #0284C7;
  --accent-300:  #7DD3FC;
  --accent-soft: rgba(56, 189, 248, .16);
  --amber:       #F59E0B;
  --amber-ink:   #B45309;

  --shadow-sm: 0 2px 8px rgba(11, 26, 46, .06);
  --shadow:    0 14px 40px rgba(11, 26, 46, .10);
  --shadow-lg: 0 30px 70px rgba(7, 17, 32, .18);
  --ring: 0 0 0 4px rgba(16, 128, 232, .35);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --container: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-display: "Space Grotesk", system-ui, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }

::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--brand-800); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  padding: 12px 22px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-700) 60%, var(--brand-800));
  color: #fff; box-shadow: 0 10px 24px rgba(8, 112, 208, .32);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(8, 112, 208, .44); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--brand-600));
  color: #06243F; box-shadow: 0 10px 24px rgba(56, 189, 248, .34);
}
.btn--accent:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(56, 189, 248, .48); }

.btn--ghost {
  background: rgba(255, 255, 255, .7);
  color: var(--brand-800);
  border: 1.5px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--brand-400); background: #fff; box-shadow: var(--shadow); }

.btn--nav {
  background: var(--brand-800); color: #fff;
  padding: 11px 20px; box-shadow: 0 8px 20px rgba(10, 90, 168, .28);
}
.btn--nav:hover { transform: translateY(-2px); background: var(--brand-900); box-shadow: 0 12px 26px rgba(10, 46, 92, .4); }

/* Navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
  background: rgba(248, 250, 252, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(248, 250, 252, .97);
  box-shadow: 0 8px 30px rgba(11, 26, 46, .08);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(100% - 44px, 1320px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}

/* Brand lockup: shield mark + the logo's own wordmark artwork, never re-typeset */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { height: 38px; width: auto; transition: height .3s var(--ease); }
.brand__word { height: 16px; width: auto; transition: height .3s var(--ease); }
.nav.is-scrolled .brand__mark { height: 32px; }
.nav.is-scrolled .brand__word { height: 14px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav__links > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links > a:hover { color: var(--brand-800); }
.nav__links > a:hover::after,
.nav__links > a.is-active::after { transform: scaleX(1); }
.nav__links > a.is-active { color: var(--brand-800); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__mobileActions { display: none; }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; }
.hamburger span {
  position: absolute; left: 10px; right: 10px; height: 2.4px; background: var(--brand-800);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .25s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 17, 32, .45); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s;
}
.nav__backdrop.is-show { opacity: 1; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand-800), var(--accent));
  z-index: 200; transition: width .1s linear;
}

/* HERO — visual on the left, copy on the right */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) 0 64px;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 12% -10%, rgba(56, 189, 248, .14), transparent 60%),
    radial-gradient(900px 500px at 95% 25%, rgba(8, 112, 208, .08), transparent 55%),
    var(--paper);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(8, 112, 208, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 112, 208, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 600px at 40% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 40% 30%, #000, transparent 75%);
}

.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .45; }
.blob--1 { width: 420px; height: 420px; top: -110px; left: -70px;
  background: radial-gradient(circle, rgba(56, 189, 248, .5), transparent 70%); }
.blob--2 { width: 340px; height: 340px; bottom: -80px; right: -40px;
  background: radial-gradient(circle, rgba(8, 112, 208, .22), transparent 70%); }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 52px; align-items: center;
}
/* fr tracks take min-content as their floor; without this the nowrap headline widens the column */
.hero__inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  padding: 7px 15px 7px 11px; border-radius: 100px;
  font-weight: 600; font-size: .86rem; color: var(--brand-800);
  box-shadow: var(--shadow-sm);
}
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(1.7rem, 3.3vw, 2.7rem);
  line-height: 1.14; letter-spacing: -.025em; color: var(--brand-950);
  margin: 20px 0 18px;
}
/* Both headline lines must stay unbroken; the vw term sizes them to the copy column */
.hero__title > span { display: block; white-space: nowrap; }
.hero__title .grad { font-weight: inherit; }
.grad {
  background: linear-gradient(100deg, var(--brand-800), var(--brand) 55%, var(--accent-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; color: var(--ink-mute); font-weight: 500; }
.hero__trust svg { color: var(--brand-700); flex: none; }

.hero__visual { position: relative; min-height: 0; }
.hero__figure {
  position: relative; z-index: 2;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid #1E3A5F;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.hero__figure img { width: 100%; height: auto; display: block; }

.panel {
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .95);
  border-radius: var(--r); box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.panel--chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  padding: 12px 16px;
}
.chip-a { top: 14px; right: -14px; }
.chip-b { bottom: 14px; left: -14px; }
.chip__ico {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(8, 112, 208, .12); color: var(--brand-700); font-weight: 700;
}
.chip__ico--accent { background: var(--accent-soft); color: var(--brand-800); }
.panel--chip b { display: block; font-size: .9rem; color: var(--brand-950); }
.panel--chip small { font-size: .76rem; color: var(--ink-mute); }

/* STATS */
.stats {
  background: linear-gradient(120deg, var(--navy), var(--brand-900) 55%, var(--brand-800));
  color: #fff; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 120%, rgba(56, 189, 248, .3), transparent 60%);
}
.stats__grid {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 40px 0; text-align: center;
}
.stat { position: relative; }
.stat::after { content: ""; position: absolute; right: -12px; top: 12%; height: 76%; width: 1px; background: rgba(255, 255, 255, .16); }
.stats__grid .stat:last-child::after { display: none; }
.stat__num {
  font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; display: block; letter-spacing: -.02em;
}
.stat__label { display: block; margin-top: 8px; font-size: .92rem; color: rgba(248, 250, 252, .8); }

/* Sections */
.section {
  padding: 28px 0 72px;
  position: relative;
  scroll-margin-top: var(--nav-h);
}
.section__head {
  max-width: 740px;
  margin: 0 auto 30px;
  text-align: center;
}
.kicker {
  display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-800); background: var(--brand-mist); padding: 6px 14px; border-radius: 100px; margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.14; color: var(--brand-950);
}
.section__sub { margin-top: 12px; font-size: 1.06rem; color: var(--ink-soft); }

/* FLOW */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow__line { position: absolute; top: 42px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-300) 0 10px, transparent 10px 20px); z-index: 0; }
.flow__step {
  position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 22px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.flow__step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.flow__ico {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-800));
  box-shadow: 0 10px 22px rgba(8, 112, 208, .3);
}
.flow__ico svg { width: 30px; height: 30px; }
.flow__step-no { font-family: var(--font-display); font-weight: 700; color: var(--brand-700); font-size: .82rem; letter-spacing: .12em; }
.flow__step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.24rem; color: var(--brand-900); margin: 4px 0 10px; }
.flow__step p { font-size: .95rem; color: var(--ink-soft); }

/* Deployment / three-up blocks */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.trio__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 22px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.trio__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.trio__item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--brand-900); margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.trio__item h3 svg { width: 20px; height: 20px; color: var(--brand-700); flex: none; }
.trio__item p { font-size: .95rem; color: var(--ink-soft); }

/* Copy-ready bullet list */
.claims { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin-top: 30px; }
.claims li { display: flex; gap: 11px; font-size: .97rem; color: var(--ink-soft); }
.claims svg { width: 19px; height: 19px; flex: none; margin-top: 4px; color: var(--brand-700); }
.claims b { color: var(--brand-950); font-weight: 600; }

/* FEATURE cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.card__ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
}
.card__ico svg { width: 26px; height: 26px; }
.card__ico--primary { background: rgba(8, 112, 208, .1); color: var(--brand-700); }
.card__ico--accent { background: var(--accent-soft); color: var(--brand-800); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--brand-900); margin-bottom: 8px; letter-spacing: -.01em; }
.card p { font-size: .96rem; color: var(--ink-soft); }

.features__more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.mini {
  display: flex; align-items: center; gap: 13px; padding: 16px 18px;
  background: linear-gradient(180deg, var(--brand-mist), rgba(248, 250, 252, .5));
  border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini__ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.mini__ico svg { width: 21px; height: 21px; }
.mini b { display: block; font-size: .95rem; color: var(--brand-900); }
.mini span { font-size: .83rem; color: var(--ink-mute); }

/* MODULES */
.modules { background: var(--paper-2); }
.flagship {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--brand-900));
  border-radius: var(--r-xl); padding: 38px 40px; color: rgba(248, 250, 252, .84);
  margin-bottom: 34px; position: relative; overflow: hidden;
}
.flagship::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 260px at 88% 8%, rgba(56, 189, 248, .22), transparent 62%);
}
.flagship > * { position: relative; z-index: 1; }
.flagship .kicker { background: rgba(56, 189, 248, .18); color: var(--accent-300); }
.flagship h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; letter-spacing: -.02em; margin-bottom: 12px; }
.flagship p { font-size: 1rem; }
.flagship p + p { margin-top: 12px; }
.shapes { display: flex; flex-wrap: wrap; gap: 9px; }
.shapes span {
  padding: 8px 14px; border-radius: 100px; font-size: .85rem; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
}

.modgrid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mod {
  padding: 11px 18px; border-radius: 100px; font-weight: 500; font-size: .92rem;
  color: var(--brand-900); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); position: relative; padding-left: 34px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, color .25s;
}
.mod::before {
  content: ""; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 2px; background: var(--brand);
}
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); color: var(--brand-950); }
.mod--lead {
  background: linear-gradient(135deg, var(--brand-800), var(--brand));
  color: #fff; border-color: transparent; padding-left: 18px;
}
.mod--lead::before { display: none; }
.mod--lead:hover { color: #fff; border-color: transparent; }

/* COMPLIANCE */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badge {
  display: grid; place-items: center; text-align: center; min-height: 78px; padding: 14px;
  flex: 0 1 calc((100% - 5 * 14px) / 6);
  max-width: calc((100% - 5 * 14px) / 6);
  box-sizing: border-box;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  font-weight: 600; font-size: .9rem; color: var(--brand-800);
  transition: transform .25s var(--ease), box-shadow .25s, color .25s, border-color .25s;
}
.badge:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow); color: var(--brand-700); border-color: var(--brand-300); }

/* Framework rectangles — 5 per row, so ten frameworks fill two clean rows */
.badges--std { margin-bottom: 12px; }
.badges--std .badge {
  flex: 0 1 calc((100% - 4 * 14px) / 5);
  max-width: calc((100% - 4 * 14px) / 5);
  min-height: 92px; gap: 5px; align-content: center; padding: 16px 12px;
}
.badge--std b { font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--brand-900); }
.badge--std small { font-size: .8rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.std-total { text-align: center; font-size: .95rem; color: var(--ink-mute); margin-bottom: 30px; }
.std-total b { color: var(--brand-900); font-weight: 600; font-variant-numeric: tabular-nums; }

.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-top: 30px; }
.promises li { display: flex; gap: 12px; font-size: .98rem; color: var(--ink-soft); }
.promises svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--brand-700); }
.promises b { color: var(--brand-950); font-weight: 600; }

.scope-note {
  margin: 26px auto 0; max-width: 780px; text-align: center;
  font-size: .93rem; color: var(--ink-mute);
  border-top: 1px solid var(--line); padding-top: 18px;
}

/* CTA */
.cta {
  position: relative; overflow: hidden; padding: 64px 0 80px;
  background: linear-gradient(135deg, var(--navy), var(--brand-900) 55%, var(--brand-800));
  color: #fff; text-align: center;
  scroll-margin-top: var(--nav-h);
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__inner { position: relative; z-index: 2; max-width: 760px; }
.cta__mark { height: 92px; width: auto; margin: 0 auto 22px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35)); }
.cta__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.14; letter-spacing: -.025em;
}
.cta__sub { margin: 14px auto 28px; font-size: 1.08rem; color: rgba(248, 250, 252, .8); max-width: 540px; }
.cta__form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.cta__form input {
  flex: 1; padding: 15px 20px; border-radius: 100px; border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1rem; font-family: inherit;
}
.cta__form input::placeholder { color: rgba(255, 255, 255, .62); }
.cta__form input:focus { background: rgba(255, 255, 255, .2); border-color: var(--accent); box-shadow: none; }
.cta__note { margin-top: 16px; font-size: .88rem; color: rgba(255, 255, 255, .74); }
.cta__note.is-ok { color: var(--accent-300); font-weight: 600; }
.cta__note.is-err { color: #FFC9A8; font-weight: 600; }
/* Contact details */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.office {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r); padding: 20px 22px;
}
.office h3 {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: #fff;
}
.office h3 svg { color: var(--accent); flex: none; }
.office address { font-style: normal; font-size: .95rem; line-height: 1.6; color: rgba(248, 250, 252, .78); }
.office__tel {
  display: inline-block; margin-top: 10px; font-weight: 600; font-size: .95rem; color: #fff;
  font-variant-numeric: tabular-nums;
  border-bottom: 2px solid rgba(56, 189, 248, .55); padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
.office__tel:hover { color: var(--accent-300); border-color: var(--accent); }

.reach { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 22px; }
.reach__item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .96rem; font-weight: 600; color: #fff;
  transition: color .2s;
}
.reach__item svg { color: var(--accent); flex: none; }
a.reach__item:hover { color: var(--accent-300); }
.reach__item--plain { font-weight: 500; color: rgba(248, 250, 252, .78); }

/* FOOTER */
.footer { background: var(--navy); color: rgba(248, 250, 252, .74); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .brand__mark { height: 40px; }
.footer .brand__word { height: 17px; }
.footer__brand p { margin: 16px 0 18px; font-size: .95rem; max-width: 350px; line-height: 1.7; }
.footer__mail { display: inline-flex; align-items: center; gap: 9px; margin: -4px 0 18px; font-size: .95rem; }
.footer__mail svg { color: var(--accent); flex: none; }
.footer__mail a { color: var(--accent-300); font-weight: 500; transition: color .2s; }
.footer__mail a:hover { color: #fff; }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--brand-700); transform: translateY(-3px); }
.footer__col h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: #fff; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: .94rem; color: rgba(248, 250, 252, .68); transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--accent-300); padding-left: 5px; }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.footer__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .86rem; }
.footer__legal { display: flex; align-items: center; gap: 18px; }
.footer__legal a { color: rgba(248, 250, 252, .68); transition: color .2s; }
.footer__legal a:hover { color: var(--accent-300); }

/* to-top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-700); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .25s;
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand-800); transform: translateY(-3px); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { max-width: 600px; margin-inline: auto; }
  .chip-a { right: 12px; }
  .chip-b { left: 12px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flagship { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .trio { grid-template-columns: 1fr; }
  .badge,
  .badges--std .badge {
    flex: 0 1 calc((100% - 3 * 14px) / 4);
    max-width: calc((100% - 3 * 14px) / 4);
  }
  .features__more { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: auto; left: auto;
    width: min(86vw, 340px); height: 100vh; height: 100dvh; z-index: 120;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: var(--paper-2); padding: calc(var(--nav-h) + 16px) 22px 30px;
    transform: translateX(105%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(7, 17, 32, .2); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; }
  .nav__links > a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links > a::after { display: none; }
  .nav__mobileActions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
  .nav__mobileActions .btn { justify-content: center; }
  .nav__actions .btn--nav { display: none; }
  .hamburger { display: block; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat:nth-child(2)::after { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__line { display: none; }
  .claims, .promises { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  /* below this the one-line headline would have to shrink past readable — let it wrap */
  .hero__title > span { white-space: normal; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px; }
  .cards { grid-template-columns: 1fr; }
  .features__more { grid-template-columns: 1fr; }
  .badge,
  .badges--std .badge {
    flex: 0 1 calc((100% - 14px) / 2);
    max-width: calc((100% - 14px) / 2);
  }
  .flow { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bar-in { flex-direction: column; text-align: center; }
  .cta__form { flex-direction: column; }
  .cta__form .btn { justify-content: center; }
  .offices { grid-template-columns: 1fr; }
  .panel--chip { display: none; }
  .brand__mark { height: 32px; }
  .brand__word { height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Deep-content blocks — coverage map, feature catalogue,
   module detail, integrations, posture, comparison, proof
   ========================================================= */

.band--alt { background: var(--paper-2); }

/* In-section subheading, so one <h2> can carry several content blocks */
.subhead { max-width: 780px; margin: 54px auto 24px; text-align: center; }
.subhead h3 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; color: var(--brand-950);
}
.subhead p { margin-top: 9px; font-size: .98rem; color: var(--ink-soft); }

/* One table style, reused by every data block on the page */
.tbl-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.tbl { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th {
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--brand-800); background: var(--brand-mist); border-bottom-color: var(--brand-300);
}
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover { background: rgba(230, 240, 252, .5); }
.tbl td { color: var(--ink-soft); }
.tbl td:first-child { color: var(--brand-950); font-weight: 600; }
.tbl td b { color: var(--brand-950); font-weight: 600; }
.tbl .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand-800); white-space: nowrap; }
.tbl code { font-size: .88em; background: var(--paper-2); padding: 1px 6px; border-radius: 5px; color: var(--brand-800); }
/* the "common alternative" column is the foil, not the claim */
.tbl--versus td:first-child { color: var(--ink-mute); font-weight: 500; }
.tbl--versus td + td { color: var(--ink-soft); }

/* Capability / module cards with their own bullet lists */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catalog--2 { grid-template-columns: repeat(2, 1fr); }
.cat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 22px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.cat h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  color: var(--brand-900); letter-spacing: -.01em; margin-bottom: 14px;
}
.cat h4::after {
  content: ""; display: block; width: 36px; height: 3px; margin-top: 10px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.cat > p { font-size: .95rem; color: var(--ink-soft); }
.tick li { position: relative; padding-left: 19px; font-size: .93rem; color: var(--ink-soft); margin-bottom: 9px; }
.tick li:last-child { margin-bottom: 0; }
.tick li::before {
  content: ""; position: absolute; left: 1px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand-400);
}
.tick b { color: var(--brand-950); font-weight: 600; }
.tick code { font-size: .88em; background: var(--paper-2); padding: 1px 5px; border-radius: 5px; color: var(--brand-800); }

/* Numbered onboarding steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li {
  counter-increment: s; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; font-size: .93rem; color: var(--ink-soft);
}
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 30px; height: 30px; margin-bottom: 12px; border-radius: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-800));
}
.steps b { display: block; color: var(--brand-950); font-weight: 600; margin-bottom: 4px; }

/* Persona cards (reuse .card) */
.persona__role {
  display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-700); margin-bottom: 7px;
}
.persona__quote {
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line);
  font-size: .93rem; font-weight: 600; font-style: italic; color: var(--brand-800);
}

/* Wall of counted proof numbers */
.proof { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.proof div {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 12px; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.proof div:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.proof b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em;
  color: var(--brand-800); font-variant-numeric: tabular-nums;
}
.proof span { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.4; color: var(--ink-mute); }

/* Inline code in prose */
.section__sub code, .claims code {
  font-size: .88em; background: var(--brand-mist); padding: 1px 6px; border-radius: 5px; color: var(--brand-800);
}

@media (max-width: 1024px) {
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .catalog, .catalog--2, .steps { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .subhead { margin-top: 40px; }
  .tbl th, .tbl td { padding: 11px 14px; }
}

/* =========================================================
   Progressive disclosure — detail lives behind a click, so
   the scanning reader is never asked to read a spec sheet
   ========================================================= */

.acc { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.acc details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.acc details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 15px 20px; transition: background .2s;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--brand-900);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; margin-left: auto; flex: none; width: 9px; height: 9px;
  border-right: 2.2px solid var(--brand-700); border-bottom: 2.2px solid var(--brand-700);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease);
}
.acc details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.acc summary:hover { background: var(--brand-mist); }
.acc .tick { padding: 2px 22px 18px; }

/* Grid variants */
.proof--4 { grid-template-columns: repeat(4, 1fr); }
.catalog--5 { grid-template-columns: repeat(5, 1fr); }
.catalog--5 .cat { padding: 20px 18px; }
.catalog--5 .cat h4 { font-size: 1rem; margin-bottom: 12px; }
.catalog--5 .cat > p { font-size: .89rem; }

@media (max-width: 1024px) {
  .proof--4 { grid-template-columns: repeat(2, 1fr); }
  .catalog--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .catalog--5 { grid-template-columns: repeat(2, 1fr); }
  .acc summary { font-size: .96rem; padding: 14px 16px; }
  .acc .tick { padding: 2px 18px 16px; }
}

/* Feature cards — icon and title share a line, body spans underneath.
   Scoped to .features so the icon-less persona cards keep the stacked layout. */
.features .cards { gap: 18px; }
.features .card {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 13px; row-gap: 9px; padding: 20px;
}
.features .card__ico {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 0;
}
.features .card__ico svg { width: 22px; height: 22px; }
.features .card h3 { margin-bottom: 0; font-size: 1.05rem; line-height: 1.25; }
.features .card p { grid-column: 1 / -1; font-size: .92rem; }

@media (max-width: 600px) {
  .features .card { padding: 18px; }
}
