/* Click Kings, performance marketing for iGaming.
   v3, editorial dark, 1px lines, mono numbers, spade marker.
   Theme B (Royal Plum) is the default. */

:root {
  --bg:        #0c0a11;
  --bg-2:      #15121c;
  --bg-3:      #1a1724;
  --line:      #2c2738;
  --line-soft: #221e2e;
  --text:      #efedf3;
  --text-dim:  #b1adc0;
  --text-mute: #7a7689;
  --accent:    #a594dd;
  --accent-2:  #c4b9e8;
  --accent-deep:#5e4f97;
  --accent-glow: rgba(165, 148, 221, .14);
  --accent-edge: rgba(165, 148, 221, .35);
  --green:     #6fbf9e;
  --warn:      #d99a5b;

  --maxw: 1120px;
  --gutter: 28px;
  --radius: 4px;

  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
}

/* ===== Reset / base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
p  { color: var(--text-dim); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1, "lnum" 1; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 22px; height: 1px; background: currentColor;
}

/* ===== Section index (decorative system) ===== */
.sx-index {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.sx-index .sx-num { color: var(--accent); }
.sx-index .sx-rule { flex: 1; height: 1px; background: var(--line-soft); }

/* ===== Spade section marker ===== */
.spade {
  display: inline-block;
  width: 12px; height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  color: var(--accent);
}

/* ===== Logo split-line color per surface ===== */
.brand-logo .logo-split { stroke: var(--bg); }
.section-alt .brand-logo .logo-split,
.site-footer .brand-logo .logo-split,
.panel.solution .brand-logo .logo-split { stroke: var(--bg-2); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .94rem;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #0c0a11;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: .86rem; }

/* Hint badge — small tooltip-style chip */
.hint-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--accent-edge);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(165, 148, 221, .08) 0%, transparent 100%);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  transition: border-color .2s ease, background .2s ease;
}
.hint-badge:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(165, 148, 221, .14) 0%, rgba(165, 148, 221, .02) 100%);
}
.hint-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent);
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 17, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center;
  color: var(--text);
}
.brand .brand-logo {
  height: 28px; width: auto;
  color: var(--text);
}
.brand .brand-logo path,
.brand .brand-logo text { fill: currentColor; }

.brand-name {
  display: none;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: .94rem; color: var(--text-dim);
  font-family: var(--font-mono);
  transition: color .15s ease; position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; color: var(--text);
}
.nav-toggle span {
  display: block; width: 22px; height: 1px; background: currentColor;
  margin: 5px auto; transition: .2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: stretch;
  position: relative;
}
.hero-copy {
  position: relative;
  padding-left: 22px;
}
.hero-copy::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line);
}
.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  letter-spacing: -.025em;
}
.hero h1 .accent { color: var(--accent-2); }
.hero-lead {
  font-size: 1.14rem;
  max-width: 46ch;
  margin-bottom: 34px;
  color: var(--text-dim);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--text-mute);
  max-width: 52ch;
  letter-spacing: .02em;
}
.hero-note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--text-mute);
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  max-width: 44ch;
}

/* hero-side panel: «What we run» channels + «Currently running in» GEO codes */
.hero-side {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(165, 148, 221, .08) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  padding: 26px 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-side > .side-grid { margin-bottom: auto; }
.hero-side::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-edge) 50%, transparent 100%);
}
.hero-side + .hero-side { margin-top: 0; }
.hero-side .side-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-side .side-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-side .side-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  transition: transform .2s ease;
}
.hero-side .side-channel:hover { transform: translateX(2px); }
.hero-side .side-channel:hover .channel-name { color: var(--accent-2); }
.hero-side .side-channel .b-icon {
  width: 22px; height: 22px; flex: none;
  color: var(--accent-2);
}
.hero-side .side-channel .channel-name {
  font-family: var(--font-head);
  font-size: .96rem;
  color: var(--text);
  letter-spacing: -.005em;
}
.hero-side .side-channel .channel-meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-left: auto;
}
.hero-side .side-sub-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  margin-bottom: 10px;
}
.hero-side .side-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 18px;
}
.hero-side .side-cell {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
}
.hero-side .side-code {
  font-family: var(--font-emoji), var(--font-mono);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent-2);
  letter-spacing: 0;
  min-width: 30px;
}
.hero-side .side-name {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .02em;
}
.hero-side .side-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-side .side-foot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 14px;
}
.hero-side .side-foot-stat .v {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.01em;
}
.hero-side .side-foot-stat .l {
  display: block;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}
.hero-side .side-foot-link {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-side .side-foot-link:hover { color: var(--text); }
.hero-side .side-foot-link::after {
  content: "\2192";
  font-size: 1rem;
  line-height: 1;
}

/* Brand icon helper */
.b-icon { display: inline-block; vertical-align: middle; }
.b-icon svg { width: 100%; height: 100%; display: block; }

/* ===== GEO grid section ===== */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.geo-cell {
  padding: 22px 20px;
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 8px;
  transition: background .2s ease;
  background: linear-gradient(180deg, transparent 55%, rgba(165, 148, 221, .04) 100%);
}
.geo-cell:last-child { border-right: 0; }
.geo-cell:hover {
  background: linear-gradient(180deg, var(--accent-glow) 0%, rgba(165, 148, 221, .03) 100%);
}
.geo-cell:hover .geo-code { color: var(--accent-2); }
.geo-cell .geo-code {
  font-family: var(--font-emoji), var(--font-mono);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text);
}
.geo-cell .geo-name {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-dim);
  letter-spacing: .02em;
}
.geo-cell .geo-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

/* ===== Stat strip ===== */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--line-soft);
  transition: background .25s ease;
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat:hover {
  background: linear-gradient(180deg, var(--accent-glow) 0%, transparent 100%);
}
.stat:hover .stat-num { color: var(--accent-2); }
.stat-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.95rem;
  line-height: 1;
  color: var(--text);
  letter-spacing: -.02em;
}
.stat-label {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.04rem; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-divider { border-top: 1px solid var(--line-soft); }

/* ===== Operating model (home) ===== */
.op-model {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.op-cell {
  padding: 28px 22px;
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: background .25s ease, border-color .25s ease;
  background: linear-gradient(180deg, transparent 60%, rgba(165, 148, 221, .03) 100%);
}
.op-cell:last-child { border-right: 0; }
.op-cell:hover {
  background: linear-gradient(180deg, var(--accent-glow) 0%, rgba(165, 148, 221, .02) 100%);
}
.op-cell:hover .op-num { color: var(--accent-2); }
.op-cell .op-num {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--accent);
}
.op-cell h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  letter-spacing: -.005em;
  color: var(--text);
}
.op-cell p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== Who this is for ===== */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.who-cell {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .25s ease;
  background: linear-gradient(180deg, transparent 50%, rgba(165, 148, 221, .03) 100%);
}
.who-cell:hover { background: linear-gradient(180deg, var(--accent-glow) 0%, rgba(165, 148, 221, .02) 100%); }
.who-cell:hover .who-label { color: var(--accent-2); }
.who-cell .who-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.who-cell h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.who-cell p {
  font-size: .92rem;
  color: var(--text-dim);
}

/* ===== Two-column split (problem / solution) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.panel {
  padding: 36px 34px;
  background: transparent;
}
.panel + .panel { border-left: 1px solid var(--line); }
.panel.solution { background: var(--bg-2); }
.panel h3 {
  font-size: 1.18rem;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text);
}
.tick-list li {
  position: relative; padding-left: 22px; margin-bottom: 14px;
  color: var(--text-dim); font-size: .96rem;
}
.tick-list li::before {
  content: "+";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
}
.tick-list.muted li::before {
  content: "−";
  color: var(--text-mute);
}

/* ===== Service editorial list (services page) ===== */
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: 28px;
  padding: 36px 28px;
  margin: 0 -28px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .25s ease;
}
.service-row:hover {
  background: linear-gradient(90deg, var(--accent-glow) 0%, rgba(165, 148, 221, .01) 60%, transparent 100%);
}
.service-row:hover .s-num { color: var(--accent-2); }
.service-row .s-num {
  font-family: var(--font-mono);
  font-size: .9rem;
  letter-spacing: .12em;
  color: var(--accent);
  padding-top: 4px;
}
.service-row .s-head h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
  font-family: var(--font-head);
  letter-spacing: -.01em;
}
.service-row .s-head .s-meta {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 14px;
}
.service-row .s-icons {
  display: flex; gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.service-row .s-icons .b-icon {
  width: 22px; height: 22px;
  color: var(--accent-2);
}
.service-row .s-icons .icon-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex; align-items: center;
  gap: 6px;
}
.service-row .s-body p {
  margin-bottom: 18px;
  font-size: .98rem;
}
.s-aom {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 18px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.s-aom .s-aom-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 2px;
}
.s-aom .s-aom-text {
  font-size: .92rem;
  color: var(--text-dim);
}
.s-aom .s-aom-metric {
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--text);
}

/* ===== Why-us list ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-item {
  display: flex; gap: 18px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background .25s ease;
}
.why-item:hover {
  background: linear-gradient(135deg, var(--accent-glow) 0%, rgba(165, 148, 221, .02) 80%);
}
.why-item:hover .why-mark { color: var(--accent-2); }
.why-mark {
  flex: none;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--accent);
  padding-top: 4px;
}
.why-item h3 { font-size: 1.04rem; margin-bottom: 6px; font-family: var(--font-head); }
.why-item p { font-size: .94rem; }

/* ===== NDA trust block (cases) ===== */
.nda-block {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 28px 30px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.nda-block .nda-label {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.nda-block .nda-body p {
  font-size: .96rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.nda-block .nda-body p:last-child { margin-bottom: 0; }

/* ===== Case registry ===== */
.case-registry {
  border-top: 1px solid var(--line);
}
.case-row {
  display: grid;
  grid-template-columns: 80px 1.6fr 1fr;
  gap: 28px;
  padding: 38px 28px;
  margin: 0 -28px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .25s ease;
}
.case-row:hover {
  background: linear-gradient(90deg, var(--accent-glow) 0%, rgba(165, 148, 221, .01) 60%, transparent 100%);
}
.case-row:hover .c-id { color: var(--accent-2); }
.case-row .c-id {
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--accent);
  padding-top: 4px;
}
.case-row .c-head h3 {
  font-size: 1.32rem;
  font-family: var(--font-head);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.case-row .c-head .c-tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
  display: inline-block;
}
.case-row .c-head p { font-size: .96rem; margin-bottom: 14px; }
.case-row .c-head .c-meta {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 24px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--text-mute);
}
.case-row .c-head .c-meta b {
  font-weight: 500;
  color: var(--text-mute);
  margin-right: 6px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .68rem;
}
.case-row .c-head .c-meta span { color: var(--text-dim); }
.case-row .c-head .c-constraint {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(155, 139, 206, .06);
}
.case-row .c-metrics {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px solid var(--line-soft);
  padding-left: 24px;
}
.c-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.c-metric:last-child { border-bottom: 0; }
.c-metric .m-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mute);
}
.c-metric .m-num {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
}
.c-metric .m-num.up { color: var(--accent-2); }
.c-metric .m-note {
  display: block;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--text-mute);
  margin-top: 2px;
}

/* ===== Cases teaser (index page) ===== */
.case-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.case-teaser {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.case-teaser:last-child { border-right: 0; }
.case-teaser .c-tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.case-teaser h3 { margin: 14px 0 12px; font-family: var(--font-head); font-size: 1.2rem; }
.case-teaser p { font-size: .95rem; margin-bottom: 22px; }
.case-teaser .teaser-metrics {
  display: flex; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.case-teaser .teaser-metrics .m-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--text);
}
.case-teaser .teaser-metrics .m-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}

/* ===== CTA band ===== */
.cta-band {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(165, 148, 221, .12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-edge) 50%, transparent 100%);
}
.cta-band h2 { margin-bottom: 16px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { margin: 0 auto 28px; max-width: 48ch; }

/* ===== Form ===== */
.form-wrap {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px;
  align-items: start;
}
.form-aside h2 { margin-bottom: 18px; font-size: 1.6rem; }
.form-aside p { margin-bottom: 28px; }
.form-aside .contact-line {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--text-dim);
}
.form-aside .contact-line strong {
  color: var(--text-mute);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.form-aside .contact-line span { color: var(--text); }
.form-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: .97rem;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field select { appearance: none; cursor: pointer; }
.form-hp { position: absolute; left: -9999px; }
.form-status {
  display: none; margin-top: 16px; padding: 14px 16px;
  border: 1px solid var(--green);
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--green);
}
.form-status.ok { display: block; }

/* ===== How we start steps (contact) ===== */
.start-steps {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}
.start-step {
  padding: 22px 24px;
  border-right: 1px solid var(--line-soft);
  transition: background .25s ease;
}
.start-step:hover {
  background: linear-gradient(180deg, var(--accent-glow) 0%, transparent 100%);
}
.start-step:hover .step-num { color: var(--accent-2); }
.start-step:last-child { border-right: 0; }
.start-step .step-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 10px;
}
.start-step h4 {
  font-family: var(--font-head);
  text-transform: none;
  letter-spacing: -.005em;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.start-step p {
  font-size: .86rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.start-note {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-mute);
  letter-spacing: .04em;
}

/* ===== Mono chips ===== */
.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.chip {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: rgba(155, 139, 206, .04);
}

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 72px 0 28px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.08rem; max-width: 54ch; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 56px 0 30px;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 48px;
  flex-wrap: wrap; margin-bottom: 40px;
}
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: 16px; color: var(--text); }
.footer-brand .brand-logo { height: 24px; }
.footer-brand p { font-size: .92rem; margin-bottom: 16px; }
.footer-brand .nda-line {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--text-mute);
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block; font-size: .92rem; color: var(--text-dim);
  margin-bottom: 10px; transition: color .15s ease;
  font-family: var(--font-mono);
}
.footer-col a:hover { color: var(--accent-2); }
.footer-col .footer-note {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--text-dim);
  margin-top: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-mute);
  letter-spacing: .04em;
}
.footer-bottom .footer-services {
  letter-spacing: .04em;
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .op-model { grid-template-columns: repeat(3, 1fr); }
  .op-cell:nth-child(3) { border-right: 0; }
  .op-cell:nth-child(1), .op-cell:nth-child(2), .op-cell:nth-child(3) {
    border-bottom: 1px solid var(--line-soft);
  }
}
@media (max-width: 960px) {
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row .s-body { grid-column: 1 / -1; padding-left: 88px; }
  .case-row { grid-template-columns: 60px 1fr; }
  .case-row .c-metrics { grid-column: 1 / -1; padding-left: 88px; border-left: 0; }
  .who-grid { grid-template-columns: 1fr; }
  .nda-block { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 880px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-right .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { padding-left: 16px; }
  .hero-side { padding: 22px 22px 18px; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }
  .geo-grid {
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--line);
  }
  .geo-cell {
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  .geo-cell:nth-child(3n) { border-right: 0; }
  .geo-cell:nth-last-child(-n+3) { border-bottom: 0; }
  .split { grid-template-columns: 1fr; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr; }
  .case-teaser-grid { grid-template-columns: 1fr; }
  .case-teaser { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-teaser:last-child { border-bottom: 0; }
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; }
  .op-model { grid-template-columns: 1fr 1fr; }
  .op-cell { border-bottom: 1px solid var(--line-soft); }
  .op-cell:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .op-cell:nth-child(even) { border-right: 0; }
  .op-cell:last-child { border-bottom: 0; }
  .start-steps { grid-template-columns: 1fr; }
  .start-step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .start-step:last-child { border-bottom: 0; }
  .s-aom { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .s-aom .s-aom-label { padding-top: 0; }
}
@media (max-width: 520px) {
  .geo-grid { grid-template-columns: repeat(2, 1fr); }
  .geo-cell:nth-child(3n) { border-right: 1px solid var(--line-soft); }
  .geo-cell:nth-child(2n) { border-right: 0; }
  .geo-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .geo-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-side .side-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row, .case-row {
    grid-template-columns: 1fr;
  }
  .service-row .s-body, .case-row .c-metrics { padding-left: 0; }
  .op-model { grid-template-columns: 1fr; }
  .op-cell { border-right: 0; }
  .case-row .c-head .c-meta { grid-template-columns: 1fr; }
}
