/* ==========================================================================
   CamberSysLab — Autonomous B2B Payables Audit, Vendor Verification & Treasury Control
   Design system: cool off-white surfaces, 1px hairline borders, Inter + JetBrains Mono
   ========================================================================== */

:root {
  --bg: #f7f9fb;
  --bg-2: #eef2f6;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --panel: #f5f7fa;
  --line: #dde3ea;
  --line-2: #c3ccd7;

  --ink-1: #0b0f14;
  --ink-2: #334155;
  --ink-3: #556270;

  --accent: #1453b8;
  --accent-hover: #0e3f8f;
  --accent-soft: #e8f0fe;
  --accent-ink: #0a2558;
  --accent-dim: rgba(20, 83, 184, 0.08);

  --ok: #0a7a3f;
  --ok-dim: rgba(10, 122, 63, 0.09);
  --warn: #8a5300;
  --warn-dim: rgba(245, 170, 40, 0.16);
  --fail: #b91c1c;
  --fail-dim: rgba(185, 28, 28, 0.09);
  --violet: #5b32b4;
  --violet-dim: rgba(91, 50, 180, 0.09);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --header-h: 64px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 20, 0.04), 0 4px 12px rgba(11, 15, 20, 0.03);
  --shadow-md: 0 8px 28px rgba(11, 15, 20, 0.06), 0 1px 3px rgba(11, 15, 20, 0.04);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-1);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
}

.mono {
  font-family: var(--mono);
}

.text-muted {
  color: var(--ink-3);
}

.text-accent {
  color: var(--accent);
}

.text-ok {
  color: var(--ok);
}

.text-fail {
  color: var(--fail);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  flex-shrink: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1e293b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover, .nav-trigger:hover, .nav-link.active {
  color: var(--ink-1);
  background: var(--surface-2);
}

.nav-trigger svg {
  transition: transform 0.15s ease;
}

.nav-item[data-open="true"] .nav-trigger svg {
  transform: rotate(180deg);
}

/* Mega-Menu */
.mega-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 24px 0 28px;
  display: none;
  z-index: 55;
}

.mega-menu.open {
  display: block;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mega-col-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.mega-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mega-link:hover {
  background: var(--bg);
  border-color: var(--line);
}

.mega-link strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-1);
}

.mega-link span {
  font-size: 0.8rem;
  color: var(--ink-3);
  line-height: 1.45;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 58;
  padding: 20px 24px 32px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 550;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 12px 20px;
  font-size: 0.925rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-dark {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.btn-dark:hover {
  background: #1e293b;
}

.btn-outline {
  background: var(--surface);
  color: var(--ink-1);
  border-color: var(--line-2);
}

.btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--ink-3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--ink-1);
}

/* Section Layout */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.section-alt {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-compact {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(20, 83, 184, 0.18);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.65;
}

/* Hero Section */
.hero {
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to right, rgba(221, 227, 234, 0.35) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(to bottom, rgba(221, 227, 234, 0.35) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* Hero Monitor Panel */
.monitor-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 1px solid #1e293b;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.monitor-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.monitor-badge {
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(96, 165, 250, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.3);
  font-size: 0.68rem;
}

.monitor-body {
  padding: 16px;
}

.tx-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 176px;
}

.tx-row {
  display: grid;
  grid-template-columns: 82px 1fr 84px 72px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.tx-id {
  color: var(--ink-1);
  font-weight: 600;
}

.tx-vendor {
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-amt {
  text-align: right;
  color: var(--ink-1);
  font-weight: 500;
}

.tx-status {
  text-align: center;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 600;
}

.status-clear {
  background: var(--ok-dim);
  color: var(--ok);
}

.status-hold {
  background: var(--fail-dim);
  color: var(--fail);
}

.status-review {
  background: var(--warn-dim);
  color: var(--warn);
}

.monitor-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.metric-box {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.metric-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.metric-val {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-1);
}

.pareto-box {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 12px;
}

.pareto-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.pareto-row {
  display: grid;
  grid-template-columns: 150px 1fr 42px;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  margin-bottom: 6px;
}

.pareto-track {
  height: 7px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
  border: 1px solid var(--line);
}

.pareto-fill {
  height: 100%;
  background: var(--accent);
}

.monitor-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.section-alt .card {
  background: var(--bg);
}

/* Corner-bracket technical card */
.bracket-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.section-alt .bracket-card {
  background: var(--bg);
}

.bracket-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.bracket-card::before,
.bracket-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
}

.bracket-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 4px;
}

.bracket-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom-right-radius: 4px;
}

.icon-box {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-dim);
  border: 1px solid rgba(20, 83, 184, 0.2);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-title {
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.935rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.card-meta-list {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.card-meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-meta-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-beta {
  background: var(--ok-dim);
  color: var(--ok);
  border: 1px solid rgba(10, 122, 63, 0.2);
}

.badge-dev {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(20, 83, 184, 0.2);
}

.badge-eval {
  background: var(--warn-dim);
  color: var(--warn);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.badge-planned {
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid rgba(91, 50, 180, 0.2);
}

.module-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

/* Architecture Pipeline Strip */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pipeline-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-alt .pipeline-step {
  background: var(--bg);
}

.pipeline-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
}

.pipeline-code {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

th {
  background: var(--surface-2);
  color: var(--ink-1);
  font-weight: 600;
  font-size: 0.8rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 0;
}

.col-highlight {
  background: rgba(20, 83, 184, 0.035);
  color: var(--ink-1);
  font-weight: 500;
}

/* Code / Infrastructure Blocks */
.code-panel {
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #1e293b;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #131c31;
  border-bottom: 1px solid #1e293b;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #94a3b8;
}

.code-body {
  margin: 0;
  padding: 18px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.65;
  overflow-x: auto;
  color: #e2e8f0;
}

.code-copy {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  cursor: pointer;
}

.code-copy:hover {
  background: #334155;
  color: #ffffff;
}

/* Interactive ROI & Demo Controls */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.range-group {
  margin-bottom: 18px;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-1);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.result-tile {
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.result-tile-val {
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-1);
  margin: 6px 0 2px;
}

/* Tabs */
.tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 550;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--surface);
  color: var(--ink-1);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--ink-1);
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq-item[data-open="true"] .faq-a {
  display: block;
}

.faq-item[data-open="true"] .faq-q svg {
  transform: rotate(180deg);
}

/* Integrations pill bar */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-1);
}

.section-alt .tech-pill {
  background: var(--bg);
}

.tech-pill span.mono {
  font-size: 0.72rem;
  color: var(--ink-3);
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-1);
}

.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 0.92rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(20, 83, 184, 0.2);
  border-color: var(--accent);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.price-figure {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-1);
  margin: 12px 0 4px;
}

/* Footer */
.site-footer {
  background: var(--bg);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links,
  .header-actions .btn-ghost {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .grid-3,
  .grid-2,
  .mega-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section,
  .section-alt {
    padding: 58px 0;
  }

  .pipeline-grid,
  .grid-4,
  .form-grid,
  .result-grid,
  .footer-grid,
  .monitor-metrics {
    grid-template-columns: 1fr;
  }

  .tx-row {
    grid-template-columns: 74px 1fr 68px;
  }

  .tx-amt {
    display: none;
  }
}
