:root {
  --bg: #0f0a26;
  --bg-2: #140e30;
  --card: #1a1340;
  --card-2: #21184f;
  --line: rgba(238, 240, 247, 0.1);
  --line-2: rgba(238, 240, 247, 0.18);
  --text: #eef0f7;
  --muted: #a7a3c6;
  --accent: #1ab8c0;
  --amber: #dcb54e;
  --red: #e57a6e;
  --max: 1200px;
  --radius: 18px;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #7fdde0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #0b0820; }
.btn-primary:hover { background: #6fd8dc; color: #0b0820; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(15, 10, 38, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 40px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .btn { padding: 10px 20px; font-size: 0.9rem; color: #0b0820; }
.nav .btn:hover { color: #0b0820; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 230px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% 18%, rgba(26, 184, 192, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(112, 82, 230, 0.20), transparent 60%),
    var(--bg);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(3rem, 7.6vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 12ch;
  margin-bottom: 26px;
}
.hero h1 .serif { font-weight: 400; letter-spacing: -0.02em; color: var(--accent); }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.hero .lede { max-width: 40rem; color: var(--muted); font-size: 1.12rem; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.hero-industries {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-58%);
  text-align: right;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(238, 240, 247, 0.14);
  z-index: 1;
  pointer-events: none;
}
.hero-industries span { display: block; transition: color .7s ease; }
.hero-industries span.on { color: var(--text); }

.currents { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.currents path {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 220 900;
  animation: flow 14s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -1120; } }

.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 220px; z-index: 1; pointer-events: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--accent), transparent);
  animation: cue 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* Stats */
.stats { border-bottom: 1px solid var(--line); background: var(--bg); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(3rem, 5.4vw, 4.6rem); line-height: 1; margin-bottom: 14px; }
.stat .num small { font-size: 0.45em; color: var(--accent); margin-left: 4px; }
.stat p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.stat p strong { color: var(--text); font-weight: 600; }

/* Sections */
.section { padding: 130px 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 36rem; }

/* Capabilities */
.caps { border-top: 1px solid var(--line); }
.cap {
  display: grid;
  grid-template-columns: 90px 1fr 1.25fr;
  gap: 32px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
}
.cap::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--accent); transition: width .6s ease; }
.cap:hover::before { width: 100%; }
.cap .idx { font-family: var(--mono); color: var(--accent); font-size: 0.85rem; padding-top: 8px; }
.cap h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; letter-spacing: -0.025em; }
.cap p { color: var(--muted); margin: 0; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition: border-color .3s ease, transform .3s ease;
}
.industry:hover { border-color: rgba(26, 184, 192, 0.4); transform: translateY(-4px); }
.industry .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 36px; display: block; }
.industry h3 { font-size: 1.6rem; }
.industry ul { list-style: none; margin: 18px 0 0; padding: 0; }
.industry li { color: var(--muted); font-size: 0.95rem; padding: 10px 0; border-top: 1px solid var(--line); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; list-style: none; margin: 0; padding: 0; }
.process::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(26, 184, 192, 0.12)); }
.step .dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg-2);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 0 0 8px var(--bg-2), 0 0 30px rgba(26, 184, 192, 0.25);
}
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* Work */
.work { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--card); }
.case:nth-child(even) .case-body { order: 2; }
.case-body { padding: 52px; display: flex; flex-direction: column; }
.case-body h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.035em; margin-bottom: 10px; }
.case-body .sub { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin-bottom: 18px; line-height: 1.3; }
.case-body p { color: var(--muted); }
.case-body .link { margin-top: auto; padding-top: 18px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-self: flex-start; }
.case-body .link .arrow { transition: transform .2s ease; }
.case-body .link:hover .arrow { transform: translateX(4px); }
.status {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(26, 184, 192, 0.35);
  color: var(--accent);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.status.dev { color: var(--amber); border-color: rgba(220, 181, 78, 0.4); }

.case-visual {
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: radial-gradient(500px 300px at 70% 20%, rgba(26, 184, 192, 0.14), transparent 70%), linear-gradient(160deg, #1c1446, #110b2c);
  border-left: 1px solid var(--line);
}
.case:nth-child(even) .case-visual { border-left: 0; border-right: 1px solid var(--line); }
.case-visual.amber { background: radial-gradient(500px 300px at 30% 20%, rgba(112, 82, 230, 0.22), transparent 70%), linear-gradient(160deg, #24184f, #130d30); }
.case-visual.violet { background: radial-gradient(500px 300px at 70% 30%, rgba(137, 132, 230, 0.16), transparent 70%), linear-gradient(160deg, #161726, #0e0f18); }

/* Mock UI */
.mock {
  width: 100%;
  max-width: 470px;
  background: #0d0922;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2e2752; display: block; }
.mock-bar span { margin-left: 10px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.mock-body { padding: 16px; }
.mock-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.mock-title b { font-family: var(--display); font-size: 0.95rem; font-weight: 600; }
.mock-title small { font-family: var(--mono); color: var(--muted); font-size: 0.66rem; }
.diff { width: 100%; border-collapse: collapse; }
.diff th { text-align: left; font-family: var(--mono); font-size: 0.62rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 8px; }
.diff td { padding: 9px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
.diff td.old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(167, 163, 198, 0.5); }
.cite { font-family: var(--mono); font-size: 0.62rem; color: var(--accent); border: 1px solid rgba(26, 184, 192, 0.3); border-radius: 5px; padding: 2px 5px; white-space: nowrap; }
.sev { font-family: var(--mono); font-size: 0.6rem; padding: 2px 6px; border-radius: 5px; font-weight: 500; white-space: nowrap; }
.sev.hi { background: rgba(229, 122, 110, 0.14); color: var(--red); }
.sev.md { background: rgba(220, 181, 78, 0.14); color: var(--amber); }
.sev.lo { background: rgba(26, 184, 192, 0.12); color: var(--accent); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline .pip { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--amber); }
.timeline .pip.done { background: var(--amber); }
.timeline b { font-weight: 500; display: block; }
.timeline small { color: var(--muted); font-size: 0.72rem; }
.timeline .when { font-family: var(--mono); font-size: 0.68rem; color: var(--amber); text-align: right; }
.checks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.checks span { font-family: var(--mono); font-size: 0.62rem; color: var(--accent); background: rgba(26, 184, 192, 0.1); border-radius: 5px; padding: 3px 7px; }

.chat { display: grid; gap: 12px; }
.chat .cmd { font-family: var(--mono); font-size: 0.75rem; color: #b9b5f5; background: rgba(137, 132, 230, 0.12); border-radius: 8px; padding: 8px 10px; }
.chat .bot { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.chat .avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #8984e6, #1ab8c0); }
.chat .bot b { font-weight: 600; font-size: 0.8rem; }
.chat .bot b small { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 0.68rem; }
.chat .tldr { margin-top: 6px; border-left: 3px solid #8984e6; background: rgba(255, 255, 255, 0.03); border-radius: 0 8px 8px 0; padding: 10px 12px; }
.chat .tldr strong { font-family: var(--mono); font-size: 0.66rem; letter-spacing: .1em; color: #b9b5f5; display: block; margin-bottom: 6px; }
.chat .tldr ul { margin: 0; padding-left: 16px; color: #d4d2e6; }
.chat .tldr li { margin-bottom: 4px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  position: sticky;
  top: 120px;
}
.quote::before { content: "\201C"; display: block; color: var(--accent); font-size: 1.6em; line-height: .6; margin-bottom: 10px; }
.quote cite { display: block; font-family: var(--mono); font-style: normal; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 26px; }
.about-body h2 { font-size: clamp(2rem, 4vw, 3rem); }
.about-body p { color: var(--muted); font-size: 1.06rem; }
.about-body p.lead { color: var(--text); font-size: 1.2rem; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.creds span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .06em; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; }

/* CTA */
.cta {
  padding: 150px 0 130px;
  text-align: center;
  background: radial-gradient(700px 360px at 50% 100%, rgba(26, 184, 192, 0.16), transparent 70%), var(--bg);
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.045em; line-height: 0.98; max-width: 14ch; margin: 0 auto 26px; }
.cta h2 .serif { color: var(--accent); font-weight: 400; }
.cta > .wrap > p { color: var(--muted); font-size: 1.1rem; }
.cta .btn { margin-top: 18px; font-size: 1.05rem; padding: 18px 32px; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1.1fr 1fr; max-width: 980px; margin: 70px auto 0; border-top: 1px solid var(--line); text-align: left; }
.contact-grid div { padding: 26px 24px 0; border-left: 1px solid var(--line); }
.contact-grid div:first-child { border-left: 0; }
.contact-grid dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-grid dd { margin: 0; font-weight: 500; overflow-wrap: break-word; }
.contact-grid a { color: var(--text); text-decoration: none; }
.contact-grid a:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.foot-grid img { height: 44px; width: auto; margin-bottom: 18px; display: block; }
.foot-grid p { max-width: 22rem; }
.foot-grid h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin: 6px 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; }
.foot-bottom nav { display: flex; gap: 22px; }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 160px 0 110px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.04em; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; letter-spacing: -0.02em; }
.legal p { color: var(--muted); }
.legal .updated { font-family: var(--mono); font-size: 0.78rem; letter-spacing: .08em; }

/* Hero entrance */
.rise { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; }
.rise.d2 { animation-delay: .18s; }
.rise.d3 { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .currents path, .scroll-cue::after, .rise { animation: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-industries { display: none; }
  .industries { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-body { order: 0; }
  .case-visual, .case:nth-child(even) .case-visual { border: 0; border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .quote { position: static; }
}
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process::before { display: none; }
  .cap { grid-template-columns: 60px 1fr; }
  .cap p { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 34px; }
  .site-header .wrap { height: 66px; }
  .nav .btn { padding: 9px 16px; font-size: 0.85rem; }
  .hero { padding: 120px 0 170px; }
  .ridge { height: 150px; }
  .section { padding: 90px 0; }
  .stat { padding: 30px 14px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .process { grid-template-columns: 1fr; }
  .cap { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .cap p { grid-column: auto; }
  .industry { padding: 26px; }
  .case-body { padding: 30px 22px; }
  .case-visual { padding: 22px 14px; min-height: 0; }
  .mock { font-size: 0.74rem; }
  .diff th:nth-child(4), .diff td:nth-child(4) { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid div { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .contact-grid div:first-child { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta { padding: 110px 0 90px; }
  .scroll-cue { display: none; }
}

/* Keep eyebrows consistent inside sections that restyle their paragraphs */
.wrap p.eyebrow { color: var(--accent); font-size: 0.78rem; margin: 0 0 22px; max-width: none; }

/* Firm-level stats (words instead of numbers) */
.stats .wrap { grid-template-columns: repeat(3, 1fr); }
.stat .num.word { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; }
.stat:nth-child(3) { border-left: 1px solid var(--line); padding-left: 28px; }
.stat:nth-child(n+3) { border-top: 0; }
.contact-grid { grid-template-columns: 1fr 1fr; max-width: 680px; }
@media (max-width: 900px) {
  .stats .wrap { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(3) { border-left: 0; padding: 30px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  padding: 84px 0;
  background:
    radial-gradient(600px 260px at 85% 50%, rgba(26, 184, 192, 0.16), transparent 70%),
    linear-gradient(90deg, #1a1240, #120c2e);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; margin-bottom: 12px; }
.cta-band h2 .serif { color: var(--accent); }
.cta-band p { color: var(--muted); max-width: 38rem; margin: 0; }
.cta-band .btn { flex: none; font-size: 1.02rem; padding: 16px 30px; }

.section-link { margin: 56px 0 0; }
.section-link a { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.section-link a .arrow { transition: transform .2s ease; }
.section-link a:hover .arrow { transform: translateX(4px); }

.proof { list-style: none; margin: 4px 0 8px; padding: 0; }
.proof li { color: var(--text); font-size: 0.95rem; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; }
.proof li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }

.contact-note { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); margin-top: 44px; }
.muted-note { color: #7a759e; font-size: 0.85em; }

.product-line { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: -8px 0 10px; }

/* hero glows: teal and purple */
.hero { background:
    radial-gradient(1200px 600px at 78% 18%, rgba(26, 184, 192, 0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(112, 82, 230, 0.22), transparent 60%),
    var(--bg); }

/* no tree line: give the hero back the space it used */
.hero { padding-bottom: 150px; }
@media (max-width: 760px) { .hero { padding-bottom: 110px; } }

/* industry cards carry one sentence instead of a list */
.industry p { color: var(--muted); font-size: 0.97rem; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* Stego Apps note under the case studies */
.studio { margin: 40px 0 0; color: var(--muted); max-width: 70ch; }
.studio b { color: var(--text); font-weight: 600; }
.studio a { color: var(--accent); font-weight: 600; text-decoration: none; }
.studio a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* keep the long email button inside narrow phones */
.cta .btn { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 400px) { .cta .btn { font-size: 0.86rem; padding: 14px 18px; } }
