/* =============================================
   TABLE OF CONTENTS
   =============================================
   Sections are marked with banner comments. Grep the title to jump.

   FOUNDATION:   BRAND TOKENS · RESET · NOISE TEXTURE · KICKER · BUTTONS · SCROLL REVEAL
   LANDING:      1. NAV · LANG SWITCH · 2. HERO · KEYBOARD INTRO · 4. WHY US ·
                 5. SERVICES · 7. TEAM · FAQ · 8. CONTACT · 9. FOOTER ·
                 10. INTERSTITIAL · 11. SERVICES DUALITY + COMBO CARD
   GLOBAL:       GLOBAL MOTION + A11Y · LANG BANNER · EASTER EGG
   OTHER PAGES:  PRIVACY PAGES · INSPECT US · 404 ERROR PAGE · SCROLL PROGRESS · BLOG

   RESPONSIVE:   Each component's @media overrides live at the bottom of that section,
                 not in a single shared block. Breakpoints: 1024 / 768 / 767 / 480 / 414 / 374.
                 prefers-reduced-motion globals: GLOBAL MOTION + A11Y section.
   ============================================= */

/* Poppins — latin-ext (Croatian diacritics: č, đ, ž, ć, š) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/poppins-900-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/poppins-800.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/poppins-900.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/outfit-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/caveat-700.woff2') format('woff2');
}
/* =============================================
       BRAND TOKENS
    ============================================= */
:root {
  /* Deterministic UA form-control accent. Without this, color-scheme: dark
     (see content/site-head.mjs) lets the UA pick a dark accent for checkbox
     ticks, radio dots, range thumbs, progress bars, and select arrows. UA
     defaults vary between Linux/Mac/Windows and shared GHA runners, driving
     subpixel jitter in the contact section + accordion focus rings (real
     cause of the visual flake on PR #175). Explicit CAG cyan replaces UA
     decision with brand decision — byte-stable across platforms. Pairs with
     color-scheme: dark, which still governs pre-CSS body bg + scrollbar
     palette (the original brand intent — no-white-flash on slow 3G). */
  accent-color: #18cbcb;

  --dark: #373643;
  --dark-deep: #272632;
  --cyan: #18cbcb;
  --cyan-ink: #0a686a;
  --cyan-hover: #0fa5a7;
  --cyan-band-mid: #16c4c7;
  --light-teal: #b0f0f0;
  --off-white: #f5f7fa;
  --light-gray: #e8ecf1;
  --mid-gray: #6b7085;
  --body-text: #474759;
  --white: #ffffff;
  --error: #e74c3c;
  /* warm accent — marketing column, Caveat handwriting, personality badges */
  --coral: #ff6b6b;
  --coral-ink: #d94f4f;
  /* WCAG AA-compliant dark coral for white-text surfaces.
     White on --coral is 2.77:1 (fails 4.5:1 minimum); white on --coral-ink
     is 4.02:1 (still under). --coral-deep tested at 5.12:1 — solid headroom
     for body text while staying within the established coral identity hue. */
  --coral-deep: #b94646;
  --dark-text: #1a1a2e;
  --muted: #9fa7c1;
  --muted-light: #b4b8ca;
  --cyan-glow: #7de2e2;
  --cyan-bright: #5ee5e5;
  --cyan-ice: #caffff;
  /* Inspect Us live-audit semantic tokens. Green = verified, amber =
     informational/CI, dark-ink = text on cyan-filled surfaces (the prompt
     submit button). Kept here so consumers reach them via var() rather than
     hardcoding hex inside .la-* rules. */
  --green: #5fd17a;
  --amber: #ffb84a;
  --dark-ink: #02181a;
  --font-head: 'Poppins', Arial, sans-serif;
  --font-display: 'Outfit', 'Poppins', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  /* Single mono token — the stack the landing terminal/audit widget already
     uses. Every mono surface (HoF counts, .la-* widget, blog code) points
     here so no component reinvents the stack (blog code previously bottomed
     out at Courier New on macOS without MS Office). */
  --font-mono: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;

  --light-surface: #eef4f6;
  --dark-surface: #1c2029;
  --dark-base: #10141b;
  --dark-floor: #090c12;

  /* 64px, was 72: the bar read heavy on wide screens, especially stacked
     under the 39px language banner. Hero offsets, scroll anchors, mobile-menu
     and banner pushes all derive from this token. */
  --nav-h: 64px;
  /* Rendered language-banner height (38px inner min-height + 1px border).
     The banner overlays the fixed nav's top edge, so the nav/mobile-menu
     pushes MUST equal this value — a hard-coded 40px push once clipped the
     nav CTA pill's top border on every bannered page. */
  --lang-banner-h: 39px;
  --pad: clamp(64px, 9vw, 110px);
  --wrap: 1200px;
  /* Article column width — owner call (2026-06-11): 680px, the production
     width; 620px read "bigger but narrower, page underused". At 16px Inter
     that's ~85 CPL (old 680px/15px ran 95-106). Shared by every article
     block (.blog-content/.blog-cta/.blog-faq/.blog-related/.blog-author-bio
     and the cover figure) so all edges share one line. */
  --blog-measure: 680px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 999px;

  /* Type-scale steps — the small-text tiers that recur across components.
     Literal px sizes map onto the nearest step; clamp() display sizes stay
     per-component. (DESIGN.md § Typography documents the scale.) */
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 16px;
  --text-lg: 19px;

  /* Fluid sub-heading tiers — the two mid-tier clamps that recurred verbatim
     across components (sub-section h2 ×3, tertiary h3/question ×5). Section
     headlines + lead tiers stay per-component (intentional per-section ramp);
     only these true duplicates are tokenized. DESIGN.md § Typography. */
  --fs-h2-minor: clamp(20px, 2.5vw, 26px);
  --fs-h3: clamp(18px, 2vw, 21px);

  /* Premium elevation tokens. The button keycap edge remains border-driven;
     these only unify ambient shadows across repeated surfaces. */
  --shadow-action: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 8px rgba(24, 203, 203, 0.2);
  --shadow-action-hover: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 24px rgba(24, 203, 203, 0.25);
  --shadow-surface: 0 14px 30px -24px rgba(26, 26, 46, 0.32), 0 6px 18px -12px rgba(55, 54, 67, 0.16);
  --shadow-surface-hover: 0 22px 40px -26px rgba(26, 26, 46, 0.36), 0 12px 28px -18px rgba(55, 54, 67, 0.18);
  --shadow-glass: 0 24px 44px -32px rgba(26, 26, 46, 0.34), 0 18px 52px -38px rgba(24, 203, 203, 0.24);

  /* Motion tokens — --ease stays the composite hover shorthand; the named
     beziers replace per-element copies of the same curves. */
  --ease: 0.25s ease;
  --dur-fast: 0.15s;
  --dur-base: 0.25s;
  --dur-reveal: 0.65s;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-scan: cubic-bezier(0.25, 0.7, 0.3, 1);
}

@media (max-width: 414px) {
  :root {
    --pad: 40px;
  }
}

/* =============================================
       RESET
    ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: var(--text-md);
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}
::selection {
  background: var(--cyan);
  color: var(--dark);
}
.hero-content,
.services-grid,
.svc-col,
.svc-card,
.svc-text,
.team-card,
.team-info,
.contact-panel,
.buyer-hero-copy,
.buyer-console,
.buyer-grid,
.buyer-panel,
.buyer-split,
.buyer-content,
.buyer-callout,
.buyer-proof-item,
.buyer-cta-strip,
.buyer-table-wrap,
.privacy-inner,
.p-section,
.error-primary,
.error-lang,
.error-lang .wrap,
.error-actions {
  min-width: 0;
}
.hero-sub,
.svc-text p,
.t-bio,
.p-section p,
.p-section li,
.p-section a,
.error-description,
.buyer-title,
.buyer-lead,
.buyer-content p,
.buyer-content li,
.buyer-panel p,
.buyer-proof-item,
.buyer-cta-strip p,
.f-copy,
.fl-label {
  overflow-wrap: anywhere;
}
.body-no-scroll {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.honeypot {
  display: none !important;
}
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  display: inline-block;
}
.icon-spin {
  animation: iconSpin 1s linear infinite;
}
@keyframes iconSpin {
  to {
    transform: rotate(360deg);
  }
}
.toast-msg {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--error);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  box-shadow: 0 8px 30px rgba(231, 76, 60, 0.3);
  width: min(90vw, 420px);
  max-width: 420px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.toast-msg.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.egg-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--cyan);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  box-shadow: 0 8px 30px rgba(24, 203, 203, 0.3);
  width: min(90vw, 420px);
  max-width: 420px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.egg-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  z-index: 201;
  background: var(--cyan);
  color: var(--dark);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateX(-50%) translateY(0);
}
ul {
  list-style: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* =============================================
       NOISE TEXTURE
    ============================================= */
.noise {
  position: relative;
}
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: soft-light;
  z-index: 0;
}
.noise > * {
  position: relative;
  z-index: 1;
}

/* =============================================
       KICKER
    ============================================= */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.kicker-light {
  color: var(--light-teal);
}
/* Light-surface kicker override — 11px uppercase labels need 4.5:1 (WCAG AA).
   --cyan is 2.01:1 on white / 1.87:1 on off-white; --cyan-ink measures 6.56:1
   and 6.11:1 (the established cyan-on-light text token, same as .c-kicker and
   .svc-badge). The dark Team section keeps the default --cyan (5.90:1). */
.why .kicker,
.services .kicker,
.faq .kicker {
  color: var(--cyan-ink);
}

/* =============================================
       BUTTONS
    ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
  min-height: 44px;
}
.btn-primary {
  background: var(--cyan);
  color: var(--dark-text);
  border-color: var(--cyan);
  font-weight: 700;
  border-bottom: 3px solid var(--cyan-hover);
  box-shadow: var(--shadow-action);
}
.btn-primary:hover {
  background: var(--cyan-hover);
  border-color: var(--cyan-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-action-hover);
}
.btn-primary:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
  background: var(--cyan-hover);
  border-color: var(--cyan-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 4px rgba(24, 203, 203, 0.15);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover,
.btn-outline:active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(24, 203, 203, 0.08);
  transform: translateY(-1px);
}

/* =============================================
       SCROLL REVEAL
    ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--dur-reveal) ease,
    transform var(--dur-reveal) ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* =============================================
       1. NAV
    ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 101;
  background: rgba(39, 38, 50, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    top 0.25s ease,
    background var(--ease),
    backdrop-filter var(--ease),
    border-color var(--ease);
}
.nav.scrolled {
  background: rgba(39, 38, 50, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(24, 203, 203, 0.12);
}
/* Without this the .nav-inner height:100% never resolved (.wrap is
   auto-height), so the 44px row hugged the TOP of the bar and the bottom
   ~20px was dead space — the nav content never actually centered. */
.nav > .wrap {
  height: 100%;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  flex-shrink: 0;
}
.nav-logo svg {
  height: 38px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.87);
  letter-spacing: 0.02em;
  transition: color var(--ease);
  /* Positioning context for the always-present active-underline ::after. */
  position: relative;
}
/* Keyboard-native section links: mono lowercase labels with a mini keycap
   hotkey chip ([U] usluge … — the chord the company is named after, made
   functional; js/nav.js binds the bare keys). CTA pill keeps its own type. */
.nav-links > a:not(.nav-cta) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.82);
}
/* Keycap chips vanish when the user turns shortcuts off (truth in
   advertising; html.hotkeys-off is set by js/nav.js from localStorage). */
.hotkeys-off .nav-links a .nav-key {
  display: none;
}
/* The [?] cheatsheet opener — how the hotkeys are DISCOVERED: a visible
   keycap that is itself a button (click opens the dialog the ? key opens).
   Survives both the collapsed state and hotkeys-off (it's the re-enable
   path). 44px hit area around the small chip. */
.nav-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0 -10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-help:hover .nav-key,
.nav-help:focus-visible .nav-key {
  border-color: rgba(24, 203, 203, 0.6);
  color: var(--cyan);
}
.nav-key {
  /* The parent link lowercases; the key cap itself shows the capital. */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  padding: 1px 4px 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom-width: 2.5px;
  border-radius: 4px;
  transition:
    border-color var(--ease),
    color var(--ease);
}
.nav-links > a:not(.nav-cta):hover .nav-key,
.nav-links a.nav-active .nav-key {
  border-color: rgba(24, 203, 203, 0.6);
  color: var(--cyan);
}
/* Mono page path beside the logo — `~ / naslovnica`. Decorative; yields
   space first when the bar tightens. */
.nav-path {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-left: 18px;
  white-space: nowrap;
}
.nav-path::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
  margin-right: 18px;
  vertical-align: -3px;
}
@media (max-width: 1099px) {
  .nav-path {
    display: none;
  }
}
/* Active-section underline lives on every nav link at scaleX(0) so it can
   TRANSITION in/out as the IntersectionObserver moves .nav-active — defined
   only under .nav-active it hard-popped, the one untransitioned state change
   in the most persistent UI element on the page. */
.nav-links > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1.5px;
  background-color: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:hover {
  color: var(--cyan);
}
.nav-links > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}
.nav-links a.nav-active {
  color: var(--white);
}
.nav-links a.nav-active::after {
  transform: scaleX(1);
}
#usluge,
#tim,
#kontakt {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.nav-cta {
  padding: 10px 20px;
  font-size: var(--text-base);
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 15px 2px rgba(24, 203, 203, 0.2);
}
.nav-cta:hover {
  box-shadow: 0 0 20px 4px rgba(24, 203, 203, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile command sheet — spušta se iz nav bara (clip reveal: header prvi).
   Nosi desktop command-bar identitet: terminal header, keycap redovi, ↵ CTA. */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: #0f1118;
  z-index: 100;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition:
    clip-path 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}
.mobile-menu.open {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    clip-path: none;
    transition: opacity 0.18s ease;
  }
  .mobile-menu.open {
    clip-path: none;
  }
}

/* Terminal header — zrcali desktop ~ / path + blinkajući kursor. */
.mob-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 26px 22px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.mob-tilde {
  color: var(--cyan-bright, #5ee5e5);
  font-weight: 700;
}
.mob-slash {
  color: rgba(255, 255, 255, 0.3);
}
.mob-word {
  color: var(--cyan);
  font-weight: 600;
}
.mob-caret {
  width: 8px;
  height: 15px;
  background: var(--cyan);
  animation: mobCaret 1.1s step-end infinite;
}
@keyframes mobCaret {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mob-caret {
    animation: none;
  }
}

/* Redovi sekcija — tap-mete preko cijele širine: keycap + mono label + ↗. */
.mob-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  transform: translateY(-10px);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open .mob-rows {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .mob-rows,
  .mobile-menu.open .mob-rows {
    transform: none;
    transition: none;
  }
}
.mob-rows .mob-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  min-height: 44px;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  transition: background var(--ease);
}
.mob-rows .mob-link:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mob-rows .mob-link:active {
  background: rgba(24, 203, 203, 0.06);
}
.mob-label {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}
.mob-arrow {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex-shrink: 0;
}
.mob-rows .mob-link:active .mob-arrow,
.mob-rows .mob-link:active .nav-key {
  color: var(--cyan);
}
/* Keycap nešto veći ovdje nego u gornjoj traci. */
.mobile-menu .nav-key {
  min-width: 26px;
  font-size: 12.5px;
  padding: 3px 6px 4px;
}

/* Podnožje — ↵ CTA preko cijele širine, pa lang + proof. */
.mob-foot {
  padding: 20px 22px 30px;
}
.mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  background: var(--cyan);
  color: #0a1f1f;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 28px -8px rgba(24, 203, 203, 0.7);
}
.mob-cta .nav-key {
  color: #0a686a;
  background: rgba(10, 31, 31, 0.12);
  border-color: rgba(10, 31, 31, 0.3);
}
.mob-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.mob-proof {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}

/* 960, not 768: with keycap chips the desktop cluster doesn't fit 769-960
   (flex crushed the EN logo to 3px at 769) — tablets get the hamburger. */
@media (max-width: 960px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* =============================================
       NAV COMMAND-LINE (collapsed state, landing)
    ============================================= */
/* Hidden until the nav collapses (scroll > 200px, desktop only). The full
   bar is the default and ALWAYS returns on focus-within, so keyboard users
   never lose the real links — the cmdline is a pointer-era affordance
   (aria-hidden, tabindex=-1 in markup). */
.nav-cmdline {
  display: none;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  white-space: nowrap;
  min-width: 0;
}
.nav-cmdline a {
  color: var(--cyan);
  text-decoration: none;
}
.nav-cmdline a:hover {
  text-decoration: underline;
}
.cmd-sep {
  color: rgba(255, 255, 255, 0.3);
}
.cmd-pct {
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 1px 6px 2px;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 961px) {
  .nav.nav-collapsed:not(:focus-within) .nav-cmdline {
    display: inline-flex;
  }
  /* Visually hidden, NOT display:none: the links must stay in the
     accessibility tree (screen-reader browse mode) and focusable — focus
     restores the full bar via :focus-within above. */
  .nav.nav-collapsed:not(:focus-within) .nav-path {
    display: none;
  }
  .nav.nav-collapsed:not(:focus-within) .nav-links > a:not(.nav-cta),
  .nav.nav-collapsed:not(:focus-within) .nav-links .lang-switch {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* =============================================
       HOTKEYS CHEATSHEET DIALOG
    ============================================= */
/* Opened by '?' or the footer Prečaci/Shortcuts button; carries the WCAG
   2.1.4 on/off toggle for the single-letter nav shortcuts. Native <dialog>
   (Esc + ::backdrop for free), dark console surface. */
.hotkeys-dialog {
  background: var(--dark-surface);
  color: var(--white);
  border: 1px solid rgba(24, 203, 203, 0.25);
  border-radius: var(--radius-md);
  padding: 26px 28px 22px;
  width: min(92vw, 380px);
}
.hotkeys-dialog::backdrop {
  background: rgba(9, 12, 18, 0.65);
}
.hotkeys-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}
.hotkeys-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 20px;
}
.hotkeys-list dt {
  margin: 0;
}
.hotkeys-list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.85);
}
.hotkeys-toggle {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--cyan);
  background: rgba(24, 203, 203, 0.1);
  border: 1px solid rgba(24, 203, 203, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-height: 44px;
  cursor: pointer;
  transition:
    background var(--ease),
    border-color var(--ease);
}
.hotkeys-toggle:hover {
  background: rgba(24, 203, 203, 0.18);
}
.hotkeys-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  transition: color var(--ease);
}
.hotkeys-close:hover {
  color: var(--white);
}

/* =============================================
       LANG SWITCH
    ============================================= */
/* Segmented control instead of text + pipe — the active locale sits in a
   filled cyan-tint segment. The mobile menu keeps its own larger variant. */
.nav-links .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
}
.nav-links .lang-switch .lang-btn {
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.nav-links .lang-switch .lang-btn.active {
  background: rgba(24, 203, 203, 0.16);
}
.nav-links .lang-switch .lang-sep {
  display: none;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  /* --muted, not --mid-gray: 6.22:1 on the nav backdrop (mid-gray was 3.04:1
     — a light-surface token crossed onto a dark surface). Active stays white,
     hover stays cyan, so the active > inactive hierarchy is preserved. */
  color: var(--muted);
  cursor: pointer;
  padding: 8px 6px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.lang-btn.active {
  color: var(--white);
}
.lang-btn:hover {
  color: var(--cyan);
}
.lang-sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0;
  vertical-align: middle;
}

/* Mobile lang switch — segmentirani pill, kao desktop kontrola. */
.mobile-menu .lang-switch {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
}
.mobile-menu .lang-btn {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
}
.mobile-menu .lang-btn.active {
  background: rgba(24, 203, 203, 0.16);
}
.mobile-menu .lang-sep {
  display: none;
}

/* =============================================
       2. HERO
    ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero .wrap {
  max-width: min(1320px, 100%);
  min-width: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(24, 203, 203, 0.08), transparent 18%),
    radial-gradient(circle at 72% 30%, rgba(24, 203, 203, 0.2), transparent 23%),
    radial-gradient(circle at 84% 56%, rgba(24, 203, 203, 0.11), transparent 31%),
    linear-gradient(112deg, rgba(8, 11, 17, 0) 0%, rgba(8, 11, 17, 0.14) 34%, rgba(10, 15, 23, 0.92) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 10%;
  right: clamp(28px, 6vw, 88px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(24, 203, 203, 0.28), transparent);
  opacity: 0.85;
  box-shadow: 0 0 18px rgba(24, 203, 203, 0.12);
  pointer-events: none;
}

/* Faded background chevron */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-bg svg {
  width: min(82vw, 820px);
  height: min(82vw, 820px);
  opacity: 0.14;
  transform: translateX(14%) translateY(2%);
  filter: drop-shadow(0 0 52px rgba(24, 203, 203, 0.12));
  animation: bgPulse 7s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes bgPulse {
  0%,
  100% {
    opacity: 0.13;
    transform: translateX(14%) translateY(2%) scale(1);
  }
  50% {
    opacity: 0.2;
    transform: translateX(14%) translateY(2%) scale(1.04);
  }
}

/* =============================================
       KEYBOARD INTRO
    ============================================= */
.keyboard-intro {
  position: absolute;
  /* -90px bottom: the next section's rounded top edge overlaps the hero's
     bottom, so at tall viewports it peeked below the curtain mid-intro. */
  inset: 0 0 -90px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  background: var(--dark);
  will-change: opacity;
  contain: paint;
  transition: opacity 0.3s ease;
}
.keyboard-intro.fade-out {
  opacity: 0;
}
/* Keys drop out in the first beat of the curtain's 300ms crossfade —
   otherwise their outlines ghost over the hero texture bleeding through the
   semi-transparent curtain and the hand-off reads as a rendering glitch. */
.keyboard-intro.fade-out .key {
  opacity: 0;
  transition: opacity 0.1s ease;
}
.keyboard-intro.done {
  display: none;
}
.keys-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  background: linear-gradient(180deg, rgba(80, 78, 105, 0.97) 0%, rgba(45, 44, 60, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 4px solid rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-sm);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: lowercase;
  transition:
    transform 0.1s ease,
    border-bottom-width 0.1s ease,
    box-shadow 0.1s ease;
  -webkit-user-select: none;
  user-select: none;
}
.key.grow {
  color: var(--cyan);
}
.key.pressed {
  transform: translateY(3px);
  border-bottom-width: 1px;
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.keyboard-flash {
  position: fixed;
  inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity 0.15s ease;
}
.keyboard-flash.flash {
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 9vw, 136px) 0;
  max-width: min(1180px, 100%);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 0;
  margin-bottom: 18px;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.hero-tag-brand {
  color: var(--white);
}
.hero-tag-context {
  color: var(--light-teal);
}
.hero-tag-sep {
  color: rgba(255, 255, 255, 0.3);
}
.hero-tag::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%2318CBCB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,10 16,10 16,22'/%3E%3Cpolyline points='12,4 24,4 24,16'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.85;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.6vw, 82px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 18px;
  max-width: none;
}
html[lang='en'] .hero-content {
  max-width: min(1200px, 100%);
}
html[lang='en'] .hero-headline {
  font-size: clamp(40px, 5.6vw, 76px);
}

.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner {
  display: block;
  white-space: nowrap;
}
.cyan {
  color: var(--cyan);
}
.hero-headline .cyan {
  text-shadow: 0 0 12px rgba(24, 203, 203, 0.2);
}
/* Hero line 2 ('MARKETING TO DOKAZUJE.') in the marketing accent — the one
   sentence about marketing was painted in the IT color, leaving the dual-
   accent brand mono-cyan above the fold. Large text: #FF6B6B on the dark
   hero passes AA (4.27:1 > 3:1 large-text minimum). */
.coral {
  color: var(--coral);
}
.hero-headline .coral {
  text-shadow: 0 0 12px rgba(255, 107, 107, 0.18);
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: rgba(255, 255, 255, 0.76);
  max-width: 42ch;
  line-height: 1.62;
  margin-bottom: 38px;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* ── Hero entrance, armed only on a genuine first visit ──────────────────
   The hero renders in its visible resting state by DEFAULT (the rules above),
   so the LCP headline paints on the first CSS pass with zero JS dependency.
   js/landing.js adds `.intro-armed` to <html> only when the keyboard intro
   will actually play (first visit per session, motion allowed, JS present).
   Arming re-creates the pre-animation hidden state behind the opaque
   keyboard-intro curtain so the slide-up + scramble reveal runs as designed.
   Repeat / reduced-motion / bot / no-JS paths never arm → instant visible
   hero. See AGENTS.md “Hero renders visible by default”. */
.intro-armed .keyboard-intro {
  display: flex;
}
/* Once the intro finishes, `.done` must win over the armed `display:flex`
   above. They tie on specificity (0,2,0), so without this higher-specificity
   rule source-order would keep the spent curtain mounted as a transparent
   (opacity:0, pointer-events:none) layer over the hero. */
.intro-armed .keyboard-intro.done {
  display: none;
}
.intro-armed .hero-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.intro-armed .hero-content.revealed {
  opacity: 1;
}
.intro-armed .hero-tag {
  opacity: 0;
  transform: translateY(16px);
}
.intro-armed .hero-tag.animate {
  opacity: 1;
  transform: translateY(0);
}
.intro-armed .hero-line-inner {
  opacity: 0;
  transform: translateY(70px);
}
.intro-armed .hero-line-inner.animate {
  animation: slideUp 0.85s var(--ease-out-expo) forwards;
}
.intro-armed .hero-sub {
  opacity: 0;
  transform: translateY(16px);
}
.intro-armed .hero-sub.animate {
  opacity: 1;
  transform: translateY(0);
}
.intro-armed .hero-ctas {
  opacity: 0;
  transform: translateY(16px);
}
.intro-armed .hero-ctas.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Proof statusline — one slim band of verifiable facts under the hero
   (owner call 2026-06-11: the four-card strip duplicated the live console's
   role; the band keeps the 3-second credibility scan + the framework-list
   placement without the template-card anatomy). Mono values = the console
   grammar quoted on a light surface. */
.proof-strip {
  position: relative;
  /* Opaque, no washes: the band overlaps the dark hero by 36px, so the old
     0.92-alpha gradient let the hero bleed through the rounded edge, and the
     card-era cyan radial read as a green smear on the slim band. */
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  padding: 20px 0;
  overflow: hidden;
  margin-top: -36px;
  z-index: 2;
  border-radius: 16px 16px 0 0;
}
.proof-rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 0;
}
.proof-item {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  padding-right: 26px;
}
.proof-item + .proof-item {
  border-left: 1px solid rgba(55, 54, 67, 0.14);
  padding-left: 26px;
}
.proof-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--cyan-ink);
}
.proof-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--body-text);
}
.proof-verify {
  margin-left: auto;
  align-self: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cyan-ink);
  text-decoration: none;
  white-space: nowrap;
  padding-left: 20px;
}
.proof-verify:hover,
.proof-verify:focus-visible {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .hero-line-inner {
    white-space: normal;
  }
  .hero-headline {
    line-height: 1.05;
  }
}

@media (max-width: 414px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 48px);
  }
  .hero-content {
    padding: 24px 0 40px;
    max-width: 100%;
  }
  .hero-headline {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
    line-height: 1.05;
    max-width: none;
  }
  .hero-tag {
    gap: 8px 10px;
    margin-bottom: 18px;
  }
  .hero-tag::before {
    width: 28px;
  }
  .hero-sub {
    margin-top: 12px;
    margin-bottom: 28px;
  }
  .hero-ctas {
    gap: 12px;
    margin-top: 20px;
  }
}

/* =============================================
       4. WHY US
    ============================================= */
.why {
  background: var(--white);
  padding: var(--pad) 0;
  overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.why-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.why-headline .accent {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.35em;
  color: var(--coral-ink);
}
.why-body {
  padding-top: 6px;
  font-size: var(--text-md);
  color: var(--body-text);
  line-height: 1.8;
}
.why-lead {
  display: block;
  font-size: var(--text-lg);
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 16px;
}
.why-detail {
  font-size: var(--text-base);
  color: var(--body-text);
  line-height: 1.8;
  border-top: 1px solid var(--light-gray);
  padding-top: 14px;
  margin-top: 0;
}
/* Flywheel drop-in: export-safe minimal loop with Spoj core. */
.flywheel {
  position: relative;
  margin-top: 26px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(55, 54, 67, 0.09);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background:
    radial-gradient(circle at 50% 47%, rgba(24, 203, 203, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 252, 252, 0.96)), var(--white);
  box-shadow: var(--shadow-surface);
  overflow: hidden;
}
.flywheel-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  color: var(--dark);
  overflow: visible;
}

.flywheel-track {
  fill: none;
  stroke: rgba(55, 54, 67, 0.14);
  stroke-width: 1.4;
}

/* Traveling charge — one focused dash moving around the loop. */
.flywheel-charge {
  fill: none;
  stroke: var(--cyan-ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1.4 98.6;
}

/* Nodes */
.flywheel-node {
  transform-box: fill-box;
  transform-origin: center;
}
.flywheel-node-security {
  color: var(--cyan-ink);
}
.flywheel-node-growth {
  color: var(--coral-deep);
}
.flywheel-node-ring {
  fill: var(--white);
  stroke: currentColor;
  stroke-width: 1.3;
}
.flywheel-node-dot {
  fill: currentColor;
  opacity: 0.07;
}
.flywheel-node-glow {
  opacity: 0;
}
.flywheel-halo-sec-start,
.flywheel-halo-sec-end {
  stop-color: var(--cyan);
}
.flywheel-halo-gro-start,
.flywheel-halo-gro-end {
  stop-color: var(--coral);
}
.flywheel-halo-sec-start,
.flywheel-halo-gro-start {
  stop-opacity: 0.5;
}
.flywheel-halo-sec-end,
.flywheel-halo-gro-end {
  stop-opacity: 0;
}
.flywheel-node-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.flywheel-node-icon-mark {
  stroke-width: 1.7;
}

/* Spoj core — two-tone hairline lockup. */
.flywheel-core-arc-security {
  fill: none;
  stroke: var(--cyan-ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.85;
}
.flywheel-core-arc-growth {
  fill: none;
  stroke: var(--coral-deep);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.85;
}
.flywheel-core-label {
  font-family: var(--font-head);
  font-weight: 600;
  fill: var(--dark);
}
.flywheel-core-plus {
  fill: var(--cyan-ink);
  font-family: var(--font-head);
  font-weight: 700;
}

/* Outer labels */
.flywheel-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  fill: var(--mid-gray);
}

@keyframes flywheel-run {
  to {
    stroke-dashoffset: -100;
  }
}
@keyframes flywheel-ignite {
  0%,
  100% {
    transform: scale(1);
  }
  3% {
    transform: scale(1.12);
  }
  13% {
    transform: scale(1);
  }
}
@keyframes flywheel-glow {
  0%,
  100% {
    opacity: 0;
  }
  3% {
    opacity: 0.85;
  }
  18% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .flywheel-charge {
    animation: flywheel-run 17s linear infinite;
  }
  .flywheel-node {
    animation: flywheel-ignite 17s ease-out infinite;
  }
  .flywheel-node-glow {
    animation: flywheel-glow 17s ease-out infinite;
  }
  .flywheel-node-step-1,
  .flywheel-node-step-1 .flywheel-node-glow {
    animation-delay: 0s;
  }
  .flywheel-node-step-2,
  .flywheel-node-step-2 .flywheel-node-glow {
    animation-delay: 2.53s;
  }
  .flywheel-node-step-3,
  .flywheel-node-step-3 .flywheel-node-glow {
    animation-delay: 5.97s;
  }
  .flywheel-node-step-4,
  .flywheel-node-step-4 .flywheel-node-glow {
    animation-delay: 8.5s;
  }
  .flywheel-node-step-5,
  .flywheel-node-step-5 .flywheel-node-glow {
    animation-delay: 12.75s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flywheel-charge {
    opacity: 0;
  }
}
@media (max-width: 414px) {
  .flywheel {
    padding: 12px;
  }
  .flywheel-label {
    font-size: 8px;
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 414px) {
  .why-grid {
    gap: 20px;
  }
  .why-headline {
    margin-bottom: 0;
  }
}

/* =============================================
       5. SERVICES
    ============================================= */
.services {
  /* --light-surface, not --off-white: white→#F5F7FA was a 1.07:1 step the eye
     can't see, so Why→Services→FAQ read as one flat sheet. #EEF4F6 (1.11:1)
     registers and rhymes with the contact gradient. */
  background: var(--light-surface);
  padding: var(--pad) 0;
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -8%;
  width: 480px;
  height: 480px;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2318CBCB' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='40,40 140,40 140,140'/%3E%3Cpolyline points='70,10 170,10 170,110'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}
.services > * {
  position: relative;
  z-index: 1;
}
.services-head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.services-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.services-head p {
  font-size: var(--text-md);
  color: var(--mid-gray);
  max-width: 500px;
  margin: 0 auto 22px;
}
.services-bridge {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(55, 54, 67, 0.09);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
}
.services-bridge span {
  position: relative;
  padding-left: 16px;
}
.services-bridge span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(24, 203, 203, 0.55);
  transform: translateY(-50%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}
.svc-col {
  --svc-accent: var(--coral);
  --svc-accent-ink: var(--coral-deep);
  --svc-accent-soft: rgba(255, 107, 107, 0.08);
  --svc-accent-border: rgba(255, 107, 107, 0.26);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-col.primary {
  --svc-accent: var(--cyan);
  --svc-accent-ink: var(--cyan-ink);
  --svc-accent-soft: rgba(24, 203, 203, 0.08);
  --svc-accent-border: rgba(24, 203, 203, 0.26);
}
.col-head {
  margin-bottom: 6px;
}
.col-title {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.col-lead {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
}
.col-copy {
  max-width: 30ch;
  margin-top: 10px;
  /* 4 lines at 14px/1.65 — absorbs both locales' intro line-count variance so
     the two columns' first cards share a horizontal datum. Reset where the
     columns stack (≤1024px). */
  min-height: 6.6em;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-text);
}

.svc-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 252, 0.98) 100%), var(--white);
  border: 1px solid rgba(55, 54, 67, 0.1);
  border-left: 3px solid var(--svc-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
  box-shadow: var(--shadow-surface);
}
a.svc-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.svc-card::after {
  content: '→';
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--svc-accent-ink);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  opacity: 0.72;
  transition: transform var(--ease);
}
a.svc-card:hover::after,
a.svc-card:focus-visible::after {
  transform: translateX(3px);
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--svc-accent-soft), transparent 24%),
    radial-gradient(circle at 100% 0%, var(--svc-accent-soft), transparent 34%);
  pointer-events: none;
}
.svc-card > * {
  position: relative;
  z-index: 1;
}
.svc-card:hover {
  border-color: rgba(55, 54, 67, 0.14);
  border-left-color: var(--svc-accent);
  box-shadow: var(--shadow-surface-hover);
}
.svc-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.svc-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--svc-accent-ink);
  font-size: 23px;
  opacity: 0.92;
  border: 1px solid var(--svc-accent-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  transition:
    border-color var(--ease),
    opacity var(--ease),
    transform 0.4s var(--ease-back),
    background var(--ease);
}
.svc-icon .icon,
.combo-icon .icon {
  fill: none;
}
/* Mono inventory index (01-08) — ties the service grid to the console
   grammar (chips 01-05, HoF counter). Watermark weight, not a label. */
.svc-num {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--svc-accent-ink);
  border: 1px solid var(--svc-accent-border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.64);
}
.svc-card-featured .svc-num {
  color: var(--cyan-glow);
  border-color: rgba(24, 203, 203, 0.24);
  background: rgba(24, 203, 203, 0.08);
}
.svc-card:hover .svc-icon {
  opacity: 1;
  transform: translateY(-3px) scale(1.04);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--svc-accent);
}
.svc-col:not(.primary) .svc-card:hover {
  transform: translateY(-4px);
}
.svc-col.primary .svc-card:hover {
  transform: translateY(-4px);
}
.svc-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: rgba(24, 203, 203, 0.12);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}
.svc-card-featured {
  background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-base) 100%);
  border-color: rgba(24, 203, 203, 0.18);
  border-left-color: var(--cyan);
  box-shadow:
    0 22px 42px -28px rgba(26, 26, 46, 0.5),
    0 16px 34px -26px rgba(24, 203, 203, 0.22);
}
.svc-card-featured::before {
  background:
    radial-gradient(circle at 88% 16%, rgba(24, 203, 203, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(24, 203, 203, 0.08), transparent 45%);
}
.svc-card-featured:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 203, 203, 0.3);
  border-left-color: var(--cyan);
  box-shadow:
    0 28px 44px -30px rgba(26, 26, 46, 0.56),
    0 18px 36px -28px rgba(24, 203, 203, 0.28);
}
.svc-card-featured .svc-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(24, 203, 203, 0.14);
  border-color: rgba(24, 203, 203, 0.28);
  color: var(--cyan-glow);
}
.svc-icon-lock .lock-shackle {
  transform-origin: center;
  transform: translateY(-1.5px) rotate(-4deg);
  opacity: 0.5;
  transition:
    transform 0.4s var(--ease-back),
    opacity 0.3s ease;
}
.svc-card-featured:hover .lock-shackle {
  transform: translateY(0);
  opacity: 1;
}
.svc-card-featured .svc-text h3 {
  color: var(--white);
}
.svc-card-featured .svc-text p {
  color: rgba(255, 255, 255, 0.78);
}
.svc-text h3 a {
  color: inherit;
  text-decoration: none;
}
.svc-text h3 a:hover,
.svc-text h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Cyan family, NOT coral: the featured card lives in the Security column and
   DESIGN.md's never-list says coral never marks IT/security. Matches the
   featured card's icon treatment. */
.svc-card-featured .svc-badge {
  background: rgba(24, 203, 203, 0.14);
  color: var(--cyan-glow);
}
.svc-text h3 {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.svc-text p {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .col-copy {
    min-height: 0;
  }
}

@media (max-width: 414px) {
  .services-head {
    margin-bottom: 28px;
  }
  .services-bridge {
    justify-content: flex-start;
    text-align: left;
  }
  .services-grid {
    gap: 28px;
  }
  .svc-card {
    padding: 16px 18px;
  }
  .svc-text h3 {
    padding-right: 42px;
  }
}

/* =============================================
       7. TEAM
    ============================================= */
.team {
  background:
    radial-gradient(circle at 18% 18%, rgba(24, 203, 203, 0.12), transparent 28%),
    linear-gradient(180deg, var(--dark-surface) 0%, var(--dark-base) 100%);
  padding: var(--pad) 0;
  overflow: hidden;
  position: relative;
}
.team::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -8%;
  width: 400px;
  height: 400px;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2318CBCB' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='40,40 140,40 140,140'/%3E%3Cpolyline points='70,10 170,10 170,110'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}
.team > * {
  position: relative;
  z-index: 1;
}
.team-head {
  text-align: center;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.team-head h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.team-head p {
  font-size: var(--text-md);
  color: var(--muted-light);
  max-width: 420px;
  margin: 0 auto;
}
.handwritten-inline {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.45em;
  color: var(--coral);
}
.team-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
}
/* Elena's card drops 48px on desktop — a deliberate editorial stagger
   (SETTLED, BACKLOG § 8): reviews keep flagging it as "misalignment", the
   owner keeps it. Do not remove again. */
@media (min-width: 769px) {
  .team-card:nth-child(2) {
    margin-top: 48px;
  }
}
.team-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  width: min(520px, 100%);
  position: relative;
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
  box-shadow:
    0 4px 6px -1px rgba(55, 54, 67, 0.04),
    0 10px 20px -4px rgba(55, 54, 67, 0.06);
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(24, 203, 203, 0.13), transparent 42%),
    linear-gradient(90deg, rgba(24, 203, 203, 0.2), transparent 28%);
  opacity: 0.55;
  pointer-events: none;
}
.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(24, 203, 203, 0.45), rgba(24, 203, 203, 0));
  pointer-events: none;
}
.team-card:hover {
  border-color: rgba(24, 203, 203, 0.35);
  box-shadow:
    0 8px 16px -4px rgba(0, 0, 0, 0.2),
    0 20px 40px -8px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.avatar {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(24, 203, 203, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
  transition: box-shadow var(--ease);
  letter-spacing: 0.04em;
}
.avatar::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 1px solid rgba(24, 203, 203, 0.3);
}
.team-card:hover .avatar {
  box-shadow: 0 0 0 6px rgba(24, 203, 203, 0.15);
}
.team-info {
  flex: 1;
}
.t-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 4px;
  margin-left: 0;
  letter-spacing: -0.01em;
}
.t-title {
  font-size: var(--text-xs);
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.t-bio {
  /* 14px matches the .svc-text p prose tier — these eight lines carry the
     whole trust story and were the smallest sustained text on the page. */
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.7;
}
.t-linkedin {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  transition: color var(--ease);
  margin-top: 0;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
}
.t-linkedin:hover {
  color: var(--cyan);
}

.email-link,
.email-copy-btn,
.c-value a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  padding: 10px 0;
}
.email-copy-btn {
  position: relative;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(24, 203, 203, 0.22);
  border-radius: var(--radius-full);
  background: rgba(24, 203, 203, 0.08);
  color: var(--cyan-ink);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    transform var(--ease);
}
.email-copy-btn:hover {
  background: rgba(24, 203, 203, 0.14);
  border-color: rgba(24, 203, 203, 0.35);
  color: var(--cyan);
  transform: translateY(-1px);
}
.email-copy-btn.copied::after {
  content: var(--copy-text, 'Kopirano!');
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--dark);
  font-size: var(--text-2xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  animation: fadeUp 1.2s ease forwards;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
}

@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(400px, 100%);
  }
  .t-linkedin {
    position: static;
    margin-top: 14px;
    color: var(--cyan);
    border: 1px solid rgba(24, 203, 203, 0.22);
    background: rgba(24, 203, 203, 0.12);
    box-shadow: 0 16px 28px -22px rgba(24, 203, 203, 0.45);
  }
}

@media (max-width: 414px) {
  .team-head {
    margin-bottom: 24px;
  }
  .team-card {
    padding: 24px 20px;
    gap: 16px;
  }
}

/* =============================================
       FAQ
    ============================================= */
.faq {
  background: var(--white);
  padding: var(--pad) 0;
  position: relative;
}
.faq-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.faq-head .kicker {
  display: inline-block;
}
.faq-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.faq-headline .accent {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.35em;
  color: var(--coral-ink);
}
.faq-list {
  /* 800px, not 860: pulls the left-anchored Q&A mass's optical centre under
     the centered section heading (longest HR question still fits one line). */
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 52px);
}
.faq-item {
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 2px solid var(--cyan);
}
/* Landing FAQ only (.blog-faq reuses .faq-q and must stay schema-parity
   clean): a mini keycap 'Q' before each question — the contact headline's
   key grammar at pointer size. CSS-generated content never enters DOM
   textContent, so the visible<->FAQPage parity guard is unaffected. */
.faq .faq-q::before {
  content: 'Q';
  display: inline-block;
  font-size: 0.6em;
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid rgba(55, 54, 67, 0.32);
  border-bottom-width: 3.5px;
  border-radius: 5px;
  padding: 4px 8px 3px;
  margin-right: 12px;
  vertical-align: 0.12em;
}
.faq-q {
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--dark);
  margin: 0 0 12px;
}
.faq-a {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--body-text);
  max-width: 68ch;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-q {
    font-size: 18px;
  }
  .faq-a {
    font-size: 15.5px;
  }
}

/* =============================================
       8. CONTACT
    ============================================= */
.contact {
  position: relative;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--light-surface) 100%);
  padding: var(--pad) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: -130px -120px auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 203, 203, 0.14) 0%, rgba(24, 203, 203, 0) 68%);
  pointer-events: none;
}
.contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 203, 203, 0.35), transparent);
}
.contact .wrap {
  position: relative;
  z-index: 1;
}

/* Masthead — the only branding the form-forward section needs: a centred
   kicker + wordmark + one-line promise. CTRL/ALT render as plain coloured
   text (the keycap chrome lives on .nav-key / .faq-q / the command sheet). */
.contact-mast {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.c-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan-ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
}
.c-kicker::before,
.c-kicker::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--cyan);
}
.contact-headline {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
}
.contact-headline .ch-top {
  display: block;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--dark);
}
.contact-headline .ch-top .contact-key {
  color: var(--dark);
}
.contact-headline .ch-top .c-plus {
  color: var(--cyan);
}
.contact-headline .ch-big {
  display: block;
  font-size: clamp(44px, 7vw, 90px);
  color: var(--cyan);
  margin-top: 0.04em;
}
.contact-headline .ch-big .c-dot {
  color: var(--dark);
}
.c-intro {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--mid-gray);
  max-width: 48ch;
  margin: 22px auto 0;
}
.c-intro strong {
  color: var(--dark);
  font-weight: 600;
}

/* The form, as the hero, on a dark panel that ties to hero / team / footer. */
.contact-panel {
  max-width: 860px;
  margin: clamp(34px, 4vw, 48px) auto 0;
  position: relative;
  z-index: 1;
}
.contact-panel--dark {
  background: linear-gradient(160deg, #1c2029 0%, var(--dark-base) 100%);
  border: 1px solid rgba(24, 203, 203, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px);
  overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(10, 14, 22, 0.7);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.contact-panel--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 203, 203, 0.5), transparent);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.panel-path {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.panel-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-glow);
  background: rgba(24, 203, 203, 0.1);
  border: 1px solid rgba(24, 203, 203, 0.28);
  border-radius: var(--radius-full);
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.panel-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(24, 203, 203, 0.18);
  flex: none;
}

.contact-panel--dark .c-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-panel--dark .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-panel--dark .f-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-panel--dark .f-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.contact-panel--dark .required-star {
  color: var(--cyan);
  margin-left: 2px;
}
.contact-panel--dark .f-group input,
.contact-panel--dark .f-group select,
.contact-panel--dark .f-group textarea {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  transition:
    border-color var(--ease),
    background-color var(--ease),
    box-shadow var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.contact-panel--dark .f-group input::placeholder,
.contact-panel--dark .f-group textarea::placeholder {
  color: #8a91a8;
}
.contact-panel--dark .f-group input:hover,
.contact-panel--dark .f-group select:hover,
.contact-panel--dark .f-group textarea:hover {
  border-color: rgba(24, 203, 203, 0.4);
}
.contact-panel--dark .f-group input:focus,
.contact-panel--dark .f-group select:focus,
.contact-panel--dark .f-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(24, 203, 203, 0.2);
}
.contact-panel--dark .f-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%237de2e2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-panel--dark .f-group select option,
.contact-panel--dark .f-group select optgroup {
  background: var(--dark-base);
  color: #fff;
}
.contact-panel--dark .f-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.contact-panel--dark .f-group input.field-error,
.contact-panel--dark .f-group select.field-error,
.contact-panel--dark .f-group textarea.field-error {
  border-color: var(--coral);
}
.contact-panel--dark .f-error {
  color: #ff9d9d;
  font-size: 13px;
  margin-top: 2px;
  min-height: 18px;
  display: block;
}
.contact-panel--dark .service-preselect-note {
  margin: -2px 0 0;
  color: var(--cyan-glow);
  font-size: 13px;
  line-height: 1.45;
}

.contact-panel--dark .form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
  /* Anchor for the absolutely-positioned .f-success pill (kept out of flow so
     its invisible resting state reserves no row in the wrapping foot). */
  position: relative;
}
.contact-panel--dark .form-promise {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.contact-panel--dark .form-data-note {
  width: 100%;
  margin-top: 6px;
  color: var(--muted-light);
}
/* btn-primary (cyan) already reads well on dark; keep as-is */
.contact-panel--dark .f-success {
  font-size: 14px;
  color: var(--cyan-glow);
  background: rgba(24, 203, 203, 0.12);
  border: 1px solid rgba(24, 203, 203, 0.28);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  gap: 7px;
  /* Out of flow: in-flow it reserved a permanent slot in the wrapping
     .form-foot next to the submit button. Stays in the a11y tree (role=status
     aria-live) — only paint moves. Solid panel fill when shown. */
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
}
.contact-panel--dark .f-success.show {
  opacity: 1;
  background: linear-gradient(160deg, #1c2029 0%, var(--dark-base) 100%);
  box-shadow: 0 12px 30px -18px rgba(10, 14, 22, 0.8);
}
.contact-panel--dark .form-noscript {
  color: var(--muted-light);
  font-size: 14px;
  margin-top: 14px;
}
.contact-panel--dark .form-noscript a {
  color: var(--cyan-glow);
}

/* Alt line — contact methods AT THE POINT OF ACTION (email + Copy + phone +
   the handwritten 24h promise), not a duplicated narrative column. */
.contact-alt {
  max-width: 860px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mid-gray);
}
/* Desktop: compact inline links (overrides the shared .email-link 44px
   inline-flex rule so the row reads as one baseline-aligned line). Mobile
   bumps the hit area to the 44px floor below. */
.contact-alt a {
  display: inline;
  min-height: 0;
  padding: 0;
  color: var(--cyan-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(24, 203, 203, 0.4);
}
.contact-alt a:hover {
  color: var(--cyan-hover);
}
.contact-alt a:focus-visible {
  outline: 2px solid var(--cyan-ink);
  outline-offset: 3px;
}
.contact-alt .email-copy-btn {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  background: none;
  border: 1px solid #d7dee7;
  border-radius: 6px;
  transition:
    border-color var(--ease),
    background var(--ease);
}
.contact-alt .email-copy-btn:hover {
  border-color: var(--cyan);
  background: rgba(24, 203, 203, 0.08);
}
.contact-alt .c-sep {
  color: #c2c9d4;
}
.contact-alt .c-note-handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 21px;
  color: var(--coral-ink);
  transform: rotate(-2deg);
}

@media (max-width: 760px) {
  .contact-panel--dark .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  /* iOS Safari force-zooms on focus of any field < 16px; bump to suppress it */
  .contact-panel--dark .f-group input,
  .contact-panel--dark .f-group select,
  .contact-panel--dark .f-group textarea {
    font-size: var(--text-md);
  }
  /* Touch floor: the compact desktop alt-line links/button would sit under
     the 44px minimum on touch — give them a full hit area (underline hugs the
     text via text-decoration, not a detached border-bottom). */
  .contact-alt a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 0;
    text-decoration: underline;
    text-decoration-color: rgba(24, 203, 203, 0.4);
    text-underline-offset: 2px;
  }
  .contact-alt .email-copy-btn {
    min-height: 44px;
    padding: 8px 12px;
  }
}

/* At phone widths the auto-width submit was the weakest element at the moment
   of commitment — make it full-width and centred. */
@media (max-width: 480px) {
  .contact-panel--dark .form-foot .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 414px) {
  .contact {
    padding: var(--pad) 0 28px;
  }
  .contact-panel--dark {
    padding: 24px;
  }
}

/* =============================================
       9. FOOTER
    ============================================= */
.footer {
  background: linear-gradient(180deg, var(--dark-base) 0%, var(--dark-floor) 100%);
  border-top: 1px solid rgba(24, 203, 203, 0.18);
  padding: clamp(48px, 6vw, 64px) 0 28px;
  /* Anchor + clip for the faint chevron texture. */
  position: relative;
  overflow: hidden;
}
.footer > .wrap {
  position: relative;
  z-index: 1;
}
/* Ambient brand texture — nudged from 0.04 to 0.07 (Footer handoff) so the
   double-chevron motif reads against the dark band, still well below the
   hero's 0.14. */
.hero-chevron--footer {
  opacity: 0.07;
}

/* Statement hero — brand block (logo + big tagline + promise chips) left,
   right-aligned contact column right, baseline-aligned. Wraps to a stack on
   narrow viewports. No CTA button here (the sticky header carries one). */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 36px clamp(40px, 6vw, 96px);
  padding-bottom: clamp(26px, 3vw, 36px);
}
.footer-brand {
  max-width: 580px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-logo svg {
  height: 30px;
  width: auto;
}
/* The tagline IS the footer's statement (Footer handoff): Poppins at near-
   display size, 'Growth.' carrying the brand accent (same span-accent grammar
   as the hero and CTRL+ALT+KONTAKT). */
.f-tagline {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-top: 24px;
}
.f-growth {
  color: var(--cyan);
}
/* The no-tracking claim as dot-chips — the same trust-chip grammar the
   contact section's .c-notes uses, instead of a plain sentence. */
.f-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 20px 0 0;
}
.f-chip {
  position: relative;
  padding-left: 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(180, 184, 202, 1);
}
.f-chip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(24, 203, 203, 0.65);
  transform: translateY(-50%);
}
.f-col-title {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 8px 0 10px;
}
.f-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.f-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  /* 38px row + 3px invisible padding = 44px hit area, zero layout change. */
  padding: 3px 0;
  margin: -3px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--ease);
}
/* Email is the contact column's lead line. */
.f-nav a.f-mail {
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
}
.f-nav a:hover {
  color: var(--cyan);
}
.f-address {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 38px;
  color: rgba(180, 184, 202, 1);
  font-size: 14px;
}
/* Policy links: class kept for the footer-structure test contract; visual
   styling comes from the .f-nav column rules above. */
.f-privacy-link {
  transition: color var(--ease);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}
/* Social pills — sec-badge/chip grammar; per-founder accent on hover
   (the services/team duality, quietly): Ante warms to cyan, Elena to coral. */
.footer-links a {
  min-height: 38px;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  transition:
    color var(--ease),
    border-color var(--ease);
}
/* Invisible hit-area extension to the 44px floor (pseudo participates in
   hit testing); the visible 38px pill is unchanged. */
.footer-links a::after {
  content: '';
  position: absolute;
  inset: -3px 0;
}
.footer-links a:hover {
  color: var(--cyan);
  border-color: rgba(24, 203, 203, 0.45);
}
.footer-links a.f-social--elena:hover {
  color: var(--coral);
  border-color: rgba(255, 107, 107, 0.45);
}
.fl-label {
  font-size: var(--text-xs);
  font-weight: 500;
}

/* Legal basement — native <details> data-sheet. The ZTD Art. 21(4) registry
   disclosures stay verbatim in the DOM (crawlable + screen-reader reachable)
   but are demoted behind a summary toggle: read-when-needed, skimmed otherwise. */
.footer-legal {
  margin-top: 16px;
}
.f-legal-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  /* Full-width native toggle target; keep it on the 44px hit-area floor the
     rest of the footer honours (the pill alone is only ~38px). */
  min-height: 44px;
  padding: 2px 0;
}
.f-legal-summary::-webkit-details-marker {
  display: none;
}
/* Summary toggle pill — mono, cyan-tinted, with a rotating chevron disc. */
.f-legal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 9px 16px 9px 14px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-light);
  border: 1px solid rgba(24, 203, 203, 0.28);
  border-radius: var(--radius-full);
  background: rgba(24, 203, 203, 0.04);
  transition:
    color var(--ease),
    border-color var(--ease),
    background var(--ease);
}
.f-legal-summary:hover .f-legal-toggle {
  color: var(--white);
  border-color: rgba(24, 203, 203, 0.5);
  background: rgba(24, 203, 203, 0.09);
}
.f-legal-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--dark-ink);
  font-size: 10px;
  font-weight: 700;
  /* Rotation snaps instantly under prefers-reduced-motion via the global
     transition-duration override in GLOBAL MOTION + A11Y. */
  transition: transform var(--ease);
}
.footer-legal[open] .f-legal-arrow {
  transform: rotate(90deg);
}
/* Copyright sign-off sits opposite the toggle in the summary row. */
.f-reg {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--muted);
}
/* Registry data-sheet — 3-col monospace grid revealed when open. */
.f-sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
}
.f-cell {
  padding: 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.f-cell:nth-child(-n + 3) {
  border-top: 0;
}
.f-cell:nth-child(3n) {
  border-right: 0;
}
.f-ck {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
}
.f-cv {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted-light);
}
.f-legal-foot {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: rgba(159, 167, 193, 0.7);
  line-height: 1.8;
}
/* Label+value pairs that must never break mid-value (capital amount, IBAN,
   address, bank name) — overrides the inherited overflow-wrap:anywhere. Same
   discipline as the IBAN's &nbsp; groups. */
.f-pair {
  white-space: nowrap;
}
.f-phone-link {
  /* The number must never break mid-value — same discipline as the IBAN's
     &nbsp; groups, done in CSS so the text bytes stay assertable. */
  white-space: nowrap;
}

/* Slim inline nav strip — site + policy links in one row above the legal
   basement, separated by middots. */
.f-navline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.f-navline a,
.f-navline-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--ease);
}
.f-navline a:hover,
.f-navline-btn:hover {
  color: var(--cyan);
}
.f-navline-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.f-dot {
  color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 760px) {
  .footer {
    padding-top: 40px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  /* Contact column flips to left-aligned on the stacked layout. */
  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
  .f-address,
  .footer-links {
    justify-content: flex-start;
  }
  /* Data-sheet collapses to a single column: kill the right hairlines and
     restore top hairlines as inter-row dividers (only the first cell loses
     its top border). */
  .f-sheet {
    grid-template-columns: 1fr;
  }
  .f-cell {
    border-right: 0;
  }
  .f-cell:nth-child(-n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .f-cell:first-child {
    border-top: 0;
  }
}

/* =============================================
       10. INTERSTITIAL
    ============================================= */
.interstitial {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 10vw, 120px) 0;
  background:
    linear-gradient(90deg, rgba(39, 38, 50, 0.1), transparent 18%, transparent 82%, rgba(39, 38, 50, 0.14)),
    linear-gradient(135deg, var(--cyan) 0%, var(--cyan-band-mid) 48%, var(--cyan-hover) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.interstitial::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='120' viewBox='0 0 180 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23272632' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20h44v22h35'/%3E%3Cpath d='M108 20h28v34h26'/%3E%3Cpath d='M28 84h48V62h32'/%3E%3Cpath d='M118 96V70h30'/%3E%3Ccircle cx='18' cy='20' r='2.5' fill='%23272632'/%3E%3Ccircle cx='97' cy='42' r='2.5' fill='%23272632'/%3E%3Ccircle cx='162' cy='54' r='2.5' fill='%23272632'/%3E%3Ccircle cx='28' cy='84' r='2.5' fill='%23272632'/%3E%3Ccircle cx='148' cy='70' r='2.5' fill='%23272632'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 120px;
  pointer-events: none;
}
.interstitial .wrap {
  position: relative;
  z-index: 1;
}
.inter-text {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  color: var(--dark-deep);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 800px;
}
.inter-city {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.3em;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.inter-text::after {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  margin-top: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23272632' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,10 16,10 16,22'/%3E%3Cpolyline points='12,4 24,4 24,16'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 414px) {
  .interstitial {
    padding: 40px 0;
  }
}

/* =============================================
       11. SERVICES DUALITY + COMBO CARD
    ============================================= */
.svc-col.primary .svc-card {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.svc-col:not(.primary) .svc-card {
  border-left-color: var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.combo-card {
  position: relative;
  overflow: hidden;
  margin: 0 auto 42px;
  max-width: 940px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(238, 250, 250, 0.96) 0%, rgba(215, 247, 247, 0.98) 100%);
  color: var(--dark);
  border: 1px solid rgba(24, 203, 203, 0.2);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  box-shadow:
    var(--shadow-surface),
    0 22px 46px -34px rgba(24, 203, 203, 0.28);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}
.combo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 203, 203, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(24, 203, 203, 0.08), transparent 26%, transparent 74%, rgba(24, 203, 203, 0.08));
  pointer-events: none;
}
.combo-card > * {
  position: relative;
  z-index: 1;
}
.combo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 203, 203, 0.28);
  box-shadow:
    var(--shadow-surface-hover),
    0 24px 48px -34px rgba(24, 203, 203, 0.3);
}
.combo-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.combo-kicker {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* --coral-deep, not --coral-ink: 4.61-4.89:1 on the combo card's teal
     gradient (coral-ink was 3.58-3.80:1, under AA for 11px text). */
  color: var(--coral-deep);
}
.combo-card strong {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}
.combo-text > span {
  display: block;
  max-width: 46ch;
  color: rgba(55, 54, 67, 0.82);
  opacity: 1;
}
.combo-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: rgba(24, 203, 203, 0.14);
  color: var(--cyan-ink);
}
.combo-card .combo-cta {
  margin-left: auto;
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  border-bottom-color: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px -12px rgba(0, 0, 0, 0.34);
}
.combo-card .combo-cta:hover {
  background: var(--dark-deep);
  border-color: var(--dark-deep);
}

@media (max-width: 768px) {
  .combo-card {
    flex-direction: column;
    text-align: center;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .combo-cta {
    margin-left: 0;
    margin-top: 4px;
  }
}

/* =============================================
       GLOBAL MOTION + A11Y
    ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-line-inner {
    transform: none !important;
    opacity: 1 !important;
  }
  .keyboard-intro {
    display: none !important;
  }
  .hero-content {
    opacity: 1 !important;
  }
  .team-card:hover {
    transform: none;
  }
}

/* Focus visible for keyboard navigation */
.btn:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.nav-links a:focus-visible {
  color: var(--cyan);
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.t-linkedin:focus-visible,
.f-nav a:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
/* Keyboard focus lands on the <summary>; show the brand ring on the pill
   affordance rather than the full-width row. */
.f-legal-summary:focus-visible {
  outline: none;
}
.f-legal-summary:focus-visible .f-legal-toggle {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.lang-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.nav-logo:focus-visible,
.footer-logo:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.hamburger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.skip-link:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.f-group input:focus-visible,
.f-group select:focus-visible,
.f-group textarea:focus-visible {
  /* cyan-ink, not cyan: 6.56:1 on the white contact panel vs 2.01:1 —
     the form is exactly where keyboard users need the ring (WCAG 1.4.11). */
  outline: 2px solid var(--cyan-ink);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* =============================================
       LANG BANNER (EN-suggestion top bar)
    ============================================= */
.lang-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 102;
  background: var(--dark-deep);
  border-bottom: 1px solid rgba(24, 203, 203, 0.12);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--off-white);
  visibility: visible;
  transition:
    transform 0.25s ease,
    visibility 0s linear 0s;
  pointer-events: none;
}
.lang-banner.hidden {
  transform: translateY(-100%);
  visibility: hidden;
  transition-delay: 0s, 0.25s;
  pointer-events: none;
}
/* Push nav down when banner is visible */
.lang-banner:not(.hidden) ~ .nav {
  top: var(--lang-banner-h);
}
.lang-banner:not(.hidden) ~ .mobile-menu {
  top: calc(var(--nav-h) + var(--lang-banner-h));
}
.lang-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 48px 8px 16px;
  position: relative;
  min-height: calc(var(--lang-banner-h) - 1px);
}
.lang-banner-link {
  color: var(--cyan-bright);
  font-weight: 600;
  text-decoration: none;
  /* 13px vertical padding + matching negative margin = >=45px hit area even
     at the <=480px breakpoint where the banner drops to 12px text (12px x 1.6
     + 26px = 45.2px), inside the 38px banner with zero layout change — the
     same 44px floor its sibling .lang-banner-close already gets. */
  padding: 13px 10px;
  margin: -13px 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  pointer-events: auto;
  transition:
    background var(--ease),
    color var(--ease);
}
.lang-banner-link:hover {
  background: rgba(94, 229, 229, 0.16);
  color: var(--cyan-ice);
}
.lang-banner-close {
  background: none;
  border: none;
  color: rgba(245, 247, 250, 0.72);
  font-size: var(--text-md);
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  transition: color var(--ease);
}
.lang-banner-close:hover {
  color: var(--off-white);
}
.lang-banner-close:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .lang-banner-inner {
    font-size: var(--text-xs);
    gap: 4px 8px;
    padding: 6px 44px 6px 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* =============================================
       EASTER EGG
    ============================================= */
@keyframes eggShake {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-4px) rotate(-0.5deg);
  }
  30% {
    transform: translateX(4px) rotate(0.5deg);
  }
  45% {
    transform: translateX(-3px);
  }
  60% {
    transform: translateX(3px);
  }
  75% {
    transform: translateX(-1px);
  }
}
.egg-shake {
  animation: eggShake 0.4s ease;
}
.egg-logo-pop {
  transition:
    transform 0.5s var(--ease-out-expo),
    filter 0.5s ease;
  transform: scale(1.4);
  filter: drop-shadow(0 0 20px rgba(24, 203, 203, 0.8));
}

/* =============================================
       PRIVACY PAGES
    ============================================= */
.privacy-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 48px) 0 48px;
  text-align: center;
}
.privacy-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
/* Security-page posture badges — the landing's EXTERNAL VERIFY chips,
   restyled for the dark document hero: live posture facts surfaced where
   security-literate readers (this page's exact audience) look first. */
.sec-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
}

.sec-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--cyan);
  border: 1px solid rgba(24, 203, 203, 0.35);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  text-decoration: none;
}

a.sec-badge {
  position: relative;
}
a.sec-badge::after {
  content: '';
  position: absolute;
  inset: -9px 0;
}
a.sec-badge:hover,
a.sec-badge:focus-visible {
  background: rgba(24, 203, 203, 0.12);
  text-decoration: underline;
}

.privacy-hero .updated {
  font-size: var(--text-sm);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.privacy-content {
  padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 100px);
}
.privacy-inner {
  max-width: 780px;
  margin: 0 auto;
}

.p-section {
  margin-bottom: 40px;
}
.p-section h2 {
  font-family: var(--font-head);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
}
.p-section p,
.p-section li {
  font-size: var(--text-base);
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 10px;
}
.p-section ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.p-section li {
  list-style: disc;
  margin-bottom: 6px;
}
.p-section a {
  color: var(--cyan-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.p-section a:hover {
  color: var(--dark);
}
.p-section strong {
  color: var(--dark);
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-ink);
  margin-top: 24px;
  transition: color var(--ease);
}
.back-link:hover {
  color: var(--dark);
}

/* =============================================
       VDP POLICY (security page) — TOC card,
       heading permalinks, scroll-driven reveals.
       Scoped so the privacy page is unaffected.
    ============================================= */

/* Table of contents — boxed card with cyan accent rail, 2-col on desktop. */
.p-toc {
  margin: 0 0 48px;
  padding: 24px 28px;
  background: var(--light-surface);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.p-toc h2 {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-ink);
  margin-bottom: 14px;
}
.p-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 32px;
}
.p-toc ol li {
  counter-increment: toc;
  list-style: none;
  margin: 0;
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  line-height: 1.5;
}
.p-toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-body);
  font-feature-settings: 'tnum';
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--mid-gray);
  letter-spacing: 0.05em;
}
.p-toc ol li a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--ease),
    border-color var(--ease);
}
.p-toc ol li a:hover,
.p-toc ol li a:focus-visible {
  color: var(--cyan-ink);
  border-bottom-color: var(--cyan);
}
@media (max-width: 640px) {
  .p-toc {
    padding: 20px 22px;
  }
  .p-toc ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Heading permalinks — subtle # next to each <h2>, coral on hover. */
.policy-vdp .p-section h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.anchor-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity var(--ease),
    transform var(--ease),
    color var(--ease);
  border-bottom: none !important;
}
.policy-vdp .p-section:hover .anchor-link,
.anchor-link:hover,
.anchor-link:focus-visible {
  opacity: 1;
  transform: translateX(0);
}
.anchor-link:hover,
.anchor-link:focus-visible {
  color: var(--coral);
}
/* Touch — no hover, so keep anchors visible (faded) on coarse pointers. */
@media (hover: none) {
  .anchor-link {
    opacity: 0.5;
    transform: none;
  }
}

/* Hall of Fame callout on the VDP page — coral accent breaks the cyan
   dominance and signals "open invitation" rather than legal-doc cyan.
   Two-column flex: big monospace count on the left, copy + CTA on right. */
.hof-callout {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 56px;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 107, 107, 0.01));
  border: 1px solid rgba(255, 107, 107, 0.18);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.hof-callout-count {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--coral);
  letter-spacing: -0.02em;
}
.hof-callout-body {
  flex: 1 1 auto;
  min-width: 0;
}
.hof-callout-body h3 {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral-ink);
  margin-bottom: 6px;
}
.hof-callout-body p {
  font-size: var(--text-base);
  color: var(--body-text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.hof-callout-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--ease),
    border-color var(--ease),
    transform var(--ease);
}
.hof-callout-cta:hover,
.hof-callout-cta:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}
.hof-callout-cta:hover span {
  transform: translateX(2px);
}
.hof-callout-cta span {
  display: inline-block;
  transition: transform var(--ease);
}
@media (max-width: 480px) {
  .hof-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
  }
  .hof-callout-count {
    font-size: 44px;
  }
}

/* Hall of Fame empty state (the standalone page). Same coral accent
   language as the VDP callout — visually they're the same family. */
.hof-empty {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.04), transparent 70%);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.hof-empty-count {
  font-family: var(--font-mono);
  font-size: clamp(96px, 18vw, 168px);
  font-weight: 800;
  line-height: 0.85;
  color: var(--coral);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  opacity: 0.85;
}
.hof-empty h2 {
  font-family: var(--font-head);
  font-size: var(--fs-h2-minor);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding: 0;
  border: none;
}
.hof-empty p {
  font-size: var(--text-base);
  color: var(--body-text);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 24px;
}
.hof-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  /* WCAG AA: white on --coral is 2.77:1 (fails). --coral-deep is 5.12:1.
     The lighter --coral still appears throughout the page (count digit,
     border accent, background gradient) so the coral identity is intact;
     this CTA's filled surface is the one place white text sits on coral
     and therefore the one place AA-compliant depth is required. */
  background: var(--coral-deep);
  border-radius: var(--radius-full);
  text-decoration: none;
  border-bottom: none !important;
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}
.hof-empty-cta:hover,
.hof-empty-cta:focus-visible {
  /* Visual feedback via lift + subtle shadow; bg stays --coral-deep so
     contrast can't degrade on interaction. Earlier hover swapped to
     --coral-ink (lighter), which would have read as 4.0:1 → AA fail. */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185, 70, 70, 0.32);
}
.hof-empty-cta span {
  display: inline-block;
  transition: transform var(--ease);
}
.hof-empty-cta:hover span {
  transform: translateX(3px);
}

/* Scroll-driven reveal — TOC + sections + HoF callout fade up as they
   enter the viewport. Pure CSS via animation-timeline: view(). Gated by
   @supports so older browsers don't get stranded at opacity:0, and by
   prefers-reduced-motion so accessibility settings disable it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .policy-vdp .p-toc,
    .policy-vdp .hof-callout,
    .policy-vdp .hof-empty,
    .policy-vdp .p-section {
      animation: vdp-reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}
@keyframes vdp-reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
       INSPECT US — Live Audit Console (.la-*)
    ============================================= */
.inspect-us {
  position: relative;
  /* Linear ramp starts at --dark-base (where Team's gradient ends) and
     descends to --dark-floor — a monotonic darkening into the footer instead
     of the old sawtooth (Team faded to near-black, then Inspect visibly
     reset lighter at the seam). */
  background:
    radial-gradient(circle at top right, rgba(24, 203, 203, 0.12), transparent 24%),
    linear-gradient(180deg, var(--dark-base) 0%, var(--dark-floor) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* min(): caps the dark-to-dark Team→Inspect gap at 72px on desktop (the
     double --pad stacked ~226px of contentless near-black) while leaving the
     ≤414px value (--pad = 40px) untouched. Bottom keeps full rhythm. */
  padding: min(var(--pad), 72px) 0 var(--pad);
  color: var(--white);
  overflow: hidden;
}
.inspect-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  pointer-events: none;
}

/* ---------- HEAD ---------- */
.la-head {
  position: relative;
  margin-bottom: 30px;
}
.la-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.la-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(24, 203, 203, 0.1);
  border: 1px solid rgba(24, 203, 203, 0.3);
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 600;
}
.la-tag--green {
  color: var(--green);
  background: rgba(95, 209, 122, 0.1);
  border-color: rgba(95, 209, 122, 0.3);
  font-variant-numeric: tabular-nums;
}
.la-tag--muted {
  color: var(--muted);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
}
.la-headline {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 20ch;
  text-wrap: balance;
  color: var(--white);
}
.la-headline__accent {
  color: var(--cyan);
}
.la-sub {
  margin: 14px 0 0;
  font-size: var(--text-md);
  color: var(--muted-light);
  line-height: 1.5;
  max-width: 64ch;
}
.la-handwriting--note {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 30px;
  color: var(--coral);
  position: absolute;
  top: 24px;
  right: 20px;
  transform: rotate(-7deg);
  opacity: 0.95;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- NUMBER CELLS ---------- */
.la-numbers {
  display: grid;
  /* Four equal cells + a wider trailing cell for L5 — the punchline metric.
     Asymmetry pulls the eye to the agent-native score without changing
     the cell internals. */
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
}
.la-cell {
  position: relative;
  padding: 4px 8px;
  margin: 0 -8px;
  border-radius: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.la-cell:last-child {
  border-right: none;
}
.la-cell + .la-cell {
  padding-left: 22px;
}
.la-cell:not(:last-child) {
  padding-right: 22px;
}
.la-cell--pulse {
  animation: la-pulse 1.2s ease;
}
@keyframes la-pulse {
  0% {
    background: rgba(95, 209, 122, 0);
  }
  20% {
    background: rgba(95, 209, 122, 0.12);
  }
  100% {
    background: rgba(95, 209, 122, 0);
  }
}
.la-cell__num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}
.la-cell__num {
  font-family: var(--font-body);
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.la-cell--accent .la-cell__num {
  color: var(--green);
}
.la-cell__demoted {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.la-cell__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}
.la-cell__sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-light);
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.la-cell__chip {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  /* Chip wraps inside its cell rather than bleeding into neighbours.
     Above 1080px columns are wide enough that wrap rarely fires;
     between 720px (mobile breakpoint) and 1080px the chip wraps to
     2 lines at the tightest widths. Acceptable trade vs the visible
     overflow that nowrap caused on common tablet widths. */
  max-width: 100%;
  white-space: normal;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}
.la-cell[data-state='verified'] .la-cell__chip {
  color: var(--green);
  background: rgba(95, 209, 122, 0.1);
  border: 1px solid rgba(95, 209, 122, 0.35);
}
.la-cell[data-state='ready'] .la-cell__chip {
  color: var(--cyan-bright);
  background: rgba(24, 203, 203, 0.08);
  border: 1px solid rgba(24, 203, 203, 0.32);
}
.la-cell[data-state='external'] .la-cell__chip,
.la-cell[data-state='ci'] .la-cell__chip {
  color: var(--amber);
  background: rgba(255, 184, 74, 0.08);
  border: 1px solid rgba(255, 184, 74, 0.3);
}
.la-cell[data-state='failed'] .la-cell__chip {
  color: var(--coral);
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.35);
}

/* ---------- CONSOLE CARD ---------- */
.la-console {
  position: relative;
  margin-top: 28px;
  background: linear-gradient(180deg, #08100f 0%, #050908 100%);
  border: 1px solid rgba(24, 203, 203, 0.18);
  border-radius: 10px;
  /* Dark-Depth Family deep drop + cyan-glow halo per DESIGN.md elevation:
     "deep, low-spread shadows that read as ambient occlusion" + cyan glow
     family signals "the brand wants you to act here". */
  box-shadow:
    0 50px 120px -30px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(24, 203, 203, 0.06),
    inset 0 0 100px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.la-console::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  opacity: 0.04;
  mix-blend-mode: overlay;
  z-index: 1;
}
.la-console > * {
  position: relative;
  z-index: 2;
}
.la-titlebar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  align-items: center;
}
.la-live {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.la-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  display: inline-block;
}
.la-live-label {
  color: var(--green);
  font-weight: 700;
}
.la-live--running .la-live-dot {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: la-blink 0.6s step-end infinite;
}
.la-live--running .la-live-label {
  color: var(--cyan);
}
@keyframes la-blink {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 0;
  }
}
.la-titlebar__name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-align: center;
}
.la-titlebar__counter {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.la-titlebar__counter-value {
  color: var(--cyan);
}
.la-titlebar__counter--done .la-titlebar__counter-value {
  color: var(--green);
}

/* ---------- HISTORY ---------- */
.la-history {
  padding: 20px 26px 18px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: #cfd6d8;
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.la-history::-webkit-scrollbar {
  width: 6px;
}
.la-history::-webkit-scrollbar-track {
  background: transparent;
}
.la-history::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
.la-history::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 203, 203, 0.35);
}
.la-history__intro {
  color: var(--muted);
  margin-bottom: 4px;
}
.la-history__intro-mark {
  color: var(--green);
}
.la-entry {
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}
.la-entry--check {
  padding: 14px 0 12px;
}
.la-entry--help {
  padding: 14px 0 10px;
}
.la-entry--error {
  padding: 10px 0 6px;
}
.la-entry--note {
  padding: 8px 0 0;
  border-top: none;
  color: var(--muted);
  font-size: 12.5px;
}
.la-entry__head {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.la-entry__prompt {
  color: var(--cyan);
  font-weight: 700;
  margin-right: 6px;
}
.la-entry__cmd {
  color: var(--white);
}
.la-entry__key {
  color: var(--muted);
  margin-left: 12px;
  font-size: var(--text-2xs);
}
.la-entry__actions {
  display: flex;
  gap: 6px;
}
.la-lang-btn,
.la-copy-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 3px 7px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.la-lang-btn:hover,
.la-copy-btn:hover {
  color: var(--cyan);
}
.la-lang-btn[data-active='1'] {
  color: var(--cyan);
}
.la-copy-btn--copied {
  color: var(--green);
  border-color: rgba(95, 209, 122, 0.4);
}
/* Touch devices: bump small inline buttons to 44pt min target. */
@media (pointer: coarse) {
  .la-lang-btn,
  .la-copy-btn {
    padding: 10px 14px;
    font-size: var(--text-2xs);
    min-height: 44px;
    min-width: 44px;
  }
}
.la-entry__pre {
  margin: 6px 0 10px;
  padding: 10px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #9fadb0;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-x: auto;
}
.la-entry__arrow {
  color: var(--cyan);
}
.la-entry__expect {
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-md);
}
.la-entry__note {
  color: var(--green);
  font-weight: 600;
  font-size: 12.5px;
}
.la-entry__note.la-entry__note--failed {
  color: var(--coral);
}
.la-entry__external {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid rgba(24, 203, 203, 0.35);
  border-radius: 4px;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.la-entry__external:hover,
.la-entry__external:focus-visible {
  color: var(--cyan-bright);
  background: rgba(24, 203, 203, 0.08);
  border-color: rgba(24, 203, 203, 0.6);
}
.la-entry__time {
  color: var(--muted);
  font-size: var(--text-2xs);
  margin-top: 3px;
}
.la-entry__time-value {
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.la-entry__help {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #9fadb0;
  line-height: 1.7;
  white-space: pre-wrap;
}
.la-entry__err-mark {
  color: var(--coral);
  font-weight: 700;
  margin-right: 6px;
}
.la-entry__err-text {
  color: var(--coral);
}

/* ---------- PROMPT ---------- */
.la-prompt {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.la-prompt__glyph {
  padding: 14px 14px 14px 22px;
  color: var(--cyan);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(24, 203, 203, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}
.la-prompt__input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--white);
  caret-color: var(--cyan);
  min-width: 0;
}
.la-prompt__input::placeholder {
  color: var(--muted);
}
.la-prompt__input:disabled {
  opacity: 0.6;
}
.la-prompt__btn {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 14px 12px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}
.la-prompt__btn:hover {
  color: var(--cyan);
}
.la-prompt__submit {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--dark-ink);
  background: var(--cyan);
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.15s ease;
}
.la-prompt__submit:disabled {
  background: rgba(24, 203, 203, 0.25);
  cursor: default;
}

/* ---------- BUTTON ROW ---------- */
.la-btn-row {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.la-check-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  padding: 12px 12px 13px;
  text-align: left;
  color: var(--white);
  font-family: var(--font-mono);
  cursor: pointer;
  /* Explicit property list — 'all' animated padding/layout on viewport
     resize; only the state-feedback properties should move. */
  transition:
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}
.la-check-btn:hover {
  background: rgba(24, 203, 203, 0.08);
  border-color: rgba(24, 203, 203, 0.35);
}
.la-check-btn[data-state='done'] {
  border-color: rgba(95, 209, 122, 0.35);
  background: rgba(95, 209, 122, 0.06);
}
.la-check-btn[data-state='running'] {
  background: rgba(24, 203, 203, 0.1);
}
.la-check-btn[data-state='failed'] {
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.06);
}
.la-check-btn[data-state='failed'] .la-check-btn__key,
.la-check-btn[data-state='failed'] .la-check-btn__status {
  color: var(--coral);
}
.la-check-btn__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.la-check-btn__key {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  font-weight: 700;
}
.la-check-btn[data-state='done'] .la-check-btn__key {
  color: var(--green);
}
.la-check-btn__status {
  font-size: 10px;
}
.la-check-btn[data-state='done'] .la-check-btn__status {
  color: var(--green);
}
.la-check-btn[data-state='running'] .la-check-btn__status {
  color: var(--cyan);
}
.la-check-btn__label {
  font-size: var(--text-sm);
  margin-top: 4px;
  color: var(--white);
  font-weight: 500;
}
.la-check-btn[data-state='done'] .la-check-btn__label {
  color: var(--muted-light);
}
.la-runall-btn {
  grid-column: 1 / -1;
  border: 1px solid rgba(24, 203, 203, 0.55);
  background: rgba(24, 203, 203, 0.14);
  border-radius: 6px;
  padding: 12px 14px 13px;
  text-align: left;
  color: var(--cyan);
  font-family: var(--font-mono);
  cursor: pointer;
  transition:
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}
.la-runall-btn:hover {
  box-shadow: 0 0 0 3px rgba(24, 203, 203, 0.12);
}
.la-runall-btn[data-state='done'] {
  border-color: rgba(95, 209, 122, 0.45);
  background: rgba(95, 209, 122, 0.1);
  color: var(--green);
  cursor: default;
  box-shadow: none;
}
.la-runall-btn__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.la-runall-btn__kicker {
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.18em;
  font-weight: 700;
}
.la-runall-btn[data-state='done'] .la-runall-btn__kicker {
  color: var(--green);
}
.la-runall-btn__count {
  font-size: 10px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.la-runall-btn[data-state='done'] .la-runall-btn__count {
  color: var(--green);
}
.la-runall-btn__label {
  font-size: var(--text-sm);
  margin-top: 4px;
  font-weight: 600;
}

/* ---------- EXTERNAL VERIFIERS ---------- */
.la-verifiers {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.la-verifiers__label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 4px;
}
.la-verifier {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-mono);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.la-verifier:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(24, 203, 203, 0.25);
}
.la-verifier__label {
  font-size: 12.5px;
  color: var(--cyan);
  font-weight: 600;
}
.la-verifier__sub {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- ORIGIN BAR (V1.5 OriginLine) ---------- */
.scramble-text {
  display: inline;
  transition: color 0.15s ease;
}
.inspect-origin {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 22px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--cyan);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}
.origin-prompt {
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}
.inspect-origin .scramble-text {
  color: rgba(255, 255, 255, 0.85);
}
.origin-cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: var(--cyan);
  margin-left: 2px;
  flex-shrink: 0;
  animation: blink-cursor 0.6s step-end infinite;
  opacity: 0.7;
  vertical-align: text-bottom;
}
.la-handwriting--origin {
  margin-left: auto;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 28px;
  color: var(--coral);
  transform: rotate(-3deg);
  padding-left: 18px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
@keyframes blink-cursor {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .origin-cursor,
  .la-live--running .la-live-dot {
    animation: none;
  }
  .la-cell--pulse {
    animation: none;
  }
  .la-check-btn,
  .la-runall-btn,
  .la-cell__chip,
  .la-prompt__btn,
  .la-prompt__submit,
  .la-copy-btn,
  .la-lang-btn,
  .la-verifier,
  .la-entry__external {
    transition: none;
  }
}

@media (max-width: 768px) {
  .proof-strip {
    margin-top: 0;
    border-radius: 0;
  }
  .proof-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }
  .proof-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0;
  }
  .proof-item + .proof-item {
    border-left: 0;
    padding-left: 0;
  }
  .proof-verify {
    grid-column: 1 / -1;
    margin-left: 0;
    padding-left: 0;
    align-self: start;
  }
}
/* ---------- CRT SCANLINE REVEAL ----------
   A thin cyan line sweeps top→bottom across the section in ~1.1s.
   Section content is staggered into place beneath it: each element
   fades in at the moment the scanline crosses its vertical position.
   The line itself is a pseudo-element (::after) sitting on
   .inspect-us; the line glows via box-shadow and disappears at the
   bottom. The cells get an extra box-shadow inset that contracts
   from fully cyan-filled to transparent — "values materialise out
   of the cyan haze" — synced to the scanline reaching their row.
   prefers-reduced-motion bypasses everything. */
.inspect-us.la-anim-ready .la-tags,
.inspect-us.la-anim-ready .la-headline,
.inspect-us.la-anim-ready .la-sub,
.inspect-us.la-anim-ready .la-handwriting--note,
.inspect-us.la-anim-ready .la-cell,
.inspect-us.la-anim-ready .la-console,
.inspect-us.la-anim-ready .la-verifiers,
.inspect-us.la-anim-ready .inspect-origin {
  opacity: 0;
  transform: translateY(8px);
  will-change: opacity, transform;
}
.inspect-us.la-anim-ready.la-revealed .la-tags,
.inspect-us.la-anim-ready.la-revealed .la-headline,
.inspect-us.la-anim-ready.la-revealed .la-sub,
.inspect-us.la-anim-ready.la-revealed .la-handwriting--note,
.inspect-us.la-anim-ready.la-revealed .la-cell,
.inspect-us.la-anim-ready.la-revealed .la-console,
.inspect-us.la-anim-ready.la-revealed .la-verifiers,
.inspect-us.la-anim-ready.la-revealed .inspect-origin {
  animation: la-section-reveal 0.55s var(--ease-scan) forwards;
}
/* Delays align with the scanline's vertical position. Scanline 2.0s top to
   bottom (linear-ish); each child fades in ~80ms after the line passes
   over its row. */
.inspect-us.la-anim-ready.la-revealed .la-tags {
  animation-delay: 150ms;
}
.inspect-us.la-anim-ready.la-revealed .la-handwriting--note {
  animation-delay: 220ms;
}
.inspect-us.la-anim-ready.la-revealed .la-headline {
  animation-delay: 290ms;
}
.inspect-us.la-anim-ready.la-revealed .la-sub {
  animation-delay: 460ms;
}
.inspect-us.la-anim-ready.la-revealed .la-cell:nth-child(1) {
  animation-delay: 720ms;
}
.inspect-us.la-anim-ready.la-revealed .la-cell:nth-child(2) {
  animation-delay: 810ms;
}
.inspect-us.la-anim-ready.la-revealed .la-cell:nth-child(3) {
  animation-delay: 900ms;
}
.inspect-us.la-anim-ready.la-revealed .la-cell:nth-child(4) {
  animation-delay: 990ms;
}
.inspect-us.la-anim-ready.la-revealed .la-cell:nth-child(5) {
  animation-delay: 1080ms;
}
.inspect-us.la-anim-ready.la-revealed .la-console {
  animation-delay: 1300ms;
}
.inspect-us.la-anim-ready.la-revealed .la-verifiers {
  animation-delay: 1700ms;
}
.inspect-us.la-anim-ready.la-revealed .inspect-origin {
  animation-delay: 1880ms;
}
@keyframes la-section-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* The scanline. 2px cyan line with a strong triple-shadow halo, sweeps
   top→bottom over 2s. Gentle ease-in-out so the motion reads as a
   deliberate scanner pass, not a quick flicker. */
.inspect-us.la-anim-ready::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(24, 203, 203, 0.6) 8%,
    var(--cyan) 50%,
    rgba(24, 203, 203, 0.6) 92%,
    transparent 100%
  );
  box-shadow:
    0 0 24px rgba(24, 203, 203, 0.7),
    0 0 48px rgba(24, 203, 203, 0.4),
    0 0 80px rgba(24, 203, 203, 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.inspect-us.la-anim-ready.la-revealed::after {
  animation: la-scanline 2s cubic-bezier(0.4, 0, 0.4, 1) forwards;
}
@keyframes la-scanline {
  0% {
    top: 0%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 2px);
    opacity: 0;
  }
}

/* Cells materialise out of a cyan fill rather than just fading. The inset
   shadow starts at cell-spanning spread and contracts to 0. 0.9s feels
   weighty enough to register at the slower scanline pace. */
.inspect-us.la-anim-ready.la-revealed .la-cell {
  animation:
    la-section-reveal 0.55s var(--ease-scan) forwards,
    la-cell-materialise 0.9s cubic-bezier(0.3, 0.6, 0.3, 1) forwards;
}
@keyframes la-cell-materialise {
  0% {
    box-shadow: inset 0 0 0 200px rgba(24, 203, 203, 0.85);
  }
  55% {
    box-shadow: inset 0 0 0 80px rgba(24, 203, 203, 0.22);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(24, 203, 203, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inspect-us.la-anim-ready .la-tags,
  .inspect-us.la-anim-ready .la-headline,
  .inspect-us.la-anim-ready .la-sub,
  .inspect-us.la-anim-ready .la-handwriting--note,
  .inspect-us.la-anim-ready .la-cell,
  .inspect-us.la-anim-ready .la-console,
  .inspect-us.la-anim-ready .la-verifiers,
  .inspect-us.la-anim-ready .inspect-origin {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .inspect-us.la-anim-ready::after {
    display: none;
  }
}

/* ---------- FOCUS RINGS ---------- */
.la-check-btn:focus-visible,
.la-runall-btn:focus-visible,
.la-prompt__btn:focus-visible,
.la-prompt__submit:focus-visible,
.la-copy-btn:focus-visible,
.la-lang-btn:focus-visible,
.la-verifier:focus-visible,
.la-cell:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
.la-prompt__input:focus-visible {
  outline: none;
  box-shadow: inset 0 -2px 0 0 var(--cyan-bright);
}
.la-prompt:focus-within {
  background: rgba(24, 203, 203, 0.04);
}

@media (max-width: 720px) {
  .la-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 32px column gap: at 16px the centered mono detail lines nearly touched
       across the column boundary and read as one string ('… CORP no scripts …'). */
    gap: 24px 32px;
  }
  .la-cell {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }
  .la-cell + .la-cell,
  .la-cell:not(:last-child) {
    padding-left: 0;
    padding-right: 0;
  }
  /* 5 cells in a 2-col grid leave a single orphan in the last row.
     Span the last cell so it occupies both columns instead of dangling. */
  .la-numbers > .la-cell:last-child {
    grid-column: span 2;
  }
  .la-cell__num {
    font-size: 36px;
  }
  .la-btn-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Chip 05 spans both columns. :nth-last-of-type(2), not :last-of-type —
     the RUN ALL button is the row's last <button>, so :last-of-type never
     matched a .la-check-btn and chip 05 dangled at half width. */
  .la-btn-row > .la-check-btn:nth-last-of-type(2) {
    grid-column: span 2;
  }
  /* Two-line labels don't vertically centre like single-line ones — pin the
     chip content to the top so keys in the same row align. */
  .la-check-btn {
    align-items: flex-start;
  }
  .la-runall-btn {
    grid-column: 1 / -1;
  }
  .la-titlebar {
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .la-titlebar__counter {
    grid-column: 1 / -1;
    text-align: left;
  }
  .la-history {
    padding: 16px 16px 14px;
    font-size: var(--text-xs);
  }
  /* Stack the prompt: input row on top, full-width RUN below.
     Submit on its own row removes the cramped-glyph + truncated-placeholder
     problem on phones. help/clear stay hidden (clear is a power-user gesture
     and live in the desktop chrome). */
  .la-prompt {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .la-prompt__glyph {
    grid-row: 1;
    grid-column: 1;
  }
  .la-prompt__input {
    grid-row: 1;
    grid-column: 2;
  }
  .la-prompt__btn {
    display: none;
  }
  .la-prompt__submit {
    grid-row: 2;
    grid-column: 1 / -1;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .la-handwriting--note {
    font-size: 24px;
    top: -8px;
    right: 8px;
  }
  .la-handwriting--origin {
    font-size: 22px;
    margin-left: 12px;
  }
  .inspect-origin {
    flex-wrap: wrap;
    padding: 14px 16px;
    font-size: var(--text-sm);
  }
}
@media (max-width: 480px) {
  .la-handwriting--note {
    display: none;
  }
}
/* Improve CLS for hero background SVGs */
.hero-bg svg {
  will-change: transform, opacity;
}

/* =============================================
       404 ERROR PAGE
    ============================================= */
.error-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  padding: calc(var(--nav-h) + var(--pad)) var(--pad) var(--pad);
  text-align: center;
  gap: clamp(28px, 6vw, 56px);
  /* Anchor + clip for the decorative .hero-chevron texture. */
  position: relative;
  overflow: hidden;
}
.error-primary,
.error-lang .wrap {
  max-width: 760px;
}

.error-code {
  font-family: var(--font-head);
  font-size: clamp(72px, 18vw, 160px);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin: 0 0 0.25em;
  letter-spacing: -0.02em;
}

.error-headline {
  font-family: var(--font-head);
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.75em;
  line-height: 1.2;
}

.error-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 2em;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Mono status line above the 404 numeral — a 404 IS a terminal response, so
   the page that makes the 'securely deleted' joke finally backs it visually.
   aria-hidden in markup (decorative duplicate of the headline's meaning). */
.error-status {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.6vw, 14px);
  color: var(--muted);
  margin: 0 0 18px;
}

.error-status .error-status-code {
  color: var(--cyan);
  font-weight: 600;
}

.error-status::after {
  content: '▋';
  margin-left: 6px;
  color: var(--cyan);
  animation: la-blink 0.6s step-end infinite;
}

.error-lang {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: min(760px, 100%);
  margin-top: 16px;
  padding-top: clamp(28px, 5vw, 48px);
}

/* The EN block is a bilingual courtesy, not a second render: mono 'EN' tag +
   demoted headline + a single text link instead of a duplicate button pair.
   (CF serves this one 404 for /en/* paths too, so the /en/ link stays clear.) */
.error-lang-label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.error-lang .error-headline {
  font-size: var(--fs-h3);
}

.error-lang .error-description {
  margin-bottom: 1.2em;
}

.error-lang-link a {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}

.error-lang-link a:hover,
.error-lang-link a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .error-hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 40px) clamp(20px, 6vw, 32px) 56px;
  }
  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .error-lang {
    width: 100%;
  }
}

@media (max-width: 414px) {
  .error-code {
    font-size: clamp(64px, 24vw, 120px);
  }
  .error-headline {
    font-size: clamp(22px, 8vw, 30px);
  }
  .error-description {
    font-size: var(--text-base);
  }
  .error-lang {
    padding-top: 24px;
  }
}

/* =============================================
       BUYER SERVICE PAGES
    ============================================= */

.buyer-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 203, 203, 0.13), transparent 42%),
    linear-gradient(180deg, var(--dark), var(--dark-base));
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 82px)) 0 clamp(52px, 7vw, 78px);
  color: #fff;
}

.buyer-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
}

.buyer-hero-copy {
  max-width: 820px;
}

.blog-breadcrumb.buyer-breadcrumb ol {
  justify-content: flex-start;
}

.buyer-section-label,
.buyer-callout-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.buyer-title {
  max-width: 900px;
  font-family: var(--font-head);
  font-size: clamp(34px, 5.8vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.buyer-lead {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted-light);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.buyer-hero-actions,
.buyer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ── Console hero variant (.buyer-hero--console) ──────────────────────
   "Security console" treatment for the buyer-page hero: a terminal
   prompt-line replacing the keyword kicker, and a console panel replacing
   the plain card. Pure CSS; the cursor + live-dot blink are gated behind
   prefers-reduced-motion. Shared by all four buyer pages. Ties the buyer
   surface to the brand's terminal/Inspect-Us motif (cyan on navy, no coral). */
.buyer-hero--console::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(24, 203, 203, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 203, 203, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(125% 95% at 82% -10%, #000 28%, transparent 72%);
  mask-image: radial-gradient(125% 95% at 82% -10%, #000 28%, transparent 72%);
  pointer-events: none;
}

.buyer-hero-glow {
  position: absolute;
  z-index: 0;
  top: -14%;
  left: -6%;
  width: 52%;
  height: 130%;
  background: radial-gradient(closest-side, rgba(24, 203, 203, 0.16), transparent 78%);
  filter: blur(6px);
  pointer-events: none;
}

.buyer-prompt {
  margin: 18px 0 16px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--muted-light);
  overflow-wrap: anywhere;
}

.bp-user {
  color: var(--cyan);
  font-weight: 700;
}

/* Bash-style separators as glyphs so the line reads user@host:path$ command
   with no awkward gaps (the spans sit flush; the colon and prompt char are
   pseudo-content, so screen readers — which already skip the aria-hidden
   prompt — never see them either). */
.bp-path {
  color: rgba(255, 255, 255, 0.45);
}

.bp-path::before {
  content: ':';
  color: rgba(255, 255, 255, 0.45);
}

.bp-cmd {
  color: #fff;
}

.bp-cmd::before {
  content: '$ ';
  color: var(--cyan);
  font-weight: 700;
}

.bp-cursor {
  display: inline-block;
  width: 0.62ch;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.16em;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(24, 203, 203, 0.7);
}

@media (prefers-reduced-motion: no-preference) {
  .bp-cursor {
    animation: bpBlink 1.05s steps(1) infinite;
  }
}

@keyframes bpBlink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

.buyer-hero--console .buyer-title .hl {
  color: var(--cyan);
}

.buyer-console {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(24, 203, 203, 0.24);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.92), rgba(10, 13, 18, 0.92));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(24, 203, 203, 0.12);
  font-family: var(--font-mono);
}

.buyer-console::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 4px);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.bc-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.bc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.bc-title {
  margin-left: 6px;
  font-size: var(--text-2xs);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

.bc-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.bc-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(24, 203, 203, 0.9);
}

@media (prefers-reduced-motion: no-preference) {
  .bc-live::before {
    animation: bcPulse 2s ease-in-out infinite;
  }
}

@keyframes bcPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.bc-body {
  padding: 18px 18px 20px;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.bc-comment {
  color: rgba(255, 255, 255, 0.4);
}

.bc-comment::before {
  content: '# ';
  color: rgba(255, 255, 255, 0.4);
}

.bc-quote {
  margin: 8px 0 18px;
  color: #fff;
  font-style: italic;
  line-height: 1.5;
}

.bc-cmd {
  margin-bottom: 10px;
  color: var(--cyan);
}

.bc-cmd::before {
  content: '> ';
  color: rgba(24, 203, 203, 0.6);
}

.bc-out {
  list-style: none;
  display: grid;
  gap: 9px;
}

.bc-out li {
  display: grid;
  grid-template-columns: 1.4em 1fr;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.bc-out li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
}

.buyer-body {
  background: var(--white);
  padding: clamp(48px, 7vw, 82px) 0 clamp(64px, 9vw, 104px);
}

.buyer-section {
  max-width: 1040px;
  margin: 0 auto clamp(48px, 7vw, 72px);
}

.buyer-section:last-child {
  margin-bottom: 0;
}

.buyer-section--intro {
  margin-top: 0;
}

.buyer-section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.buyer-section-label,
.buyer-callout-kicker {
  color: var(--cyan-ink);
  margin-bottom: 10px;
}

.buyer-section h2,
.buyer-cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--dark);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.buyer-grid {
  display: grid;
  gap: 16px;
}

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

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

.buyer-panel,
.buyer-callout {
  border: 1px solid var(--light-gray);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--white);
  padding: 22px;
}

.buyer-panel h3 {
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: var(--text-lg);
  line-height: 1.3;
  color: var(--dark);
}

.buyer-panel p,
.buyer-content p,
.buyer-content li,
.buyer-callout p,
.buyer-cta-strip p {
  color: var(--body-text);
  font-size: var(--text-md);
  line-height: 1.75;
}

.buyer-content p + p {
  margin-top: 14px;
}

.buyer-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 14px;
}

.buyer-content li {
  margin-bottom: 8px;
}

.buyer-market-split {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--light-gray);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--white);
}

.buyer-market-split::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: var(--light-gray);
}

.buyer-market-split::after {
  content: 'vs';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 8px;
  text-transform: uppercase;
}

.buyer-market-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: clamp(22px, 3vw, 30px);
}

.buyer-market-panel--eu {
  background: var(--white);
}

.buyer-market-panel--us {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 251, 251, 0.96)), var(--off-white);
}

.buyer-market-kicker {
  color: var(--cyan-ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.buyer-market-panel h3 {
  max-width: 420px;
  font-family: var(--font-head);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.2;
  color: var(--dark);
  text-wrap: balance;
}

.buyer-market-panel p {
  max-width: 520px;
  color: var(--body-text);
  font-size: var(--text-md);
  line-height: 1.75;
}

.buyer-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: start;
}

.buyer-callout {
  background: var(--off-white);
}

.buyer-steps {
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: buyer-step;
}

.buyer-steps li {
  position: relative;
  min-height: 74px;
  padding: 18px 20px 18px 64px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--body-text);
  font-size: var(--text-md);
  line-height: 1.7;
  counter-increment: buyer-step;
}

.buyer-steps li::before {
  content: counter(buyer-step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--dark-ink);
  background: var(--cyan);
  border-radius: var(--radius-full);
  padding: 4px 7px;
}

.buyer-proof {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 34px);
  border-radius: var(--radius-md);
  background: var(--dark);
}

.buyer-proof .buyer-section-head {
  margin-bottom: 22px;
}

.buyer-proof .buyer-section-label {
  color: var(--cyan);
}

.buyer-proof h2 {
  color: #fff;
}

.buyer-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.buyer-proof-item {
  display: grid;
  gap: 8px;
  min-height: 144px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    border-color var(--ease),
    background var(--ease);
}

.buyer-proof-item:hover,
.buyer-proof-item:focus-visible {
  border-color: var(--cyan);
  background: rgba(24, 203, 203, 0.08);
}

.buyer-proof-item:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.buyer-proof-item span {
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.35;
}

.buyer-proof-item small {
  color: var(--muted-light);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.buyer-aliases {
  padding: clamp(24px, 4vw, 34px);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--off-white);
}

.buyer-aliases p {
  max-width: 860px;
  color: var(--body-text);
  font-size: var(--text-md);
  line-height: 1.75;
}

.buyer-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
}

.buyer-table-wrap:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.buyer-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.buyer-table th,
.buyer-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--light-gray);
  color: var(--body-text);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.buyer-table thead th {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--text-base);
}

.buyer-table tr:last-child td,
.buyer-table tr:last-child th {
  border-bottom: 0;
}

.buyer-table tbody th {
  background: transparent;
  color: var(--dark);
  font-weight: 700;
}

/* Comparison: highlight the recommended row (fractional / virtual CISO) —
   premium signal + a quiet conversion nudge. */
.buyer-table tr.is-pick td,
.buyer-table tr.is-pick th {
  background: rgba(24, 203, 203, 0.07);
}

.buyer-table tr.is-pick th {
  color: var(--cyan-ink);
  box-shadow: inset 3px 0 0 var(--cyan);
}

/* ── Console-grade body polish ────────────────────────────────────────
   Carries the hero's terminal language into the body and lifts cards,
   steps, and the proof strip from template to premium. Restrained: cyan
   on light, hover depth, one timeline spine — no coral, no busy effects. */

/* Cards: a console-style ›  cue on headings + depth/lift on hover. */
.buyer-panel {
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.buyer-panel:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow:
    0 14px 34px rgba(24, 203, 203, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.buyer-panel h3::before {
  content: '› ';
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Steps: a cyan timeline spine threading the numbered nodes + hover lift. */
.buyer-steps li {
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}

.buyer-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 28px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(var(--cyan), rgba(24, 203, 203, 0.18));
}

.buyer-steps li:hover {
  border-color: var(--cyan);
  box-shadow: 0 10px 26px rgba(24, 203, 203, 0.08);
}

/* Proof strip: faint terminal grid so the dark body block rhymes with the
   hero console. */
.buyer-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 203, 203, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 203, 203, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 100% at 88% 0%, #000 26%, transparent 70%);
  mask-image: radial-gradient(120% 100% at 88% 0%, #000 26%, transparent 70%);
  pointer-events: none;
}

.buyer-proof .buyer-section-head,
.buyer-proof-grid {
  position: relative;
  z-index: 1;
}

/* Section reveals — CSS scroll-driven (no JS). Content is visible by default
   where animation-timeline is unsupported or reduced motion is requested. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .buyer-body .buyer-section,
    .buyer-cta-strip {
      animation: buyerReveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes buyerReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.blog-faq.buyer-faq,
.blog-related.buyer-related {
  max-width: 1040px;
}

.buyer-cta-strip {
  max-width: 1040px;
  margin: clamp(52px, 7vw, 76px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 34px);
  border-radius: var(--radius-md);
  background: var(--off-white);
  border-left: 3px solid var(--cyan);
}

.buyer-cta-strip p {
  max-width: 700px;
  margin-top: 12px;
}

.buyer-cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 980px) {
  .buyer-hero-grid,
  .buyer-split,
  .buyer-cta-strip {
    grid-template-columns: 1fr;
  }

  .buyer-grid--three,
  .buyer-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-console {
    max-width: 640px;
  }

  .buyer-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .buyer-hero {
    padding-top: calc(var(--nav-h) + 38px);
  }

  .buyer-grid--two,
  .buyer-grid--three,
  .buyer-proof-grid {
    grid-template-columns: 1fr;
  }

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

  .buyer-market-split::before,
  .buyer-market-split::after {
    display: none;
  }

  .buyer-market-panel {
    min-height: 0;
    padding: 20px;
  }

  .buyer-market-panel--us {
    border-top: 1px solid var(--light-gray);
  }

  .buyer-panel,
  .buyer-callout,
  .buyer-proof,
  .buyer-aliases,
  .buyer-cta-strip {
    padding: 20px;
  }

  .buyer-steps li {
    padding: 56px 18px 18px;
  }

  .buyer-steps li::before {
    top: 18px;
    left: 18px;
  }

  .buyer-steps li:not(:last-child)::after {
    display: none;
  }

  /* Comparison table → stacked cards (no cramped 3-column squeeze). */
  .buyer-table-wrap {
    overflow-x: visible;
    border: 0;
  }

  .buyer-table {
    min-width: 0;
  }

  .buyer-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .buyer-table tbody {
    display: grid;
    gap: 12px;
  }

  .buyer-table tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
  }

  .buyer-table tr.is-pick {
    border-color: var(--cyan);
  }

  .buyer-table tbody th {
    display: block;
    padding: 12px 16px;
    background: var(--dark);
    color: #fff;
    font-family: var(--font-head);
    font-size: var(--text-base);
    box-shadow: none;
  }

  .buyer-table td {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid var(--light-gray);
    border-bottom: 0;
    font-size: var(--text-sm);
    overflow-wrap: anywhere;
  }

  .buyer-table tr.is-pick td {
    background: rgba(24, 203, 203, 0.06);
  }

  .buyer-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--cyan-ink);
    font-family: var(--font-mono);
    font-size: var(--text-2xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .buyer-hero-actions .btn,
  .buyer-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Console prompt: drop the user@host segment (and its colon separator) so
     the path + command read cleanly without wrapping on narrow screens. */
  .buyer-prompt .bp-user {
    display: none;
  }

  .buyer-prompt .bp-path::before {
    content: none;
  }
}

/* =============================================
       BLOG
    ============================================= */

.blog-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 48px) 0 52px;
  text-align: center;
  /* Anchor + clip for the decorative .hero-chevron texture. */
  position: relative;
  overflow: hidden;
}

/* Faded double-chevron texture for subpage dark bands (blog heroes, 404) —
   the landing's .hero-bg motif, static (no bgPulse), within the established
   0.03-0.06 texture opacity range. Without it the dark band is the least
   branded view on the site. */
.hero-chevron {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.05;
  pointer-events: none;
}
.hero-chevron svg {
  height: 130%;
  width: auto;
}
.blog-hero > .wrap,
.error-hero > .wrap,
.error-hero .error-lang {
  position: relative;
  z-index: 1;
}

/* Article breadcrumb — sits in the dark, centered .blog-hero above the title;
   mirrors the BreadcrumbList JSON-LD (Home/Naslovnica → Blog → current page).
   Mono stack + cyan prompt glyph = the terminal grammar's one appearance on
   article pages; crumb NAMES stay verbatim (BreadcrumbList parity test). */
.blog-breadcrumb {
  margin-bottom: 14px;
}
.blog-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.blog-breadcrumb ol::before {
  content: '$';
  color: var(--cyan);
  font-weight: 600;
}
.blog-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-breadcrumb li + li::before {
  content: '›';
  opacity: 0.6;
}
.blog-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.blog-breadcrumb a:hover,
.blog-breadcrumb a:focus-visible {
  color: var(--cyan);
  text-decoration: underline;
}

.blog-hero-sub {
  font-size: var(--text-md);
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.blog-intro {
  background: var(--off-white);
  padding: clamp(40px, 5vw, 56px) 0 0;
}

/* The listing manifesto keeps its full copy but reads as a skippable,
   deliberately designed preface instead of an undifferentiated text wall:
   eyebrow + lede tier + the editorial cyan left-bar + a jump link to the
   cards (which otherwise sit entirely below the fold). */
.blog-intro-inner {
  max-width: var(--blog-measure);
  margin: 0 auto;
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
}

.blog-intro-eyebrow {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin: 0 0 14px;
}

.blog-intro-text {
  font-size: var(--text-base);
  color: var(--body-text);
  line-height: 1.7;
  margin: 0 0 16px;
}

.blog-intro-text--lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--dark);
}

.blog-intro-text:last-of-type {
  margin-bottom: 0;
}

.blog-intro-jump {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 0;
  margin-bottom: -12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-ink);
  text-decoration: none;
}

.blog-intro-jump:hover,
.blog-intro-jump:focus-visible {
  text-decoration: underline;
}

/* ≤768px: the full manifesto pushed the first card ~1.6 screens down — keep
   the lede, collapse the rest (desktop rhythm untouched). */
@media (max-width: 768px) {
  .blog-intro-text:not(.blog-intro-text--lede) {
    display: none;
  }
}

.blog-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.blog-meta {
  font-size: var(--text-sm);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.blog-sep {
  margin: 0 6px;
}

/* Byline author link — same hero context as .blog-meta, scoped here so it
   doesn't leak to other surfaces (services cards, FAQ, footer). */
a.blog-author {
  color: inherit;
  text-decoration: none;
}
a.blog-author:hover,
a.blog-author:focus-visible {
  color: var(--cyan);
  text-decoration: underline;
}

.blog-reading-time {
  font-variant-numeric: tabular-nums;
}

/* Article cover — the commissioned 1200×630 illustrations previously shipped
   ONLY to social crawlers (og: meta); this surfaces them on-page in a
   CSS-only terminal-window chrome (dark bar + traffic-light dots) echoing
   the Inspect Us console. WebP on-page; og:image keeps the PNG (LinkedIn's
   crawler handles WebP og:image unreliably). */
.blog-cover {
  max-width: var(--blog-measure);
  margin: clamp(28px, 4vw, 44px) auto 0;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.blog-cover::before {
  content: '';
  display: block;
  height: 30px;
  background:
    radial-gradient(circle 5px at 20px 15px, var(--coral) 0 4.5px, transparent 5px),
    radial-gradient(circle 5px at 40px 15px, var(--amber) 0 4.5px, transparent 5px),
    radial-gradient(circle 5px at 60px 15px, var(--green) 0 4.5px, transparent 5px), var(--dark);
}

.blog-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-body {
  padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 100px);
}

.blog-content {
  max-width: var(--blog-measure);
  margin: 0 auto;
}

/* Blog typography */
.blog-content h2 {
  font-family: var(--font-head);
  font-size: var(--fs-h2-minor);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
  text-wrap: balance;
}

/* Heading ladder is 26 / 21 / 18 / 16 — each tier separated by BOTH size and
   weight, so h4 never collapses into bolded body text (it sat at 16px/600
   over 15px/600 strong runs — a 1px delta). */
.blog-content h3 {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
  text-wrap: balance;
}

.blog-content h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 10px;
}

.blog-content p {
  font-size: var(--text-md);
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.blog-content a {
  color: var(--cyan-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.blog-content a:hover {
  color: var(--dark);
  text-decoration-color: var(--cyan);
}

.blog-content strong {
  color: var(--dark);
  font-weight: 600;
}

.blog-content ul,
.blog-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Restore list markers — the global `ul { list-style: none }` reset is not
   undone anywhere else in the blog scope, which left every article <ul>
   rendering as marker-less paragraph fragments (the privacy pages fixed the
   same thing for themselves via `.p-section li { list-style: disc }`). */
.blog-content ul {
  list-style: disc;
}

.blog-content ul ul {
  list-style: circle;
}

.blog-content li::marker {
  color: var(--cyan-ink);
}

.blog-content li {
  font-size: var(--text-md);
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* Blog tables */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-content thead th {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--text-sm);
  text-align: left;
  padding: 10px 14px;
  letter-spacing: 0.02em;
}

.blog-content thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.blog-content thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.blog-content tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--body-text);
  line-height: 1.5;
}

.blog-content tbody tr:nth-child(even) {
  background: var(--off-white);
}

.blog-content th.text-right,
.blog-content td.text-right {
  text-align: right;
}

/* Blog blockquote */
.blog-content blockquote {
  border-left: 3px solid var(--cyan);
  background: var(--off-white);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-content blockquote p {
  margin-bottom: 8px;
}

.blog-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Key-takeaways panel — the block skimmers, executives, and AI crawlers
   extract. Reuses the blockquote recipe verbatim (no new visual vocabulary);
   the inner h2 drops its own cyan bar so the panel's left edge isn't doubled. */
.blog-takeaways {
  border-left: 3px solid var(--cyan);
  background: var(--off-white);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-takeaways h2 {
  border: 0;
  padding-left: 0;
  font-size: 18px;
  margin: 0 0 12px;
}

.blog-takeaways ul {
  margin-bottom: 0;
}

.blog-takeaways li:last-child {
  margin-bottom: 0;
}

/* Blog code */
.blog-content code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background: var(--off-white);
  padding: 2px 6px;
  border-radius: 3px;
}

.blog-content pre {
  background: var(--dark);
  color: var(--off-white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 24px 0;
}

.blog-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Blog figures (inline SVG diagrams) */
.blog-content figure {
  margin: 32px 0;
  max-width: 100%;
}

.blog-content figure svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.blog-content figcaption {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--cyan);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-text);
}

/* Swipe cue inside wide-figure captions — only meaningful where the figure
   actually scrolls (≤720px); on desktop it stays hidden so it never floats
   in whitespace the way the old SVG-baked chevron did. */
.blog-figure-hint {
  display: none;
}

/* Blog glossary sidebar (collapsible <details> block for term definitions) */
.blog-content details.blog-glossary {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--off-white);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-content details.blog-glossary summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: var(--text-base);
  color: var(--dark-text);
}

.blog-content details.blog-glossary[open] summary {
  margin-bottom: 12px;
}

.blog-content details.blog-glossary ul {
  margin: 0;
  padding-left: 20px;
}

.blog-content details.blog-glossary li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.5;
}

/* Article table of contents — collapsible no-JS <details> reusing the
   glossary panel recipe. The H2s carry anchor IDs that previously had zero
   visible jump links (11-21 min reads navigated blind); visible anchors also
   enable Google jump-to sitelinks. */
.blog-content details.blog-toc-panel {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--off-white);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-content details.blog-toc-panel summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: var(--text-base);
  color: var(--dark-text);
}

.blog-content details.blog-toc-panel[open] summary {
  margin-bottom: 12px;
}

.blog-toc ol {
  margin: 0;
  padding-left: 22px;
}

.blog-toc li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.blog-toc a {
  text-decoration: none;
}

.blog-toc a:hover,
.blog-toc a:focus-visible {
  text-decoration: underline;
}

/* Narrow viewports: SVG diagrams keep a legible minimum size and the figure scrolls horizontally.
   Below 720px the SVG would otherwise compress text to unreadable. Caption stays pinned left
   via position: sticky so it never disappears off-screen during horizontal scroll. */
@media (max-width: 720px) {
  .blog-content figure {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* Right-edge scroll shadow (two-layer pattern): the pinned radial shadow
       signals hidden content; the local-attached white cover slides over it
       at full scroll. Works because the inline SVGs paint no full-bleed
       background rect. iOS hides thin scrollbars until the user already
       scrolls, so without this the clipped diagrams read as broken graphics. */
    background-image:
      linear-gradient(to left, var(--white) 30%, rgba(255, 255, 255, 0)),
      radial-gradient(farthest-side at 100% 50%, rgba(55, 54, 67, 0.28), rgba(55, 54, 67, 0));
    background-position:
      right center,
      right center;
    background-size:
      48px 100%,
      18px 100%;
    background-repeat: no-repeat;
    background-attachment: local, scroll;
  }

  .blog-content figure svg {
    min-width: 720px;
    width: 720px;
    max-width: none;
  }

  .blog-content figcaption {
    position: sticky;
    left: 0;
    width: calc(100vw - 48px);
    box-sizing: border-box;
    background: var(--white);
  }

  .blog-figure-hint {
    display: block;
    margin-top: 4px;
    font-weight: 600;
    color: var(--cyan-ink);
  }
}

/* Blog CTA — closing panel, not a bare orphaned button: a 5,000-word guide's
   only conversion point gets one founder-voice lead-in line and the same
   off-white panel vocabulary as the takeaways/blockquote blocks. */
.blog-cta {
  max-width: var(--blog-measure);
  margin: 48px auto 0;
  text-align: center;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.blog-cta-lead {
  font-size: var(--text-md);
  color: var(--dark);
  margin: 0 0 16px;
}

/* In-article FAQ — the VISIBLE companion to each article's FAQPage JSON-LD.
   Google requires FAQ rich-result content to be present on the page, so the
   Q/A here is kept byte-equal to the schema (tests/blog.spec.ts enforces the
   visible↔schema parity, mirroring the landing's parity.spec guard). Reuses
   the global .faq-item/.faq-q/.faq-a styling; only the section wrapper +
   heading are blog-scoped. The <h2> echoes .blog-content h2 (cyan left-bar)
   because the FAQ reads as the article's closing section, not a nav block. */
.blog-faq {
  max-width: var(--blog-measure);
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
}

.blog-faq h2 {
  font-family: var(--font-head);
  font-size: var(--fs-h2-minor);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
}

.blog-faq .faq-list {
  gap: clamp(28px, 3vw, 40px);
}

/* Article FAQ questions sit one tier BELOW their own 26px section h2 — the
   global .faq-q (24px, sized against the landing's 28-50px section heads)
   read here as four more section headings. Landing FAQ untouched; .faq-a at
   16px already matches the article body size. */
.blog-faq .faq-q {
  font-size: var(--fs-h3);
}

/* Related reading — bottom-of-article spoke links. Echoes .blog-card from
   the listing page but tighter: card-grid, whole-card click target, chevron
   cue that nudges on hover. Sits between .blog-cta and .blog-author-bio.
   The block-level <h2> is intentionally NOT scoped under .blog-content so it
   keeps a section-label feel (uppercase eyebrow) rather than competing with
   article H2s (cyan left-bar). */
.blog-related {
  max-width: var(--blog-measure);
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
}

.blog-related h2 {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--mid-gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.blog-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .blog-related ul {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-related li {
  margin: 0;
  padding: 0;
}

.blog-related-card {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 14px;
  align-items: start;
  padding: 18px 20px;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--light-gray);
  /* Same asymmetric signature as .blog-card / .svc-card. */
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .blog-related-card {
    transition: none;
  }
}

.blog-related-card:hover,
.blog-related-card:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 4px 18px rgba(24, 203, 203, 0.12);
}

.blog-related-card:focus-visible {
  /* cyan-ink: 6.56:1 on the white article body (cyan was 2.01:1). */
  outline: 2px solid var(--cyan-ink);
  outline-offset: 2px;
}

.blog-related-card-title {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.blog-related-card:hover .blog-related-card-title,
.blog-related-card:focus-visible .blog-related-card-title {
  color: var(--cyan-ink);
}

.blog-related-card-cue {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.35;
  color: var(--cyan-ink);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.blog-related-card:hover .blog-related-card-cue,
.blog-related-card:focus-visible .blog-related-card-cue {
  transform: translateX(3px);
  color: var(--cyan-hover);
}

.blog-related-card-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.55;
  margin-top: 6px;
}

/* Author bio */
.blog-author-bio {
  max-width: var(--blog-measure);
  margin: 32px auto 0;
  padding: 20px 0;
  border-top: 1px solid var(--light-gray);
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.6;
}

.blog-author-bio a {
  color: var(--cyan-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Blog listing */
.blog-listing {
  padding: clamp(40px, 6vw, 64px) 0 clamp(60px, 8vw, 100px);
  background: var(--off-white);
}

.blog-listing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.blog-card {
  display: block;
  padding: 32px;
  margin-bottom: 20px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  /* The signature asymmetric silhouette (.svc-card grammar): flat cyan left
     edge + rounded right. Blog cards were the only card family without it. */
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Topic chips — the cheapest authority signal before per-article OG art:
   colored by brand track (cyan = security/compliance, coral = marketing). */
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.blog-card-tag {
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  border: 1px solid var(--cyan-ink);
  border-radius: 4px;
  padding: 2px 8px;
}

.blog-card-tag--marketing {
  /* --coral-deep, not --coral-ink: at 11px the chip is normal-size text and
     coral-ink is 4.05:1 on the white card (axe-fails AA); coral-deep is 5.12:1. */
  color: var(--coral-deep);
  border-color: var(--coral-deep);
}

@media (prefers-reduced-motion: reduce) {
  .blog-card {
    transition: none;
  }
}

.blog-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 2px 16px rgba(24, 203, 203, 0.1);
}

.blog-card:focus-visible {
  /* cyan-ink: 6.11:1 on the off-white listing (cyan was 1.87:1). */
  outline: 2px solid var(--cyan-ink);
  outline-offset: 2px;
}

/* Listing cover thumbs — the commissioned article art (already on article
   pages) finally shows in the library view. Desktop: bookish side thumb;
   <=560px the cover tops the card. */
.blog-card--media article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.blog-card-media {
  display: block;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.blog-card-media img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 560px) {
  .blog-card--media article {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.blog-card:hover .blog-card-title {
  color: var(--cyan-ink);
}

.blog-card time {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--mid-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--dark);
  margin: 10px 0;
  transition: color var(--ease);
}

.blog-card p {
  font-size: var(--text-base);
  color: var(--body-text);
  line-height: 1.65;
  margin: 0;
}

.blog-card-read {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-ink);
  transition: color var(--ease);
}

.blog-card:hover .blog-card-read {
  color: var(--cyan-hover);
}

/* ============================================================
   HERO COMMAND PALETTE (⌘K) — added 2026-06
   Two-column hero (existing .hero-content left, palette right);
   stacks to one column < 980px with the palette below the CTAs.
   All styling reads brand tokens from :root. JS: js/hero-palette.js
   ============================================================ */
.hero.has-palette::after {
  display: none;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
  width: 100%;
}
.hero.has-palette .hero-content {
  max-width: none;
}
.hero.has-palette .hero-headline {
  font-size: clamp(38px, 4.3vw, 60px);
}
.hero.has-palette .hero-line-inner {
  white-space: normal;
}
.hero-aside {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.pal-stage {
  position: relative;
  width: 100%;
  max-width: 424px;
}
.pal-stage::before {
  content: '';
  position: absolute;
  inset: -46px -34px -34px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(58% 56% at 62% 38%, rgba(24, 203, 203, 0.24), transparent 72%);
  filter: blur(22px);
}
.pal-stage::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -16px;
  height: 30px;
  z-index: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
  filter: blur(20px);
  border-radius: 50%;
}
.pal {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #1d222c, #11141b) padding-box,
    linear-gradient(140deg, rgba(125, 226, 226, 0.55), rgba(255, 107, 107, 0.32) 52%, rgba(255, 255, 255, 0.05))
      border-box;
  box-shadow:
    0 44px 96px -32px rgba(0, 0, 0, 0.8),
    0 10px 26px -14px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.35s ease;
}
.pal.focused {
  box-shadow:
    0 44px 96px -32px rgba(0, 0, 0, 0.8),
    0 0 0 2px rgba(24, 203, 203, 0.5),
    0 0 34px rgba(24, 203, 203, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.pal-search {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}
.pal-search .mag {
  width: 19px;
  height: 19px;
  color: var(--mid-gray);
  flex: none;
}
.pal-q {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--off-white);
  white-space: nowrap;
  letter-spacing: -0.01em;
  min-height: 21px;
}
.pal-q .cur {
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--cyan);
  margin-left: 2px;
  vertical-align: -3px;
  animation: palBlink 1.05s step-end infinite;
}
@keyframes palBlink {
  50% {
    opacity: 0;
  }
}
.pal-kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid-gray);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  padding: 3px 8px;
  flex: none;
}
.pal-grp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
}
.pal-grp .cnt {
  color: #8b90a8;
  letter-spacing: 0.06em;
}
.pal-list {
  padding: 2px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pal-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 11px;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.14s ease;
}
.pal-row:hover {
  background: rgba(255, 255, 255, 0.045);
}
.pal-row.sel:hover {
  background: rgba(24, 203, 203, 0.13);
}
.pal-row.sel.gro:hover {
  background: rgba(255, 107, 107, 0.13);
}
.pal-row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
.pal-row.chosen {
  background: rgba(24, 203, 203, 0.24);
  transition: background 0.08s ease;
}
.pal-row.gro.chosen {
  background: rgba(255, 107, 107, 0.26);
}
.pal-row .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  flex: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.pal-row .ic svg {
  width: 18px;
  height: 18px;
}
.pal-row.gro .ic {
  color: var(--coral);
}
.pal-row .lab {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--off-white);
  line-height: 1.25;
}
.pal-row .lab .sublab {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11.5px;
  color: #9aa0b6;
  margin-top: 2px;
}
.pal-row .tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: lowercase;
  flex: none;
}
.pal-row .ent {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 8px;
  flex: none;
}
.pal-row .ent .ent-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}
.pal-row .ent .kk {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  border: 1px solid rgba(24, 203, 203, 0.4);
  border-radius: 6px;
  padding: 1px 7px;
  background: rgba(24, 203, 203, 0.1);
}
.pal-row.sel {
  background: rgba(24, 203, 203, 0.1);
}
.pal-row.sel::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 3px;
  background: var(--cyan);
}
.pal-row.sel .tag {
  display: none;
}
.pal-row.sel .ent {
  display: flex;
}
.pal-row.sel.gro {
  background: rgba(255, 107, 107, 0.1);
}
.pal-row.sel.gro::before {
  background: var(--coral);
}
.pal-row.sel.gro .ent .ent-lbl {
  color: #ff8f8f;
}
.pal-row.sel.gro .ent .kk {
  color: #ff8f8f;
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.12);
}
.pal-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid-gray);
  background: rgba(0, 0, 0, 0.16);
}
.pal-foot .k {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  padding: 2px 7px;
  margin-right: 6px;
  color: var(--muted-light);
}
.pal-foot .brand {
  margin-left: auto;
  color: #8b90a8;
  letter-spacing: 0.04em;
}
.pal-foot .brand.confirm {
  color: var(--green);
}

@media (max-width: 980px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero.has-palette .hero-headline {
    font-size: clamp(36px, 7vw, 56px);
  }
  .hero-aside {
    justify-content: flex-start;
  }
  .pal-stage {
    max-width: 460px;
  }
  .pal-row.m-hide {
    display: none;
  }
}
@media (max-width: 560px) {
  .hero.has-palette .hero-headline {
    font-size: clamp(30px, 8.5vw, 44px);
  }
  .pal-stage {
    max-width: 100%;
  }
  .pal-stage::before {
    inset: -30px -20px -20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pal-q .cur {
    animation: none;
  }
}
@media (hover: none) {
  /* Touch devices have no hardware keys — drop the ⌘K chip and the ↑↓/↵ footer
     hints (keep the .brand wordmark); the rows stay tappable and the selected-row
     affordance carries the interaction. */
  .pal-kbd,
  .pal-foot > span:not(.brand) {
    display: none;
  }
}
