/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Blue palette — deep navy → electric */
  --blue-950: #050B1A;
  --blue-900: #0A1429;
  --blue-800: #0F1E3D;
  --blue-700: #16294F;
  --blue-600: #1E3A8A;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-300: #60A5FA;
  --blue-200: #BFDBFE;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;

  --ink:       #0A1429;
  --ink-2:     #334155;
  --ink-3:     #64748B;
  --ink-4:     #94A3B8;
  --ink-5:     #CBD5E1;
  --line:      #E2E8F0;
  --line-2:    #F1F5F9;
  --paper:     #FFFFFF;
  --paper-2:   #F8FAFC;
  --paper-3:   #F1F5F9;

  --accent:    var(--blue-500);
  --accent-soft: var(--blue-50);

  --sans:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif:     'Instrument Serif', Georgia, serif;

  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --shadow-1:  0 1px 2px rgba(15, 30, 61, 0.04), 0 1px 1px rgba(15, 30, 61, 0.03);
  --shadow-2:  0 4px 12px rgba(15, 30, 61, 0.06), 0 2px 4px rgba(15, 30, 61, 0.04);
  --shadow-3:  0 24px 60px -20px rgba(15, 30, 61, 0.25), 0 12px 24px -12px rgba(15, 30, 61, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 30px;
  width: auto;
  display: block;
}
.brand-logo.dark { display: none; }
footer .brand-logo { height: 34px; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--paper-3); color: var(--ink); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .1s, box-shadow .15s, background .15s, border-color .15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 1px 2px rgba(15, 30, 61, .1), 0 4px 14px -4px rgba(37, 99, 235, .55);
}
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-5); }
.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: var(--blue-900); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

.arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ── Pills / chips ───────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.pill .small {
  background: var(--blue-50);
  color: var(--blue-600);
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  background: var(--paper-3);
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.chip.blue { background: var(--blue-50); color: var(--blue-600); }
.chip.dark { background: var(--blue-900); color: var(--blue-200); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(ellipse at 80% 10%, rgba(96, 165, 250, 0.10), transparent 50%);
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 50% 0;
  mask-image: radial-gradient(ellipse at center top, black 0%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, black 40%, transparent 75%);
  opacity: .55;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.eyebrow .badge {
  background: var(--blue-500);
  color: white;
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1.hero-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 auto;
  max-width: 16ch;
  color: var(--ink);
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
  letter-spacing: -0.01em;
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}
.hero-actions {
  display: inline-flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-3);
  font-size: 13px;
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta::before, .hero-meta::after {
  content: '';
  width: 28px; height: 1px; background: var(--line);
  display: none;
}

/* ── Hero product preview (browser chrome) ───────────────────────── */
.preview {
  position: relative;
  z-index: 1;
  margin: 64px auto 0;
  max-width: 1180px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink-5);
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.browser-url .secure { color: #16A34A; margin-right: 6px; }
.browser-url strong { color: var(--ink); }

/* Mock dashboard inside browser */
.dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 460px;
}
.dash-side {
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-side .grp {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  padding: 14px 10px 6px;
}
.dash-side .item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.dash-side .item.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.dash-side .item .ico {
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--ink-5);
  display: inline-block; flex: none;
}
.dash-side .item.active .ico { background: var(--blue-500); }

.dash-main { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.dash-head {
  display: flex; justify-content: space-between; align-items: center;
}
.dash-head h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.dash-head .sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--paper);
}
.stat-card .label { font-size: 12px; color: var(--ink-3); }
.stat-card .val {
  font-size: 26px; font-weight: 700; letter-spacing: -.02em;
  margin-top: 4px;
  display: flex; align-items: baseline; gap: 6px;
}
.stat-card .val .delta {
  font-size: 11px; font-weight: 600; color: #16A34A;
  background: #DCFCE7;
  padding: 2px 6px; border-radius: 999px;
  font-family: var(--mono);
}
.stat-card .spark {
  margin-top: 10px;
  height: 28px;
  background:
    linear-gradient(180deg, transparent 60%, var(--blue-50)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'><path d='M0 22 L10 18 L20 20 L30 14 L40 16 L50 10 L60 12 L70 6 L80 8 L90 4 L100 2' fill='none' stroke='%232563EB' stroke-width='1.5'/></svg>");
  background-size: 100% 100%;
  border-radius: 4px;
}
.dash-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
.panel-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600;
}
.panel-head .t { color: var(--ink); }
.panel-head .more { color: var(--ink-3); font-weight: 500; font-size: 12px; }

.chart {
  height: 200px;
  background:
    linear-gradient(180deg, rgba(37,99,235,.10), rgba(37,99,235,0) 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'><path d='M0 160 C 30 140, 60 150, 90 130 S 150 100, 180 110 S 240 70, 270 80 S 330 40, 360 50 L 400 30' fill='none' stroke='%232563EB' stroke-width='2.2'/><path d='M0 170 C 30 165, 60 168, 90 158 S 150 145, 180 148 S 240 130, 270 134 S 330 115, 360 120 L 400 105' fill='none' stroke='%2360A5FA' stroke-width='1.6' stroke-dasharray='3 3'/></svg>");
  background-size: 100% 100%;
}

.log-list { padding: 4px 0; }
.log-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  padding: 9px 16px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}
.log-item:last-child { border-bottom: none; }
.log-item .dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px #DCFCE7; }
.log-item.err .dot { background: #DC2626; box-shadow: 0 0 0 3px #FEE2E2; }
.log-item.info .dot { background: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.log-item .name { font-weight: 500; color: var(--ink); }
.log-item .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.log-item .time { color: var(--ink-4); font-family: var(--mono); font-size: 11px; }

/* ── Logo strip ─────────────────────────────────────────────────── */
.logo-strip {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.logo-strip .label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
}
.logo-row span { opacity: .7; transition: opacity .15s; }
.logo-row span:hover { opacity: 1; color: var(--ink); }

/* ── Section headers ─────────────────────────────────────────────── */
section.block { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 48px;
  max-width: 720px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-500);
  font-weight: 500;
}
.kicker::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
}
.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
}
.section-lede {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

/* ── Services grid ───────────────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.svc {
  grid-column: span 2;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.svc:hover { border-color: var(--blue-300); box-shadow: var(--shadow-2); }
.svc.feature {
  grid-column: span 4;
  grid-row: span 2;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(96,165,250,.18), transparent 50%),
    var(--blue-950);
  color: white;
  border-color: var(--blue-800);
}
.svc.feature .svc-title { color: white; }
.svc.feature .svc-body { color: var(--blue-200); }
.svc.feature .svc-tag { background: rgba(96,165,250,.15); color: var(--blue-200); }
.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.svc-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 500;
}
.svc-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.svc:hover .svc-arrow {
  background: var(--blue-500); color: white; border-color: var(--blue-500);
  transform: rotate(-45deg);
}
.svc.feature .svc-arrow { border-color: rgba(255,255,255,.2); color: var(--blue-200); }
.svc.feature:hover .svc-arrow { background: var(--blue-500); color: white; border-color: var(--blue-500); }
.svc-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.svc.feature .svc-title { font-size: 36px; line-height: 1.05; }
.svc-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.svc-mock {
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-200);
  line-height: 1.7;
}
.svc-mock .k { color: #93C5FD; }
.svc-mock .s { color: #A7F3D0; }
.svc-mock .c { color: #64748B; }

/* ── Why us — feature blocks ─────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.why-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 32px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
.why-card .num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--blue-100);
}
.why-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.why-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── Stats band ─────────────────────────────────────────────────── */
.stats-band {
  background: var(--blue-950);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.stats-band .container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-big {
  padding: 0 28px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.stat-big:first-child { border-left: none; padding-left: 0; }
.stat-big .v {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff, #93C5FD);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-big .l {
  margin-top: 14px;
  color: var(--blue-200);
  font-size: 14px;
  line-height: 1.5;
}

/* ── Process ─────────────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.step {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-500);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.step-num::before {
  content: ''; width: 8px; height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--blue-100);
}
.step h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.step::after {
  content: '';
  position: absolute; right: -7px; top: 56px;
  width: 12px; height: 12px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
  background: var(--paper);
  z-index: 1;
}
.step:last-child::after { display: none; }

/* ── CTA section ─────────────────────────────────────────────────── */
.cta {
  margin: 96px auto;
  max-width: 1216px;
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(96,165,250,.25), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(37,99,235,.4), transparent 60%),
    var(--blue-950);
  color: white;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--blue-800);
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 auto;
  max-width: 18ch;
}
.cta h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-300);
}
.cta p {
  color: var(--blue-200);
  margin: 20px auto 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.55;
}
.cta-actions {
  margin-top: 32px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-fine {
  margin-top: 20px;
  color: var(--blue-300);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
  padding: 64px 0 40px;
  background: var(--paper-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.foot-grid h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 16px;
  font-weight: 600;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid li a { color: var(--ink-2); font-size: 14px; }
.foot-grid li a:hover { color: var(--blue-600); }
.foot-brand { max-width: 320px; }
.foot-brand p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 16px 0 0; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  h1.hero-title { font-size: clamp(40px, 9vw, 60px); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc.feature { grid-column: span 2; grid-row: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-big { padding: 0 20px; }
  .stat-big:nth-child(odd) { border-left: none; padding-left: 0; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .step::after { display: none; }
  .dash { grid-template-columns: 1fr; min-height: auto; }
  .dash-side { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ── Active nav state ──────────────────────────────────────────────── */
.nav-links a.nav-active { background: var(--paper-3); color: var(--ink); }
.foot-mono { font-family: var(--mono); font-size: 12px; }

/* ── Hamburger — HIDDEN on desktop ────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ── Mobile drawer ─────────────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 41, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--paper);
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: -12px 0 40px rgba(10,20,41,.15);
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-drawer.open .mobile-drawer-inner {
  transform: translateX(0);
}
.mobile-drawer-inner ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-drawer-inner ul a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.mobile-drawer-inner ul a:hover,
.mobile-drawer-inner ul a.nav-active {
  background: var(--paper-3);
  color: var(--ink);
}
.mobile-drawer-inner .btn {
  width: 100%;
  justify-content: center;
}

/* ── ≤ 980px — tablet / mobile ─────────────────────────────────────── */
@media (max-width: 980px) {
  /* Hide desktop links, show burger */
  .nav-links  { display: none !important; }
  .nav-cta    { display: none !important; }
  .nav-burger { display: flex !important; }

  h1.hero-title { font-size: clamp(40px, 9vw, 60px); }
  .section-title { font-size: 36px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc.feature { grid-column: span 2; grid-row: auto; }
  .svc.feature .svc-title { font-size: 26px; }

  .why-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-big { padding: 0 20px; }
  .stat-big:nth-child(odd) { border-left: none; padding-left: 0; }

  .process { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .step::after { display: none; }

  .dash { grid-template-columns: 1fr; min-height: auto; }
  .dash-side { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cta { padding: 56px 28px; }
}

/* ── ≤ 600px — small phones ────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 64px 0 40px; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-meta { flex-direction: column; gap: 8px; }
  .hero-meta span[style] { display: none; }

  .preview { margin-top: 40px; }

  .stat-big .v { font-size: 44px; }

  .services { grid-template-columns: 1fr; }
  .svc, .svc.feature { grid-column: span 1; }

  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }

  section.block { padding: 64px 0; }

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

  .cta h2 { font-size: clamp(28px, 8vw, 40px); }
  .cta { padding: 48px 20px; }
}
