/* Hasmord marketing site — shared styles.
   On-brand with app.hasmord.com: Plus Jakarta Sans, dark hero, blue gradient accent. */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --border: #e2e8f0;
  /* Brand palette derived from the Hasmord logo:
     cyan "Has" (#16b8dd) + navy "mord" (#0a3b7c). */
  --accent: #0a3b7c;      /* navy — primary buttons, links, eyebrow (strong contrast) */
  --accent-2: #16b8dd;    /* cyan — bright highlight */
  --accent-grad: linear-gradient(135deg, #16b8dd 0%, #0a3b7c 100%);
  --dark: #0b1220;
  --dark-2: #111a2e;
  --success: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --maxw: 1140px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 12px;
}
.muted { color: var(--ink-muted); }
.center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 59, 124, 0.5); }
.btn-primary:hover { background: #0c4691; }
/* Cyan alternate button — used where a section already sits on navy or
   needs the brighter brand color instead. */
.btn-cyan { background: var(--accent-2); color: #062a56; }
.btn-cyan:hover { background: #2ec6e8; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost.on-light { color: var(--ink); border-color: var(--border); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #eef4fc;
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid #dfe8f5;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav { height: 92px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.nav-brand img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; }
.nav-links a:hover { color: var(--accent-2); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
/* Compact buttons in the nav so they don't overpower the logo. */
.nav-cta .btn { padding: 9px 16px; font-size: 0.88rem; border-radius: 8px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, rgba(14,165,233,0.18), transparent 60%), var(--dark);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { font-size: 1.2rem; color: #cbd5e1; max-width: 52ch; margin-bottom: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: #94a3b8; font-size: 0.86rem; font-weight: 600; }
.hero-trust b { color: #fff; }
.hero-card {
  background: linear-gradient(180deg, var(--dark-2), #0c1424);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.hero-card h3 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: #93c5fd; }
.score-ring {
  display: flex; align-items: center; gap: 16px; margin: 14px 0 18px;
}
.score-num { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; }
.score-num small { font-size: 1rem; color: #94a3b8; font-weight: 600; }
.dim-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-top: 1px solid rgba(148,163,184,0.14); font-size: 0.86rem; color: #cbd5e1; }
.dim-bar { flex: 1; height: 6px; margin: 0 12px; border-radius: 999px; background: rgba(148,163,184,0.2); overflow: hidden; }
.dim-bar i { display: block; height: 100%; background: var(--accent-2); width: var(--w); }

/* Hero card: header + live pulse */
.hc-head { display: flex; align-items: center; justify-content: space-between; }
.hc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #86efac; }
.hc-live i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: hm-pulse 1.8s ease-out infinite; }

/* Citation chart inside the hero card */
.hc-cite { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(148,163,184,0.16); }
.hc-cite-title { margin: 0 0 8px; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: #93c5fd; }
.cite-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 0.82rem; color: #cbd5e1; }
.cite-row > span:first-child { width: 78px; flex: 0 0 auto; }
.cite-row b { width: 42px; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.cite-bar { flex: 1; height: 6px; margin: 0 12px; border-radius: 999px; background: rgba(148,163,184,0.2); overflow: hidden; }
.cite-bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent-2), #7dd3fc); }

/* Animate bars growing 0 → target on load (respects reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .dim-bar i, .cite-bar i { width: 0; animation: hm-grow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s forwards; }
  .score-ring .dim-row:nth-child(2) .dim-bar i { animation-delay: 0.20s; }
  .score-ring .dim-row:nth-child(3) .dim-bar i { animation-delay: 0.28s; }
  .cite-row:nth-child(2) .cite-bar i { animation-delay: 0.30s; }
  .cite-row:nth-child(3) .cite-bar i { animation-delay: 0.38s; }
  .cite-row:nth-child(4) .cite-bar i { animation-delay: 0.46s; }
  .cite-row:nth-child(5) .cite-bar i { animation-delay: 0.54s; }
}
@keyframes hm-grow { to { width: var(--w); } }
@keyframes hm-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---- Sections ---- */
section.band { padding: 76px 0; }
section.band.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--ink-muted); }

/* logos strip */

/* feature grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(22,184,221,0.12); border: 1px solid rgba(22,184,221,0.28); margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* steps */

/* use-case list */

/* comparison table */
/* Three-way visual comparison cards (homepage) */
.vs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.vs-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.vs-card--featured { border: 2px solid var(--accent-2); box-shadow: 0 18px 44px -18px rgba(22,184,221,0.5); }
.vs-badge { position: absolute; top: -12px; left: 22px; background: var(--accent-2); color: #062a56; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px; }
.vs-type { margin: 0; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.vs-name { margin: 4px 0 6px; font-size: 1.35rem; }
.vs-price { margin: 0 0 16px; color: var(--ink-muted); font-size: 0.9rem; }
.vs-price b { color: var(--ink); font-size: 1.05rem; }
.vs-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vs-list li { position: relative; padding-left: 26px; font-size: 0.9rem; line-height: 1.4; color: var(--ink); }
.vs-list li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.vs-list li.ok::before { content: "✓"; color: var(--success); }
.vs-list li.no::before { content: "✕"; color: #cf3b2f; }
.vs-list li.meh::before { content: "~"; color: #b7791f; }
.vs-list li.no, .vs-list li.meh { color: var(--ink-muted); }
.vs-card .btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .vs-grid { grid-template-columns: 1fr; } .vs-badge { left: 22px; } }

.cmp-table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; line-height: 1.5; vertical-align: top; }
.cmp-table thead th { background: var(--bg-alt); font-weight: 800; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.cmp-table tbody tr:hover { background: var(--bg-alt); }
.cmp-table tbody td:first-child { font-weight: 700; color: var(--ink); }
.cmp-table td.yes { color: var(--success); font-weight: 700; }
.cmp-table td.yes::before { content: "✓"; margin-right: 6px; font-weight: 800; }
.cmp-table td.no { color: var(--ink-muted); }
.cmp-table tbody td:last-child { white-space: nowrap; font-weight: 700; color: var(--ink-soft); }
/* Content tables (checklists, reports, feed routes): the last column is prose, so let it wrap. */
.cmp-table.data-table tbody td:last-child { white-space: normal; font-weight: 400; color: inherit; }
.cmp-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* On phones the 5-column table is unreadable when it scrolls sideways, so each
   row becomes a self-contained card with its column names shown as labels. */
@media (max-width: 720px) {
  .table-scroll { overflow-x: visible; }
  .cmp-table { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
  .cmp-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .cmp-table tbody, .cmp-table tr, .cmp-table td { display: block; width: 100%; }
  .cmp-table tr { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 18px 18px; margin-bottom: 18px; }
  .cmp-table tbody tr:hover { background: var(--bg); }
  .cmp-table td { padding: 14px 0 0; border-bottom: 0; font-size: 0.92rem; }
  .cmp-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); }
  .cmp-table tbody td:first-child { font-size: 1.1rem; padding: 16px 0 14px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
  .cmp-table tbody td:first-child::before { display: none; }
  .cmp-table tbody td.yes { margin-top: 14px; padding: 13px 14px; background: rgba(22,163,74,0.06); border: 1px solid rgba(22,163,74,0.18); border-radius: 10px; }
  .cmp-table td.yes::before { content: attr(data-label); color: var(--success); }
  .cmp-table tbody td:last-child { white-space: normal; }
}

/* pricing */
.billing-toggle { display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 34px; padding: 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); }
.billing-toggle button { border: 0; background: transparent; font-family: inherit; font-weight: 700; font-size: 0.9rem; color: var(--ink-muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: all 0.15s ease; }
.billing-toggle button.active { background: var(--accent); color: #fff; }
.billing-save { font-size: 0.8rem; font-weight: 700; color: var(--accent-2); }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tiers .tier { padding: 22px; }
.tiers .tier .price { font-size: 2.1rem; }
.tiers .tier .price small { white-space: nowrap; }
.tiers .tier.popular::after { white-space: nowrap; }
.tier .price .annual { display: none; }
.tiers.annual .tier .price .monthly { display: none; }
.tiers.annual .tier .price .annual { display: inline; }
.tier .price-note { font-size: 0.78rem; color: var(--accent-2); font-weight: 700; min-height: 1.1em; margin: 0 0 4px; }
.tier { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.tier.popular { border-color: var(--accent-2); box-shadow: 0 20px 40px -20px rgba(22,184,221,0.4); position: relative; }
.tier.popular::after { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-2); color: #062a56; font-size: 0.72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.tier .price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 2px; }
.tier .price small { font-size: 0.95rem; color: var(--ink-muted); font-weight: 600; }
.tier ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.tier li { padding-left: 26px; position: relative; color: var(--ink-soft); font-size: 0.93rem; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.tier .btn { width: 100%; justify-content: center; margin-top: auto; }
.tiers .tier .btn { white-space: nowrap; padding: 12px 10px; font-size: 0.9rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* trust cues block */

/* CTA band */
.cta-band { background: radial-gradient(900px 400px at 30% 0%, rgba(14,165,233,0.2), transparent 60%), var(--dark); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbd5e1; font-size: 1.1rem; max-width: 48ch; margin: 0 auto 26px; }

/* footer */
.site-footer { background: var(--dark-2); color: #cbd5e1; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; margin-bottom: 34px; align-items: start; }
.footer-grid h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.footer-grid a { color: #94a3b8; display: block; margin-bottom: 9px; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
/* Real two-colour logo on a white chip (matches the app sidebar) so the navy
   "mord" stays legible on the dark footer. */
/* Wordmark on a dark background (brand book: .mord goes #e2e8f0, container aligns on the baseline). */
.footer-logo { display: inline-flex; align-items: baseline; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-bottom: 16px; }
.footer-logo .has { color: var(--accent-2); position: relative; padding-bottom: 6px; }
.footer-logo .has::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-2) 0%, rgba(22, 184, 221, 0) 100%); }
.footer-logo .mord { color: #e2e8f0; }
.footer-brand p { color: #94a3b8; font-size: 0.9rem; max-width: 34ch; margin-top: 0; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,0.16); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #94a3b8; }
/* Links in the bottom bar sit on the dark footer: the default navy link colour is unreadable there. */
.footer-bottom a { color: #cbd5e1; }
.footer-bottom a:hover { color: #fff; }

/* prose (support pages) */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 2em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; color: var(--ink-soft); }
.page-hero { background: var(--bg-alt); padding: 64px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: none; }

/* responsive */
@media (max-width: 1180px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .tiers { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .site-header .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 14px; }
}

/* Print styles — professional PDF export of content pages (whitepaper, etc.).
   The CDP export script (scripts/gen-whitepaper-pdf.mjs) adds the running
   logo header and hasmord.com footer + page numbers; this block controls
   the page typography. */
@media print {
  /* Reliable, well-spaced typography — no negative tracking, no web font
     dependency (headless Chrome may not fetch Google Fonts). */
  html, body { background: #fff !important; }
  body, .prose, .prose p, .prose li, h1, h2, h3, .eyebrow, .muted, .btn {
    font-family: Georgia, "Times New Roman", "Iowan Old Style", serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
  }
  body { color: #1a2230; line-height: 1.6; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* Hide all on-screen chrome — the PDF gets its own header/footer. */
  .site-header, .site-footer, .hero-actions, .nav-cta, #pdf-gate { display: none !important; }

  .page-hero { background: #fff !important; padding: 0 0 6pt; border-bottom: 2px solid #16b8dd; margin-bottom: 14pt; }
  .band { padding: 0 !important; }
  .wrap { max-width: 100% !important; padding: 0 !important; }
  .prose { max-width: 100% !important; }

  .eyebrow { color: #0a3b7c !important; font-family: -apple-system, Arial, sans-serif !important; font-size: 8pt; letter-spacing: 0.12em !important; }
  h1 { font-size: 26pt; color: #0a3b7c; margin: 4pt 0 8pt; line-height: 1.15; }
  .page-hero .muted { font-size: 11pt; color: #475569; }
  h2 { font-size: 15pt; color: #0a3b7c; margin: 20pt 0 7pt; padding-top: 6pt; border-top: 1px solid #e2e8f0; page-break-after: avoid; }
  h3 { font-size: 11.5pt; color: #14324f; margin: 12pt 0 4pt; page-break-after: avoid; }
  .prose p, .prose li { font-size: 10.5pt; color: #1f2937; }
  .prose p { margin: 0 0 8pt; orphans: 3; widows: 3; }
  .prose ul, .prose ol { margin: 0 0 10pt; padding-left: 20pt; }
  .prose li { margin-bottom: 5pt; }
  .prose b { color: #0f1b2d; }
  .prose em { font-style: italic; }
  sup a { color: #0a3b7c; text-decoration: none; font-size: 7pt; }
  a { color: #0a3b7c; text-decoration: none; }
  hr { border-top: 1px solid #e2e8f0 !important; }
  .refs { font-size: 9pt; color: #475569; }
  .refs li { margin-bottom: 4pt; }
  /* Keep case-study headings with their paragraph. */
  h3 + p { page-break-inside: avoid; }
}

/* Whitepaper concept diagrams */
.wp-figure { margin: 26px 0 30px; }
.wp-figure svg { width: 100%; height: auto; max-width: 820px; display: block; margin: 0 auto; background: #f7f9fc; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.wp-figure figcaption { text-align: center; color: var(--ink-muted); font-size: 0.85rem; margin-top: 10px; }
@media print { .wp-figure svg { border-color: #d7deea; background: #f7f9fc; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---- Hero quick-check (free no-login AEO score) ---- */
.quickcheck { margin: 24px 0 16px; max-width: 520px; }
/* one unified, premium input bar: link icon + url + category divider */
.qc-bar {
  display: flex; align-items: center;
  background: #fff; border-radius: 14px; padding: 4px 6px 4px 14px;
  box-shadow: 0 12px 30px -12px rgba(2, 12, 27, 0.55); border: 1px solid rgba(255,255,255,0.6);
}
.qc-field { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.qc-ico { flex: 0 0 auto; }
.qc-bar input[type="url"] {
  flex: 1 1 auto; min-width: 0; border: none; outline: none; background: transparent;
  color: #0f172a; font-size: 1rem; font-family: var(--font); padding: 12px 4px;
}
.qc-bar input::placeholder { color: #94a3b8; }
.qc-bar select {
  flex: 0 0 auto; border: none; outline: none; background: transparent; cursor: pointer;
  border-left: 1px solid #e2e8f0; color: #475569; font-weight: 600; font-size: 0.9rem;
  font-family: var(--font); padding: 10px 8px; max-width: 160px;
}
.qc-go { width: 100%; justify-content: center; margin-top: 12px; color: #fff; }
/* Secondary hero action: a text link under the primary button, not a second button. */
.qc-how { display: inline-block; margin-top: 14px; color: #cfe0f2; font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: rgba(207,224,242,.4); text-underline-offset: 4px; }
.qc-how:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.qc-note { color: #93a4bd; font-size: 0.84rem; margin: 12px 0 0; }

.qc-result { margin-top: 18px; border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(148,163,184,0.2); }
.qc-result > p { margin: 0; color: #cbd5e1; font-size: 0.95rem; }
.qc-loading > p { color: #93c5fd; }
.qc-err { border-color: rgba(220,80,80,0.4); }
.qc-err > p { color: #fca5a5; }
.qc-limit .btn { margin-top: 12px; }

/* result: score ring + message side by side */
.qc-done { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qc-ring {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 112px; height: 112px; border-radius: 50%; background: #0b1424;
  border: 3px solid var(--accent-2); box-shadow: inset 0 0 0 6px rgba(22,184,221,0.06);
}
.qc-num { font-size: 2.7rem; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.qc-den { font-size: 0.78rem; color: #94a3b8; margin-top: 2px; }
.qc-done.qc-strong .qc-ring { border-color: #22c55e; box-shadow: inset 0 0 0 6px rgba(34,197,94,0.08); }
.qc-done.qc-strong .qc-num { color: #4ade80; }
.qc-done.qc-mid .qc-ring { border-color: #f59e0b; box-shadow: inset 0 0 0 6px rgba(245,158,11,0.08); }
.qc-done.qc-mid .qc-num { color: #fbbf24; }
.qc-done.qc-weak .qc-ring { border-color: #ef4444; box-shadow: inset 0 0 0 6px rgba(239,68,68,0.08); }
.qc-done.qc-weak .qc-num { color: #f87171; }
.qc-msg { flex: 1 1 240px; min-width: 0; }
.qc-tag { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: #7fb4e8; font-weight: 800; margin-bottom: 6px; }
.qc-msg > p { color: #f1f5f9; font-weight: 600; font-size: 1rem; margin: 0 0 12px; line-height: 1.4; }
.qc-sub { display: block; color: #93a4bd; font-size: 0.82rem; margin-top: 10px; }
@media (max-width: 520px) {
  .qc-bar { flex-direction: column; align-items: stretch; padding: 4px 6px; }
  .qc-field { padding-left: 8px; }
  .qc-bar select {
    border-left: none; border-top: 1px solid #e2e8f0; width: 100%; max-width: none;
    padding: 12px 8px; margin-top: 2px;
  }
  .qc-done { gap: 16px; }
  .qc-ring { width: 92px; height: 92px; }
  .qc-num { font-size: 2.2rem; }
}

/* ---- Portfolio AI-visibility showcase (#proof, dogfooding proof) ---- */
/* ================= Homepage diagram system (2026-09-24) =================
   One visual language for every homepage section: line icons, nodes and connectors on a dotted
   panel, the Uncover / Act / Refine colours from the How it works flow, mono tags. */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.diagram-panel { position: relative; max-width: 1040px; margin: 0 auto; padding: 34px; border: 1px solid var(--border); border-radius: 18px; background-color: #fff; background-image: radial-gradient(rgba(10,59,124,.08) 1px, transparent 1px); background-size: 18px 18px; box-shadow: var(--shadow); }
.footnote { margin: 16px auto 0; max-width: 72ch; font-size: .86rem; color: var(--ink-muted); }
.more-link { margin-top: 22px; } .more-link a { font-weight: 700; }

/* platform strip */
.strip { padding: 30px 0; border-bottom: 1px solid var(--border); }
.strip-label { margin: 0 0 14px; text-align: center; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.chips .ic { width: 18px; height: 18px; color: var(--accent-2); }

/* the shift: one question fans out to four channels */
.fan-node { position: relative; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.fan-q { background: var(--dark-2); color: #e2e8f0; }
.fan-q .ic { color: var(--accent-2); }
.fan-out { background: rgba(22,184,221,.1); border: 1px solid rgba(22,184,221,.35); color: var(--accent); font-size: .95rem; }
.fan-q::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 16px; background: #cbd5e1; }
.fan-out::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 16px; background: #cbd5e1; }
.fan-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px 0; }
.fan-row::before, .fan-row::after { content: ""; position: absolute; left: calc(12.5% - 6px); right: calc(12.5% - 6px); height: 2px; background: #cbd5e1; }
.fan-row::before { top: 14px; } .fan-row::after { bottom: 14px; }
.fan-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; text-align: center; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.fan-card::before, .fan-card::after { content: ""; position: absolute; left: 50%; width: 2px; height: 16px; background: #cbd5e1; }
.fan-card::before { bottom: 100%; } .fan-card::after { top: 100%; }
.fan-card .ic { width: 28px; height: 28px; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tags i { font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-alt); color: var(--ink-muted); }
.video-frame { position: relative; max-width: 760px; margin: 34px auto 0; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid rgba(120,160,210,.18); box-shadow: 0 26px 64px -26px rgba(6,26,60,.6); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* missed opportunities: three mini mock-ups */
.miss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.miss { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.miss p { margin: 14px 0 0; font-weight: 600; color: var(--ink); }
.miss-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.miss-missing .miss-tag { background: #fff7ed; color: #b45309; border: 1px solid #fed7aa; }
.miss-conflict .miss-tag { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.miss-unconfirmed .miss-tag { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.mock { display: grid; gap: 10px; margin-top: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-alt); font-size: .9rem; }
.mock-q { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px 10px 10px 2px; background: #fff; font-weight: 600; }
.mock-q .ic { width: 18px; height: 18px; color: var(--accent-2); }
.mock-a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: .85rem; }
.mock-empty { border: 1.5px dashed #cbd5e1; background: #fff; color: var(--ink-muted); }
.mock-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.mock-row span { color: var(--ink-muted); } .mock-row b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mock-neq { margin: -4px 0; text-align: center; font-weight: 800; line-height: 1; color: #b91c1c; }
.mock-claim { padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-weight: 600; }

/* the platform: six modules in three phase columns */
.stack { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; }
.stack-col { display: grid; gap: 12px; align-content: start; }
.stack-uncover { --c: var(--accent-2); } .stack-act { --c: var(--accent); } .stack-refine { --c: var(--success); }
.stack-h { margin: 0 0 4px; padding-bottom: 8px; text-align: center; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); border-bottom: 2px solid var(--c); }
.mod { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; row-gap: 2px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.mod .ic { grid-row: 1 / 3; margin-top: 2px; color: var(--c); }
.mod b { font-size: .98rem; color: var(--ink); } .mod span { font-size: .85rem; color: var(--ink-muted); }
a.mod:hover { border-color: var(--c); transform: translateY(-1px); }
.stack-arrow { position: relative; }
.stack-arrow::before { content: ""; position: absolute; top: 50%; left: 6px; right: 8px; height: 2px; background: #cbd5e1; }
.stack-arrow::after { content: ""; position: absolute; top: calc(50% - 4px); right: 4px; border: 5px solid transparent; border-left: 7px solid #94a3b8; border-right: 0; }

/* integrations: in -> Hasmord -> out */
.io { display: grid; grid-template-columns: 1fr 230px 1fr; gap: 40px; align-items: center; padding-top: 52px; }
.io-col { position: relative; display: grid; gap: 10px; }
.io-h { position: absolute; bottom: calc(100% + 8px); left: 2px; margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.io-item { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.io-item .ic { grid-row: 1 / 3; margin-top: 2px; color: var(--accent); }
.io-item b { font-size: .95rem; } .io-item span { font-size: .82rem; color: var(--ink-muted); }
.io-col:first-child .io-item::after { content: ""; position: absolute; left: 100%; top: 50%; width: 20px; height: 2px; background: #cbd5e1; }
.io-col:last-child .io-item::before { content: ""; position: absolute; right: 100%; top: 50%; width: 20px; height: 2px; background: #cbd5e1; }
/* a vertical bus per side, from the first item's midline to the last one's, then one line into the hub */
.io-col::after { content: ""; position: absolute; top: 35px; bottom: 35px; width: 2px; background: #cbd5e1; }
.io-col:first-child::after { right: -21px; }
.io-col:last-child::after { left: -21px; }
.io-hub { position: relative; }
.io-hub::before, .io-hub::after { content: ""; position: absolute; top: 50%; width: 20px; height: 2px; background: var(--accent-2); }
.io-hub::before { right: 100%; } .io-hub::after { left: 100%; }
.hub-core { display: grid; justify-items: center; gap: 6px; padding: 30px 16px; text-align: center; border-radius: 20px; background: radial-gradient(circle at 50% 0%, #16325e, var(--dark-2)); box-shadow: 0 20px 50px -20px rgba(10,59,124,.6), inset 0 0 0 1px rgba(22,184,221,.35); }
.hub-mark { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.hub-mark .has { color: var(--accent-2); } .hub-mark .mord { color: #e2e8f0; }
.hub-sub { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: #93a4bd; }
.hub-ring { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.hub-ring i { font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(22,184,221,.35); background: rgba(22,184,221,.12); color: #9fe3f3; }
.rail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; }
.rail-label { margin-right: 4px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.chip-sm { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; color: var(--ink-soft); }
.rail-note { flex-basis: 100%; text-align: center; font-size: .82rem; color: var(--ink-muted); }

/* who it's for */
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.fit { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.fit .ic { width: 28px; height: 28px; color: var(--accent-2); }
.fit b { font-size: 1.02rem; } .fit span { font-size: .88rem; color: var(--ink-muted); }
.fit-not { max-width: 760px; margin: 18px auto 0; padding: 12px 16px; text-align: center; font-size: .92rem; color: var(--ink-muted); border: 1px dashed #cbd5e1; border-radius: 12px; }
.fit-not b { color: var(--ink-soft); }

/* three observation lanes into one review */
.lanes { display: grid; grid-template-columns: 1fr 48px 220px; align-items: center; }
.lane-list { display: grid; gap: 12px; }
.lane { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.lane .ic { margin-top: 2px; color: var(--accent); }
.lane b { display: block; }
.lane em { display: block; margin: 2px 0 4px; font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; color: #0e7490; }
.lane span { font-size: .86rem; color: var(--ink-muted); }
.lane::after { content: ""; position: absolute; left: 100%; top: 50%; width: 24px; height: 2px; background: #cbd5e1; }
.lane-join { position: relative; align-self: stretch; }
.lane-join::before { content: ""; position: absolute; left: 22px; top: 16.6%; bottom: 16.6%; width: 2px; background: #cbd5e1; }
.lane-join::after { content: ""; position: absolute; left: 22px; right: 0; top: 50%; height: 2px; background: #cbd5e1; }
.lane-sink { display: grid; justify-items: center; gap: 6px; padding: 24px 16px; text-align: center; border-radius: 16px; background: var(--dark-2); color: #e2e8f0; }
.lane-sink .ic { width: 28px; height: 28px; color: var(--accent-2); }
.lane-sink span { font-size: .82rem; color: #93a4bd; }

/* comparison matrix */
.mx-wrap { max-width: 980px; margin: 0 auto; }
.mx { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: .92rem; }
.mx th, .mx td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.mx thead th { background: var(--bg-alt); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.mx tbody tr:last-child td { border-bottom: 0; }
.mx td:first-child { font-weight: 600; color: var(--ink); }
.mx .mx-us { background: rgba(22,184,221,.06); } .mx thead .mx-us { color: var(--accent); }
.dot { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .86rem; color: var(--ink-soft); }
.dot::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 999px; box-sizing: border-box; }
.dot.yes::before { background: var(--success); }
.dot.part::before { border: 2px solid var(--warn); background: linear-gradient(90deg, var(--warn) 50%, transparent 50%); }
.dot.no::before { background: #cbd5e1; }

/* security & trust */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.sec { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.sec .ic { grid-row: 1 / 3; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(22,184,221,.1); color: var(--accent); }
.sec b { font-size: .98rem; } .sec span { font-size: .86rem; color: var(--ink-muted); } .sec a { font-weight: 700; }

.cta-alt { margin: 14px 0 0; }
.cta-alt a { color: #cfe0f2; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(207,224,242,.4); text-underline-offset: 4px; }

@media (max-width: 900px) {
  .diagram-panel { padding: 22px; }
  .fan-row { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
  .fan-row::before, .fan-row::after, .fan-card::before, .fan-card::after, .fan-q::after, .fan-out::before { display: none; }
  .miss-grid { grid-template-columns: 1fr; max-width: 520px; }
  .stack { grid-template-columns: 1fr; }
  .stack-arrow { height: 26px; }
  .stack-arrow::before { top: 2px; bottom: 8px; left: calc(50% - 1px); right: auto; width: 2px; height: auto; }
  .stack-arrow::after { top: auto; bottom: 2px; right: auto; left: calc(50% - 5px); border: 5px solid transparent; border-top: 7px solid #94a3b8; border-bottom: 0; }
  .io { grid-template-columns: 1fr; gap: 18px; }
  .io { padding-top: 34px; }
  .io-col:first-child .io-item::after, .io-col:last-child .io-item::before, .io-col::after, .io-hub::before, .io-hub::after { display: none; }
  .io-col + .io-hub, .io-hub + .io-col { margin-top: 26px; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .lanes { grid-template-columns: 1fr; gap: 14px; }
  .lane::after, .lane-join { display: none; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .mx thead { display: none; }
  .mx, .mx tbody, .mx tr, .mx td { display: block; width: 100%; }
  .mx tr { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .mx tbody tr:last-child { border-bottom: 0; }
  .mx td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 16px; border: 0; }
  .mx td::before { content: attr(data-label); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
  .mx td:first-child { display: block; padding-top: 4px; font-size: 1rem; }
  .mx td:first-child::before { content: none; }
  .mx .mx-us { background: transparent; }
}
@media (max-width: 560px) {
  .fan-row { grid-template-columns: 1fr; }
  .fan-node { width: auto; }
  .fit-grid, .sec-grid { grid-template-columns: 1fr; }
}

/* How it works — a five-node flow grouped into Uncover / Act / Refine, with a return loop from
   step 5 to step 2. Desktop: one row of five equal columns, so node centres sit at 10/30/50/70/90%.
   Phone: a vertical timeline. */
.flow { --c-uncover: var(--accent-2); --c-act: var(--accent); --c-refine: var(--success); max-width: 1080px; margin: 8px auto 0; }
.flow-phases { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 18px; }
.fp { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; margin: 0 14px; border-bottom: 2px solid; }
.fp-uncover { grid-column: 1 / 3; color: var(--c-uncover); }
.fp-act { grid-column: 3 / 5; color: var(--c-act); }
.fp-refine { grid-column: 5 / 6; color: var(--c-refine); }
.flow-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.flow-track::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--c-uncover) 0%, var(--c-uncover) 25%, var(--c-act) 50%, var(--c-act) 75%, var(--c-refine) 100%); opacity: .45; }
.flow-step { position: relative; text-align: center; padding: 0 12px; }
.flow-node { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; border-radius: 999px; background: var(--bg); border: 2px solid var(--c, var(--c-uncover)); color: var(--c, var(--c-uncover)); box-shadow: 0 8px 22px -12px rgba(10,59,124,.45); }
.flow-node svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-uncover { --c: var(--c-uncover); }
.flow-act { --c: var(--c-act); }
.flow-refine { --c: var(--c-refine); }
.flow-num { display: block; margin-top: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--ink-muted); }
.flow-tag { display: none; }
.flow-soon { font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); white-space: nowrap; }
.flow-step h3 { margin: 4px 0 8px; font-size: 1.05rem; }
.flow-step p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.flow-loop { position: relative; height: 34px; margin: 22px 10% 0 30%; border: 2px dashed #cbd5e1; border-top: 0; border-radius: 0 0 22px 22px; }
.flow-loop::before { content: ""; position: absolute; top: -9px; left: -7px; border: 6px solid transparent; border-bottom: 9px solid #94a3b8; border-top: 0; }
.flow-loop span { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); white-space: nowrap; padding: 0 12px; background: var(--bg); font-size: .82rem; color: var(--ink-muted); }
@media (max-width: 760px) {
  .flow-phases { display: none; }
  .flow-track { grid-template-columns: 1fr; gap: 22px; }
  .flow-track::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--c-uncover), var(--c-act), var(--c-refine)); }
  .flow-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .flow-node { grid-row: 1 / 4; margin: 0; }
  .flow-num { margin-top: 2px; }
  .flow-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c); border: 1px solid currentColor; }
  .flow-step h3 { margin: 2px 0 6px; }
  .flow-loop { height: auto; margin: 18px 0 0; border: 0; padding-left: 72px; }
  .flow-loop::before { display: none; }
  .flow-loop span { position: static; transform: none; white-space: normal; padding: 0; background: none; }
  .flow-loop span::before { content: "\21BA  "; color: var(--ink-muted); }
}

/* Workflow card — one buyer question traced from the page to a reviewed draft.
   Label first (not a footnote), two columns on desktop, stacked on a phone. */
.workflow-card { max-width: 880px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.wf-flag { margin: 0; padding: 13px 22px; background: var(--bg-alt); border-bottom: 1px solid var(--border); font-size: .84rem; color: var(--ink-soft); }
.wf-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.wf-row:last-child { border-bottom: 0; }
.wf-k { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.wf-v { color: var(--ink); font-size: .95rem; line-height: 1.6; }
.wf-status { display: inline-block; padding: 6px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 760px) { .wf-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; } .wf-k { padding-top: 0; } }

/* ============================================================
   Blog / editorial channel  (professional serif: Fraunces + Newsreader)
   Loaded on blog.html, blog-template.html and /blog/*.html only.
   ============================================================ */
:root {
  --serif-display: "Fraunces", Georgia, "Times New Roman", serif;
  --serif-body: "Newsreader", Georgia, "Times New Roman", serif;
}

/* --- Blog index --- */
.blog-hero { background: var(--bg-alt); padding: 64px 0 44px; border-bottom: 1px solid var(--border); }
.blog-hero h1 { font-family: var(--serif-display); font-weight: 600; letter-spacing: -0.015em; }
.blog-hero .muted { max-width: 60ch; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform 0.1s ease, box-shadow 0.15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
/* height:auto is load-bearing: the cards carry width/height attributes (CLS hints),
   and those map to a presentational `height: 630px` that wins over aspect-ratio
   unless height is auto — without it a 16:9 thumb renders as a cropped portrait. */
.post-card .thumb { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; background: var(--dark); display: block; }
.post-card .pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.post-card .cat { font-family: var(--font); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 800; color: var(--accent-2); }
.post-card h3 { font-family: var(--serif-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.post-card p { color: var(--ink-muted); font-size: 0.94rem; margin: 0; }
.post-card .pc-meta { margin-top: auto; padding-top: 10px; font-size: 0.8rem; color: var(--ink-muted); font-family: var(--font); }

/* --- Article --- */
.article { max-width: 720px; margin: 0 auto; }
.article-hero { padding: 54px 0 6px; }
.article .cat { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 800; color: var(--accent-2); margin: 0 0 14px; font-family: var(--font); }
.article h1 { font-family: var(--serif-display); font-weight: 600; letter-spacing: -0.015em; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ink-muted); font-size: 0.9rem; margin-top: 16px; font-family: var(--font); }
.article-meta .dot { opacity: 0.5; }
.article-lead { font-family: var(--serif-body); font-size: 1.28rem; line-height: 1.6; color: var(--ink-soft); margin: 22px 0 0; font-weight: 400; }
.article-body { font-family: var(--serif-body); font-size: 1.16rem; line-height: 1.8; color: #1f2a3a; }
.article-body p { margin: 0 0 1.3em; }
.article-body h2 { font-family: var(--serif-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.01em; margin: 1.8em 0 0.5em; color: var(--ink); line-height: 1.2; }
.article-body h3 { font-family: var(--serif-display); font-weight: 600; font-size: 1.3rem; margin: 1.5em 0 0.4em; color: var(--ink); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body strong, .article-body b { color: var(--ink); font-weight: 700; }
.article-body em { font-style: italic; }
.article-body blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--accent-2); font-style: italic; color: var(--ink-soft); }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 1.3em; }
.article-body li { margin-bottom: 0.5em; }
.article-figure { margin: 2em 0; }
.article-figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); display: block; }
.article-figure figcaption { font-family: var(--font); font-size: 0.84rem; color: var(--ink-muted); margin-top: 10px; text-align: center; }

/* --- Like + share bar --- */
.article-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 6px 0; }
.like-btn { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink-soft); font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: all 0.12s ease; font-family: var(--font); }
.like-btn:hover { border-color: var(--accent-2); color: var(--accent); }
.like-btn .heart { font-size: 1.05rem; line-height: 1; transition: transform 0.15s ease; }
.like-btn.liked { background: #fff0f3; border-color: #f5b5c2; color: #d6336c; }
.like-btn.liked .heart { transform: scale(1.18); }
.share-row { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.share-row .lbl { font-family: var(--font); font-size: 0.82rem; color: var(--ink-muted); font-weight: 600; }
.share-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all 0.12s ease; padding: 0; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.share-btn svg { width: 17px; height: 17px; }
.share-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--dark); color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 0.88rem; font-family: var(--font); opacity: 0; pointer-events: none; transition: all 0.2s ease; z-index: 2147483000; }
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Article CTA (bottom of every post) --- */
.article-cta { margin: 42px 0 8px; padding: 32px; border-radius: 16px; background: var(--accent-grad); color: #fff; text-align: center; }
.article-cta h3 { font-family: var(--font); color: #fff; font-size: 1.4rem; margin: 0 0 8px; }
.article-cta p { color: rgba(255,255,255,0.92); margin: 0 auto 18px; max-width: 52ch; }
.article-cta .btn-cyan { background: #fff; color: var(--accent); }
.article-cta .btn-cyan:hover { background: #eaf6fb; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; margin: 32px 0 8px; font-family: var(--font); font-size: 0.92rem; }

@media (max-width: 640px) {
  .article-body { font-size: 1.08rem; }
  .article-lead { font-size: 1.16rem; }
  .share-row { margin-left: 0; width: 100%; }
}

/* ── AEO platform and CRM pages (2026-10-15): loop diagram, feature rows with illustrative mock-ups ── */
.vis { --c: var(--accent-2); } .info { --c: var(--accent); } .sales { --c: var(--success); }
.loop { position: relative; display: grid; gap: 16px; padding-bottom: 40px; }
.loop-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.loop-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.loop-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 0; }
.loop-node { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 16px 8px; text-align: center; border: 1px solid var(--border); border-top: 3px solid var(--c); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
a.loop-node:hover { border-color: var(--c); text-decoration: none; transform: translateY(-1px); }
.loop-node .ic { width: 26px; height: 26px; color: var(--c); }
.loop-node b { font-size: .88rem; line-height: 1.25; color: var(--ink); }
.loop-node span { font-size: .76rem; line-height: 1.35; color: var(--ink-muted); }
.loop-node:not(:last-of-type)::after { content: ""; position: absolute; left: 100%; top: 38px; width: 16px; height: 2px; background: #cbd5e1; }
.loop-soon { border-style: dashed; border-top-style: dashed; background: var(--bg-alt); }
.loop-back { position: absolute; left: 7%; right: 7%; bottom: 8px; height: 24px; border: 2px dashed #cbd5e1; border-top: 0; border-radius: 0 0 14px 14px; }
.loop-back-label { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); padding: 0 10px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: var(--ink-muted); white-space: nowrap; }
.loop-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 18px 0 0; font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.loop-key span { display: inline-flex; align-items: center; gap: 8px; }
.loop-key i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; max-width: 1040px; margin: 0 auto; padding: 46px 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.feat:first-child { border-top: 0; padding-top: 10px; }
.feat-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.feat h2 { margin: 10px 0 12px; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.feat-text p { color: var(--ink-soft); }
.feat-text ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-soft); } .feat-text li { margin-bottom: 6px; }
.feat-plan { font-size: .86rem; font-weight: 700; color: var(--ink-muted) !important; }
.feat-fig .diagram-panel { padding: 22px; }
.ill { margin: 10px 4px 0; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: var(--ink-muted); }
.mock-foot { margin: 0; font-size: .76rem; color: var(--ink-muted); }
.ans { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: .84rem; }
.ans b { font-size: .82rem; } .ans span { color: var(--ink-muted); }
.st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.st-yes { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.st-mid { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.st-no { background: #fff7ed; color: #b45309; border: 1px solid #fed7aa; }
.st-off { background: var(--bg-alt); color: var(--ink-muted); border: 1px solid var(--border); }
.st-mid-bg { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; font-weight: 600; }
.steps-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .76rem; }
.steps-mini span { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-weight: 700; color: var(--ink-soft); }
.steps-mini span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps-mini b { color: #94a3b8; }
.vs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vs2 > div { display: grid; gap: 6px; align-content: start; }
.vs2-h { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.week { display: grid; grid-template-columns: 70px repeat(7, minmax(0, 1fr)); gap: 5px; align-items: center; }
.week span { text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; color: var(--ink-muted); }
.week b { font-size: .76rem; }
.week i, .week-key i { display: block; height: 14px; border-radius: 4px; background: #e2e8f0; }
.week i.y, .week-key i.y { background: var(--success); } .week i.m, .week-key i.m { background: #93c5fd; }
.week-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: .74rem; color: var(--ink-muted); }
.week-key i { width: 12px; height: 12px; display: inline-block; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 76px minmax(0, 1fr) 36px; gap: 10px; align-items: center; font-size: .8rem; }
.bar i { display: block; height: 12px; border-radius: 6px; background: var(--accent-2); }
.bar em { font-style: normal; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; color: var(--ink-muted); }
.disc { display: grid; gap: 12px; }
.disc-post { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.disc-arrow { justify-self: center; width: 2px; height: 18px; background: #cbd5e1; position: relative; }
.disc-arrow::after { content: ""; position: absolute; left: -4px; bottom: -6px; border: 5px solid transparent; border-top: 7px solid #94a3b8; border-bottom: 0; }
@media (max-width: 1000px) {
  .loop-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .loop-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop-node::after, .loop-back { display: none; }
  .loop { padding-bottom: 0; }
}
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
}
@media (max-width: 560px) {
  .loop-7, .loop-6, .loop-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feat-fig .diagram-panel { padding: 14px; }
  .ans { grid-template-columns: minmax(0, 1fr) auto; } .ans b { grid-column: 1 / -1; }
  .week { grid-template-columns: 58px repeat(7, minmax(0, 1fr)); gap: 4px; }
  .vs2 { grid-template-columns: 1fr; }
}
#features .stack-h { display: flex; align-items: flex-end; justify-content: center; min-height: 3.2em; }
@media (max-width: 900px) { #features .stack-h { min-height: 0; } }

/* ---- 2026-10-17 overhaul: grouped nav, five-column footer, value / module / solution cards ---- */
.nav-links { gap: 24px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; }
.nav-menu { display: none; position: absolute; top: calc(100% + 14px); left: -18px; width: 320px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 22px 48px -20px rgba(15,23,42,.35); z-index: 60; }
.nav-menu-wide { width: 620px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-item:hover > .nav-menu, .nav-item:focus-within > .nav-menu { display: block; }
.nav-item:hover > .nav-menu-wide, .nav-item:focus-within > .nav-menu-wide { display: grid; }
.nav-menu a { display: block; padding: 10px 12px; border-radius: 10px; }
.nav-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-menu b { display: block; color: var(--ink); font-size: .92rem; font-weight: 700; }
.nav-menu span { display: block; color: var(--ink-muted); font-size: .82rem; font-weight: 500; margin-top: 2px; line-height: 1.4; }
.footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
.val-grid, .sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.val-card, .sol-card, .mod-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); padding: 22px 22px 20px; transition: border-color .2s ease, transform .2s ease; }
.val-card:hover, .sol-card:hover, .mod-card:hover { border-color: #16b8dd; transform: translateY(-2px); text-decoration: none; }
.val-card .num { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0e7490; }
.val-card .num i { font-style: normal; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink-muted); background: var(--bg-alt); border-radius: 999px; padding: 2px 9px; }
.val-card h3, .sol-card h3 { margin: 10px 0 8px; font-size: 1.06rem; line-height: 1.3; }
.val-card p, .sol-card p, .mod-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: .93rem; line-height: 1.55; flex: 1; }
.val-card .more, .sol-card .more, .mod-card .more { font-weight: 700; color: #0e7490; font-size: .9rem; }
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mod-card { padding: 26px; }
.mod-card .tag { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0e7490; }
.mod-card h3 { margin: 8px 0 10px; font-size: 1.35rem; }
.mod-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--ink-soft); font-size: .9rem; }
.mod-card li { margin-bottom: 4px; }
.q-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.q-list li { background: var(--bg-alt); border-left: 3px solid #16b8dd; border-radius: 0 10px 10px 0; padding: 10px 14px; color: var(--ink); font-weight: 600; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.steps3 div { counter-increment: st; border-top: 3px solid #16b8dd; padding-top: 14px; }
.steps3 div::before { content: counter(st); display: inline-block; font-weight: 800; color: #0e7490; margin-bottom: 6px; }
.steps3 h3 { font-size: 1.02rem; margin: 0 0 6px; }
.steps3 p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-strip .s { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 18px 20px; }
.stat-strip b { display: block; font-size: 1.9rem; line-height: 1.1; color: #0e7490; }
.stat-strip span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .92rem; line-height: 1.45; }
.qc-band { padding: 64px 0; }
.qc-band .qc-wrap { max-width: 620px; }
.hero-actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.val-grid.seven > .val-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 28px; align-items: start; background: linear-gradient(135deg, rgba(22,184,221,.08), rgba(10,59,124,.04)); }
.val-grid.seven > .val-card:first-child .num { grid-column: 1 / -1; justify-content: flex-start; gap: 10px; }
.val-grid.seven > .val-card:first-child h3 { font-size: 1.35rem; margin-top: 8px; }
.val-grid.seven > .val-card:first-child p { grid-column: 2; grid-row: 2 / span 2; margin: 10px 0 0; font-size: 1rem; }
.val-grid.seven > .val-card:first-child .more { grid-column: 1; }
.mod-card p { flex: 0 0 auto; }
.mod-card .more { margin-top: auto; }
@media (max-width: 900px) { .val-grid.seven > .val-card:first-child { display: flex; } .val-grid.seven > .val-card:first-child p { margin: 0 0 14px; } }
@media (max-width: 1000px) { .val-grid, .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .mod-grid, .steps3, .stat-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links.open { top: 92px; max-height: calc(100vh - 92px); overflow-y: auto; }
  .nav-links.open .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-links.open .nav-item.has-menu > a::after { display: none; }
  .nav-links.open .nav-menu, .nav-links.open .nav-menu-wide { display: block; position: static; width: auto; border: 0; box-shadow: none; padding: 4px 0 0 12px; }
  .nav-links.open .nav-menu::before { display: none; }
  .nav-links.open .nav-menu a { padding: 6px 0; }
  .nav-links.open .nav-menu span { display: none; }
  /* Mobile menu (Harvey 10-17): every top-level entry left-aligned in one style; sub-items indented in another */
  .nav-links.open { align-items: stretch; }
  .nav-links.open > a, .nav-links.open .nav-item > a { display: block; width: 100%; text-align: left; color: var(--ink); font-size: 1rem; font-weight: 700; }
  .nav-links.open .nav-menu a { padding: 7px 0; }
  .nav-links.open .nav-menu b { color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
}
@media (max-width: 600px) { .val-grid, .sol-grid { grid-template-columns: 1fr; } }

/* ---- 2026-10-17 overhaul v2: icons, mockups, scenario wall, polish ---- */
.val-card .vi, .sol-card .vi { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; color: var(--brand-blue); background: #fff; border: 1px solid #d4e2f4; box-shadow: 0 6px 14px -10px rgba(10,59,124,.35); }
.val-card .vi .ic, .sol-card .vi .ic { width: 22px; height: 22px; }
.val-grid.seven > .val-card:first-child .vi { grid-column: 1; }
.val-card, .sol-card { position: relative; overflow: hidden; }
.val-card::before, .sol-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #16b8dd, #0a3b7c); opacity: 0; transition: opacity .2s ease; }
.val-card:hover::before, .sol-card:hover::before { opacity: 1; }
.more-strong { font-weight: 800; color: #0e7490; }
.loop-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.band.tint { background: linear-gradient(180deg, #f6f8fc 0%, #eef6fb 100%); }
.stat-strip b { background: linear-gradient(135deg, #16b8dd, #0a3b7c); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.3rem; }
.sc-band { overflow: hidden; }
.sc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 28px; }
.sc-tabs button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .86rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.sc-tabs button:hover { border-color: #16b8dd; }
.sc-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.sc-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sc-row { overflow: hidden; padding: 8px 0; }
.sc-track { display: flex; gap: 16px; width: max-content; animation: sc-scroll 90s linear infinite; }
.sc-row.rev .sc-track { animation-direction: reverse; animation-duration: 100s; }
.sc-marquee:hover .sc-track { animation-play-state: paused; }
@keyframes sc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sc-card { width: 330px; flex: none; border-radius: 16px; padding: 18px 20px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.sc-card.t2 { background: linear-gradient(135deg, #ecfbff, #f3f7ff); border-color: #cdeef7; }
.sc-card.t3 { background: var(--dark-2); border-color: #1e2c47; }
.sc-card .seg { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #0e7490; }
.sc-card.t3 .seg { color: #5ec8e6; }
.sc-card p { margin: 10px 0 0; font-size: .94rem; line-height: 1.55; color: var(--ink-soft); }
.sc-card.t3 p { color: #cbd5e1; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.sc-grid .sc-card { width: auto; }
.sc-grid .sc-card[hidden] { display: none; }
.sc-grid[hidden], .sc-marquee[hidden] { display: none; }
.seg-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.seg-wall .sc-card { width: auto; }
.q-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.q-split .q-list { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .sc-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; } .sc-track [aria-hidden="true"] { display: none; } }
@media (max-width: 900px) { .loop-3 { grid-template-columns: 1fr; } .loop-3 .loop-node::after { display: none; } .seg-wall, .q-split { grid-template-columns: 1fr; } .sc-card { width: 280px; } }

/* Three-part loop (2026-10-17 fix): AEO → Find customers → CRM, then back to AEO — arrowheads show the direction */
.loop-3 .loop-node:not(:last-of-type)::before { content: ""; position: absolute; left: calc(100% + 10px); top: 34px; border: 5px solid transparent; border-left: 7px solid #94a3b8; border-right: 0; z-index: 1; }
.loop-3 .loop-back::before { content: ""; position: absolute; top: -9px; left: -7px; border: 6px solid transparent; border-bottom: 9px solid #94a3b8; border-top: 0; }
@media (max-width: 1000px) { .loop-3 .loop-node::before { display: none; } }
@media (max-width: 1000px) {
  .loop-3 .loop-back { display: block; position: static; height: auto; border: 0; text-align: center; }
  .loop-3 .loop-back-label { position: static; transform: none; white-space: normal; padding: 0; background: none; }
  .loop-3 .loop-back-label::before { content: "\21BA  "; }
}

/* Solution pages (2026-10-17 revision): the three parts in flow order, AEO/GEO → Find customers → CRM */
.seg-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sf-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--border); border-top: 3px solid var(--c); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
a.sf-card:hover { border-color: var(--c); text-decoration: none; transform: translateY(-1px); }
.sf-card:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + 6px); top: 50%; border: 5px solid transparent; border-left: 7px solid #94a3b8; border-right: 0; }
.sf-mod { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
.sf-mod .ic { width: 16px; height: 16px; color: var(--c); }
.sf-card h3 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.sf-card p { margin: 0; color: var(--ink-soft); font-size: .93rem; flex: 1; }
.sf-ex { align-self: flex-start; padding: 5px 10px; border-radius: 8px; background: var(--bg-alt); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; color: var(--ink-soft); }
@media (max-width: 900px) { .seg-flow { grid-template-columns: 1fr; gap: 14px; } .sf-card:not(:last-child)::after { left: 50%; top: calc(100% + 2px); border: 5px solid transparent; border-top: 7px solid #94a3b8; border-bottom: 0; } }
/* Four-step value chain (2026-10-17): diagnose → better answers → find customers → close in CRM, back to diagnose */
.loop-3.loop-chain { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; }
@media (max-width: 900px) { .loop-3.loop-chain { grid-template-columns: 1fr; } }
.loop-chain .loop-node { gap: 5px; padding: 22px 12px 16px; box-shadow: 0 8px 22px -14px rgba(15, 23, 42, .25); }
.loop-chain .loop-node .ic { width: 30px; height: 30px; }
.loop-chain .ln-n { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-size: .78rem; font-weight: 800; }
.loop-chain .loop-node b { font-size: .98rem; }
.loop-chain .ln-mod { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.loop-chain .ln-ex { margin-top: 6px; padding: 4px 8px; border-radius: 8px; background: var(--bg-alt); font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; color: var(--ink-soft); }
.loop-chain .loop-node:not(:last-of-type)::after, .loop-chain .loop-node:not(:last-of-type)::before { top: 50%; }
/* Business architecture diagram (2026-10-17): where buyers ask → four steps under their modules → outcome */
.arch-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 1040px; margin: 0 auto; }
.arch-lbl { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-right: 4px; }
.arch-out b { padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, #16b8dd, #0a3b7c); color: #fff; font-size: .95rem; }
.arch-down { width: 2px; height: 22px; margin: 6px auto; background: #cbd5e1; position: relative; }
.arch-down::after { content: ""; position: absolute; left: -4px; bottom: -6px; border: 5px solid transparent; border-top: 7px solid #94a3b8; border-bottom: 0; }
.arch-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 4px auto 22px; }
.arch-mods span { padding: 6px 0; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); color: var(--c); text-align: center; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.arch-mods .vis { grid-column: 1 / 3; }
.arch .loop-chain .ln-mod { display: none; }
@media (max-width: 900px) { .arch-mods { display: none; } .arch .loop-chain .ln-mod { display: inline; } .arch-row { justify-content: flex-start; } }
@media (max-width: 1000px) { .loop-3 .loop-back::before { display: none; } }
@media (max-width: 900px) { .arch .loop-chain { margin-top: 16px; gap: 22px; } }

/* Core architecture (2026-10-17, Harvey): balanced 2x2 four-pillar layout with seven values.
   1+2 paired in an AEO/GEO frame with Competitor Research bridge; 3 (Find customers) + 4 (CRM) aligned below;
   unified feedback & outcome bar at the base. */
.arch-ask-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 1080px; margin: 0 auto 24px; padding: 14px 22px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--border); }
.arch-ask-bar .arch-lbl { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.arch-ask-bar .chip-sm { padding: 6px 14px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; font-size: .84rem; font-weight: 700; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.pillars { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.pl-pair { grid-column: 1 / -1; position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, #f4fbfe 0%, #f8fafc 100%); border: 1px solid #bae6fd; box-shadow: 0 12px 32px -20px rgba(14, 116, 144, .2); }
.pl-pair-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 0 4px; }
.pl-pair-mod { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: #e0f2fe; color: #0369a1; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pl-pair-sub { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.pl-pair-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pillar { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--border); border-top: 4px solid var(--c); border-radius: 18px; background: #fff; box-shadow: 0 12px 28px -18px rgba(15, 23, 42, .18); transition: transform .2s ease, box-shadow .2s ease; }
.pillar:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(15, 23, 42, .26); }
.pl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pl-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 4px 10px -2px color-mix(in srgb, var(--c) 55%, transparent); }
.pl-mod { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.pillar h3 { margin: 2px 0 0; font-size: 1.24rem; color: var(--ink); }
.pillar > p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.pl-vals { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--border); display: grid; gap: 8px; }
.pl-vals a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-alt); border: 1px solid transparent; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 700; line-height: 1.35; transition: border-color .15s ease, background .15s ease; }
.pl-vals a:hover { background: #fff; border-color: var(--c); text-decoration: none; }
.pl-vals .ic { flex: none; width: 18px; height: 18px; color: var(--c); }
.pl-bridge { --c: #0284c7; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 0 auto; padding: 11px 22px; border: 1.5px solid #38bdf8; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; box-shadow: 0 8px 20px -12px rgba(2, 132, 199, .35); transition: transform .15s ease, background .15s ease; }
.pl-bridge:hover { text-decoration: none; background: #f0f9ff; transform: translateY(-1px); }
.pl-bridge .pl-arr { color: var(--c); font-weight: 800; }
.pl-fc { background: radial-gradient(640px 280px at 88% 0%, rgba(22, 184, 221, .34), transparent 62%), linear-gradient(150deg, #07192f 0%, #0a3b7c 100%); border: 2px solid #16b8dd; border-top: 4px solid #38bdf8; color: #f8fafc; box-shadow: 0 24px 52px -18px rgba(10, 59, 124, .58), 0 0 0 4px rgba(22, 184, 221, .14); }
.pl-fc:hover { transform: translateY(-3px); box-shadow: 0 28px 60px -16px rgba(10, 59, 124, .68), 0 0 0 5px rgba(22, 184, 221, .22); }
.pl-fc .pl-n { background: #16b8dd; color: #042032; box-shadow: 0 0 16px rgba(22, 184, 221, .6); }
.pl-fc .pl-mod { background: rgba(22, 184, 221, .2); color: #7dd3fc; border: 1px solid rgba(125, 211, 252, .35); }
.pl-fc h3 { color: #fff; font-size: 1.36rem; letter-spacing: -.01em; }
.pl-fc > p { color: #cbd5e1; }
.pl-fc .pl-vals { border-top-color: rgba(148, 163, 184, .25); }
.pl-fc .pl-vals a { background: linear-gradient(135deg, #22d3ee 0%, #16b8dd 100%); border-color: #67e8f9; color: #042032; font-weight: 800; padding: 11px 14px; box-shadow: 0 10px 24px -8px rgba(22, 184, 221, .55); }
.pl-fc .pl-vals a:hover { background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 100%); border-color: #fff; color: #042032; }
.pl-fc .pl-vals .ic { color: #042032; }
.pl-badge { position: absolute; top: -14px; right: 20px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(135deg, #67e8f9 0%, #16b8dd 100%); color: #042032; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; box-shadow: 0 8px 20px -4px rgba(22, 184, 221, .65); }
.pl-fc-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(22, 184, 221, .14); border: 1px solid rgba(103, 232, 249, .32); font-size: .78rem; font-weight: 700; color: #e0f2fe; }
.pl-fc-steps span { padding: 3px 8px; border-radius: 6px; background: rgba(7, 25, 47, .55); color: #67e8f9; }
.pl-fc-steps i { font-style: normal; color: #38bdf8; font-weight: 800; }
.pl-ex { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--bg-alt); border: 1px solid #e2e8f0; font-size: .84rem; }
.pl-fc .pl-ex { background: rgba(7, 25, 47, .62); border-color: rgba(56, 189, 248, .35); }
.pl-ex-h { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.pl-fc .pl-ex-h { color: #67e8f9; }
.pl-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 8px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--border); }
.pl-row b { font-size: .84rem; color: var(--ink); }
.pl-row span { color: var(--ink-muted); font-size: .8rem; }
.pl-fc .pl-row { background: rgba(15, 35, 66, .88); border-color: rgba(125, 211, 252, .24); }
.pl-fc .pl-row b { color: #fff; }
.pl-fc .pl-row span { color: #7dd3fc; font-weight: 600; }
.pl-loop { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 24px; border-radius: 16px; background: linear-gradient(90deg, #f0fdf4 0%, #ecfeff 55%, #f0f9ff 100%); border: 1px solid #bbf7d0; }
.pl-loop-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pl-loop-txt { flex: 1 1 280px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.pl-loop-out { padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, #16b8dd, #0a3b7c); color: #fff; font-size: .88rem; font-weight: 800; }
@media (max-width: 900px) {
  .pillars, .pl-pair-cols { grid-template-columns: 1fr; }
  .pl-loop { flex-direction: column; align-items: flex-start; }
  /* in a column the 280px basis became a 280px-tall gap (Harvey 10-17 phone screenshot) */
  .pl-loop-txt { flex: 0 0 auto; }
  .pl-loop-out { border-radius: 14px; }
}

/* Find customers UI shot + homepage spotlight (2026-10-17): the active lead engine gets its own visual focus */
.ui-shot { max-width: 1040px; margin: 0 auto; }
.ui-shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .45); }
.ui-shot figcaption { margin-top: 8px; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: var(--ink-muted); }
.fc-spot { background: radial-gradient(1200px 500px at 85% 0%, rgba(22, 184, 221, .18), transparent 60%), linear-gradient(160deg, #0a3b7c, #0b1f3f); color: #fff; }
.fc-spot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 44px; align-items: center; }
.fc-spot-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #16b8dd; color: #04263f; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fc-spot h2 { margin: 14px 0 10px; color: #fff; }
.fc-spot p { color: #cbd5e1; }
.fc-spot-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.fc-spot-list li { position: relative; padding-left: 26px; color: #e2e8f0; font-weight: 600; }
.fc-spot-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #16b8dd; box-shadow: inset 0 0 0 4px #0b2a55; }
.fc-spot .ui-shot img { border-color: rgba(255, 255, 255, .15); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.fc-spot .ui-shot figcaption { color: #94a3b8; }
@media (max-width: 900px) { .fc-spot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Typeface harmony (2026-10-17): diagram labels use the site font, not monospace or browser italics */
.arch .chip-sm, .loop-chain .ln-ex, .arch .loop-back-label, .loop-3 .loop-back-label, .arch .ill,
.pl-vals i, .pl-bridge i, .pl-loop span, .pl-ex small, .ui-shot figcaption, .sf-ex {
  font-family: inherit; font-style: normal; letter-spacing: 0;
}
.loop-chain .ln-ex { font-size: .74rem; font-weight: 600; }
.arch .chip-sm { font-size: .8rem; font-weight: 600; }
.pl-vals i, .pl-bridge i { font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.loop-3 .loop-back-label, .pl-loop span { font-size: .78rem; font-weight: 600; }

/* Homepage v3 (2026-10-17, Harvey): compound H1, framed hero UI, pill engines strip, floating quickcheck card,
   15 customer perspectives grid, and 4+1 pricing layout */
.hero h1 .h1-kicker { display: block; width: fit-content; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: rgba(22, 184, 221, .14); border: 1px solid rgba(22, 184, 221, .32); font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #5ec8e6; line-height: 1.3; }
.hero:has(.hero-shot) .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.hero-shot { margin: 0; padding: 12px; border-radius: 22px; background: radial-gradient(480px 220px at 85% 0%, rgba(22, 184, 221, .28), transparent 65%), linear-gradient(180deg, rgba(15, 35, 66, .88), rgba(7, 20, 40, .92)); border: 1.5px solid rgba(56, 189, 248, .55); box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .85), 0 0 44px -10px rgba(22, 184, 221, .35); }
.hero-shot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 2px 6px 10px; }
.hs-tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #67e8f9 0%, #16b8dd 100%); color: #042032; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 14px -2px rgba(22, 184, 221, .55); }
.hs-more { font-size: .82rem; font-weight: 700; color: #7dd3fc; text-decoration: none; }
.hs-more:hover { color: #fff; text-decoration: underline; }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); }
.hero-video { display: inline-flex; width: max-content; align-items: center; gap: 9px; margin: 18px 0 14px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #e2e8f0; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.hero-video span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--brand-blue); font-size: .68rem; }
.hero-video:hover { background: rgba(22, 184, 221, .14); border-color: rgba(22, 184, 221, .4); color: #fff; text-decoration: none; }
.hero .hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 4px; }
.hero .ht-fc { padding: 2px 8px; border-radius: 6px; background: rgba(22, 184, 221, .2); border: 1px solid rgba(103, 232, 249, .4); color: #67e8f9; }

/* Answer engine logos and product source icons */
.engines { padding: 24px 0; border-bottom: 1px solid var(--border); background: #f8fafc; }
.engines-row { display: grid; gap: 22px; }
.eng-group { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 20px; }
.eng-lbl { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); text-align: right; white-space: nowrap; }
.eng-items { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 26px; }
.eng-brand { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; flex: 0 0 auto; color: #17212b; white-space: nowrap; }
.eng-brand img { display: block; flex: 0 0 auto; object-fit: contain; }
.eng-chatgpt { font-size: .93rem; font-weight: 650; letter-spacing: -.04em; }
.eng-google { font-size: .75rem; font-weight: 600; letter-spacing: -.02em; }
.eng-sources { gap: 14px 18px; }
.eng-source { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: .78rem; font-weight: 600; white-space: nowrap; min-height: 34px; }
.eng-source svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: #64748b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eng-brand:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 2px; }
@media (max-width: 1100px) {
  .eng-group { grid-template-columns: 1fr; gap: 12px; }
  .eng-lbl { text-align: center; }
}
@media (max-width: 600px) {
  .engines { padding: 24px 0; }
  .engines-row { gap: 26px; }
  .eng-items { gap: 14px 22px; }
  .eng-sources { gap: 12px 18px; }
}

/* Floating Free Check Card on light background (no second full-bleed dark hero) */
section.qc-band { background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%); padding: 56px 0 40px; color: var(--ink); }
section.qc-band .qc-wrap { max-width: 860px; margin: 0 auto; padding: 42px 48px; border-radius: 24px; background: radial-gradient(800px 320px at 80% 0%, rgba(22, 184, 221, .22), transparent 60%), linear-gradient(155deg, #0b192e 0%, #0a2d5e 100%); border: 1px solid rgba(22, 184, 221, .32); box-shadow: 0 28px 64px -24px rgba(10, 59, 124, .4); text-align: center; color: #fff; }
section.qc-band .qc-wrap .eyebrow { color: #5ec8e6; }
section.qc-band .qc-wrap h2 { margin-bottom: 8px; }
section.qc-band .qc-wrap .lede { color: #cbd5e1; font-size: 1.08rem; max-width: 54ch; margin: 0 auto !important; }
section.qc-band .quickcheck { margin: 24px auto 0; max-width: 600px; text-align: left; }
section.qc-band .qc-how, section.qc-band .qc-note { display: block; text-align: center; }

/* Research stat cards polish */
.stat-strip .s { position: relative; overflow: hidden; padding: 24px 24px 22px; border-radius: 16px; box-shadow: 0 10px 26px -16px rgba(15, 23, 42, .14); }
.stat-strip .s::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #16b8dd, #0a3b7c); }

/* 15 Customer perspectives editorial quote cards (4 category tabs, default: Product answers & evidence) */
.persp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.q-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; border: 1px solid var(--border); border-top: 3px solid var(--c, #16b8dd); background: #fff; box-shadow: 0 10px 28px -18px rgba(15, 23, 42, .16); transition: transform .18s ease, box-shadow .18s ease; }
.q-card[hidden], .sc-card[hidden] { display: none !important; }
.q-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(15, 23, 42, .24); }
.q-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.q-num { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--c, #16b8dd) 12%, #fff); color: var(--c, #0e7490); font-size: .74rem; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.q-ind { font-size: .88rem; font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.q-card p { margin: 0; font-size: .94rem; font-weight: 500; line-height: 1.62; color: var(--ink-soft); }

/* Pricing: 4 main columns + full-width horizontal Scale banner */
.tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tiers > .tier:nth-child(5) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(0, 2fr) auto; align-items: center; column-gap: 32px; row-gap: 4px; padding: 26px 32px; background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%); border-color: #bae6fd; }
.tiers > .tier:nth-child(5) .price-note { display: none; }
.tiers > .tier:nth-child(5) h3 { grid-column: 1; margin: 0; font-size: 1.25rem; }
.tiers > .tier:nth-child(5) .price { grid-column: 1; font-size: 1.75rem; margin: 2px 0; color: var(--accent); }
.tiers > .tier:nth-child(5) p.muted { grid-column: 1; margin: 0; }
.tiers > .tier:nth-child(5) ul { grid-column: 2; grid-row: 1 / 4; margin: 0; display: grid; gap: 8px; }
.tiers > .tier:nth-child(5) .btn { grid-column: 3; grid-row: 1 / 4; width: auto; padding: 13px 26px; margin: 0; background: #fff; }

@media (max-width: 1080px) {
  .persp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers > .tier:nth-child(5) { grid-template-columns: 1fr; row-gap: 12px; }
  .tiers > .tier:nth-child(5) ul, .tiers > .tier:nth-child(5) .btn { grid-column: 1; grid-row: auto; }
}
@media (max-width: 900px) {
  .hero:has(.hero-shot) .hero-grid { grid-template-columns: 1fr; }
  .hero-shot { margin: 20px 0 0; }
  .eng-sep { display: none; }
  section.qc-band .qc-wrap { padding: 30px 22px; }
}
@media (max-width: 640px) {
  .persp-grid, .tiers { grid-template-columns: 1fr; }
}

.loop-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .loop-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .loop-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.loop-back-label { font-family: inherit; font-size: .78rem; font-weight: 600; }
/* /pricing (2026-10-17, Harvey): full limits collapsed under one summary */
.limits-acc { margin: 28px 0; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.limits-acc > summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.limits-acc > summary::-webkit-details-marker { display: none; }
.limits-acc > summary h2 { margin: 0; font-size: 1.3rem; }
.limits-acc > summary h2::after { content: " +"; color: var(--accent-2); }
.limits-acc[open] > summary h2::after { content: " \2212"; }
.limits-acc > summary span { color: var(--ink-muted); font-size: .92rem; }
.limits-acc[open] { padding-bottom: 12px; }
.limits-acc > :not(summary) { margin-left: 22px; margin-right: 22px; }

/* "See an example" toggles: phones only (Harvey 10-18: shorten How Hasmord works on mobile) */
.pl-ex-toggle { display: none; }
@media (max-width: 700px) {
  .pillar { padding: 18px; gap: 10px; }
  .pl-pair { padding: 14px; gap: 14px; }
  .pillar .pl-ex { display: none; }
  .pillar.ex-open .pl-ex { display: grid; }
  .pl-ex-toggle { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
  .pl-ex-toggle::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
  .pl-ex-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
  .pl-fc .pl-ex-toggle { background: rgba(7, 25, 47, .62); border-color: rgba(56, 189, 248, .35); color: #cffafe; }
  .pl-vals { gap: 6px; padding-top: 10px; }
  .pl-vals a { padding: 7px 10px; }
}

/* ---- Logo-blue sections (Harvey 10-27: the navy was too dark; small logo blue #1A4DA3) ---- */
:root { --brand-blue: #1A4DA3; }
.hero { background: radial-gradient(1200px 500px at 70% -10%, rgba(3, 191, 218, .26), transparent 60%), var(--brand-blue); }
.hero .eyebrow { color: #b5f1fb; }
.hero .lede { color: #e3ebf8; }
.hero-trust { color: #c9d7ee; }
.hero h1 .h1-kicker { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); color: #d4f6fc; }
.hero .ht-fc { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); color: #d4f6fc; }
.hero-video { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); color: #fff; }
.hero .btn-primary, .hero .btn-cyan, .cta-band .btn-primary { background: #fff; color: var(--brand-blue); }
.hero .btn-primary:hover, .hero .btn-cyan:hover, .cta-band .btn-primary:hover { background: #eef4ff; }
.cta-band .btn-cyan { color: #fff; }
section.qc-band .qc-wrap { background: radial-gradient(800px 320px at 80% 0%, rgba(3, 191, 218, .26), transparent 60%), var(--brand-blue); border-color: rgba(255, 255, 255, .22); }
section.qc-band .qc-wrap .eyebrow { color: #b5f1fb; }
section.qc-band .qc-wrap .lede { color: #e3ebf8; }
.cta-band { background: radial-gradient(900px 400px at 30% 0%, rgba(3, 191, 218, .24), transparent 60%), var(--brand-blue); }
.cta-band p { color: #e3ebf8; }
.site-footer { background: var(--brand-blue); color: #e3ebf8; }
.footer-grid a, .footer-brand p, .footer-bottom { color: #d0dcf0; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .2); }
.footer-bottom a { color: #e3ebf8; }
.footer-logo .has { color: #7fe3f3; }
.footer-logo .has::after { background: linear-gradient(90deg, #7fe3f3 0%, rgba(127, 227, 243, 0) 100%); }

/* /find-customers: paste a product page, go straight to Find customers after sign-in */
.fc-hero { text-align: center; padding: 76px 0 84px; }
.fc-hero h1 { max-width: 20ch; margin: 0 auto 14px; }
.fc-hero .lede { max-width: 56ch; margin: 0 auto 28px; }
.fc-start { display: flex; gap: 8px; max-width: 620px; margin: 0 auto; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(4, 20, 60, .55); }
.fc-start:focus-within { box-shadow: 0 0 0 3px rgba(127, 227, 243, .75), 0 18px 40px -18px rgba(4, 20, 60, .55); }
.fc-start input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; padding: 12px 14px; }
.fc-start input::placeholder { color: #64748b; }
.fc-start .btn { white-space: nowrap; }
.fc-start .btn-primary { background: var(--brand-blue); color: #fff; box-shadow: none; }
.fc-start .btn-primary:hover { background: #163f87; }
.fc-start-alt { margin: 14px 0 0; font-size: .92rem; }
.fc-start-alt a { color: #e3ebf8; text-decoration: underline; text-underline-offset: 3px; }
.fc-start-alt a:hover { color: #fff; }
.fc-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.fc-pills li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); color: #fff; font-size: .88rem; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) {
  .fc-hero { padding: 56px 0 64px; }
  .fc-start { flex-direction: column; }
  .fc-start .btn { width: 100%; justify-content: center; }
}

/* Header "Start free" in the logo blue (Harvey 10-27) */
.site-header .nav-cta .btn-primary { background: var(--brand-blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(26, 77, 163, .55); }
.site-header .nav-cta .btn-primary:hover { background: #163f87; }
.site-header .nav-cta .btn-ghost { background: #fff; border-color: #d4e2f4; }
.site-header .nav-cta .btn-ghost:hover { background: #f5f8fd; }

/* Homepage hero screenshot is a link to /find-customers (Harvey 10-28) */
.hero-shot-link { display: block; border-radius: 14px; }
.hero-shot-link img { transition: box-shadow .15s ease, transform .15s ease; }
.hero-shot-link:hover img { box-shadow: 0 0 0 2px rgba(127, 227, 243, .8); transform: translateY(-1px); }
.hero-shot-link:focus-visible { outline: 3px solid #7fe3f3; outline-offset: 3px; }

/* Cookie notice card (Harvey 10-28): white card, bottom-right, logo blue Accept */
.hm-consent { position: fixed; right: 20px; bottom: 20px; z-index: 2147483000; width: min(400px, calc(100vw - 32px)); box-sizing: border-box; background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 24px 60px -24px rgba(15, 23, 42, .45), 0 2px 6px rgba(15, 23, 42, .06); font-family: var(--font); opacity: 0; transform: translateY(12px); transition: opacity .22s ease, transform .22s ease; }
.hm-consent.is-in { opacity: 1; transform: none; }
.hm-consent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .98rem; color: var(--ink); }
.hm-consent-ic { display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: #eaf1fc; color: var(--brand-blue); }
.hm-consent-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-consent-ic svg circle { fill: currentColor; stroke: none; }
.hm-consent p { margin: 0 0 14px; font-size: .88rem; line-height: 1.55; color: var(--ink-soft); }
.hm-consent p a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.hm-consent-btns { display: flex; gap: 8px; justify-content: flex-end; }
.hm-consent-btn { cursor: pointer; border-radius: 10px; padding: 9px 20px; font: inherit; font-size: .88rem; font-weight: 700; line-height: 1.2; transition: background .15s ease, border-color .15s ease; }
.hm-consent-decline { background: #fff; color: var(--ink); border: 1px solid #cbd5e1; }
.hm-consent-decline:hover { background: #f8fafc; border-color: #94a3b8; }
.hm-consent-accept { background: var(--brand-blue); color: #fff; border: 1px solid var(--brand-blue); }
.hm-consent-accept:hover { background: #163f87; border-color: #163f87; }
.hm-consent-btn:focus-visible { outline: 3px solid #7fe3f3; outline-offset: 2px; }
@media (max-width: 560px) {
  .hm-consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .hm-consent-btns .hm-consent-btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) { .hm-consent { transition: none; } }
@media print { .hm-consent { display: none !important; } }

/* /find-customers launch offer (Harvey 10-28: the US$50 cap in small print) */
.fc-promo { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -6px 0 24px; padding: 0; list-style: none; }
.fc-promo li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--brand-blue); font-size: .9rem; font-weight: 700; }
.fc-promo .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-promo li span { text-align: center; }
.fc-promo sup { font-size: .7em; margin-left: 1px; }
.fc-fine { margin: 18px auto 0; max-width: 62ch; font-size: .78rem; line-height: 1.5; color: #c9d7ee; }

/* Anonymous customer portraits */
.q-avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover; background: #edf0f2; }
.section-head .persp-privacy { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* new site: home hero figure and three-step loop (from the home page block) */

    .hx-product { font-size: .8rem; color: #94a3b8; margin: 6px 0 4px; }
    .hx-item { border-top: 1px solid rgba(148,163,184,.16); padding: 11px 0; }
    .hx-label { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 2px 7px; margin-bottom: 6px; }
    .hx-partial { background: rgba(250,204,21,.15); color: #fde68a; }
    .hx-missing { background: rgba(248,113,113,.16); color: #fca5a5; }
    .hx-fix { background: rgba(34,197,94,.15); color: #86efac; }
    .hx-item p { margin: 0; font-size: .85rem; line-height: 1.5; color: #cbd5e1; }
    .hx-item p b { color: #f1f5f9; font-weight: 700; }
    .hx-link { display: inline-block; margin-top: 8px; font-size: .84rem; font-weight: 700; color: #5ec8e6; }
    /* hero loop: four steps in a row, a line under them back to the first step */
    .hero-loop { max-width: 620px; margin: 4px 0 26px; }
    .hl-row { display: grid; grid-template-columns: 1fr 18px 1fr 18px 1fr; }
    .hl-step { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px 6px; border-radius: 8px; background: rgba(22,184,221,.10); border: 1px solid rgba(103,232,249,.32); color: #e2e8f0; font-size: .8rem; font-weight: 700; line-height: 1.25; }
    .hl-step.hl-fc { background: rgba(22,184,221,.2); border-color: rgba(103,232,249,.5); color: #67e8f9; }
    .hl-row i { font-style: normal; align-self: center; text-align: center; color: #5ec8e6; font-size: .85rem; }
    .hl-back { position: relative; height: 20px; margin: 7px calc((100% - 36px) / 6) 0; border: 1.5px solid rgba(94,200,230,.6); border-top: 0; border-radius: 0 0 12px 12px; }
    .hl-back::before { content: ""; position: absolute; left: -5.75px; top: -7px; border: 5px solid transparent; border-top: 0; border-bottom: 7px solid #5ec8e6; }
    .hl-back span { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); padding: 0 10px; background: var(--brand-blue, #1A4DA3); color: #b5f1fb; font-size: .78rem; font-weight: 700; white-space: nowrap; }
    @media (max-width: 560px) { .hl-row { grid-template-columns: 1fr 14px 1fr 14px 1fr; } .hl-step { padding: 6px 3px; font-size: .68rem; } .hl-back { margin: 7px calc((100% - 28px) / 6) 0; } }
  
.about-lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink); font-weight: 600; }
