/* ── Safeware Design System tokens (variables only) ─────────────────────────
   Canonical: site/assets/design/tokens/  ·  mirror docs: design/  ·  sync: docs/DESIGN-SYSTEM-SYNC.md
   base.css + fonts.css are deliberately NOT imported here (element resets +
   webfont fetch); the full set loads on site/design-system.html only.
   13 legacy var names below shadow token names by cascade order (site values
   win): --amber-500 --font-body --font-mono --fw-regular --ink-900 --lh-tight
   --radius-lg --radius-md --radius-sm --radius-xl --shadow-1 --shadow-2 --white.
   Migration: rename the legacy vars, then delete this note. */
@import url("./assets/design/tokens/colors.css");
@import url("./assets/design/tokens/typography.css");
@import url("./assets/design/tokens/space.css");
@import url("./assets/design/tokens/shape.css");
@import url("./assets/design/tokens/elevation.css");
@import url("./assets/design/tokens/motion.css");
@import url("./assets/design/tokens/keyframes.css");
@import url("./assets/design/tokens/semantic-light.css");
@import url("./assets/design/tokens/semantic-dark.css");

:root {
  --ink-980: #040913;
  --ink-950: #07122c;
  --ink-900: #0b1c51;
  --ink-840: #0f275f;
  --ink-820: #153067;
  --ink-760: #1f4b87;
  --azure-700: #1a58a8;
  --azure-600: #1f76c4;
  --azure-500: #2792d8;
  --cyan-450: #48d5ff;
  --cyan-350: #9aecff;
  --slate-200: #9db0cf;
  --slate-100: #d9e4f4;
  --slate-50: #f3f7fd;
  --white: #ffffff;
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --shadow-1: 0 16px 46px rgba(3, 8, 20, 0.34);
  --shadow-2: 0 32px 70px rgba(3, 8, 20, 0.45);
  --font-headline: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "DM Mono", "Courier New", monospace;
  --space-section: clamp(3rem, 5.4vw, 6.1rem);
  --max-content: 1180px;
  --border-soft: rgba(141, 219, 255, 0.24);
  --motion-fast: 180ms;
  --motion-mid: 320ms;
  /* Scroll-driven gradient variables */
  --spot-x: -12%;
  --spot-y: -8%;
  color-scheme: dark;
}

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

::selection {
  background: rgba(72, 213, 255, 0.28);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--cyan-450);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background:
    radial-gradient(95rem 56rem at var(--spot-x) var(--spot-y), rgba(45, 132, 255, 0.28), transparent 58%),
    radial-gradient(72rem 50rem at 110% 10%, rgba(35, 207, 255, 0.18), transparent 52%),
    linear-gradient(146deg, #040811 0%, #08152a 42%, #040811 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.01em;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(117, 180, 222, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.3;
  z-index: -1;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  width: auto;
  height: auto;
  clip: auto;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--cyan-350);
  color: var(--ink-950);
  padding: 0.45rem 0.7rem;
  border-radius: 2px;
  font-weight: 600;
}

/* ── Utility Bar ─────────────────────────────────────────── */
.utility-bar {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.55rem clamp(1rem, 2vw, 1.9rem);
  border-bottom: 1px solid rgba(45, 132, 255, 0.32);
  background: linear-gradient(90deg, rgba(3, 8, 20, 0.95), rgba(8, 19, 44, 0.9));
  font-size: 0.82rem;
  color: rgba(222, 235, 251, 0.92);
}

.partner-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.partner-label {
  margin: 0;
  color: rgba(209, 224, 242, 0.9);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.partner-logo {
  width: 6.7rem;
  height: auto;
  display: block;
}

.utility-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.language-picker-label {
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(209, 224, 242, 0.68);
}

.language-picker {
  min-width: 9rem;
  max-width: 12rem;
  border: 1px solid rgba(141, 219, 255, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(12, 28, 52, 0.92), rgba(6, 15, 30, 0.92));
  color: rgba(239, 248, 255, 0.94);
  padding: 0.32rem 1.85rem 0.32rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.2;
}

.language-picker:focus-visible {
  outline: 2px solid var(--cyan-450);
  outline-offset: 2px;
}

.utility-links a {
  color: var(--cyan-350);
  font-weight: 500;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-left: 1px solid rgba(141, 219, 255, 0.32);
}

.utility-links a:hover {
  color: var(--white);
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  padding: 0.62rem clamp(1rem, 2.1vw, 2rem);
  border-bottom: 1px solid rgba(45, 132, 255, 0.18);
  backdrop-filter: blur(16px) saturate(1.4);
  background:
    linear-gradient(95deg, rgba(4, 8, 17, 0.96), rgba(7, 15, 31, 0.91)),
    rgba(4, 8, 17, 0.92);
  transition: border-color var(--motion-mid) ease, box-shadow var(--motion-mid) ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(35, 207, 255, 0.22);
  box-shadow: 0 1px 28px rgba(35, 207, 255, 0.08), 0 4px 20px rgba(4, 8, 15, 0.5);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.65rem, 1.05vw, 0.9rem);
  flex: 0 0 auto;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  flex: 0 0 auto;
}

.partner-brand {
  min-width: 0;
}

.brand-mark {
  height: clamp(2rem, 2.5vw, 2.35rem);
  width: auto;
  max-width: min(11.2rem, 17vw);
  object-fit: contain;
  display: block;
}

.brand-mark--safeware {
  height: clamp(1.55rem, 1.9vw, 1.85rem);
  max-width: min(9.6rem, 14vw);
  opacity: 0.92;
  transform: translateY(-2px);
}

.brand-mark--glasswall {
  height: clamp(2rem, 2.5vw, 2.35rem);
  max-width: min(11.6rem, 17vw);
}

.brand-separator {
  display: block;
  width: 1px;
  height: clamp(1.7rem, 2.15vw, 2.05rem);
  background: rgba(190, 220, 246, 0.42);
  flex: 0 0 auto;
}

.partner-brand:hover .brand-mark,
.partner-brand:focus-visible .brand-mark {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  flex-wrap: nowrap;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-link {
  color: rgba(222, 235, 251, 0.94);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  padding: 0.46rem 0.54rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 2.12rem;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.nav-link:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan-350);
  border-color: rgba(45, 132, 255, 0.36);
  background: rgba(18, 41, 75, 0.56);
}

.nav-item {
  position: static;
}

.nav-trigger {
  cursor: pointer;
  background: transparent;
  font: inherit;
}

.nav-chevron {
  cursor: pointer;
  background: transparent;
  border: none;
  color: rgba(222, 235, 251, 0.85);
  font-size: 0.92rem;
  padding: 0.45rem 0.35rem;
  margin-left: -0.15rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.nav-chevron:focus-visible { outline: 2px solid var(--cyan-450); outline-offset: 2px; }

.nav-chevron:hover {
  color: var(--cyan-350);
}

.nav-chevron[aria-expanded="true"] {
  color: var(--cyan-350);
  transform: rotate(180deg);
}

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0;
  border: 1px solid rgba(45, 132, 255, 0.22);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(140% 120% at 100% -10%, rgba(35, 207, 255, 0.18), transparent 56%),
    linear-gradient(180deg, rgba(10, 25, 50, 0.99), rgba(7, 15, 31, 0.99));
  box-shadow: var(--shadow-2);
  padding: 1.25rem clamp(1rem, 2.1vw, 2rem);
}

.mega-title {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  color: var(--cyan-350);
  text-transform: uppercase;
}

.mega-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-grid a {
  display: grid;
  gap: 0.32rem;
  text-decoration: none;
  border: 1px solid rgba(45, 132, 255, 0.22);
  border-radius: var(--radius-md);
  background: rgba(13, 30, 57, 0.82);
  padding: 0.72rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--motion-fast) ease, transform var(--motion-fast) ease, background var(--motion-fast) ease;
}

.mega-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 207, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
  pointer-events: none;
}

.mega-grid a strong {
  color: var(--white);
  font-size: 0.9rem;
}

.mega-grid a span {
  font-size: 0.8rem;
  color: rgba(217, 230, 242, 0.65);
  line-height: 1.45;
}

.mega-grid a:hover,
.mega-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(125, 233, 255, 0.5);
  background: rgba(18, 40, 80, 0.9);
}

.mega-grid a:hover::after {
  opacity: 1;
}

.nav-demo-link {
  background: linear-gradient(126deg, #2f8ed4, #4fc2ef);
  color: #08163d;
  font-weight: 700;
  margin-left: 0.25rem;
  position: relative;
  overflow: hidden;
}

.nav-demo-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-15deg);
  opacity: 0;
  transition: none;
}

.nav-demo-link:hover {
  color: #041531;
  border-color: transparent;
  background: linear-gradient(126deg, #3ea7dc, #67d3f8);
}

@keyframes pulse-once {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(35, 207, 255, 0.5); }
  40%  { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(35, 207, 255, 0); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(35, 207, 255, 0); }
}

.nav-demo-link.pulse-once {
  animation: pulse-once 600ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 0 auto;
  min-width: 0;
}

.header-demo-link {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  padding: 0 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(29, 96, 234, 0.3);
  letter-spacing: 0.01em;
}
.header-demo-link::after { content: "\2192"; margin-left: 0.4rem; font-weight: 700; }
.header-demo-link:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(35, 207, 255, 0.32); }

.menu-toggle {
  display: none;
  border: 1px solid rgba(141, 219, 255, 0.35);
  background: transparent;
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  font: inherit;
}

/* ── Page Layout ─────────────────────────────────────────── */
main {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section {
  padding: var(--space-section) 0;
  position: relative;
  border-top: 1px solid rgba(141, 219, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

main > .section:first-child {
  border-top: 0;
}

/* Gradient divider between sections */
.section:not(.hero):not(.cta-band)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.14) 50%, transparent);
  pointer-events: none;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(3.2rem, 6vw, 5.4rem);
  overflow: hidden;
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 17ch;
  font-family: var(--font-headline);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
  text-shadow: 0 0 80px rgba(35, 207, 255, 0.22), 0 2px 6px rgba(0, 0, 0, 0.55);
}

h2,
h3,
h4 {
  font-family: var(--font-headline);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
}

.section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h3 {
  font-size: clamp(1.07rem, 2vw, 1.28rem);
  margin: 0 0 0.5rem;
}

.feature-card h3,
.info-card h3,
.plan-card h3,
.resource-card h3 {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
}

h4 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.lead {
  max-width: 68ch;
  color: rgba(217, 230, 242, 0.95);
  margin: 0 0 1rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.hero-support {
  margin: 0;
  max-width: 72ch;
  color: rgba(213, 229, 250, 0.88);
}

/* ── Hero Visual ─────────────────────────────────────────── */
.hero-visual-slot {
  position: relative;
  margin: 1.25rem 0 0;
  border: 1px solid rgba(72, 213, 255, 0.33);
  border-radius: var(--radius-md);
  background:
    radial-gradient(140% 120% at 100% -20%, rgba(35, 207, 255, 0.24), transparent 58%),
    linear-gradient(150deg, rgba(8, 20, 40, 0.95), rgba(8, 16, 30, 0.96));
  overflow: hidden;
  max-width: 760px;
  box-shadow: var(--shadow-1), 0 0 60px rgba(35, 207, 255, 0.06);
}

.hero-visual-slot figcaption {
  margin: 0;
  padding: 0.72rem 1rem;
  font-size: 0.78rem;
  color: rgba(213, 229, 250, 0.84);
  border-top: 1px solid rgba(72, 213, 255, 0.22);
}

.hero-schematic-image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(1.15) contrast(0.92);
}

.hero-visual-grid {
  min-height: clamp(11rem, 22vw, 14rem);
  padding: clamp(0.95rem, 1.8vw, 1.2rem);
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -2.8rem;
  position: relative;
  z-index: 2;
}

.hero-node {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(125, 233, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(45, 132, 255, 0.2), rgba(35, 207, 255, 0.1)),
    rgba(10, 24, 48, 0.82);
  padding: 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(229, 240, 255, 0.94);
  display: flex;
  align-items: center;
}

.hero-node:nth-child(1) {
  grid-column: span 2;
}

.hero-node:nth-child(4) {
  grid-column: span 2;
}

.hero-visual-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 0.9rem;
}

.hero-visual-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  border-radius: 2px;
  border: 1px solid rgba(157, 225, 255, 0.28);
  padding: 0.2rem 0.62rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(225, 239, 255, 0.92);
  background: rgba(10, 24, 48, 0.7);
}

/* ── Buttons ─────────────────────────────────────────────── */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-sm);
  padding: 0.72rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  background: linear-gradient(128deg, var(--azure-600), var(--cyan-450));
  color: #05152d;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(29, 96, 234, 0.34);
  position: relative;
  overflow: hidden;
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-15deg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(35, 207, 255, 0.28);
  background: linear-gradient(128deg, var(--azure-500), var(--cyan-350));
}

.btn-secondary {
  border-color: rgba(125, 233, 255, 0.38);
  color: var(--white);
  background: rgba(12, 25, 50, 0.56);
  transition: border-color var(--motion-fast) ease, color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.btn-secondary:hover {
  border-color: var(--azure-500);
  color: var(--cyan-350);
  background: rgba(18, 41, 75, 0.62);
}

/* ── Trust Chips ─────────────────────────────────────────── */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.trust-chips span {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(160, 210, 255, 0.8);
  background: rgba(35, 100, 200, 0.12);
  border: 1px solid rgba(35, 150, 255, 0.2);
  border-radius: 2rem;
  padding: 0.28rem 0.75rem;
  white-space: nowrap;
}

/* ── Hero Stats ──────────────────────────────────────────── */
.hero-stats-split {
  margin-top: 1.85rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 3fr 1fr;
  align-items: start;
}

.hero-stats-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-stats-group--accent {
  border-left: 1px solid rgba(72, 213, 255, 0.22);
  padding-left: 1rem;
}

.stats-group-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(157, 176, 207, 0.7);
}

.hero-stats,
.kpi-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-stats--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats--1col {
  grid-template-columns: 1fr;
}

.hero-stats article,
.kpi-grid article {
  border: 1px solid rgba(139, 255, 216, 0.17);
  background: linear-gradient(160deg, rgba(13, 25, 45, 0.92), rgba(10, 18, 32, 0.7));
  border-radius: var(--radius-md);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--motion-mid) ease, transform var(--motion-mid) ease, box-shadow var(--motion-mid) ease;
}

.hero-stats article::before,
.kpi-grid article::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 207, 255, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity var(--motion-mid) ease;
}

.hero-stats article:hover,
.kpi-grid article:hover {
  border-color: rgba(35, 207, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(35, 207, 255, 0.1), 0 8px 24px rgba(4, 8, 15, 0.4);
}

.hero-stats article:hover::before,
.kpi-grid article:hover::before {
  opacity: 1;
}

.stat {
  margin: 0 0 0.25rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan-450) 0%, #a8f3ff 50%, var(--white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  z-index: 1;
}

.hero-stats p,
.kpi-grid p {
  margin: 0;
  color: rgba(217, 230, 242, 0.9);
  font-size: 0.83rem;
  position: relative;
  z-index: 1;
}

/* ── Split Layout ────────────────────────────────────────── */
.split {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.callout {
  border: 1px solid rgba(72, 213, 255, 0.32);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  background:
    radial-gradient(130% 90% at 105% -20%, rgba(96, 240, 192, 0.22), transparent),
    rgba(22, 48, 77, 0.7);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 209, 198, 0.5) 50%, transparent);
}

.callout p {
  margin: 0;
  color: rgba(217, 230, 242, 0.92);
}

.media-callout {
  padding: 0.68rem;
}

.media-callout video {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(141, 219, 255, 0.28);
  background: rgba(5, 14, 31, 0.95);
}

.intro-video .callout {
  align-self: stretch;
}

.media-callout .card-visual {
  height: 220px;
  margin-bottom: 0.5rem;
}

/* ── Grid Systems ────────────────────────────────────────── */
.steps-grid,
.cards-grid,
.timeline-grid,
.resource-grid,
.plan-grid,
.faq-grid,
.mini-cards,
.tab-panels {
  display: grid;
  gap: 0.9rem;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid,
.plan-grid,
.faq-grid,
.mini-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tab-panels {
  grid-template-columns: 1fr;
}

/* ── Cards ───────────────────────────────────────────────── */
.steps-grid article,
.feature-card,
.solution-card,
.usecase-card,
.logo-grid p,
.kpi-card,
.timeline-item,
.resource-card,
.plan-card,
.info-card,
.integration-card,
.compliance-card,
.faq-item,
.tab-panel,
.matrix,
.table-wrap,
.notice {
  border-radius: var(--radius-md);
  border: 1px solid rgba(141, 219, 255, 0.09);
  padding: clamp(1.05rem, 1.5vw, 1.35rem);
  background:
    radial-gradient(110% 100% at 0% 0%, rgba(72, 213, 255, 0.04), transparent 58%),
    linear-gradient(180deg, rgba(12, 24, 43, 0.58), rgba(10, 18, 31, 0.4)),
    rgba(10, 18, 31, 0.48);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.028);
}

.feature-card {
  border-top: 2px solid var(--cyan-450);
  padding-top: 1.25rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(35, 207, 255, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity var(--motion-mid) ease;
  pointer-events: none;
}

.feature-card,
.solution-card,
.usecase-card,
.resource-card,
.plan-card,
.info-card,
.timeline-item {
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.feature-card:hover,
.solution-card:hover,
.usecase-card:hover,
.resource-card:hover,
.plan-card:hover,
.timeline-item:hover {
  transform: translateY(-2px);
  border-color: rgba(132, 243, 212, 0.2);
  background:
    radial-gradient(110% 100% at 0% 0%, rgba(72, 213, 255, 0.06), transparent 58%),
    linear-gradient(180deg, rgba(14, 31, 57, 0.66), rgba(10, 20, 35, 0.46)),
    rgba(10, 20, 35, 0.56);
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(132, 243, 212, 0.26);
}

.feature-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  border-color: rgba(35, 207, 255, 0.28);
  box-shadow:
    0 0 20px rgba(35, 207, 255, 0.1),
    0 10px 28px rgba(4, 8, 15, 0.35);
}

.step {
  margin: 0 0 0.4rem;
  color: var(--cyan-350);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.steps-grid p,
.feature-card p,
.resource-card p,
.plan-card p,
.info-card p,
.timeline-item p,
.tab-panel p,
.notice p,
.matrix p {
  margin: 0;
  color: rgba(217, 230, 242, 0.92);
}

/* ── Pills ───────────────────────────────────────────────── */
.pill-grid,
.tag-row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pill-grid p,
.pill-grid a,
.tag-row span {
  margin: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 0;
  border: 0;
  border-left: 2px solid rgba(141, 219, 255, 0.45);
  color: rgba(217, 230, 242, 0.95);
  background: rgba(22, 48, 77, 0.4);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.pill-grid a {
  cursor: pointer;
}

.pill-grid a:hover {
  border-color: var(--cyan-350);
  color: var(--cyan-350);
  background: rgba(35, 207, 255, 0.08);
  box-shadow: 0 0 12px rgba(35, 207, 255, 0.12);
}

/* ── Section Links ───────────────────────────────────────── */
.section-link {
  margin-top: 1rem;
}

.section-link a,
.inline-link {
  color: var(--cyan-350);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.section-link a::after,
.inline-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--azure-500), var(--cyan-350));
  transform: translateX(-50%);
  transition: width 220ms ease;
}

.section-link a:hover::after,
.inline-link:hover::after {
  width: 100%;
}

.section-link a:hover,
.inline-link:hover {
  color: var(--white);
}

.section-intro {
  margin: 0 0 1rem;
  color: rgba(217, 230, 242, 0.86);
  max-width: 74ch;
}

/* ── Logo / Trusted-By Strip ─────────────────────────────── */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 1.2rem 0 0.4rem;
  border-top: 1px solid rgba(45, 132, 255, 0.14);
}

.logo-grid p {
  margin: 0;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(45, 132, 255, 0.2);
  background: rgba(7, 15, 31, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-headline);
  letter-spacing: 0.02em;
  color: rgba(217, 230, 242, 0.72);
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.logo-grid p:hover {
  border-color: rgba(35, 207, 255, 0.35);
  color: rgba(217, 230, 242, 0.95);
  background: rgba(35, 207, 255, 0.06);
  box-shadow: 0 0 12px rgba(35, 207, 255, 0.08);
}

/* ── Compliance callout label ────────────────────────────── */
.compliance-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-350);
  opacity: 0.8;
}

.compliance-frameworks {
  font-size: 0.88rem;
  color: rgba(217, 230, 242, 0.75);
  letter-spacing: 0.02em;
  line-height: 1.8;
  margin: 0.5rem 0;
}

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  border-top: 1px solid rgba(141, 219, 255, 0.18);
}

/* ── Flowing layouts (less blocky) ────────────────────────── */

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  flex-wrap: wrap;
  padding: 1.8rem 0;
  opacity: 0.55;
  transition: opacity 400ms ease;
}

.trust-bar:hover {
  opacity: 0.85;
}

.trust-bar img {
  height: clamp(1.4rem, 2.2vw, 2rem);
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--motion-fast) ease;
}

.trust-bar span {
  font-family: var(--font-headline);
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(217, 230, 242, 0.7);
}

.trust-bar-label {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(217, 230, 242, 0.4);
  margin-bottom: 0.25rem;
}

.stat-strip {
  display: flex;
  gap: clamp(2rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--azure-500);
  margin: 0 0 0.15rem;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(217, 230, 242, 0.6);
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(141, 219, 255, 0.07);
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list .fl-number {
  color: var(--azure-500);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.3rem;
  min-width: 1.8rem;
  line-height: 1.3;
}

.feature-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  color: rgba(217, 230, 242, 0.75);
  font-size: 0.92rem;
}

.prose {
  max-width: 72ch;
}

.prose p {
  color: rgba(217, 230, 242, 0.88);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.prose ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.prose li {
  color: rgba(217, 230, 242, 0.85);
  margin-bottom: 0.35rem;
}

.prose li::marker {
  color: var(--azure-500);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  color: rgba(217, 230, 242, 0.9);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "\2713";
  color: var(--azure-500);
  font-weight: 700;
  flex-shrink: 0;
}

.product-img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(141, 219, 255, 0.18);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--shadow-1);
}

/* ── Video ───────────────────────────────────────────────── */
.video-wrap {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(45, 132, 255, 0.28);
  box-shadow: 0 0 60px rgba(35, 207, 255, 0.1), var(--shadow-2);
  background: #040811;
}

.hero-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #040811;
}

.section-dark {
  background: rgba(4, 8, 18, 0.7);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(141, 219, 255, 0.1);
}

/* Lighter card variant — less blocky, more breathing room */
.card-light {
  border: 0;
  border-left: 2px solid rgba(141, 219, 255, 0.2);
  border-radius: 0;
  background: transparent;
  padding: 1rem 0 1rem 1.25rem;
  transition: border-color var(--motion-fast) ease;
}

.card-light:hover {
  border-color: var(--azure-500);
  background: transparent;
  transform: none;
  box-shadow: none;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 1rem 0;
}

.logo-strip p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(217, 230, 242, 0.5);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(141, 219, 255, 0.1);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.logo-strip p {
  cursor: default;
}

/* ── Misc ────────────────────────────────────────────────── */
.slim {
  padding-bottom: 2.3rem;
}

.consult-hero {
  width: min(860px, 90vw);
  max-width: 860px;
  margin-inline: auto;
  padding-bottom: clamp(2.8rem, 5vw, 4.6rem);
}

.consult-hero h1 {
  max-width: 12ch;
}

.consult-hero .lead {
  max-width: 760px;
}

.consult-section {
  padding-top: 0;
  border-top: 0;
}

.consult-layout {
  width: min(var(--max-content), 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 4vw, 4.2rem);
  align-items: start;
}

.contact-faq {
  width: min(var(--max-content), 90vw);
  margin-inline: auto;
}

.consult-panel {
  padding-top: clamp(1.4rem, 2vw, 2rem);
  border-top: 1px solid rgba(154, 236, 255, 0.12);
}

.consult-panel h2 {
  max-width: 620px;
  margin-bottom: 0.75rem;
}

.consult-intro {
  max-width: 720px;
  margin: 0;
  color: rgba(217, 230, 242, 0.72);
  line-height: 1.75;
}

.consult-fit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.consult-fit span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(154, 236, 255, 0.1);
  background: rgba(8, 18, 33, 0.38);
  color: rgba(232, 242, 255, 0.76);
  padding: 0.32rem 0.66rem;
  font-size: 0.78rem;
  border-radius: 999px;
}

.consult-aside {
  position: sticky;
  top: 6.4rem;
  display: grid;
  gap: 1.4rem;
}

.consult-process,
.contact-links {
  border-top: 1px solid rgba(154, 236, 255, 0.14);
  padding-top: 1.1rem;
}

.consult-process h3,
.contact-links h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.contact-links {
  display: grid;
  gap: 0.7rem;
}

.contact-links a {
  color: var(--cyan-350);
  text-decoration: none;
  font-weight: 600;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--white);
}

/* ── Filters ─────────────────────────────────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.filters label {
  display: grid;
  gap: 0.38rem;
  min-width: 14rem;
  color: rgba(217, 230, 242, 0.9);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.filters select,
.field,
input[type="number"],
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(141, 219, 255, 0.18);
  background: rgba(5, 13, 25, 0.86);
  color: var(--white);
  padding: 0.56rem 0.68rem;
  font: inherit;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
  grid-column: 1 / -1;
}

.results-label {
  margin: 0.2rem 0 0.8rem;
  color: rgba(217, 230, 242, 0.85);
  font-size: 0.9rem;
}

/* ── Contact Form with Floating Labels ───────────────────── */
.contact-form {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: clamp(1.4rem, 2.4vw, 2rem);
  border-top: 1px solid rgba(45, 132, 255, 0.08);
}

.contact-form .form-grid {
  margin-bottom: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  color: rgba(217, 230, 242, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 2.8rem;
  border-color: rgba(141, 219, 255, 0.16);
  background: rgba(4, 11, 22, 0.66);
}

.contact-form textarea {
  min-height: 8.2rem;
}

.form-field {
  position: relative;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1.4rem 1rem 0.55rem;
  background: rgba(7, 15, 31, 0.85);
  border: 1px solid rgba(45, 132, 255, 0.22);
  border-radius: var(--radius-md);
  color: var(--white);
  font: inherit;
  font-size: 0.93rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  resize: none;
}

.form-field textarea {
  padding-top: 1.6rem;
  min-height: 6.5rem;
  resize: vertical;
}

.form-field label {
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  font-size: 0.88rem;
  color: rgba(217, 230, 242, 0.5);
  pointer-events: none;
  transition: top 160ms ease, font-size 160ms ease, color 160ms ease;
  letter-spacing: 0.02em;
}

.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field input:focus ~ label,
.form-field textarea:focus ~ label {
  top: 0.38rem;
  font-size: 0.7rem;
  color: var(--cyan-350);
  letter-spacing: 0.06em;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(35, 207, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(35, 207, 255, 0.07), 0 0 20px rgba(35, 207, 255, 0.1);
}

/* ── Data Tables ─────────────────────────────────────────── */
.solutions-grid,
.usecase-grid,
.integration-grid,
.compliance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

thead th {
  color: var(--cyan-350);
  text-align: left;
  font-size: 0.85rem;
  padding-bottom: 0.55rem;
}

td,
th {
  border-bottom: 1px solid rgba(141, 219, 255, 0.08);
  padding: 0.55rem 0.35rem;
  color: rgba(217, 230, 242, 0.9);
}

/* ── Tabs ────────────────────────────────────────────────── */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.tab-btn {
  border: 1px solid rgba(141, 219, 255, 0.32);
  background: transparent;
  color: var(--slate-100);
  border-radius: 2px;
  padding: 0.45rem 0.82rem;
  cursor: pointer;
  font: inherit;
  transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.tab-btn[aria-selected="true"] {
  background: rgba(39, 146, 216, 0.24);
  border-color: rgba(72, 213, 255, 0.5);
  color: var(--white);
}

.tab-panel[hidden] {
  display: none;
}

/* ── Accordion ───────────────────────────────────────────── */
.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
  font: inherit;
  font-family: var(--font-headline);
  font-size: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.faq-panel {
  padding: 0 1rem 1rem;
}

.faq-panel[hidden] {
  display: none;
}

.notice strong {
  color: var(--cyan-350);
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-output {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(217, 230, 242, 0.92);
}

.price-line span:last-child {
  font-weight: 700;
  color: var(--cyan-350);
}

.price-advisory {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: rgba(217, 230, 242, 0.55);
  line-height: 1.5;
}

.legal-body {
  max-width: 72ch;
}

.legal-body h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
  color: var(--cyan-350);
  border-top: 1px solid rgba(141, 219, 255, 0.1);
  padding-top: 1.5rem;
}

.legal-body h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.legal-body p,
.legal-body li {
  color: rgba(217, 230, 242, 0.85);
  line-height: 1.7;
}

.legal-body ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.1rem;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(217, 230, 242, 0.65);
}

.form-status {
  min-height: 1.4rem;
  margin: 0.95rem 0 0;
  color: rgba(217, 230, 242, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.form-status[data-state="success"] {
  color: rgba(154, 236, 255, 0.94);
}

.form-status[data-state="error"] {
  color: #ffb7c5;
}

.contact-callout {
  margin-bottom: 0;
}

.contact-steps {
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.contact-steps li {
  counter-increment: steps;
  display: grid;
  gap: 0.2rem;
  padding-left: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(154, 236, 255, 0.12);
  position: relative;
}

.contact-steps li::before {
  content: "0" counter(steps);
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--cyan-350);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-steps strong {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  color: var(--white);
}

.contact-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(217, 230, 242, 0.75);
}

/* ── Book Demo CTA ───────────────────────────────────────── */
.book-demo {
  border: 1px solid rgba(35, 207, 255, 0.25);
  border-radius: var(--radius-xl);
  padding-inline: clamp(1rem, 2vw, 2.5rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(35, 207, 255, 0.12), transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(29, 96, 234, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(15, 27, 47, 0.94), rgba(9, 17, 30, 0.9));
  box-shadow:
    0 0 0 1px rgba(35, 207, 255, 0.1),
    0 0 80px rgba(35, 207, 255, 0.06),
    0 32px 80px rgba(4, 8, 15, 0.5);
}

.book-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.55) 40%, rgba(29, 96, 234, 0.45) 60%, transparent);
}

.book-demo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.2) 50%, transparent);
}

/* Shimmer animation for CTA primary button */
@keyframes btn-shimmer-sweep {
  0%, 75%, 100% { left: -60%; opacity: 0; }
  5% { opacity: 1; }
  55% { left: 120%; opacity: 1; }
  60% { opacity: 0; }
}

.book-demo .btn-primary::after {
  animation: btn-shimmer-sweep 4s ease-in-out 2s infinite;
  opacity: 0;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: var(--space-section);
  padding: clamp(2rem, 5vw, 4rem) 4% 2rem;
  border-top: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(4, 8, 17, 0), rgba(4, 8, 17, 0.5)) padding-box,
    linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.25) 50%, transparent) border-box;
  border-top: 1px solid transparent;
  background-image:
    linear-gradient(180deg, transparent, rgba(4, 8, 17, 0.3)),
    linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.22) 50%, transparent);
  background-image: none;
  background: var(--ink-950);
  color: rgba(217, 230, 242, 0.84);
  font-size: 0.92rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.35) 40%, rgba(29, 96, 234, 0.3) 60%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.footer-brand-col .footer-brand {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-350);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.footer-brand-col .footer-brand img {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 14px rgba(35, 207, 255, 0.25));
}

.footer-brand-col p,
.footer-brand-col a {
  font-size: 0.85rem;
  color: rgba(217, 230, 242, 0.65);
  line-height: 1.6;
}

.footer-brand-col a {
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.footer-brand-col a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--cyan-350);
  transform: translateX(-50%);
  transition: width 200ms ease;
}

.footer-brand-col a:hover::after {
  width: 100%;
}

.footer-brand-col a:hover {
  color: var(--cyan-350);
}

.footer-nav {
  display: contents;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(217, 230, 242, 0.45);
  margin-bottom: 0.25rem;
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: rgba(217, 230, 242, 0.65);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 150ms ease;
}

.footer-nav-col a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--azure-500), var(--cyan-350));
  transform: translateX(-50%);
  transition: width 200ms ease;
}

.footer-nav-col a:hover {
  color: var(--cyan-350);
}

.footer-nav-col a:hover::after {
  width: 100%;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(132, 243, 212, 0.08);
  font-size: 0.8rem;
  color: rgba(217, 230, 242, 0.4);
}

.footer-legal a {
  color: rgba(217, 230, 242, 0.5);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 150ms ease;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--cyan-350);
  transform: translateX(-50%);
  transition: width 200ms ease;
}

.footer-legal a:hover {
  color: var(--cyan-350);
}

.footer-legal a:hover::after {
  width: 100%;
}

/* ── Feature Card Backdrop Shimmer ────────────────────────── */
@keyframes card-shimmer {
  0%   { left: -80%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}

/* ── Utility classes (replace inline styles) ──────────── */
.mt-xs { margin-top: 0.35rem; }
.mt-sm { margin-top: 0.5rem; }
.mt-sm-plus { margin-top: 0.75rem; }
.mt-md { margin-top: 0.9rem; }
.mt-lg { margin-top: 1rem; }
.mt-xl { margin-top: 1.25rem; }
.mt-2xl { margin-top: 1.5rem; }
.mt-3xl { margin-top: 2.2rem; }
.mt-4xl { margin-top: 2.5rem; }
.mb-2xl { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-muted { font-size: 0.82rem; color: rgba(217, 230, 242, 0.45); }
.section--flush { border-top: 0; padding: 1.5rem 0; }
.section--flush-sm { border-top: 0; padding: 1rem 0; }
.hero--centered { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.logo-strip--left { justify-content: flex-start; padding: 1rem 0; }
.logo-strip--vendors img { height: 2rem; max-width: 7rem; object-fit: contain; opacity: 0.65; filter: grayscale(0.2); transition: opacity var(--motion-fast) ease; }
.logo-strip--vendors img:hover { opacity: 1; filter: none; }
.hero-visual-centered { width: 100%; max-width: 680px; display: block; margin: 0 auto; border-radius: 4px; }

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.04), rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  opacity: 0;
  transition: none;
}

.feature-card:hover::after {
  animation: card-shimmer 700ms ease forwards;
}

.feature-card:hover {
  border-top-color: var(--cyan-350);
  border-color: rgba(35, 207, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(35, 207, 255, 0.18),
    0 0 32px rgba(35, 207, 255, 0.18),
    0 16px 40px rgba(4, 8, 15, 0.45);
  transform: translateY(-3px) scale(1.02);
}

/* ── Mega Nav Glass Shimmer ──────────────────────────────── */
.mega-grid a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(35, 207, 255, 0.06), rgba(255, 255, 255, 0.04), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
  opacity: 0;
}

.mega-grid a:hover::before {
  animation: card-shimmer 600ms ease forwards;
}

/* ── Angled Section Dividers ─────────────────────────────── */
#products {
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--space-section) + 24px);
}

#customers {
  clip-path: polygon(0 0, 100% 18px, 100% 100%, 0 100%);
  padding-top: calc(var(--space-section) + 18px);
}

/* ── Logo Grid Marquee (mobile auto-scroll) ──────────────── */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Footer Brand Glow ───────────────────────────────────── */
.footer-brand-col .footer-brand::after {
  content: '';
  position: absolute;
  inset: -8px -16px;
  background: radial-gradient(ellipse at center, rgba(35, 207, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Scroll Reveal System ────────────────────────────────── */
.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--stagger-delay, 0ms);
}

.reveal-ready.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes rise-in {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── Responsive: Tablet ──────────────────────────────────── */
@media (max-width: 1080px) {
  .brand-lockup {
    max-width: calc(100% - 9rem);
  }

  .hero-stats-split {
    grid-template-columns: 1fr;
  }

  .hero-stats-group--accent {
    border-left: none;
    border-top: 1px solid rgba(72, 213, 255, 0.22);
    padding-left: 0;
    padding-top: 0.75rem;
  }

  .hero-stats--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats--1col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats,
  .kpi-grid,
  .steps-grid,
  .cards-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .consult-layout {
    grid-template-columns: 1fr;
  }

  .consult-aside {
    position: static;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: span 2;
  }
}

/* ── Responsive: Mobile ──────────────────────────────────── */
@media (max-width: 760px) {
  .utility-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .utility-links {
    gap: 0.22rem;
  }

  .site-header {
    flex-wrap: wrap;
    padding-top: 0.5rem;
    padding-bottom: 0.52rem;
  }

  .brand-lockup {
    max-width: calc(100% - 4.6rem);
    gap: 0.42rem;
  }

  .brand-mark {
    height: 1.55rem;
    max-width: 7.25rem;
  }

  .brand-mark--safeware {
    height: 1.18rem;
    max-width: 5.8rem;
    transform: translateY(-1px);
  }

  .brand-mark--glasswall {
    height: 1.55rem;
    max-width: 7.35rem;
  }

  .brand-separator {
    height: 1.25rem;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    gap: 0.4rem;
    padding-top: 0.32rem;
    border-top: 1px solid rgba(141, 219, 255, 0.14);
  }

  .header-actions .language-picker-label {
    display: none;
  }

  .header-actions .language-picker {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    min-height: 2rem;
    padding-top: 0.26rem;
    padding-bottom: 0.26rem;
  }

  .header-demo-link {
    min-height: 2.05rem;
    padding-inline: 0.72rem;
    font-size: 0.76rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.55rem 0 0.2rem;
    border-top: 1px solid rgba(141, 219, 255, 0.18);
    gap: 0.22rem;
  }

  .site-nav .nav-link {
    flex: 1;
    justify-content: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-item {
    position: static;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .mega-panel {
    position: static;
    min-width: 0;
    margin-top: 0;
    border: 0;
    border-top: 1px solid rgba(141, 219, 255, 0.12);
    border-radius: 0;
    box-shadow: none;
    background: rgba(7, 15, 31, 0.95);
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

  .mega-grid--2col {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero-visual-grid {
    margin-top: 0;
  }

  .hero-node {
    min-height: 4.5rem;
  }

  .hero-stats,
  .kpi-grid,
  .steps-grid,
  .cards-grid,
  .timeline-grid,
  .resource-grid,
  .plan-grid,
  .faq-grid,
  .mini-cards,
  .solutions-grid,
  .usecase-grid,
  .integration-grid,
  .compliance-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .consult-hero h1 {
    max-width: 11.5ch;
  }

  .consult-fit {
    gap: 0.35rem;
  }

  .consult-fit span {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .consult-aside {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(35, 207, 255, 0.2) transparent;
    padding-bottom: 0.65rem;
    animation: marquee-scroll 30s linear infinite;
  }

  .logo-grid:hover {
    animation-play-state: paused;
  }

  .pill-grid,
  .tag-row {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 32rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand-col {
    grid-column: span 1;
  }

  /* Collapse utility bar to Demo link only on mobile */
  .utility-bar p,
  .utility-bar a:not([href*="Demo"]) {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand-col {
    grid-column: span 1;
  }
}

/* ── Glasswall APAC homepage polish ──────────────────────── */
:root {
  --surface-1: rgba(6, 16, 32, 0.76);
  --surface-2: rgba(9, 24, 46, 0.66);
  --line-soft: rgba(143, 212, 255, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  letter-spacing: 0;
  background:
    radial-gradient(64rem 38rem at 18% 8%, rgba(38, 156, 218, 0.16), transparent 62%),
    radial-gradient(52rem 34rem at 86% 0%, rgba(35, 207, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(6, 23, 45, 0.9) 0%, rgba(3, 7, 14, 0.97) 36rem, #05070c 100%),
    #05070c;
}

body::before {
  background-image:
    linear-gradient(to right, rgba(150, 203, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(150, 203, 255, 0.008) 1px, transparent 1px);
  background-size: 168px 168px;
  opacity: 0.18;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cyan-350);
}

main {
  width: 100%;
  margin: 0;
}

.container {
  width: min(var(--max-content), 90vw);
  margin-inline: auto;
}

hr.divider {
  width: min(var(--max-content), 90vw);
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(117, 190, 255, 0.2), transparent);
}

.section-white,
.section-white-top-border,
.section-cream-band,
.section-cream-bottom-border,
.blister-sec {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: transparent;
}

main > .section:not(.hero):not(.section-white):not(.section-white-top-border):not(.section-cream-band):not(.section-cream-bottom-border):not(.blister-sec):not(.consult-section):not(.contact-faq) {
  width: min(var(--max-content), 90vw);
  margin-inline: auto;
}

.section-white::before,
.section-white-top-border::before,
.section-cream-band::before,
.section-cream-bottom-border::before,
.blister-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max-content), 90vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(117, 190, 255, 0.08), transparent);
}

.hero {
  min-height: clamp(540px, 66vh, 710px);
  display: flex;
  align-items: center;
  padding: clamp(3.3rem, 5.4vw, 5.4rem) 0 clamp(2.7rem, 4.6vw, 4.1rem);
  background:
    linear-gradient(120deg, rgba(7, 25, 50, 0.82) 0%, rgba(5, 12, 25, 0.9) 48%, rgba(2, 7, 13, 0.98) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #05070c 92%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(2.2rem, 4.5vw, 4.6rem);
  align-items: center;
}

.hero-label,
.sec-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--cyan-350);
  text-transform: uppercase;
}

.hero-label::before,
.sec-label::before,
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-450), rgba(72, 213, 255, 0));
}

.sec-label-center {
  justify-content: center;
}

.sec-label-center::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(72, 213, 255, 0), var(--cyan-450));
}

.hero h1 {
  max-width: 13.7ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.75rem, 5vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42), 0 0 52px rgba(35, 207, 255, 0.12);
}

.hero-lead,
.sec-desc {
  max-width: 66ch;
  color: rgba(226, 239, 255, 0.82);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.72;
}

.hero-actions,
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero.consult-hero {
  min-height: auto;
  display: block;
  padding-top: clamp(2.7rem, 4.6vw, 4rem);
  padding-bottom: clamp(1.9rem, 3.4vw, 2.8rem);
  background: transparent;
  overflow: visible;
}

.hero.consult-hero::after {
  content: none;
}

.hero.consult-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 4.7vw, 3.65rem);
  line-height: 1.05;
}

.hero.consult-hero .lead {
  max-width: 760px;
  line-height: 1.75;
}

.hero.section.slim:not(.consult-hero) {
  width: min(var(--max-content), 90vw);
  min-height: clamp(340px, 46vh, 460px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 0.78fr);
  column-gap: clamp(2.4rem, 5vw, 5.4rem);
  align-items: center;
  padding: clamp(3.2rem, 5.2vw, 4.8rem) 0 clamp(2.7rem, 4.6vw, 4rem);
  background: transparent;
  overflow: visible;
}

.hero.section.slim:not(.consult-hero)::after {
  content: none;
}

.hero.section.slim:not(.consult-hero) .eyebrow {
  grid-column: 1;
  margin-bottom: 1rem;
}

.hero.section.slim:not(.consult-hero) h1 {
  grid-column: 1;
  max-width: 13.4ch;
  margin: 0;
  font-size: clamp(2.55rem, 4.35vw, 3.95rem);
  line-height: 1.05;
}

.hero.section.slim:not(.consult-hero) .lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 42rem;
  margin: 2rem 0 0;
  color: rgba(226, 239, 255, 0.82);
  font-size: clamp(0.98rem, 1.22vw, 1.05rem);
  line-height: 1.75;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  border-radius: 999px;
  padding: 0.72rem 1.35rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn-primary {
  color: #021322;
  background: linear-gradient(125deg, #83efff, #4bb4ee 48%, #1e72cc);
  box-shadow: 0 22px 50px rgba(43, 154, 229, 0.24);
}

.btn-secondary {
  color: rgba(240, 248, 255, 0.94);
  border: 1px solid rgba(154, 236, 255, 0.38);
  background: rgba(255, 255, 255, 0.045);
}

.med-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(154, 236, 255, 0.1);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(72, 213, 255, 0.1), transparent 58%),
    linear-gradient(180deg, rgba(10, 28, 54, 0.64), rgba(6, 14, 27, 0.58)),
    rgba(4, 10, 20, 0.72);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.med-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(72, 213, 255, 0.08), transparent 42%);
}

.med-box-head,
.med-box-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
}

.med-box-head {
  align-items: flex-start;
  border-bottom: 1px solid rgba(154, 236, 255, 0.07);
}

.med-box-head h2 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.med-subtitle,
.med-form,
.med-key,
.med-box-foot {
  font-family: var(--font-mono);
  color: rgba(181, 214, 238, 0.68);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.med-form {
  text-align: right;
}

.med-box-body {
  position: relative;
  padding: 0.25rem 1.35rem;
}

.med-row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.92rem 0;
  border-bottom: 1px solid rgba(154, 236, 255, 0.055);
}

.med-row:last-child {
  border-bottom: 0;
}

.med-val {
  color: rgba(231, 242, 255, 0.86);
  font-size: 0.93rem;
  line-height: 1.65;
}

.med-val strong {
  color: var(--white);
}

.med-box-foot {
  align-items: center;
  border-top: 1px solid rgba(154, 236, 255, 0.07);
}

.hero-proof-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(154, 236, 255, 0.14);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(72, 213, 255, 0.16), transparent 54%),
    linear-gradient(150deg, rgba(9, 29, 55, 0.84), rgba(5, 12, 24, 0.8) 56%, rgba(3, 8, 16, 0.9));
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero-proof-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(154, 236, 255, 0.12), transparent 34%),
    linear-gradient(180deg, transparent 0, rgba(154, 236, 255, 0.055) 100%);
}

.hero-proof-panel > * {
  position: relative;
  z-index: 1;
}

.proof-kicker {
  margin-bottom: 1.4rem;
  color: var(--cyan-350);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-proof-panel h2 {
  max-width: 14ch;
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-proof-panel p {
  max-width: 46rem;
  margin: 0;
  color: rgba(226, 239, 255, 0.78);
  line-height: 1.72;
}

.capability-stack {
  display: grid;
  gap: 0;
  margin-top: 1.65rem;
  border-block: 1px solid rgba(154, 236, 255, 0.14);
}

.capability-stack a {
  display: grid;
  grid-template-columns: minmax(5.8rem, 0.36fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(154, 236, 255, 0.1);
  color: inherit;
  text-decoration: none;
}

.capability-stack a:last-child {
  border-bottom: 0;
}

.capability-stack span {
  color: rgba(154, 236, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.capability-stack strong {
  color: rgba(244, 249, 255, 0.94);
  font-size: 0.98rem;
  line-height: 1.45;
}

.capability-stack a:hover strong {
  color: var(--cyan-350);
}

.barcode {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  height: 22px;
  opacity: 0.28;
}

.barcode i {
  display: block;
  width: 2px;
  background: var(--cyan-350);
}

.barcode i:nth-child(odd) { height: 18px; }
.barcode i:nth-child(even) { height: 11px; }
.barcode i:nth-child(4n) { height: 22px; }

.stats-split {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(240px, 0.8fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.stats-group,
.stats-group--right {
  display: grid;
  gap: 0.8rem;
}

.stats-group-label {
  font-family: var(--font-mono);
  color: rgba(177, 210, 240, 0.62);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.stats-row {
  display: grid;
  gap: 0.85rem;
}

.stats-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-row--1 {
  grid-template-columns: 1fr;
}

.stat-cell {
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(154, 236, 255, 0.12);
}

.stat-num {
  margin-bottom: 0.45rem;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1;
}

.stat-text {
  color: rgba(226, 239, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
}

.compliance-strip {
  padding: 1.1rem 0;
  border-block: 1px solid rgba(117, 190, 255, 0.1);
  background: rgba(4, 12, 24, 0.46);
}

.compliance-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.compliance-strip-label {
  margin: 0;
  font-family: var(--font-mono);
  color: rgba(177, 210, 240, 0.62);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.compliance-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: rgba(232, 242, 255, 0.78);
  font-size: 0.86rem;
}

.compliance-inner--logos {
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.compliance-inner--logos img {
  max-width: 6.1rem;
  max-height: 2rem;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(0.1);
}

.compliance-inner span {
  position: relative;
}

.compliance-inner span + span::before {
  content: "/";
  margin-right: 1rem;
  color: rgba(154, 236, 255, 0.28);
}

.sec-title,
.section h2,
.split-grid h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(1.75rem, 3.45vw, 2.95rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.6rem;
  border-block: 1px solid rgba(154, 236, 255, 0.14);
}

.pill-item,
.pill-grid a {
  display: flex;
  align-items: center;
  min-height: 4.4rem;
  padding: 1rem 1.1rem;
  border: 0;
  border-right: 1px solid rgba(154, 236, 255, 0.1);
  border-bottom: 1px solid rgba(154, 236, 255, 0.1);
  border-radius: 0;
  background: transparent;
  color: rgba(232, 242, 255, 0.86);
  text-decoration: none;
}

.pill-item:nth-child(3n),
.pill-grid a:nth-child(3n) {
  border-right: 0;
}

.pill-item:nth-last-child(-n + 3),
.pill-grid a:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(154, 236, 255, 0.14);
  border-left: 1px solid rgba(154, 236, 255, 0.1);
}

.capability-card {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  border-right: 1px solid rgba(154, 236, 255, 0.1);
  border-bottom: 1px solid rgba(154, 236, 255, 0.1);
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(110% 90% at 20% 0%, rgba(72, 213, 255, 0.055), transparent 54%),
    rgba(4, 12, 24, 0.16);
  transition: background var(--motion-mid) ease, border-color var(--motion-mid) ease;
}

.capability-card--primary {
  grid-column: span 2;
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(72, 213, 255, 0.14), transparent 58%),
    linear-gradient(145deg, rgba(11, 38, 70, 0.46), rgba(4, 12, 24, 0.2));
}

.capability-card span {
  color: var(--cyan-350);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.capability-card h3 {
  max-width: 18ch;
  margin: auto 0 0;
  color: var(--white);
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  line-height: 1.08;
}

.capability-card p {
  margin: 0;
  color: rgba(226, 239, 255, 0.72);
  line-height: 1.65;
}

.capability-card:hover {
  border-color: rgba(154, 236, 255, 0.24);
  background:
    radial-gradient(110% 90% at 20% 0%, rgba(72, 213, 255, 0.12), transparent 54%),
    rgba(8, 24, 45, 0.32);
}

.patient-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  max-width: 950px;
  margin: 1.4rem auto 0;
  color: rgba(232, 242, 255, 0.72);
  font-size: 0.92rem;
}

.patient-strip span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.patient-strip span + span::before {
  content: "";
  width: 1px;
  height: 0.9rem;
  background: rgba(154, 236, 255, 0.18);
}

.proof-section .sec-desc {
  max-width: 820px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.proof-card {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(154, 236, 255, 0.16);
}

.proof-card--local {
  border-top-color: rgba(75, 189, 255, 0.28);
}

.proof-label {
  margin: 0 0 0.75rem;
  color: var(--cyan-350);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.proof-card h3 {
  max-width: 620px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.08;
}

.proof-card p:not(.proof-label) {
  max-width: 650px;
  margin: 1rem 0 0;
  color: rgba(217, 230, 242, 0.72);
  line-height: 1.7;
}

.proof-logo-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  margin-top: 1.5rem;
}

.proof-logo-row img {
  max-width: 7.5rem;
  max-height: 2.2rem;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.82;
}

.patient-strip--compact {
  justify-content: flex-start;
  max-width: none;
  margin: 1.25rem 0 0;
  gap: 0.4rem 0.85rem;
  font-size: 0.86rem;
}

.steps-grid,
.blister-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.1rem;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-cell {
  position: relative;
  min-height: 16rem;
  padding: 1.1rem 0.2rem 0;
  border-top: 1px solid rgba(154, 236, 255, 0.14);
}

.step-num {
  display: block;
  margin-bottom: 1.8rem;
  font-family: var(--font-mono);
  color: var(--cyan-350);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.step-cell h3,
.blister-cell h3,
.extension-route h3 {
  color: var(--white);
}

.step-cell p,
.blister-cell p,
.callout-box p,
.insert-specs,
.extension-route p,
.extension-note p {
  color: rgba(226, 239, 255, 0.74);
}

.blister-sec {
  background: linear-gradient(180deg, rgba(7, 19, 37, 0.28), transparent);
}

.blister-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.blister-cell,
.callout-box,
.insert-specs {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(154, 236, 255, 0.08);
  background:
    radial-gradient(110% 110% at 0% 0%, rgba(72, 213, 255, 0.055), transparent 58%),
    linear-gradient(180deg, rgba(13, 32, 58, 0.42), rgba(7, 15, 28, 0.36));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.blister-cell {
  padding: clamp(1.15rem, 2vw, 1.55rem);
}

.blister-tag {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  color: var(--cyan-350);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.split-grid,
.split-even {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.feature-list .fl-arrow {
  color: var(--cyan-350);
  font-size: 1.35rem;
  line-height: 1;
}

.callout-box,
.insert-specs {
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.insert-specs {
  display: grid;
  gap: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(154, 236, 255, 0.1);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-key {
  font-family: var(--font-mono);
  color: rgba(177, 210, 240, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.spec-val {
  color: rgba(232, 242, 255, 0.82);
}

.sec-link a,
.section-link a {
  color: var(--cyan-350);
  font-weight: 700;
  text-decoration: none;
}

.extension-layer {
  padding-top: calc(var(--space-section) * 0.92);
}

.extension-intro {
  max-width: 760px;
}

.extension-shell {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-block: 1px solid rgba(154, 236, 255, 0.16);
}

.extension-route {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid rgba(154, 236, 255, 0.1);
}

.extension-route:last-child {
  border-bottom: 0;
}

.extension-index {
  font-family: var(--font-mono);
  color: rgba(154, 236, 255, 0.62);
  font-size: 0.92rem;
}

.extension-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  color: var(--cyan-350);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.extension-route h3 {
  max-width: 760px;
  margin-bottom: 0.45rem;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.extension-route p {
  max-width: 850px;
  margin: 0;
  line-height: 1.7;
}

.extension-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.extension-note p {
  margin: 0;
  max-width: 58ch;
  font-size: 0.9rem;
}

.book-demo {
  width: min(var(--max-content), 90vw);
  margin-inline: auto;
}

.reveal,
.reveal-ready {
  opacity: 1;
  transform: none;
}

.reveal.is-visible,
.reveal-ready.is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid,
  .stats-split,
  .split-grid,
  .split-even {
    grid-template-columns: 1fr;
  }

  .hero.section.slim:not(.consult-hero) {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: clamp(3.2rem, 8vw, 4.4rem);
    padding-bottom: clamp(2.6rem, 6vw, 3.6rem);
  }

  .hero.section.slim:not(.consult-hero) .lead {
    grid-column: 1;
    grid-row: auto;
    max-width: 760px;
    margin-top: 1.15rem;
  }

  .steps-grid,
  .blister-grid,
  .pill-grid,
  .stats-row--3,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .med-box,
  .hero-proof-panel {
    max-width: 720px;
  }

  .capability-card--primary {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .utility-bar .utility-links a {
    display: inline-flex !important;
  }

  .partner-label {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(3rem, 12vw, 4.5rem);
  }

  .hero h1 {
    max-width: 11.6ch;
    font-size: clamp(2.25rem, 11.2vw, 3.2rem);
    line-height: 1.06;
  }

  .hero.section.slim:not(.consult-hero) {
    width: min(var(--max-content), 90vw);
    padding-top: clamp(2.8rem, 10vw, 3.6rem);
    padding-bottom: clamp(2.2rem, 9vw, 3rem);
  }

  .hero.section.slim:not(.consult-hero) h1 {
    max-width: 11.8ch;
    font-size: clamp(2.15rem, 10.4vw, 2.95rem);
    line-height: 1.07;
  }

  .hero.section.slim:not(.consult-hero) .lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero.consult-hero {
    padding-top: clamp(2.5rem, 10vw, 3.6rem);
    padding-bottom: clamp(2.2rem, 9vw, 3rem);
  }

  .hero.consult-hero h1 {
    max-width: 12.4ch;
    font-size: clamp(2.05rem, 10.4vw, 2.9rem);
    line-height: 1.07;
  }

  .hero.consult-hero .lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .med-row,
  .spec-row,
  .extension-route {
    grid-template-columns: 1fr;
  }

  .med-form,
  .med-box-foot .barcode {
    display: none;
  }

  .stats-row--3,
  .stats-row--1,
  .steps-grid,
  .blister-grid,
  .pill-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card--primary {
    grid-column: span 1;
  }

  .capability-card {
    min-height: 13.5rem;
  }

  .capability-stack a {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .pill-grid a,
  .pill-item,
  .pill-grid a:nth-child(3n),
  .pill-item:nth-child(3n),
  .pill-grid a:nth-last-child(-n + 3),
  .pill-item:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid rgba(154, 236, 255, 0.1);
  }

  .pill-grid a:last-child,
  .pill-item:last-child {
    border-bottom: 0;
  }

  .step-cell {
    min-height: 0;
    padding-bottom: 0.8rem;
  }

  .patient-strip {
    justify-content: flex-start;
  }

  .patient-strip span::before {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .compliance-strip .container,
  .extension-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .sec-title,
  .section h2,
  .split-grid h2 {
    font-size: clamp(1.65rem, 10vw, 2.6rem);
  }
}

/* ── Accessibility: Reduced Motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Print ─────────────────────────────────────────────── */
@media print {
  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .utility-bar,
  .site-header,
  .site-footer,
  .skip-link,
  .hero-cta,
  .book-demo,
  .cta-band,
  .menu-toggle,
  .nav-demo-link,
  .trust-bar {
    display: none !important;
  }

  main {
    width: 100%;
  }

  .section {
    border-top-color: #ccc;
    page-break-inside: avoid;
  }

  .hero h1,
  h2, h3, h4 {
    color: #111;
  }

  .lead,
  .prose p,
  .eyebrow,
  .check-list li,
  .feature-list p {
    color: #333;
  }

  .eyebrow {
    color: #0f275f;
  }

  a {
    color: #1a58a8;
    text-decoration: underline;
  }

  .btn {
    border: 1px solid #333;
    color: #111;
    background: none;
    box-shadow: none;
  }

  .feature-card,
  .solution-card,
  .callout,
  .info-card,
  .plan-card {
    border-color: #ccc;
    background: #f9f9f9;
    box-shadow: none;
  }

  .reveal-ready,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   DESIGN UPLIFT (2026-06-24) — additive component library
   Per docs/DESIGN-UPLIFT-PLAN-2026-06-24.md + ADDENDUM.
   ADDITIVE & OPT-IN: every selector/token below is NEW. Nothing
   here restyles an existing element until its class is applied
   in markup, so this block cannot regress the current site.
   Review via sandbox/design-preview.html before rolling into
   site/ pages.
   ============================================================ */
:root {
  /* Semantic colour families — threat-in (cyan/amber/red) -> clean-out (green) */
  --green-600: #1f9d76;
  --green-500: #29c08f;
  --green-400: #4fe0b0;          /* clean / safe-file OUTPUT */
  --safe-400: var(--green-400);  /* plan alias */
  --amber-500: #e0a32e;          /* untrusted input */
  --amber-400: #f2c14e;
  --red-500: #e0556b;            /* threat / block */
  --red-400: #ff7a8c;

  /* Section band rhythm (navy chapters) */
  --band-deep: #050b18;
  --band-lift: #0a1830;

  /* Spacing scale */
  --space-xs: 0.5rem;  --space-sm: 0.75rem; --space-md: 1rem;
  --space-lg: 1.5rem;  --space-xl: 2.25rem; --space-2xl: 3.25rem;
  --space-3xl: 4.5rem; --space-4xl: 6rem;

  /* Type scale + roles */
  --text-xs: 0.78rem; --text-sm: 0.88rem; --text-md: 1rem; --text-lg: 1.18rem;
  --text-xl: 1.5rem;  --text-2xl: 2rem;   --text-3xl: 2.6rem; --text-4xl: 3.25rem;
  --text-5xl: clamp(2.6rem, 5.2vw, 4.4rem);   /* super-headline */
  --h1-display: clamp(2.3rem, 4.6vw, 3.95rem);
  --lead-size: clamp(1.05rem, 1.5vw, 1.28rem);
  --lh-tight: 1.05; --lh-snug: 1.2; --lh-body: 1.6;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-black: 800;
}

/* Section band modifiers — apply to <section> for chapter rhythm */
.band--deep { background: var(--band-deep); }
.band--lift {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(72, 213, 255, 0.05), transparent 60%),
    var(--band-lift);
}

/* Gradient-clipped stat numeral utility */
.gradient-num {
  font-family: var(--font-headline);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  color: var(--azure-500); /* fallback */
  background: linear-gradient(120deg, var(--cyan-350), var(--azure-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-num--safe {
  background: linear-gradient(120deg, var(--green-400), var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Contained proof stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-radius: var(--radius-md);
  border: 1px solid rgba(141, 219, 255, 0.12);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(72, 213, 255, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(12, 24, 43, 0.6), rgba(10, 18, 31, 0.42));
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.stat-band > .stat-cell {
  padding: clamp(1.2rem, 2.4vw, 1.9rem);
  border-left: 1px solid rgba(141, 219, 255, 0.1);
}
.stat-band > .stat-cell:first-child { border-left: 0; }
.stat-cell .stat-figure { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.25rem; }
.stat-cell .stat-unit {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan-350); margin: 0 0 0.4rem;
}
.stat-cell .stat-note { font-size: var(--text-sm); color: rgba(217, 230, 242, 0.66); margin: 0; }
@media (max-width: 600px) { .stat-band { grid-template-columns: 1fr 1fr; } }

/* Plan-card recommended modifier (extends existing .plan-card) */
.plan-card--recommended {
  border-top: 3px solid var(--cyan-450);
  box-shadow: 0 0 0 1px rgba(72, 213, 255, 0.25), 0 18px 54px rgba(0, 0, 0, 0.22);
}
.plan-badge {
  display: inline-block; font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.1em; text-transform: uppercase; color: #05152d;
  background: linear-gradient(120deg, var(--cyan-450), var(--azure-500));
  padding: 0.2rem 0.6rem; border-radius: var(--radius-sm); margin-bottom: 0.6rem;
}
.plan-price { font-size: var(--text-2xl); font-weight: var(--fw-bold); margin: 0.3rem 0; }

/* Designed capability matrix */
.cap-matrix {
  width: 100%; border-collapse: collapse; border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid rgba(141, 219, 255, 0.12);
}
.cap-matrix th, .cap-matrix td {
  padding: 0.8rem 1rem; text-align: left;
  border-bottom: 1px solid rgba(141, 219, 255, 0.08); font-size: var(--text-sm);
}
.cap-matrix thead th {
  background: linear-gradient(180deg, rgba(20, 40, 75, 0.9), rgba(12, 24, 46, 0.8));
  color: var(--white); font-weight: var(--fw-semibold);
}
.cap-matrix tbody tr:nth-child(even) { background: rgba(72, 213, 255, 0.03); }
.cap-matrix td.col-highlight, .cap-matrix th.col-highlight { background: rgba(72, 213, 255, 0.08); }
.cap-matrix .chip-yes, .cap-matrix .chip-no, .cap-matrix .chip-partial {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.4rem; height: 1.4rem; border-radius: 50%; font-size: 0.85rem; font-weight: 700;
}
.cap-matrix .chip-yes { background: rgba(79, 224, 176, 0.16); color: var(--green-400); }
.cap-matrix .chip-no { background: rgba(157, 176, 207, 0.12); color: var(--slate-200); }
.cap-matrix .chip-partial { background: rgba(242, 193, 78, 0.16); color: var(--amber-400); }

/* Ghost button */
.btn-ghost {
  background: transparent; border-color: rgba(125, 233, 255, 0.4); color: var(--cyan-350);
  transition: border-color var(--motion-fast) ease, color var(--motion-fast) ease, background var(--motion-fast) ease;
}
.btn-ghost:hover { border-color: var(--cyan-450); background: rgba(72, 213, 255, 0.08); color: var(--white); }

/* Semantic callout variants (extend existing .callout) */
.callout--safe { border-color: rgba(79, 224, 176, 0.4); background: radial-gradient(130% 90% at 105% -20%, rgba(79, 224, 176, 0.2), transparent), rgba(16, 42, 36, 0.6); }
.callout--warn { border-color: rgba(242, 193, 78, 0.4); background: radial-gradient(130% 90% at 105% -20%, rgba(242, 193, 78, 0.16), transparent), rgba(44, 38, 18, 0.55); }
.callout--threat { border-color: rgba(255, 122, 140, 0.4); background: radial-gradient(130% 90% at 105% -20%, rgba(255, 122, 140, 0.16), transparent), rgba(46, 18, 24, 0.55); }

/* Circle-arrow go affordance */
.go-link { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--cyan-350); font-weight: var(--fw-semibold); }
.go-link .circle-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 1px solid rgba(125, 233, 255, 0.4);
  transition: transform var(--motion-fast) ease, background var(--motion-fast) ease;
}
.go-link:hover .circle-arrow { transform: translateX(3px); background: rgba(72, 213, 255, 0.12); }

/* ── Signature CDR pipeline diagram (inline SVG, no runtime fetch) ── */
.cdr-pipe { width: 100%; max-width: 980px; margin: 0 auto; display: block; height: auto; }
.cdr-pipe .cdr-track { fill: none; stroke: rgba(141, 219, 255, 0.22); stroke-width: 2; }
.cdr-pipe .cdr-flow { fill: none; stroke: var(--cyan-450); stroke-width: 2.5; stroke-dasharray: 7 9; animation: cdr-flow 1.3s linear infinite; }
.cdr-pipe .cdr-step-circle { fill: rgba(12, 24, 46, 0.92); stroke: var(--azure-500); stroke-width: 2; }
.cdr-pipe .cdr-step-num { fill: var(--cyan-350); font-family: var(--font-mono); font-size: 15px; font-weight: 700; }
.cdr-pipe .cdr-label { fill: var(--slate-100); font-family: var(--font-headline); font-size: 15px; font-weight: 600; }
.cdr-pipe .cdr-sub { fill: rgba(157, 176, 207, 0.85); font-family: var(--font-body); font-size: 11.5px; }
.cdr-pipe .cdr-file-in { fill: rgba(46, 18, 24, 0.9); stroke: var(--red-400); stroke-width: 2; }
.cdr-pipe .cdr-file-out { fill: rgba(16, 42, 36, 0.9); stroke: var(--green-400); stroke-width: 2; }
.cdr-pipe .cdr-cap-in { fill: var(--red-400); font-family: var(--font-headline); font-size: 13px; font-weight: 700; }
.cdr-pipe .cdr-cap-out { fill: var(--green-400); font-family: var(--font-headline); font-size: 13px; font-weight: 700; }
.cdr-pipe .cdr-glyph-in { stroke: var(--red-400); fill: none; stroke-width: 2; stroke-linecap: round; }
.cdr-pipe .cdr-glyph-out { stroke: var(--green-400); fill: none; stroke-width: 2; stroke-linecap: round; }
@keyframes cdr-flow { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) { .cdr-pipe .cdr-flow { animation: none; } }

/* 960px breakpoint helper for graceful 4->3->2 column collapse (opt-in) */
@media (max-width: 960px) {
  .grid-collapse-960 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.cdr-pipe-figure { margin: 0; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: var(--radius-md); border: 1px solid rgba(141, 219, 255, 0.12); background: radial-gradient(120% 120% at 50% -10%, rgba(72, 213, 255, 0.05), transparent 60%), linear-gradient(180deg, rgba(10, 20, 38, 0.6), rgba(7, 14, 28, 0.5)); }
.cdr-pipe-caption { margin: 0.9rem auto 0; max-width: 60ch; text-align: center; font-size: var(--text-sm); color: rgba(157, 176, 207, 0.9); }

/* ── Image placement helpers (design-uplift image pass) ───── */
.media-figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(141,219,255,0.14); background: radial-gradient(120% 120% at 50% -10%, rgba(72,213,255,0.06), transparent 60%), linear-gradient(180deg, rgba(10,20,38,0.6), rgba(7,14,28,0.5)); box-shadow: var(--shadow-1); }
.media-figure img { display: block; width: 100%; height: auto; }
.media-figure figcaption { padding: 0.7rem 1rem; font-size: var(--text-sm); color: rgba(157,176,207,0.9); }
.media-figure--contain { padding: clamp(1rem,2.5vw,2rem); }
.media-figure--contain img { border-radius: var(--radius-sm); }
/* card media header (use-case / solution / capability cards) */
.card-media { display: block; margin: -0.2rem 0 0.9rem; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; background: rgba(8,16,30,0.6); border: 1px solid rgba(141,219,255,0.1); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media--contain img { object-fit: contain; padding: 0.6rem; }
/* small inline illustration thumb for capability cards */
.cap-illus { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 0.85rem; border: 1px solid rgba(141,219,255,0.1); background: rgba(8,16,30,0.55); }
/* logo wall row (icap clients / deployment platforms / partners) */
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.2rem,3vw,2.4rem); padding: 1.4rem 0; }
.logo-wall img { height: 30px; width: auto; opacity: 0.78; filter: grayscale(1) brightness(1.6); transition: opacity var(--motion-fast) ease, filter var(--motion-fast) ease; }
.logo-wall img:hover { opacity: 1; filter: grayscale(0) brightness(1); }
.logo-wall--sm img { height: 24px; }

/* product icon (products.html / glasswall-portfolio.html capability tiles) */
.prod-icon { width: 52px; height: 52px; object-fit: contain; border-radius: var(--radius-sm); flex: 0 0 auto; background: rgba(8,16,30,0.55); border: 1px solid rgba(141,219,255,0.12); padding: 4px; }
.blister-cell .prod-icon { margin-bottom: 0.85rem; }

/* use-case / solution small icon (matches glasswall.com card treatment ~56px) */
.use-icon { width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 0 1.1rem; }
@media (max-width: 600px) { .use-icon { width: 48px; height: 48px; } }

/* product identity in matrix headers + larger list icons */
.th-prod { display: inline-flex; align-items: center; gap: 0.5rem; }
.th-logo { width: 26px; height: 26px; object-fit: contain; flex: 0 0 auto; }
.feature-list .fl-number .prod-icon { width: 52px; height: 52px; }

/* ── Glasswall platform diagram (sections/glasswall-platform-diagram.html) ── */
.gw-platform{
  --gw-ink-980: var(--ink-980, #040913);
  --gw-ink-900: var(--ink-900, #0b1c51);
  --gw-azure:   var(--azure-500, #2792d8);
  --gw-cyan:    var(--cyan-450, #48d5ff);
  --gw-cyan-soft: var(--cyan-350, #9aecff);
  --gw-safe:    var(--safe-400, var(--green-400, #4fe0b0));
  --gw-red:     var(--red-400, #ff7a8c);
  --gw-slate-1: var(--slate-100, #d9e4f4);
  --gw-slate-2: var(--slate-200, #9db0cf);
  --gw-font: var(--font-headline, "Inter", "Segoe UI", sans-serif);
  --gw-mono: var(--font-mono, "DM Mono", "Courier New", monospace);
  --gw-line: rgba(154, 236, 255, 0.18);
  --gw-line-faint: rgba(154, 236, 255, 0.10);

  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: clamp(18px, 2.6vw, 36px) clamp(14px, 2.4vw, 34px) clamp(22px, 3vw, 40px);
  box-sizing: border-box;
  background:
    radial-gradient(58% 48% at 50% 46%, rgba(39, 146, 216, 0.16) 0%, rgba(7, 18, 44, 0) 64%),
    radial-gradient(80% 70% at 50% 50%, rgba(72, 213, 255, 0.06) 0%, rgba(4, 9, 19, 0) 72%),
    radial-gradient(120% 120% at 50% 0%, #081634 0%, var(--gw-ink-980) 70%);
  border: 1px solid var(--gw-line-faint);
  border-radius: var(--radius-xl, 8px);
  box-shadow: var(--shadow-1, 0 18px 50px rgba(3, 8, 20, 0.4)), inset 0 1px 0 rgba(154, 236, 255, 0.05);
  overflow: hidden;
  font-family: var(--gw-font);
  -webkit-font-smoothing: antialiased;
}

.gw-platform svg{ display: block; width: 100%; height: auto; }
.gw-platform text{ font-family: var(--gw-font); }

/* ---- type (scaled up ~1.5x for legibility) ---- */
.gw-core-sub{ font-size: 19px; font-weight: 600; letter-spacing: 0.08em; fill: var(--gw-cyan-soft); text-transform: uppercase; }
.gw-stage-name{ font-size: 25px; font-weight: 800; fill: #eaf6ff; letter-spacing: -0.01em; }
.gw-stage-num{ font-size: 16px; font-weight: 800; fill: var(--gw-cyan); font-family: var(--gw-mono); }
.gw-stage-desc{ font-size: 18px; font-weight: 500; fill: var(--gw-slate-2); }
.gw-io-cap{ font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.gw-io-in{ fill: var(--gw-red); }
.gw-io-out{ fill: var(--gw-safe); }
.gw-planet-name{ font-size: 23px; font-weight: 800; fill: #fff; letter-spacing: -0.01em; }
.gw-planet-sub{ font-size: 17px; font-weight: 500; fill: var(--gw-slate-2); }
.gw-orbit-kicker{ font-size: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--gw-cyan-soft); font-family: var(--gw-mono); }
.gw-surf-name{ font-size: 20px; font-weight: 700; fill: #eef6ff; }
.gw-surf-sub{ font-size: 17px; font-weight: 500; fill: var(--gw-slate-2); }
.gw-deploy-note{ font-size: 16px; font-weight: 600; letter-spacing: 0.04em; fill: var(--gw-slate-2); }

/* ---- structural strokes ---- */
.gw-orbit-ring{ fill: none; stroke: var(--gw-line-faint); stroke-width: 1.2; }
.gw-orbit-ring.lit{ stroke: rgba(72,213,255,0.16); }
.gw-spoke{ fill: none; stroke: var(--gw-line-faint); stroke-width: 1; }

/* CDR circular flow */
.gw-cdr-track{ fill: none; stroke: rgba(154,219,255,0.16); stroke-width: 5.5; }
.gw-cdr-flow{
  fill: none; stroke: var(--gw-cyan); stroke-width: 5.5; stroke-linecap: round;
  stroke-dasharray: 40 340; filter: drop-shadow(0 0 8px rgba(72,213,255,0.7));
  animation: gw-spin 5.5s linear infinite;
}
@keyframes gw-spin{ to{ stroke-dashoffset: -380; } }

.gw-halo-ring{ fill: none; }
/* central real logos */
.gw-halo-logo{ filter: drop-shadow(0 0 18px rgba(72,213,255,0.45)); }
.gw-glasswall-logo{ filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(2,6,15,0.6)); }

/* nodes */
.gw-stage-chip{ fill: rgba(11,28,81,0.78); stroke: rgba(72,213,255,0.42); stroke-width: 1.6; }
.gw-stage-chip.out{ stroke: rgba(79,224,176,0.5); }
.gw-planet-glow{ filter: blur(9px); }
.gw-planet{ fill: rgba(9,24,60,0.92); stroke: rgba(72,213,255,0.55); stroke-width: 1.8; }
.gw-surf-node{ fill: rgba(7,18,44,0.86); stroke: var(--gw-line); stroke-width: 1.4; }
.gw-surf-ico{ fill: none; stroke: var(--gw-cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gw-ico-az{ fill: none; stroke: var(--gw-azure); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
/* connector arrows from / to the ring */
.gw-arrow-in{ fill: none; stroke: var(--gw-red); stroke-width: 3; stroke-linecap: round; }
.gw-arrow-out{ fill: none; stroke: var(--gw-safe); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* premium document glyphs */
.gw-doc-body-in{ fill: url(#gwPaperRed); stroke: var(--gw-red); stroke-width: 1.5; }
.gw-doc-body-out{ fill: url(#gwPaperGreen); stroke: var(--gw-safe); stroke-width: 1.5; }
.gw-doc-fold-in{ fill: url(#gwFoldRed); stroke: var(--gw-red); stroke-width: 1.2; stroke-linejoin: round; }
.gw-doc-fold-out{ fill: url(#gwFoldGreen); stroke: var(--gw-safe); stroke-width: 1.2; stroke-linejoin: round; }
.gw-doc-line-in{ stroke: rgba(255,122,140,0.45); stroke-width: 2; stroke-linecap: round; }
.gw-doc-line-out{ stroke: rgba(79,224,176,0.45); stroke-width: 2; stroke-linecap: round; }
.gw-badge-mark{ fill: none; stroke: #0c1424; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gw-star{ fill: #cfe6ff; }

/* caption + HTML legends */
.gw-deploy-strip{
  margin: clamp(6px,1vw,12px) auto 0; text-align: center;
  font-family: var(--gw-mono); font-size: clamp(11.5px,1vw,13px); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gw-cyan-soft);
}
.gw-caption{
  max-width: 880px; margin: clamp(8px,1.2vw,16px) auto 0; text-align: center;
  font-size: clamp(13.5px, 1.15vw, 15.5px); line-height: 1.55; color: var(--gw-slate-1);
}
.gw-caption b{ color: #fff; font-weight: 700; }
.gw-legends{ display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(12px,1.6vw,22px); margin-top: clamp(16px,2vw,26px); }
.gw-legend{
  border: 1px solid var(--gw-line); border-radius: var(--radius-md, 6px);
  background: linear-gradient(180deg, rgba(11,28,81,0.34) 0%, rgba(7,18,44,0.34) 100%);
  padding: clamp(13px,1.4vw,18px);
}
.gw-legend h4{
  margin: 0 0 13px; font-family: var(--gw-mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gw-cyan-soft);
  display: flex; align-items: center; gap: 9px;
}
.gw-legend h4 .gw-hr{ flex: 1; height: 1px; background: linear-gradient(90deg, rgba(154,236,255,0.35), rgba(154,236,255,0)); }
.gw-chips{ display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.gw-chip{
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(72,213,255,0.05); border: 1px solid rgba(72,213,255,0.2);
}
.gw-chip .gw-dot{ width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: var(--gw-cyan); box-shadow: 0 0 7px rgba(72,213,255,0.7); flex: none; }
.gw-chip-t{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gw-chip-t b{ font-size: 14px; font-weight: 700; color: var(--gw-slate-1); line-height: 1.2; letter-spacing: -0.005em; }
.gw-chip-t i{ font-size: 12.5px; font-weight: 400; font-style: normal; color: var(--gw-slate-2); line-height: 1.3; }
.gw-chip small{ color: var(--gw-cyan-soft); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }

.gw-safeware{ border-color: rgba(79,224,176,0.28); background: linear-gradient(180deg, rgba(11,40,40,0.3) 0%, rgba(7,18,44,0.4) 100%); }
.gw-safeware h4{ color: var(--gw-safe); }
.gw-safeware h4 .gw-hr{ background: linear-gradient(90deg, rgba(79,224,176,0.4), rgba(79,224,176,0)); }
.gw-safeware .gw-chip{ background: rgba(79,224,176,0.06); border-color: rgba(79,224,176,0.26); }
.gw-safeware .gw-chip .gw-dot{ background: var(--gw-safe); box-shadow: 0 0 7px rgba(79,224,176,0.7); }
.gw-safeware-note{ margin: 12px 0 0; font-size: 12.5px; color: var(--gw-slate-2); line-height: 1.45; }

@media (max-width: 720px){
  .gw-legends{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  .gw-cdr-flow{ animation: none; }
}

/* ---------------------------------------------------------------------------
   Regulatory timeline — APAC compliance tracker (compliance-apac, compliance-*)
   Rendered by the `timeline` section type in templates/page.html.j2.
   --------------------------------------------------------------------------- */

.reg-timeline {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0 0 0 var(--space-lg);
  border-left: 1px solid var(--line-soft);
  display: grid;
  gap: var(--space-lg);
}

.reg-entry {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

/* Node on the spine. Offset matches .reg-timeline padding + border. */
.reg-entry::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-lg) - 5px);
  top: var(--space-lg);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan-450);
  box-shadow: 0 0 0 4px var(--surface-2);
}

.reg-entry[data-impact="medium"]::before { background: var(--amber-400); }
.reg-entry[data-impact="low"]::before { background: var(--slate-200); }

.reg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.reg-date {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--cyan-350);
  letter-spacing: 0.02em;
}

.reg-tag,
.reg-impact {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  color: var(--slate-100);
}

.reg-impact-high {
  color: var(--white);
  border-color: var(--border-soft);
  background: rgba(72, 213, 255, 0.14);
}

.reg-impact-low { opacity: 0.72; }

.reg-territory {
  margin-left: auto;
  font-size: var(--text-sm);
  color: var(--cyan-350);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.reg-territory:hover,
.reg-territory:focus-visible { border-bottom-color: currentColor; }

.reg-title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-headline);
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--white);
}

.reg-summary,
.reg-note,
.reg-glasswall p {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--slate-100);
  max-width: 88ch;
}

.reg-note strong { color: var(--white); }

.reg-glasswall {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-left: 2px solid var(--cyan-450);
  background: var(--surface-2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.reg-note-label {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-350);
}

.reg-glasswall p:last-child { margin-bottom: 0; }

.reg-verticals {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: var(--space-sm) 0;
  padding: 0;
}

.reg-verticals li {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-200);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 2px 7px;
}

.reg-source { margin: var(--space-sm) 0 0; }

.reg-source a {
  font-size: var(--text-sm);
  color: var(--cyan-350);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.reg-source a:hover,
.reg-source a:focus-visible { border-bottom-color: currentColor; }

@media (max-width: 600px) {
  .reg-timeline { padding-left: var(--space-md); }
  .reg-entry { padding: var(--space-md); }
  .reg-entry::before { left: calc(-1 * var(--space-md) - 5px); }
  .reg-territory { margin-left: 0; }
}

/* Quiet source + capability lines inside tracker prose sections */
.prose .src-line { margin: var(--space-sm) 0 0; }

.prose .src-line a {
  font-size: var(--text-sm);
  color: var(--slate-200);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.prose .src-line a:hover,
.prose .src-line a:focus-visible { color: var(--cyan-350); border-bottom-color: currentColor; }

.prose .cap-line,
.reg-glasswall .cap-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: var(--space-sm) 0 0;
}

.prose .cap-chip,
.reg-glasswall .cap-chip {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--slate-100);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
}

.prose .cap-plat,
.reg-glasswall .cap-plat {
  font-size: var(--text-xs);
  color: var(--slate-200);
  margin-left: 4px;
}

/* Linked card-light cards (territory cards on the regulatory landscape hub):
   reset the UA link underline and re-establish the card text palette. */
a.card-light {
  text-decoration: none;
  color: var(--slate-100);
}

a.card-light h3 { color: var(--white); }
a.card-light p { color: var(--slate-100); }
a.card-light .eyebrow { color: var(--cyan-350); }
