/* chazif.com - dark theme in the SearchNex palette (owner's choice, 2026-10-18).
   Slate surfaces, white text, lime as the single accent: buttons, bars, squares, data highlights.
   Anything sitting ON lime uses --on-lime (dark) text. */

/* Self-hosted variable fonts (no third-party requests). Latin-ext only downloads if a page needs it. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face { font-family: "Grotesk Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 100.6%; }
@font-face { font-family: "Grotesk Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 500; size-adjust: 100.6%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 500; size-adjust: 106.8%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 101.5%; }

:root {
  --lime: #CFFF04;
  --lime-hover: #B8E300;
  --on-lime: #1A1A1A;   /* text on lime */
  --bg: #282D35;        /* page */
  --band: #2C3139;      /* alternate section band */
  --bg-up: #2F353E;     /* raised: cards, form, frames */
  --card: #343B45;      /* tiles: diagram boxes, panels */
  --text: #FFFFFF;
  --text-2: #C9CED6;    /* body copy */
  --muted: #9CA3AF;     /* small labels (>= 4.5:1 on bg and bg-up) */
  --soft: #8E96A3;      /* decorative only */
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --waste: #FF7070;     /* the one semantic colour: money lost */

  --font-head: "Space Grotesk", "Grotesk Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 152px);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text-2);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
strong { font-weight: 600; }

h1, h2, h3 {
  font-family: var(--font-head); font-weight: 700; margin: 0;
  letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; color: var(--text);
}
h1 { font-size: clamp(46px, 7.6vw, 112px); letter-spacing: -0.045em; line-height: 0.94; }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.1; }

/* Brand accent: the short lime bar under a headline (one per section at most). */
.bar::after { content: ""; display: block; width: 56px; height: 6px; background: var(--lime); margin-top: 26px; }
.center .bar::after, .bar.center::after { margin-left: auto; margin-right: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section, .cta { border-top: 1px solid var(--line); }
.panel { background: var(--band); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--on-lime); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 720px; }
.center .lede { margin-left: auto; margin-right: auto; }
.prose { max-width: 640px; }
.prose p { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--text); }
.text-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; font-family: var(--font-head); font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--lime); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--text); }

/* Hero / CTA bands: same slate as the page, white text. */
.dark { background: var(--bg); color: #fff; }
.dark h1, .dark h2, .dark h3, .dark .lede, .dark .prose p { color: #fff; }
.dark :focus-visible { outline-color: #fff; }

/* Local-review markers for content still missing. They are stripped before launch. */
.todo, .todo-link[href^="#todo"] { outline: 1px dashed var(--waste); outline-offset: 3px; border-radius: 2px; }
.todo { color: var(--waste); font-family: var(--font-data); font-size: .8em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--lime); color: var(--on-lime); border: 2px solid var(--lime);
  font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; padding: 18px 28px; border-radius: 6px; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--lime-hover); border-color: var(--lime-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--on-lime); }
.dark .btn-ghost { color: #fff; border-color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--on-lime); }
.btn-sm { font-size: 15px; padding: 10px 16px; }
.btn-lg { font-size: 19px; padding: 22px 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.center .btn-row, .cta .btn-row { justify-content: center; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(40, 45, 53, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .18em; text-decoration: none; color: var(--text); }
.wordmark img { width: 40px; height: 28px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--lime); }
.menu-btn { display: none; position: relative; margin-left: auto; width: 44px; height: 44px; padding: 0; color: var(--text); background: none; border: 0; border-radius: 8px; cursor: pointer; }
/* hamburger: one span is the middle bar, its ::before/::after the outer bars; they cross into an X when open */
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: currentColor; border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span { top: 50%; margin-top: -1px; }
.menu-btn span::before, .menu-btn span::after { content: ""; left: 0; margin-left: 0; }
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { background: var(--text); transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { background: var(--text); transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 96px); }
.hero .lede { margin-top: 30px; }
.hero.center h1 { max-width: 19ch; margin: 0 auto; font-size: clamp(40px, 6.2vw, 88px); }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.kicker i { width: 10px; height: 10px; background: var(--lime); }
.hero-graphic { margin-top: clamp(64px, 8vw, 104px); }
.hero-graphic svg { width: 100%; height: auto; overflow: visible; }

/* hero line graphic (drawn on the grey band) */
.g-label { font-family: var(--font-data); font-size: 15px; letter-spacing: .12em; fill: #fff; }
.g-label.accent { fill: var(--lime); font-weight: 700; }
.g-grid { stroke: rgba(255,255,255,.28); stroke-width: 1; stroke-dasharray: 2 8; }
.g-chaos { fill: none; stroke: #fff; stroke-width: 1.6; opacity: .85; }
.g-chaos.alt { stroke: #D1D5DB; opacity: .9; }
.g-revenue { fill: none; stroke: var(--lime); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
/* homepage growth chart */
.g-spend { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .9; }
.g-margin { fill: url(#g-fill); stroke: none; }
.g-arrow { fill: var(--lime); }
.g-cross { fill: var(--bg); stroke: #fff; stroke-width: 3; }
.g-phase { stroke: rgba(255,255,255,.18); stroke-width: 1; stroke-dasharray: 4 6; }
.g-tag { font-family: var(--font-data); font-size: 12px; letter-spacing: .14em; fill: var(--muted); }
.g-label.g-small { font-size: 13px; }
.g-phases { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6,.05,.3,1) forwards; }
  .draw.late { animation-duration: 1.1s; animation-delay: 1.2s; }
  .fade-late { opacity: 0; animation: fade .4s ease forwards 2.1s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
/* Homepage growth chart loops: draw spend, draw revenue, reveal labels, hold, fade out, repeat (8s) */
@media (prefers-reduced-motion: no-preference) {
  .growth .draw { animation: g-draw 8s ease-in-out infinite; }
  .growth .draw.late { animation: g-draw-late 8s ease-in-out infinite; }
  .growth .fade-late { animation: g-reveal 8s ease infinite; }
}
@keyframes g-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 20% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes g-draw-late { 0%, 15% { stroke-dashoffset: 1; opacity: 1; } 29% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes g-reveal { 0%, 26% { opacity: 0; } 31%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* ---------- layouts ---------- */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split h2 + .prose, .split .bar + .prose, .teaser .bar + .prose { margin-top: 28px; }
.head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.head .lede { margin-top: 24px; }

/* gap visual (silos) */
.silo svg { width: 100%; height: auto; max-width: 460px; margin-left: auto; }
.silo .pillar { fill: var(--card); stroke: var(--line-strong); }
.silo .row { stroke: var(--soft); stroke-width: 3; stroke-linecap: round; }
.silo .bracket { fill: none; stroke: var(--text); stroke-width: 1.5; }
.silo .label { font-family: var(--font-data); font-size: 15px; letter-spacing: .12em; fill: var(--text-2); }
.silo .label.gap { fill: var(--text); font-weight: 700; }
.silo .leak { fill: var(--waste); }
.silo .pool { stroke: var(--waste); stroke-width: 2; }
.silo .loss-text { font-family: var(--font-data); font-weight: 700; font-size: 22px; fill: var(--waste); }
@media (prefers-reduced-motion: no-preference) {
  .silo .drip { animation: drip 3.2s linear infinite; transform-box: fill-box; }
  .silo .drip:nth-of-type(2n) { animation-duration: 2.6s; }
  .silo .drip:nth-of-type(3n) { animation-duration: 3.8s; }
}
@keyframes drip { 0% { transform: translateY(-40px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }

/* homepage problem visual: what platforms claim vs what the CRM booked */
.claims svg { width: 100%; height: auto; max-width: 480px; margin-left: auto; display: block; }
.cl-total { font-family: var(--font-head); font-weight: 700; font-size: 44px; fill: #fff; letter-spacing: -.02em; }
.cl-total.crm { fill: var(--lime); }
.cl-key { font-family: var(--font-data); font-size: 13px; letter-spacing: .08em; fill: var(--text-2); }
.cl-name { font-family: var(--font-data); font-weight: 700; font-size: 15px; letter-spacing: .08em; fill: #fff; }
.cl-count { font-family: var(--font-body); font-size: 16px; fill: var(--text-2); }
.cl-over { fill: url(#overcount); stroke: var(--waste); stroke-width: 1.5; }
.cl-real { fill: var(--lime); }
.cl-rule { stroke: var(--line-strong); }
.cl-legend { font-family: var(--font-body); font-size: 16px; fill: #fff; }
.cl-legend.waste { fill: var(--waste); }

/* homepage service teasers: each links to its detail page */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 34px); background: var(--bg-up); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.service:hover { border-color: var(--lime); transform: translateY(-2px); }
.service-num { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--lime); }
.service p { font-size: 17px; color: var(--text-2); flex: 1; }
.service-go { font-family: var(--font-head); font-weight: 700; color: var(--text); border-bottom: 3px solid var(--lime); align-self: flex-start; padding-bottom: 2px; }

/* homepage founder teaser */
.teaser { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.teaser-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; padding: 22px; background: var(--bg-up); border: 1px solid var(--line); border-radius: var(--radius); }
.teaser-card img { width: 160px; height: 200px; object-fit: cover; border-radius: 8px; }
.stats { margin: 0; display: grid; gap: 22px; }
.stats dt { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 4.4vw, 56px); line-height: .95; letter-spacing: -0.04em; color: var(--lime); }
.stats dd { margin: 6px 0 0; font-size: 15px; color: var(--text-2); }

/* numbered levers, each with a wireframe tile on the grey surface */
.levers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.lever { display: grid; grid-template-columns: 56px 1fr 300px; gap: clamp(20px, 4vw, 56px); align-items: start; padding: clamp(28px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line); }
.lever-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: var(--text); letter-spacing: -0.02em; }
.lever-num::after { content: ""; display: block; width: 24px; height: 4px; background: var(--lime); margin-top: 10px; }
.lever h3 { margin-bottom: 12px; }
.lever p { font-size: 17px; color: var(--text-2); max-width: 560px; }
.lever-art { align-self: center; background: var(--bg-up); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.lever-art svg { width: 100%; height: auto; }

.wire { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wire.dim { stroke: #D1D5DB; opacity: .8; }
.wire.dash { stroke-dasharray: 4 5; }
.wire.lime { stroke: var(--lime); }
.wire.ring { stroke-dasharray: 78 100; }
.fill-lime { fill: var(--lime); }
.hatch-lime { fill: url(#hatch); stroke: var(--lime); stroke-width: 1.5; }
.wire-text { font-family: var(--font-data); font-size: 10px; fill: #fff; letter-spacing: .06em; }
.wire-text.lime { fill: var(--lime); font-weight: 700; }
.serp-logo { font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.02em; fill: #D1D5DB; opacity: .8; }
.wire-text.big { font-size: 26px; font-family: var(--font-head); font-weight: 700; }

/* cards */
.cards { display: grid; gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg-up); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.panel .card { background: var(--card); }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--text-2); font-size: 17px; }
.card .num { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .1em; margin-bottom: 18px; padding: 4px 10px; background: var(--lime); color: var(--on-lime); border-radius: 4px; }
.card.feature { border-color: var(--text); }

/* scope list (measurement) */
.scope { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scope li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--bg-up); border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.scope li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--lime); }

/* maturity ladder (measurement): bars rise left to right; labels share one top line */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ladder li { display: grid; grid-template-rows: 210px auto; align-content: start; }
.ladder .step { align-self: end; border-radius: 8px 8px 0 0; position: relative; }
.ladder li:nth-child(1) .step { height: 60px; background: #3A414C; }
.ladder li:nth-child(2) .step { height: 110px; background: #4B5563; }
.ladder li:nth-child(3) .step { height: 160px; background: #6B7280; }
.ladder li:nth-child(4) .step { height: 210px; background: #9CA3AF; box-shadow: inset 0 6px 0 var(--lime); }
.ladder li:nth-child(4) .step::after { content: "Closed loop"; position: absolute; top: 20px; left: 14px; font: 700 12px var(--font-data); letter-spacing: .08em; text-transform: uppercase; color: var(--on-lime); background: var(--lime); padding: 3px 8px; border-radius: 3px; }
.ladder .lvl { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--text); padding-top: 16px; border-top: 3px solid var(--text); }
.ladder p { font-size: 16px; color: var(--text-2); margin-top: 8px; }
.callout { margin-top: 40px; display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-left: 6px solid var(--lime); background: var(--bg-up); font-size: 18px; }

/* platform loop diagram */
.loop { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: center; }
.loop-box { border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.loop-box h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.loop-box ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.loop-box li { display: flex; gap: 12px; align-items: baseline; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--text); }
.loop-box li span { font-family: var(--font-data); font-weight: 400; font-size: 13px; }
.loop-box.machine { background: var(--card); color: #fff; }
.loop-box.machine h3 { color: #fff; }
.loop-box.team { background: transparent; border: 2px solid var(--text); }
.loop-arrow { font-family: var(--font-head); font-weight: 700; font-size: 34px; text-align: center; line-height: 1; }
.loop-arrow small { display: block; font: 600 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-top: 8px; }
.loop-note { margin-top: 20px; font-size: 15px; color: var(--text-2); }
.loop-note b { color: var(--text); }

/* product module label */
.module { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.module img { width: 34px; height: 22px; }
.module .tag { font: 600 11px var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--text-2); }

/* screenshot frame (real UI goes here) */
.frame { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--bg-up); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.frame-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--card); color: #fff; }
.frame-top .wordmark { color: #fff; font-size: 13px; }
.frame-top .wordmark { gap: 7px; }
.frame-top .wordmark img { width: 23px; height: 16px; }
.frame-top .app { font-family: var(--font-head); font-weight: 700; font-size: 14px; opacity: .95; }
.frame-top .sample { margin-left: auto; font-family: var(--font-data); font-size: 11px; letter-spacing: .1em; border: 1px dashed rgba(255,255,255,.7); padding: 3px 8px; border-radius: 4px; }
.frame .placeholder { display: grid; place-items: center; min-height: 340px; padding: 40px; text-align: center; color: var(--text-2); background: repeating-linear-gradient(135deg, var(--bg-up) 0 14px, var(--card) 14px 28px); }

/* scorecard table (brand table: grey header row, paper rows, hairlines) */
.score { width: 100%; border-collapse: collapse; font-size: 15px; }
.score th, .score td { padding: 18px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.score tbody tr:last-child > * { border-bottom: 0; }
.score thead th { background: var(--band); font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding-top: 14px; padding-bottom: 14px; vertical-align: bottom; line-height: 1.35; }
.score thead th span { text-transform: none; letter-spacing: 0; }
.score th:first-child, .score td:first-child { padding-left: 24px; }
.score th:last-child, .score td:last-child { padding-right: 24px; }
.score .num { text-align: right; font-family: var(--font-data); white-space: nowrap; }
.score thead .num { font-family: var(--font-body); }
.score .q { font-family: var(--font-data); font-weight: 400; font-size: 14px; min-width: 215px; text-wrap: balance; }
.score .vert { color: var(--text-2); min-width: 110px; } /* long labels like "Home services (multi-location)" wrap */
.score .rev { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--lime); }
.score .rev.low, .score .loss { color: var(--waste); }
.score .rank1 { font-weight: 700; color: var(--lime); }
.score .dec { width: 31%; min-width: 260px; line-height: 1.5; }
.score .dec .chip { display: block; width: max-content; margin-bottom: 8px; border-collapse: separate; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap; }
.chip.scale { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.chip.cut { border-color: var(--waste); color: var(--waste); }
.chip.build { border-color: var(--text); color: var(--text); }
:root { --paid: #FFFFFF; --organic: #6E7684; }
.mix { display: block; width: 128px; margin: 10px 0 0 auto; }
.mix .bar { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--paid) 0%, var(--paid) calc(var(--p) - 12%), var(--organic) calc(var(--p) + 12%), var(--organic) 100%); }
.mix .bar::after { display: none; }
.mix .split { display: flex; justify-content: space-between; margin-top: 5px; font-family: var(--font-data); font-weight: 400; font-size: 11px; color: var(--muted); }
.mix .split em { display: none; font-style: normal; font-family: var(--font-body); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.key { display: inline-flex; gap: 10px; margin-top: 4px; text-transform: none; letter-spacing: 0; }
.key i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.key .k-paid { background: var(--paid); }
.key .k-org { background: var(--organic); }

/* founder + the 15+ panel */
.portrait { position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--card); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder { margin: 0; }
.founder figcaption { display: grid; gap: 2px; margin-top: 18px; font-size: 15px; }
.founder figcaption b { font-family: var(--font-head); font-size: 20px; color: var(--text); letter-spacing: -0.01em; }
.founder figcaption span { color: var(--text-2); }
.founder figcaption .links { display: flex; gap: 18px; margin-top: 10px; }
.founder figcaption a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); }
.big-stat { display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 36px; border-radius: var(--radius); background: var(--card); color: #fff; }
.big-stat b { font-family: var(--font-head); font-size: clamp(120px, 15vw, 210px); line-height: .8; letter-spacing: -0.06em; }
.big-stat span { margin-top: 18px; font-family: var(--font-data); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.big-stat b::after { content: ""; display: block; width: 56px; height: 6px; background: var(--lime); margin-top: 22px; }

/* the name: CHaudhry AZhar IFtikhar */
.name-build { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.38; }
.name-build mark { background: var(--lime); color: var(--on-lime); padding: 0 .04em; border-radius: 3px; }
.name-build .eq { display: block; margin-top: 10px; font-size: .62em; letter-spacing: .2em; }

/* beliefs */
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: b; }
.beliefs li { counter-increment: b; padding-top: 22px; border-top: 3px solid var(--text); font-size: 18px; color: var(--text-2); }
.beliefs li::before { content: "0" counter(b); display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--text); margin-bottom: 12px; }
.beliefs li b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--text); margin-bottom: 8px; letter-spacing: -0.015em; line-height: 1.2; }

/* blog */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.post { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post .date { font-family: var(--font-data); font-size: 13px; color: var(--text-2); }
.post h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.post p { color: var(--text-2); font-size: 16px; margin-top: 6px; }
.post .status { font: 600 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* contact form */
.contact-grid h1 { font-size: clamp(40px, 5.2vw, 76px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-card { background: var(--bg-up); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
[hidden] { display: none !important; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; font-size: 16px; padding: 0; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 13px 15px; min-height: 52px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field .optional { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--lime); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--waste); }
fieldset.field { border: 0; margin: 0 0 20px; padding: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.choice label { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 6px; font: 600 16px var(--font-body); }
.choice span small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.choice input:checked + span { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); background: linear-gradient(var(--lime), var(--lime)) left / 6px 100% no-repeat, var(--bg); padding-left: 22px; }
.choice input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-error { display: none; margin-bottom: 20px; padding: 12px 14px; border: 1px solid var(--waste); border-radius: 6px; color: var(--waste); font-size: 15px; }
.form-error.show { display: block; }
.next-steps { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.35); }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.next-steps li span { font-family: var(--font-data); padding-top: 2px; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 17px; color: var(--text-2); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--text); }
.legal .updated { font-family: var(--font-data); font-size: 13px; color: var(--muted); margin-top: 16px; }

/* consent banner: fixed card at the bottom, no overlay, no scroll-lock */
.consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; width: min(1040px, calc(100% - 32px));
  display: flex; align-items: center; gap: 20px; padding: 14px 18px; background: var(--bg-up); border: 1px solid var(--line-strong);
  border-radius: var(--radius); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); font-size: 15px; color: var(--text); }
.consent[hidden] { display: none; }
.consent p { flex: 1; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.consent-status { display: block; font-size: 13px; color: var(--muted); }
.consent-status:empty { display: none; }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent [aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg-up), 0 0 0 4px var(--lime); }
.link-btn { font: inherit; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* global CTA + footer */
.cta { padding: var(--section-y) 0; text-align: center; }
.cta h2 { font-size: clamp(42px, 6.6vw, 96px); max-width: 14ch; margin: 0 auto; letter-spacing: -0.045em; line-height: .95; }
.cta .lede { margin: 28px auto 0; }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 14px; color: var(--text-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center; text-align: center; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (min-width: 900.02px) and (max-width: 1180px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .wordmark { font-size: 18px; gap: 10px; letter-spacing: .14em; }
  .wordmark img { width: 34px; height: 24px; }
  .nav .btn-sm { font-size: 14px; padding: 9px 12px; }
}
@media (min-width: 900.02px) and (max-width: 1060px) {
  .nav .wordmark { font-size: 0; gap: 0; } /* mark only; the link keeps its "Chazif home" label */
}
@media (min-width: 900.02px) and (max-width: 1000px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13px; }
  .nav .btn-sm { font-size: 13px; padding: 8px 10px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 18px; background: var(--bg-up); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.4); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--lime); padding-left: 14px; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 960px) {
  .split, .contact-grid, .loop, .teaser { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .claims svg { margin: 0 auto; max-width: 520px; }
  .loop-arrow { transform: rotate(90deg); }
  .silo svg { margin: 0 auto; max-width: 360px; }
  .lever { grid-template-columns: 56px 1fr; }
  .lever-art { grid-column: 2; max-width: 380px; }
  .cards.three, .beliefs { grid-template-columns: 1fr; }
  .scope { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .founder { max-width: 420px; }
}
@media (min-width: 900.02px) and (max-width: 1100px) {
  .score { font-size: 14px; }
  .score th, .score td { padding: 14px 10px; }
  .score th:first-child, .score td:first-child { padding-left: 16px; }
  .score th:last-child, .score td:last-child { padding-right: 16px; }
  .score .q { min-width: 150px; }
  .score .dec { min-width: 190px; }
  .score .vert { min-width: 90px; }
  .mix { width: 104px; }
}
@media (max-width: 900px) {
  .score thead { display: none; }
  .score, .score tbody, .score tr, .score th, .score td { display: block; }
  .score tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 20px; border-bottom: 1px solid var(--line); }
  .score tbody tr:last-child { border-bottom: 0; }
  .score th, .score td, .score th:first-child, .score td:first-child, .score th:last-child, .score td:last-child { padding: 0; border: 0; }
  .score .q { grid-column: 1 / -1; font-size: 15px; }
  .score .vert { grid-column: 1 / -1; order: -1; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .score .dec { grid-column: 1 / -1; order: 1; width: auto; min-width: 0; padding: 12px 0 4px; border-top: 1px dashed var(--line); margin-top: 4px; }
  .score .num { order: 2; text-align: left; font-size: 14px; }
  .score .num::before { content: attr(data-label); display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .mix { margin-left: 0; }
  .mix .split em { display: inline; }
  .mix .split em:first-child { margin-right: 5px; }
  .mix .split em:last-child { margin-left: 5px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .consent { flex-direction: column; align-items: stretch; gap: 12px; bottom: 10px; width: calc(100% - 20px); }
  .consent-actions .btn { flex: 1; }
  .hero:has(.hero-graphic) { padding-bottom: 24px; }
  .hero-graphic { margin-top: 64px; }
  .cards.two, .choice, .post { grid-template-columns: 1fr; }
  .teaser-card { grid-template-columns: 110px 1fr; gap: 18px; padding: 16px; }
  .teaser-card img { width: 110px; height: 138px; }
  .post { gap: 8px; }
  .lever { grid-template-columns: 1fr; gap: 14px; }
  .lever-art { grid-column: 1; max-width: none; }
  .btn-row .btn { width: 100%; }
  .btn-lg { font-size: 18px; padding: 20px 26px; }
  .g-label { font-size: 24px; }
  /* Home growth chart: the 1200-wide drawing scales to ~27%, so phase labels move to HTML and line labels grow */
  .growth .g-ph, .growth .g-small { display: none; }
  .growth .g-label { font-size: 46px; }
  .growth .g-tag { font-size: 34px; }
  .growth .g-rev-label { transform: translateX(-150px); }
  .growth .g-spend-label { transform: translate(-110px, 40px); }
  .g-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; text-align: left; font-family: var(--font-data); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
  .g-phases li { border-top: 1px dashed rgba(255,255,255,.3); padding-top: 8px; }
  .g-phases span { display: block; color: var(--lime); font-weight: 700; }
  .cl-key { font-size: 17px; letter-spacing: .02em; }
  .cl-name { font-size: 17px; }
  .cl-count, .cl-legend { font-size: 18px; }
  .frame-top { flex-wrap: wrap; row-gap: 8px; }
  .frame-top .app { order: 3; flex-basis: 100%; }
  /* Phones: each level is a row with a mini staircase; lit bars = how far up the scale you are */
  .ladder { grid-template-columns: 1fr; gap: 0; }
  .ladder li { grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
  .ladder li:last-child { border-bottom: 1px solid var(--line); }
  .ladder .step, .ladder li:nth-child(n) .step { grid-row: 1 / span 2; align-self: center; width: 54px; height: 48px; border-radius: 0; box-shadow: none;
    --off: #3A414C; --c1: var(--off); --c2: var(--off); --c3: var(--off); --c4: var(--off);
    background: linear-gradient(var(--c1), var(--c1)) 0 100% / 11px 12px no-repeat, linear-gradient(var(--c2), var(--c2)) 14px 100% / 11px 24px no-repeat,
                linear-gradient(var(--c3), var(--c3)) 28px 100% / 11px 36px no-repeat, linear-gradient(var(--c4), var(--c4)) 42px 100% / 11px 48px no-repeat; }
  .ladder li:nth-child(1) .step { --c1: #D1D5DB; }
  .ladder li:nth-child(2) .step { --c1: #D1D5DB; --c2: #D1D5DB; }
  .ladder li:nth-child(3) .step { --c1: #D1D5DB; --c2: #D1D5DB; --c3: #D1D5DB; }
  .ladder li:nth-child(4) .step { --c1: var(--lime); --c2: var(--lime); --c3: var(--lime); --c4: var(--lime); }
  .ladder li:nth-child(4) .step::after { display: none; }
  .ladder .lvl { padding-top: 0; border-top: 0; font-size: 20px; }
  .ladder li:nth-child(4) .lvl::after { content: "Closed loop"; margin-left: 10px; vertical-align: 3px; font: 700 11px var(--font-data); letter-spacing: .08em; text-transform: uppercase; color: var(--on-lime); background: var(--lime); padding: 3px 7px; border-radius: 3px; }
  .ladder p { margin-top: 4px; }
}
@media (max-width: 480px) {
  .nav-inner { gap: 12px; }
  .nav-cta { display: none; } /* the hero CTA is right below; the menu holds Contact */
  .scope { grid-template-columns: 1fr; }
}

/* SearchNex unified view (search page) */
.snx .snx-body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); padding: clamp(22px, 3vw, 36px); }
.snx h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; color: #fff; }
.snx dl { margin: 0; display: grid; gap: 14px; }
.snx dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.snx dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.snx dt { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; }
.snx dd { margin: 0; color: var(--text-2); font-size: 16px; }
.snx-grid table { width: 100%; border-collapse: collapse; }
.snx-grid th, .snx-grid td { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.snx-grid thead th { font: 600 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding-top: 0; }
.snx-grid thead th:first-child, .snx-grid tbody th { text-align: left; padding-left: 0; }
.snx-grid tbody th { font-family: var(--font-data); font-weight: 400; font-size: 14px; color: #fff; }
.snx i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; }
.snx i.won { background: var(--lime); }
.snx i.shown { border: 2px solid #D1D5DB; }
.snx i.miss { border: 2px solid var(--waste); position: relative; }
.snx i.miss::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--waste); transform: rotate(45deg); }
.snx i.na { width: 12px; height: 2px; border-radius: 1px; background: var(--muted); }
.snx-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; color: var(--text-2); }
.snx-key span { display: inline-flex; align-items: center; gap: 8px; }
.snx-key i { width: 12px; height: 12px; } .snx-key i.na { width: 10px; height: 2px; }
.snx-call { margin: 0; padding: 16px clamp(22px, 3vw, 36px); border-top: 1px solid var(--line); border-left: 6px solid var(--lime); font-family: var(--font-head); font-weight: 700; color: #fff; }
@media (max-width: 900px) {
  .snx .snx-body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .snx dl div { grid-template-columns: 1fr; gap: 2px; }
  .snx-grid th, .snx-grid td { padding: 10px 3px; }
  .snx-grid thead th { font-size: 10px; letter-spacing: .02em; }
  .snx-grid tbody th { font-size: 12px; }
  .snx i { width: 13px; height: 13px; }
}

/* split hero with an illustration (paid social, measurement) */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-split h1 { font-size: clamp(40px, 5.2vw, 72px); }
.hero-art svg { width: 100%; height: auto; max-width: 660px; display: block; margin-left: auto; }
.ha-tag { font-family: var(--font-data); font-size: 12px; letter-spacing: .14em; fill: var(--muted); }
.ha-label { font-family: var(--font-data); font-size: 14px; letter-spacing: .1em; fill: var(--muted); }
.ha-label.lime { fill: var(--lime); font-weight: 700; }
.ha-card { fill: var(--bg-up); stroke: var(--line-strong); stroke-width: 1.5; }
.ha-avatar { fill: #4B5563; }
.ha-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; fill: #fff; }
.ha-meta { font-family: var(--font-body); font-size: 13px; fill: var(--muted); }
.ha-img { fill: #3A414C; }
.ha-img-mark { fill: #4B5563; }
.ha-img-sun { fill: #6B7280; }
.ha-btn { fill: none; stroke: #D1D5DB; stroke-width: 1.5; }
.ha-btn-t { font-family: var(--font-head); font-weight: 700; font-size: 15px; fill: #fff; }
.ha-rule { stroke: var(--line-strong); }
.ha-stat { font-family: var(--font-body); font-size: 16px; fill: var(--text-2); }
.ha-link { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 5 5; }
.ha-link.solid { stroke-dasharray: none; }
.ha-arrow { fill: #fff; }
.ha-crm { fill: var(--card); stroke: var(--lime); stroke-width: 2; }
.ha-crm-k { font-family: var(--font-data); font-size: 14px; letter-spacing: .08em; fill: var(--lime); font-weight: 700; }
.ha-crm-v { font-family: var(--font-head); font-weight: 700; font-size: 46px; fill: #fff; letter-spacing: -.02em; }
.ha-crm-s { font-family: var(--font-body); font-size: 16px; fill: #fff; }
.ha-crm-s.dim { fill: var(--text-2); }
.ha-chip { fill: var(--lime); }
.ha-chip-t { font-family: var(--font-data); font-weight: 700; font-size: 14px; letter-spacing: .08em; fill: var(--on-lime); }
.ha-src { fill: var(--bg-up); stroke: #D1D5DB; stroke-width: 1.5; }
.ha-src-t { font-family: var(--font-head); font-weight: 700; font-size: 18px; fill: #fff; }
.ha-flow { fill: none; stroke: #D1D5DB; stroke-width: 2; opacity: .8; }
.ha-node { fill: var(--card); stroke: var(--lime); stroke-width: 2; }
.ha-node-t { font-family: var(--font-head); font-weight: 700; font-size: 18px; fill: #fff; }
.ha-node-s { font-family: var(--font-body); font-size: 13px; fill: var(--text-2); }
.ha-bar { fill: var(--lime); }
.ha-bar-t { font-family: var(--font-body); font-size: 15px; fill: #fff; }
.ha-list { font-family: var(--font-body); font-size: 17px; fill: #fff; }
.ha-core-k { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .14em; fill: #fff; }
.ha-mod { fill: var(--bg-up); stroke: var(--line-strong); stroke-width: 1.5; }
.ha-mod.dev { stroke-dasharray: 5 5; stroke: #9CA3AF; }
.ha-mod-t { font-family: var(--font-head); font-weight: 700; font-size: 20px; fill: #fff; }
.ha-chip-o { fill: none; stroke: #9CA3AF; stroke-width: 1.5; }
.ha-chip-o-t { font-family: var(--font-data); font-weight: 700; font-size: 12px; letter-spacing: .04em; fill: var(--text-2); }
.ha-pill-t { font-family: var(--font-head); font-weight: 700; font-size: 17px; fill: var(--on-lime); }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-art svg { margin: 8px auto 0; max-width: 480px; }
}

/* optimize-to box as two columns on wide screens (paid social) */
.optimize { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; margin-top: clamp(40px, 5vw, 56px); }
.optimize .dont h3, .optimize .dont li { color: var(--text-2); }
@media (max-width: 640px) { .optimize { grid-template-columns: 1fr; } }

/* MarketingNex hand-off cycle (platform page) */
.cycle { display: grid; grid-template-columns: 1fr 132px 1fr; align-items: stretch; }
.cycle-lane { border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.cycle-lane.machine { background: var(--card); }
.cycle-lane.team { border: 2px solid var(--lime); background: var(--bg-up); }
.cycle-kind { font: 600 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin: 0 0 8px; }
.cycle-lane h3 { font-size: 22px; margin-bottom: 26px; }
.cycle-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.cycle-steps li { position: relative; padding-left: 54px; min-height: 36px; }
.cycle-steps .n { position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--lime); font: 700 13px var(--font-data); color: var(--lime); background: var(--card); z-index: 1; }
.cycle-lane.team .n { background: var(--lime); color: var(--on-lime); }
.cycle-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: -22px; width: 2px; background: var(--line-strong); }
.cycle-steps b { display: block; font-family: var(--font-head); font-size: 20px; color: #fff; line-height: 1.2; }
.cycle-steps em { display: block; font-style: normal; font-size: 15px; color: var(--text-2); margin-top: 2px; }
.cycle-hand { position: relative; display: flex; align-items: center; justify-content: center; }
.cycle-hand::before { content: ""; position: absolute; left: 10px; right: 18px; top: 50%; height: 2px; background: #fff; }
.cycle-hand::after { content: ""; position: absolute; right: 8px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left: 12px solid #fff; border-right: 0; }
.cycle-hand span { position: relative; transform: translateY(-22px); font: 600 11px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.cycle-return { grid-column: 1 / -1; position: relative; height: 48px; margin: 0 calc((100% - 132px) / 4); border: 2px dashed var(--line-strong); border-top: 0; border-radius: 0 0 20px 20px; }
.cycle-return::before { content: ""; position: absolute; left: -9px; top: -6px; border: 8px solid transparent; border-bottom: 12px solid var(--line-strong); border-top: 0; }
.cycle-return span { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); padding: 0 14px; background: var(--bg); font-size: 14px; color: var(--text-2); white-space: nowrap; }
.cycle + .loop-note { margin-top: 40px; }
@media (max-width: 900px) {
  .cycle { grid-template-columns: 1fr; }
  .cycle-hand { height: 64px; }
  .cycle-hand::before { left: 50%; right: auto; top: 8px; bottom: 18px; height: auto; width: 2px; margin-left: -1px; }
  .cycle-hand::after { right: auto; left: 50%; top: auto; bottom: 6px; margin: 0 0 0 -8px; border: 8px solid transparent; border-top: 12px solid #fff; border-bottom: 0; }
  .cycle-hand span { transform: translateX(70px); }
  .cycle-return { margin: 16px 0 0; height: auto; border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 14px 18px; }
  .cycle-return::before { display: none; }
  .cycle-return span { position: static; transform: none; padding: 0; background: none; white-space: normal; display: block; }
  .cycle-return span::before { content: "\21BA  "; color: var(--lime); font-weight: 700; }
  .cycle + .loop-note { margin-top: 20px; }
}
@media (max-width: 720px) {
  .ha-tag { font-size: 15px; }
  .ha-label { font-size: 16px; letter-spacing: .06em; }
  .ha-node-s, .ha-meta { font-size: 15px; }
}
@media (max-width: 720px) {
  .ha-chip-o-t { font-size: 13.5px; letter-spacing: 0; }
  .ha-chip-t { font-size: 15px; }
  .ha-crm-k, .ha-core-k { font-size: 16px; }
}

/* Homepage hero on phones: shorter intro and tighter spacing so the growth chart sits above the fold */
.lede-short { display: none; }
@media (max-width: 720px) {
  .hero-home { padding-top: 28px; }
  .hero-home .kicker { margin-bottom: 14px; }
  .hero-home.center h1 { font-size: 36px; }
  .hero-home .lede { font-size: 17px; margin-top: 16px; }
  .hero-home .lede-long { display: none; }
  .hero-home .lede-short { display: inline; }
  .hero-home .btn-row { margin-top: 22px; }
  .hero-home .btn-lg { padding: 16px 22px; }
  .hero-home .hero-graphic { margin-top: 40px; }
}

/* MarketingNex wordmark above its sections */
.brand-logo { display: block; margin-bottom: 26px; }
.brand-logo img { display: block; width: auto; height: 40px; }
.brand-logo.sm { margin-bottom: 22px; }
.brand-logo.sm img { height: 32px; }
@media (max-width: 720px) {
  .brand-logo img { height: 32px; }
  .brand-logo.sm img { height: 28px; }
}

/* Paid social: creative loop visual */
.creative-art svg { max-width: 520px; }
.ha-q { font-family: var(--font-data); font-size: 16px; fill: #fff; }
.ha-val { font-family: var(--font-head); font-weight: 700; font-size: 18px; fill: var(--lime); }
.ha-ad { font-family: var(--font-head); font-weight: 700; font-size: 16px; fill: #fff; }
.ha-flow-t { font-family: var(--font-data); font-size: 14px; letter-spacing: .06em; fill: var(--text-2); }
.ha-pill-o { fill: var(--card); stroke: var(--lime); stroke-width: 1.5; }
.ha-pill-o-t { font-family: var(--font-body); font-size: 15px; fill: #fff; }
.ha-pill-o-t .lime { fill: var(--lime); font-weight: 700; }

/* SocialNex capabilities */
.caps { list-style: none; margin: 0 0 clamp(36px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.caps li { padding-top: 18px; border-top: 2px solid var(--lime); }
.caps h3 { font-size: 19px; margin-bottom: 8px; }
.caps p { font-size: 16px; color: var(--text-2); }
.caps-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 720px) {
  .ha-flow-t { font-size: 15px; letter-spacing: .04em; }
  .ha-q, .ha-ad, .ha-pill-o-t { font-size: 17px; }
  .ha-pill-o-t { font-size: 16px; }
}
