/* ============================================================
   GIBLEX V2 — design system
   ============================================================ */

/* — tokens — */
:root {
  --bg:     #1A2338;
  --bg2:    #212B44;
  --panel:  #232D48;
  --raise:  #2C3856;
  --line:   #2C3855;
  --line2:  #3D4F72;
  /* Text is white-based, not blue-grey. Primary is white; secondary and
     tertiary step down through opacity so they read as dulled white rather
     than as a different (bluish) hue. The blue is reserved for --signal. */
  --text:   #FFFFFF;
  --dim:    rgba(255,255,255,.88);
  --faint:  rgba(255,255,255,.58);
  --signal: #5B8A99;
  --signal-dim: rgba(91,138,153,.10);
  --good:   #6FD3A3;
  --warn:   #E0B15A;
  --bad:    #E0796A;
  --accent: #5B8A99;
  --mono:   'IBM Plex Mono', ui-monospace, monospace;
  --sans:   'IBM Plex Sans', system-ui, sans-serif;
  --head:   'Archivo', system-ui, sans-serif;
  --max:    1120px;
}

/* — reset — */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 45% at 12% 8%, rgba(68,192,192,.14), transparent 65%),
    radial-gradient(ellipse 45% 35% at 88% 22%, rgba(12,107,107,.18), transparent 60%),
    radial-gradient(ellipse 55% 40% at 20% 55%, rgba(68,192,192,.09), transparent 65%),
    radial-gradient(ellipse 40% 30% at 92% 68%, rgba(12,107,107,.15), transparent 60%),
    radial-gradient(ellipse 65% 45% at 45% 88%, rgba(68,192,192,.10), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, #12182A 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.1));
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.1));
}
/* Dot field — deliberately readable rather than subliminal. */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
  opacity: .11;
  background-image: radial-gradient(circle, #fff 1.1px, transparent 1.1px);
  background-size: 8px 8px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* — layout — */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* — typography — */
.h-xl { font-family: var(--head); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
.h-lg { font-family: var(--head); font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.h-md { font-family: var(--head); font-size: 1.15rem; font-weight: 600; line-height: 1.2; margin: 0; }
.lede { color: var(--dim); font-size: 1.05rem; line-height: 1.6; max-width: 60ch; margin: 0; }
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); display: block; margin-bottom: .6rem; }
.accent { color: var(--signal); }
.dim { color: var(--dim); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); }

/* — buttons: liquid glass —
   Pill-shaped, with no interior sheen: the glass reads from the edge alone.
   The rim is a gradient ring (brightest at the top-right and bottom-left
   corners) drawn on ::after and masked to 1px, so it never tints the face —
   a gradient under a translucent fill would bleed through as a shine. Add a
   thin inner rim light along the top, a faint inner shade along the bottom,
   and a light backdrop blur. The button drops 1px when pressed. */
.btn {
  --rim: linear-gradient(225deg,
    rgba(233,241,253,.88) 0%, rgba(176,203,232,.30) 22%,
    rgba(150,180,215,.14) 45%, rgba(150,180,215,.14) 55%,
    rgba(176,203,232,.32) 78%, rgba(233,241,253,.82) 100%);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.3rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;                       /* <button> would otherwise use the system font */
  font-size: .88rem; font-weight: 600;
  color: var(--text); cursor: pointer;
  background: linear-gradient(180deg, rgba(44,56,86,.30) 0%, rgba(18,24,42,.26) 100%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  backdrop-filter: blur(6px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(233,241,253,.14),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 4px 16px rgba(0,0,0,.22);
  transition: background .18s, box-shadow .18s, transform .15s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: var(--rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn:hover {
  --rim: linear-gradient(225deg,
    rgba(244,249,255,.98) 0%, rgba(196,220,245,.48) 22%,
    rgba(170,200,230,.24) 45%, rgba(170,200,230,.24) 55%,
    rgba(196,220,245,.50) 78%, rgba(244,249,255,.95) 100%);
  background: linear-gradient(180deg, rgba(56,71,107,.38) 0%, rgba(24,32,54,.32) 100%);
  box-shadow:
    inset 0 1px 0 rgba(244,249,255,.20),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 6px 22px rgba(0,0,0,.28);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(168,197,232,.45), 0 4px 16px rgba(0,0,0,.22);
}

/* Accent CTA — same face as a plain button; only the rim is brighter and
   carries the accent hue. */
.btn--primary {
  --rim: linear-gradient(225deg,
    rgba(216,246,255,1) 0%, rgba(151,209,226,.62) 20%,
    rgba(127,190,208,.30) 45%, rgba(127,190,208,.30) 55%,
    rgba(151,209,226,.64) 80%, rgba(216,246,255,.97) 100%);
}
.btn--primary:hover {
  --rim: linear-gradient(225deg,
    rgba(233,251,255,1) 0%, rgba(178,228,244,.85) 20%,
    rgba(151,209,226,.48) 45%, rgba(151,209,226,.48) 55%,
    rgba(178,228,244,.88) 80%, rgba(233,251,255,1) 100%);
  box-shadow: inset 0 1px 0 rgba(233,251,255,.22), inset 0 -1px 0 rgba(0,0,0,.18), 0 6px 24px rgba(0,0,0,.28), 0 0 18px rgba(91,138,153,.16);
}
.btn__arr { transition: transform .15s; }
.btn:hover .btn__arr { transform: translateX(3px); }
.btn[disabled] { opacity: .5; pointer-events: none; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__arr { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}

/* — header — */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: #1F2124;                 /* same header colour as the rest of the Giblex site */
  border-bottom: 1px solid #34373C;
}
.site-head .brand { color: #ECEEF0; }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* Wordmark: geometric monoline sans with wide tracking, to match the GIBLEX
   lockup in the logo artwork. Jost is the closest Google-hosted match to the
   Century-Gothic/Futura letterforms used there (round G with a flat crossbar,
   even stroke weight, equal-arm E). Replaces Rajdhani, which was condensed. */
.brand { display: flex; align-items: center; gap: .6rem; font-family: 'Jost', var(--head); font-weight: 500; font-size: 1.05rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text); }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--signal), #3E6E7C); color: #06181D; font-weight: 800; font-size: .85rem; }
.brand-logo { display: block; flex-shrink: 0; }
.brand-wrap { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.brand-suite { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-left: .9rem; border-left: 1px solid var(--line2); white-space: nowrap; }
.brand-suite-logo { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.brand-suite:hover { color: var(--signal); }
@media (max-width: 420px) { .brand-suite { display: none; } }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a, .nav-link { font-size: .95rem; color: var(--dim); padding: .45rem .7rem; border-radius: 6px; transition: color .15s, background .15s; border: none; background: none; }
.header-praxis-link { color: var(--dim) !important; text-decoration: none; }
.header-praxis-link:hover { color: var(--text) !important; background: var(--raise); }
.nav a:hover, .nav-link:hover { color: var(--text); background: var(--raise); }
.nav a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: .5rem; }

/* dropdown */
.has-menu { position: relative; }
.menu-btn { cursor: pointer; }
/* Deep navy panel — dark rather than lifted, with only a trace of the theme's
   teal so it reads as part of the site without glowing. */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 248px;
  border: 1px solid transparent; border-radius: 12px; padding: .3rem;
  background:
    linear-gradient(180deg, rgba(22,30,52,.985) 0%, rgba(13,18,33,.985) 100%) padding-box,
    linear-gradient(225deg,
      rgba(210,224,244,.46) 0%, rgba(120,150,190,.14) 30%,
      rgba(120,150,190,.12) 70%, rgba(210,224,244,.40) 100%) border-box;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s, transform .2s; transition-delay: .25s;
  z-index: 60; display: flex; flex-direction: column; gap: 1px;
}
.dropdown::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: -1;
  background: radial-gradient(70% 55% at 15% 8%, rgba(68,192,192,.05), transparent 70%);
}
/* Invisible bridge across the 8px gap so the menu stays hoverable while the
   mouse travels from the button down onto the items (the gap used to drop hover). */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.dropdown a { position: relative; display: flex; align-items: center; gap: .55rem; padding: .3rem .5rem; border-radius: 8px; font-size: .85rem; color: var(--dim); transition: background .15s, color .15s; }
.dropdown a:hover { background: rgba(255,255,255,.055); color: var(--text); }
.dropdown .dd-ico { width: 38px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; flex: none; }
.dropdown .dd-ico--color { filter: none; }

/* Phantom Obscura's row: the link still navigates; the caret beside it opens
   the sub-pages, which stay collapsed until asked for. */
.dd-group { display: flex; align-items: stretch; gap: 1px; }
.dd-group > a { flex: 1 1 auto; min-width: 0; }
.dd-toggle {
  flex: none; width: 30px; padding: 0; border: none; background: none;
  border-radius: 8px; color: var(--faint); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.dd-toggle:hover { background: rgba(255,255,255,.08); color: var(--text); }
.dd-toggle svg { transition: transform .2s; }
.dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dd-sublist { display: none; flex-direction: column; gap: 1px; }
.dd-sublist.is-open { display: flex; }

/* Features and Free vs Pro belong to Phantom Obscura, so they are indented
   under it and joined by a rail rather than sitting as siblings. */
.dropdown .dd-sub { margin-left: 1.4rem; font-size: .8rem; }
.dropdown .dd-sub .dd-ico { width: 24px; height: 24px; opacity: .62; }
.dropdown .dd-sub::before {
  content: ""; position: absolute; left: -.8rem; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,.18);
}
/* Elbow into the last child so the group reads as closed. */
.dropdown .dd-sub--last::before { bottom: 50%; }
.dropdown .dd-sub--last::after {
  content: ""; position: absolute; left: -.8rem; top: 50%;
  width: .5rem; height: 1px; background: rgba(255,255,255,.18);
}
.dropdown .tag { font-family: var(--mono); font-size: .65rem; padding: .15rem .4rem; border-radius: 4px; background: var(--signal-dim); color: var(--signal); margin-left: auto; }

/* mobile menu */
.menu-toggle { display: none; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--dim); background: none; border: 1px solid var(--line2); padding: .4rem .8rem; border-radius: 6px; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: calc(100% + 6px); right: 16px;
    width: min(280px, calc(100vw - 32px));
    background: var(--panel); border: 1px solid var(--line2); border-radius: 10px;
    flex-direction: column; align-items: stretch; padding: .6rem; gap: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    opacity: 0; transform: translateY(-6px); pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    max-height: calc(100vh - 96px); overflow-y: auto;
    z-index: 100;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a, .nav-link { font-size: .9rem; padding: .55rem .7rem; }
  .nav-cta { margin-left: 0; margin-top: .4rem; text-align: center; justify-content: center; }
  .has-menu .dropdown { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: none; background: transparent; padding: 0 0 0 .8rem; min-width: 0; }
}

/* — shared Giblex/Praxis header treatment — */
.site-head {
  background: rgba(22,24,27,.96);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-head .brand { color: #ECEEF0; }
.site-head .nav { gap: 1.6rem; }
.site-head .nav a, .site-head .nav-link { color: #A3AAB2; background: none; padding: .4rem 0; border-radius: 0; }
.site-head .nav a:hover, .site-head .nav-link:hover { color: #ECEEF0; background: none; }
.site-head .menu-toggle { color: #ECEEF0; border-color: #2A2D31; border-radius: 999px; }
.site-head .has-menu { position: relative; }
.site-head .has-menu > .menu-btn { display: inline-flex; align-items: center; gap: .35rem; font: inherit; }
.site-head .tab-dd__caret { font-size: .7em; opacity: .7; transition: transform .2s ease; }
.site-head .has-menu.open .tab-dd__caret { transform: rotate(180deg); }
.site-head .dropdown {
  top: calc(100% + 12px); left: auto; right: 0; min-width: 240px;
  padding: .4rem; border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  background: rgba(20,24,29,.48);
  backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.site-head .dropdown::after { background: none; }
.site-head .dropdown a { color: #DCE2E6; padding: .58rem .7rem; border-radius: 9px; }
.site-head .dropdown a:hover { color: #FFF; background: rgba(255,255,255,.10); }
.site-head .dropdown .btn--primary { color: #FFF; justify-content: center; margin-top: .2rem; padding: .6rem .8rem; }
@media (max-width: 860px) {
  .site-head .nav { gap: 2px; }
  .site-head .dropdown { position: static; min-width: 0; margin-top: .2rem; padding-left: .7rem; }
  .site-head .has-menu.open .dropdown { display: flex; }
  .site-head .has-menu:not(.open) .dropdown { display: none; }
}

/* — sections — */
.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head .lede { margin-top: .6rem; }
.divider { border-top: 1px solid var(--line); }

/* — hero — */
.hero { padding-top: 5rem; padding-bottom: 3rem; }   /* block only: side padding comes from .wrap */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero .h-xl { margin-bottom: 1.2rem; }
.hero .lede { margin-bottom: 1.5rem; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-meta .k { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--signal); }
.hero-meta .l { font-family: var(--mono); font-size: .7rem; color: var(--faint); letter-spacing: .06em; }

/* readout */
.readout {
  border: 1px solid #10162A;
  border-top-color: #0B0F1E;
  border-radius: 10px;
  background: #161D30;
  overflow: hidden;
  font-size: .85rem;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(0,0,0,.35),
    inset 0 -1px 0 rgba(255,255,255,.03),
    0 1px 0 rgba(255,255,255,.04);
}
.readout-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: #131A2C; font-family: var(--mono); font-size: .72rem; color: var(--faint); letter-spacing: .04em; border-bottom: 1px solid #0F1424; box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.readout-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); flex: none; }
.readout-bar .spacer { margin-left: auto; }
.readout-row { display: flex; gap: 1rem; padding: .55rem .9rem; border-bottom: 2px solid #232D48; box-shadow: 0 2px 0 rgba(255,255,255,.08), 0 4px 3px -2px rgba(0,0,0,.35); position: relative; }
.readout-row:last-child { border-bottom: 0; box-shadow: none; }
.readout-row .k { font-family: var(--mono); font-size: .7rem; color: var(--signal); min-width: 80px; flex: none; letter-spacing: .04em; box-shadow: inset -1px 0 0 rgba(255,255,255,.09), 1px 0 0 rgba(0,0,0,.55), 2px 0 2px -1px rgba(0,0,0,.35); }
.readout-row .v { color: var(--dim); font-size: .82rem; }

/* — model grid — */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.model-cell { padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.model-cell .idx { font-family: var(--mono); font-size: .7rem; color: var(--signal); letter-spacing: .08em; display: block; margin-bottom: .7rem; }
.model-cell .h-md { margin-bottom: .5rem; }
.model-cell p { color: var(--dim); font-size: .9rem; margin: 0; }

/* — product cards — */
/* Four Phantom products — one row on desktop, no orphan card. */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.prod-card {
  display: flex; flex-direction: column; padding: 1.5rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.prod-card:hover { border-color: var(--signal); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.pc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.pc-id { font-family: var(--mono); font-size: .68rem; color: var(--faint); letter-spacing: .1em; }
.pc-ico { font-size: 1.3rem; color: var(--dim); display: flex; align-items: center; justify-content: center; }
.pc-ico img { width: 88px; height: 88px; object-fit: contain; filter: brightness(0) invert(1); }
.pc-ico.pc-ico--color img { filter: none; }
.prod-card h3 { font-family: var(--head); font-size: 1.1rem; font-weight: 600; margin: 0 0 .5rem; }
.prod-card p { color: var(--dim); font-size: .88rem; margin: 0 0 1rem; flex: 1; }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag-chip { font-family: var(--mono); font-size: .65rem; padding: .2rem .5rem; border-radius: 4px; border: 1px solid var(--line2); color: var(--faint); }
.pc-link { font-family: var(--mono); font-size: .78rem; color: var(--signal); display: flex; align-items: center; gap: .3rem; margin-top: auto; }

/* — spotlight — */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.spotlight-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: var(--raise); }
.spotlight-shot img { width: 100%; display: block; }
.spotlight ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.spotlight li { position: relative; padding-left: 1.2rem; margin-bottom: .5rem; color: var(--dim); font-size: .92rem; }
.spotlight li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* — credibility cards — */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cred-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.cred-card .num { font-family: var(--mono); font-size: .72rem; color: var(--signal); display: block; margin-bottom: .7rem; }
.cred-card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 600; margin: 0 0 .5rem; }
.cred-card p { color: var(--dim); font-size: .88rem; margin: 0 0 1rem; }
.cred-card a { font-family: var(--mono); font-size: .78rem; color: var(--signal); display: inline-flex; align-items: center; gap: .3rem; }

/* — CTA band — */
.cta-band { text-align: center; padding: 3.5rem 2rem; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, var(--panel), var(--raise)); }
.cta-band .eyebrow { margin-bottom: .5rem; }
.cta-band .h-lg { margin-bottom: .8rem; }
.cta-band .lede { margin: 0 auto .8rem; text-align: center; }
.cta-band .hero-cta { justify-content: center; margin-top: 1.5rem; }

/* — page hero (subpages) — */
.page-hero { padding-top: 3.5rem; padding-bottom: 2.5rem; }   /* block only: side padding comes from .wrap */
.breadcrumb { font-family: var(--mono); font-size: .72rem; color: var(--faint); margin-bottom: 1rem; }
.breadcrumb a { color: var(--signal); }
.page-hero .eyebrow { margin-bottom: .5rem; }
.page-hero .h-xl { margin-bottom: .8rem; }

/* — doc grid (security / about) — */
.doc-grid { display: grid; grid-template-columns: 200px 1fr; gap: 3rem; }
.anchor-nav { position: sticky; top: 80px; align-self: start; display: flex; flex-direction: column; gap: .3rem; }
.anchor-nav a { font-family: var(--mono); font-size: .78rem; color: var(--faint); padding: .4rem 0; border-left: 2px solid transparent; padding-left: .8rem; transition: color .15s, border-color .15s; }
.anchor-nav a:hover { color: var(--text); border-left-color: var(--line2); }

/* prose */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--head); font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 .8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 { font-family: var(--head); font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.prose p { color: var(--dim); margin: 0 0 1rem; }
.prose ul { color: var(--dim); padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--signal); }

/* — form — */
.form-grid { display: flex; flex-direction: column; gap: 1rem; }
.field label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .65rem .8rem; border-radius: 8px;
  border: 1px solid var(--line2); background: var(--raise); color: var(--text);
  font-family: var(--sans); font-size: .9rem; outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal); }
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }

/* — services model-grid reuse — */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.svc-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.svc-card .tag-chip { margin-bottom: .7rem; display: inline-block; }
.svc-card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 600; margin: 0 0 .5rem; }
.svc-card p { color: var(--dim); font-size: .88rem; margin: 0 0 .8rem; }
.svc-card ul { color: var(--dim); font-size: .85rem; padding-left: 1.1rem; margin: 0; }
.svc-card li { margin-bottom: .3rem; }

/* engagement columns */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.engage-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.engage-card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 600; margin: 0 0 .5rem; }
.engage-card p { color: var(--dim); font-size: .88rem; margin: 0 0 .8rem; }
.engage-card ul { color: var(--dim); font-size: .85rem; padding-left: 1.1rem; margin: 0; }

/* process steps */
.process-steps { counter-reset: step; display: grid; gap: 1rem; }
.process-step { padding: 1.5rem; padding-left: 4rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); position: relative; }
.process-step::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 1.3rem; top: 1.5rem; font-family: var(--mono); font-size: .75rem; color: var(--signal); letter-spacing: .06em; }
.process-step h3 { font-family: var(--head); font-size: 1rem; font-weight: 600; margin: 0 0 .4rem; }
.process-step p { color: var(--dim); font-size: .88rem; margin: 0; }

/* — download cards — */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.dl-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.dl-card .tag-chip { margin-bottom: .7rem; display: inline-block; }
.dl-card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 600; margin: 0 0 .5rem; }
.dl-card p { color: var(--dim); font-size: .88rem; margin: 0 0 1rem; }
.dl-card .hero-cta { margin-top: 0; }

/* — pricing cards — */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.price-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); display: flex; flex-direction: column; }
.price-card h3 { font-family: var(--head); font-size: 1.3rem; font-weight: 700; margin: .5rem 0; }
.price-card p { color: var(--dim); font-size: .88rem; margin: 0 0 .8rem; }
.price-card ul { color: var(--dim); font-size: .85rem; padding-left: 1.1rem; margin: 0 0 1.2rem; flex: 1; }
.price-card li { margin-bottom: .3rem; }

/* — sunken non-interactive tiles — */
.model-cell,
.cred-card,
.svc-card,
.engage-card,
.dl-card,
.price-card,
.cta-band {
  background: #161D30;
  border: 1px solid #10162A;
  border-top-color: #0B0F1E;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(0,0,0,.35),
    inset 0 -1px 0 rgba(255,255,255,.03),
    0 1px 0 rgba(255,255,255,.04);
}

/* — footer — */
.site-foot { border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand { margin-bottom: 1rem; }
.foot-brand p { color: var(--faint); font-size: .82rem; line-height: 1.5; margin-top: .6rem; }
.foot-col h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 .8rem; }
.foot-col a { display: block; font-size: .85rem; color: var(--dim); padding: .25rem 0; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--faint); }
.foot-base .state { display: flex; align-items: center; gap: .5rem; }
.foot-base .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }

/* — scroll reveal — */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* — back to top — */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line2); background: var(--panel);
  color: var(--dim); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .25s, transform .25s, border-color .2s, color .2s;
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { border-color: var(--signal); color: var(--signal); }

/* — intro cover: auto-assemble → scramble text → scroll swing/unlock — */
.intro-spacer { height: 0; }
.intro-cover {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px, 40px 40px, 8px 8px, 100% 100%;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateY(calc(-100% * var(--intro-exit, 0)))
             scale(calc(1 - .06 * var(--intro-exit, 0)));
  opacity: calc(1 - var(--intro-exit, 0) * var(--intro-exit, 0));
}
.intro-cover__content {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  position: relative;
}
.intro-cover__logo-frame {
  position: relative;
  width: clamp(180px, 30vw, 320px); height: clamp(180px, 30vw, 320px);
}
.intro-cover__part {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  will-change: transform, opacity;
}
.intro-cover__part--1 {
  transform: translate(
    calc(-140px * (1 - var(--intro-assemble, 0))),
    calc(-120px * (1 - var(--intro-assemble, 0)))
  );
  opacity: calc(.15 + .85 * var(--intro-assemble, 0));
}
.intro-cover__part--2 {
  transform-origin: 52% 52%;
  transform: translate(
    calc(140px * (1 - var(--intro-assemble, 0))),
    calc(120px * (1 - var(--intro-assemble, 0)))
  ) rotate(calc(var(--intro-swing-deg, 0) * 1deg));
  opacity: calc(.15 + .85 * var(--intro-assemble, 0));
}
.intro-cover__title {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 500;
  letter-spacing: .22em; color: var(--text);
  opacity: var(--intro-text, 0);
  transform: translateY(calc(14px * (1 - var(--intro-text, 0))));
  min-width: 8ch; text-align: center;
}
/* Once the scramble resolves it is the wordmark, so it settles into the
   same face as .brand rather than into the generic heading font. */
.intro-cover--ready .intro-cover__title {
  font-family: 'Jost', var(--head); font-weight: 500;
}
.intro-cover__tagline {
  margin-top: 10px;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--dim); letter-spacing: .04em;
  opacity: var(--intro-text, 0);
  transform: translateY(calc(10px * (1 - var(--intro-text, 0))));
}
.intro-cover[data-done] { display: none; }

.site-head .has-menu:hover > .dropdown,
.site-head .has-menu:focus-within > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.site-head .has-menu > .menu-btn { cursor: pointer; }

@media (max-width: 760px) {
  .intro-cover__logo-frame { width: clamp(120px, 40vw, 200px); height: clamp(120px, 40vw, 200px); }
  .intro-cover__part--1 {
    transform: translate(
      calc(-80px * (1 - var(--intro-assemble, 0))),
      calc(-70px * (1 - var(--intro-assemble, 0)))
    );
  }
  .intro-cover__part--2 {
    transform: translate(
      calc(80px * (1 - var(--intro-assemble, 0))),
      calc(70px * (1 - var(--intro-assemble, 0)))
    ) rotate(calc(var(--intro-swing-deg, 0) * 1deg));
  }
  .intro-cover__title { margin-top: 10px; font-size: clamp(1.5rem, 8vw, 2.4rem); letter-spacing: .16em; }
  .intro-cover__tagline { font-size: clamp(.82rem, 3vw, 1rem); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-spacer { display: none; }
  .intro-cover { display: none; }
}

/* — responsive — */
/* Four across gets cramped before the 900px breakpoint; step down early. */
@media (max-width: 1040px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .readout { display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .anchor-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
  .anchor-nav a { border-left: none; padding-left: 0; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 6px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .prod-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; gap: .5rem; align-items: flex-start; }
}

/* Phantom Suite visual identity — current suite mark and four-product banner */
.suite-brand-panel { display: grid; grid-template-columns: minmax(92px, 140px) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.25rem); padding: clamp(1rem, 3vw, 2rem); margin: 1.25rem auto 0; border: 1px solid var(--line2); border-radius: 16px; background: linear-gradient(135deg, rgba(10, 35, 43, .72), rgba(7, 20, 27, .5)); overflow: hidden; }
.suite-brand-panel__logo { display: block; width: 100%; max-width: 140px; height: auto; object-fit: contain; justify-self: center; }
.suite-brand-panel__banner { display: block; width: 100%; max-height: 220px; height: auto; object-fit: contain; }
@media (max-width: 560px) { .suite-brand-panel { grid-template-columns: 1fr; gap: .75rem; padding: 1rem; } .suite-brand-panel__logo { max-width: 92px; } .suite-brand-panel__banner { max-height: 180px; } }