/* ==========================================================================
   BizAutomate.ai — 2026 site
   Light, modern consulting look. Mobile-first. No framework.
   ========================================================================== */

:root {
  --ink: #0b1324;
  --ink-2: #33405a;
  --muted: #5f6b82;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eef8ff;
  --line: #e2e8f1;
  --brand: #05b0fc;          /* logo blue — fills, icons, accents */
  --brand-600: #0096dc;
  --brand-ink: #0272b0;      /* AA-safe blue for text on white */
  --navy: #081429;
  --navy-2: #0f2140;
  --ok: #12a46b;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, .06), 0 2px 8px rgba(11, 19, 36, .04);
  --shadow: 0 10px 30px -12px rgba(11, 19, 36, .18), 0 2px 6px rgba(11, 19, 36, .05);
  --shadow-lg: 0 30px 60px -20px rgba(8, 20, 41, .28);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 84px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: #17233b; transform: translateY(-1px); }
.btn--brand { background: var(--brand); color: var(--navy); }
.btn--brand:hover { background: #33c0fd; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { border-color: #fff; }
.btn--sm { padding: 11px 16px; font-size: .9rem; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header ------------------------------------------------------------------- */
.topbar { background: var(--navy); color: #c7d3e6; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; }
.topbar__links { display: flex; gap: 20px; }
.topbar__msg { display: none; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,19,36,.4); }
.header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; text-decoration: none !important; }
.brand svg { width: 38px; height: 35px; color: var(--brand); flex: none; }
.brand span b { color: var(--brand-ink); font-weight: 800; }

.nav { display: none; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 4px;
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink);
  padding: 10px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; text-decoration: none;
}
.nav a:hover, .nav button:hover { background: var(--bg-soft); }
.nav .has-menu { position: relative; }
.nav .has-menu > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px; opacity: .6; }
.menu {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 12px; border-radius: 12px; }
.menu a strong { display: block; font-size: .95rem; }
.menu a small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.menu__label { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 6px 12px 0; }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn--primary { display: none; }
.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 72px); overflow-y: auto; }
.nav-open .mobile-nav { display: block; }
.mobile-nav .wrap { padding-top: 12px; padding-bottom: 24px; }
.mobile-nav a { display: block; padding: 13px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .sub a { font-weight: 600; color: var(--ink-2); padding-left: 16px; font-size: .95rem; }
.mobile-nav .btn { width: 100%; margin-top: 18px; color: #fff; border-bottom: 0; }

@media (min-width: 1020px) {
  .nav { display: block; }
  .burger, .mobile-nav, .nav-open .mobile-nav { display: none; }
  .header__cta .btn--primary { display: inline-flex; }
  .topbar__msg { display: block; }
}

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px -10% auto auto; width: 820px; height: 820px; z-index: -1;
  background: radial-gradient(closest-side, rgba(5,176,252,.16), rgba(5,176,252,0));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 20%, transparent 75%);
}
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero h1 .hl { color: var(--brand-ink); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: rgba(5,176,252,.25); z-index: -1; border-radius: 4px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero__proof { display: grid; gap: 10px; font-size: .95rem; color: var(--ink-2); font-weight: 600; }
.hero__proof li { display: flex; gap: 10px; align-items: flex-start; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-tint); color: var(--brand-ink); display: grid; place-items: center; margin-top: 1px; }
.check svg { width: 13px; height: 13px; }

.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; background: var(--bg-soft); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 16px; font-size: .86rem;
}
.float-card--flow { left: -12px; bottom: -28px; width: min(300px, 82%); }
.float-card--flow .fc-title { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--ink); margin-bottom: 10px; font-size: .84rem; }
.pill { font-size: .7rem; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; background: #e7f8f0; color: var(--ok); }
.flow { display: grid; gap: 8px; }
.flow li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
.flow i { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-tint); color: var(--brand-ink); display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 800; flex: none; }
.flow li.done i { background: var(--ok); color: #fff; }
.float-card--ai { right: -10px; top: 22px; display: none; align-items: center; gap: 12px; max-width: 250px; }
.float-card--ai svg { width: 34px; height: 31px; color: var(--brand); flex: none; }
.float-card--ai strong { display: block; color: var(--ink); font-size: .88rem; }
.float-card--ai span { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }

@media (min-width: 640px) { .float-card--ai { display: flex; } }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 64px; }
  .float-card--flow { left: -44px; }
  .float-card--ai { right: -28px; }
}

/* Logo strip ---------------------------------------------------------------- */
.logos { padding: 28px 0 8px; }
.logos__label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee img { height: 40px; width: auto; filter: grayscale(1); opacity: .62; transition: .2s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Positioning --------------------------------------------------------------- */
.compare { display: grid; gap: 20px; }
.compare__col { border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px); border: 1px solid var(--line); background: #fff; }
.compare__col h3 { display: flex; align-items: center; gap: 10px; }
.compare__col li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line); }
.compare__col li:first-child { border-top: 0; }
.compare__col--them { background: var(--bg-soft); }
.compare__col--them li { color: var(--muted); }
.compare__col--them li::before { content: "✕"; color: #b4bccb; font-weight: 800; flex: none; }
.compare__col--us { border-color: rgba(5,176,252,.45); box-shadow: 0 20px 50px -30px rgba(5,176,252,.6); }
.compare__col--us li::before { content: "✓"; color: var(--brand-ink); font-weight: 800; flex: none; }
.compare__col--us li { color: var(--ink); font-weight: 600; }
.tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--brand-ink); }
.tag--muted { background: #e8ecf2; color: var(--muted); }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }

/* Services ------------------------------------------------------------------ */
.services { display: grid; gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe3f3; }
.svc__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-tint); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 18px; }
.svc__icon svg { width: 26px; height: 26px; }
.svc p { color: var(--muted); font-size: .97rem; }
.svc ul { margin: 4px 0 20px; display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.svc ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 10px; vertical-align: middle; }
.svc .link-arrow { margin-top: auto; }
.svc--feature { background: var(--navy); border-color: var(--navy); color: #c7d3e6; }
.svc--feature h3 { color: #fff; }
.svc--feature p, .svc--feature ul { color: #c7d3e6; }
.svc--feature .svc__icon { background: rgba(5,176,252,.14); color: var(--brand); }
.svc--feature .link-arrow { color: var(--brand); }
.svc--feature .tag { position: absolute; top: 24px; right: 24px; background: rgba(5,176,252,.16); color: var(--brand); }
@media (min-width: 700px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) {
  .services { grid-template-columns: repeat(6, 1fr); }
  .svc { grid-column: span 2; }
  .svc--wide { grid-column: span 3; }
}

/* Split / problem ----------------------------------------------------------- */
.split { display: grid; gap: 44px; align-items: center; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.signs { display: grid; gap: 12px; margin: 26px 0 30px; }
.signs li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.signs li span { display: block; font-weight: 500; color: var(--muted); font-size: .92rem; }
.signs .num { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--rev .split__img { order: 2; }
}

/* Process ------------------------------------------------------------------- */
.process { display: grid; gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step__n { font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--brand-ink); text-transform: uppercase; }
.step h3 { margin-top: 10px; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }
.step__bar { height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 20px; overflow: hidden; }
.step__bar i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
@media (min-width: 700px) { .process { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .process { grid-template-columns: repeat(4, 1fr); } }

/* Assessment band ----------------------------------------------------------- */
.band { background: var(--navy); color: #c7d3e6; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -240px; top: -240px; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(5,176,252,.22), transparent); }
.band h1, .band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--brand); }
.band .lead { color: #aebcd3; }
.band .wrap { position: relative; display: grid; gap: 44px; align-items: center; }
.deliverables { display: grid; gap: 12px; }
.deliverables li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.deliverables li svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.deliverables strong { color: #fff; display: block; }
.deliverables span { font-size: .92rem; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 940px) { .band .wrap { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Growth services ----------------------------------------------------------- */
.growth { display: grid; gap: 14px; grid-template-columns: 1fr; }
.growth a {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); text-decoration: none; transition: .2s;
}
.growth a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.growth strong { display: block; color: var(--ink); font-size: 1rem; }
.growth span { font-size: .9rem; color: var(--muted); line-height: 1.5; display: block; }
.growth .gicon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--brand-ink); display: grid; place-items: center; }
.growth .gicon svg { width: 20px; height: 20px; }
@media (min-width: 640px) { .growth { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .growth { grid-template-columns: repeat(3, 1fr); } }

/* Reporting ----------------------------------------------------------------- */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 30px; }
.kpis div { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.kpis strong { display: block; color: var(--ink); font-size: 1rem; }
.kpis span { font-size: .88rem; color: var(--muted); line-height: 1.45; display: block; }

/* Testimonials -------------------------------------------------------------- */
.quotes { display: grid; gap: 18px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.quote__stars { color: #f5a524; letter-spacing: 2px; font-size: 1rem; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 20px; color: var(--ink); font-size: 1.02rem; font-weight: 500; }
.quote figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: .9rem; }
.quote figcaption b { display: block; color: var(--ink); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-tint); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; flex: none; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* Founder ------------------------------------------------------------------- */
.founder { display: grid; gap: 32px; align-items: center; background: linear-gradient(135deg, var(--bg-tint), #fff 70%); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.founder__mark { width: 128px; height: 128px; border-radius: 28px; background: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); }
.founder__mark svg { width: 72px; height: 66px; color: var(--brand); }
.founder blockquote { margin: 0 0 16px; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.3; color: var(--ink); letter-spacing: -.02em; }
.founder cite { font-style: normal; font-weight: 700; color: var(--ink); }
.founder cite span { font-weight: 500; color: var(--muted); }
@media (min-width: 820px) { .founder { grid-template-columns: auto 1fr; gap: 48px; } }

/* FAQ ----------------------------------------------------------------------- */
.faq-grid { display: grid; gap: 40px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.06rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 600; color: var(--ink); transition: .2s;
}
.faq details[open] summary::after { content: "–"; background: var(--brand); color: var(--navy); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq .answer p:last-child { margin: 0; }
@media (min-width: 940px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq-grid .section-head { position: sticky; top: 110px; align-self: start; } }

/* Articles ------------------------------------------------------------------ */
.posts { display: grid; gap: 18px; }
.post { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none !important; transition: .2s; }
.post:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post time { font-size: .82rem; font-weight: 700; color: var(--muted); }
.post h3 { margin: 10px 0 16px; font-size: 1.12rem; line-height: 1.35; }
.post .link-arrow { margin-top: auto; color: var(--brand-ink); font-size: .92rem; }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.posts-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* Contact / CTA ------------------------------------------------------------- */
.contact { display: grid; gap: 40px; }
.contact__info li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact__info svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.contact__info a { color: #fff; }
.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.form h3 { margin-bottom: 4px; color: var(--ink); }
.form .muted { color: var(--muted); font-size: .92rem; }
.form__grid { display: grid; gap: 14px; margin-top: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(5,176,252,.15); }
.field textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; margin-top: 6px; }
.form small { display: block; font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
@media (min-width: 940px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }

/* Footer -------------------------------------------------------------------- */
.footer { background: #050d1c; color: #93a3bd; font-size: .93rem; padding: 64px 0 28px; }
.footer a { color: #c7d3e6; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand span b { color: var(--brand); }
.footer__grid { display: grid; gap: 36px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer li { padding: 5px 0; }
.footer__areas { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; line-height: 1.7; }
.footer__bottom { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; }
.social svg { width: 17px; height: 17px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1020px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* AI chat widget (UI shell — wired to /chatbot backend later) ---------------- */
.chat-launch {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .92rem;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.chat-launch .bot { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.chat-launch .bot svg { width: 26px; height: 24px; color: var(--navy); }
.chat-launch .dot { position: absolute; left: 38px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #2ee59d; border: 2px solid var(--ink); }
.chat-open .chat-launch { display: none; }
.chat {
  position: fixed; right: 18px; bottom: 18px; z-index: 61; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 40px));
  display: none; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(8,20,41,.45); overflow: hidden; border: 1px solid var(--line);
}
.chat-open .chat { display: flex; }
.chat__head { background: var(--navy); color: #fff; padding: 16px 16px 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat__head .bot { width: 38px; height: 38px; border-radius: 12px; background: rgba(5,176,252,.16); display: grid; place-items: center; }
.chat__head .bot svg { width: 26px; height: 24px; color: var(--brand); }
.chat__head strong { display: block; font-size: .98rem; }
.chat__head span { font-size: .78rem; color: #9fb0cb; }
.chat__reset { margin-left: auto; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 1rem; }
.chat__close { margin-left: 6px; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; }
.chat__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.msg--me { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: .84rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1px solid #bfe4f7; background: #fff; color: var(--brand-ink); cursor: pointer; }
.chips button:hover { background: var(--bg-tint); }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; font: inherit; font-size: .95rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); }
.chat__form input:focus { outline: none; border-color: var(--brand); }
.chat__form button { border: 0; border-radius: 12px; width: 46px; background: var(--brand); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.chat__form button svg { width: 18px; height: 18px; }
.chat__foot { font-size: .7rem; text-align: center; color: var(--muted); padding: 0 12px 10px; }
@media (max-width: 520px) { .chat-launch .label { display: none; } .chat-launch { padding: 8px; } }

/* Reveal on scroll ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Inner pages (CMS)
   ========================================================================== */
.nav a.is-active, .nav button.is-active { color: var(--brand-ink); }
.menu__inline { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; padding: 0 4px 4px; }
.menu__inline a { padding: 8px 10px; font-size: .88rem; font-weight: 600; border-radius: 10px; }
.menu__inline a:hover { background: var(--bg-soft); }
.topbar__dash { color: var(--brand) !important; font-weight: 700; }
@media (max-width: 640px) { .topbar__email { display: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.page-hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--bg-tint), #fff); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; background: radial-gradient(closest-side, rgba(5,176,252,.14), transparent); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 22ch; }
.page-hero--compact h1 { max-width: 28ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .hero__ctas { margin: 26px 0 0; }
.page-hero__grid { display: grid; gap: 36px; align-items: center; }
.page-hero__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 940px) { .page-hero__grid { grid-template-columns: 1.25fr .75fr; gap: 56px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-ink); }
.crumbs .sep { opacity: .5; }
.crumbs span[aria-current] { color: var(--ink-2); }

/* Photo header: greyed-out photo under a navy gradient, blueprint grid and brand glow */
.page-hero--bg { background: var(--navy); color: #c7d3e6; border-bottom: 0; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.page-hero__photo { position: absolute; inset: 0; z-index: 0; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .38; }
.page-hero--bg .wrap { z-index: 2; }
.page-hero--bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,20,41,.96) 0%, rgba(8,20,41,.82) 45%, rgba(8,20,41,.45) 100%),
    linear-gradient(rgba(5,176,252,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(5,176,252,.07) 1px, transparent 1px) 0 0 / 48px 48px;
}
.page-hero--bg::after { background: radial-gradient(closest-side, rgba(5,176,252,.22), transparent); z-index: 1; }
.page-hero--bg h1 { color: #fff; }
.page-hero--bg .lead { color: #b9c6db; }
.page-hero--bg .eyebrow { color: var(--brand); }
.page-hero--bg .crumbs, .page-hero--bg .crumbs a { color: #9fb0cb; }
.page-hero--bg .crumbs a:hover { color: #fff; }
.page-hero--bg .crumbs span[aria-current] { color: #e3ebf7; }
.page-hero--bg .cat-pills a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #e3ebf7; }
.page-hero--bg .cat-pills a span { color: #9fb0cb; }
.page-hero--bg .cat-pills a:hover { border-color: var(--brand); }
.page-hero--bg .cat-pills a.is-active { background: var(--brand); border-color: var(--brand); color: var(--navy); }
.page-hero--bg .cat-pills a.is-active span { color: var(--navy-2); }

.hl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.hl-card__title { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.hl-card ul { display: grid; gap: 12px; }
.hl-card li { display: flex; gap: 10px; font-weight: 600; color: var(--ink); font-size: .96rem; line-height: 1.45; }
.hl-card--side { box-shadow: none; margin-top: 18px; }

.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.content-narrow { max-width: 820px; }
.content-grid { display: grid; gap: 40px; }
@media (min-width: 1020px) { .content-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.side-cta { align-self: start; }
@media (min-width: 1020px) { .side-cta { position: sticky; top: 100px; } }
.side-cta__card { background: var(--navy); color: #c7d3e6; border-radius: var(--radius-lg); padding: 28px; }
.side-cta__card h2 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.side-cta__card p { font-size: .95rem; }
.side-cta__card .btn { width: 100%; }
.side-cta__bot { width: 44px; height: 40px; color: var(--brand); margin-bottom: 14px; }
.side-cta__phone { display: block; text-align: center; margin-top: 14px; color: #fff; font-weight: 700; }

/* Long-form content (pages + imported WordPress articles) */
.prose { color: var(--ink-2); font-size: 1.06rem; line-height: 1.75; min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.prose h2 a:not([href]), .prose h3 a:not([href]) { color: inherit; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose figure { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand-ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(2,114,176,.35); }
.prose strong { color: var(--ink); }
.prose img { border-radius: 14px; height: auto; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { border-left: 4px solid var(--brand); background: var(--bg-tint); padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .callout { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 0 0 1.2em; }
.prose .wp-block-image, .prose .wp-block-embed { margin: 0 0 1.2em; }
.prose iframe { max-width: 100%; border: 0; border-radius: 12px; }

/* Articles */
.article__head { padding: clamp(32px, 5vw, 60px) 0 24px; background: linear-gradient(180deg, var(--bg-tint), #fff); }
.article__head h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.article__head .lead { margin-bottom: 18px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; font-weight: 600; color: var(--muted); margin: 0; }
.article__meta > * + *::before { content: "·"; margin-right: 18px; opacity: .6; }
.article .article__img { margin: 8px auto 36px; }
.article__img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.article .content-narrow { margin: 0 auto; }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 40px 0 64px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid #cfe9f8; }
.article__cta svg { width: 40px; height: 37px; color: var(--brand-ink); flex: none; }
.article__cta div { flex: 1 1 260px; }
.article__cta strong { display: block; color: var(--ink); }
.article__cta span { font-size: .93rem; color: var(--muted); }

/* Blog index */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cat-pills a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.cat-pills a span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.cat-pills a:hover { border-color: var(--brand); }
.cat-pills a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-pills a.is-active span { color: #9fb0cb; }
.post-grid { display: grid; gap: 22px; }
@media (min-width: 680px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__img { display: block; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--bg-tint), #fff); }
.post-card__ph svg { width: 64px; height: 58px; color: var(--brand); opacity: .6; }
.post-card__body { padding: 20px 22px 24px; }
.post-card__meta { display: flex; gap: 10px; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.post-card__meta span { color: var(--brand-ink); text-transform: uppercase; letter-spacing: .06em; }
.post-card h2 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 8px; }
.post-card h2 a { color: var(--ink); }
.post-card p { font-size: .93rem; color: var(--muted); margin: 0; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.pager a, .pager span { min-width: 42px; padding: 9px 13px; border-radius: 10px; border: 1px solid var(--line); text-align: center; font-weight: 700; font-size: .92rem; color: var(--ink-2); text-decoration: none; }
.pager span[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager a:hover { border-color: var(--brand); }
.empty { padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius-lg); text-align: center; color: var(--muted); background: #fff; }
.services--list .svc h3 a { color: var(--ink); }
.svc--feature h3 a { color: #fff; }

/* Contact page map */
.map-card { display: grid; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); background: #fff; }
.map-card iframe { width: 100%; min-height: 300px; border: 0; border-radius: 16px; background: var(--bg-soft); }
@media (min-width: 860px) { .map-card { grid-template-columns: .8fr 1.2fr; } }
.muted { color: var(--muted); }

/* Alerts + small UI */
.alert { padding: 14px 16px; border-radius: 12px; margin: 0 0 18px; font-weight: 600; font-size: .95rem; }
.alert--success { background: #e7f8f0; color: #0b6b45; border: 1px solid #bfead6; }
.alert--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.alert--info { background: var(--bg-tint); color: var(--ink-2); border: 1px solid #cfe9f8; font-weight: 500; }
.form__ok { padding: 18px; border-radius: 14px; background: #e7f8f0; color: #0b6b45; font-weight: 700; margin-top: 18px; }
.btn--block { width: 100%; }
.btn--danger { background: #fff; color: #b42318; border-color: #f2c4c0; }
.btn--danger:hover { background: #b42318; color: #fff; border-color: #b42318; }
.btn:disabled { opacity: .6; cursor: progress; }
.check-row { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: .95rem; margin: 6px 0 14px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--brand-ink); }
.help { font-size: .8rem; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.stack { display: grid; gap: 14px; }

/* Chat extras */
.msg a { color: var(--brand-ink); font-weight: 700; }
.msg--me a { color: #fff; }
.msg--typing { display: flex; gap: 4px; align-items: center; padding: 14px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat__form button:disabled { opacity: .5; }

/* Login */
.login-shell { min-height: 70vh; display: grid; place-items: center; padding: 48px var(--gutter); background: linear-gradient(180deg, var(--bg-tint), #fff); }
.login-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.login-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.login-card__bot { width: 48px; height: 44px; color: var(--brand); margin-bottom: 14px; }

/* ==========================================================================
   Dashboard
   ========================================================================== */
.page-dashboard { background: var(--bg-soft); }
.page-dashboard .footer { padding-top: 40px; }
.dash { padding: 32px 0 72px; }
.dash .wrap { max-width: 1320px; }
.dash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; }
.dash__head h1 { font-size: 2rem; margin: 0; }
.dash__head .eyebrow { margin-bottom: 4px; }
.dash__user { font-size: .9rem; color: var(--muted); margin: 0; }
.dash__tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; scrollbar-width: none; }
.dash__tabs a { padding: 12px 14px; font-weight: 700; font-size: .93rem; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.dash__tabs a:hover { color: var(--ink); }
.dash__tabs a.is-active { color: var(--ink); border-color: var(--brand); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--navy); font-size: .72rem; font-weight: 800; margin-left: 4px; }
.dash__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.dash__back { margin: 0 0 16px; font-weight: 700; font-size: .92rem; }
.search { display: flex; gap: 8px; }
.search input { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .92rem; min-width: 240px; background: #fff; }
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.subtabs a { padding: 7px 12px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); text-decoration: none; }
.subtabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.table .strong { font-weight: 700; color: var(--ink); }
.table .actions { text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.pill--ok { background: #e7f8f0; color: #0b6b45; }
.pill--brand { background: var(--bg-tint); color: var(--brand-ink); }
.pill--muted { background: #eef1f6; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.panel h3 { font-size: 1rem; margin-bottom: 14px; }
.panel + .panel { margin-top: 18px; }
.panel--form { max-width: 820px; }
.panel--form .form__grid { margin: 0 0 16px; }
.panel--wide { margin-top: 22px; }
.editor { display: grid; gap: 22px; }
@media (min-width: 1100px) { .editor { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.editor__main { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.editor__side .panel { padding: 20px; }
.editor__side .field, .panel--form .field { margin-bottom: 14px; }
.editor .field label, .panel .field label { display: flex; justify-content: space-between; gap: 8px; }
.dash .field input, .dash .field select, .dash .field textarea, .login-card .field input { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.dash .field input:focus, .dash .field select:focus, .dash .field textarea:focus, .login-card .field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(5,176,252,.15); }
.dash .field label, .login-card .field label { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.dash textarea { resize: vertical; }
.dash textarea.mono { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; }
.dash textarea.rte { min-height: 480px; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.counter { font-weight: 700; color: var(--muted); font-size: .75rem; }
.counter.is-good { color: var(--ok); }
.counter.is-over { color: #b42318; }
.serp { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 14px; font-family: Arial, sans-serif; background: #fff; }
.serp__url { display: block; font-size: 12px; color: #4d5156; margin-bottom: 4px; }
.serp__title { display: block; color: #1a0dab; font-size: 18px; line-height: 1.3; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #4d5156; font-size: 13px; line-height: 1.5; }
.img-field { display: flex; gap: 8px; }
.img-field input { flex: 1; }
.img-preview { margin-top: 10px; max-height: 140px; width: auto; border-radius: 10px; border: 1px solid var(--line); }
.danger-zone { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); }
.faq-list { display: grid; gap: 8px; }
.faq-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.lead-view { display: grid; gap: 20px; }
@media (min-width: 980px) { .lead-view { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.lead-view .panel + .panel { margin-top: 0; }
.lead-view__name { font-size: 1.4rem; }
.lead-view__msg { background: var(--bg-soft); border-radius: 12px; padding: 16px; }
.dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; margin: 0 0 22px; font-size: .93rem; }
.dl dt { color: var(--muted); font-weight: 700; }
.dl dd { margin: 0; }
.transcript { display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.transcript .msg { max-width: 80%; }
.transcript time { display: block; font-size: .7rem; opacity: .6; margin-top: 4px; }

/* ==========================================================================
   Free Website Audit
   ========================================================================== */
.menu .menu__promo { grid-column: 1 / -1; display: grid !important; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; margin-top: 6px; background: var(--bg-tint); border: 1px solid #cfe9f8; }
.menu .menu__promo:hover { background: #e2f4ff; }
.menu__promo-tag { grid-row: span 2; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--brand); color: var(--navy); padding: 5px 9px; border-radius: 999px; }
.mobile-nav .sub .sub__promo { color: var(--brand-ink); font-weight: 800; }
.sub__promo span { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--brand); color: var(--navy); padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

.audit-hero .crumbs, .audit-hero .crumbs a { color: #9fb0cb; }
.audit-hero .crumbs span[aria-current] { color: #e3ebf7; }
.audit-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.audit-points { display: grid; gap: 12px; margin-top: 26px; }
.audit-points li { display: flex; gap: 12px; color: #c7d3e6; }
.audit-points svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.audit-points strong { color: #fff; }
.form .audit-form__title { color: var(--ink); font-size: 1.35rem; margin-bottom: 4px; }
.audit-form .alert { margin: 14px 0 0; }
.audit-progress { text-align: center; padding: 10px 4px; }
.audit-limit { text-align: center; }
.audit-limit .audit-progress__ring::after { display: none; }
.audit-limit p { color: var(--ink-2); }
.audit-limit .btn { width: 100%; margin-top: 8px; }
.audit-progress__ring { width: 84px; height: 84px; margin: 6px auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); position: relative; }
.audit-progress__ring::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--brand); animation: spin 1s linear infinite; }
.audit-progress__ring svg { width: 46px; height: 42px; color: var(--brand-ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.audit-steps { list-style: none; padding: 0; margin: 18px auto; max-width: 300px; text-align: left; display: grid; gap: 8px; }
.audit-steps li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; }
.audit-steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; box-sizing: border-box; }
.audit-steps li.is-active { color: var(--ink); }
.audit-steps li.is-active::before { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.audit-steps li.is-done { color: var(--ink-2); }
.audit-steps li.is-done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.audit-cats { display: grid; gap: 18px; }
@media (min-width: 700px) { .audit-cats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .audit-cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .process--3 { grid-template-columns: repeat(3, 1fr); } }

.audit-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #c7d3e6; text-decoration: none !important; box-shadow: var(--shadow); }
.audit-promo__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(5,176,252,.16); color: var(--brand); display: grid; place-items: center; flex: none; }
.audit-promo__icon svg { width: 26px; height: 26px; }
.audit-promo__text { flex: 1 1 320px; }
.audit-promo__text strong { display: block; color: #fff; font-size: 1.1rem; }
.audit-promo__text span { font-size: .95rem; }

/* Report */
.report-hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .report-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.report-domain { color: var(--brand); word-break: break-word; }
.t-fail { color: #ff8a8d; } .t-warn { color: #ffc861; } .t-pass { color: #5be0a8; }
.scorecard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 22px; justify-items: center; backdrop-filter: blur(6px); }
.ring { --pct: 0; --ring: var(--brand); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring) calc(var(--pct) * 1%), rgba(127,140,160,.22) 0); flex: none; }
.ring > div { border-radius: 50%; display: grid; place-items: center; text-align: center; line-height: 1; }
.ring--lg { width: 170px; height: 170px; }
.ring--lg > div { width: 138px; height: 138px; background: var(--navy); }
.ring--lg strong { font-size: 3rem; color: #fff; display: block; }
.ring--lg span { font-size: .85rem; color: #9fb0cb; font-weight: 700; display: block; margin-top: 6px; }
.ring--sm { width: 56px; height: 56px; }
.ring--sm > div { width: 44px; height: 44px; background: #fff; }
.ring--sm strong { font-size: 1rem; color: var(--ink); }
.cat-scores { width: 100%; display: grid; gap: 12px; }
.cat-scores li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .9rem; color: #c7d3e6; font-weight: 600; }
.cat-scores b { color: #fff; }
.cat-scores i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.cat-scores em { display: block; height: 100%; border-radius: 6px; }
.report { max-width: 880px; }
.report-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); margin-bottom: 40px; }
.report-summary h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.report-summary h3 { font-size: 1.05rem; margin-top: 22px; }
.priorities { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; counter-reset: pri; }
.priorities li { counter-increment: pri; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); }
.priorities li::before { content: counter(pri); grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.priorities strong { color: var(--ink); }
.priorities span { font-size: .95rem; color: var(--ink-2); }
.report-summary__close { margin: 18px 0 0; font-weight: 600; color: var(--ink); }
.report-cat { margin-bottom: 40px; }
.report-cat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.report-cat__head h2 { font-size: 1.45rem; margin: 0; }
.report-cat__head p { margin: 2px 0 0; }
.issue { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.issue--fail { border-left-color: #e5484d; }
.issue--warn { border-left-color: #f5a524; }
.issue__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.issue__head h3 { margin: 0; font-size: 1.08rem; }
.badge { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.badge--fail { background: #fdecec; color: #b42318; }
.badge--warn { background: #fff4dc; color: #8a5a00; }
.issue__finding { color: var(--ink); font-weight: 600; margin: 0 0 6px; }
.issue__why { color: var(--ink-2); font-size: .95rem; margin: 0 0 12px; }
.issue__fix { margin: 0; padding: 12px 14px; border-radius: 10px; background: #e7f8f0; color: #0b5a3b; font-size: .93rem; }
.issue__locked { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px dashed #c7d3e3; color: var(--muted); font-size: .9rem; text-decoration: none !important; }
.issue__locked:hover { border-color: var(--brand); color: var(--brand-ink); }
.issue__locked svg { width: 18px; height: 18px; flex: none; }
.issue__locked strong { color: var(--ink); }
.passed { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.passed summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--ok); }
.passed ul { display: grid; gap: 10px; padding-bottom: 14px; }
.passed li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.passed li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.report-next { margin-top: 10px; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid #cfe9f8; }
.report-next h2 { font-size: 1.35rem; }
