/* ==========================================================================
   Entrigna, Inc. — entrigna.com
   Design system
   ========================================================================== */

:root {
  /* ---- Brand, sampled from the logo ---- */
  --blue:       #3C5A8C;
  --blue-d:     #2C4570;
  --blue-l:     #EAF0F8;
  --teal:       #45A18D;
  --teal-d:     #33806F;
  --teal-l:     #E6F4F0;
  --pale:       #A8BCC7;

  /* ---- Dark surfaces ---- */
  --d1:         #0C1728;   /* deepest */
  --d2:         #122240;
  --d3:         #1B3157;
  --d-text:     #B9CBE2;
  --d-dim:      #8DA3C0;
  --d-line:     rgba(255,255,255,.10);

  /* ---- Bright accents for dark backgrounds ---- */
  --teal-br:    #5FD3B8;
  --blue-br:    #7FB0F0;

  /* ---- Light surfaces ---- */
  --ink:        #16243D;
  --ink-2:      #26385C;
  --slate:      #52627C;
  --slate-2:    #77869C;
  --bg:         #FFFFFF;
  --soft:       #F4F7FB;
  --soft-2:     #EAF0F7;
  --line:       #E1E8F2;
  --line-str:   #CAD6E5;

  /* ---- Type ---- */
  --font:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);

  /* ---- Shape ---- */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --sh-sm: 0 1px 2px rgba(22,36,61,.06), 0 1px 3px rgba(22,36,61,.05);
  --sh:    0 4px 8px -2px rgba(22,36,61,.08), 0 2px 4px -2px rgba(22,36,61,.05);
  --sh-lg: 0 18px 40px -14px rgba(22,36,61,.20), 0 6px 14px -6px rgba(22,36,61,.08);
  --sh-xl: 0 40px 90px -30px rgba(12,23,40,.55);

  --grad: linear-gradient(96deg, var(--teal) 0%, var(--blue) 100%);
  --grad-br: linear-gradient(96deg, #6FE3C4 0%, #8FB8F5 100%);

  --maxw: 1200px;
  --nav-h: 84px;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 .55em;
  letter-spacing: -.028em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 1.7rem + 3.3vw, 4.2rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.9rem); letter-spacing: -.034em; }
h3 { font-size: 1.22rem; letter-spacing: -.02em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--blue-d); }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--d1); color: #fff; padding: .8rem 1.3rem; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }

.section { position: relative; padding: clamp(72px, 8.5vw, 118px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--soft { background: var(--soft); }

/* dark sections */
.section--dark {
  background: var(--d1);
  color: var(--d-text);
  overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--d-text); }
.section--dark .muted { color: var(--d-dim); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal-d); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}
.section--dark .eyebrow { color: var(--teal-br); }
.center .eyebrow::before { display: none; }

.lead { font-size: 1.16rem; color: var(--slate); }
.section--dark .lead { color: var(--d-text); }

.grid { display: grid; gap: 26px; }
.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)); }

.text-center { text-align: center; }
.muted { color: var(--slate-2); }
.small { font-size: .88rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--dark .grad-text, .hero .grad-text { background-image: var(--grad-br); }

/* ------------------------------------------------------- motion primitives */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.22,.7,.3,1), transform .75s cubic-bezier(.22,.7,.3,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@keyframes float-slow {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(3%, -4%, 0) scale(1.08); }
}
@keyframes grid-pan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 64px 64px, 64px 64px; }
}
@keyframes dash-flow { to { stroke-dashoffset: -220; } }
@keyframes pulse-dot {
  0%,100% { opacity: .35; transform: scale(.85); }
  50%     { opacity: 1;   transform: scale(1.15); }
}
@keyframes marquee-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bar-rise { from { transform: scaleY(.15); } to { transform: scaleY(1); } }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font); font-size: .97rem; font-weight: 650; line-height: 1;
  padding: 16px 28px; border-radius: var(--r-sm);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease, filter .18s ease;
}
.btn svg { flex: none; transition: transform .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(60,90,140,.65);
}
.btn--primary:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 14px 30px -10px rgba(69,161,141,.6); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-str); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--slate-2); }

.btn--glass {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.45); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); box-shadow: var(--sh-lg); }

.btn--sm { padding: 11px 19px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; font-size: .95rem; color: var(--blue);
}
.arrow-link svg { transition: transform .18s ease; }
.arrow-link:hover svg { transform: translateX(4px); }
.section--dark .arrow-link { color: var(--teal-br); }
.section--dark .arrow-link:hover { color: #8FEBD3; }

/* -------------------------------------------- incident-response bar */
.alert-bar {
  background: linear-gradient(90deg, #7A1F1A 0%, #A02B22 55%, #7A1F1A 100%);
  color: #FFE7E4;
  font-size: .86rem;
  position: relative; z-index: 130;
}
.alert-bar .wrap {
  display: flex; align-items: center; justify-content: center; gap: 8px 18px;
  padding: 9px 26px; flex-wrap: wrap; text-align: center;
}
.alert-bar b { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.alert-bar .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #FF8A7A;
  box-shadow: 0 0 0 0 rgba(255,138,122,.8); animation: ring 2s ease-out infinite;
}
.alert-bar a {
  color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.45);
}
.alert-bar a:hover { color: #fff; text-decoration-color: #fff; }
@keyframes ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,138,122,.75); }
  70%  { box-shadow: 0 0 0 10px rgba(255,138,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,122,0); }
}

/* ------------------------------------------------- coming-soon promo bar */
.promo-bar {
  position: relative; z-index: 129; overflow: hidden;
  background: linear-gradient(90deg, #101B36 0%, #1A2C57 48%, #101B36 100%);
  border-bottom: 1px solid rgba(127,176,240,.22);
}
/* shimmer sweep */
.promo-bar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(127,176,240,.18) 50%, transparent 62%);
  transform: translateX(-100%);
  animation: promo-sweep 5.5s ease-in-out infinite;
}
@keyframes promo-sweep {
  0%, 62% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}

.promo-bar .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 16px; flex-wrap: wrap; text-align: center;
  padding: 9px 26px; position: relative; z-index: 1;
  color: #D7E4F7; font-size: .88rem;
}
.promo-bar a.promo-link { color: inherit; display: contents; }

.promo-pill {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: 4px 11px; border-radius: 100px;
  background: rgba(95,211,184,.16); border: 1px solid rgba(95,211,184,.42);
  color: #6FE3C4; font-size: .66rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  animation: promo-flash 1.6s steps(1, end) infinite;
}
@keyframes promo-flash {
  0%, 55%  { opacity: 1;   box-shadow: 0 0 14px -2px rgba(95,211,184,.55); }
  56%, 100% { opacity: .38; box-shadow: 0 0 0 0 rgba(95,211,184,0); }
}

.promo-logo { height: 26px; width: auto; flex: none; }

.promo-text { font-weight: 600; color: #EAF2FD; }
.promo-text em { font-style: normal; color: #9FBEE6; font-weight: 500; }

.promo-cta {
  display: inline-flex; align-items: center; gap: .35rem; flex: none;
  font-weight: 700; color: #E3B261; white-space: nowrap;   /* QuSafe gold */
}
.promo-cta svg { transition: transform .18s ease; }
.promo-bar:hover .promo-cta { color: #F2CE8C; }
.promo-bar:hover .promo-cta svg { transform: translateX(3px); }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: var(--d1);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 34px -20px rgba(0,0,0,.95);
}
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 50px; width: auto; display: block; transition: opacity .2s ease; }
.brand:hover .brand-logo { opacity: .85; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links > li > a {
  position: relative; display: block; padding: 9px 15px; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 550; color: #C5D5E8;
  transition: color .16s ease, background-color .16s ease;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links > li > a[aria-current="page"] { color: #fff; }
.nav-links > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad-br);
}
.nav-links .nav-mobile-cta { display: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm); padding: 10px; cursor: pointer; color: #fff;
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--d1);
  color: var(--d-text);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {                       /* moving grid */
  content: ""; position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(127,176,240,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,176,240,.075) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(950px 620px at 62% 34%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(950px 620px at 62% 34%, #000 0%, transparent 74%);
  animation: grid-pan 22s linear infinite;
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb--teal {
  width: 620px; height: 620px; right: -8%; top: -22%;
  background: radial-gradient(circle, rgba(69,161,141,.72), transparent 66%);
  animation: float-slow 17s ease-in-out infinite;
}
.orb--blue {
  width: 700px; height: 700px; left: -16%; bottom: -34%;
  background: radial-gradient(circle, rgba(60,110,190,.62), transparent 66%);
  animation: float-slow 21s ease-in-out infinite reverse;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  padding: clamp(64px, 8vw, 116px) 0 clamp(72px, 9vw, 124px);
}
.hero h1 {
  color: #fff; margin-bottom: .38em;
  font-size: clamp(2.3rem, 1.5rem + 2.7vw, 3.7rem);
}
.hero .lead { font-size: 1.2rem; max-width: 44ch; color: #B9CBE2; }
.hero .btn-row { margin-top: 36px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 8px 16px 8px 10px; border-radius: 100px; margin-bottom: 26px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .82rem; font-weight: 600; color: #D5E3F5;
  backdrop-filter: blur(8px);
}
.hero-badge b {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: 3px 9px; border-radius: 100px;
  background: rgba(95,211,184,.18); color: var(--teal-br);
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-br);
  animation: pulse-dot 1.9s ease-in-out infinite;
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--d-line);
  font-size: .87rem; font-weight: 600; color: var(--d-dim);
}
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { color: var(--teal-br); flex: none; }

/* --------------------------------------------------- console (hero mock) */
.console {
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(168deg, rgba(27,49,87,.92), rgba(12,23,40,.96));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--sh-xl);
  backdrop-filter: blur(6px);
}
.console-top {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid var(--d-line); background: rgba(255,255,255,.04);
}
.console-top .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.console-title {
  margin-left: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--d-dim);
}
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-br); }
.console-body { padding: 20px; }

.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-bottom: 18px; }
.kpi {
  padding: 13px 12px; border-radius: var(--r); text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
}
.kpi b {
  display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700;
  color: #fff; letter-spacing: -.03em; line-height: 1.2;
}
.kpi small { font-size: .68rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--d-dim); }

.spark { display: flex; align-items: flex-end; gap: 4px; height: 54px; margin-bottom: 18px; padding: 0 2px; }
.spark i {
  flex: 1; border-radius: 3px 3px 0 0; transform-origin: bottom;
  background: linear-gradient(180deg, var(--teal-br), rgba(95,211,184,.22));
  animation: bar-rise .9s cubic-bezier(.2,.8,.3,1) backwards;
}

.rows { display: grid; gap: 9px; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border-radius: var(--r); background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.row-ico {
  flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(127,176,240,.16); color: var(--blue-br);
}
.row:nth-child(2) .row-ico { background: rgba(95,211,184,.16); color: var(--teal-br); }
.row-txt { flex: 1; min-width: 0; }
.row-txt b { display: block; font-size: .88rem; font-weight: 650; color: #EAF1FA; }
.row-txt small { font-size: .77rem; color: var(--d-dim); }
.tag {
  flex: none; font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 100px;
  background: rgba(95,211,184,.16); color: var(--teal-br);
}
.tag--muted { background: rgba(255,255,255,.08); color: var(--d-dim); }

/* ------------------------------------------------------------ marquee */
.marquee-wrap { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.marquee-label {
  text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: 22px;
}
.marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee-run 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: none; padding: 0 34px;
  font-family: var(--display); font-size: 1.06rem; font-weight: 700; letter-spacing: -.02em;
  color: #92A3B9; white-space: nowrap; transition: color .2s ease;
}
.marquee-item:hover { color: var(--ink); }

/* ------------------------------------------------------------ cards */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.card:hover { border-color: var(--line-str); box-shadow: var(--sh-lg); transform: translateY(-5px); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .96rem; margin-bottom: 1.05em; }
.card .arrow-link { margin-top: auto; }

.section--dark .card {
  background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1);
}
.section--dark .card:hover { border-color: rgba(255,255,255,.24); box-shadow: none; background: rgba(255,255,255,.075); }
.section--dark .card p { color: var(--d-text); }

.card-icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-l); color: var(--blue); margin-bottom: 22px;
  transition: transform .22s ease;
}
.card:hover .card-icon { transform: scale(1.07) rotate(-3deg); }
.card-icon--teal { background: var(--teal-l); color: var(--teal-d); }
.card-icon--ink  { background: #E7ECF4; color: var(--ink-2); }
.section--dark .card-icon { background: rgba(127,176,240,.15); color: var(--blue-br); }
.section--dark .card-icon--teal { background: rgba(95,211,184,.15); color: var(--teal-br); }

.card-list { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.card-list li { position: relative; padding-left: 25px; margin-bottom: .5em; }
.card-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--grad);
}
.section--dark .card-list li::before { background: var(--grad-br); }

/* -------------------------------------------------- three disciplines */
.disciplines { display: grid; grid-template-columns: 1.28fr 1fr 1fr; gap: 26px; align-items: stretch; }

.card--lead {
  background: linear-gradient(168deg, #FFFFFF 0%, var(--blue-l) 165%);
  border-color: #C7D6EC;
  box-shadow: var(--sh);
}
.card--lead::before { transform: scaleX(1); height: 4px; }
.card--lead .card-icon { background: var(--grad); color: #fff; }
.card--lead h3 { font-size: 1.42rem; }
.card--lead p { font-size: 1rem; }
.card--lead .card-list { font-size: .95rem; }

.lead-pill {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  padding: 6px 13px; border-radius: 100px; margin-bottom: 18px;
  background: var(--grad); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
}
.support-pill {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  padding: 6px 13px; border-radius: 100px; margin-bottom: 18px;
  background: var(--soft-2); color: var(--slate);
  font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
}

/* ------------------------------------ featured post-quantum domain card */
.card--pqc {
  grid-column: 1 / -1;
  background: linear-gradient(150deg, #0F1A33 0%, #17284D 100%);
  border-color: rgba(227,178,97,.34);
  color: var(--d-text);
}
.card--pqc::before {
  background: linear-gradient(96deg, #F5D69B 0%, #E3B261 100%);
  transform: scaleX(1); height: 4px;
}
.card--pqc:hover { border-color: rgba(227,178,97,.62); }
.card--pqc h3 { color: #fff; font-size: 1.5rem; }
.card--pqc p  { color: var(--d-text); }
.card--pqc .card-icon { background: rgba(227,178,97,.16); color: #E3B261; }
.card--pqc .card-list li::before { background: linear-gradient(96deg, #F5D69B, #E3B261); }
.card--pqc .badge {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.17); color: #E6EEF9;
}
.card--pqc .badge:hover { border-color: rgba(227,178,97,.6); }
.card--pqc .arrow-link { color: #E3B261; }
.card--pqc .arrow-link:hover { color: #F5D69B; }

.pqc-pill {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  padding: 6px 13px; border-radius: 100px; margin-bottom: 18px;
  background: rgba(227,178,97,.15); border: 1px solid rgba(227,178,97,.45);
  color: #E3B261; font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.pqc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start; }
.pqc-deadline {
  display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap;
}
.pqc-deadline div {
  flex: 1 1 150px; padding: 14px 16px; border-radius: var(--r);
  background: rgba(227,178,97,.08); border: 1px solid rgba(227,178,97,.28);
}
.pqc-deadline b {
  display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1;
  background: linear-gradient(96deg, #F5D69B, #E3B261);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pqc-deadline span { font-size: .8rem; font-weight: 600; color: #D9C7A6; }

/* --------------------------------------------------- domain grid (compact) */
.domain-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.domain {
  display: block; padding: 24px 22px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.domain:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--line-str); color: inherit; }
.domain-ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-l); color: var(--blue); margin-bottom: 16px;
}
.domain:nth-child(4n+2) .domain-ico { background: var(--teal-l); color: var(--teal-d); }
.domain h3 { font-size: 1rem; margin-bottom: .35em; }
.domain p { font-size: .88rem; margin: 0; color: var(--slate-2); }

.section--dark .domain { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1); }
.section--dark .domain:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); box-shadow: none; }
.section--dark .domain h3 { color: #fff; }
.section--dark .domain p { color: var(--d-dim); }
.section--dark .domain-ico { background: rgba(127,176,240,.15); color: var(--blue-br); }
.section--dark .domain:nth-child(4n+2) .domain-ico { background: rgba(95,211,184,.15); color: var(--teal-br); }

/* ---------------------------------------------------- outcome cards */
.outcome {
  position: relative; overflow: hidden;
  padding: 30px 28px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--d2) 0%, var(--d1) 100%);
  border: 1px solid rgba(255,255,255,.11); color: var(--d-text);
  transition: transform .22s ease, border-color .22s ease;
}
.outcome::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px;
  border-radius: 50%; background: radial-gradient(circle, rgba(95,211,184,.28), transparent 68%);
  transition: transform .4s ease;
}
.outcome:hover { transform: translateY(-5px); border-color: rgba(95,211,184,.45); }
.outcome:hover::after { transform: scale(1.45); }
.outcome-num {
  font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  color: var(--teal-br); margin-bottom: 14px; position: relative; z-index: 1;
}
.outcome h3 { color: #fff; font-size: 1.15rem; position: relative; z-index: 1; }
.outcome p { font-size: .93rem; margin: 0; position: relative; z-index: 1; color: var(--d-text); }

/* ------------------------------------------------------ testimonials */
.quote-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 30px 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--line-str); }
.quote-card .qm {
  font-family: var(--display); font-size: 2.6rem; line-height: .8; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.quote-card blockquote {
  margin: 0 0 22px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); font-weight: 500;
}
.quote-card .who { margin-top: auto; font-size: .87rem; color: var(--slate-2); }
.quote-card .who b { display: block; color: var(--ink); font-weight: 650; }

.section--dark .quote-card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1); }
.section--dark .quote-card blockquote { color: #E3ECF7; }
.section--dark .quote-card .who { color: var(--d-dim); }
.section--dark .quote-card .who b { color: #fff; }
.section--dark .quote-card .qm { background-image: var(--grad-br); }

/* ------------------------------------------------ analyst recognition */
.analyst-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px;
}
.analyst {
  padding: 13px 24px; border-radius: var(--r);
  border: 1px dashed var(--line-str); background: var(--soft);
  font-family: var(--display); font-size: .92rem; font-weight: 700; color: var(--slate-2);
  letter-spacing: -.01em;
}
.section--dark .analyst {
  border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #A9BCD4;
}

/* -------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; position: relative; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--line-str); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; margin-bottom: 20px;
  font-family: var(--display); font-size: 1rem; font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(60,90,140,.7);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .93rem; margin-bottom: 0; }

/* --------------------------------------------------- numbered flow list */
.pipe-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pipe-item:hover { transform: translateX(5px); border-color: var(--line-str); box-shadow: var(--sh); }
.pipe-icon {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-family: var(--display); font-size: .85rem; font-weight: 700;
}
.pipe-text { flex: 1; min-width: 0; }
.pipe-text b { display: block; font-size: .95rem; font-weight: 650; color: var(--ink); }
.pipe-text small { font-size: .84rem; color: var(--slate-2); }
.section--soft .pipe-item { background: #fff; }

/* ------------------------------------------------------------ feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 100px); }
.feature--flip .feature-media { order: -1; }

.detail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.detail-card-head {
  padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--soft);
  display: flex; align-items: center; gap: 12px;
}
.detail-card-head b { color: var(--ink); font-size: .95rem; }
.detail-card-body { padding: 26px 24px; }
.detail-card-body ul { margin: 0; }
.section--dark .detail-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.11); box-shadow: none; }
.section--dark .detail-card-head { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .detail-card-head b { color: #fff; }

/* ------------------------------------------------------- flow diagram */
.flow-stage {
  position: relative; border-radius: var(--r-xl); padding: 40px 30px;
  background: linear-gradient(160deg, rgba(27,49,87,.75), rgba(12,23,40,.4));
  border: 1px solid rgba(255,255,255,.11);
}
.flow-svg { width: 100%; height: auto; }
.flow-svg .flow-line {
  stroke-dasharray: 9 11; animation: dash-flow 4.5s linear infinite;
}
.flow-svg .flow-line--slow { animation-duration: 7s; }
.flow-node rect { transition: fill .25s ease; }
.flow-legend {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  margin-top: 26px; font-size: .84rem; font-weight: 600; color: var(--d-dim);
}
.flow-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.flow-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* -------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat {
  position: relative; padding: 32px 24px 30px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  text-align: center; transition: border-color .22s ease, background-color .22s ease;
}
.stat:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.stat b {
  display: block; font-family: var(--display);
  font-size: clamp(2.1rem, 1.4rem + 2vw, 3rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.05; margin-bottom: 8px;
  background: var(--grad-br); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .89rem; font-weight: 600; color: var(--d-dim); }

/* deadline variant — amber, tied to the QuSafe palette */
.stat--warn { border-color: rgba(227,178,97,.3); background: rgba(227,178,97,.07); }
.stat--warn:hover { border-color: rgba(227,178,97,.55); background: rgba(227,178,97,.11); }
.stat--warn b { background-image: linear-gradient(96deg, #F5D69B 0%, #E3B261 100%); }
.stat--warn span { color: #D9C7A6; }

/* ---------------------------------------------------------- industries */
.ind {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 30px 28px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ind::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(69,161,141,.14), transparent 70%);
  transition: transform .35s ease;
}
.ind:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--line-str); }
.ind:hover::after { transform: scale(1.5); }
.ind-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-l); color: var(--teal-d); margin-bottom: 18px;
}
.ind h3 { font-size: 1.06rem; }
.ind p { font-size: .92rem; margin-bottom: 0; position: relative; z-index: 1; }

/* -------------------------------------------------------- case studies */
.case {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.case:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--line-str); }
.case-top {
  padding: 26px 26px 22px; color: #fff;
  background: linear-gradient(140deg, var(--d2) 0%, var(--blue) 130%);
  position: relative; overflow: hidden;
}
.case-top::after {
  content: ""; position: absolute; right: -30px; top: -50px; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(95,211,184,.35), transparent 68%);
}
.case-sector {
  font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-br); margin-bottom: 12px; position: relative; z-index: 1;
}
.case-metric {
  font-family: var(--display); font-size: 2.5rem; font-weight: 800; letter-spacing: -.045em;
  line-height: 1; color: #fff; position: relative; z-index: 1;
}
.case-metric small { display: block; font-size: .82rem; font-weight: 600; letter-spacing: 0; color: #BFD2E8; margin-top: 8px; }
.case-body { padding: 24px 26px 28px; }
.case-body h3 { font-size: 1.05rem; }
.case-body p { font-size: .93rem; }

/* ----------------------------------------------------------- testimonial */
.quote {
  max-width: 880px; margin-inline: auto; text-align: center; position: relative;
}
.quote-mark {
  font-family: var(--display); font-size: 5rem; line-height: 1; font-weight: 800;
  background: var(--grad-br); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin-bottom: -14px;
}
.quote blockquote {
  margin: 0 0 28px; font-family: var(--display);
  font-size: clamp(1.28rem, 1rem + 1.1vw, 1.85rem); line-height: 1.4;
  letter-spacing: -.024em; font-weight: 600; color: #fff;
}
.quote-by { font-size: .93rem; color: var(--d-dim); }
.quote-by b { display: block; color: #E3ECF7; font-weight: 650; margin-bottom: 2px; }

/* -------------------------------------------------------------- posts */
.post {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff;
  padding: 26px 26px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--line-str); }
.post-tag {
  align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 100px;
  background: var(--blue-l); color: var(--blue); margin-bottom: 16px;
}
.post h3 { font-size: 1.05rem; }
.post p { font-size: .92rem; }
.post .arrow-link { margin-top: auto; }

/* --------------------------------------------------------- badges/chips */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: 9px 15px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  transition: border-color .18s ease, transform .18s ease;
}
.badge:hover { border-color: var(--teal); transform: translateY(-2px); }
.badge svg { color: var(--teal); flex: none; }
.section--dark .badge {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #DCE7F5;
}
.section--dark .badge svg { color: var(--teal-br); }

.logo-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.logo-chip {
  display: grid; place-items: center; text-align: center; height: 78px; padding: 10px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-family: var(--display); font-size: .87rem; font-weight: 650; color: var(--slate-2);
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.logo-chip:hover { color: var(--ink); border-color: var(--line-str); transform: translateY(-3px); }

/* ---------------------------------------------------------------- CTA */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--d1) 0%, var(--d3) 62%, var(--blue) 130%);
  color: var(--d-text);
}
.cta::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -6%; top: -60%;
  border-radius: 50%; filter: blur(70px);
  background: radial-gradient(circle, rgba(69,161,141,.5), transparent 66%);
  animation: float-slow 19s ease-in-out infinite;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #C4D4E8; font-size: 1.08rem; max-width: 56ch; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.cta .btn-row { flex: none; }

/* ------------------------------------------------------- interior hero */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--d1); color: var(--d-text);
  padding: clamp(58px, 7vw, 92px) 0 clamp(56px, 7vw, 86px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }
.page-hero .lead { max-width: 64ch; color: #B9CBE2; }
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { font-size: .85rem; color: var(--d-dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--d-dim); font-weight: 500; }
.breadcrumb a:hover { color: var(--teal-br); }
.breadcrumb span { margin: 0 .45rem; opacity: .55; }

/* -------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink); }
.field .req { color: #C1362F; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .97rem; color: var(--ink);
  padding: 14px 15px; border: 1.5px solid var(--line-str); border-radius: var(--r-sm);
  background: #fff; width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(69,161,141,.16);
}
.field .hint { font-size: .8rem; color: var(--slate-2); }
.field .error { font-size: .82rem; color: #C1362F; display: none; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C1362F; }
.field.invalid .error { display: block; }
.form-note { font-size: .84rem; color: var(--slate-2); margin-top: 8px; }
.form-success {
  display: none; padding: 22px 24px; border-radius: var(--r);
  background: var(--teal-l); border: 1px solid #A6DCD0; color: #1D6D5D;
  font-weight: 600; font-size: .95rem;
}
.form-success.show { display: block; }
.form-success strong { color: #14584B; }

.form-error {
  display: none; padding: 22px 24px; border-radius: var(--r); margin-bottom: 24px;
  background: #FDECEA; border: 1px solid #F1B7B0; color: #8C2820;
  font-size: .94rem; line-height: 1.6;
}
.form-error.show { display: block; }
.form-error a { color: #8C2820; font-weight: 700; text-decoration: underline; }

.btn[disabled], .btn[aria-busy="true"] {
  opacity: .62; cursor: not-allowed; transform: none !important; filter: none;
}
.btn[aria-busy="true"] svg { display: none; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; flex: none; }
.checkbox-row label { font-weight: 500; font-size: .88rem; color: var(--slate); }

.info-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; }
.info-item { display: flex; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item:first-of-type { padding-top: 0; }
.info-icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--blue);
}
.info-item b { display: block; color: var(--ink); font-size: .93rem; margin-bottom: 2px; }
.info-item a, .info-item span { font-size: .93rem; }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--d1); color: #9AAAC2; padding: 70px 0 0; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 52px; }
.footer-about { max-width: 34ch; margin-top: 18px; color: #8DA0BA; }
.footer-col h4 {
  color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .62em; }
.footer-col a { color: #9AAAC2; }
.footer-col a:hover { color: var(--teal-br); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: #7E8FA8;
}
.footer-bottom a { color: #7E8FA8; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .grid-4, .steps, .domain-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .logo-strip { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  :root { --nav-h: 76px; }

  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #0C1728;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 16px 26px 22px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.8);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px; font-size: 1rem; }
  .nav-links > li > a[aria-current="page"]::after { display: none; }
  .nav-cta > .btn { display: none; }
  .nav-links .nav-mobile-cta { display: block; margin-top: 12px; }
  .nav-links .nav-mobile-cta a {
    display: block; text-align: center; padding: 15px;
    border-radius: var(--r-sm); background: var(--grad); color: #fff; font-weight: 650;
  }
  .nav-links .nav-mobile-cta a:hover { color: #fff; filter: brightness(1.08); }

  .brand-logo { height: 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: none; }
  .grid-3, .grid-2, .feature, .disciplines, .pqc-grid { grid-template-columns: 1fr; }
  .feature { gap: 38px; }
  .feature--flip .feature-media { order: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .grid-4, .steps, .domain-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .alert-bar { font-size: .8rem; }
  .promo-bar .wrap { font-size: .78rem; gap: 8px 10px; padding-inline: 20px; }
  .promo-logo { height: 22px; }
  .promo-cta { display: none; }
  .logo-strip { grid-template-columns: repeat(2,1fr); }
  .kpis { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .orb { filter: blur(50px); }
}

/* ------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .promo-bar::after { display: none; }
  .promo-pill { animation: none; opacity: 1; }
}

@media print {
  .site-header, .site-footer, .cta, .marquee-wrap { display: none; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
}
