/* =========================================================================
   UPTL — Unique Performance Techsoft
   Securing Every Identity. Every Layer.
   Design system — clean & boardroom. Brand: navy #1E2D8F / orange #C74B1A
   ========================================================================= */

:root {
  /* Brand */
  --navy:       #1E2D8F;
  --navy-700:   #182473;
  --navy-900:   #0b1133;
  --ink:        #0e1430;
  --orange:     #c74b1a;
  --orange-600: #a93c12;

  /* Neutrals */
  --paper:    #f6f7fb;
  --surface:  #ffffff;
  --surface-2:#eef1f8;
  --slate:    #5a6280;
  --slate-2:  #656c8a;
  --line:     #e4e7f0;
  --line-2:   #d4d9e8;

  /* On-dark */
  --on-dark:        #eef1fb;
  --on-dark-muted:  #a6acce;
  --dark-line:      rgba(255,255,255,.12);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(11,17,51,.05), 0 1px 1px rgba(11,17,51,.04);
  --shadow-md: 0 18px 40px -24px rgba(11,17,51,.30);
  --shadow-lg: 0 40px 80px -40px rgba(11,17,51,.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* Keyboard focus — visible on light and dark backgrounds */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--orange-600);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.display {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.7rem);
  line-height: .98;
  letter-spacing: -0.03em;
}
h2.section-title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h3 { font-size: 1.32rem; letter-spacing: -0.015em; }
p { color: var(--slate); }
strong { color: var(--ink); font-weight: 600; }

/* Mono utility label / eyebrow */
.kicker {
  font-family: var(--font-mono);
  font-size: .735rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-600);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange-600);
  display: inline-block;
}
.kicker.on-dark { color: #ff7a45; }
.kicker.on-dark::before { background: #ff7a45; }
.kicker.center { justify-content: center; }

.lead { font-size: 1.18rem; color: var(--slate); line-height: 1.62; }

/* ---------- Layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.75rem, 2.5rem + 4vw, 5.75rem); }
.section.tight { padding-block: clamp(2.5rem, 1.75rem + 2.5vw, 4rem); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1rem; font-size: 1.1rem; }

.dark { background: var(--navy-900); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: var(--on-dark-muted); }
.dark strong { color: #fff; }
.tinted { background: #e9edf6; }

.eyebrow-num { font-family: var(--font-mono); color: var(--slate-2); font-size: .8rem; letter-spacing: .1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem; letter-spacing: -0.01em;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(199,75,26,.6); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(30,45,143,.55); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-ghost.on-dark { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,247,251,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(246,247,251,.94); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand .logo { height: 52px; width: auto; flex: none; }
.site-footer .brand .logo { height: 36px; width: auto; background: #fff; padding: 8px 11px; border-radius: 9px; box-sizing: content-box; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark b { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.brand .wordmark span { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; color: var(--slate-2); text-transform: uppercase; margin-top: 3px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--slate);
  padding: .55rem .85rem; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-links a.cta-mobile, .nav-links a.support-mobile { display: none; }

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

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 7vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 88% 8%, rgba(30,45,143,.07), transparent 60%),
    radial-gradient(40% 60% at 6% 90%, rgba(199,75,26,.05), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy .kicker { margin-bottom: 1.4rem; }
.hero-copy .display { margin-bottom: 1.4rem; }
.hero-copy .display em { font-style: normal; color: var(--navy); position: relative; }
.hero-copy .display em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.16em; height: .12em;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  animation: underline 1s .5s cubic-bezier(.7,0,.2,1) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-copy .lead { max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.hero-trust { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-trust .micro { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-2); margin-bottom: .9rem; }
.partner-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.partner-badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
.partner-badge .dot { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- Layer stack (signature) ---------- */
.stack { position: relative; display: grid; gap: 16px; padding: 6px; }
.stack-layer {
  position: relative; display: flex; align-items: center; gap: 1.05rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
  animation: stack-in .5s cubic-bezier(.2,.7,.3,1) backwards;
}
.stack-layer:nth-child(2) { animation-delay: .12s; }
.stack-layer:nth-child(3) { animation-delay: .24s; }
.stack-layer:nth-child(4) { animation-delay: .36s; }
.stack-layer:nth-child(5) { animation-delay: .48s; }
.stack-layer:nth-child(6) { animation-delay: .60s; }
@keyframes stack-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.stack-layer:hover { transform: scale(1.02); box-shadow: var(--shadow-md); border-color: var(--line-2); z-index: 2; }
.stack-layer .lyr-ico { width: 40px; height: 40px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(30,45,143,.08); color: var(--navy); }
.stack-layer .lyr-ico svg { width: 21px; height: 21px; }
.stack-layer .lyr-body b { font-family: var(--font-display); font-weight: 700; font-size: 1rem; display: block; letter-spacing: -0.01em; }
.stack-layer .lyr-body span { font-size: .82rem; color: var(--slate); }
.stack-layer .lyr-tag { margin-left: auto; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--slate-2); text-transform: uppercase; }
.stack-sweep { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; pointer-events: none; }
.stack-sweep::after {
  content: ""; position: absolute; left: 0; right: 0; height: 120px; top: -120px;
  background: linear-gradient(180deg, transparent, rgba(199,75,26,.10), transparent);
  animation: sweep 5.5s ease-in-out infinite;
}
@keyframes sweep { 0% { top: -120px; } 60%,100% { top: 100%; } }

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.statband .stat { padding: 1.8rem 1.6rem; border-right: 1px solid var(--dark-line); }
.statband .stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stat .num .suf { color: var(--orange); }
.dark .stat .num .suf { color: #ff7a45; }
.stat .lbl { margin-top: .7rem; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.4; }
.stat .src { margin-top: .6rem; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; color: rgba(166,172,206,.7); text-transform: uppercase; }

/* light stat variant */
.statband.light { border-color: var(--line); }
.statband.light .stat { border-right-color: var(--line); }
.statband.light .num { color: var(--navy); }
.statband.light .num .suf { color: var(--orange); }
.statband.light .lbl { color: var(--slate); }
.statband.light .src { color: var(--slate-2); }

/* metric-callout cards (on dark sections) */
.statcard { background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 1.9rem 1.7rem; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.statcard:hover { transform: translateY(-4px); border-color: rgba(255,122,69,.45); background: rgba(255,255,255,.06); }
.sc-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,122,69,.14); color: #ff7a45; margin-bottom: 1.4rem; }
.sc-ico svg { width: 24px; height: 24px; }
.sc-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1; color: #fff; letter-spacing: -0.03em; }
.sc-num .suf { color: #ff7a45; }
.sc-ctx { margin-top: .85rem; font-size: .92rem; color: var(--on-dark-muted); line-height: 1.5; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card .c-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(30,45,143,.08); color: var(--navy); margin-bottom: 1.3rem; }
.card .c-ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .96rem; }
.card .c-list { margin-top: 1.1rem; display: grid; gap: .55rem; }
.card .c-list li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--slate); }
.card .c-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); }

/* Service pillar card with index */
.pillar { display: flex; flex-direction: column; }
.pillar .p-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; }
.pillar .p-num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--orange-600); }
.pillar .p-bars { display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.pillar .p-bars i { width: 5px; background: var(--line-2); border-radius: 1px; display: block; }
.pillar:hover .p-bars i { background: var(--navy); }
.pillar .p-bars i:nth-child(1){ height: 30%; } .pillar .p-bars i:nth-child(2){ height: 55%; }
.pillar .p-bars i:nth-child(3){ height: 78%; } .pillar .p-bars i:nth-child(4){ height: 100%; background: var(--orange); }

/* ---------- Domains (persona) ---------- */
.domain { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s, transform .25s; }
.domain:hover { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.domain .d-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--navy-900); color: #fff; display: grid; place-items: center; }
.domain .d-ico svg { width: 23px; height: 23px; }
.domain h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.domain .d-for { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); display: block; margin-bottom: .5rem; }
.domain p { font-size: .92rem; }

/* ---------- Platform split ---------- */
.platform-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.platform-card .pc-head { padding: 1.7rem 1.9rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .9rem; }
.platform-card .pc-head .badge { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.1rem; }
.platform-card .pc-head h3 { font-size: 1.25rem; }
.platform-card .pc-head .pc-sub { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); }
.platform-card .pc-body { padding: 1.7rem 1.9rem; }
.prod-row { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.prod-row:last-child { border-bottom: none; padding-bottom: 0; }
.prod-row .pr-mark { font-family: var(--font-mono); font-size: .68rem; color: var(--orange-600); padding-top: .25rem; flex: none; width: 30px; letter-spacing: .05em; }
.prod-row b { font-family: var(--font-display); font-size: .98rem; display: block; }
.prod-row span { font-size: .86rem; color: var(--slate); }

/* ---------- Process / timeline ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process .step { padding: 0 1.4rem; position: relative; }
.process .step:not(:last-child)::after { content: ""; position: absolute; top: 26px; right: -1px; width: 2px; height: 0; }
.proc-node { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.proc-node .ring { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--navy); background: var(--surface); flex: none; transition: border-color .3s, background .3s, color .3s; }
.process .step:hover .ring { border-color: var(--orange); background: var(--orange); color: #fff; }
.proc-node .line { height: 2px; background: var(--line); flex: 1; }
.process .step h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.process .step p { font-size: .9rem; }
.process .step .phase { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); display: block; margin-bottom: .6rem; }

/* ---------- CTA panel ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(2.6rem, 1.5rem + 5vw, 5rem); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 70%); }
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(199,75,26,.35), transparent 65%); pointer-events: none; }
.cta-panel .inner { position: relative; z-index: 1; max-width: 40rem; }
.cta-panel h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); margin-bottom: 1rem; }
.cta-panel p { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-panel .hero-actions .btn-ghost { border-color: rgba(255,255,255,.3); color:#fff; }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; align-items: center; justify-content: center; opacity: .9; }
.logo-strip .li { font-family: var(--font-display); font-weight: 700; color: var(--slate); font-size: 1.05rem; letter-spacing: -0.01em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--dark-line); }
.footer-brand .brand .wordmark b { color: #fff; }
.footer-brand p { margin-top: 1.1rem; max-width: 22rem; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .78rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: .35rem 0; font-size: .93rem; color: var(--on-dark-muted); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; }
.footer-bottom p { font-size: .82rem; color: rgba(166,172,206,.7); }
.footer-bottom .fb-links { display: flex; gap: 1.4rem; }
.footer-bottom .fb-links a { font-size: .82rem; }

/* ---------- Forms (contact) ---------- */
.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(30,45,143,.1); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .8rem; color: var(--slate-2); margin-top: .4rem; }
.form-success { display: none; padding: 1.1rem 1.2rem; border-radius: 10px; background: rgba(30,45,143,.06); border: 1px solid rgba(30,45,143,.2); color: var(--navy); font-size: .92rem; margin-bottom: 1.2rem; }
.form-success.show { display: block; }

/* contact split */
.contact-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-info .ci-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci-ico { width: 42px; height: 42px; flex: none; border-radius: 10px; background: rgba(30,45,143,.08); color: var(--navy); display: grid; place-items: center; }
.contact-info .ci-ico svg { width: 20px; height: 20px; }
.contact-info .ci-item b { font-family: var(--font-display); display: block; font-size: .98rem; margin-bottom: .15rem; }
.contact-info .ci-item span, .contact-info .ci-item a { font-size: .92rem; color: var(--slate); }
.contact-info .ci-item a:hover { color: var(--navy); }

/* ---------- Misc ---------- */
.page-hero { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); position: relative; }
.page-hero .kicker { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); max-width: 18ch; margin-bottom: 1.1rem; }
.page-hero p { max-width: 44rem; font-size: 1.15rem; }
.breadcrumb { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--slate-2); margin-bottom: 1.6rem; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--navy); }

.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; padding: 1.5rem 1.7rem; }
.callout .q { font-size: 1.05rem; color: var(--ink); font-style: italic; line-height: 1.55; }
.callout .src { margin-top: .9rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--slate-2); text-transform: uppercase; }

.tag { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: rgba(30,45,143,.07); border: 1px solid rgba(30,45,143,.14); padding: .3rem .65rem; border-radius: 6px; }
.tag.orange { color: var(--orange-600); background: rgba(199,75,26,.07); border-color: rgba(199,75,26,.16); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq-q .pm { width: 24px; height: 24px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .25s; }
.faq-q .pm::before { width: 14px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 14px; }
.faq-q[aria-expanded="true"] .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 1.3rem; font-size: .98rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }

/* ---------- Booking modal ---------- */
body.bk-lock { overflow: hidden; }
.bk-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(11,17,51,.55); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s ease; }
.bk-overlay.open { display: flex; opacity: 1; }
.bk-dialog { width: 100%; max-width: 760px; max-height: 92vh; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; transform: translateY(18px) scale(.97); transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.bk-overlay.open .bk-dialog { transform: none; }
.bk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); flex: none; }
.bk-eyebrow { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-600); margin-bottom: .4rem; }
.bk-head h2 { font-size: 1.28rem; }
.bk-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); font-size: 1.6rem; line-height: 1; color: var(--ink); display: grid; place-items: center; flex: none; transition: background .15s, border-color .15s, color .15s; }
.bk-close:hover { background: var(--surface-2); border-color: var(--navy); color: var(--navy); }
.bk-body { position: relative; flex: 1 1 auto; min-height: 360px; background: var(--paper); overflow: auto; }
.bk-frame-wrap { position: relative; }
.bk-frame { width: 100%; height: 66vh; max-height: 600px; border: 0; display: block; }
/* chooser step */
.bk-choose { padding: 1.5rem; display: grid; gap: .8rem; align-content: start; }
.bk-choose-intro { font-size: .92rem; color: var(--slate); margin-bottom: .3rem; }
.bk-option { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.05rem 1.15rem; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.bk-option:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--navy); }
.bk-opt-ico { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(30,45,143,.08); color: var(--navy); }
.bk-opt-ico svg { width: 22px; height: 22px; }
.bk-opt-body { flex: 1; }
.bk-opt-body b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); margin-bottom: .15rem; }
.bk-opt-body span { font-size: .86rem; color: var(--slate); line-height: 1.4; }
.bk-opt-arrow { flex: none; color: var(--orange); display: grid; place-items: center; }
.bk-opt-arrow svg { width: 20px; height: 20px; }
.bk-choose-foot { text-align: center; font-size: .85rem; color: var(--slate); padding-top: .5rem; }
.bk-choose-foot a { color: var(--navy); font-weight: 600; }
.bk-choose-foot a:hover { color: var(--orange); }
/* back bar (booking step) */
.bk-back { display: inline-flex; align-items: center; gap: .45rem; width: 100%; padding: .8rem 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); background: var(--surface); border: none; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s, color .15s; }
.bk-back:hover { background: var(--surface-2); color: var(--orange); }
.bk-back svg { width: 18px; height: 18px; }
.bk-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--slate); font-size: .95rem; }
.bk-spinner { width: 20px; height: 20px; border: 2px solid var(--line-2); border-top-color: var(--navy); border-radius: 50%; animation: bk-spin .8s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
.bk-placeholder { max-width: 30rem; margin: 0 auto; padding: 3rem 1.8rem; text-align: center; }
.bk-ph-ico { width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 14px; display: grid; place-items: center; background: rgba(30,45,143,.08); color: var(--navy); }
.bk-ph-ico svg { width: 28px; height: 28px; }
.bk-placeholder h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.bk-placeholder p { font-size: .96rem; margin-bottom: 1.5rem; }

/* ---------- Awards timeline ---------- */
.timeline { display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 1.2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline li:last-child { border-bottom: none; }
.tl-year { font-family: var(--font-display); font-weight: 800; color: var(--orange-600); font-size: 1.1rem; letter-spacing: -0.01em; }
.timeline b { font-family: var(--font-display); display: block; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.timeline .tl-sub { font-size: .9rem; color: var(--slate); display: block; margin-top: .2rem; }

/* ---------- Careers roles ---------- */
.role-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.role-head h3 { font-size: 1.4rem; }
.role-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin: .7rem 0 .2rem; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.role-cols h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); margin-bottom: .7rem; }
@media (max-width: 720px) { .role-cols { grid-template-columns: 1fr; } }

/* ---------- Technology partner logos ---------- */
.partner-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.partner-logo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem 1.6rem; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.partner-logo img { height: 46px; width: auto; max-width: 80%; margin: 0 auto 1.1rem; display: block; }
.partner-logo .pl-mark { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -0.025em; color: var(--navy); }
.partner-logo .pl-mark small { font-family: var(--font-body); font-weight: 600; font-size: .85rem; color: var(--slate-2); letter-spacing: 0; }
.partner-logo .pl-cap { display: block; margin-top: .85rem; font-size: .92rem; color: var(--slate); }
@media (max-width: 720px) { .partner-logos { grid-template-columns: 1fr; } }

/* ---------- Company metrics band ---------- */
.metricbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: var(--surface); padding: 1.6rem 1rem; text-align: center; }
.m-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.m-num .suf { color: var(--orange); }
.m-lbl { margin-top: .55rem; font-size: .82rem; color: var(--slate); }
@media (max-width: 860px) { .metricbar { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .metricbar { grid-template-columns: repeat(2, 1fr); } }

/* footer contact block */
.footer-contact { margin-top: 1.2rem; display: grid; gap: .7rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--on-dark-muted); line-height: 1.45; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: .15rem; color: #ff7a45; }
.footer-contact a { color: var(--on-dark-muted); }
.footer-contact a:hover { color: #fff; }

/* ---------- Case studies ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.cs-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.cs-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.cs-ind { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.cs-pill { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); background: rgba(199,75,26,.08); border: 1px solid rgba(199,75,26,.2); border-radius: 100px; padding: .3rem .6rem; white-space: nowrap; }
.cs-cat { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--navy); margin-bottom: .7rem; }
.cs-cat::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); flex: none; }
.cs-card h3 { font-size: 1.16rem; line-height: 1.28; margin-bottom: .6rem; }
.cs-lead { font-size: .92rem; color: var(--slate); margin-bottom: 1.2rem; }
.cs-outcomes { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; }
.cs-outcomes li { position: relative; padding-left: 1.45rem; font-size: .82rem; color: var(--ink); line-height: 1.35; }
.cs-outcomes li svg { position: absolute; left: 0; top: .05em; width: 15px; height: 15px; color: var(--orange-600); }
.cs-dl { margin-top: auto; }
.cs-dl .btn { width: 100%; justify-content: center; }

/* gated download modal — reuses the .bk-* dialog shell */
.csm { padding: 1.6rem 1.7rem 1.8rem; }
.csm-intro { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.csm-doc { width: 46px; height: 46px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(30,45,143,.08); color: var(--navy); }
.csm-doc svg { width: 23px; height: 23px; }
.csm-intro b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: .15rem; }
.csm-intro p { font-size: .86rem; color: var(--slate); line-height: 1.4; margin: 0; }
.csm-form { display: grid; gap: .95rem; }
.csm-field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.csm-field label .req { color: var(--orange-600); }
.csm-field input { width: 100%; padding: .75rem .85rem; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: .92rem; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.csm-field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,45,143,.12); }
.csm-field.bad input { border-color: var(--orange-600); }
.csm-err { display: none; font-size: .76rem; color: var(--orange-600); margin-top: .3rem; }
.csm-field.bad .csm-err { display: block; }
.csm-hint { font-size: .75rem; color: var(--slate-2); margin-top: .3rem; }
.csm-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; color: var(--slate); line-height: 1.42; }
.csm-consent input { margin-top: .15rem; width: 16px; height: 16px; flex: none; accent-color: var(--navy); }
.csm-consent a { color: var(--navy); font-weight: 600; }
.csm-consent.bad { color: var(--orange-600); }
.csm-submit { width: 100%; justify-content: center; margin-top: .3rem; }
.csm-foot { font-size: .72rem; color: var(--slate-2); text-align: center; margin: .2rem 0 0; }
.csm-success { text-align: center; padding: 1.4rem .6rem .6rem; }
.csm-tick { width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(30,45,143,.08); color: var(--navy); }
.csm-tick svg { width: 28px; height: 28px; }
.csm-success h3 { font-size: 1.24rem; margin-bottom: .5rem; }
.csm-success > p { font-size: .94rem; color: var(--slate); margin-bottom: 1.4rem; }
.csm-dlrow { display: flex; flex-direction: column; gap: .7rem; align-items: center; }
.csm-dlrow .btn { min-width: 230px; justify-content: center; }
.csm-dlrow a.csm-alt { font-size: .85rem; color: var(--navy); font-weight: 600; }

@media (max-width: 720px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-outcomes { grid-template-columns: 1fr; }
}

/* ---------- Compliance / regulation blocks ---------- */
.reg-list { display: grid; gap: 1.4rem; }
.reg-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.8rem; transition: border-color .2s ease, box-shadow .2s ease; }
.reg-block:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.reg-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.reg-top h3 { font-size: 1.22rem; }
.reg-ref { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .03em; color: var(--slate-2); background: var(--surface-2); border-radius: 6px; padding: .3rem .6rem; }
.reg-req { color: var(--slate); font-size: .96rem; margin: .9rem 0 1.3rem; }
.reg-sub { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: .7rem; }
.reg-block .c-list li { font-size: .92rem; }
.reg-urgent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.3rem; padding: .9rem 1.1rem; border-radius: 10px; background: rgba(199,75,26,.07); border: 1px solid rgba(199,75,26,.22); font-size: .9rem; color: var(--ink); line-height: 1.45; }
.reg-urgent svg { width: 19px; height: 19px; color: var(--orange-600); flex: none; margin-top: .1rem; }
.reg-urgent b { color: var(--orange-600); }
.reg-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); }
.reg-link:hover { color: var(--orange); }
.reg-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.reg-link:hover svg { transform: translateX(3px); }
.reg-note { margin-top: 1.6rem; font-size: .82rem; color: var(--slate-2); }

/* downloadable-asset teaser (compliance checklist, etc.) */
.dl-teaser { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.9rem; }
.dl-teaser .c-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(30,45,143,.08); color: var(--navy); margin: 0; }
.dl-teaser .c-ico svg { width: 24px; height: 24px; }
.dl-teaser h3 { margin-bottom: .25rem; }
.dl-teaser p { font-size: .92rem; color: var(--slate); margin: 0; }
@media (max-width: 720px) {
  .dl-teaser { grid-template-columns: 1fr; text-align: center; }
  .dl-teaser .c-ico { margin: 0 auto; }
  .dl-teaser .btn { justify-content: center; }
}

/* ---------- Secondary (outline) CTAs ---------- */
/* Navy outline, no fill — visually subordinate to the primary orange CTA. */
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-outline.on-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline.on-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Per-section "talk to an expert" link */
.section-cta { margin-top: 2.2rem; display: flex; justify-content: center; }

/* Contact form: "what are you interested in?" radio group */
.interest-group { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .25rem; }
.interest-opt { display: flex; align-items: flex-start; gap: .65rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.interest-opt:hover { border-color: var(--line-2); }
.interest-opt input { margin-top: .15rem; accent-color: var(--navy); flex: none; outline: none; cursor: pointer; }
.interest-opt span { font-size: .92rem; color: var(--ink); line-height: 1.35; }
.interest-opt:has(input:checked) { border-color: var(--navy); background: rgba(30,45,143,.045); }
@media (max-width: 540px) {
  .interest-group { grid-template-columns: 1fr; }
}

/* ---------- Nav dropdown (Solutions) ---------- */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--slate); background: none; border: none; cursor: pointer; padding: .55rem .85rem; border-radius: 8px; transition: color .15s ease, background .15s ease; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn, .nav-dd:hover .nav-dd-btn { color: var(--ink); background: var(--surface-2); }
.nav-dd-btn.active { color: var(--navy); font-weight: 600; }
.nav-dd-btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-dd:hover .nav-dd-btn svg, .nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: .45rem; display: none; flex-direction: column; gap: .1rem; z-index: 120; }
/* transparent bridge so the mouse can cross the gap without the menu closing */
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd-end .nav-dd-menu { left: auto; right: 0; }
.nav-dd-sm .nav-dd-menu { min-width: 200px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { display: flex; }
.nav-dd-menu a { padding: .7rem .8rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--slate); }
.nav-dd-menu a:hover { background: var(--surface-2); color: var(--navy); }
.nav-dd-menu a.active { color: var(--navy); font-weight: 600; }

/* ---------- PAM solution page ---------- */
.stall-list { display: grid; gap: 1rem; max-width: 880px; }
.stall-item { display: grid; grid-template-columns: 46px 1fr; gap: 1.2rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; transition: border-color .2s ease, box-shadow .2s ease; }
.stall-item:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.stall-item .si-ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: rgba(199,75,26,.09); color: var(--orange-600); }
.stall-item .si-ico svg { width: 22px; height: 22px; }
.stall-item h3 { font-size: 1.06rem; margin-bottom: .25rem; }
.stall-item p { font-size: .93rem; color: var(--slate); margin: 0; }
.stall-after { margin-top: 1.8rem; font-size: 1.1rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.ca-cred { display: flex; align-items: center; gap: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.9rem; margin-bottom: 1.6rem; }
.ca-cred img { height: 40px; width: auto; flex: none; }
.ca-cred p { margin: 0; font-size: .95rem; color: var(--slate); }
@media (max-width: 640px) { .ca-cred { flex-direction: column; text-align: center; gap: 1rem; } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin: 2.4rem 0 .7rem; color: var(--ink); }
.prose h3 { font-size: 1.05rem; margin: 1.6rem 0 .45rem; color: var(--ink); }
.prose p { margin-bottom: .95rem; }
.prose ul, .prose ol { margin: .5rem 0 1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.prose li { font-size: .96rem; color: var(--slate); }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--orange); }
.prose .meta { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--slate-2); margin-bottom: 2.2rem; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.8rem 0; }
.prose .callout { background: var(--surface-2); border-left: 3px solid var(--navy); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: .9rem 1.1rem; margin: 1.2rem 0; }
.prose .callout p { margin: 0; font-size: .93rem; }

/* ---------- Blog ---------- */
.blog-hero { padding-bottom: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }

.blog-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.blog-card .bc-media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.blog-card .bc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .bc-media-empty {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
}
.blog-card .bc-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.3; margin: 0; }
.blog-card .bc-excerpt { font-size: .94rem; color: var(--slate); margin: 0; flex: 1; }

.badge-cat {
  align-self: flex-start; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange-600);
  background: rgba(199,75,26,.08); border-radius: 999px; padding: .25rem .7rem;
}
.article-meta {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em;
  color: var(--slate-2); margin-top: .2rem;
}

.blog-empty { text-align: center; color: var(--slate); font-size: 1rem; padding: 3rem 1rem; grid-column: 1 / -1; }
.blog-empty a { color: var(--navy); text-decoration: underline; }

/* Single post */
.blog-post { max-width: 820px; margin-inline: auto; }
.post-back { display: inline-block; font-family: var(--font-mono); font-size: .8rem; color: var(--slate-2); text-decoration: none; margin-bottom: 1.4rem; }
.post-back:hover { color: var(--orange); }
.blog-post .badge-cat { margin-bottom: 1rem; }
.post-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; margin: 0 0 .9rem; }
.post-meta { margin-bottom: 1.8rem; }
.post-hero { border-radius: var(--radius); overflow: hidden; margin: 0 0 2.2rem; aspect-ratio: 16 / 9; background: var(--surface-2); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-post-body { max-width: none; }
.blog-post-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 1.4rem 0; }
.blog-post-body h2 { font-size: 1.5rem; }
.blog-post-body blockquote {
  border-left: 3px solid var(--orange); margin: 1.6rem 0; padding: .4rem 0 .4rem 1.2rem;
  color: var(--slate); font-style: italic;
}
.blog-post-body pre {
  background: var(--navy-900); color: var(--on-dark); padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm); overflow-x: auto; font-family: var(--font-mono); font-size: .85rem; margin: 1.4rem 0;
}
.blog-post-body code { font-family: var(--font-mono); font-size: .88em; }

/* Loading skeletons */
.skeleton-card { pointer-events: none; }
.skeleton-card .bc-media { background: var(--surface-2); }
.sk-line { display: block; height: .9rem; border-radius: 5px; background: var(--surface-2); }
.sk-line.sk-sm { width: 40%; height: .7rem; }
.sk-line.sk-title { height: 1.8rem; width: 80%; margin: .4rem 0 1rem; }
.skeleton-card .sk-line, .blog-post > .sk-line, .blog-post > .post-hero.skeleton-card {
  animation: skshimmer 1.4s ease-in-out infinite;
}
@keyframes skshimmer { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skeleton-card .sk-line, .blog-post > .sk-line { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links a.support-mobile { display: block; }
  .site-header.open .nav-links a.cta-mobile { display: block; color: var(--orange-600); font-weight: 700; border-bottom: none; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .8rem var(--gutter) 1.4rem; box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { padding: .85rem .4rem; border-bottom: 1px solid var(--line); }
  /* Dropdowns become collapsible, labelled accordions on mobile */
  .nav-dd { flex-direction: column; align-items: stretch; }
  .nav-dd-btn {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    padding: .85rem .4rem; border-bottom: 1px solid var(--line);
    font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--ink); background: none;
  }
  .nav-dd-btn svg { width: 16px; height: 16px; }
  .nav-dd-menu::before { display: none; }
  .site-header.open .nav-dd .nav-dd-menu {
    position: static; min-width: 0; border: none; box-shadow: none;
    padding: .2rem 0 .5rem; background: none; display: none;
  }
  .site-header.open .nav-dd.open .nav-dd-menu { display: flex; }
  .site-header.open .nav-dd-menu a { padding-left: 1.3rem; color: var(--slate); border-bottom: none; }
  .site-header.open .nav-dd-menu a.active { color: var(--navy); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; }
  .split, .contact-split { grid-template-columns: 1fr; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .statband .stat:nth-child(2) { border-right: none; }
  .statband .stat:nth-child(1), .statband .stat:nth-child(2) { border-bottom: 1px solid var(--dark-line); }
  .statband.light .stat:nth-child(1), .statband.light .stat:nth-child(2) { border-bottom-color: var(--line); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand .logo { height: 44px; }
  .brand .wordmark b { font-size: 1.15rem; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .bk-dialog { max-height: 94vh; }
  .bk-frame { height: 70vh; }
  .bk-head h2 { font-size: 1.1rem; }
  .bk-choose { padding: 1.2rem; }
}
