/* Logos Digital Agency — site.css
   Built from DESIGN.md. Tokens first, then base, components, pages. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-var.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "Plex"; src: url("../fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --tint: #eef3f9;
  --tint-2: #dde6f1;
  --ink: #1a1c20;
  --ink-2: #4b5668;
  --blue: #3167aa;
  --blue-deep: #24508a;
  --blue-soft: #9dbbe3;
  --navy: #0f2440;
  --navy-2: #163258;
  --red: #c8102e;          /* errors only */
  --cta: #1a7f4b;          /* the free-audit CTA (green, per Michael) */
  --cta-deep: #136339;
  --rule: #d6dee8;
  --rule-dark: rgba(255,255,255,.14);
  --ok: #276749;
  --warn: #8a5a0e;
  --focus: #3167aa;

  --serif: "Newsreader", "Times New Roman", Times, Georgia, serif;
  --sans: "Plex", "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --r-ctl: 6px;
  --r-card: 12px;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
}
::selection { background: var(--blue); color: #fff; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s2); top: -100px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r-ctl); z-index: 100; }
.skip:focus { top: var(--s2); }
.skip:hover, .skip:focus { color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 var(--s2); letter-spacing: -0.012em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 1.55rem + 3.4vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.75rem); margin-top: 0; }
h3 { font-size: 1.5rem; letter-spacing: -0.006em; }
h4 { font-size: 1.25rem; letter-spacing: 0; }
.h3 { font-size: 1.5rem; letter-spacing: -0.006em; }
.eyebrow { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 58ch; }
.measure { max-width: 62ch; }
.small { font-size: .9375rem; }
.muted { color: var(--ink-2); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 88px 0; }
.section-tight { padding: var(--s6) 0; }
.band-tint { background: var(--tint); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .muted, .band-navy .lede { color: var(--blue-soft); }
.band-navy a { color: #fff; }
.band-navy a:hover { color: var(--blue-soft); }
.band-navy ::selection { background: #fff; color: var(--navy); }
.band-navy :focus-visible { outline-color: #fff; }

.section-head { max-width: 62ch; margin-bottom: var(--s5); }
.section-head h2 { margin-bottom: var(--s2); }
.section-head p { margin: 0; color: var(--ink-2); font-size: 1.125rem; }
.band-navy .section-head p { color: var(--blue-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-ctl); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out, transform .1s ease-out;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-deep); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.band-navy .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.band-navy .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--tint); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn svg { width: 18px; height: 18px; }

.actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.actions .or { color: var(--ink-2); font-size: .9375rem; }
.band-navy .actions .or { color: var(--blue-soft); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s3); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--r-ctl);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem; background: none; border: 0;
}
.nav a:hover, .nav button:hover, .nav button[aria-expanded="true"] { background: var(--tint); color: var(--ink); }
.nav a[aria-current="page"], .nav button.is-current { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav button svg { width: 14px; height: 14px; transition: transform .18s ease-out; }
.nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; padding: 8px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card);
  display: none; z-index: 60;
}
.menu[data-open="true"] { display: block; }
.menu li { list-style: none; }
.menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: var(--r-ctl); font-weight: 500; text-align: left; }
.menu a span { font-weight: 400; font-size: .875rem; color: var(--ink-2); }
.menu a:hover { background: var(--tint); }
.menu .menu-cta { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--rule); }
.menu .menu-cta a { color: var(--cta); }
.header-right { display: flex; align-items: center; gap: var(--s2); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 8px 10px; border-radius: var(--r-ctl); }
.header-phone:hover { background: var(--tint); color: var(--ink); }
.header-phone svg { width: 18px; height: 18px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid var(--rule); border-radius: var(--r-ctl); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile nav panel */
.mobile-nav { display: none; }
@media (max-width: 1023px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); z-index: 49; overflow-y: auto;
    padding: var(--s3) var(--gutter) calc(var(--s6) + 72px);
  }
  .mobile-nav[data-open="true"] { display: block; }
  .mobile-nav .group { padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
  .mobile-nav .group:last-child { border-bottom: 0; }
  .mobile-nav .group-title { font-family: var(--serif); font-size: 1.375rem; margin: 0 0 8px; }
  .mobile-nav ul { list-style: none; }
  .mobile-nav li a { display: block; padding: 12px 0; font-size: 1.0625rem; color: var(--ink); text-decoration: none; font-weight: 500; }
  .mobile-nav li a span { display: block; font-weight: 400; color: var(--ink-2); font-size: .9375rem; }
  .mobile-nav .mobile-cta { display: grid; gap: var(--s2); padding-top: var(--s3); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1023px) and (min-width: 700px) {
  .header-phone { display: inline-flex; }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.band-navy .field label { color: #fff; }
.input, select.input, textarea.input {
  width: 100%; max-width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r-ctl);
  background: var(--paper); color: var(--ink);
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
textarea.input { padding: 12px 14px; min-height: 120px; resize: vertical; }
.input::placeholder { color: #66707f; }
.input:hover { border-color: #b9c5d4; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,103,170,.18); }
.input[aria-invalid="true"] { border-color: var(--red); }
.band-navy .input { border-color: transparent; }
.field-error { font-size: .875rem; color: var(--red); display: none; }
.field[data-error="true"] .field-error { display: block; }
.band-navy .field-error { color: #ffb4bf; }
.form-note { font-size: .9375rem; color: var(--ink-2); margin: var(--s2) 0 0; }
.band-navy .form-note { color: var(--blue-soft); }
.form-note a { color: inherit; }
.form-note a[href^="tel:"] { white-space: nowrap; }
.form-note a:hover { color: inherit; }
.band-navy .form-note a:hover { color: #fff; }
.form-inline { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.form-inline .btn { min-height: 48px; }
.form-stack { display: grid; gap: var(--s3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-hp { position: absolute; left: -9999px; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--r-ctl); border: 1px solid var(--rule); margin-top: var(--s2); }
.form-status[data-show="true"] { display: block; }
.form-status.is-error { border-color: var(--red); color: var(--red); }
@media (max-width: 760px) {
  .form-inline { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; overflow: hidden; background:
  radial-gradient(ellipse 60% 70% at 78% 45%, #dbe8f9 0%, rgba(219,232,249,0) 70%),
  linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: center; }
.hero h1 { margin-bottom: var(--s3); max-width: 14ch; }
.hero .lede { margin-bottom: var(--s4); }
.hero-form { max-width: 640px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 24px; margin-left: -24px; box-shadow: 0 1px 2px rgba(15,36,64,.04), 0 16px 40px -18px rgba(15,36,64,.18); }
.hero-form .form-note { margin-top: 14px; }
.hero-form .input { padding: 0 12px; font-size: .9375rem; }
.hero-visual { display: flex; justify-content: center; position: relative; padding: 32px 0; }
.hero-visual::before { content: ""; position: absolute; top: 8%; bottom: 4%; left: -2%; right: -14%; border-radius: 32px; background: linear-gradient(140deg, #e3edfb 0%, #d3e3f7 100%); }
.hero-visual::after { content: ""; position: absolute; width: 70%; height: 70%; left: 2%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(120,168,232,.45) 0%, rgba(120,168,232,0) 70%); filter: blur(10px); }
.hero-visual .phone { z-index: 1; }
@media (max-width: 1023px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .hero h1 { max-width: 16ch; }
}
@media (max-width: 760px) {
  .hero { padding: var(--s5) 0 var(--s6); }
}

/* Phone mock (hero signature) */
.phone {
  box-shadow: 0 30px 60px -24px rgba(15,36,64,.45), 0 10px 24px -12px rgba(49,103,170,.35);
  width: 320px; max-width: 100%; background: var(--navy); border-radius: 36px; padding: 12px;
  position: relative;
}
.phone-screen { background: var(--paper); border-radius: 26px; padding: 18px 14px 22px; min-height: 500px; overflow: hidden; }
.srch {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .9375rem;
}
.srch svg { width: 18px; height: 18px; color: var(--ink-2); flex: none; }
.srch-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.srch-caret { width: 1.5px; height: 18px; background: var(--blue); animation: blink 1s steps(2) infinite; }
.phone.is-done .srch-caret { display: none; }
@keyframes blink { to { opacity: 0; } }

.pmap { margin: 14px 0 12px; height: 128px; border-radius: 10px; background: var(--tint); position: relative; overflow: hidden;
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease-out, transform .4s ease-out; }
.pmap svg { width: 100%; height: 100%; }
.pmap .road { stroke: #ffffff; stroke-width: 7; fill: none; stroke-linecap: round; }
.pmap .road-2 { stroke: var(--tint-2); stroke-width: 3; fill: none; }
.pmap .pin { fill: #9aa7b8; }
.pmap .pin-you { fill: var(--blue); transform-origin: 0 0; transform: scale(.6); opacity: 0; transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .2s; }
.pmap .pin-you-dot { fill: #fff; }
.phone.is-results .pmap { opacity: 1; transform: none; }
.phone.is-you .pmap .pin-you { transform: scale(1); opacity: 1; }

.plist { list-style: none; display: grid; gap: 8px; }
.plist li {
  border: 1px solid var(--rule); border-radius: 10px; padding: 12px 12px 10px;
  opacity: 0; transform: translateY(10px); transition: opacity .35s ease-out, transform .35s ease-out, border-color .25s, background-color .25s;
}
.plist li:nth-child(2) { transition-delay: .08s; }
.plist li:nth-child(3) { transition-delay: .16s; }
.phone.is-results .plist li { opacity: 1; transform: none; }
.plist .l-name { font-weight: 600; font-size: .9375rem; }
.plist .l-meta { font-size: .8125rem; color: var(--ink-2); margin-top: 2px; }
.plist .l-actions { display: flex; gap: 6px; margin-top: 10px; }
.plist .l-actions span { font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--blue); }
.plist .l-actions span.call { background: var(--blue); color: #fff; border-color: var(--blue); }
.plist .you { position: relative; }
.phone.is-you .plist .you { border-color: var(--blue); background: var(--tint); }
.plist .bar { height: 10px; border-radius: 5px; background: var(--tint-2); margin-top: 8px; }
.plist .bar.w60 { width: 60%; } .plist .bar.w40 { width: 40%; } .plist .bar.w75 { width: 75%; }
.plist .bar-name { height: 12px; width: 55%; border-radius: 6px; background: #c9d3e0; }
.plist .you .l-name::after {
  content: "You"; display: inline-block; margin-left: 8px; font-size: .6875rem; font-weight: 600; letter-spacing: .01em;
  color: #fff; background: var(--blue); padding: 2px 7px; border-radius: 999px; vertical-align: 2px;
  opacity: 0; transition: opacity .3s ease-out .1s;
}
.phone.is-you .plist .you .l-name::after { opacity: 1; }
.phone-caption { text-align: center; color: var(--ink-2); font-size: .875rem; margin-top: var(--s2); }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; padding: 10px 0; }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 16px var(--s3); border-left: 1px solid rgba(255,255,255,.18); font-weight: 600; font-size: 1rem; color: #fff; }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust li svg { width: 24px; height: 24px; color: var(--blue-soft); flex: none; }
@media (max-width: 1023px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { border-left: 0; padding-left: 0; padding: 14px 0; }
}
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } .trust li { padding: 10px 0; } }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.split.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split.split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 1023px) { .split, .split.split-5-7, .split.split-7-5 { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }

/* ---------- Audit report mock ---------- */
.report { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 22px; max-width: 520px; width: 100%; color: var(--ink); box-shadow: 0 1px 2px rgba(15,36,64,.04), 0 20px 44px -22px rgba(15,36,64,.22); }
.band-navy .report { border-color: transparent; }
.report-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.report-head img { height: 34px; width: auto; }
.report-head strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.report-head span { display: block; font-size: .8125rem; color: var(--ink-2); }
.tag { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.report-rows { list-style: none; }
.report-rows li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.report-rows .r-k { grid-column: 1; grid-row: 1; font-weight: 600; font-size: .9375rem; }
.report-rows .r-v { grid-column: 1; grid-row: 2; font-size: .875rem; color: var(--ink-2); }
.report-rows .r-s { grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.r-s.warn { color: var(--warn); background: #fbf3e3; }
.r-s.ok { color: var(--ok); background: #e6f4ec; }
.r-s.info { color: var(--blue); background: var(--tint); }
.report-foot { padding-top: 14px; }
.report-foot strong { font-size: .9375rem; display: block; margin-bottom: 8px; }
.report-foot .line { height: 10px; border-radius: 5px; background: var(--tint-2); margin-top: 8px; }
.report-foot .line.w80 { width: 80%; } .report-foot .line.w65 { width: 65%; } .report-foot .line.w90 { width: 90%; }

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; }
.checklist li svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.band-navy .checklist li svg { color: var(--blue-soft); }
.checklist li strong { font-weight: 600; }
.checklist li span { display: block; color: var(--ink-2); font-size: .9375rem; }
.band-navy .checklist li span { color: var(--blue-soft); }

/* ---------- Three vendors vs Logos (comparison table; replaced the flowchart in v1.2) ---------- */
.compare-split { align-items: center; }
.compare-split .section-head { margin-bottom: 0; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--tint-2); }
.compare thead th { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; color: var(--navy); border-bottom: 0; padding-top: 18px; }
.compare thead td { border-bottom: 0; }
.compare thead th { vertical-align: bottom; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.compare .c-them { color: var(--ink-2); }
.compare thead .c-them { color: var(--ink-2); }
.compare .cell { display: flex; align-items: flex-start; gap: 8px; }
.compare td { white-space: normal; }
.compare td svg { width: 18px; height: 18px; display: inline-block; flex: none; margin-top: 3px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare .ic-x { stroke: #9aa7b8; }
.compare .ic-ok { stroke: #8fe0b4; }
.compare .c-us { background: var(--navy); color: #fff; font-weight: 600; border-bottom-color: rgba(255,255,255,.12); }
.compare thead .c-us { color: #fff; border-radius: var(--r-card) var(--r-card) 0 0; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child .c-us { border-radius: 0 0 var(--r-card) var(--r-card); }

/* ---------- Service rows ---------- */
.svc-rows { display: grid; gap: var(--s3); }
.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: center; border-top: 1px solid var(--rule); padding-top: var(--s5); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row h3 { margin-bottom: 8px; }
.svc-row p { color: var(--ink-2); max-width: 52ch; }
.svc-row .link { font-weight: 600; }
@media (max-width: 860px) { .svc-row { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } }

/* Mini mocks */
.mock { border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); padding: 18px; max-width: 460px; box-shadow: 0 1px 2px rgba(15,36,64,.04), 0 18px 40px -22px rgba(15,36,64,.2); }
.band-tint .mock { border-color: var(--tint-2); }
.mock .bar { height: 10px; border-radius: 5px; background: var(--tint-2); margin-top: 8px; }
.mock .bar.w90 { width: 90%; } .mock .bar.w70 { width: 70%; } .mock .bar.w50 { width: 50%; } .mock .bar.w30 { width: 30%; }

.mock-snippet .srch { margin-bottom: 14px; }
.mock-snippet .result { padding: 12px; border-radius: 8px; background: var(--tint); }
.mock-snippet .url { font-size: .75rem; color: var(--ink-2); }
.mock-snippet .title { color: var(--blue); font-weight: 600; font-size: 1rem; margin-top: 2px; }
.mock-snippet .pos { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .75rem; font-weight: 600; color: var(--blue); }
.mock-snippet .pos i { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-size: .6875rem; text-align: center; line-height: 18px; }

.mock-article .kicker { display: flex; gap: 8px; align-items: center; font-size: .75rem; color: var(--ink-2); font-weight: 600; }
.mock-article .kicker b { color: var(--blue); font-weight: 600; }
.mock-article .headline { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; line-height: 1.3; margin: 10px 0 6px; }
.mock-article .ranks { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.mock-article .ranks span { font-size: .75rem; padding: 4px 9px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }

.mock-ad .ad-head { display: flex; align-items: center; gap: 10px; }
.mock-ad .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .875rem; }
.mock-ad .ad-head strong { display: block; font-size: .9375rem; }
.mock-ad .ad-head span { font-size: .75rem; color: var(--ink-2); }
.mock-ad .ad-img { margin: 12px 0; height: 120px; border-radius: 8px; background: var(--tint); display: grid; place-items: center; color: var(--blue); }
.mock-ad .ad-img svg { width: 56px; height: 56px; }
.mock-ad .ad-text { font-weight: 600; font-size: 1rem; }
.mock-ad .ad-cta { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--tint); font-size: .8125rem; color: var(--ink-2); }
.mock-ad .ad-cta span.b { font-weight: 600; color: var(--ink); padding: 6px 12px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }

/* ---------- Industry queries ---------- */
.queries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.query { display: block; min-width: 0; text-decoration: none; color: var(--ink); border: 1px solid var(--tint-2); background: var(--paper); border-radius: var(--r-card); padding: 20px; transition: border-color .15s ease-out; }
.query:hover { border-color: var(--blue); color: var(--ink); }
.query .q-label { font-weight: 600; font-size: .9375rem; display: block; margin-bottom: 10px; }
.query .srch { font-family: var(--sans); }
.query .q-note { display: block; margin-top: 10px; font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 700px) { .queries { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 1px; background: var(--rule-dark); }
.steps li { position: relative; padding-top: 52px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); border: 1px solid rgba(255,255,255,.5); color: #fff; font-weight: 600; display: grid; place-items: center; font-size: .9375rem;
}
.steps li:first-child::before { background: #fff; border-color: #fff; color: var(--navy); } /* v1.4: green is kept for buttons you can click */
.steps strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.375rem; margin-bottom: 4px; }
.steps span { color: var(--blue-soft); font-size: .9375rem; }
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr; gap: var(--s3); }
  .steps::before { left: 18px; right: auto; top: 18px; bottom: 18px; width: 1px; height: auto; }
  .steps li { padding-top: 0; padding-left: 56px; min-height: 36px; }
}

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: center; }
.founder-photo { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--rule); max-width: 440px; }
.founder-photo img { width: 100%; height: auto; }
.founder h2 { max-width: 16ch; }
.word { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--serif); margin: var(--s2) 0 0; color: var(--ink-2); }
.word b { font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.word i { font-style: normal; font-family: var(--sans); font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 1023px) { .founder { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

/* ---------- FAQ ---------- */
.faq { list-style: none; border-top: 1px solid var(--rule); }
.band-tint .faq { border-color: var(--tint-2); }
.faq li { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.band-tint .faq li { border-color: var(--tint-2); }
.faq details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 0; font-weight: 600; font-size: 1.0625rem; }
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary svg { width: 20px; height: 20px; flex: none; color: var(--blue); transition: transform .18s ease-out; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details summary:hover { color: var(--blue-deep); }
.faq .answer { padding: 14px 0 0; color: var(--ink-2); max-width: 62ch; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s6); align-items: start; }
@media (max-width: 1023px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

/* ---------- Closing band ---------- */
.closing h2 { max-width: 18ch; }
.closing .form-inline { max-width: 720px; }

/* ---------- Footer ---------- */
.footer { background: #0a1a30; color: #c9d3e0; padding: var(--s6) 0 var(--s4); border-top: 1px solid rgba(255,255,255,.08); } /* v1.4: deep navy — matches the navy bands instead of a charcoal seam */
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: var(--s5); }
.footer-brand img { height: 52px; width: auto; margin-bottom: var(--s2); }
.footer-brand p { color: #a9b5c5; max-width: 34ch; font-size: .9375rem; }
.footer h4 { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: .9375rem; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; color: #a9b5c5; }
.footer-bottom ul { display: flex; gap: var(--s3); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }


/* ---------- Sticky mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 899px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); }
  .mobile-bar .btn { min-height: 48px; }
  body { padding-bottom: 72px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0; border-bottom: 1px solid var(--rule); background:
  radial-gradient(ellipse 55% 80% at 82% 40%, #dbe8f9 0%, rgba(219,232,249,0) 70%),
  linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: center; }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); max-width: 16ch; }
.page-hero .lede { margin-bottom: var(--s4); }
.page-hero.no-visual .wrap { grid-template-columns: 1fr; }
.page-hero.no-visual h1 { max-width: 20ch; }
.page-hero .mock { justify-self: center; }
@media (max-width: 1023px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .page-hero .mock { justify-self: start; } }

/* ---------- Included list (service pages) ---------- */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s6); }
.included > div { border-top: 1px solid var(--rule); padding-top: var(--s2); }
.included h3 { font-size: 1.25rem; margin-bottom: 6px; }
.included p { color: var(--ink-2); margin: 0; font-size: 1rem; }
@media (max-width: 760px) { .included { grid-template-columns: minmax(0, 1fr); } }

/* Numbered process (service pages: a real sequence) */
.process { list-style: none; display: grid; gap: var(--s2); counter-reset: p; }
.process li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s2); align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); counter-increment: p; }
.process li::before { content: counter(p); font-family: var(--serif); font-size: 1.5rem; color: var(--blue); }
.process li:last-child { border-bottom: 1px solid var(--rule); }

/* Callout */
.callout { border: 1px solid var(--rule); border-left: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s3) var(--s4); background: var(--tint); }
.callout h3 { font-size: 1.375rem; }
.callout p:last-child { margin-bottom: 0; }
.callout p { color: var(--ink-2); }

/* Two-column text */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 860px) { .cols-2 { grid-template-columns: minmax(0, 1fr); } }

/* Industry sections (who we serve) */
.industry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; padding: var(--s5) 0; border-top: 1px solid var(--rule); }
.industry:first-of-type { border-top: 0; padding-top: 0; }
.industry .query { max-width: 460px; }
.industry h2 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); }
.industry .fits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.industry .fits span { font-size: .875rem; font-weight: 600; color: var(--blue); background: var(--tint); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) { .industry { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.contact-ways { display: grid; gap: var(--s2); }
.way { border: 1px solid var(--rule); border-radius: var(--r-card); padding: 20px; display: grid; gap: 4px; }
.way strong { font-size: 1rem; }
.way a { font-size: 1.125rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.way a:hover { text-decoration: underline; }
.way span { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

/* Legal pages */
.legal { max-width: 68ch; }
.legal h2 { font-size: 1.5rem; margin-top: var(--s5); }
.legal h3 { font-size: 1.125rem; font-family: var(--sans); font-weight: 600; margin-top: var(--s3); }
.legal ul { list-style: disc; padding-left: 1.25em; margin-bottom: var(--s2); color: var(--ink-2); }
.legal p { color: var(--ink-2); }

/* Simple centered page (thank-you, 404) */
.center-page { text-align: center; padding: var(--s8) 0; }
.center-page h1 { margin-left: auto; margin-right: auto; }
.center-page .lede { margin-left: auto; margin-right: auto; }
.center-page .actions { justify-content: center; }


/* ---------- Tablet / phone tightening ---------- */
@media (max-width: 899px) { .header-right .btn-cta { display: none; } }
@media (max-width: 1023px) {
  .hero { padding: 56px 0 72px; }
  .hero-form { margin-left: 0; }
  .hero-visual::before { left: 8%; right: 8%; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 1rem; }
  h1 { font-size: 2.25rem; line-height: 1.06; }
  h2 { font-size: 1.75rem; line-height: 1.12; }
  h3 { font-size: 1.3125rem; }
  .lede { font-size: 1.0625rem; }
  .eyebrow { font-size: .75rem; margin-bottom: 12px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 1rem; }
  .brand img { height: 38px; }
  .header .wrap { gap: 12px; }
  .header-right { gap: 8px; }
  .nav-toggle { width: 44px; height: 44px; }

  .hero { padding: 32px 0 48px; }
  .hero .wrap { gap: 32px; }
  .hero h1 { margin-bottom: 14px; }
  .hero .lede { margin-bottom: 20px; }
  .hero-form { padding: 16px; border-radius: 14px; }
  .form-inline { gap: 10px; }
  .field label { font-size: .8125rem; }
  .input, select.input { min-height: 46px; }
  .hero-visual { padding: 20px 0; }
  .hero-visual::before { top: 6%; bottom: 6%; left: 4%; right: 4%; border-radius: 24px; }
  .phone { width: 284px; border-radius: 30px; padding: 10px; }
  .phone-screen { min-height: 0; border-radius: 22px; padding: 14px 12px 16px; }
  .srch { padding: 10px 12px; font-size: .8125rem; gap: 8px; }
  .srch svg { width: 16px; height: 16px; }
  .plist .l-meta { font-size: .75rem; }
  .pmap { height: 96px; margin: 10px 0; }
  .plist li { padding: 10px; }
  .plist li:nth-child(3) { display: none; }

  .trust { padding: 6px 0; }
  .trust ul { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .trust li { padding: 10px 0; border-left: 0; font-size: .875rem; gap: 8px; line-height: 1.3; }
  .trust li svg { width: 20px; height: 20px; }

  .checklist { gap: 12px; }
  .checklist li { font-size: 1rem; }
  .report { padding: 16px; }
  .report-rows li { padding: 10px 0; }
  .svc-rows { gap: 8px; }
  .svc-row { padding-top: 32px; gap: 18px; }
  .mock { padding: 14px; }
  .queries { gap: 12px; }
  .query { padding: 16px; }
  .steps { gap: 18px; }
  .steps strong { font-size: 1.1875rem; }
  .founder { gap: 24px; }
  .founder-photo { max-width: 260px; }
  .faq details summary { font-size: 1rem; }
  .faq li { padding: 14px 0; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 2.125rem; }
  .included { gap: 20px; }
  .callout { padding: 20px; }
  .way { padding: 16px; }
  .center-page { padding: 72px 0; }
  .hide-sm { display: none; }

  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 32px; }
  .mobile-bar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { min-height: 46px; }
}

/* ======================================================================
   v1.2 — phone pass (Oct 19). The phone page is its own edit, not a squeezed desktop:
   heading before visual, no duplicated content, compact mocks, full-width buttons,
   17px body, 16px inputs (no iOS zoom), labeled Menu, bar that appears after the hero.
   ====================================================================== */
.show-sm { display: none; }
.nav-toggle-label { font-weight: 600; font-size: .9375rem; }
.nav-toggle .l-close, .nav-toggle[aria-expanded="true"] .l-open { display: none; }
.nav-toggle[aria-expanded="true"] .l-close { display: inline; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.report-col { display: flex; flex-direction: column; align-items: center; gap: var(--s3); }

/* Sticky header hides on scroll-down, returns on scroll-up (phones/tablets only; JS adds the class) */
@media (max-width: 1023px) {
  .header { transition: transform .3s ease-out; }
  .header.is-tucked { transform: translateY(-100%); }
  .nav-toggle { width: auto; padding: 0 14px 0 12px; gap: 8px; }
}
/* Bottom bar slides in once the hero is off-screen, and gets out of the way at the closing form/footer */
@media (max-width: 899px) {
  body { padding-bottom: 0; }
  .js .mobile-bar { transform: translateY(110%); transition: transform .25s ease-out; box-shadow: 0 -6px 20px -12px rgba(15,36,64,.25); }
  .js body.bar-on .mobile-bar { transform: none; }
}

@media (max-width: 760px) {
  body { font-size: 1.0625rem; line-height: 1.55; }
  .input, select.input, textarea.input, .hero-form .input { font-size: 1rem; min-height: 48px; }
  h1 { font-size: 2.25rem; }
  .page-hero h1 { font-size: 2.125rem; }
  .lede { font-size: 1.0625rem; line-height: 1.5; }
  .section-head { margin-bottom: 24px; }
  .hide-sm { display: none !important; }
  .show-sm { display: grid; }

  /* Buttons: full width; two side by side split the row evenly */
  .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; }
  .actions:has(> .btn + .btn) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .actions .btn { width: 100%; padding: 0 12px; }
  .actions .or { text-align: center; grid-column: 1 / -1; }
  .founder .actions, .center-page .actions { grid-template-columns: minmax(0, 1fr) !important; }

  /* Header: logo + labeled Menu button */
  .brand img { height: 36px; }
  .nav-toggle { height: 44px; }

  /* Hero: the phone mock becomes a short result card under the form (no bezel, no backdrop) */
  .hero { padding: 28px 0 40px; }
  .hero .wrap { gap: 24px; }
  .hero h1 { margin-bottom: 12px; }
  .hero .lede { margin-bottom: 18px; }
  .hero-form { padding: 16px 16px 14px; }
  .hero-form .form-note { margin-top: 12px; font-size: .875rem; }
  .hero-visual { padding: 0; }
  .hero-visual::before, .hero-visual::after { display: none; }
  .phone { width: 100%; background: var(--paper); padding: 0; border-radius: 16px; border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(15,36,64,.04), 0 14px 32px -20px rgba(15,36,64,.3); }
  .phone-screen { border-radius: 16px; padding: 14px; }
  .pmap { height: 64px; margin: 10px 0; }
  .plist li:not(.you) { display: none; }

  /* Audit: the sample report IS the list on phones (checklist hidden), CTA follows it */
  .report-col { gap: 20px; align-items: stretch; }
  .report { max-width: none; }
  .split.split-5-7 { gap: 24px; }

  /* Comparison table */
  .compare-split { gap: 20px !important; }
  .compare { font-size: .9375rem; }
  .compare th, .compare td { padding: 12px 10px; line-height: 1.35; }
  .compare thead th { font-size: 1.125rem; padding-top: 14px; }
  .compare tbody th { width: 28%; font-size: .875rem; }
  .compare td svg { width: 15px; height: 15px; margin-top: 2px; }
  .compare .cell { gap: 6px; }

  /* Services: heading first, then a compact mock */
  .svc-rows { gap: 0; }
  .svc-row { gap: 16px; padding-top: 32px; margin-top: 32px; }
  .svc-row:first-child { margin-top: 0; }
  .svc-row > div:not(.mock) { order: -1; }
  .svc-row p { margin-bottom: 10px; }
  .mock { max-width: none; width: 100%; }
  .mock-snippet .bar, .mock-article .bar { display: none; }
  .mock-article .headline { font-size: 1.1875rem; margin: 8px 0 0; }
  .mock-article .ranks { margin-top: 12px; }
  .mock-article .ranks span:nth-child(n+3) { display: none; }
  .mock-ad .ad-img { height: 64px; margin: 10px 0; }
  .mock-ad .ad-img svg { width: 36px; height: 36px; }

  /* Industry query cards */
  .query { padding: 14px 16px; }
  .query .q-label { margin-bottom: 8px; }
  .query .q-note { font-size: .875rem; margin-top: 8px; }

  /* Who we serve: section title first, then its search, then the copy (no duplicate label) */
  .industry { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 40px 0; }
  .industry > div { display: contents; }
  .industry h2 { order: -2; margin-bottom: 14px; }
  .industry .query { order: -1; max-width: none; margin-bottom: 18px; }
  .industry .query .q-label { display: none; }
  .industry .query .q-note { margin-top: 8px; }

  /* Founder: full-width crop instead of a narrow portrait stranded on the left */
  .founder-photo { max-width: none; aspect-ratio: 5 / 4; }
  .founder-photo img { height: 100%; object-fit: cover; object-position: 50% 15%; }

  .process { gap: 0; }
  .process li { padding: 12px 0; grid-template-columns: 32px 1fr; }
  .hero h1 { text-wrap: wrap; }
  /* Steps a touch tighter */
  .steps { gap: 16px; }
  .steps span { font-size: .9375rem; }

  /* Footer: bigger tap targets */
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding: 9px 0; }
  .footer-bottom ul { gap: 24px; }
  .footer-bottom ul a { padding: 10px 0; }
  .footer-grid { gap: 24px 20px; }
  .way a { font-size: 1.0625rem; overflow-wrap: normal; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .phone .pmap, .phone .plist li, .phone .pmap .pin-you, .phone .plist .you .l-name::after { opacity: 1; transform: none; }
  .phone .plist .you { border-color: var(--blue); background: var(--tint); }
  .srch-caret { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .mobile-bar, .footer, .closing, .skip { display: none !important; }
  body { padding-bottom: 0; }
}

/* ======================================================================
   v1.3 — "Old website. New era." (home) + services note
   ====================================================================== */
.refresh-split { align-items: center; }
.refresh-split .section-head { margin-bottom: 0; }
.refresh-split .section-head p + p { margin-top: 12px; }
.refresh-split .section-head .link { display: inline-block; margin-top: var(--s3); }
.then-now { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.tn { min-width: 0; margin: 0; }
.tn-label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.tn-now .tn-label { color: var(--blue); }
.tn-frame { border-radius: 10px; overflow: hidden; border: 1px solid var(--rule); background: #fff; aspect-ratio: 4 / 3.3; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15,36,64,.04), 0 16px 32px -20px rgba(15,36,64,.25); }
.tn-bar { flex: none; height: 22px; background: #f3f5f8; border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.tn-bar i { width: 6px; height: 6px; border-radius: 50%; background: #cfd7e2; }
.tn-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tn-then .tn-body { background: #f4f1e8; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; font-family: "Times New Roman", Times, serif; }
.tn-then .tn-frame { filter: saturate(.75); }
.old-h { font-size: 15px; color: #7a2e2e; font-style: italic; }
.old-img { width: 70%; height: 22%; min-height: 26px; background: repeating-linear-gradient(45deg, #ddd6c6 0 6px, #e8e2d4 6px 12px); border: 1px solid #c9c0ac; }
.old-txt { width: 82%; height: 5px; background: #d3ccbc; }
.old-txt.w70 { width: 60%; }
.old-links { font-size: 10px; color: #2a4bd1; text-decoration: underline; white-space: nowrap; }
.old-btn { font-size: 10px; padding: 2px 8px; border: 2px outset #d0d0d0; background: #e8e8e8; color: #333; font-family: Arial, sans-serif; }
.now-nav { flex: none; display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--tint-2); }
.now-nav b { width: 14px; height: 14px; border-radius: 4px; background: var(--navy); flex: none; }
.now-nav span { font-size: 11px; font-weight: 600; white-space: nowrap; }
.now-nav em { margin-left: auto; width: 40px; height: 14px; border-radius: 4px; background: var(--cta); flex: none; }
.now-hero { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: center; gap: 7px; background: linear-gradient(180deg, var(--tint), #fff); }
.now-h { font-family: var(--serif); font-size: 18px; line-height: 1.15; color: var(--navy); font-weight: 500; }
.now-bar { height: 6px; width: 90%; border-radius: 3px; background: var(--tint-2); }
.now-bar.w70 { width: 65%; }
.now-cta { align-self: flex-start; font-size: 11px; font-weight: 600; color: #fff; background: var(--cta); padding: 5px 10px; border-radius: 5px; margin-top: 2px; }
.now-stars { font-size: 11px; color: #b7791f; letter-spacing: 1px; }
.tn-list { list-style: none; margin-top: 14px; display: grid; gap: 8px; font-size: .9375rem; }
.tn-list li { display: flex; gap: 8px; align-items: flex-start; }
.tn-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tn-then .tn-list { color: var(--ink-2); }
.tn-then .tn-list svg { stroke: #9aa7b8; }
.tn-now .tn-list { font-weight: 500; }
.tn-now .tn-list svg { stroke: var(--cta); }
.svc-note { margin-top: var(--s4); padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--tint); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; color: var(--ink-2); }
.svc-note b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .then-now { gap: 12px; }
  .tn-list { font-size: .875rem; gap: 6px; }
  .tn-then .tn-body { padding: 8px; gap: 6px; }
  .old-h { font-size: 12px; }
  .old-links { font-size: 8px; }
  .now-h { font-size: 14px; }
  .now-hero { padding: 10px; gap: 5px; }
  .now-nav { padding: 7px 9px; }
  .now-nav span { font-size: 9.5px; }
  .now-nav em { width: 28px; }
  .tn-frame { aspect-ratio: auto; height: 158px; }
  .now-h { font-size: 13.5px; }
  .now-stars, .now-bar.w70, .old-txt.w70 { display: none; }
  .old-img { height: 30px; min-height: 0; }
}

/* ======================================================================
   v1.4 — homepage middle (Oct 19): new section order, services as three
   side-by-side cards, audit section no longer repeats the sample report
   ====================================================================== */
/* What's in the audit: what you get (not the same list the report shows) */
.audit-split { align-items: center; }
.audit-gets { list-style: none; display: grid; gap: 18px; margin-top: var(--s4); }
.audit-gets li { display: flex; gap: 12px; align-items: flex-start; }
.audit-gets li svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.audit-gets li strong { font-weight: 600; display: block; }
.audit-gets li span { display: block; color: var(--ink-2); font-size: .9375rem; }
.audit-split .actions.hide-sm { margin-top: var(--s5) !important; }

/* What we do: three cards side by side on desktop, picture on top, text under */
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 var(--s4); }
  .svc-grid .svc-row { grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; gap: var(--s3); border-top: 0; padding-top: 0; align-items: start; }
  .svc-grid .mock { max-width: none; width: 100%; height: 100%; }
  .svc-grid .svc-row h3 { margin-bottom: 8px; }
  .svc-grid .svc-row p { margin-bottom: 12px; }
  .svc-grid .mock-snippet .title { font-size: .9375rem; }
  .svc-grid .mock-article .headline { font-size: 1.1875rem; }
  .svc-grid .mock-article .ranks span:nth-child(n+3) { display: none; }
  .svc-grid .mock-ad .ad-img { height: 72px; }
  .svc-grid .mock-ad .ad-img svg { width: 40px; height: 40px; }
  .svc-grid .mock-ad .ad-text { font-size: .9375rem; }
}

/* Old website / new era: links match the rest of the page */
.refresh-split .section-head .link { font-weight: 600; }

/* Phone: comparison table header stays on one line; services get breathing room under the intro */
@media (max-width: 760px) {
  .compare thead th { font-size: 1rem; white-space: nowrap; }
  .svc-grid { margin-top: 8px; }
}

/* Preview copy only (added by site.js on *.netlify.app) */
.preview-banner { background: #fff4d6; color: #5c4300; border-bottom: 1px solid #ecd9a3; font-size: .875rem; font-weight: 600; text-align: center; padding: 8px 16px; line-height: 1.4; }
@media print { .preview-banner { display: none; } }

/* ===== v1.5 — shorter homepage: audit + how it works merged ===== */
.audit-steps { counter-reset: none; }
.audit-steps li .n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1; margin-top: 1px; }
.founder-faq { margin-top: var(--s3); font-size: .9375rem; }
.founder-faq a { font-weight: 600; }
@media (max-width: 760px) {
  .audit-steps { gap: 14px; margin-top: 20px; margin-bottom: 24px; }
}
/* v1.5: below desktop the homepage service cards drop their pictures (Services page keeps them) — short text rows scroll faster on phones/tablets */
@media (max-width: 1023px) {
  .svc-grid .mock { display: none; }
  .svc-grid .svc-row { padding-top: 24px; margin-top: 24px; gap: 0; }
  .svc-grid .svc-row:first-child { padding-top: 0; margin-top: 0; }
}
@media (min-width: 761px) and (max-width: 1023px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s4); }
  .svc-grid .svc-row { border-top: 0; padding-top: 0; margin-top: 0; }
}

/* ======================================================================
   v1.6 — visual rhythm pass (Oct 19). Same copy, same sections. Three fixes:
   1. Section backgrounds you can actually see (light → navy → tint → navy).
   2. The mock-ups use real colors (Google blue/green/gold, Facebook blue)
      and real words instead of gray placeholder bars.
   3. Quiet motion: sections fade up as you reach them, the audit card
      scores itself, the steps count in. All off under reduced-motion.
   ====================================================================== */
:root { --band: #e4ecf6; --band-2: #d4e0ef; --g-blue: #1a0dab; --g-green: #0d652d; --g-gold: #f4b400; --fb-blue: #1b74e4; }
.band-tint { background: var(--band); }
.band-tint .mock, .band-tint .query, .band-tint .callout { border-color: var(--band-2); }
.band-tint .faq, .band-tint .faq li { border-color: var(--band-2); }
.callout { background: #fff; }
.band-tint .callout { background: #fff; }

/* --- Audit section on navy (home) --- */
.audit-band .audit-gets li span { color: var(--blue-soft); }
.audit-band .audit-steps li .n { border-color: rgba(255,255,255,.55); color: #fff; }
.audit-band .report { box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 30px 60px -24px rgba(0,0,0,.5); }
.audit-band + .band-tint { border-top: 0; }

/* --- Founder: narrower, centered, photo gets an offset block behind it --- */
.founder-photo { position: relative; border: 0; box-shadow: 0 24px 48px -24px rgba(15,36,64,.35); }
.founder-photo img { position: relative; z-index: 1; display: block; }
@media (min-width: 1024px) {
  .founder { max-width: 1040px; margin: 0 auto; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); }
  .founder-photo { margin-right: 18px; margin-bottom: 18px; overflow: visible; }
  .founder-photo img { border-radius: var(--r-card); }
  .founder-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-card); background: var(--band-2); z-index: 0; }
}

/* --- Score ring in the sample audit card --- */
.report-head { position: relative; }
.score { margin-left: auto; position: relative; width: 68px; height: 68px; flex: none; display: grid; place-items: center; align-content: center; gap: 1px; text-align: center; line-height: 1; }
.score svg { position: absolute; inset: 0; width: 68px; height: 68px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 6; }
.score .sc-track { stroke: var(--tint-2); }
.score .sc-arc { stroke: #d97706; stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: calc(169.6 * (1 - var(--pct, .41))); transition: stroke-dashoffset 1.4s cubic-bezier(.16,1,.3,1); }
.score .sc-n { font-family: var(--serif); font-weight: 500; font-size: 1.3125rem; color: var(--navy); }
.score .sc-l { font-size: .5rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.score > span { position: relative; }
.rv-ready .score:not(.is-in) .sc-arc { stroke-dashoffset: 169.6; }

/* Brighter status badges */
.r-s.warn { color: #9a3f00; background: #fde6cc; }
.r-s.ok { color: #136339; background: #d6f1e2; }
.r-s.info { color: var(--blue-deep); background: #dbe7f8; }

/* --- Mock-ups in real colors --- */
.mock .desc { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; margin-top: 6px; }
.mock-snippet .url { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--g-green); }
.mock-snippet .fav { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-style: normal; font-size: .5625rem; font-weight: 600; flex: none; }
.mock-snippet .title { color: var(--g-blue); font-weight: 500; font-size: 1.0625rem; margin-top: 4px; line-height: 1.3; }
.mock-snippet .stars { font-size: .75rem; color: var(--ink-2); margin-top: 5px; }
.mock-snippet .stars .st { color: var(--g-gold); letter-spacing: 1px; }
.mock-snippet .stars b { color: var(--ink); font-weight: 600; }
.mock-snippet .stars em { color: var(--g-green); font-style: normal; font-weight: 600; }
.mock-snippet .pos { color: var(--cta); }
.mock-snippet .pos i { background: var(--cta); }
.mock-article .headline { color: var(--navy); }
.mock-article .ranks { margin-top: 12px; }
.mock-article .ranks span { background: #e9f6ee; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.mock-article .ranks span b { color: var(--cta); font-weight: 600; }
.mock-ad .avatar { background: #b5421f; }
.mock-ad .ad-head span .globe { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-2); vertical-align: -1px; }
.mock-ad .ad-img { position: relative; overflow: hidden; background: linear-gradient(180deg, #a9d1f7 0%, #d8ebfc 58%, #7fb069 58%, #5f9450 100%); color: #fff; }
.mock-ad .ad-img svg { width: 56px; height: 56px; stroke: #fff; stroke-width: 1.8; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); position: relative; }
.mock-ad .ad-img .sun { position: absolute; top: 8px; right: 12px; width: 28px; height: 28px; fill: #ffd166; stroke: none; filter: none; }
.mock-ad .ad-cta span.b { background: var(--fb-blue); color: #fff; border-color: var(--fb-blue); }
.mock-ad .ad-react { display: flex; align-items: center; gap: 4px; margin-top: 10px; font-size: .75rem; color: var(--ink-2); }
.mock-ad .ad-react i { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #fff; margin-right: -5px; }
.mock-ad .ad-react .like { background: var(--fb-blue); }
.mock-ad .ad-react .love { background: #f3425f; margin-right: 4px; }
@media (max-width: 1023px) {
  .mock-snippet .desc, .mock-article .desc, .mock-ad .ad-react { display: none; }
  .mock-ad .ad-img .sun { width: 20px; height: 20px; top: 5px; right: 8px; }
}
@media (min-width: 1024px) {
  .svc-grid .mock-snippet .title { font-size: .9375rem; }
  .svc-grid .mock-snippet .desc { display: none; }
  .svc-grid .mock-ad .ad-react { display: none; }
}

/* --- Services page: rows alternate sides --- */
@media (min-width: 861px) {
  .svc-zig .svc-row:nth-child(even) .mock { order: 2; justify-self: end; }
}

/* --- Reveal on scroll. site.js adds "rv-ready" to <html> only after it has marked everything already
       on screen as "is-in", so nothing flashes and nothing is hidden if the script fails to load. --- */
@media (prefers-reduced-motion: no-preference) {
  .rv-ready .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease-out, transform .7s cubic-bezier(.16,1,.3,1); }
  .rv-ready .rv.is-in { opacity: 1; transform: none; }
  .rv-ready .svc-grid .svc-row:nth-child(2) { transition-delay: .12s; }
  .rv-ready .svc-grid .svc-row:nth-child(3) { transition-delay: .24s; }
  .rv-ready .report .report-rows li { opacity: 0; transform: translateX(10px); transition: opacity .5s ease-out, transform .5s ease-out; }
  .rv-ready .report.is-in .report-rows li { opacity: 1; transform: none; }
  .rv-ready .report.is-in .report-rows li:nth-child(1) { transition-delay: .25s; }
  .rv-ready .report.is-in .report-rows li:nth-child(2) { transition-delay: .35s; }
  .rv-ready .report.is-in .report-rows li:nth-child(3) { transition-delay: .45s; }
  .rv-ready .report.is-in .report-rows li:nth-child(4) { transition-delay: .55s; }
  .rv-ready .report.is-in .report-rows li:nth-child(5) { transition-delay: .65s; }
  .rv-ready .report.is-in .report-rows li:nth-child(6) { transition-delay: .75s; }
  .rv-ready .report .report-rows li .r-s { transform: scale(.7); opacity: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s; }
  .rv-ready .report.is-in .report-rows li .r-s { transform: none; opacity: 1; transition-delay: inherit; }
  .rv-ready .audit-steps li { opacity: 0; transform: translateY(10px); transition: opacity .5s ease-out, transform .5s ease-out; }
  .rv-ready .rv.is-in .audit-steps li, .rv-ready .audit-steps.is-in li { opacity: 1; transform: none; }
  .rv-ready .rv.is-in .audit-steps li:nth-child(1) { transition-delay: .2s; }
  .rv-ready .rv.is-in .audit-steps li:nth-child(2) { transition-delay: .35s; }
  .rv-ready .rv.is-in .audit-steps li:nth-child(3) { transition-delay: .5s; }
  .mock, .query { transition: transform .25s ease-out, box-shadow .25s ease-out, border-color .15s ease-out; }
  .svc-row:hover .mock, .mock:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,36,64,.05), 0 24px 44px -20px rgba(15,36,64,.28); }
}

/* ======================================================================
   v1.7 — Blog (Oct 20). Michael writes posts at /admin; build.py turns them
   into /blog/. Cards reuse the site's card language: the branded cover is a
   navy map with the search the post answers (no stock photos needed).
   ====================================================================== */
@keyframes pc-blink { 50% { opacity: 0; } }

/* --- Meta line: topic · read time --- */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: .875rem; color: var(--ink-2); }
.post-meta .dot, .byline-meta .dot { color: #9aa7b8; }
.post-cat { color: var(--blue); font-weight: 600; }
.draft-chip { font-size: .75rem; font-weight: 600; color: #8a5a0e; background: #fdf0d5; border-radius: 999px; padding: 2px 9px; margin-left: 4px; }
.draft-note { display: inline-block; font-size: .875rem; font-weight: 600; color: #6b4708; background: #fdf0d5; border: 1px solid #f1dcaa; border-radius: var(--r-ctl); padding: 6px 12px; margin: 0 0 var(--s3); }

/* --- Branded cover (no photo) --- */
.post-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.pc-cover { position: absolute; inset: 0; display: grid; place-items: center; padding: 44px 24px 24px; background: var(--navy); }
.pc-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-roads path { fill: none; stroke-linecap: round; }
.pc-roads .r1 { stroke: rgba(255,255,255,.07); stroke-width: 14; }
.pc-roads .r2 { stroke: rgba(157,187,227,.10); stroke-width: 4; }
.pc-cat { position: absolute; top: 14px; left: 16px; font-size: .75rem; font-weight: 600; color: var(--blue-soft); background: rgba(255,255,255,.08); padding: 4px 10px; border-radius: 999px; }
.pc-srch { position: relative; display: flex; align-items: center; gap: 9px; max-width: 100%; min-width: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 11px 18px; font-size: .9375rem; line-height: 1.2; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.pc-srch svg { width: 17px; height: 17px; color: var(--ink-2); flex: none; }
.pc-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pc-caret { width: 1.5px; height: 17px; background: var(--blue); flex: none; margin-left: -4px; }
.post-card:hover .pc-caret { animation: pc-blink 1s steps(2) infinite; }
.pc-title { position: relative; font-family: var(--serif); font-weight: 500; color: #fff; font-size: 1.5rem; line-height: 1.2; text-align: center; max-width: 22ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* --- Cards --- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.post-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid.cols-1 { grid-template-columns: minmax(0, 1fr) !important; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; transition: transform .25s ease-out, box-shadow .25s ease-out, border-color .15s ease-out; }
.band-tint .post-card { border-color: var(--band-2); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,36,64,.05), 0 24px 44px -20px rgba(15,36,64,.28); }
.post-card:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 20px; }
.post-card-title { font-size: 1.4375rem; line-height: 1.2; margin: 10px 0 8px; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card-title a:focus-visible { outline: none; }
.post-card:hover .post-card-title a { color: var(--blue-deep); }
.post-card-desc { color: var(--ink-2); font-size: 1rem; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-foot { margin: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .875rem; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--rule); }
.post-card-more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }
.post-card-more svg { width: 16px; height: 16px; transition: transform .15s ease-out; }
.post-card:hover .post-card-more svg { transform: translateX(3px); }

/* Featured (newest) post on the blog page */
.post-card.is-featured { margin-bottom: var(--s5); }
@media (min-width: 900px) {
  .post-card.is-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .post-card.is-featured .post-card-media { aspect-ratio: auto; min-height: 340px; }
  .post-card.is-featured .post-card-body { padding: 36px 40px 32px; justify-content: center; }
  .post-card.is-featured .post-card-title { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.375rem); margin: 14px 0 12px; }
  .post-card.is-featured .post-card-desc { font-size: 1.0625rem; -webkit-line-clamp: 4; }
  .post-card.is-featured .post-card-foot { margin-top: var(--s3); }
  .post-card.is-featured .pc-srch { font-size: 1.125rem; padding: 14px 24px; gap: 11px; }
  .post-card.is-featured .pc-srch svg { width: 20px; height: 20px; }
  .post-card.is-featured .pc-caret { height: 20px; }
}
.post-card.is-dup { display: none; }
.post-card.is-solo { margin-bottom: 0; }
@media (min-width: 900px) { .post-card.is-solo .post-card-media { min-height: 300px; } .post-card.is-solo .post-card-title { font-size: 1.875rem; } }

/* Topic filter (shows once there are 6+ posts) */
.post-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); }
.chip { font: inherit; font-size: .9375rem; font-weight: 500; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px; min-height: 40px; }
.chip:hover { border-color: var(--blue); color: var(--blue-deep); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-list.is-filtered .post-card.is-featured { display: none; }
.blog-list.is-filtered .post-card.is-dup { display: flex; }
.post-card[hidden] { display: none !important; }

/* --- Blog page --- */
.blog-hero { padding: 64px 0 56px; }
.blog-hero h1 { max-width: 18ch; }
.blog-hero .lede { margin-bottom: 0; }
.blog-list { padding-top: var(--s6); }

/* --- "From the blog" strip (home, Content Marketing) --- */
.blog-strip { padding: 72px 0; }
.blog-strip-grid { display: grid; gap: var(--s4); }
.blog-strip .section-head { margin-bottom: 0; }
.strip-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: var(--s3); text-decoration: none; }
.strip-all:hover { text-decoration: underline; }
.strip-all svg { width: 16px; height: 16px; transition: transform .15s ease-out; }
.strip-all:hover svg { transform: translateX(3px); }
.post-rows { list-style: none; border-top: 1px solid var(--rule); }
.post-row { position: relative; padding: 22px 56px 22px 0; border-bottom: 1px solid var(--rule); }
.post-row-title { font-size: 1.5rem; line-height: 1.2; margin: 8px 0 6px; }
.post-row-title a { color: var(--navy); text-decoration: none; }
.post-row-title a::after { content: ""; position: absolute; inset: 0; }
.post-row-title a:focus-visible { outline: none; }
.post-row:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.post-row:hover .post-row-title a { color: var(--blue-deep); }
.post-row-desc { color: var(--ink-2); margin: 0; font-size: 1rem; max-width: 62ch; }
.post-row-arrow { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--blue); transition: transform .2s ease-out, background-color .2s, border-color .2s, color .2s; }
.post-row-arrow svg { width: 16px; height: 16px; }
.post-row:hover .post-row-arrow { background: var(--blue); border-color: var(--blue); color: #fff; transform: translate(3px, -50%); }
@media (min-width: 1024px) {
  .blog-strip-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s6); align-items: start; }
  .blog-strip .section-head h2 { max-width: 12ch; }
}

/* --- A post --- */
.post-head { padding: 56px 0 48px; border-bottom: 1px solid var(--rule); background:
  radial-gradient(ellipse 55% 80% at 82% 40%, #dbe8f9 0%, rgba(219,232,249,0) 70%),
  linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%); }
.post-head-inner { max-width: 50rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .875rem; margin: 0 0 var(--s3); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #9aa7b8; }
.crumbs a { color: var(--ink-2); font-weight: 500; }
.crumbs a:hover { color: var(--blue-deep); }
.crumbs li:last-child { color: var(--blue); font-weight: 600; }
.post-head h1 { font-size: clamp(2.25rem, 1.5rem + 2.3vw, 3.375rem); line-height: 1.06; max-width: 24ch; margin-bottom: var(--s3); }
.post-dek { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); max-width: 58ch; margin: 0 0 var(--s4); }
.byline { display: flex; align-items: center; gap: 14px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--rule); }
.byline-name { display: block; font-weight: 600; color: var(--ink); text-decoration: none; }
.byline-name:hover { color: var(--blue-deep); text-decoration: underline; }
.byline-meta { display: block; font-size: .9375rem; color: var(--ink-2); }

.post-layout { padding-top: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 1100px) {
  .post-layout { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 17.5rem); justify-content: space-between; gap: var(--s6); }
}
.post-main { min-width: 0; max-width: 46rem; }
.post-cover { margin: 0 0 var(--s5); border-radius: 16px; overflow: hidden; background: var(--tint); }
.post-cover img { width: 100%; height: auto; display: block; }

/* Reading text */
.prose { font-size: 1.1875rem; line-height: 1.72; color: var(--ink); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child { font-size: 1.3125rem; line-height: 1.6; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + .9vw, 2.0625rem); line-height: 1.15; margin-top: 1.9em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.375rem; line-height: 1.25; margin-top: 1.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 + *, .prose h3 + * { margin-top: .55em; }
.prose a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose ol > li::marker { font-weight: 600; }
.prose li > ul, .prose li > ol { margin-top: .45em; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 22px; border-left: 3px solid var(--blue); background: var(--tint); border-radius: 0 12px 12px 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: .8em; }
.prose hr { border: 0; height: 1px; width: 96px; background: var(--rule); margin: 2.4em 0; }
.prose img { border-radius: 12px; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figure, .prose > figure { margin-top: 1.8em; margin-bottom: 0; }
.prose figcaption { font-size: .9375rem; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.prose code { font-size: .875em; background: var(--tint); padding: .12em .38em; border-radius: 4px; }
.prose pre { background: var(--navy); color: #fff; padding: 16px 20px; border-radius: 12px; overflow-x: auto; font-size: .9375rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.prose .table-wrap { margin-top: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.prose thead th { background: var(--band); color: var(--navy); font-weight: 600; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody td:first-child { font-weight: 600; }

/* Share + author */
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.post-share-label { font-size: .9375rem; font-weight: 600; margin-right: 8px; }
.share-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.share-btn:hover { border-color: var(--blue); color: var(--blue-deep); }
.share-btn[hidden], .post-filters[hidden] { display: none; }
.share-btn.is-done { background: #e6f4ec; border-color: #b6dfc6; color: var(--ok); }
.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: var(--s4); padding: 28px; border-radius: 16px; background: var(--band); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 0 0 10px; color: var(--ink-2); font-size: 1rem; }
.author-box .author-name { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; color: var(--navy); margin-bottom: 8px; }
.author-box .link { font-weight: 600; }

/* Sidebar (wide screens): what's in the post + the audit offer */
.post-aside { display: none; }
@media (min-width: 1100px) {
  .post-aside { display: block; }
  .post-aside-inner { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--s4); }
}
.toc-title { font-family: var(--serif); font-size: 1.1875rem; color: var(--navy); margin: 0 0 12px; }
.toc ol { list-style: none; border-left: 1px solid var(--rule); }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); font-size: .9375rem; line-height: 1.4; text-decoration: none; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-active { color: var(--navy); border-left-color: var(--blue); font-weight: 600; }
.aside-cta { padding: 24px; border-radius: 16px; background: var(--navy); color: #fff; }
.aside-cta p { color: var(--blue-soft); font-size: .9375rem; line-height: 1.5; }
.aside-cta .aside-cta-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; color: #fff; margin: 0 0 8px; }
.aside-cta .btn { width: 100%; margin-top: 4px; }

/* Keep reading */
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; max-width: none; }
.related-head h2 { margin: 0; }
.related-head .strip-all { margin-top: 0; }

/* --- Tablet / phone --- */
@media (max-width: 1023px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
}
@media (max-width: 760px) {
  .post-grid, .post-grid.cols-2 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .post-card-body { padding: 18px 18px 16px; }
  .post-card-title { font-size: 1.3125rem; }
  .post-card.is-featured { margin-bottom: 20px; }
  .pc-srch { font-size: .875rem; padding: 10px 15px; }
  .post-card-media { aspect-ratio: 2 / 1; }
  .pc-cover { padding: 36px 18px 18px; }
  .blog-hero { padding: 36px 0 32px; }
  .blog-list { padding-top: 28px; }
  .post-row { padding: 18px 0; }
  .post-row-arrow { display: none; }
  .post-row-title { font-size: 1.3125rem; }
  .post-row-desc { font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .post-head { padding: 28px 0 32px; }
  .crumbs ol { margin-bottom: 14px; }
  .post-head h1 { font-size: 2.125rem; margin-bottom: 14px; }
  .post-dek { font-size: 1.0625rem; margin-bottom: 20px; }
  .post-layout { padding-top: 32px; padding-bottom: 56px; }
  .post-cover { margin-bottom: 28px; border-radius: 12px; }
  .prose { font-size: 1.0625rem; line-height: 1.68; }
  .prose > p:first-child { font-size: 1.1875rem; }
  .prose h2 { font-size: 1.5rem; margin-top: 1.7em; }
  .prose h3 { font-size: 1.25rem; }
  .prose blockquote { padding: 14px 16px; font-size: 1rem; }
  .prose table { min-width: 520px; font-size: .875rem; }
  .post-share { margin-top: var(--s5); }
  .post-share-label { width: 100%; margin: 0 0 4px; }
  .author-box { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .author-box img { width: 64px; height: 64px; }
  .author-box .author-name { font-size: 1.1875rem; }
}
@media print {
  .post-aside, .post-share, .related, .closing { display: none !important; }
}

/* v1.7: header fits at 1024–1279px (it was already tight at 1024 in v1.6): phone shows as an icon, labels never wrap */
.nowrap { white-space: nowrap; }
.nav a, .nav button { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .header .wrap { gap: 16px; }
  .nav { gap: 0; }
  .nav a, .nav button { padding: 10px 10px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; padding: 0; border: 1px solid var(--rule); }
  .header-phone .hp-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- v1.8 preview: ranking climb + New Jersey map (site.js v1.8 block) ---------- */
/* Climb: numbered listings; "Your business" moves up to #1 */
.phone.climb .plist { counter-reset: rk; }
.phone.climb .plist li { counter-increment: rk; position: relative; padding-left: 38px; transition-delay: 0s; }
.phone.climb .plist li::before {
  content: counter(rk); position: absolute; left: 9px; top: 11px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; font-size: .6875rem; font-weight: 600; background: var(--tint-2); color: var(--ink-2);
  transition: background-color .25s, color .25s;
}
.phone.climb .plist li.you { z-index: 1; background: var(--paper); }
.phone.climb.is-you .plist li.you { background: var(--tint); }
.phone.climb.is-you .plist li.you::before { background: var(--blue); color: #fff; }
.phone.climb .plist li:not(.you) { padding-top: 11px; padding-bottom: 11px; }
.phone.climb .plist li:not(.you) .bar.w40 { display: none; }
@media (max-width: 760px) { .phone.climb .plist li:nth-child(3) { display: block; } }
@media (max-width: 560px) {
  .phone.climb .plist li:not(.you) { display: block; padding-top: 9px; padding-bottom: 9px; }
  .phone.climb .plist li:not(.you) .bar { display: none; }
  .phone.climb .plist li::before { top: 8px; }
  .phone.climb .plist li:not(.you)::before { top: 50%; margin-top: -10.5px; }
}

/* Closing band with the map (home only) */
.closing.has-visual .closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". v" "t v" "f v" ". v"; column-gap: 72px; align-items: start; }
.closing.has-visual .cl-text { grid-area: t; }
.closing.has-visual .cl-form { grid-area: f; }
.closing.has-visual .cl-visual { grid-area: v; align-self: center; }
.closing.has-visual .cl-text .lede { margin-bottom: var(--s4); }
@media (max-width: 1023px) {
  .closing.has-visual .closing-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "t" "v" "f"; }
  .closing.has-visual .cl-visual { justify-self: center; width: min(250px, 66vw); margin: 4px 0 28px; }
}
.njmap { position: relative; width: 100%; aspect-ratio: 300 / 440; }
.njmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border-radius: 18px; }
.nj-land { fill: #1d3d6b; stroke: rgba(157,187,227,.6); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.nj-lines { fill: none; stroke: rgba(255,255,255,.13); stroke-width: .8; vector-effect: non-scaling-stroke; }
.nj-pin .dot { fill: #9dbbe3; transition: fill .25s; }
.nj-pin .ring { fill: none; stroke: #9dbbe3; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; vector-effect: non-scaling-stroke; }
.nj-pin > g { transform-box: fill-box; transform-origin: center; }
.nj-pin.is-home .dot, .nj-pin.is-hot .dot { fill: #3ccf80; }
.nj-pin.is-home .ring, .nj-pin.is-hot .ring { stroke: #3ccf80; }
.nj-pin.is-hot .ring { animation: njPulse 1.3s ease-out 2; }
@keyframes njPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.nj-chips { position: absolute; inset: 0; pointer-events: none; }
.nj-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: #fff; color: var(--navy); font-size: .75rem; font-weight: 500; line-height: 1; padding: 7px 11px 7px 9px; border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(calc(-100% + 6px)) scale(.92); transform-origin: 50% 100%;
  transition: opacity .25s ease-out, transform .4s cubic-bezier(.34,1.56,.64,1);
}
.nj-chip.is-on { opacity: 1; transform: translateY(-100%); }
.nj-chip svg { width: 12px; height: 12px; color: var(--ink-2); flex: none; }
/* only once site.js is running: start zoomed in on one pin with the others hidden */
.njmap.js-on .nj-zoom { transform-box: view-box; transform-origin: 165.7px 147.1px; transform: scale(2.3); transition: transform 1.7s cubic-bezier(.65,0,.35,1); }
.njmap.js-on.is-out .nj-zoom { transform: none; }
.njmap.js-on .nj-pin:not(.is-home) > g { transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--d, 0s); }
.njmap.js-on.is-pins .nj-pin:not(.is-home) > g { transform: none; }
.njmap.js-on:not(.is-out) .nj-pin.is-home .ring { animation: njPulse 1.3s ease-out infinite; }
