/* =====================================================================
   ADS Leads Direct — Design System  (theme.css)
   Performance-marketing aesthetic: charcoal + vivid brand green.
   Single source of truth for all pages. Swap one token (--accent) to
   recolor the entire site.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand accent (sampled from logo). Change these to recolor the site. */
  --accent:        #2BD24F;
  --accent-deep:   #16A93B;
  --accent-bright: #5CF07E;
  --accent-glow:   rgba(43, 210, 79, 0.45);
  --accent-soft:   rgba(43, 210, 79, 0.12);

  /* Dark "dashboard" palette */
  --ink:        #0A0F0D;   /* page-dark background */
  --ink-2:      #0E1512;   /* slightly raised dark */
  --panel:      #131C18;   /* dark cards */
  --panel-2:    #18221D;
  --hairline:   rgba(255, 255, 255, 0.10);
  --hairline-2: rgba(255, 255, 255, 0.06);

  /* Light surfaces */
  --bg:        #ffffff;
  --bg-soft:   #f5f8f6;
  --bg-soft-2: #eef3f0;
  --line:      #e6ebe8;

  /* Text */
  --text:        #0d1512;   /* on light */
  --text-muted:  #56635c;
  --text-faint:  #8a958f;
  --on-dark:     #eef3f0;   /* on dark */
  --on-dark-mut: #9fb0a7;

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Shape & motion */
  --radius:    16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(12, 24, 18, 0.06);
  --shadow:    0 18px 45px -22px rgba(12, 24, 18, 0.35);
  --shadow-lg: 0 40px 80px -32px rgba(8, 20, 14, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #06120a; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

/* Eyebrow + heading block */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-deep);
}
.section--dark .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 14px 0 0; }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: 1.08rem; max-width: 640px; }
.section-head.center p { margin-inline: auto; }
.section--dark .section-head p { color: var(--on-dark-mut); }

.gradient-text {
  background: linear-gradient(100deg, var(--accent-bright), var(--accent) 55%, var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; line-height: 1;
  max-width: 100%;
}
.btn i { font-size: 0.92em; }
.btn-primary {
  color: #06120a;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 60%, var(--accent-deep));
  box-shadow: 0 12px 30px -10px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px var(--accent-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-3px); }
.section--dark .btn-ghost, .btn-ghost.on-dark { color: var(--on-dark); border-color: var(--hairline); }
.section--dark .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 11px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-deep);
  transition: gap .25s var(--ease), color .2s;
}
.section--dark .textlink { color: var(--accent); }
.textlink:hover { gap: 13px; }
.textlink i { transition: transform .25s var(--ease); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -16px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 40px; width: 40px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; color: var(--text); }
.wordmark .g { color: var(--accent-deep); }
.site-header.on-dark-header { background: rgba(10,15,13,.7); border-color: var(--hairline); }
.site-header.on-dark-header .wordmark { color: #fff; }
.site-header.on-dark-header .nav-links a { color: var(--on-dark); }
.site-header.on-dark-header .nav-links a:hover { color: var(--accent); background: rgba(43,210,79,.12); }
.site-header.on-dark-header .nav-toggle { background: rgba(255,255,255,.06); border-color: var(--hairline); color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600; font-size: 0.95rem; color: var(--text); padding: 9px 14px; border-radius: 10px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--accent-deep); background: var(--accent-soft); }
.nav-links a.active { color: var(--accent-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; align-items: center; justify-content: center; color: var(--text);
}
.nav-toggle i { font-size: 1.15rem; }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open + .mobile-menu, .mobile-menu.open { display: block; }
  .mobile-menu {
    display: none; position: fixed; inset: 74px 0 0; z-index: 999;
    background: rgba(8,14,11,.98); backdrop-filter: blur(8px); padding: 24px var(--gutter);
    animation: fade .25s var(--ease);
  }
  .mobile-menu a {
    display: block; color: var(--on-dark); font-family: var(--font-display); font-weight: 600;
    font-size: 1.4rem; padding: 16px 0; border-bottom: 1px solid var(--hairline-2);
  }
  .mobile-menu a:hover { color: var(--accent); }
  .mobile-menu a.btn { display: flex; justify-content: center; width: 100%; margin-top: 26px; padding: 16px 28px; font-size: 1.05rem; border-bottom: 0; color: #06120a; }
  .mobile-menu a.btn:hover { color: #06120a; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, #11261a 0%, var(--ink) 55%);
  color: var(--on-dark);
  padding: clamp(70px, 11vw, 130px) 0 clamp(80px, 10vw, 120px);
}
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--hairline-2) 1px, transparent 1px),
                    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(110% 90% at 70% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(110% 90% at 70% 0%, #000 35%, transparent 80%);
  opacity: .6; pointer-events: none;
}
.hero::after { /* glow */
  content: ""; position: absolute; top: -180px; right: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(20px); opacity: .55; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); letter-spacing: -0.03em; margin: 18px 0 0; }
.hero-sub { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-mut); max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
  padding-top: 26px; border-top: 1px solid var(--hairline-2);
}
.trust-row .label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); width: 100%; margin-bottom: 4px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600;
  color: var(--on-dark); padding: 7px 13px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.04); border: 1px solid var(--hairline-2);
}
.trust-pill i { color: var(--accent); font-size: .8rem; }

/* Hero dashboard card */
.hero-panel {
  position: relative; background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg);
}
.hero-panel .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-panel .panel-head .dot-row { display: flex; gap: 6px; }
.hero-panel .panel-head .dot-row span { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline); }
.hero-panel .panel-head .dot-row span:first-child { background: var(--accent); }
.live-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.live-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat {
  background: rgba(255,255,255,.03); border: 1px solid var(--hairline-2); border-radius: 14px; padding: 16px;
}
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.stat .num .suffix { color: var(--accent); }
.stat .lbl { font-size: .8rem; color: var(--on-dark-mut); margin-top: 2px; }
.spark { margin-top: 16px; }
.spark svg { width: 100%; height: 56px; }
.flow-line { stroke-dasharray: 7 9; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -160; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem;
  color: var(--accent-deep); background: var(--accent-soft); margin-bottom: 18px;
}
.card .card-foot { margin-top: 18px; }
.card-list { margin: 16px 0 0; display: grid; gap: 9px; }
.card-list li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: .96rem; }
.card-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px;
  color: var(--accent-deep); font-size: .8rem;
}

/* dark variant cards */
.section--dark .card { background: var(--panel); border-color: var(--hairline); box-shadow: none; }
.section--dark .card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--hairline)); box-shadow: var(--shadow-lg); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p, .section--dark .card-list li { color: var(--on-dark-mut); }
.section--dark .card .icon { color: var(--accent); background: rgba(43,210,79,.14); }

/* feature card top accent line on hover */
.card.accent-top::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card.accent-top:hover::after { transform: scaleX(1); }

/* ---------- Stepper (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 7%; right: 7%; height: 2px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-soft));
}
.step { position: relative; text-align: center; padding-top: 0; }
.step .node {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #06120a;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  box-shadow: 0 0 0 6px var(--bg), 0 10px 24px -10px var(--accent-glow); position: relative; z-index: 2;
}
.section--dark .step .node { box-shadow: 0 0 0 6px var(--ink), 0 10px 24px -8px var(--accent-glow); }
.step h4 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .94rem; }
.section--dark .step p { color: var(--on-dark-mut); }

/* ---------- Directory preview cards ---------- */
.dir-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%;
}
.dir-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dir-card .dir-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.dir-card .dir-logo {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0;
}
.dir-card .dir-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.dir-card .dir-city { font-size: .85rem; color: var(--text-faint); }
.stars { color: #f5a623; font-size: .85rem; letter-spacing: 1px; }
.stars .rating { color: var(--text-muted); margin-left: 6px; font-weight: 600; }
.dir-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft); padding: 4px 9px; border-radius: 6px; margin-bottom: 12px;
}
.dir-actions { display: flex; gap: 10px; margin-top: 16px; }
.dir-actions .btn { flex: 1; }

/* ---------- Industries chips/tiles ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind-tile {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); transition: all .25s var(--ease); font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ind-tile:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.ind-tile i { color: var(--accent-deep); font-size: 1.25rem; width: 28px; text-align: center; }
.section--dark .ind-tile { background: var(--panel); border-color: var(--hairline); color: var(--on-dark); }
.section--dark .ind-tile i { color: var(--accent); }

/* ---------- Who we help ---------- */
.help-card .tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 160% at 0% 0%, #12281b, var(--ink) 60%);
  border: 1px solid var(--hairline); color: var(--on-dark);
  padding: clamp(40px, 6vw, 70px); text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; bottom: -160px; left: 50%; transform: translateX(-50%);
  width: 520px; height: 360px; background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(10px); opacity: .5;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta-band p { color: var(--on-dark-mut); max-width: 600px; margin: 16px auto 0; font-size: 1.08rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(120% 130% at 85% -20%, #11261a, var(--ink) 55%);
  padding: clamp(70px, 10vw, 120px) 0 clamp(56px, 7vw, 84px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--hairline-2) 1px, transparent 1px), linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px);
  background-size: 54px 54px; -webkit-mask-image: radial-gradient(100% 80% at 75% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(100% 80% at 75% 0%, #000 30%, transparent 75%); opacity: .5;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 16px; max-width: 16ch; }
.page-hero p { margin-top: 18px; color: var(--on-dark-mut); font-size: 1.12rem; max-width: 620px; }
.page-hero .hero-actions { margin-top: 30px; }
.breadcrumb { font-size: .85rem; color: var(--on-dark-mut); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Forms ---------- */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--text); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-note { font-size: .82rem; color: var(--text-faint); margin-top: 6px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Info / contact rows ---------- */
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.info-row h4 { font-size: 1rem; margin-bottom: 2px; }
.info-row p { color: var(--text-muted); }

/* ---------- Logos / metric strip ---------- */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.metric .m-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; }
.metric .m-num .suffix { color: var(--accent); }
.metric .m-lbl { color: var(--text-muted); font-size: .95rem; margin-top: 4px; }
.section--dark .metric .m-num { color: #fff; }
.section--dark .metric .m-lbl { color: var(--on-dark-mut); }

/* ---------- Split feature row ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-soft);
  padding: 22px; box-shadow: var(--shadow);
}
.section--dark .media-frame { background: var(--panel); border-color: var(--hairline); }

/* chat bubble mock */
.chat-mock { display: grid; gap: 10px; }
.bubble { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: .92rem; }
.bubble.bot { background: var(--accent-soft); color: var(--text); border-bottom-left-radius: 4px; }
.bubble.me { background: var(--ink); color: var(--on-dark); margin-left: auto; border-bottom-right-radius: 4px; }
.section--dark .bubble.bot { background: rgba(43,210,79,.16); color: var(--on-dark); }
.section--dark .bubble.me { background: var(--accent); color: #06120a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-mut); padding: clamp(56px, 7vw, 80px) 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid var(--hairline-2); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand img { height: 42px; width: 42px; }
.footer-brand .wordmark { color: #fff; font-size: 1.22rem; }
.footer-brand .wordmark .g { color: var(--accent); }
.footer-brand p { max-width: 280px; font-size: .95rem; margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--hairline-2); display: grid; place-items: center; color: var(--on-dark); transition: all .2s; }
.footer-social a:hover { background: var(--accent); color: #06120a; border-color: var(--accent); }
.footer-col h4 { font-family: var(--font-body); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; padding: 6px 0; font-size: .94rem; }
.footer-contact i { color: var(--accent); width: 18px; text-align: center; margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: .85rem; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .metric-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: 2; max-width: 480px; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps::before { display: none; }
  .step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px 16px;
    text-align: left;
    align-items: start;
    width: 100%;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
  }
  .section--soft .step { background: #fff; }
  .section--dark .step { background: var(--panel); border-color: var(--hairline); box-shadow: none; }
  .step .node { margin: 0; grid-row: 1 / span 2; }
  .step h4, .step p { grid-column: 2; min-width: 0; }
  .step p { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn, .dir-actions .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
    padding-inline: 18px;
  }
  .dir-actions { flex-direction: column; }
  .step { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; gap: 10px 14px; }
  .step .node { width: 48px; height: 48px; }
  .ind-tile { padding: 15px 14px; gap: 10px; font-size: .94rem; }
  .info-row { gap: 12px; }
  .info-row p, .footer-contact li { overflow-wrap: anywhere; }
}

@media (max-width: 340px) {
  .container { padding-inline: 14px; }
  .ind-grid { gap: 10px; }
  .ind-tile { flex-direction: column; align-items: flex-start; }
  .btn { white-space: normal; line-height: 1.15; text-align: center; padding-inline: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
