/* ==========================================================================
   Elite Bot Solutions: shared site styles
   Tokens: ink #08111F, accent #67E8F9, accent-deep #0E7490, muted #5B6676,
   surface #ECEEE9, line #E5E9EF. Never put white text on the green.
   ========================================================================== */

/* Off-white page (user asked for a less bright white) */
:root {
  --paper: #F4F5F1;
  --card: #FAFAF7;
  --rose: #F472B6;
  --ink: #08111F;
  --ink-2: #0F1B2D;
  --ink-line: #22304A;
  --accent: #67E8F9;
  --accent-hover: #22D3EE;
  --accent-deep: #0E7490;
  --copy: #3B4656;
  --muted: #5B6676;
  --on-dark: #C5CED9;
  --on-dark-muted: #9AA6B5;
  --surface: #ECEEE9;
  --line: #E5E9EF;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 500; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .section { padding: 96px 0; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: Newsreader, Georgia, serif; text-transform: capitalize; letter-spacing: -0.01em; }
.h1 { font-weight: 600; font-size: 36px; line-height: 44px; color: var(--ink); text-wrap: balance; }
.h2 { font-weight: 600; font-size: 28px; line-height: 36px; color: var(--ink); text-wrap: balance; }
.h2-sm { font-weight: 600; font-size: 24px; line-height: 32px; color: var(--ink); text-wrap: balance; }
.h3 { font-weight: 500; font-size: 20px; line-height: 28px; color: var(--ink); }
.lead { font-size: 18px; line-height: 28px; color: var(--copy); }
.copy { font-size: 17px; line-height: 27px; color: var(--copy); }
.small { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--muted); }
.eyebrow {
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 13px; line-height: 18px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent-deep);
}
.stat { font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 36px; line-height: 40px; color: var(--ink); font-variant-numeric: tabular-nums; }
.measure { max-width: 68ch; }
strong, b { font-weight: 500; color: var(--ink); }
@media (min-width: 768px) {
  .h1 { font-size: 56px; line-height: 62px; }
  .h2 { font-size: 40px; line-height: 48px; }
  .h2-sm { font-size: 30px; line-height: 38px; }
  .h3 { font-size: 22px; line-height: 30px; }
  .lead { font-size: 20px; line-height: 31px; }
  .copy { font-size: 18px; line-height: 28px; }
  .stat { font-size: 48px; line-height: 52px; }
}

.on-dark { background: var(--ink); color: #fff; }
.on-dark .h1, .on-dark .h2, .on-dark .h2-sm, .on-dark .h3 { color: #fff; }
.on-dark .lead, .on-dark .copy { color: var(--on-dark); }
.on-dark .small { color: var(--on-dark-muted); }
.on-dark .eyebrow { color: var(--accent); }
.on-dark strong, .on-dark b { color: #fff; }

.link { color: var(--accent-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--ink); }
.on-dark .link { color: var(--accent); }
.on-dark .link:hover { color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-deep); font-weight: 500; font-size: 17px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover svg { transform: translateX(5px); }
.on-dark .link-arrow { color: var(--accent); }
.on-dark .link-arrow:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 10px; border: 0; cursor: pointer;
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 17px; line-height: 1; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 1px 0 rgba(8, 17, 31, .08), 0 10px 24px -10px rgba(103, 232, 249, .7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(8, 17, 31, .08), 0 18px 32px -12px rgba(103, 232, 249, .8); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* Staging palette: dark sections use the same navy gradient as the staging site */
section.on-dark, footer.on-dark { background-color: #08111F; background-image: linear-gradient(135deg, #07111F 0%, #0A1118 48%, #10151F 100%); }

/* ---------- Header ---------- */
#progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(0); transform-origin: 0 50%;
}
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(244, 245, 241, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(8, 17, 31, .45); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 17px; letter-spacing: .05em; color: var(--ink); }
.brand svg { width: 32px; height: 32px; flex: none; }
.on-dark .brand { color: #fff; }
.nav-link { position: relative; font-size: 17px; font-weight: 400; color: var(--ink); padding: 8px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { font-weight: 500; }
.menu-btn { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--card); }
.mobile-menu.is-open { display: block; animation: menu-in .25s var(--ease); }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; font-weight: 400; border-bottom: 1px solid var(--line); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
@media (min-width: 768px) { .card { padding: 28px; } }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(8, 17, 31, .35); border-color: #D3DAE3; }
.card-soft { background: var(--surface); }
.card-dark { background: rgba(255, 255, 255, .03); border: 1px solid var(--ink-line); border-radius: 16px; padding: 28px; }
.icon-chip { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft, #CFFAFE); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.icon-chip svg { width: 24px; height: 24px; }
.card-lift:hover .icon-chip { background: var(--accent); color: var(--ink); transform: rotate(-6deg) scale(1.06); }

/* Mouse-follow spotlight on dark cards */
.spot { position: relative; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(103, 232, 249, .16), transparent 60%);
}
.spot:hover { border-color: rgba(103, 232, 249, .45); transform: translateY(-4px); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; }

/* ---------- Placeholders (find with "ph") ---------- */
.ph {
  display: inline-block; padding: 0 7px; border-radius: 6px; border: 1.5px dashed #C99700; background: #FFF7DB; color: #5C4400;
  font-family: "Source Sans 3", sans-serif; font-size: .82em; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none; vertical-align: baseline;
}
.ph-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px;
  border: 2px dashed #C5CED9; border-radius: 16px; color: var(--muted); font-size: 15px; line-height: 22px; font-weight: 400;
  background: repeating-linear-gradient(135deg, #ECEEE9 0 14px, #E6E8E2 14px 28px);
}
.ph-block svg { width: 32px; height: 32px; opacity: .7; }
.on-dark .ph-block { border-color: #2B3A55; color: var(--on-dark-muted); background: repeating-linear-gradient(135deg, #0F1B2D 0 14px, #0C1626 14px 28px); }

/* ---------- Background glows ---------- */
.glow-host { position: relative; overflow: hidden; isolation: isolate; }
.glow { position: absolute; z-index: -1; border-radius: 999px; filter: blur(80px); pointer-events: none; opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.glow-a { width: 520px; height: 520px; background: rgba(103, 232, 249, .28); top: -180px; right: -140px; }
.glow-b { width: 420px; height: 420px; background: rgba(244, 114, 182, .20); bottom: -200px; left: -120px; animation-duration: 24s; animation-direction: alternate-reverse; }
.glow-soft { opacity: .35; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 50px, 0) scale(1.15); } }
.grid-fade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.hero-bg { background: radial-gradient(900px 480px at 85% 0%, #CFFAFE 0%, rgba(207, 250, 254, 0) 60%), radial-gradient(700px 400px at 0% 100%, #ECEEE9 0%, rgba(236, 238, 233, 0) 70%), var(--paper); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-in { opacity: 0; animation: hero-in .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.float { animation: float 7s ease-in-out infinite; }
.float-2 { animation: float 9s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 99px; background: var(--accent); display: inline-block; }
.pulse-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 99px; border: 2px solid var(--accent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Hero text thread ---------- */
.phone { position: relative; width: 100%; max-width: 400px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 14px; box-shadow: 0 50px 80px -40px rgba(8, 17, 31, .45), 0 0 0 8px rgba(8, 17, 31, .03); }
.phone-screen { background: var(--surface); border-radius: 22px; padding: 16px 14px 18px; min-height: 430px; display: flex; flex-direction: column; gap: 10px; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.avatar { width: 36px; height: 36px; border-radius: 99px; background: var(--ink); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 14px; flex: none; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 16px; line-height: 22px; font-weight: 400; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.msg-in { align-self: flex-start; background: var(--card); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 6px; }
.msg-out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg-meta { align-self: center; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; padding: 4px 0; transition: opacity .45s var(--ease); }
.msg-out + .msg-time, .msg-time-r { align-self: flex-end; }
.msg-time { font-size: 12px; line-height: 14px; color: var(--muted); font-weight: 400; margin-top: -6px; padding: 0 6px; transition: opacity .45s var(--ease); }
.msg-booked { align-self: stretch; display: flex; align-items: center; gap: 10px; background: var(--accent); color: var(--ink); border-radius: 14px; padding: 12px 14px; font-weight: 500; font-size: 16px; line-height: 22px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg-booked svg { width: 22px; height: 22px; flex: none; }
.typing { align-self: flex-end; display: none; gap: 5px; background: var(--ink); border-radius: 18px; border-bottom-right-radius: 6px; padding: 13px 16px; }
.typing.is-on { display: inline-flex; }
.typing span { width: 7px; height: 7px; border-radius: 99px; background: #fff; opacity: .4; animation: typing 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-4px); opacity: 1; } }
.js .thread [data-step] { opacity: 0; transform: translateY(10px) scale(.98); }
.js .thread [data-step].show { opacity: 1; transform: none; }
.float-card { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: 0 24px 40px -24px rgba(8, 17, 31, .5); }

/* ---------- Leak row (10 leads) ---------- */
.leak-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.leak-toggle button { min-height: 44px; padding: 0 16px; border-radius: 9px; font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 15px; color: var(--muted); transition: background-color .25s, color .25s; }
.leak-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.leak-dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.leak-dot { aspect-ratio: 1; border-radius: 12px; background: var(--card); border: 1.5px dashed #C5CED9; color: #C5CED9; display: flex; align-items: center; justify-content: center; transition: all .45s var(--ease); transition-delay: calc(var(--n) * 40ms); }
.leak-dot svg { width: 55%; height: 55%; }
.leak-dot.is-on { background: var(--accent); border: 1.5px solid var(--accent); color: var(--ink); transform: translateY(-4px); box-shadow: 0 12px 20px -12px rgba(103, 232, 249, .9); }
.leak-dot.is-maybe { background: #CFFAFE; border: 1.5px dashed var(--accent-deep); color: var(--accent-deep); }

/* ---------- Mock visuals (illustrations standing in for screenshots) ---------- */
.mock { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-weight: 400; box-shadow: 0 20px 40px -30px rgba(8, 17, 31, .6); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 20px; }
.mock-row:last-of-type { border-bottom: 0; }
.mock-row b { font-family: Newsreader, Georgia, serif; font-weight: 600; font-variant-numeric: tabular-nums; }
.mock-label { font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.mock-btn { margin-top: 10px; background: var(--surface); border-radius: 8px; padding: 9px 12px; font-size: 14px; font-weight: 500; text-align: center; }
.bar { height: 12px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform-origin: 0 50%; }
.js .reveal .bar-fill { transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d, 0ms) + var(--bd, 200ms)); }
.js .reveal.is-in .bar-fill { transform: scaleX(1); }
.bar-fill.is-muted { background: #C5CED9; }

/* ---------- Tables ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; background: var(--card); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; vertical-align: top; }
.table thead th { background: var(--surface); color: var(--ink); font-family: Newsreader, Georgia, serif; font-weight: 600; }
.table tbody th { font-weight: 400; color: var(--ink); }
.table td { color: var(--copy); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .2s; }
.table tbody tr:hover { background: #F1F2EE; }
.table .is-key { color: var(--ink); font-weight: 500; }
.tick { display: inline-flex; width: 24px; height: 24px; border-radius: 99px; background: #CFFAFE; color: var(--accent-deep); align-items: center; justify-content: center; }
.tick svg { width: 14px; height: 14px; }
.dash { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: #C5CED9; vertical-align: middle; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-weight: 500; font-size: 18px; line-height: 26px; color: var(--ink); transition: color .2s; }
@media (min-width: 768px) { .faq summary h3 { font-size: 20px; line-height: 28px; } }
.faq summary:hover h3 { color: var(--accent-deep); }
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 99px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.faq-icon svg { width: 14px; height: 14px; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
html:not(.js) .faq details[open] .faq-body { animation: faq-in .35s var(--ease); }
.faq-body { padding: 0 48px 22px 0; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Steps ---------- */
.step-num { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--accent); font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.step-line { position: absolute; left: 52px; right: -24px; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, #C5CED9 0 6px, transparent 6px 12px); }

/* ---------- Pricing ---------- */
.tier { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
@media (min-width: 768px) { .tier { padding: 32px; } }
.tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(8, 17, 31, .4); }
.tier-key { border: 2px solid var(--accent); box-shadow: 0 30px 60px -40px rgba(103, 232, 249, .9); }
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: #CFFAFE; color: var(--accent-deep); font-size: 13px; line-height: 18px; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.pill-dark { background: rgba(103, 232, 249, .12); color: var(--accent); border: 1px solid rgba(103, 232, 249, .3); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 24px; color: var(--copy); }
.check-list li + li { margin-top: 10px; }
.check-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent-deep); }
.on-dark .check-list li { color: var(--on-dark); }
.on-dark .check-list svg { color: var(--accent); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline li + li { margin-top: 28px; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 99px; background: var(--card); border: 3px solid var(--accent-deep); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink); }
.input { width: 100%; min-height: 50px; border: 1px solid #C5CED9; border-radius: 10px; padding: 0 14px; font: inherit; font-weight: 400; font-size: 17px; background: var(--card); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgba(103, 232, 249, .22); }
.input[aria-invalid="true"] { border-color: #B4232C; box-shadow: 0 0 0 4px rgba(180, 35, 44, .12); }
.field-error { font-size: 14px; line-height: 18px; font-weight: 400; color: #B4232C; min-height: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #C5CED9; border-radius: 999px; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--card); transition: all .2s var(--ease); }
.chip input:hover + span { border-color: var(--muted); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.stepper b { width: 28px; height: 28px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-family: Newsreader, Georgia, serif; font-weight: 600; }
.stepper .is-active b { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.stepper .is-done b { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.stepper .is-active, .stepper .is-done { color: var(--ink); }
.stepper i { flex: 1; height: 2px; background: var(--line); border-radius: 2px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 245, 241, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta.is-on { transform: none; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
@media (max-width: 767px) { .has-sticky footer { padding-bottom: 96px; } }

/* ---------- Section nav (How It Works) ---------- */
.section-nav { position: sticky; top: 72px; z-index: 30; background: rgba(244, 245, 241, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.section-nav a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 4px; font-size: 16px; font-weight: 400; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.section-nav a:hover, .section-nav a.is-active { color: var(--ink); border-color: var(--accent); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .hero-in, .js .thread [data-step] { opacity: 1 !important; transform: none !important; }
  .js .reveal .bar-fill { transform: none !important; }
  .glow, .float, .float-2 { animation: none !important; }
}

/* ---------- Utilities ---------- */
[hidden] { display: none !important; }
.eyebrow svg { width: 16px; height: 16px; }
.mock b, .on-dark .mock b, .on-dark .mock strong, .on-dark .float-card b { color: var(--ink); }
.stat .ph { font-size: .55em; vertical-align: middle; }
@media (max-width: 639px) { .leak-dots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }

/* ---------- Dark header over a dark hero (body.header-dark) ---------- */
.header-dark .site-header { transition: background-color .3s, border-color .25s, box-shadow .25s; }
.header-dark .site-header:not(.past-hero) { background: #08111F; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; box-shadow: none; }
.header-dark .site-header:not(.past-hero) .brand,
.header-dark .site-header:not(.past-hero) .nav-link { color: #fff; }
.header-dark .site-header:not(.past-hero) .brand svg rect { fill: #0F1B2D; }
.header-dark .site-header:not(.past-hero) .menu-btn { background: transparent; border-color: var(--ink-line); color: #fff; }
.on-dark .phone, .on-dark .float-card, .on-dark .mock { color: var(--ink); }
.on-dark .phone { border-color: transparent; box-shadow: 0 50px 90px -40px rgba(103, 232, 249, .35), 0 0 0 8px rgba(255, 255, 255, .06); }

/* ---------- Client logo panel: the EVA logo as supplied, shown on its own (no matching card behind it) ---------- */
.logo-panel { display: flex; align-items: center; justify-content: center; }
.logo-panel img { width: min(100%, 400px); height: auto; border-radius: 16px; }

/* Let wide children (tables, charts) scroll inside their column instead of widening the page */
.grid > *, .flex-col > * { min-width: 0; }
.chart-scroll { overflow-x: auto; }
.chart-scroll svg { min-width: 560px; }

/* ---------- Client logo marquee ---------- */
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.logo-tile { flex: none; width: 190px; height: 96px; margin-right: 20px; padding: 12px 18px; display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(8, 17, 31, .45); }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 639px) { .logo-tile { width: 150px; height: 84px; margin-right: 12px; padding: 8px 12px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Polish pass: motion and detail
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }
.copy, .lead { text-wrap: pretty; }
.logo-tile img { border-radius: 10px; }

/* Header settles in on load */
.js .site-header { animation: header-in .7s var(--ease) both; }
@keyframes header-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* Headline highlight: a slow sheen across the key phrase */
.hl { color: var(--accent-deep); }
.on-dark .hl {
  background: linear-gradient(100deg, #67E8F9 0%, #67E8F9 35%, #CFFAFE 50%, #67E8F9 65%, #67E8F9 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out 1.6s infinite;
}
@keyframes sheen { 0%, 55% { background-position: 100% 0; } 100% { background-position: -50% 0; } }

/* Primary button: light sweep on hover */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  transform: translateX(-130%);
}
.btn-primary:hover::after { transform: translateX(130%); transition: transform .8s var(--ease); }

/* Reveal variants */
.js .reveal.reveal-left { transform: translateX(-36px); }
.js .reveal.reveal-right { transform: translateX(36px); }
.js .reveal.reveal-left.is-in, .js .reveal.reveal-right.is-in { transform: none; }

/* Hero phone follows the pointer slightly */
.phone { transition: transform .5s var(--ease); will-change: transform; }

/* Step connectors draw themselves */
.js .reveal .step-line { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0ms) + 350ms); }
.js .reveal.is-in .step-line { transform: scaleX(1); }
.js .reveal .step-num { transform: scale(.6); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--d, 0ms) + 150ms); }
.js .reveal.is-in .step-num { transform: none; }

/* Mock thread: messages arrive one after another when the card appears */
.js .reveal .mock .msg, .js .reveal .mock .msg-booked { opacity: 0; transform: translateY(10px); }
.js .reveal.is-in .mock .msg, .js .reveal.is-in .mock .msg-booked { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in .mock .msg-in { transition-delay: calc(var(--d, 0ms) + 350ms); }
.js .reveal.is-in .mock .msg-out { transition-delay: calc(var(--d, 0ms) + 900ms); }
.js .reveal.is-in .mock .msg-booked { transition-delay: calc(var(--d, 0ms) + 1500ms); }
.js .reveal .mock-row b { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--d, 0ms) + 500ms); }
.js .reveal.is-in .mock-row b { opacity: 1; }

/* Revenue chart: bars grow from the baseline */
.js .reveal .chart-bar { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .9s var(--ease); transition-delay: calc(var(--n, 0) * 80ms + 200ms); }
.js .reveal.is-in .chart-bar { transform: none; }
.js .reveal .chart-vals { opacity: 0; transition: opacity .6s var(--ease) 1.1s; }
.js .reveal.is-in .chart-vals { opacity: 1; }

/* Range bars: the EVA marker slides to its value */
.js .reveal .range-band { transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease) .2s; }
.js .reveal.is-in .range-band { transform: none; }
.js .reveal .range-dot { opacity: 0; transform: translateX(-60px); transition: opacity .5s var(--ease) .7s, transform .9s cubic-bezier(.3, 1.4, .5, 1) .7s; }
.js .reveal.is-in .range-dot { opacity: 1; transform: none; }

/* Timeline dots pop in */
.js .timeline .reveal::before { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--d, 0ms) + 150ms); }
.js .timeline .reveal.is-in::before { transform: none; }

/* Highlighted pricing tier breathes */
.tier-key { animation: tier-glow 4.5s ease-in-out infinite; }
@keyframes tier-glow { 0%, 100% { box-shadow: 0 30px 60px -40px rgba(103, 232, 249, .9); } 50% { box-shadow: 0 30px 70px -30px rgba(103, 232, 249, 1), 0 0 0 6px rgba(103, 232, 249, .08); } }

/* Ten-leads toggle: nudge toward the EVA comparison */
.leak-toggle button.is-hint { animation: hint 1.5s ease-in-out 3; }
@keyframes hint { 0%, 100% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0); } 50% { box-shadow: 0 0 0 6px rgba(103, 232, 249, .35); } }

/* Check marks draw in on list reveal */
.js .check-list .reveal svg { transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--d, 0ms) + 200ms); }
.js .check-list .reveal.is-in svg { transform: none; }

/* Pause looping animations that are off screen */
.is-offscreen .glow, .is-offscreen .float, .is-offscreen .float-2, .is-offscreen .marquee-track, .is-offscreen .hl, .is-offscreen.tier-key { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal .step-line, .js .reveal .step-num, .js .reveal .chart-bar, .js .reveal .range-band, .js .reveal .range-dot,
  .js .timeline .reveal::before, .js .check-list .reveal svg { transform: none !important; }
  .js .reveal .mock .msg, .js .reveal .mock .msg-booked, .js .reveal .mock-row b, .js .reveal .chart-vals, .js .reveal .range-dot { opacity: 1 !important; transform: none !important; }
  .on-dark .hl { animation: none; background-position: 100% 0; }
  .tier-key { animation: none; }
}

/* Off-canvas reveal offsets must never widen the page */
main { overflow-x: clip; }

/* Keep the desktop nav on one line at 1024px (set when the body face was DM Sans; harmless with Source Sans 3): keep the desktop nav on one line at 1024px */
.nav-link, .site-header .btn, .brand { white-space: nowrap; }
@media (max-width: 1279px) { .nav-link { font-size: 15px; } .site-header .btn-sm { padding: 0 16px; font-size: 15px; } }

/* ---------- EBS logo mark ----------
   The robot mark, cut from the supplied logo (kept in build/source-images/). */
.brand-mark { flex: none; width: 40px; height: 40px; border-radius: 999px; background: url("ebs-mark.png") center / cover no-repeat; }

/* Small mono tag above a card title (problem cards) */
.tag { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 18px; color: var(--accent-deep); }

/* Green dot bullets (layer cards) */
.dot-list { display: flex; flex-direction: column; gap: 10px; }
.dot-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 99px; background: var(--accent-deep); }
.on-dark .dot-list li { color: #D5DCE5; }
.on-dark .dot-list li::before { background: var(--accent); }

/* "What we run for you": bordered rows, three across */
.run-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 32px; border-bottom: 1px solid var(--line); }
.run-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }

/* ---------- Proof screenshot thumbnail (results cards) ---------- */
.proof-thumb { position: relative; display: block; height: 150px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.proof-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); transform-origin: 100% 100%; transition: transform .6s var(--ease); }
.proof-thumb:hover img { transform: scale(1.75); }
.proof-chip { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; line-height: 18px; font-weight: 500; }
.proof-chip svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- Provider portrait (EVA case study only) ---------- */
.portrait { position: relative; width: 100%; max-width: 420px; }
.portrait > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; border-radius: 20px; box-shadow: 0 40px 70px -40px rgba(8, 17, 31, .55); }
.portrait-badge { position: absolute; right: -14px; bottom: -14px; width: 92px; height: auto; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 16px 30px -16px rgba(8, 17, 31, .6); }
.quote-avatar { width: 56px; height: 56px; flex: none; border-radius: 999px; object-fit: cover; }
@media (max-width: 479px) { .portrait-badge { right: 8px; bottom: 8px; width: 72px; } }

/* ==========================================================================
   Design pass: depth, texture and emphasis so sections read less plain
   ========================================================================== */

/* Section eyebrows get a short leading rule (not the small labels inside cards and lists) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .75; }
.card .eyebrow::before, li .eyebrow::before, article .eyebrow::before, .tier .eyebrow::before, figure .eyebrow::before { display: none; }

/* Tinted sections: a fine dot grid with a soft green wash in one corner */
section.bg-surface {
  background:
    radial-gradient(720px 320px at 100% 0%, rgba(103, 232, 249, .09), transparent 70%),
    radial-gradient(rgba(8, 17, 31, .05) 1px, transparent 1.5px) 0 0 / 22px 22px,
    #ECEEE9;
}
.hero-bg {
  background:
    radial-gradient(900px 480px at 85% 0%, #CFFAFE 0%, rgba(207, 250, 254, 0) 60%),
    radial-gradient(rgba(8, 17, 31, .045) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--paper);
}
.band-tint { background: linear-gradient(180deg, var(--paper) 0%, #EEF7F6 38%, #EEF7F6 72%, var(--paper) 100%); }

/* Cards: resting depth, and an accent line that draws across the top on hover */
.card { background: linear-gradient(180deg, var(--card), #F6F7F3); box-shadow: 0 1px 2px rgba(8, 17, 31, .04), 0 14px 30px -24px rgba(8, 17, 31, .28); }
.card.card-soft { background: var(--surface); }
.card-lift { position: relative; }
.card-lift::after {
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease);
}
.card-lift:hover::after { transform: scaleX(1); }
.card:has(> .stat:first-child) { border-top: 3px solid var(--accent); }

/* Dark cards: glass edge */
.card-dark { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 30px 50px -40px rgba(0, 0, 0, .8); }
.layer-num { position: absolute !important; right: 22px; top: 14px; font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(103, 232, 249, .45); pointer-events: none; }
.on-dark .tag { color: var(--accent); }

/* Problem cards: pill tags, numbered corners */
.tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #CFFAFE; }
.on-dark .tag { background: rgba(103, 232, 249, .12); border: 1px solid rgba(103, 232, 249, .25); }
.problem-cards { counter-reset: problem; }
.problem-cards > li { counter-increment: problem; overflow: hidden; }
.problem-cards > li::before {
  content: "0" counter(problem); position: absolute; right: 16px; top: 8px; font-family: Newsreader, Georgia, serif; font-weight: 600;
  font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #D5DCE5; pointer-events: none; transition: -webkit-text-stroke-color .3s;
}
.problem-cards > li:hover::before { -webkit-text-stroke-color: var(--accent); }

/* Marker highlight for a key figure */
.mark { background: linear-gradient(transparent 60%, rgba(103, 232, 249, .38) 60%); padding: 0 .12em; border-radius: 2px; }

/* Result cards: figure in a green-to-ink gradient, arrow badge in the corner */
.result-card .stat { background: linear-gradient(100deg, #0E7490, #08111F 85%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 44px; line-height: 48px; }
.result-card::before {
  content: "\2197"; position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--muted); transition: all .3s var(--ease);
}
.result-card:hover::before { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translate(2px, -2px); }

/* Quote card */
.quote-card { position: relative; background: var(--card); padding-top: 44px; }
.quote-card::before { content: "\201C"; position: absolute; left: 22px; top: 2px; font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 72px; line-height: 1; color: var(--accent); }

/* Steps: one panel, three columns */
.steps-panel { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--card), #F6F7F3); box-shadow: 0 1px 2px rgba(8, 17, 31, .04), 0 24px 50px -36px rgba(8, 17, 31, .35); overflow: hidden; }
.steps-panel > li { padding: 28px 24px; border-top: 1px solid var(--line); }
.steps-panel > li:first-child { border-top: 0; }
.steps-panel .step-line { display: none; }
.steps-panel .step-num { background: linear-gradient(140deg, #0F1B2D, #08111F); box-shadow: 0 12px 20px -12px rgba(103, 232, 249, .8); }
@media (min-width: 768px) {
  .steps-panel > li { padding: 36px 32px; border-top: 0; border-left: 1px solid var(--line); }
  .steps-panel > li:first-child { border-left: 0; }
}
.callout { background: #ECFEFF; border: 1px solid #A5F3FC; border-radius: 16px; padding: 18px 22px; }

/* Ink card on a light section */
.card-ink { position: relative; overflow: hidden; border-radius: 16px; padding: 24px; background: radial-gradient(420px 220px at 100% 0%, rgba(103, 232, 249, .28), transparent 70%), #08111F; box-shadow: 0 30px 60px -36px rgba(8, 17, 31, .7); transition: transform .3s var(--ease); }
.card-ink:hover { transform: translateY(-4px); }
.card-ink .icon-chip { background: rgba(103, 232, 249, .14); color: var(--accent); }

/* Challenge band: a large outlined 7 behind the copy */
section.bg-accent-wash.border-y { position: relative; overflow: hidden; }
section.bg-accent-wash.border-y::after {
  content: "7"; position: absolute; right: 4%; top: 50%; transform: translateY(-52%); font-family: Newsreader, Georgia, serif; font-weight: 600;
  font-size: 300px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(14, 116, 144, .16); pointer-events: none;
}
section.bg-accent-wash.border-y > .wrap { position: relative; z-index: 1; }

/* FAQ: a contained panel */
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 6px 24px; box-shadow: 0 1px 2px rgba(8, 17, 31, .04), 0 24px 50px -38px rgba(8, 17, 31, .35); }
.faq details:last-child { border-bottom: 0; }
.faq summary { transition: padding .25s var(--ease); }
.faq details[open] summary h3 { color: var(--accent-deep); }

/* What we run: rows lift slightly on hover */
.run-item { transition: transform .3s var(--ease); }
.run-item:hover { transform: translateX(4px); }
.run-item:hover .icon-chip { background: var(--accent); color: var(--ink); transform: rotate(-6deg) scale(1.06); }

/* Closing band: concentric rings behind the heading */
.on-dark.section > .wrap.items-center { position: relative; }
.on-dark.section > .wrap.items-center::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 720px; height: 720px; transform: translate(-50%, -50%); border-radius: 999px; pointer-events: none; z-index: -1;
  background: repeating-radial-gradient(circle, rgba(103, 232, 249, .10) 0 1px, transparent 1px 60px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%);
}
@media (max-width: 767px) { section.bg-accent-wash.border-y::after { font-size: 170px; right: -6px; top: auto; bottom: -34px; transform: none; -webkit-text-stroke-color: rgba(14, 116, 144, .12); } }

/* ---------- Team photos (About) ---------- */
.team-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--surface); transition: transform .5s var(--ease), filter .5s var(--ease); }
.card:hover .team-photo { transform: scale(1.03); }
.founder-photo { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 40px 70px -40px rgba(8, 17, 31, .55); }

/* ---------- Long-form text (legal pages) ---------- */
.prose { display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-weight: 600; font-size: 24px; line-height: 32px; margin-top: 22px; color: var(--ink); }
.prose h3 { font-weight: 500; font-size: 19px; line-height: 26px; margin-top: 8px; color: var(--ink); }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: var(--copy); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Full proof screenshot (case study pages) ---------- */
.proof-shot { display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--card); cursor: zoom-in; }
.proof-shot img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease); }
.proof-shot:hover img { transform: scale(1.02); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; padding: 64px 0 32px;
  background: radial-gradient(640px 320px at 0% 0%, rgba(103, 232, 249, .12), transparent 70%), radial-gradient(520px 260px at 100% 100%, rgba(244, 114, 182, .16), transparent 70%), #08111F;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .7), transparent); }
.footer-grid { display: grid; gap: 40px 32px; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; } .footer-grid > div:first-child { grid-column: auto; } }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-title { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 8px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: 17px; font-weight: 400; color: var(--on-dark); transition: color .2s, transform .25s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { display: flex; flex-direction: column; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-line); }
@media (min-width: 900px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ==========================================================================
   Revenue Rewire Diagnostic offer
   ========================================================================== */
/* Long button labels may wrap on narrow phones */
.btn { line-height: 1.15; padding-top: 10px; padding-bottom: 10px; }

/* Five steps: a connected row on desktop, a connected column on phones */
.steps-row { position: relative; display: grid; gap: 28px; }
.steps-row > li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-left: 72px; }
.steps-row > li .step-num { position: absolute; left: 0; top: 0; }
.steps-row > li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: -28px; width: 2px; background: repeating-linear-gradient(180deg, #C5CED9 0 6px, transparent 6px 12px); }
.steps-row { gap: 0; }
.steps-row > li { padding: 0 0 36px 76px; gap: 8px; }
.steps-row > li:last-child { padding-bottom: 0; }
.steps-row > li:not(:last-child)::before { top: 60px; bottom: 8px; }
.steps-row > li .h3 { padding-top: 10px; }
.steps-row > li .copy { max-width: 56ch; }


/* Eight blueprint areas, numbered, two columns */
.area-list { counter-reset: area; display: grid; gap: 14px 28px; }
@media (min-width: 640px) { .area-list { grid-template-columns: 1fr 1fr; } }
.area-list > li { counter-increment: area; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--copy); }
.area-list > li::before { content: counter(area); flex: none; width: 28px; height: 28px; border-radius: 999px; background: #CFFAFE; color: var(--accent-deep); font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }

/* Blueprint stand-in: a cover with two pages behind it */
.blueprint { position: relative; width: 100%; max-width: 400px; margin: 0 auto 36px; aspect-ratio: 4 / 5; }
.blueprint-page { position: absolute; inset: 0; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 50px -36px rgba(8, 17, 31, .5); }
.blueprint-page:nth-child(1) { transform: rotate(6deg) translate(18px, 8px); }
.blueprint-page:nth-child(2) { transform: rotate(3deg) translate(9px, 4px); }
.blueprint-cover { position: absolute; inset: 0; border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(420px 260px at 100% 0%, rgba(103, 232, 249, .3), transparent 70%), #08111F; box-shadow: 0 40px 70px -40px rgba(8, 17, 31, .8); transition: transform .5s var(--ease); }
.blueprint:hover .blueprint-cover { transform: rotate(-2deg) translateY(-4px); }
.blueprint-cover .tag { color: var(--accent); background: rgba(103, 232, 249, .12); border: 1px solid rgba(103, 232, 249, .25); }

/* "This isn't for" list */
.not-list svg { color: #E11D48; }
.not-list li { color: var(--muted); }

/* Workflow chips */
.flow { display: flex; flex-wrap: wrap; gap: 10px 0; align-items: center; }
.flow > li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.flow > li:not(:last-child) { margin-right: 34px; position: relative; }
.flow > li:not(:last-child)::after { content: "\2192"; position: absolute; right: -26px; font-size: 18px; }
.flow-muted > li { background: #EEF1F5; color: var(--muted); }
.flow-muted > li::after { color: #9AA6B5; }
.flow-muted > .flow-end { background: #FDECEC; color: #B4232C; border: 1px solid #F3C4C6; }
.flow-good > li { background: #CFFAFE; color: var(--accent-deep); }
.flow-good > li::after { color: var(--accent-deep); }
.flow-good > .flow-end { background: var(--accent); color: var(--ink); }
@media (max-width: 639px) {
  .flow { flex-direction: column; align-items: flex-start; gap: 0; }
  .flow > li:not(:last-child) { margin-right: 0; margin-bottom: 30px; }
  .flow > li:not(:last-child)::after { content: "\2193"; right: auto; left: 20px; top: 46px; }
}
.badge-note { background: #CFFAFE; color: var(--accent-deep); border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 22px; font-weight: 500; }
.badge-note strong { color: var(--accent-deep); font-weight: 600; }
.blueprint { margin-bottom: 72px; }
.blueprint-note { position: absolute; left: 0; right: 0; top: calc(100% + 18px); text-align: center; }
.section-nav nav { scrollbar-width: none; }
.section-nav nav::-webkit-scrollbar { display: none; }

/* ==========================================================================
   Diagnostic section as the homepage centrepiece (dark stage)
   ========================================================================== */
.diag { background: radial-gradient(900px 520px at 50% -10%, rgba(103, 232, 249, .16), transparent 65%), #08111F; }
.diag::before, .diag::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .8), transparent); }
.diag::before { top: 0; }
.diag::after { bottom: 0; }

/* Blueprint on the dark stage: glowing cover, white pages, a ring of light and a page-count badge */
.diag .blueprint { max-width: 360px; }
.diag .blueprint-cover { background: linear-gradient(160deg, #0B2A36 0%, #0B1626 60%); border: 1px solid rgba(103, 232, 249, .5); box-shadow: 0 0 0 6px rgba(103, 232, 249, .07), 0 50px 100px -30px rgba(103, 232, 249, .5); }
.blueprint-ring { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 999px; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(103, 232, 249, .14) 0 1px, transparent 1px 46px);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 68%); mask-image: radial-gradient(circle, #000 25%, transparent 68%); }
.blueprint-badge { position: absolute; right: -14px; top: -14px; width: 84px; height: 84px; border-radius: 999px; background: var(--accent); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transform: rotate(10deg); box-shadow: 0 16px 30px -12px rgba(103, 232, 249, .9); }
.blueprint-badge b { font-family: Newsreader, Georgia, serif; font-size: 30px; line-height: 30px; font-weight: 600; color: var(--ink); letter-spacing: 0; }

/* Eight areas as numbered glass cards */
.diag .area-list { gap: 12px; }
.diag .area-list > li { align-items: center; padding: 14px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--ink-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); color: var(--on-dark); font-size: 15.5px; }
.diag .area-list > li::before { background: var(--accent); color: var(--ink); width: 32px; height: 32px; font-size: 16px; position: relative; }
.diag .area-list > li > span { position: relative; }
.diag .area-list > li:hover { transform: translateY(-3px); }

/* Offer bar */
.diag-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: 24px; border-radius: 20px; border: 1px solid rgba(103, 232, 249, .45); background: linear-gradient(120deg, rgba(103, 232, 249, .14), rgba(103, 232, 249, .03) 60%); box-shadow: 0 30px 60px -40px rgba(103, 232, 249, .7); }
.diag-cta .copy { color: #fff; }
@media (min-width: 900px) { .diag-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 36px; gap: 32px; } .diag-cta .copy { max-width: 620px; } }
.diag .area-list > li { transition: transform .3s var(--ease), border-color .3s; }
.diag .area-list > li:hover { border-color: rgba(103, 232, 249, .5); }

/* ---------- Buttons: body face, uppercase (set in CSS, so the HTML text stays normal case) ---------- */
.btn { font-family: "Source Sans 3", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.btn-sm { font-size: 13.5px; letter-spacing: .025em; }
@media (max-width: 1279px) { .site-header .btn-sm { font-size: 13px; padding: 0 14px; } }

/* ==========================================================================
   Brief T2, T4, T6
   ========================================================================== */
/* Revenue leak calculator */
.calc-inputs { display: grid; gap: 16px; }
@media (min-width: 640px) { .calc-inputs { grid-template-columns: 1fr 1fr; } .calc-inputs > .field:last-child { grid-column: 1 / -1; } }
.calc-result { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; border-radius: 20px; padding: 28px 24px;
  background: radial-gradient(520px 280px at 100% 0%, rgba(103, 232, 249, .22), transparent 70%), radial-gradient(420px 240px at 0% 100%, rgba(244, 114, 182, .14), transparent 70%), linear-gradient(135deg, #07111F, #10151F);
  box-shadow: 0 40px 70px -40px rgba(8, 17, 31, .7); }
@media (min-width: 768px) { .calc-result { padding: 36px; } }
.calc-big { font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 56px; line-height: 1; color: #67E8F9; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .calc-big { font-size: 72px; } }
.calc-note { border-radius: 12px; padding: 12px 14px; background: rgba(103, 232, 249, .12); border: 1px solid rgba(103, 232, 249, .3); color: #CFFAFE; font-size: 15px; line-height: 22px; }
.calc-result .field label { color: #fff; }
.calc-result .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.calc-result .input:focus { border-color: #67E8F9; box-shadow: 0 0 0 4px rgba(103, 232, 249, .25); }
.calc-result .field-error { color: #FDA4AF; }
.calc-rows { display: flex; flex-direction: column; border-top: 1px solid var(--ink-line); }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); color: var(--on-dark); font-size: 16px; }
.calc-row b { font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }

/* Typical agency vs Elite Bot Solutions */
.compare-wrap { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 1px 2px rgba(8, 17, 31, .04), 0 24px 50px -38px rgba(8, 17, 31, .35); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 18px; color: var(--ink); background: var(--surface); }
.compare thead th:last-child { background: #ECFEFF; color: var(--accent-deep); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td { width: 37%; }
.compare td > svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare td { display: table-cell; }
.compare td > span { display: inline; }
.compare-them { color: var(--muted); }
.compare-them > svg { color: #E11D48; }
.compare-us { color: var(--ink); background: #EFF8F7; }
.compare-us > svg { color: var(--accent-deep); }
.compare td > svg { display: inline-block; vertical-align: -3px; margin-right: 8px; margin-top: 0; }
@media (max-width: 639px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th, .compare td { padding: 0; border: 0; width: auto; }
  .compare tbody th { font-size: 17px; margin-bottom: 10px; }
  .compare td { padding: 8px 10px; border-radius: 10px; margin-top: 6px; background: var(--surface); }
  .compare td.compare-us { background: #ECFEFF; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .compare td.compare-us::before { color: var(--accent-deep); }
}

/* Ten "Done for you" items: two even columns of five */
@media (min-width: 768px) { .run-list { grid-template-columns: 1fr 1fr; } }

/* Homepage hero fills the screen on desktop (the header is 73px including its border) */
@media (min-width: 1024px) {
  .hero-full { min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); display: flex; align-items: center; }
  .hero-full > .wrap { width: 100%; }
}
/* Client logos have white backgrounds baked in; multiply lets them sit on the off-white tiles without a white box */
.logo-tile img { mix-blend-mode: multiply; }
