/* ==========================================================================
   Zetect — website styles
   Light, copy-driven product-page layout: sticky header, alternating feature
   rows with product screenshots, stat band, FAQ accordion, dark final CTA.

   Brand colours are taken from the Zetect slide decks (#0A0F1E navy,
   #35E3C7 teal, #8B7CF6 violet, #F6B052 amber). The teal/violet/amber values
   are bright enough for a dark slide but fail contrast as text on white, so
   each has a darkened on-light counterpart used for type and rules.

   Self-contained: fonts are self-hosted (assets/fonts/), no CDN, no external
   requests at page-load time.
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2-variations"), url("fonts/figtree-latin.woff2") format("woff2");
}

:root {
  --ink:       #0A0F1E;   /* headings, primary buttons          */
  --body-text: #4A5568;   /* body copy                          */
  --muted:     #6B7688;
  --line:      #E3E8F0;
  --line-soft: #EEF2F7;
  --bg:        #FFFFFF;
  --bg-alt:    #F7F9FC;

  --am:        #0E9E88;   /* teal, contrast-safe on white       */
  --iga:       #5D4BD6;   /* violet, contrast-safe on white     */
  --pam:       #B5720C;   /* amber, contrast-safe on white      */
  --am-bright: #35E3C7;   /* brand teal, for dark surfaces only */

  --wrap: 1180px;
  --r: 14px;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow: 0 1px 2px rgba(10,15,30,.04), 0 12px 34px rgba(10,15,30,.07);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--am); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); }

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

.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;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; font-weight: 700;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 840px; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-head.stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(10,15,30,.05); }
.head-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav > a { color: var(--body-text); font-size: .93rem; font-weight: 500; }
.nav > a:hover, .nav > a.active { color: var(--ink); text-decoration: none; }
.nav-cta { display: inline-flex; gap: .6rem; align-items: center; }

/* ── Nav dropdown ("Platform") ──────────────────────────────────────── */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: 0;
  color: var(--body-text); font-size: .93rem; font-weight: 500; font-family: var(--sans); cursor: pointer;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"] { color: var(--ink); }
.nav-dropdown-toggle .chev { width: 11px; height: 11px; flex: 0 0 auto; transition: transform .15s; }
.nav-dropdown-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: .5rem; display: none; z-index: 60;
}
.nav-dropdown.open { display: block; }
.nav-dropdown a { display: block; padding: .65rem .8rem; border-radius: 8px; color: var(--body-text); font-size: .92rem; font-weight: 500; }
.nav-dropdown a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }

/* ── "Platform" mega-menu ─────────────────────────────────────────────
   Wide panel: a highlighted intro card + quicklinks on the left, plain
   link columns (Capabilities, Deployment Options) on the right. */
.nav-dropdown.nav-mega {
  left: 50%; transform: translateX(-50%); min-width: min(880px, calc(100vw - 48px));
  padding: 0; overflow: hidden;
}
.nav-dropdown.nav-mega.mega-narrow { min-width: min(560px, calc(100vw - 48px)); }
.mega-inner { display: grid; grid-template-columns: 270px 1fr 1fr; }
.mega-inner.mega-cols-1 { grid-template-columns: 270px 1fr; }
.mega-inner.mega-cols-1 .mega-col { max-width: 340px; }
.mega-highlight { padding: 1.5rem; background: var(--bg-alt); border-right: 1px solid var(--line); }
.mega-highlight-card h3 { font-size: 1.05rem; margin: 0 0 .5rem; letter-spacing: -.01em; }
.mega-highlight-card p { font-size: .87rem; color: var(--body-text); margin: 0 0 .3rem; line-height: 1.55; }
.mega-highlight-card .arrow-link { margin-top: .7rem; font-size: .9rem; }
.mega-quicklinks { list-style: none; margin: 1.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .15rem; }
.mega-quicklinks a {
  display: flex; align-items: center; gap: .65rem; padding: .5rem .3rem; border-radius: 8px;
  font-size: .87rem; font-weight: 600; color: var(--ink);
}
.mega-quicklinks a:hover { background: #fff; color: var(--am); text-decoration: none; }
.mega-quicklinks svg { width: 16px; height: 16px; color: var(--am); flex: 0 0 auto; }
.mega-col { padding: 1.5rem 1.7rem; }
.mega-col + .mega-col { border-left: 1px solid var(--line); }
.mega-col h4 {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .9rem; font-weight: 600;
}
.mega-col a { display: block; padding: .45rem 0; font-size: .92rem; color: var(--body-text); border-radius: 0; }
.mega-col a:hover { background: none; color: var(--am); text-decoration: none; }
.mega-col a.mega-all { margin-top: .6rem; padding-top: .8rem; border-top: 1px dashed var(--line); font-weight: 600; color: var(--am); }
.mega-col a.mega-all::after { content: " →"; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; padding: 0; place-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: .78rem 1.5rem; border-radius: 8px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--ink); text-align: center;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(10,15,30,.18); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-invert { background: var(--am-bright); color: #04140F; border-color: var(--am-bright); }
.btn-invert:hover { box-shadow: 0 8px 26px rgba(53,227,199,.28); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline:hover { border-color: #fff; box-shadow: none; }
/* `.nav > a` outranks `.btn` — restate so header buttons keep their colours. */
.nav a.btn { color: #fff; font-weight: 600; }
.nav a.btn.btn-ghost { color: var(--ink); }

/* ── Type ───────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; font-weight: 600;
}
.eyebrow.am  { color: var(--am); }
.eyebrow.iga { color: var(--iga); }
.eyebrow.pam { color: var(--pam); }

h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem); line-height: 1.08; letter-spacing: -.03em;
  font-weight: 800; margin: 0 0 1.2rem;
}
.h2, .feature-copy h2, .cta-final h2, .stats-h {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.18; letter-spacing: -.022em;
  font-weight: 700; margin: 0 0 1rem;
}
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 62ch; margin: 0 0 2rem; color: var(--body-text); }
.lede strong { color: var(--ink); font-weight: 650; }
.section-lede { max-width: 68ch; margin: 0 0 2.8rem; color: var(--body-text); }

.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.arrow-link { display: inline-block; margin-top: 1.4rem; font-weight: 600; font-size: .95rem; color: var(--am); }
.arrow-link::after { content: " →"; transition: margin .15s; display: inline-block; }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { margin-left: .25rem; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(4rem, 9vw, 6.5rem);
  background:
    radial-gradient(1000px 520px at 50% -18%, rgba(53,227,199,.14), transparent 62%),
    radial-gradient(760px 420px at 85% 10%, rgba(139,124,246,.1), transparent 60%),
    var(--bg);
  text-align: center;
}
.hero-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero .lede { margin: 0 auto 2.2rem; }
.hero .cta-row { justify-content: center; }

.hero-pillars {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .9rem 2rem; margin: 3rem 0 0; padding-top: 2.2rem; border-top: 1px solid var(--line);
}
.hero-pillars li { display: flex; align-items: center; gap: .55rem; font-size: .87rem; font-weight: 600; color: var(--body-text); }

/* ── Screenshots ────────────────────────────────────────────────────── */
.shot {
  margin: 0; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot-hero { margin-top: clamp(2.5rem, 5vw, 3.8rem); transform: translateY(clamp(1rem, 3vw, 2.5rem)); }

/* ── "What we do" rows ───────────────────────────────────────────────
   Three alternating rows — copy / figure, figure / copy, copy / figure —
   each carrying its own inline-SVG infographic. Inline (not <img>) so the
   figures inherit the page font and the brand tokens, and stay crisp at
   any width. The figures sit unframed on the band: soft fills, no card,
   colour used only where it carries meaning. */
.wwd-row + .wwd-row { margin-top: clamp(2.8rem, 6vw, 4.5rem); }
/* keep the figure in the wider column when the row is flipped */
.wwd-row.reverse { grid-template-columns: 1.15fr 1fr; }
.wwd-row.reverse .feature-copy { order: 2; }
.wwd-row.reverse .wwd-shot { order: 1; }

.wwd-head { margin-bottom: 1rem; }
.wwd-head h3 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.22; letter-spacing: -.02em; }
.wwd-row .feature-copy > p { margin: 0; font-size: 1rem; line-height: 1.65; }

.wwd-shot { margin: 0; }
.wwd-fig {
  display: block; width: 100%; height: auto; max-width: 520px;
  margin: 0 auto; font-family: var(--sans);
}
.wwd-more { margin: clamp(2.4rem, 5vw, 3.4rem) 0 0; }

/* figure primitives, shared by the three diagrams */
.wwd-fig .f-chip rect, .wwd-fig .f-step rect { fill: #F5F8FC; stroke: none; }
.wwd-fig text { fill: var(--body-text); font-size: 9.5px; }
.wwd-fig .f-wire path { fill: none; stroke: #D5DEEA; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.wwd-fig .f-rule { stroke: var(--line-soft); stroke-width: 1; }
.wwd-fig .f-note { fill: var(--muted); font-size: 9.5px; text-anchor: middle; }
.wwd-fig .f-dot.am { fill: var(--am); }
.wwd-fig .f-dot.iga { fill: var(--iga); }
.wwd-fig .f-dot.pam { fill: var(--pam); }
.wwd-fig .f-dot.warn { fill: #C98A3C; }

/* 1 — identity fabric */
.wwd-fig .f-core { fill: rgba(14,158,136,.10); }
.wwd-fig .f-core-t { fill: var(--am); font-size: 10px; font-weight: 700; text-anchor: middle; }
.wwd-fig .f-chip.alert text { font-size: 9.5px; fill: var(--ink); font-weight: 600; }

/* 2 — convergence */
.wwd-fig .f-mod rect.am  { fill: rgba(14,158,136,.11); }
.wwd-fig .f-mod rect.iga { fill: rgba(93,75,214,.10); }
.wwd-fig .f-mod rect.pam { fill: rgba(181,114,12,.12); }
.wwd-fig .f-mod text { fill: var(--ink); font-size: 10px; font-weight: 700; text-anchor: middle; }
.wwd-fig .f-plat { fill: #EDF1F7; }
.wwd-fig .f-plat-t { fill: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.02em; text-anchor: middle; }
.wwd-fig .f-plat-s { fill: var(--muted); font-family: var(--mono); font-size: 7.5px; letter-spacing: .12em; text-anchor: middle; }
.wwd-fig .f-chip.center text { text-anchor: middle; fill: var(--ink); font-weight: 600; }

/* 3 — least privilege */
.wwd-fig .f-spine { fill: none; stroke: var(--line-soft); stroke-width: 1.4; }
.wwd-fig .f-node { fill: #D5DEEA; }
.wwd-fig .f-badge.am   { fill: rgba(14,158,136,.10); }
.wwd-fig .f-badge.iga  { fill: rgba(93,75,214,.10); }
.wwd-fig .f-badge.pam  { fill: rgba(181,114,12,.12); }
.wwd-fig .f-badge.core { fill: rgba(10,15,30,.06); }
.wwd-fig .f-ic { fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.wwd-fig .f-ic.am   { stroke: var(--am); }
.wwd-fig .f-ic.iga  { stroke: var(--iga); }
.wwd-fig .f-ic.pam  { stroke: var(--pam); }
.wwd-fig .f-ic.core { stroke: var(--ink); }
.wwd-fig .f-step-t { fill: var(--ink); font-size: 11.5px; font-weight: 700; }
.wwd-fig .f-step-s { fill: var(--muted); font-size: 10px; }

/* ── Pillar strip ───────────────────────────────────────────────────── */
.strip { background: var(--bg-alt); border-block: 1px solid var(--line); padding: clamp(4rem, 8vw, 5.5rem) 0 clamp(2.2rem, 4vw, 3rem); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); }
.pillar {
  background: #fff; border: 1px solid var(--line); border-top-width: 3px; border-radius: 12px;
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .35rem;
}
.p-am  { border-top-color: var(--am); }
.p-iga { border-top-color: var(--iga); }
.p-pam { border-top-color: var(--pam); }
.p-tag { font-family: var(--mono); font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.p-am  .p-tag { color: var(--am); }
.p-iga .p-tag { color: var(--iga); }
.p-pam .p-tag { color: var(--pam); }
.p-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.p-sub { font-size: .93rem; color: var(--muted); }

/* ── Feature rows ───────────────────────────────────────────────────── */
.row-band { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.row-band.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.feature-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .shot { order: 1; }
.feature-copy p { color: var(--body-text); }
.feature-copy > p:first-of-type { max-width: 54ch; }

/* "What we do" sub-blocks + "How we do it" showcase panel */
.subblock { margin-top: 1.6rem; }
.subblock:first-of-type { margin-top: 1.4rem; }
.subblock h3 { font-size: 1.05rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.subblock p { margin: 0; font-size: .95rem; }
.showcase-label {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 0 0 1rem;
}
.showcase .arrow-link { margin-top: 1.1rem; }

/* tick lists */
.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: .96rem; color: var(--body-text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 6px;
  border-left: 2px solid var(--am); border-bottom: 2px solid var(--am);
  transform: rotate(-45deg);
}

/* ── Stat band ──────────────────────────────────────────────────────── */
.stats { background: var(--ink); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.stats-h { color: #fff; margin-bottom: 2.2rem; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-grid li { display: flex; flex-direction: column; gap: .5rem; }
.stat-n {
  font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--am-bright);
}
.stat-l { color: #B9C2D4; font-size: .93rem; line-height: 1.5; }
.stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Dark hero (sub-pages, e.g. Why Zetect) ──────────────────────────── */
.hero-dark {
  background:
    radial-gradient(1000px 520px at 15% -10%, rgba(53,227,199,.16), transparent 60%),
    radial-gradient(900px 480px at 85% -10%, rgba(139,124,246,.14), transparent 60%),
    var(--ink);
  color: #fff; text-align: center; padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5rem);
}
.hero-dark h1 { color: #fff; max-width: 20ch; margin-inline: auto; }
.hero-dark .lede { color: #B9C2D4; max-width: 56ch; margin-inline: auto; }
.hero-dark .cta-row { justify-content: center; margin-bottom: clamp(3.2rem, 7vw, 5rem); }
.hero-dark .stat-grid li { align-items: center; text-align: center; }
.stat-icon {
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: .2rem;
  display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08);
}
.stat-icon svg { width: 18px; height: 18px; color: var(--am-bright); }

/* ── Generic bands / cards ──────────────────────────────────────────── */
.band { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.band.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Module grid ────────────────────────────────────────────────────── */
.mod-group {
  display: flex; align-items: center; gap: .65rem;
  font-size: .82rem; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  margin: 2.6rem 0 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.mod-group:first-of-type { margin-top: 0; }
.dot { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 auto; display: inline-block; }
.dot.am   { background: var(--am); }
.dot.iga  { background: var(--iga); }
.dot.pam  { background: var(--pam); }
.dot.core { background: var(--ink); }

.mod-grid { gap: 1rem; }
.card.mod { display: block; color: inherit; padding: 1.3rem 1.35rem; }
.card.mod h4 {
  margin: 0 0 .45rem; font-size: 1.02rem; color: var(--ink); font-weight: 650;
  letter-spacing: -.01em;
}
.card.mod p { margin: 0; font-size: .9rem; color: var(--body-text); line-height: 1.55; }
.card.mod::after {
  content: "→"; display: block; margin-top: .9rem; color: var(--am);
  font-weight: 700; transition: transform .15s;
}
.card.mod:hover {
  text-decoration: none; border-color: var(--am); box-shadow: var(--shadow); transform: translateY(-2px);
}
.card.mod:hover::after { transform: translateX(3px); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.7rem 1.6rem; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card h3 { font-size: 1.2rem; margin: 0 0 .8rem; letter-spacing: -.012em; }
.card-kicker {
  font-family: var(--mono); font-size: .69rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .5rem; font-weight: 600;
}
.card-body { color: var(--body-text); font-size: .95rem; margin: 0; }
.card.res { display: block; color: inherit; }
.card.res:hover { text-decoration: none; border-color: var(--am); box-shadow: var(--shadow); transform: translateY(-2px); }
.card.res .arrow-link { margin-top: 1.1rem; }
.best-for { margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--am); font-weight: 600; }

/* ── Icon badges (impact + who-benefits cards) ───────────────────────── */
.icon-badge {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.am   { background: rgba(14,158,136,.10);  color: var(--am); }
.icon-badge.iga  { background: rgba(93,75,214,.10);   color: var(--iga); }
.icon-badge.pam  { background: rgba(181,114,12,.11);  color: var(--pam); }
.icon-badge.core { background: rgba(10,15,30,.07);    color: var(--ink); }

/* ── Vertical value list (infographic-style rows) ─────────────────────── */
.value-list { display: grid; gap: 1.3rem; max-width: 860px; margin: 0 auto; }
.value-item {
  display: grid; grid-template-columns: 108px 1fr; gap: 1.8rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem 2rem;
  transition: border-color .2s, box-shadow .2s;
}
.value-item:hover { border-color: var(--am); box-shadow: var(--shadow); }
.value-visual {
  width: 92px; height: 92px; border-radius: 20px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.value-visual svg { width: 42px; height: 42px; }
.value-visual.am   { background: rgba(14,158,136,.10);  color: var(--am); }
.value-visual.iga  { background: rgba(93,75,214,.10);   color: var(--iga); }
.value-visual.pam  { background: rgba(181,114,12,.11);  color: var(--pam); }
.value-visual.core { background: rgba(10,15,30,.07);    color: var(--ink); }
.value-n {
  display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .4rem;
}
.value-copy h3 { margin: 0 0 .5rem; font-size: 1.15rem; letter-spacing: -.01em; }
.value-copy p { margin: 0; color: var(--body-text); font-size: .95rem; line-height: 1.6; }

/* ── Zero Trust steps ───────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.7rem;
}
.step-n { font-family: var(--mono); font-size: 1.35rem; font-weight: 700; color: var(--am); line-height: 1.3; }
.step h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.step p { margin: 0; color: var(--body-text); font-size: .96rem; }
.ref {
  display: inline-block; font-family: var(--mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .12rem .45rem; border-radius: 5px;
  margin-right: .45rem; vertical-align: .09em;
}
.ref.am   { color: var(--am);  background: rgba(14,158,136,.10); }
.ref.iga  { color: var(--iga); background: rgba(93,75,214,.10); }
.ref.pam  { color: var(--pam); background: rgba(181,114,12,.11); }
.ref.core { color: var(--ink); background: rgba(10,15,30,.07); }

/* ── Compliance ─────────────────────────────────────────────────────── */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 2.2rem; padding: 0; }
/* integration chips carrying a vendor mark */
.chips.logos li { padding: .45rem 1rem .45rem .7rem; font-weight: 600; }
.chips .logo { display: inline-flex; flex: 0 0 auto; width: 20px; height: 20px; color: var(--ink); opacity: .68; }
.chips .logo svg { width: 100%; height: 100%; }
/* brand marks are single filled paths; the generic glyphs carry fill="none" */
.chips .logo svg:not([fill]) { fill: currentColor; }
.chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: .42rem 1rem; border-radius: 999px; font-size: .87rem; font-weight: 500;
}
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mapping { width: 100%; border-collapse: collapse; min-width: 520px; }
.mapping th, .mapping td { text-align: left; padding: .95rem 1.4rem; border-bottom: 1px solid var(--line); }
.mapping thead th {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; background: var(--bg-alt);
}
.mapping tbody tr:last-child td { border-bottom: 0; }
.mapping td:first-child { color: var(--ink); font-weight: 500; }
.fw {
  display: inline-block; font-family: var(--mono); font-size: .73rem; color: var(--am);
  background: rgba(14,158,136,.08); border: 1px solid rgba(14,158,136,.22);
  padding: .12rem .55rem; border-radius: 6px; margin: .12rem .3rem .12rem 0;
}
.fw.all { color: var(--iga); background: rgba(93,75,214,.07); border-color: rgba(93,75,214,.24); }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.35rem 3rem 1.35rem 0; position: relative;
  font-size: 1.06rem; font-weight: 650; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .6rem; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq summary:hover { color: var(--am); }
.faq-body { padding: 0 2rem 1.5rem 0; }
.faq-body p { margin: 0; color: var(--body-text); }

/* ── Capability spotlight ────────────────────────────────────────────
   A single capability given more room than a `.card.mod` tile: copy on the
   left, benefit ticks on the right, sitting under its section's grid. */
.spotlight {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start; margin-top: 1.6rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.5rem, 3.5vw, 2.3rem);
}
.band.alt .spotlight { background: #fff; }
.spotlight h3 {
  margin: .9rem 0 .5rem; font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.018em;
}
.spotlight p { margin: 0 0 .8rem; font-size: .96rem; line-height: 1.65; }
.spotlight p:last-child { margin-bottom: 0; }
.spotlight .spotlight-lede { color: var(--ink); font-weight: 650; font-size: 1.02rem; }
.spotlight .ticks { margin-top: .3rem; }


/* ── Promo banner ────────────────────────────────────────────────────
   Full-bleed-feeling rounded card sitting between two bands: brand navy
   ground with teal/violet ribbon artwork (inline SVG, no image request),
   short two-line claim and a pair of outlined CTAs. */
.promo-band { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--bg); }

.promo {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 26px; text-align: center; color: #fff;
  padding: clamp(2.8rem, 7vw, 5.2rem) clamp(1.4rem, 5vw, 4rem);
  background:
    radial-gradient(700px 340px at 22% 12%, rgba(53,227,199,.18), transparent 62%),
    radial-gradient(680px 360px at 82% 88%, rgba(139,124,246,.20), transparent 62%),
    linear-gradient(135deg, #131C36 0%, #0A0F1E 52%, #060A16 100%);
  box-shadow: 0 18px 48px rgba(10, 15, 30, .18);
}
.promo-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}

.promo h2 {
  color: #fff; font-weight: 800; margin: 0 0 1.1rem;
  font-size: clamp(1.85rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em;
  text-shadow: 0 2px 18px rgba(6, 10, 22, .35);
}
.promo p {
  color: rgba(255, 255, 255, .88); margin: 0 auto clamp(1.8rem, 4vw, 2.6rem);
  max-width: 48ch; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.6;
}
.promo .cta-row { justify-content: center; }
.promo .btn-outline { border-color: rgba(255, 255, 255, .75); }
.promo .btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ── Contact page / enquiry form ─────────────────────────────────────
   The form posts to /api/enquiry (a Hosting rewrite onto a Cloud
   Function). JS upgrades it to a fetch with inline status; without JS the
   browser still submits it, so an enquiry is never lost. */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-copy h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.contact-copy .lede { margin-bottom: 1.6rem; }
.contact-direct { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-direct p:last-child { margin: 0; font-size: .95rem; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.form .req { color: var(--pam); }
.form .opt { color: var(--muted); font-weight: 500; }

.form input, .form select, .form textarea {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: .7rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form select {
  appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236B7688' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 14px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--am); box-shadow: 0 0 0 3px rgba(14,158,136,.14);
}
.form [aria-invalid="true"] { border-color: #C0392B; }
.form [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(192,57,43,.14); }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { width: 100%; margin-top: .3rem; }
.form-submit[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-note { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); line-height: 1.55; }
.form-status { margin: 1rem 0 0; font-size: .92rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--am); }
.form-status.err { color: #C0392B; }
.form-status a { color: var(--am); text-decoration: underline; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ── Final CTA ──────────────────────────────────────────────────────── */
.cta-final {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(53,227,199,.14), transparent 65%),
    var(--ink);
  color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: #B9C2D4; max-width: 60ch; margin: 0 auto 2rem; }
.cta-final .cta-row { justify-content: center; }
.cta-contact { margin-top: 2.2rem; font-size: .95rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta-contact a { color: var(--am-bright); }

/* Capability strip inside the dark CTA: five short "how it fits" columns
   between the headline and the buttons. Dashed teal rings echo the icon
   treatment without pulling a tinted badge onto the navy ground. */
.cta-features {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
  margin: clamp(2.4rem, 5vw, 3.4rem) 0 clamp(2.2rem, 4.5vw, 3rem);
}
.cta-feat-icon {
  width: 58px; height: 58px; margin: 0 auto .9rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed rgba(53, 227, 199, .55); color: var(--am-bright);
}
.cta-feat-icon svg { width: 26px; height: 26px; }
.cta-final .cta-feature h3 { color: #fff; font-size: 1.05rem; letter-spacing: -.012em; margin: 0 0 .45rem; }
.cta-final .cta-feature p { font-size: .89rem; line-height: 1.55; margin: 0 auto; max-width: 26ch; }
.cta-final .cta-kicker { color: #fff; font-weight: 700; font-size: 1.02rem; margin: 0 auto 1.4rem; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-foot { background: var(--bg-alt); border-top: 1px solid var(--line); padding: clamp(2.8rem, 5vw, 4rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.foot-brand p { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; max-width: 32ch; }
.foot-col { display: flex; flex-direction: column; gap: .55rem; }
.foot-col h2 {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .5rem; font-weight: 600;
}
.foot-col a { color: var(--body-text); font-size: .91rem; }
.foot-col a:hover { color: var(--am); text-decoration: none; }
.foot-base {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between;
}
.foot-base p { margin: 0; color: var(--muted); font-size: .84rem; }

/* ── Reveal ─────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card.res:hover { transform: none; }
}

/* Legal links in the footer base row */
.foot-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-legal a { color: var(--muted); font-size: .84rem; }
.foot-legal a:hover { color: var(--ink); text-decoration: none; }

/* Postal address blocks */
.contact-address { font-style: normal; font-size: .95rem; line-height: 1.7; color: var(--body-text); }
.foot-address { font-style: normal; font-size: .86rem; line-height: 1.65; color: var(--muted); margin: .9rem 0 0; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: 1; }
  .feature-row.reverse .shot { order: 2; }
  .grid-3, .pillars { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid, .stat-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-features { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-dropdown.nav-mega { min-width: min(600px, calc(100vw - 48px)); }
  .mega-inner { grid-template-columns: 240px 1fr; }
  .mega-col:nth-child(2) { border-left: 1px solid var(--line); }
  .mega-col:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 24px 1.4rem; margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
    max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: 0 12px 24px rgba(10,15,30,.08);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-item { display: block; width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-dropdown { position: static; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .nav-dropdown a { padding: .7rem 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }

  .nav-dropdown.nav-mega { left: auto; transform: none; min-width: 0; }
  .mega-inner, .mega-inner.mega-cols-1 { grid-template-columns: 1fr; }
  .mega-inner.mega-cols-1 .mega-col { max-width: none; }
  .mega-highlight, .mega-col { padding: 1rem 0; border: 0 !important; }
  .mega-col { padding-top: 1.2rem; border-top: 1px solid var(--line-soft) !important; }
  .mega-col:nth-child(3) { grid-column: auto; }
  .mega-quicklinks a:hover { background: none; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: .6rem; margin-top: 1rem; }
  .nav-cta .btn { padding: .8rem 1rem; font-size: .95rem; }

  .shot-hero { transform: none; margin-top: 2.2rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid, .stat-grid.cols-3 { grid-template-columns: 1fr; gap: 1.6rem; }
  .cta-features { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .step { grid-template-columns: 1fr; gap: .4rem; }
  .spotlight { grid-template-columns: 1fr; }
  .value-item { grid-template-columns: 1fr; text-align: center; padding: 1.6rem; }
  .value-visual { margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .card { padding: 1.4rem 1.3rem; }
}
