/* ============================================================
   Modern Next GmbH — v3
   Pure. Black. Confident.
   ============================================================ */

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

:root {
  /* surfaces */
  --bg:           #000000;
  --bg-raised:    #0a0a0b;
  --bg-card:      #0f0f11;
  --bg-inset:     #070708;
  --nav-bg:       rgba(0,0,0,0.72);

  /* lines */
  --line:         #1a1a1d;
  --line-s:       #26262a;
  --line-h:       #3a3a3f;

  /* text */
  --ink:          #ffffff;
  --ink-2:        #d4d4d8;   /* zinc-300 */
  --ink-3:        #a1a1aa;   /* zinc-400 */
  --ink-4:        #71717a;   /* zinc-500 */
  --ink-5:        #52525b;   /* zinc-600 */

  /* accent — confident blue */
  --ac:           #3b82f6;          /* blue-500 */
  --ac-dim:       #2563eb;          /* blue-600 */
  --ac-soft:      rgba(59,130,246,0.12);
  --ac-line:      rgba(59,130,246,0.32);
  --ac-glow:      rgba(59,130,246,0.18);

  /* semantic */
  --ok:           #3b82f6;
  --warn:         #fbbf24;

  /* layout */
  --max:          1200px;
  --max-narrow:   900px;
  --r:            6px;
  --r-lg:         12px;

  /* type */
  --sans:         'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

[data-theme="light"] {
  --bg:           #ffffff;
  --bg-raised:    #fafafa;
  --bg-card:      #f4f4f5;
  --bg-inset:     #f8f8f8;
  --nav-bg:       rgba(255,255,255,0.82);

  --line:         #e4e4e7;
  --line-s:       #d4d4d8;
  --line-h:       #a1a1aa;

  --ink:          #09090b;
  --ink-2:        #27272a;
  --ink-3:        #52525b;
  --ink-4:        #71717a;
  --ink-5:        #a1a1aa;

  --ac:           #2563eb;
  --ac-dim:       #1d4ed8;
  --ac-soft:      rgba(37,99,235,0.08);
  --ac-line:      rgba(37,99,235,0.3);
  --ac-glow:      rgba(37,99,235,0.14);

  --ok:           #2563eb;
  --warn:         #b45309;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

::selection { background: var(--ac); color: #000; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-s); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-h); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }


/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: transparent;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
nav.scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--line);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.125rem;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-3);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

/* Legacy CSS chevron removed — the new nav uses a <span class="nav-chevron">
   element instead. Keep this empty rule to neutralize any inherited pseudo. */
.nav-dropdown-toggle::after { content: none; }

/* toggle button (no href) */
.nav-links button.nav-dropdown-toggle {
  font-family: inherit;
  background: transparent;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s, background 0.15s;
  line-height: 1;
}
.nav-links button.nav-dropdown-toggle:hover { color: var(--ink); background: var(--bg-raised); }
.nav-links button.nav-dropdown-toggle[aria-expanded="true"] { color: var(--ink); background: var(--bg-raised); }

.nav-chevron {
  width: 10px; height: 10px;
  display: inline-block;
  position: relative;
  transition: transform 0.22s;
  opacity: 0.7;
}
.nav-chevron::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  top: 0px;
}
.nav-links button.nav-dropdown-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

/* dropdown panel (click-driven; hover falls back when no JS) */
.nav-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s, transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 110;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
/* hover fallback — only when JS has not taken over */
html:not(.nav-js) .nav-links > li:hover .nav-dropdown,
html:not(.nav-js) .nav-links > li:focus-within .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* click-controlled open state */
.nav-dropdown[data-open="true"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-inner {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 25px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
  width: 760px;
  max-width: calc(100vw - 3rem);
}

/* mega-menu body */
.mega {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.mega-featured {
  padding: 1.5rem 1.5rem 1.25rem;
  background:
    linear-gradient(180deg, var(--ac-soft) 0%, transparent 60%),
    var(--bg-inset);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mega-featured-kicker {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--ac);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.mega-featured-kicker::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--ac);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ac-soft);
}
.mega-featured h4 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
}
.mega-featured p {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.55;
}
.mega-featured-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ac);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.5rem;
  transition: gap 0.2s;
}
.mega-featured-link:hover { gap: 0.6rem; color: var(--ac); }
.mega-featured-link .arrow { transition: transform 0.2s; }
.mega-featured-link:hover .arrow { transform: translateX(3px); }

.mega-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-group { margin-bottom: 0.25rem; }
.dropdown-group:last-child { margin-bottom: 0; }
.dropdown-group-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.5rem 0.65rem 0.35rem;
}

.dropdown-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; }
.dropdown-items a {
  font-size: 0.88rem;
  color: var(--ink-2);
  padding: 0.55rem 0.65rem;
  border-radius: var(--r);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  transition: color 0.15s, background 0.15s;
}
.dropdown-items a:hover {
  color: var(--ink);
  background: var(--bg-raised);
}
.dropdown-items a:hover .di-sub { color: var(--ink-3); }

.di-icon {
  color: var(--ac);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-top: 0.2rem;
  min-width: 1.5em;
  opacity: 0.95;
}
.di-label {
  font-weight: 500;
  display: block;
  color: inherit;
  font-size: 0.88rem;
  line-height: 1.3;
}
.di-sub {
  font-size: 0.74rem;
  color: var(--ink-5);
  display: block;
  line-height: 1.35;
  margin-top: 0.15rem;
  transition: color 0.15s;
}

.mega-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mega-footer-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-4);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.mega-footer-note::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--ac);
  border-radius: 50%;
}
.mega-footer a {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s, gap 0.2s;
}
.mega-footer a:hover { color: var(--ac); gap: 0.55rem; }

@media (max-width: 960px) {
  .nav-dropdown, .nav-dropdown-inner { display: none; }
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: #000;
  background: #fff;
  padding: 0.5rem 0.95rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #fff;
}
.nav-cta:hover { background: var(--ac); border-color: var(--ac); color: #000; }
[data-theme="light"] .nav-cta { background: #000; color: #fff; border-color: #000; }
[data-theme="light"] .nav-cta:hover { background: var(--ac); border-color: var(--ac); color: #000; }
.nav-cta .arrow { transition: transform 0.2s; }
.nav-cta:hover .arrow { transform: translateX(2px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.22s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-h); background: var(--bg-raised); }
.theme-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 99;
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s;
}
.nav-mobile a:hover { color: var(--ac); }
.nm-group-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 1.5rem 0 0.35rem;
}
.nav-mobile .nav-cta {
  display: inline-flex;
  margin-top: 1.75rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  nav > div > .nav-cta,
  nav > .nav-cta { display: none; }
  nav > div > .theme-toggle { display: none; }
  .nav-burger { display: flex; }
}


/* ============================================================
   LAYOUT
   ============================================================ */
.wrapper {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 1.5rem; position: relative; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ac);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--ac);
  opacity: 0.6;
}

h2.title, .h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-3);
  max-width: 560px;
  line-height: 1.65;
}

.centered { text-align: center; }
.centered .lead { margin: 0 auto; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.8rem 1.4rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.btn .arrow { transition: transform 0.22s; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.btn-primary:hover {
  background: var(--ac);
  border-color: var(--ac);
  color: #000;
}
[data-theme="light"] .btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}
[data-theme="light"] .btn-primary:hover {
  background: var(--ac);
  color: #000;
  border-color: var(--ac);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-s);
}
.btn-ghost:hover {
  border-color: var(--line-h);
  color: var(--ink);
  background: var(--bg-raised);
}

.btn-lg { padding: 0.95rem 1.6rem; font-size: 0.95rem; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 9rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Hero background image layer — cinematic intro + slow Ken Burns */
.hero-img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.55;
  filter: saturate(0.7) contrast(1.08) brightness(0.92);
  z-index: 0;
  pointer-events: none;
  will-change: opacity, transform;
  animation:
    heroImgIntro 2.2s cubic-bezier(0.16, 0.84, 0.24, 1) both,
    heroImgKB 32s ease-in-out 2.3s infinite alternate;
}
.hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 25%, transparent 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 18%, transparent 82%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
[data-theme="light"] .hero-img {
  opacity: 0.4;
  filter: saturate(0.85) contrast(1.02) brightness(1.05);
}
[data-theme="light"] .hero-img::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 25%, transparent 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.4) 0%, transparent 18%, transparent 82%, rgba(255,255,255,0.4) 100%);
}

@keyframes heroImgIntro {
  0%   { opacity: 0;    transform: scale(1.22); }
  35%  { opacity: 0.18; }
  70%  { opacity: 0.48; transform: scale(1.08); }
  100% { opacity: 0.55; transform: scale(1.04); }
}
[data-theme="light"] .hero-img { animation-name: heroImgIntroLight, heroImgKB; }
@keyframes heroImgIntroLight {
  0%   { opacity: 0;    transform: scale(1.22); }
  35%  { opacity: 0.14; }
  70%  { opacity: 0.35; transform: scale(1.08); }
  100% { opacity: 0.4;  transform: scale(1.04); }
}
@keyframes heroImgKB {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12) translate(-1.8%, -1%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img {
    animation: none !important;
    transform: scale(1);
    opacity: 0.32;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--ac-glow) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
  animation: orbDrift 18s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-48%, -54%) scale(1.15); opacity: 1; }
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border: 1px solid var(--line-s);
  border-radius: 100px;
  margin-bottom: 2rem;
  background: var(--bg-raised);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--ac);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ac-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--ac-soft); }
  50%       { box-shadow: 0 0 0 7px rgba(59,130,246,0); }
}
.hero-badge .sep { color: var(--line-h); }

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 auto 1.75rem;
  max-width: 14ch;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--ac) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-3);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stat {
  padding: 1.25rem 0.75rem;
  text-align: left;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; }
.hs-val {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.hs-val small {
  font-size: 0.9rem;
  color: var(--ac);
  font-weight: 500;
  margin-left: 0.1rem;
}
.hs-lbl {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-top: 1px solid var(--line); }
  .hero-actions { margin-bottom: 3.5rem; }
}


/* ============================================================
   LOGO BAR (marquee-style partner row)
   ============================================================ */
.logo-bar {
  padding: 3rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.logo-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.logo-bar-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 2rem;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
}
.logo-item {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  cursor: default;
}
.logo-item:hover { color: var(--ink-2); }
@media (max-width: 800px) {
  .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 1.75rem; }
}


/* ============================================================
   FEATURES / VALUE CARDS
   ============================================================ */
.features {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.features-head {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.features-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.features-head p {
  font-size: 1.05rem;
  color: var(--ink-3);
  line-height: 1.6;
}
.features-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card-v3 {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  transition: border-color 0.2s, background 0.2s;
}
.feature-card-v3:hover {
  border-color: var(--line-h);
  background: var(--bg-card);
}
.fcv3-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ac-soft);
  border: 1px solid var(--ac-line);
  color: var(--ac);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.fcv3-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}
.fcv3-text {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .features-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SERVICES — 2x3 large cards
   ============================================================ */
.services-v3 {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-inset);
}
.services-head {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
.services-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.services-head .lead { max-width: 480px; }

.services-grid-v3 {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.svc-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition: border-color 0.2s, transform 0.22s, background 0.2s;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
/* Corner glow replaced by cursor-tracking spotlight (see .svc-card::before below) */
.svc-card:hover {
  border-color: var(--ac-line);
  transform: translateY(-2px);
  background: var(--bg-raised);
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover .svc-card-arrow { color: var(--ac); transform: translate(2px, -2px); }
.svc-card-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-5);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}
.svc-card-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.svc-card-text {
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}
.svc-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.svc-card-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.svc-card-chip {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-4);
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line-s);
  border-radius: 100px;
}
.svc-card-arrow {
  color: var(--ink-4);
  font-size: 1.15rem;
  transition: transform 0.22s, color 0.2s;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .services-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid-v3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .services-grid-v3 { grid-template-columns: 1fr; }
}


/* ============================================================
   PROCESS STRIP
   ============================================================ */
.process {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.process-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.process-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}
.process-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.process-head p {
  font-size: 1.05rem;
  color: var(--ink-3);
  line-height: 1.6;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: step;
}
.process-col {
  padding: 2rem 1.25rem 0 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-col:last-child { border-right: none; padding-right: 0; }
.process-col::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ac);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}
.process-col h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.process-col p {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-rail { grid-template-columns: 1fr 1fr; }
  .process-col:nth-child(2) { border-right: none; }
  .process-col:nth-child(3), .process-col:nth-child(4) {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding-top: 2rem;
  }
}
@media (max-width: 540px) {
  .process-rail { grid-template-columns: 1fr; }
  .process-col { border-right: none; padding-right: 0; }
  .process-col + .process-col {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding-top: 2rem;
  }
}


/* ============================================================
   CASE STUDY — featured
   ============================================================ */
.case {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-inset);
}
.case-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.case-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ac);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.case-quote {
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}
.case-attrib {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  padding-left: 0.85rem;
  border-left: 2px solid var(--ac);
}
.case-attrib strong { color: var(--ink-2); font-weight: 500; }

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
}
.case-metric {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-metric:nth-child(2n) { border-right: none; }
.case-metric:nth-child(3), .case-metric:nth-child(4) { border-bottom: none; }
.cm-val {
  font-size: 2rem;
  font-weight: 500;
  color: var(--ac);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.cm-lbl {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .case-inner { grid-template-columns: 1fr; gap: 3rem; }
}


/* ============================================================
   REFERENCES ROW
   ============================================================ */
.refs {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.refs-head {
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
.refs-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.refs-head .lead { max-width: 480px; }
.refs-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ref-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  transition: border-color 0.2s, transform 0.2s;
}
.ref-card:hover {
  border-color: var(--line-h);
  transform: translateY(-2px);
}
.ref-sector {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--ac);
  background: var(--ac-soft);
  border: 1px solid var(--ac-line);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.ref-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.ref-card p {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .refs-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .refs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .refs-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-v3 {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: var(--bg-inset);
}
.cta-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 350px at 50% 100%, var(--ac-glow), transparent 70%);
  pointer-events: none;
}
.cta-inner-v3 {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-v3 h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.cta-v3 p {
  font-size: 1.1rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions-v3 {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}


/* ============================================================
   TERMINAL / LIVE-OPS SHOWCASE
   ============================================================ */
.ops {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-inset);
  position: relative;
  overflow: hidden;
}
.ops::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  opacity: 0.5;
  pointer-events: none;
}
.ops-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.ops-copy h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.ops-copy p {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.ops-points {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ops-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.ops-points li::before {
  content: '';
  width: 14px; height: 14px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ac-soft);
  border: 1px solid var(--ac-line);
  position: relative;
}
.ops-points li strong { color: var(--ink); font-weight: 500; }

/* Terminal-style window */
.term {
  background: #000;
  border: 1px solid var(--line-s);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: #0a0a0b;
  border-bottom: 1px solid var(--line);
}
.term-dots {
  display: flex;
  gap: 0.45rem;
}
.term-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line-s);
}
.term-dots span:nth-child(1) { background: #ff5f57; }
.term-dots span:nth-child(2) { background: #febc2e; }
.term-dots span:nth-child(3) { background: var(--ac); }
.term-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.term-badge {
  font-size: 0.66rem;
  color: var(--ac);
  background: var(--ac-soft);
  border: 1px solid var(--ac-line);
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.term-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: #070708;
  padding: 0 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.term-tabs::-webkit-scrollbar { display: none; }
.term-tab {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-4);
  background: none;
  border: none;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.term-tab:hover { color: var(--ink-2); }
.term-tab.active {
  color: var(--ac);
  border-bottom-color: var(--ac);
}
.term-body {
  padding: 1.25rem 1.25rem 1.5rem;
  min-height: 320px;
  color: var(--ink-2);
  overflow-x: auto;
}
.term-pane { display: none; }
.term-pane.active { display: block; }
.t-prompt {
  color: var(--ink-4);
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.t-prompt .user { color: var(--ac); }
.t-prompt .sep { color: var(--line-h); }
.t-prompt .host { color: #7dd3fc; }
.t-prompt .cmd { color: var(--ink); }
.t-prompt .flag { color: #fbbf24; }
.t-out {
  color: var(--ink-3);
  white-space: pre-wrap;
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  line-height: 1.75;
}
.t-out .ok { color: var(--ac); }
.t-out .warn { color: var(--warn); }
.t-out .num { color: #7dd3fc; }
.t-out .key { color: var(--ink); }
.t-out .dim { color: var(--ink-5); }
.t-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--ac);
  vertical-align: text-bottom;
  animation: blinkCur 1s step-end infinite;
}
@keyframes blinkCur { 50% { opacity: 0; } }

@media (max-width: 960px) {
  .ops-inner { grid-template-columns: 1fr; gap: 3rem; }
  .term { font-size: 0.72rem; }
  .term-body { padding: 1rem 0.9rem 1.25rem; min-height: 0; }
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.testimonials-head {
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
.testimonials-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.testimonials-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.t-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.t-card:hover {
  border-color: var(--line-h);
  transform: translateY(-2px);
  background: var(--bg-card);
}
.t-stars {
  color: var(--ac);
  letter-spacing: 0.15em;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.t-quote {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
  flex: 1;
}
.t-quote::before { content: '"'; color: var(--ac); margin-right: 0.1em; }
.t-quote::after  { content: '"'; color: var(--ac); margin-left: 0.1em; }
.t-who {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ac) 0%, #8b5cf6 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.t-name { font-size: 0.9rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.t-role { font-size: 0.78rem; color: var(--ink-4); line-height: 1.35; margin-top: 0.1rem; }

@media (max-width: 960px) {
  .testimonials-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   FAQ (on homepage)
   ============================================================ */
.faq-section {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-inset);
}
.faq-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: 96px;
}
.faq-aside .eyebrow { margin-bottom: 1.25rem; }
.faq-aside h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.faq-aside p {
  font-size: 0.95rem;
  color: var(--ink-3);
  line-height: 1.6;
}
.faq-aside .btn { margin-top: 1.5rem; }

.faq-v3 {
  border-top: 1px solid var(--line);
}
.faq-v3 .faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-v3 .faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.15s;
}
.faq-v3 .faq-q:hover { color: var(--ac); }
.faq-v3 .faq-arrow {
  width: 26px; height: 26px;
  border: 1px solid var(--line-s);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s, border-color 0.2s, color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 500;
}
.faq-v3 .faq-arrow::before { content: '+'; }
.faq-v3 .faq-item.open .faq-arrow {
  transform: rotate(45deg);
  border-color: var(--ac);
  color: var(--ac);
  background: var(--ac-soft);
}
.faq-v3 .faq-a {
  display: none;
  padding: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 680px;
}
.faq-v3 .faq-item.open .faq-a { display: block; }

@media (max-width: 820px) {
  .faq-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-aside { position: static; }
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-grid h2.title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.cb-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}
.cb-value { font-size: 0.98rem; color: var(--ink); line-height: 1.55; }
.cb-value a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-s);
  transition: border-color 0.15s, color 0.15s;
}
.cb-value a:hover { color: var(--ac); border-bottom-color: var(--ac); }

form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.55rem;
}
input, select, textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--ink-5); }
input:focus, select:focus, textarea:focus {
  border-color: var(--ac);
  background: var(--bg-card);
}
select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-4) 50%),
                    linear-gradient(135deg, var(--ink-4) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 1px), calc(100% - 10px) calc(50% - 1px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
select option { background: var(--bg-card); color: var(--ink); }
textarea { resize: vertical; min-height: 120px; }

.form-legal {
  font-size: 0.8rem;
  color: var(--ink-4);
  line-height: 1.6;
}
.form-legal a { color: var(--ink-2); border-bottom: 1px solid var(--line-s); }

.contact-section form button {
  align-self: flex-start;
  margin-top: 0.25rem;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 4.5rem 1.5rem 2rem;
  background: var(--bg);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; margin-bottom: 1rem; }
.footer-logo img { height: 24px; width: auto; }
.footer-tag {
  font-size: 0.9rem;
  color: var(--ink-3);
  max-width: 32ch;
  line-height: 1.55;
}
.footer-addr {
  font-size: 0.88rem;
  color: var(--ink-3);
  margin-top: 1.5rem;
  line-height: 1.9;
}
.footer-addr a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.footer-addr a:hover { border-bottom-color: var(--ac); }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--ink-5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--ink-3);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ac); }

.footer-bottom {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}
.footer-bottom a { color: var(--ink-4); }
.footer-bottom a:hover { color: var(--ink-2); }
.footer-bottom .fb-links { display: flex; gap: 1.75rem; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--ac) 0%, #a78bfa 100%);
  z-index: 200;
  pointer-events: none;
  transition: width 0.12s ease-out;
  box-shadow: 0 0 12px var(--ac-glow);
}


/* ============================================================
   CARD SPOTLIGHT — cursor-aware glow for cards
   ============================================================ */
.svc-card,
.feature-card-v3,
.t-card,
.ref-card {
  --mx: 50%;
  --my: 50%;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    480px circle at var(--mx) var(--my),
    var(--ac-soft),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: inherit;
}
.svc-card:hover::before { opacity: 1; }

.feature-card-v3,
.t-card,
.ref-card {
  position: relative;
  overflow: hidden;
}
.feature-card-v3::after,
.t-card::after,
.ref-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    var(--ac-soft),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: inherit;
}
.feature-card-v3:hover::after,
.t-card:hover::after,
.ref-card:hover::after { opacity: 1; }


/* ============================================================
   NAV LINK HOVER — subtle accent chip (no underline)
   ============================================================ */
.nav-links > li > a,
.nav-links > li > button.nav-dropdown-toggle {
  transition: color 0.18s, background 0.18s;
}
.nav-links > li > a:hover,
.nav-links > li > button.nav-dropdown-toggle:hover {
  color: var(--ac);
  background: var(--ac-soft);
}
.nav-links > li > button.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--ac);
  background: var(--ac-soft);
}


/* ============================================================
   HERO TITLE — word-by-word reveal
   ============================================================ */
.hero-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  animation: heroWordUp 0.95s cubic-bezier(0.2, 0.85, 0.25, 1) var(--wd, 0s) forwards;
  will-change: opacity, transform;
}
@keyframes heroWordUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .w {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logo-track {
  display: flex;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.logo-track:hover { animation-play-state: paused; }
.logo-track .logo-item {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  cursor: default;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-track .logo-item:hover { color: var(--ink-2); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}


/* ============================================================
   CTA BUTTON — subtle gradient shift on hover
   ============================================================ */
.btn-primary {
  background: linear-gradient(110deg, #fff 0%, #fff 50%, #e5e7eb 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition:
    background-position 0.4s ease,
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.btn-primary:hover {
  background: linear-gradient(110deg, var(--ac) 0%, #a78bfa 100%);
  background-size: 200% 100%;
  background-position: 100% 50%;
}
[data-theme="light"] .btn-primary {
  background: linear-gradient(110deg, #000 0%, #000 50%, #27272a 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
}
[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(110deg, var(--ac) 0%, #7c3aed 100%);
  color: #fff;
}


/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.34s; }


/* ============================================================
   INNER PAGES — legacy shell, restyled for v3
   ============================================================ */

.page-header {
  position: relative;
  padding: 9rem 1.5rem 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

/* Page-header background image layer — animated */
.page-header-img {
  position: absolute;
  inset: -3%;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: 0.55;              /* fallback — visible even if animation fails */
  filter: saturate(0.7) contrast(1.08) brightness(0.92);
  z-index: 0;
  pointer-events: none;
  will-change: opacity, transform;
  animation:
    heroImgIntro 2.2s cubic-bezier(0.16, 0.84, 0.24, 1) both,
    heroImgKB 32s ease-in-out 2.3s infinite alternate;
}
.page-header-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 25%, transparent 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 18%, transparent 82%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
[data-theme="light"] .page-header-img {
  opacity: 0.4;
  filter: saturate(0.85) contrast(1.02) brightness(1.05);
  animation-name: heroImgIntroLight, heroImgKB;
}
[data-theme="light"] .page-header-img::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 25%, transparent 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.4) 0%, transparent 18%, transparent 82%, rgba(255,255,255,0.4) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .page-header-img {
    animation: none !important;
    transform: scale(1);
    opacity: 0.32;
  }
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
}
.page-header-orb {
  position: absolute;
  width: 820px; height: 820px;
  top: 10%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--ac-glow) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(22px);
  z-index: 2;
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.page-header .wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Subpage status / topic pill — same language as the homepage hero-badge */
.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border: 1px solid var(--line-s);
  border-radius: 100px;
  background: var(--bg-raised);
  margin-bottom: 1.85rem;
}
.ph-badge .dot {
  width: 7px; height: 7px;
  background: var(--ac);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ac-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
.ph-badge .sep { color: var(--line-h); }

.ph-mark { display: none; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-5);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-5); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--ac); }
.breadcrumb .sep { color: var(--line-h); }
.breadcrumb .current { color: var(--ink-3); }

.page-header .eyebrow { margin-bottom: 1.25rem; }
.page-header h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.page-header h1 em { font-style: normal; color: var(--ac); }
.page-header h1 .accent {
  background: linear-gradient(120deg, var(--ac) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-3);
  max-width: 620px;
  line-height: 1.6;
}
.page-header .header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* tighter hero for legal pages (Impressum / Datenschutz) */
.page-header.compact {
  min-height: 48dvh;
  padding: 8rem 1.5rem 3rem;
}
.page-header.compact h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: none;
  margin-bottom: 0.75rem;
}
.page-header.compact .lead { font-size: 1rem; }

@media (max-width: 720px) {
  .page-header {
    padding: 7.5rem 1.25rem 3.5rem;
    min-height: 85dvh;
  }
  .page-header h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .page-header.compact { min-height: 42dvh; }
}

/* legacy fallback — only render these for pages that still ship v1 markup */
.ph-prompt, .ph-status { display: none; }

.page-body {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.content-section { margin-bottom: 5rem; }
.content-section:last-child { margin-bottom: 0; }
.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-heading em { font-style: normal; color: var(--ac); }
.section-lead {
  font-size: 1.02rem;
  color: var(--ink-3);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: var(--line-h);
  background: var(--bg-card);
}
.fc-icon {
  display: block;
  font-size: 1.3rem;
  color: var(--ac);
  margin-bottom: 0.9rem;
  line-height: 1;
}
.fc-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fc-text { font-size: 0.88rem; color: var(--ink-3); line-height: 1.6; }

.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.checklist li::before {
  content: '→';
  color: var(--ac);
  font-family: var(--mono);
  flex-shrink: 0;
  font-weight: 500;
}

.highlight-box {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ac);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.highlight-box p {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.highlight-box strong { color: var(--ink); font-weight: 500; }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 720px) { .split-layout { grid-template-columns: 1fr; gap: 2rem; } }
.split-layout .eyebrow { margin-bottom: 0.75rem; }
.split-layout h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.split-layout h2 em { font-style: normal; color: var(--ac); }
.split-layout p {
  font-size: 0.95rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-raised);
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { background: var(--bg-card); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ac-soft);
  border: 1px solid var(--ac-line);
  color: var(--ac);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.35rem; color: var(--ink); letter-spacing: -0.01em; }
.step-text { font-size: 0.9rem; color: var(--ink-3); line-height: 1.6; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.15s;
}
.faq-q:hover { color: var(--ac); }
.faq-q .faq-arrow {
  width: 22px; height: 22px;
  border: 1px solid var(--line-s);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.22s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1;
}
.faq-q .faq-arrow::before { content: '+'; }
.faq-item.open .faq-arrow { transform: rotate(45deg); border-color: var(--ac); color: var(--ac); }
.faq-a {
  display: none;
  padding: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 720px;
}
.faq-item.open .faq-a { display: block; }

.page-cta {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-top: 5rem;
}
.page-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}
.page-cta h2 em { font-style: normal; color: var(--ac); }
.page-cta p {
  font-size: 0.98rem;
  color: var(--ink-3);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta .btn-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 2.5rem 0;
  background: var(--bg-raised);
}
.stat-cell {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 500;
  color: var(--ac);
  display: block;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ============================================================
   LEGACY v1/v2 CLASSES — aliased to new design
   ============================================================ */

.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.4rem;
  border-radius: 100px;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.btn-fill:hover { background: var(--ac); border-color: var(--ac); color: #000; }
[data-theme="light"] .btn-fill { background: #000; color: #fff; border-color: #000; }
[data-theme="light"] .btn-fill:hover { background: var(--ac); color: #000; border-color: var(--ac); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.4rem;
  border-radius: 100px;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line-s);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.btn-outline:hover { border-color: var(--ac); color: var(--ac); }

.btn-bracket { display: none; }

/* v1 hero / prompt / status — subtle fallback */
.hero-grid, .hero-glow-top, .hero-mark { display: none; }
.prompt-ps   { color: var(--ac); }
.prompt-sep  { color: var(--line-h); }
.prompt-path { color: var(--ink); }
.prompt-dollar { color: var(--ink-4); margin: 0 0.4rem; }
.prompt-cmd  { color: var(--ink-3); }
.prompt-hl   { color: var(--ac); }
.prompt-cursor { color: var(--ac); animation: blink 1s step-end infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

.status-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.status-ok   { background: var(--ok); box-shadow: 0 0 0 3px var(--ac-soft); }
.status-warn { background: var(--warn); }
.status-divider { color: var(--line-h); }

/* misc legacy — keep inert, no visual output */
.anim-fade { opacity: 1; transform: none; }
.divider { border: none; border-top: 1px solid var(--line); max-width: var(--max); margin: 0 auto; }
.footer-tagline { font-size: 0.88rem; color: var(--ink-3); max-width: 32ch; line-height: 1.55; }

/* legacy services/stats/proof/partners — if any subpage still renders them */
.stats { padding: 3rem 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-n { font-size: 2rem; font-weight: 500; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat-n span { color: var(--ac); }
.stat-l { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-4); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.5rem; }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-item {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.service-item:hover { border-color: var(--line-h); background: var(--bg-card); }
.service-icon { font-size: 1.3rem; color: var(--ac); display: block; margin-bottom: 0.9rem; line-height: 1; }
.service-item h3 { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.service-item p { font-size: 0.9rem; color: var(--ink-3); line-height: 1.6; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.stag { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-4); border: 1px solid var(--line-s); padding: 0.18rem 0.55rem; border-radius: 100px; }
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

.proof-section { padding: 5rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--bg-inset); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.proof-item { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-raised); transition: border-color 0.2s, transform 0.2s; }
.proof-item:hover { border-color: var(--line-h); transform: translateY(-2px); }
.proof-sector { display: inline-block; font-family: var(--mono); font-size: 0.64rem; color: var(--ac); background: var(--ac-soft); border: 1px solid var(--ac-line); padding: 0.2rem 0.55rem; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.proof-item h4 { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.proof-item p { font-size: 0.88rem; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 720px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .proof-grid { grid-template-columns: 1fr; } }

.partners { padding: 3rem 1.5rem; border-top: 1px solid var(--line); background: var(--bg-inset); }
.partner-row { max-width: var(--max); margin: 1rem auto 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; }
.pbadge { font-family: var(--mono); font-size: 0.95rem; color: var(--ink-4); transition: color 0.2s; }
.pbadge:hover { color: var(--ink-2); }

.cta-strip { padding: 5rem 1.5rem; text-align: center; border-bottom: 1px solid var(--line); background: var(--bg-inset); position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 500px 250px at 50% 100%, var(--ac-glow), transparent 70%); pointer-events: none; }
.cta-strip-inner { max-width: 640px; margin: 0 auto; position: relative; }
.cta-strip h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 1rem; }
.cta-strip p { font-size: 1rem; color: var(--ink-3); margin-bottom: 2rem; line-height: 1.6; }
