/* =========================================================
   ProfitOS Technologies — "Mission Control" design system
   ========================================================= */

:root {
  /* Palette — near-black canvas with emerald → lime data glow */
  --bg: #05080a;
  --bg-2: #070d0c;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(190, 242, 100, 0.10);
  --border-soft: rgba(255, 255, 255, 0.08);

  --emerald: #34d399;
  --emerald-deep: #10b981;
  --lime: #bef264;
  --lime-bright: #d9f99d;
  --teal: #2dd4bf;

  --text: #e9f1ec;
  --text-muted: #94a39a;
  --text-dim: #62716a;

  --glow: 0 0 0 1px rgba(190, 242, 100, 0.10), 0 18px 60px -20px rgba(52, 211, 153, 0.45);
  --grad: linear-gradient(105deg, var(--emerald) 0%, var(--lime) 100%);
  --grad-text: linear-gradient(100deg, #eafff2 0%, var(--emerald) 55%, var(--lime) 100%);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(190, 242, 100, 0.28); color: #fff; }

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

/* =========================================================
   Atmospheric background
   ========================================================= */
.bg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(190, 242, 100, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 242, 100, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%);
}
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.aurora--1 { width: 620px; height: 620px; top: -260px; left: -120px; background: radial-gradient(circle, rgba(52,211,153,0.55), transparent 65%); animation: drift1 22s var(--ease) infinite alternate; }
.aurora--2 { width: 520px; height: 520px; top: 8%; right: -180px; background: radial-gradient(circle, rgba(190,242,100,0.40), transparent 65%); animation: drift2 26s var(--ease) infinite alternate; }
.aurora--3 { width: 560px; height: 560px; bottom: -240px; left: 38%; background: radial-gradient(circle, rgba(45,212,191,0.30), transparent 65%); animation: drift3 30s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-90px, 120px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(60px, -90px) scale(1.2); } }
.bg-noise {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; position: relative;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn svg { transition: transform .28s var(--ease); }
.btn--primary {
  background: var(--grad); color: #04130b; font-weight: 700;
  box-shadow: 0 10px 34px -10px rgba(52, 211, 153, 0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(52, 211, 153, 0.8), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-soft); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(190,242,100,0.4); background: var(--surface-2); }
.btn--lg { --pad-y: 16px; --pad-x: 28px; font-size: 16px; }
.btn--sm { --pad-y: 9px; --pad-x: 16px; font-size: 14px; }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 8, 10, 0.55); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; opacity: 0; transition: opacity .3s ease, border-color .3s ease;
}
.site-header.scrolled::before { opacity: 1; border-bottom-color: var(--border-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(52,211,153,0.4)); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: -0.02em; display: flex; flex-direction: column; }
.brand-sub { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); margin-top: 2px; }

.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; color: var(--text-muted); font-weight: 500; position: relative; transition: color .25s ease; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transition: width .3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 14px 24px 22px; }
.mobile-nav a:not(.btn) { padding: 12px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--border-soft); }
.mobile-nav .btn { margin-top: 12px; }

/* =========================================================
   Shared section + typography
   ========================================================= */
.section { padding: 100px 0; position: relative; }
section[id], .site-footer[id] { scroll-margin-top: 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald);
  margin-bottom: 22px;
}
.eyebrow--center { justify-content: center; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.04;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.section-lede { color: var(--text-muted); font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem); max-width: 640px; }
.section-head:not(.section-head--left) .section-lede { margin-inline: auto; }
.section-head .btn { margin-top: 30px; }
.section-cta { text-align: center; margin-top: 56px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 60px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.hero-title { font-family: var(--font-display); font-weight: 800; line-height: 0.92; letter-spacing: -0.04em; margin-bottom: 26px; }
.hero-title-line { display: block; font-size: clamp(3rem, 1.6rem + 6.2vw, 6rem); }
.hero-title-accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.34rem); color: var(--text-muted); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--text-dim); font-family: var(--font-mono); }
.hero-trust strong { color: var(--text); font-weight: 600; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }

/* ---- Live dashboard ---- */
.hero-visual { position: relative; }
.dashboard {
  position: relative; background: linear-gradient(160deg, rgba(13,22,19,0.92), rgba(7,12,11,0.92));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.dash-glow { position: absolute; top: -60%; right: -30%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(52,211,153,0.28), transparent 65%); filter: blur(30px); pointer-events: none; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; }
.dash-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.dash-logo { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); box-shadow: 0 0 12px rgba(52,211,153,0.6); }
.muted { color: var(--text-dim); font-weight: 400; }
.dash-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; color: var(--emerald); padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; background: rgba(52,211,153,0.06); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--emerald); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

.dash-metric { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; position: relative; }
.dash-metric-label { font-size: 13px; color: var(--text-dim); font-family: var(--font-mono); margin-bottom: 4px; }
.dash-metric-value { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: -0.03em; }
.dash-delta { display: inline-flex; align-items: center; gap: 5px; color: var(--lime); font-family: var(--font-mono); font-size: 14px; font-weight: 600; }

.dash-chart { position: relative; height: 150px; margin-bottom: 18px; }
.chart-svg { width: 100%; height: 100%; position: relative; z-index: 1; }
.chart-line { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.chart-area { opacity: 0; }
.dashboard.in-view .chart-line { animation: draw 2s var(--ease) forwards; }
.dashboard.in-view .chart-area { animation: fade 1.4s ease forwards .6s; }
.dashboard.in-view .chart-dot { animation: dotmove 2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes dotmove { 0% { opacity: 0; } 60% { opacity: 0; } 100% { opacity: 1; } }
.chart-dot { filter: drop-shadow(0 0 8px var(--lime)); }
.chart-grid-lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid-lines span { height: 1px; background: rgba(255,255,255,0.05); }

.dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-tile { background: rgba(255,255,255,0.025); border: 1px solid var(--border-soft); border-radius: 14px; padding: 12px; }
.tile-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.tile-val { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; margin-bottom: 8px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.spark span { flex: 1; background: var(--emerald); border-radius: 2px; opacity: 0.5; animation: bar 2.6s ease-in-out infinite; }
.spark span:nth-child(1){height:40%;animation-delay:0s} .spark span:nth-child(2){height:65%;animation-delay:.2s} .spark span:nth-child(3){height:50%;animation-delay:.4s} .spark span:nth-child(4){height:80%;animation-delay:.6s} .spark span:nth-child(5){height:60%;animation-delay:.8s} .spark span:nth-child(6){height:90%;animation-delay:1s} .spark span:nth-child(7){height:70%;animation-delay:1.2s}
.spark--alt span { background: var(--lime); }
@keyframes bar { 0%,100% { transform: scaleY(0.7); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 0.85; } }

.dash-log { background: rgba(0,0,0,0.35); border: 1px solid var(--border-soft); border-radius: 12px; padding: 11px 14px; font-family: var(--font-mono); font-size: 12px; overflow: hidden; }
.log-line { display: flex; align-items: center; gap: 9px; white-space: nowrap; animation: logfade .5s ease; }
.log-time { color: var(--text-dim); }
.log-ok { color: #04130b; background: var(--emerald); padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 600; }
.log-warn { color: #1a1400; background: var(--lime); padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 600; }
.log-msg { color: var(--text-muted); }
@keyframes logfade { from { opacity: 0; transform: translateY(4px); } }

.hero-visual-badge {
  position: absolute; top: -14px; left: -14px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #04130b; background: var(--lime); padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 8px 24px -6px rgba(190,242,100,0.7); transform: rotate(-4deg);
}

/* =========================================================
   Logo marquee
   ========================================================= */
.logos { padding: 50px 0 30px; }
.logos-kicker { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 30px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 13px 22px; border: 1px solid var(--border-soft); border-radius: 14px;
  background: var(--surface); color: var(--text-muted); font-family: var(--font-mono); font-weight: 500; font-size: 15px;
  transition: color .3s ease, border-color .3s ease;
}
.logo-chip:hover { color: var(--text); border-color: var(--border); }
.logo-chip svg { color: var(--emerald); opacity: 0.85; }

/* =========================================================
   Stats
   ========================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 32px 26px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s ease;
}
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad); opacity: 0.5; }
.stat-card:hover { transform: translateY(-4px); border-color: var(--border); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; display: flex; align-items: baseline; }
.stat-plus { font-size: 0.55em; -webkit-text-fill-color: var(--lime); }
.stat-plus--lead { margin-right: 2px; }
.stat-label { color: var(--text-muted); font-size: 15px; }

/* =========================================================
   Bento / Feature
   ========================================================= */
.feature-section .section-head { margin-bottom: 50px; }
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: 18px; }
.bento-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--border); background: var(--surface-2); }
.bento-card--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 26px; }
.bento-card--wide:first-child { grid-row: span 1; }
.bento-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(52,211,153,0.1); border: 1px solid var(--border); color: var(--emerald);
  margin-bottom: 18px; flex-shrink: 0;
}
.bento-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 9px; }
.bento-card p { color: var(--text-muted); font-size: 15px; }
.bento-body { flex: 1; }
.bento-visual { flex: 1; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }

.mini-chart { display: flex; align-items: flex-end; gap: 8px; width: 100%; height: 120px; }
.mini-chart span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--emerald), rgba(52,211,153,0.15)); border-radius: 6px 6px 3px 3px; transform-origin: bottom; animation: grow 1s var(--ease) backwards; }
.mini-chart span:nth-child(odd) { background: linear-gradient(180deg, var(--lime), rgba(190,242,100,0.12)); }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } }

.bento-visual--gauge { align-items: center; }
.gauge { position: relative; width: 120px; height: 120px; }
.gauge svg { width: 100%; height: 100%; }
.gauge-arc { stroke-dasharray: 314; stroke-dashoffset: 314; }
.bento-card.in-view .gauge-arc { animation: gauge 1.6s var(--ease) forwards .2s; }
@keyframes gauge { to { stroke-dashoffset: 88; } }
.gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.gauge-label b { font-family: var(--font-display); font-size: 30px; color: var(--text); letter-spacing: -0.03em; }

/* =========================================================
   Integrations
   ========================================================= */
.integ-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.integ-copy .section-title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
.integ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.integ-tile {
  aspect-ratio: 1 / 0.74; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: 18px;
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease; position: relative; overflow: hidden;
}
.integ-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(52,211,153,0.12), transparent 70%); opacity: 0; transition: opacity .35s ease; }
.integ-tile:hover { transform: translateY(-4px); border-color: var(--border); background: var(--surface-2); }
.integ-tile:hover::after { opacity: 1; }
.integ-tile svg { color: var(--emerald); position: relative; z-index: 1; }
.integ-name { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); position: relative; z-index: 1; }

/* =========================================================
   Testimonials
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s ease;
}
.testi-card:hover { transform: translateY(-5px); border-color: var(--border); }
.quote-mark { font-family: var(--font-display); font-size: 80px; line-height: 0.6; color: var(--emerald); opacity: 0.28; margin-bottom: 6px; height: 40px; }
.testi-card blockquote { font-size: 16px; color: var(--text); line-height: 1.6; flex: 1; margin-bottom: 26px; }
.testi-person { display: flex; align-items: center; gap: 13px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #04130b; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.testi-person strong { display: block; font-weight: 600; font-size: 15px; }
.testi-role { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* =========================================================
   Final CTA band
   ========================================================= */
.cta-band { padding-bottom: 110px; }
.cta-inner {
  position: relative; text-align: center; padding: 72px 40px;
  background: linear-gradient(160deg, rgba(13,22,19,0.85), rgba(7,12,11,0.85));
  border: 1px solid var(--border); border-radius: 32px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.cta-glow { position: absolute; bottom: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(52,211,153,0.3), transparent 65%); filter: blur(40px); pointer-events: none; }
.cta-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 16px; position: relative; }
.cta-lede { color: var(--text-muted); font-size: 1.15rem; max-width: 520px; margin: 0 auto 32px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--border-soft); padding: 70px 0 36px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-tagline { color: var(--text-muted); font-size: 15px; }
.footer-email { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 14px; color: var(--emerald); transition: color .25s ease; }
.footer-email:hover { color: var(--lime); }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; color: var(--text-muted); font-size: 15px; padding: 7px 0; transition: color .25s ease, padding-left .25s ease; }
.footer-col a:hover { color: var(--emerald); padding-left: 5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border-soft); }
.footer-bottom p { color: var(--text-dim); font-size: 14px; font-family: var(--font-mono); }
.footer-legal-links { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.footer-legal-links a { color: var(--text-muted); transition: color .25s ease; }
.footer-legal-links a:hover { color: var(--emerald); }
.footer-legal-links span { color: var(--text-dim); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* =========================================================
   Legal pages (terms / privacy)
   ========================================================= */
.legal-hero { padding: 70px 0 30px; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.legal-updated { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-bottom: 110px; align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 14px; }
.legal-toc a { display: block; color: var(--text-muted); font-size: 14px; padding: 6px 0; border-left: 2px solid transparent; padding-left: 12px; transition: color .25s ease, border-color .25s ease; }
.legal-toc a:hover { color: var(--emerald); border-left-color: var(--emerald); }
.legal-content { max-width: 760px; }
.legal-content section { margin-bottom: 40px; scroll-margin-top: 100px; }
.legal-content h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.02em; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; }
.legal-content h2 .num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--emerald); }
.legal-content h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; margin: 22px 0 8px; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 16px; margin-bottom: 12px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--text); }
.legal-note { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; margin-bottom: 40px; font-size: 15px; color: var(--text-muted); }
.legal-note strong { color: var(--lime); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .integ-layout { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .legal-wrap { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
}
@media (max-width: 760px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }            /* show in layout on mobile … */
  .mobile-nav[hidden] { display: none; }    /* … but stay closed until toggled */
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .bento-card--wide .bento-visual { width: 100%; }
  .dash-tiles { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { padding: 50px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 460px) {
  .integ-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area { opacity: 1; }
  .gauge-arc { stroke-dashoffset: 88; }
}
