/* ============================================================================
   FreshFirms — v2 design system & stylesheet
   Funded-startup B2B SaaS. Benchmark: Linear & Mercury.
   Light shell with deep-navy dramatic hero + dark CTA, emerald→teal accents,
   layered depth, glows, gradient borders, a realistic product mockup.
   ============================================================================ */

:root {
  /* ---- ink / neutrals ---------------------------------------------------- */
  --ink:        #0b1220;  /* headings + primary text                         */
  --ink-2:      #41506a;  /* secondary text                                  */
  --muted:      #6b7892;  /* tertiary / meta                                 */

  /* ---- emerald / teal accents -------------------------------------------- */
  --accent:     #0f9d6b;  /* fresh emerald                                   */
  --accent-d:   #0a7d54;  /* hover / links                                   */
  --accent-dd:  #086744;  /* darkest emerald                                 */
  --accent-soft:#e6f7ef;  /* tinted surface                                  */
  --accent-ring:rgba(15,157,107,.20);
  --emerald:    #10b981;
  --teal:       #2dd4bf;

  /* ---- surfaces ---------------------------------------------------------- */
  --bg:         #f6f8fb;  /* page background                                  */
  --surface:    #ffffff;
  --surface-2:  #f9fbfd;

  /* ---- dark (hero / footer / CTA) ---------------------------------------- */
  --navy:       #0a0f1c;  /* near-black base                                 */
  --navy-2:     #0b1322;
  --navy-soft:  #111c30;
  --navy-line:  rgba(255,255,255,.09);

  --line:       #e6eaf1;
  --line-2:     #eef1f6;

  /* ---- radius ------------------------------------------------------------ */
  --r-sm: 9px; --r: 13px; --r-lg: 17px; --r-xl: 24px; --r-pill: 999px;

  /* ---- shadows + glows --------------------------------------------------- */
  --sh-xs: 0 1px 2px rgba(11,18,32,.05);
  --sh-sm: 0 1px 2px rgba(11,18,32,.05), 0 2px 8px rgba(11,18,32,.05);
  --sh:    0 1px 3px rgba(11,18,32,.06), 0 10px 28px rgba(11,18,32,.07);
  --sh-lg: 0 4px 10px rgba(11,18,32,.07), 0 24px 60px rgba(11,18,32,.13);
  --sh-xl: 0 8px 18px rgba(8,14,28,.18), 0 40px 90px rgba(8,14,28,.30);
  --glow-emerald: 0 12px 40px rgba(16,185,129,.30);
  --glow-soft:    0 8px 26px rgba(15,157,107,.18);

  /* ---- gradients --------------------------------------------------------- */
  --grad-brand: linear-gradient(96deg, #0a7d54 0%, #10b981 50%, #2dd4bf 100%);

  /* ---- spacing ----------------------------------------------------------- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
  --container: 1160px;
}

/* ---- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }

/* ---- typography ----------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.1; color: var(--ink); font-weight: 700; letter-spacing: -.022em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 .55rem; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); margin: 0 0 .5rem; letter-spacing: -.03em; }
h3 { font-size: 1.08rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--accent-d); text-decoration: none; }
a:hover { color: var(--accent-dd); }
strong { font-weight: 700; color: var(--ink); }

.wrap   { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted  { color: var(--muted); }
.small  { font-size: .875rem; }
.center { text-align: center; }
.grad {
  background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .76rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-dd); background: var(--accent-soft); padding: 6px 14px;
  border-radius: var(--r-pill); margin-bottom: 18px;
  border: 1px solid rgba(15,157,107,.16);
}
.lead { font-size: 1.18rem; color: var(--ink-2); line-height: 1.56; }

/* ============================================================ FOCUS / A11Y */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}

/* ============================================================ LOGO */
.logo-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark { display: block; width: 32px; height: 32px; flex: none; border-radius: 8.5px;
  box-shadow: 0 2px 8px rgba(16,185,129,.28); }
.logo-word {
  font-weight: 800; font-size: 1.26rem; letter-spacing: -.03em; color: var(--ink);
  line-height: 1; white-space: nowrap;
}
.logo-word b { color: var(--accent-d); font-weight: 800; }
.logo-link-light .logo-word { color: #fff; }
.logo-link-light .logo-word b { color: #5fe6bf; }

/* ============================================================ NAV */
.nav {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); width: 42px; height: 42px; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: var(--r-sm); font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  font-family: inherit; box-shadow: var(--sh-xs);
  transition: background .15s, box-shadow .2s, transform .08s, border-color .15s;
}
.btn:hover { background: var(--accent-d); color: #fff; box-shadow: var(--sh-sm); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; border-radius: var(--r); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn-ghost {
  background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-xs);
}
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: #c8d2df; box-shadow: var(--sh-sm); }
/* glowing primary (emerald) for dark hero */
.btn-glow {
  background: var(--grad-brand); border: none; box-shadow: var(--glow-emerald);
}
.btn-glow:hover { background: var(--grad-brand); filter: brightness(1.05); box-shadow: 0 14px 46px rgba(16,185,129,.42); }
/* ghost button tuned for dark backgrounds */
.btn-ghost-dark {
  background: rgba(255,255,255,.04); color: #eaf1f7;
  border-color: rgba(255,255,255,.18); box-shadow: none;
  backdrop-filter: blur(4px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-arrow::after { content: "→"; font-weight: 600; transition: transform .15s; }
.btn-arrow:hover::after { transform: translateX(3px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.7rem 0 .6rem; }
.cta-row.center { justify-content: center; }

/* ============================================================ HERO (dark) */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  padding: clamp(44px, 7vw, 76px) 0 clamp(56px, 8vw, 104px);
  color: #fff; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(820px 520px at 22% -8%, rgba(16,185,129,.20), transparent 60%),
    radial-gradient(720px 540px at 84% 4%, rgba(45,212,191,.16), transparent 58%),
    radial-gradient(900px 600px at 50% 120%, rgba(13,148,103,.14), transparent 60%),
    linear-gradient(180deg, #0a0f1c 0%, #0b1322 70%, #0a0f1c 100%);
}
/* fine dot grid + faint noise for depth */
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 78%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 16ch; margin: 0 auto .8rem; }
.hero .lead { color: rgba(228,236,245,.78); max-width: 60ch; margin: 0 auto; }
.eyebrow-live {
  color: #aef0d4; background: rgba(16,185,129,.12);
  border-color: rgba(45,212,191,.28);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2.2s infinite; flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ============================================================ PRODUCT MOCKUP */
.mock { position: relative; margin: clamp(40px, 6vw, 64px) auto 0; max-width: 1040px; perspective: 1600px; }
.mock::before { /* glow halo behind window */
  content: ""; position: absolute; inset: -8% 6% 14% 6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16,185,129,.30), transparent 72%);
  filter: blur(34px);
}
.mock-window {
  position: relative; z-index: 1; text-align: left;
  background: #0e1626;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--sh-xl), inset 0 1px 0 rgba(255,255,255,.06);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.mock-chrome {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: #0b1220; border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock-lights { display: flex; gap: 7px; }
.mock-lights i { width: 11px; height: 11px; border-radius: 50%; }
.mock-lights i:nth-child(1){ background:#ff5f57; } .mock-lights i:nth-child(2){ background:#febc2e; } .mock-lights i:nth-child(3){ background:#28c840; }
.mock-url {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 auto;
  background: rgba(255,255,255,.06); color: #aab6c8; font-size: .8rem; font-weight: 600;
  padding: 6px 16px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.06);
}
.mock-url svg { color: #4fd6a6; }
.mock-live {
  display: inline-flex; align-items: center; gap: 7px; color: #8de9c2;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em;
}
.mk-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf;
  box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: pulse 2.2s infinite; }

.mock-app {
  display: grid; grid-template-columns: 184px 1fr 230px;
  background: #f5f8fb; min-height: 380px;
}
/* left rail */
.mock-rail { padding: 18px 16px; border-right: 1px solid #e7ecf3; background: #fbfcfe; }
.mk-rail-title { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.mk-rail-group { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.mk-rail-label { width: 100%; font-size: .72rem; font-weight: 700; color: var(--ink-2); margin-bottom: 3px; }
.mk-chip {
  font-size: .74rem; font-weight: 600; color: var(--ink-2); background: #eef2f7;
  padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid transparent;
}
.mk-chip.is-on { background: var(--accent-soft); color: var(--accent-dd); border-color: rgba(15,157,107,.22); font-weight: 700; }

/* centre feed */
.mock-feed { padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mk-feed-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.mk-feed-title { font-size: .92rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.mk-feed-count { font-size: .72rem; font-weight: 700; color: var(--accent-dd); background: var(--accent-soft); padding: 3px 9px; border-radius: var(--r-pill); }
.mk-card {
  display: flex; gap: 11px; text-align: left; width: 100%; cursor: default;
  background: #fff; border: 1px solid #e7ecf3; border-radius: 12px; padding: 12px 13px;
  box-shadow: 0 1px 2px rgba(11,18,32,.04); font-family: inherit;
}
.mk-card.is-active { border-color: rgba(15,157,107,.45); box-shadow: 0 0 0 3px rgba(15,157,107,.10), 0 6px 18px rgba(11,18,32,.07); }
.mk-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: #fff; background: var(--grad-brand);
  box-shadow: 0 3px 8px rgba(16,185,129,.28);
}
.mk-avatar-lg { width: 42px; height: 42px; font-size: .82rem; border-radius: 11px; }
.mk-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.mk-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-name { font-size: .86rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-badge {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  font-size: .66rem; font-weight: 700; color: var(--accent-dd);
  background: var(--accent-soft); padding: 2px 8px; border-radius: var(--r-pill);
}
.mk-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mk-card-what { font-size: .76rem; color: var(--ink-2); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.mk-card-meta { display: flex; gap: 12px; font-size: .7rem; color: var(--muted); }
.mk-pill, .mk-date { display: inline-flex; align-items: center; gap: 4px; }
.mk-pill svg, .mk-date svg { width: 11px; height: 11px; }

/* right detail panel */
.mock-detail { padding: 18px 16px; border-left: 1px solid #e7ecf3; background: #fbfcfe; display: flex; flex-direction: column; gap: 9px; }
.mk-detail-head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.mk-detail-head > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mk-detail-name { font-size: .9rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.mk-detail-head .mk-badge { align-self: flex-start; }
.mk-detail-row { display: flex; justify-content: space-between; gap: 10px; font-size: .76rem; padding: 5px 0; border-bottom: 1px solid #eef2f7; }
.mk-detail-row span { color: var(--muted); flex: none; }
.mk-detail-row b { color: var(--ink); font-weight: 700; text-align: right; }
.mk-detail-dirs { flex-direction: column; gap: 2px; align-items: flex-start; }
.mk-detail-dirs b { text-align: left; font-size: .76rem; }
.mk-ai {
  margin-top: 6px; background: linear-gradient(180deg, rgba(15,157,107,.07), rgba(45,212,191,.05));
  border: 1px solid rgba(15,157,107,.16); border-radius: 11px; padding: 11px 12px;
}
.mk-ai-head { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dd); margin-bottom: 5px; }
.mk-ai-head svg { width: 13px; height: 13px; }
.mk-ai p { margin: 0; font-size: .76rem; color: var(--ink-2); line-height: 1.45; }

/* ============================================================ TRUST STRIP */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 38px 0; }
.trust-lead {
  text-align: center; margin: 0 0 26px; font-size: .92rem; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
}
.trust-lead svg { color: var(--accent-d); }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.stat {
  text-align: center; padding: 22px 18px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.stat-n { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat-l { display: block; margin-top: 6px; font-size: .9rem; color: var(--ink-2); }

/* ============================================================ SECTIONS */
/* Tighter, confident vertical rhythm (was up to 92px → felt sparse). */
.section { position: relative; padding: clamp(52px, 6.5vw, 80px) 0; }

/* A `.band` is a tinted, recessed surface that separates it from the page,
   giving the long scroll depth instead of a flat-white run. A soft gradient
   wash + crisp hairline top/bottom read as "designed", not "basic". */
.band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 84% -10%, rgba(15,157,107,.06), transparent 62%),
    radial-gradient(720px 380px at 4% 108%, rgba(45,212,191,.05), transparent 60%),
    linear-gradient(180deg, #eef3f8 0%, #f1f5f9 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(52px, 6.5vw, 80px) 0;
}
.band > .wrap { position: relative; z-index: 1; }

/* Rich DARK band — same language as the hero (navy + faint emerald glow + dot
   pattern). Used to interleave light/dark so the page never reads flat. */
.band-dark {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy);
  border-top: none; border-bottom: none;
  padding: clamp(60px, 8vw, 96px) 0;
}
.band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(820px 460px at 20% -10%, rgba(16,185,129,.18), transparent 60%),
    radial-gradient(720px 480px at 86% 8%, rgba(45,212,191,.14), transparent 58%),
    radial-gradient(900px 600px at 50% 124%, rgba(13,148,103,.12), transparent 60%),
    linear-gradient(180deg, #0a0f1c 0%, #0b1322 70%, #0a0f1c 100%);
}
.band-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 82% 74% at 50% 36%, #000 34%, transparent 80%);
  mask-image: radial-gradient(ellipse 82% 74% at 50% 36%, #000 34%, transparent 80%);
}
.band-dark > .wrap { position: relative; z-index: 1; }
.band-dark h2, .band-dark h3, .band-dark .section-title { color: #fff; }
.band-dark .section-head p { color: rgba(228,236,245,.74); }
.band-dark .muted { color: #93a1b4; }

.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 12px; letter-spacing: -.03em; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.page-head {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px 380px at 84% -20%, rgba(15,157,107,.10), transparent 60%),
    radial-gradient(620px 360px at 6% 0%, rgba(45,212,191,.07), transparent 58%),
    linear-gradient(180deg, #fbfdfc, var(--bg));
  padding: clamp(52px, 6vw, 80px) 0 clamp(32px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.page-head .lead { max-width: 70ch; }

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

/* ============================================================ FEATURE CARDS */
.feature {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px 28px; box-shadow: var(--sh-sm);
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
/* gradient border on hover via mask trick */
.feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .22s; pointer-events: none;
}
.feature:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature h3 { margin: 0 0 7px; font-size: 1.12rem; }
.feature p  { margin: 0; color: var(--ink-2); font-size: .95rem; }
.feature-sub {
  display: block; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: .82rem; font-weight: 700; letter-spacing: -.005em; color: var(--accent-dd);
}
.feature-ico {
  position: relative; display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 15px; color: #fff; margin-bottom: 18px;
  background: var(--grad-brand); box-shadow: var(--glow-soft);
}
.feature-ico::after { /* subtle top sheen on the tile */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 55%);
}
.feature-ico svg { width: 27px; height: 27px; position: relative; z-index: 1; }

/* ============================================================ STEPS (rail) */
.steps { position: relative; }
.steps-rail::before { /* connecting rail behind the numbered steps */
  content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(15,157,107,.45) 12%, rgba(45,212,191,.45) 88%, transparent);
  z-index: 0;
}
.step {
  position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px 28px; box-shadow: var(--sh);
}
.step h3 { margin: 0 0 7px; font-size: 1.12rem; }
.step p  { margin: 0; color: var(--ink-2); font-size: .95rem; }
.step-ico {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: 15px; background: var(--navy); color: #fff; margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(11,18,32,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
.step-ico svg { width: 26px; height: 26px; }
.step-n {
  position: absolute; top: 20px; right: 26px; font-size: 2.6rem; font-weight: 800;
  letter-spacing: -.05em; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .92;
}
/* steps placed on the dark band */
.band-dark .step {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 22px 50px rgba(4,8,18,.42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.band-dark .step h3 { color: #fff; }
.band-dark .step p  { color: rgba(213,222,234,.82); }
.band-dark .step-ico {
  background: var(--grad-brand);
  box-shadow: var(--glow-soft), inset 0 1px 0 rgba(255,255,255,.22);
}
.band-dark .steps-rail::before {
  background: linear-gradient(90deg, transparent, rgba(45,212,191,.5) 12%, rgba(16,185,129,.5) 88%, transparent);
}

/* ============================================================ COMPANY CARDS */
/* Premium product-showcase card — consistent language with the hero mockup:
   gradient avatar, "Registered" badge, region pill. */
.company {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.company::before { /* emerald gradient border on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.company:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.company:hover::before { opacity: 1; }
.company-head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.company-avatar {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff;
  background: var(--grad-brand); box-shadow: 0 4px 12px rgba(16,185,129,.30);
}
.company-avatar::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 55%); }
.company-head-main { min-width: 0; flex: 1; }
.company-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.company-name { font-weight: 800; color: var(--ink); font-size: 1.02rem; letter-spacing: -.015em; line-height: 1.25; }
.company-badge {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  font-size: .68rem; font-weight: 700; color: var(--accent-dd);
  background: var(--accent-soft); padding: 3px 9px; border-radius: var(--r-pill);
  border: 1px solid rgba(15,157,107,.18);
}
.company-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.company-what { color: var(--ink-2); font-size: .92rem; margin: 0 0 13px; }
.company-meta { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.company-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #c4ccd6; }
.company-meta .meta-i { display: inline-flex; align-items: center; gap: 6px; }
.company-meta svg { color: var(--muted); flex: none; }

.feed-row { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh-xs); }
.feed-row .company-head { margin-bottom: 9px; }
.feed-row .company-avatar { width: 34px; height: 34px; border-radius: 9px; font-size: .72rem; }
.feed-row .company-name { font-size: .97rem; }
.feed-row .company-what { font-size: .85rem; margin: 5px 0 9px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.feed-row .company-meta { font-size: .76rem; }

/* ============================================================ PILLS / BADGES */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: #eef2f7; color: var(--ink-2); font-weight: 600; font-size: .76rem;
  padding: 4px 11px; border-radius: var(--r-pill); white-space: nowrap;
}
.pill-region { background: var(--accent-soft); color: var(--accent-dd); }
.pill-ok   { background: var(--accent-soft); color: var(--accent-dd); }
.pill-warn { background: #fef0d7; color: #8a5b00; }
.pill-new  { background: var(--navy); color: #fff; font-weight: 700; }

.teaser-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }

/* ============================================================ PRICING */
.plans { max-width: 880px; margin: 0 auto 18px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 34px 32px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
}
.plan-featured {
  box-shadow: var(--sh-lg); background: var(--surface);
}
.plan-featured::before { /* gradient border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 6px 15px; border-radius: var(--r-pill); text-transform: uppercase;
  letter-spacing: .06em; box-shadow: var(--glow-soft); white-space: nowrap;
}
.plan-name { font-weight: 700; font-size: 1.05rem; color: var(--ink-2); }
.plan-price { font-size: 2.8rem; font-weight: 800; letter-spacing: -.035em; margin: 8px 0 2px; color: var(--ink); }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-trial { color: var(--accent-dd); font-weight: 700; font-size: .9rem; margin-bottom: 22px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan-feats li {
  padding: 9px 0 9px 30px; position: relative; color: var(--ink-2); font-size: .95rem;
  border-bottom: 1px solid var(--line-2);
}
.plan-feats li:last-child { border-bottom: 0; }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7d54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ============================================================ FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--sh-xs);
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--sh-sm); border-color: #d6deea; }
.faq summary {
  font-weight: 700; cursor: pointer; list-style: none; padding: 15px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent-d);
  line-height: 1; transition: transform .2s; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--ink-2); }

/* ============================================================ CTA BAND (dark) */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: var(--navy);
  padding: clamp(64px, 9vw, 104px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 380px at 78% 8%, rgba(16,185,129,.32), transparent 60%),
    radial-gradient(620px 360px at 14% 100%, rgba(45,212,191,.24), transparent 58%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.cta-band .lead { color: rgba(228,236,245,.78); }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cta-band .btn:hover { background: #eafaf2; color: var(--accent-dd); }

/* ============================================================ FORMS */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink-2); margin-bottom: 16px; }
.form input, .form select {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 1rem;
  font-family: inherit; background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { margin-top: 6px; }

.alert { background: #fef0d7; border: 1px solid #f3d18a; color: #8a4b00; padding: 12px 16px; border-radius: var(--r-sm); }
.alert-ok { background: var(--accent-soft); border-color: #a6dcc1; color: var(--accent-dd); }

/* ============================================================ DASHBOARD */
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-grid { display: grid; grid-template-columns: 310px 1fr; gap: 32px; align-items: start; }
.dash-feed h2 { margin-top: 0; }
.dash-grid aside.card h2 { font-size: 1.1rem; margin-top: 0; }

/* ============================================================ LEGAL */
.legal h2 { font-size: 1.2rem; margin: 30px 0 8px; }
.legal p { color: var(--ink-2); }

/* ============================================================ FOOTER (dark) */
.footer { position: relative; overflow: hidden; background: var(--navy); color: #cdd6e2; padding: 60px 0 38px; }
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 320px at 88% -10%, rgba(16,185,129,.12), transparent 60%);
}
.footer .wrap { position: relative; z-index: 1; }
.footer a { color: #cdd6e2; }
.footer a:hover { color: #fff; }
.footer-seo {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px;
  padding-bottom: 40px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { color: #93a1b4; font-size: .9rem; margin: 16px 0 0; max-width: 32ch; }
.footer-col h4 { margin: 0 0 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #8a98ac; font-weight: 700; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #cdd6e2; text-decoration: none; font-size: .9rem; }
.footer-links-col { flex-direction: column; gap: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-inner .muted { color: #8a98ac; margin: 0; font-size: .86rem; }

/* ============================================================ UNLOCK CTA */
.unlock {
  position: relative; overflow: hidden; background:
    radial-gradient(600px 280px at 80% 0%, rgba(15,157,107,.10), transparent 60%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px 34px;
  box-shadow: var(--sh); text-align: center; margin-top: 34px;
}
.unlock h3 { font-size: 1.45rem; margin: 0 0 8px; }
.unlock p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 20px; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .mock-app { grid-template-columns: 1fr 230px; }
  .mock-rail { display: none; }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps-rail::before { display: none; }
  .footer-seo { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  /* mobile nav */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 4px; padding: 14px 24px 20px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--sh);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
  }
  .nav-links a:not(.btn) { padding: 10px 4px; border-bottom: 1px solid var(--line-2); }
  .nav-links .btn { margin-top: 8px; }
  body.nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
}
@media (max-width: 760px) {
  .mock-app { grid-template-columns: 1fr; min-height: 0; }
  .mock-detail { display: none; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-seo { grid-template-columns: 1fr; }
  .mock-feed { padding: 12px; }
}

/* ============================================================ HERO TRUST ROW */
.hero-trust {
  list-style: none; margin: 22px auto 0; padding: 0; max-width: 760px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600; color: rgba(228,236,245,.82);
}
.hero-trust svg { color: #5fe6bf; flex: none; }

/* ============================================================ FOOTER TRUST */
.footer-trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
  padding-bottom: 26px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.ft-sig {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600; color: #aab6c8;
}
.ft-sig svg { color: #5fe6bf; flex: none; }

/* ============================================================ ABOUT */
.prose h2 { font-size: 1.4rem; margin: 0 0 12px; }
.prose p { color: var(--ink-2); font-size: 1.04rem; }
.prose + .about-cards { margin-top: 40px; }
.about-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 22px; box-shadow: var(--sh-sm);
}
.about-card h3 { margin: 0 0 6px; font-size: 1.06rem; }
.about-card p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.about-ico {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  background: var(--grad-brand); color: #fff; margin-bottom: 15px; box-shadow: var(--glow-soft);
}
.about-ico svg { width: 24px; height: 24px; }
.trust-points { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.trust-point {
  display: flex; gap: 14px; align-items: flex-start; line-height: 1.6;
  color: rgba(213,222,234,.85); font-size: 1rem;
}
.trust-point svg { color: #5fe6bf; flex: none; margin-top: 4px; }
.trust-point strong { color: #fff; }
.about-company { max-width: 760px; margin: 0 auto; }
.about-company-head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.about-company-head svg { color: var(--accent-d); flex: none; }
.about-company-head h2 { margin: 0; font-size: 1.3rem; }
.about-reg { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px;
  padding-top: 22px; border-top: 1px solid var(--line-2); }
.about-reg-label { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.about-reg address { font-style: normal; color: var(--ink-2); line-height: 1.6; font-size: .95rem; }

/* ============================================================ CONTACT */
.contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-method { display: flex; gap: 13px; align-items: flex-start; }
.contact-method-ico {
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent-dd);
  border: 1px solid rgba(15,157,107,.18);
}
.contact-method-label { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.contact-method a, .contact-method strong { font-weight: 700; color: var(--ink); }
.contact-method address { font-style: normal; color: var(--ink-2); line-height: 1.55; font-size: .94rem; }
.contact-note { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0;
  font-size: .84rem; color: var(--muted); }
.contact-note svg { color: var(--accent-d); flex: none; }
.contact-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 1rem;
  font-family: inherit; background: var(--surface); color: var(--ink); resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.contact-form label { margin-bottom: 16px; }
.req { color: var(--accent-d); }
.contact-sent { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 34px; box-shadow: var(--sh-sm); text-align: center; }
.contact-sent-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-dd); }
.contact-sent-ico svg { width: 28px; height: 28px; }
.contact-sent h2 { margin: 0 0 8px; }
.contact-sent p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 20px; }

/* ============================================================ DASHBOARD v2 */
.dash-topbar {
  position: relative; overflow: hidden;
  background:
    radial-gradient(720px 320px at 88% -30%, rgba(15,157,107,.10), transparent 60%),
    radial-gradient(560px 320px at 4% 0%, rgba(45,212,191,.07), transparent 58%),
    linear-gradient(180deg, #fbfdfc, var(--bg));
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 4vw, 40px) 0 clamp(22px, 3vw, 30px);
}
.dash-greet { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dash-greet h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 6px; }
.dash-sub { margin: 0; color: var(--ink-2); font-size: .98rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; box-shadow: var(--sh-xs); }
.kpi-n { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi-l { display: block; margin-top: 4px; font-size: .82rem; color: var(--ink-2); }

.dash-grid2 { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.dash-rail { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.dash-rail .card h2 { font-size: 1.1rem; margin-top: 0; }
.dash-tip { padding: 20px 22px; }
.dash-tip-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; margin-bottom: 8px; }
.dash-tip-head svg { color: var(--accent-d); flex: none; }
.dash-tip p { margin: 0; }

/* leads bar: segment chips + search */
.dash-leads-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.seg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: .84rem; font-weight: 700; color: var(--ink-2); font-family: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 14px; transition: background .15s, border-color .15s, color .15s;
}
.seg-chip:hover { border-color: #c8d2df; }
.seg-chip.is-on { background: var(--accent-soft); color: var(--accent-dd); border-color: rgba(15,157,107,.28); }
.seg-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--r-pill); background: #eef2f7; color: var(--ink-2); font-size: .72rem; font-weight: 800; }
.seg-chip.is-on .seg-n { background: #fff; color: var(--accent-dd); }
.lead-search { position: relative; display: flex; align-items: center; }
.lead-search-ico { position: absolute; left: 12px; color: var(--muted); display: inline-flex; pointer-events: none; }
.lead-search input {
  font-family: inherit; font-size: .9rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px 9px 32px; width: 260px;
  transition: border-color .15s, box-shadow .15s;
}
.lead-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.lead-count { margin: 0 0 14px; }

/* lead list rows */
.lead-list { display: flex; flex-direction: column; gap: 12px; }
article.lead {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
article.lead.is-open { box-shadow: var(--sh); border-color: #d6deea; }
.lead-row {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left;
  background: none; border: none; font-family: inherit; cursor: pointer; padding: 16px 18px;
}
.lead-row:hover { background: var(--surface-2); }
.lead-avatar {
  flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; color: #fff; background: var(--grad-brand);
  box-shadow: 0 4px 12px rgba(16,185,129,.28);
}
.lead-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lead-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lead-name { font-weight: 800; color: var(--ink); font-size: 1rem; letter-spacing: -.015em; }
.lead-meta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.lead-meta .meta-i { display: inline-flex; align-items: center; gap: 6px; }
.lead-meta svg { flex: none; }
.lead-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #c4ccd6; }
.lead-what { color: var(--ink-2); font-size: .88rem; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lead-chev { flex: none; color: var(--muted); display: inline-flex; transition: transform .2s; }
article.lead.is-open .lead-chev { transform: rotate(180deg); }
.pill-new { letter-spacing: .04em; font-size: .64rem; padding: 3px 8px; }

/* status badge on the row */
.lead-status-badge {
  flex: none; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid transparent;
}
.st-new { background: #eef2f7; color: var(--ink-2); }
.st-contacted { background: #e6eefe; color: #2b56b8; border-color: rgba(43,86,184,.18); }
.st-won { background: var(--accent-soft); color: var(--accent-dd); border-color: rgba(15,157,107,.22); }
.st-dismissed { background: #f3f0f4; color: #7a6b86; }

/* expanded detail */
.lead-detail { padding: 4px 18px 18px; border-top: 1px solid var(--line-2); }
.lead-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; padding: 16px 0; }
.lead-facts { display: flex; flex-direction: column; }
.lead-fact { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: .85rem; }
.lead-fact:last-child { border-bottom: 0; }
.lead-fact span { color: var(--muted); flex: none; }
.lead-fact b { color: var(--ink); text-align: right; font-weight: 700; }
.lead-ai { background: linear-gradient(180deg, rgba(15,157,107,.07), rgba(45,212,191,.05));
  border: 1px solid rgba(15,157,107,.16); border-radius: 12px; padding: 14px 15px; }
.lead-ai-head { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; color: var(--accent-dd); margin-bottom: 7px; }
.lead-ai-head svg { width: 15px; height: 15px; }
.lead-ai p { margin: 0 0 12px; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.lead-links { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700;
  color: var(--accent-dd); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 12px; }
.lead-link:hover { border-color: rgba(15,157,107,.4); color: var(--accent-dd); }
.lead-link svg { flex: none; }

.lead-actions-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line-2); }
.lead-status-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-st-btn {
  font-family: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 8px 13px; transition: background .15s, border-color .15s, color .15s;
}
.lead-st-btn:hover { border-color: #c8d2df; }
.lead-st-btn[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.lead-reach { white-space: nowrap; }
.lead-reach svg { flex: none; }
.lead-note-label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.lead-note { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font-family: inherit;
  font-size: .9rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); resize: vertical; transition: border-color .15s, box-shadow .15s; }
.lead-note:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--surface); }
.lead-saved { display: inline-block; margin-top: 6px; font-size: .76rem; font-weight: 700; color: var(--accent-dd); min-height: 1em; }
.lead-empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 32px; text-align: center; }
.lead-empty p { margin: 0; color: var(--muted); }

/* outreach modal */
body.modal-open { overflow: hidden; }
.reach-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.reach-modal[hidden] { display: none; }
.reach-backdrop { position: absolute; inset: 0; background: rgba(8,14,28,.55); backdrop-filter: blur(3px); }
.reach-dialog {
  position: relative; z-index: 1; width: 100%; max-width: 600px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-xl);
  padding: 26px 26px 22px; max-height: 90vh; overflow-y: auto;
  animation: modalIn .18s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reach-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.reach-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; color: var(--accent-dd); margin-bottom: 4px; }
.reach-eyebrow svg { width: 15px; height: 15px; }
.reach-head h3 { margin: 0; font-size: 1.3rem; }
.reach-x { background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--muted);
  cursor: pointer; padding: 0 4px; }
.reach-x:hover { color: var(--ink); }
.reach-note { margin: 8px 0 14px; }
.reach-text { width: 100%; padding: 14px 16px; font-family: inherit; font-size: .94rem; line-height: 1.55;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
  resize: vertical; }
.reach-text:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--surface); }
.reach-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.reach-actions .btn svg { flex: none; }
.reach-status { font-size: .82rem; font-weight: 700; color: var(--accent-dd); }

@media (max-width: 900px) {
  .about-cards { grid-template-columns: 1fr; }
  .about-reg { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dash-grid2 { grid-template-columns: 1fr; }
  .dash-rail { position: static; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .lead-detail-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .lead-search input { width: 100%; }
  .lead-search { width: 100%; }
  .dash-leads-bar { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .mock-window { transform: none !important; }
}

/* Dashboard region filter — toggle pills */
.field-label { font-weight: 700; font-size: .9rem; margin: 2px 0 10px; color: var(--ink); }
.field-hint { font-weight: 500; color: var(--muted); font-size: .78rem; }
.region-checks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rc-item { cursor: pointer; margin: 0 !important; }
.rc-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.rc-item span {
  display: inline-block; padding: 5px 11px; border: 1px solid var(--line);
  border-radius: var(--r-pill); font-size: .8rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface); transition: all .15s; line-height: 1.15; white-space: nowrap;
}
.rc-item:hover span { border-color: var(--accent); color: var(--ink); }
.rc-item input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dd); }
.rc-item input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-ring); }
