:root {
  --bg: #0A0907;
  --bg-elev: #14110D;
  --bg-card: #1C1814;
  --bg-card-hover: #252019;
  --border: rgba(232, 226, 213, 0.08);
  --border-bright: rgba(232, 226, 213, 0.16);
  --text: #E8E2D5;
  --text-dim: #B5AC9C;
  --text-faint: #7A7163;
  --accent: #A8C0A2;
  --accent-dim: #5E7858;
  --accent-glow: rgba(168, 192, 162, 0.15);
  --warn: #C97A4A;
  --hot: #D89060;
  --info: #7E9B7A;
  --grid: rgba(232, 226, 213, 0.05);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background-color: #0A0907;
  color-scheme: dark;
}
body {
  background-color: #0A0907;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 0;
  position: relative;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(circle at 18% 8%, rgba(201, 122, 74, 0.40), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(216, 144, 96, 0.22), transparent 38%),
    radial-gradient(circle at 82% 92%, rgba(126, 155, 122, 0.34), transparent 44%),
    radial-gradient(circle at 8% 80%, rgba(94, 120, 88, 0.26), transparent 40%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: ambientDrift 24s ease-in-out infinite;
}
@keyframes ambientDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, -2%) scale(1.06); }
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

::selection { background: var(--accent); color: var(--bg); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
@media (max-width: 640px) { .container { padding: 0 20px; } }
.container.narrow { max-width: 960px; }

/* === NAV === */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(10, 9, 7, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  color: var(--accent);
}
.logo .blink {
  color: var(--accent);
  animation: blink 1.2s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent); color: var(--bg) !important; }
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 16px 20px; }
}

/* === HERO === */
.hero { padding: 88px 0 80px; position: relative; }
@media (max-width: 768px) { .hero { padding: 56px 0 56px; } }

.terminal-line {
  font-family: var(--mono);
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.terminal-line .prompt { color: var(--accent); }
.terminal-line .cmd { color: var(--text); }
.terminal-line .cur {
  width: 8px; height: 14px;
  background: var(--accent);
  display: inline-block;
  animation: blink 1s steps(2) infinite;
}
.terminal-line .ok {
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 1px 8px;
  font-size: 11px;
}
h1.hero-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
h1.hero-title .acc { color: var(--accent); }
h1.hero-title .strike {
  text-decoration: line-through;
  text-decoration-color: var(--hot);
  text-decoration-thickness: 4px;
  color: var(--text-faint);
}
.hero-sub {
  font-size: 19px;
  max-width: 640px;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.btn-primary:hover {
  background: var(--text);
  box-shadow: 0 6px 20px rgba(168, 192, 162, 0.18);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-meta {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === STATS === */
.stats-section { padding: 24px 0 80px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elev);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stat:last-child { border-right: none; }
@media (max-width: 900px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.stat-value {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-value .unit { color: var(--accent); font-size: 22px; margin-left: 4px; }
.stat-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
}
.stat-spark {
  margin-top: 18px;
  height: 32px;
  width: 100%;
  overflow: visible;
}
.stat-spark path.line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.stat-spark path.area {
  fill: url(#sparkGrad);
  opacity: 0;
}
.stat.in-view .stat-spark path.line {
  animation: drawLine 1.6s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.stat.in-view .stat-spark path.area {
  animation: fadeIn 1.4s 0.6s ease forwards;
}

/* === SECTION HEADER === */
.section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 64px 0; } }
.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '//';
  color: var(--text-faint);
}
.section-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 720px;
}
.section-title .acc { color: var(--accent); }
.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 56px;
}

/* === CAPABILITIES / CARDS === */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 900px) { .caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .caps-grid { grid-template-columns: 1fr; } }
.cap {
  background: var(--bg-elev);
  padding: 28px;
  transition: background 0.2s;
  position: relative;
}
.cap:hover { background: var(--bg-card-hover); }
/* card-as-link */
a.cap { text-decoration: none; color: inherit; display: block; }
a.cap:hover { background: var(--bg-card-hover); }
a.cap:hover .cap-name { color: var(--accent); }
.cap-name { transition: color 0.2s; }
.cap-more {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
a.cap:hover .cap-more { gap: 14px; }
.cap-id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cap-id .tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.cap-id .tag.warn { background: var(--warn); color: var(--bg); }
.cap-id .tag.hot { background: var(--hot); color: var(--bg); }
.cap-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.cap-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.cap-list {
  list-style: none;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
.cap-list li {
  padding: 4px 0;
}
.cap-list li::before {
  content: '› ';
  color: var(--accent);
}

/* === CHART === */
.chart-block {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elev);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
@media (max-width: 900px) { .chart-block { grid-template-columns: 1fr; } }

.chart-main {
  padding: 32px;
  border-right: 1px solid var(--border);
  position: relative;
}
@media (max-width: 900px) {
  .chart-main { border-right: none; border-bottom: 1px solid var(--border); }
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.chart-head .left {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.chart-head .left strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 700;
}
.chart-legend {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend .dot { width: 8px; height: 8px; }
.legend-acc { background: var(--accent); }
.legend-base { background: var(--text-faint); }

#revChart { width: 100%; height: 320px; display: block; }
#revChart .grid-line {
  stroke: var(--border);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
#revChart .axis-text {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--text-faint);
}
#revChart .baseline {
  fill: none;
  stroke: var(--text-faint);
  stroke-width: 1.5;
  stroke-dasharray: 4 4 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 1.6s 0.2s ease;
}
#revChart .ours {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 2.2s 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
#revChart .ours-area {
  fill: url(#chartGrad);
  opacity: 0;
  transition: opacity 1.4s 1.4s ease;
}
.chart-block.in-view #revChart .baseline { stroke-dashoffset: 0; }
.chart-block.in-view #revChart .ours { stroke-dashoffset: 0; }
.chart-block.in-view #revChart .ours-area { opacity: 1; }

.chart-side {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.chart-row {
  border-bottom: 1px dashed var(--border);
  padding-bottom: 18px;
}
.chart-row:last-child { border-bottom: none; padding-bottom: 0; }
.chart-row .k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.chart-row .v {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.chart-row .v .acc { color: var(--accent); }
.chart-row .bar {
  margin-top: 10px;
  height: 3px;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.chart-row .bar div {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 1.6s 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.chart-block.in-view .chart-row .bar div { width: var(--w); }

/* === SPLIT SECTION === */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; } }
.split-card {
  background: var(--bg-elev);
  padding: 48px 40px;
  position: relative;
}
@media (max-width: 600px) { .split-card { padding: 32px 24px; } }
.split-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.split-eyebrow .ascii { color: var(--accent); }
.split-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 31px;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.split-title .acc { color: var(--accent); }
.split-lead {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 460px;
}
.split-list {
  list-style: none;
  margin-bottom: 32px;
}
.split-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px dashed var(--border);
  font-size: 14px;
}
.split-list li:last-child { border-bottom: 1px dashed var(--border); }
.split-list li::before {
  content: '+';
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  flex-shrink: 0;
}
.split-list strong {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
}
.split-list span { color: var(--text-dim); }

/* === HOW === */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  position: relative;
  padding-top: 28px;
}
.how-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.how-step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.how-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.how-title {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.how-text {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

/* === LIVE LOG === */
.log {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev);
  font-family: var(--mono);
  font-size: 13px;
  overflow: hidden;
}
.log-head {
  background: var(--bg);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.log-head .left { display: flex; gap: 16px; }
.log-head .left .active { color: var(--accent); }
.log-head .right { display: flex; align-items: center; gap: 8px; }
.log-head .right::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.log-row {
  display: grid;
  grid-template-columns: 110px 100px 1fr auto;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  transition: background 0.2s;
}
.log-row:last-child { border-bottom: none; }
.log-row:hover { background: var(--bg-card-hover); }
.log-row.active { background: rgba(168, 192, 162, 0.05); }
.log-row .ts { color: var(--text-faint); font-size: 11px; }
.log-row .stage { color: var(--accent); font-size: 11px; font-weight: 700; }
.log-row .desc { color: var(--text); font-size: 13px; }
.log-row .desc small {
  display: block;
  color: var(--text-dim);
  font-size: 11px;
  margin-top: 3px;
  font-family: var(--mono);
}
.log-row .badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  letter-spacing: 0.05em;
}
@media (max-width: 720px) {
  .log-row { grid-template-columns: 1fr auto; gap: 8px; }
  .log-row .ts, .log-row .stage { display: none; }
}

/* === TRUST === */
.trust-bar {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .trust-bar { grid-template-columns: 1fr; gap: 24px; padding: 28px; } }
.trust-item {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}
.trust-item h4 {
  font-family: var(--mono);
  font-size: 14px;
  margin-bottom: 6px;
}
.trust-item p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}

/* === CTA === */
.cta-block {
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(168, 192, 162, 0.06), transparent 60%),
    var(--bg-elev);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) { .cta-block { padding: 44px 24px 36px; } }
.cta-block::before {
  content: '> ready_for_prod.sh';
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
}
.cta-block::after {
  content: '[ live ]';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.cta-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 16px;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.cta-title .acc { color: var(--accent); }
.cta-text {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 32px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px dashed var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
}
.footer-bottom .status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}
.footer-bottom .status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

/* === ANIMATIONS === */
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===================================================================
   SUBPAGE STYLES (service + industry detail pages)
   =================================================================== */

/* breadcrumb */
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-faint); }
.breadcrumb .current { color: var(--accent); }

/* page hero */
.page-hero { padding: 56px 0 64px; position: relative; }
@media (max-width: 768px) { .page-hero { padding: 40px 0 48px; } }
.page-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-eyebrow::before { content: '//'; color: var(--text-faint); }
h1.page-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
}
h1.page-title .acc { color: var(--accent); }
.page-lede {
  font-size: 19px;
  max-width: 660px;
  color: var(--text-dim);
  margin-bottom: 36px;
}
.page-lede strong { color: var(--text); font-weight: 600; }
.page-hero .hero-cta-row { margin-bottom: 8px; }
.page-meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
.page-meta span { display: flex; align-items: center; gap: 8px; }
.page-meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

/* prose / content body */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.prose h3 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.prose p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.prose p strong { color: var(--text); font-weight: 600; }
.prose ul { list-style: none; margin: 8px 0 22px; }
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.prose ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-dim); }
.prose a:hover { border-bottom-color: var(--accent); }

/* faq */
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.faq-item p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
  max-width: 760px;
}

/* related cards (cross-links) */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--bg-elev);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
}
.related-card:hover { background: var(--bg-card-hover); }
.related-card .rc-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.related-card .rc-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.related-card:hover .rc-name { color: var(--accent); }
.related-card .rc-desc {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
}

/* divider rule */
.section.tight { padding: 64px 0; }
@media (max-width: 768px) { .section.tight { padding: 48px 0; } }

/* ===================================================================
   MOBILE STICKY CTA (locked request-briefing button)
   =================================================================== */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 80px; }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 200;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--mono);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--accent);
  }
  .mobile-cta:active { transform: translateY(1px); }
}

/* ===================================================================
   FORMS (request briefing + contact)
   =================================================================== */
.form-wrap { max-width: 780px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A8C0A2' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.form-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.form-success {
  display: none;
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(168, 192, 162, 0.06), transparent 60%),
    var(--bg-elev);
  padding: 44px 36px;
}
.form-success.show { display: block; }
.form-success .ok-mark {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.form-success h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.form-success p { color: var(--text-dim); font-size: 16px; line-height: 1.65; max-width: 520px; }

/* contact methods */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--bg-elev); padding: 28px; }
.contact-card .ck {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.contact-card .cv { font-size: 16px; color: var(--text); }
.contact-card a { color: var(--accent); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* legal long-form */
.legal-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-note {
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px dashed var(--border-bright);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ===================================================================
   HERO KICKER (AI agency eyebrow)
   =================================================================== */
.hero-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ===================================================================
   MARKETS SERVED — scrolling city marquee
   =================================================================== */
.markets-served { padding-top: 80px; padding-bottom: 72px; }
.markets-served .section-sub { margin-bottom: 36px; }
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  /* duration is generous because the track is very long (150+ cities) */
  animation: cityScroll 420s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .city {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color 0.2s;
}
.marquee-track .city:hover { color: var(--accent); }
@keyframes cityScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
