/* Analytics for HVAC: "the report you can actually read". Graphite (#0f1114) with faint chart gridlines and an azure
   (#38b6ff) accent, azure primary button with dark text. Hero layout: the answer card LEFT in front of a tilted,
   crossed-out agency report, copy RIGHT, so it reads differently from Leads (sunset), Ads (royal blue technician), SEO
   Audit (teal AI card right), Rank Tracker (violet dusk leaderboard), Review Manager (charcoal phone), Smart Inbox (wine,
   centered), Pipeline (evergreen board), Ignite (daylight map), Scheduling (navy three columns) and Training & Support
   (sunrise). Below the hero it is the same road-map system as hvac-scheduling.css: phones stack the stops along a
   vertical road; from 1280px each stop is a full-width row and hvac-analytics.js draws the winding road. */

.rb-analytics-page {
  --rb-bg: #0f1114;
  background: var(--rb-bg);
  color: #eef1f5;
}
.an-main { min-width: 0; }
.an-main > footer { width: auto; margin: 0; padding-inline: 24px; }
.an :is(a, button, summary):focus-visible { outline: 3px solid #7fd0ff; outline-offset: 3px; }

/* ---------------------------------------------------------------- shared */
.an {
  --ink: #14181f;
  --ink2: #3b4350;
  --muted: #667085;
  --graphite: #0f1114;
  --azure: #38b6ff;
  --azure-deep: #0a7fc2;
  --azure-soft: #9edcff;
  --go: #16a34a;
  --warn: #d97706;
  --asphalt: #464b55;
  --road-edge: #f8f9fb;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse 40% 30% at 0% 30%, rgba(56, 182, 255, .07), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 64%, rgba(168, 85, 247, .05), transparent 70%),
    linear-gradient(180deg, #f2f4f7 0%, #f8f9fb 40%, #f3f5f8 72%, #edf0f4 100%);
}
.an *, .an *::before, .an *::after { box-sizing: border-box; }
:where(.an) :where(h1, h2, h3, p, ul, ol, dl, dd, dt, figure, blockquote, table, caption) { margin: 0; padding: 0; }
:where(.an) :where(ul, ol) { list-style: none; }
.an img { display: block; max-width: none; }
.an svg { display: block; overflow: visible; }
.an h1, .an h2, .an h3, .an-pin b, .an-brand__logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.an h1 em, .an h2 em { font-family: inherit; font-style: normal; letter-spacing: inherit; }
.an-i { width: 22px; height: 22px; flex: 0 0 auto; }
.an-cap { color: var(--muted); font-size: 12px; }
.an-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.an table { border-collapse: collapse; width: 100%; }

.an-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, #5cc6ff 0%, #2aa8f2 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 10px 24px rgba(56, 182, 255, .3);
  color: #06121c;
  font: 700 16px/1.1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.an-btn:hover { color: #06121c; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset, 0 14px 30px rgba(56, 182, 255, .42); }
.an-btn .an-i { width: 18px; height: 18px; }
.an-btn--ghost { border-color: rgba(200, 210, 222, .45); background: rgba(15, 17, 20, .35); box-shadow: none; color: #fff; }
.an-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; color: #fff; }
.an-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.an-note { font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; line-height: .95; color: #1b2230; }
.an-note u { color: var(--azure-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.an-checks { display: flex; flex-direction: column; gap: 9px; }
.an-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.an-checks svg { width: 20px; height: 20px; flex: 0 0 auto; }
.an-ok { color: var(--go); }
.an-no { color: #b6bdca; }

/* One state at a time: every variant sits in the same grid cell so switching never moves the page. */
.an-stack { display: grid; }
.an-stack > * { grid-area: 1 / 1; min-width: 0; }
.an [data-an-only]:not(.is-cur) { visibility: hidden; opacity: 0; }
.an [data-an-only] { transition: opacity .35s ease; }

.an-pill { display: inline-flex; align-items: center; justify-self: start; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #e5e8ee; color: #3b4350; font-size: 12px; font-weight: 800; white-space: nowrap; }
.an-pill.is-go { background: var(--go); color: #fff; }
.an-pill.is-warn { background: #fde7c7; color: #8a4b05; }
.an-pill.is-ring { background: var(--azure); color: #06121c; }
.an-live { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 0 4px rgba(56, 182, 255, .2); vertical-align: 1px; }
.an-av { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: var(--av); color: #fff; font: 700 13px/1 "Space Grotesk", sans-serif; }

/* White cards (house style): fine border, layered shadow, lift on hover. */
.an-card {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 0 0 1px rgba(20, 24, 31, .07), 0 2px 4px rgba(20, 24, 31, .04), 0 18px 36px -12px rgba(20, 24, 31, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.an-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(20, 24, 31, .08), 0 2px 4px rgba(20, 24, 31, .05), 0 24px 44px -12px rgba(20, 24, 31, .24); }

/* ---------------------------------------------------------------- hero */
.an-hero { position: relative; overflow: hidden; padding: 30px 16px 40px; background: radial-gradient(ellipse 60% 70% at 20% 60%, rgba(56, 182, 255, .12), transparent 70%), #0f1114; color: #eef1f5; }
.an-hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 100% 64px, 128px 100%;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 40%, transparent 90%);
  pointer-events: none;
}
.an-hero__in { position: relative; display: grid; gap: 34px; max-width: 1400px; margin: 0 auto; grid-template-areas: "copy" "desk"; }
.an-hero__copy { grid-area: copy; display: grid; gap: 16px; align-content: center; }
.an-brand { display: grid; gap: 8px; }
.an-brand__logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 26px; }
.an-brand__logo svg { width: 34px; height: 34px; }
.an-eyebrow { color: #aab4c3; font-size: 13px; font-weight: 700; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.an h1 { margin: 0; color: #fff; font-size: clamp(34px, 8.6vw, 46px); line-height: 1.03; text-wrap: balance; }
.an h1 em { display: block; color: var(--azure); }
.an-hero__sub { max-width: 620px; color: #c9d1dc; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.an-signals { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.an-signals li { display: flex; align-items: center; gap: 8px; color: #e6ebf1; font-size: 14.5px; font-weight: 600; }
.an-signals .an-ok { width: 18px; height: 18px; color: var(--azure); }

.an-desk { grid-area: desk; position: relative; display: grid; justify-items: center; gap: 12px; padding-top: 26px; }
.an-agency {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(300px, 78%);
  padding: 16px 18px 18px;
  border-radius: 6px;
  background: #e9e6df;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  color: #5d5a55;
  transform: translateX(-66%) rotate(-7deg);
  opacity: .78;
}
.an-agency__title { color: #3f3d39; font: 700 14px/1.2 "Space Grotesk", sans-serif; }
.an-agency__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.an-agency__stats dt { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.an-agency__stats dd { margin: 2px 0 0; color: #2f2d2a; font: 700 17px/1.1 "Space Grotesk", sans-serif; }
.an-agency__jobs { position: relative; justify-self: start; margin-top: 12px; font-size: 13px; font-weight: 700; }
.an-agency__jobs b { position: relative; padding: 0 4px; color: #c62828; }
.an-agency__jobs b::after { content: ""; position: absolute; inset: -6px -8px; border: 2.5px solid #d32f2f; border-radius: 50%; transform: rotate(-8deg); }

.an-answer {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(56, 182, 255, .35), 0 30px 60px -18px rgba(0, 0, 0, .7), 0 0 60px -10px rgba(56, 182, 255, .35);
  color: var(--ink);
}
.an-answer__head { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid #edf0f4; }
.an-answer__head b { font: 700 18px/1.2 "Space Grotesk", sans-serif; }
.an-answer__head span { color: var(--muted); font-size: 13px; }
.an-src { display: grid; gap: 9px; margin-top: 12px; }
.an-src li { display: grid; grid-template-columns: 172px minmax(0, 1fr) 28px; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.an-src i { display: block; height: 12px; border-radius: 3px; background: #eef2f6; }
.an-src i b { display: block; width: var(--w); height: 100%; border-radius: 0 4px 4px 0; background: var(--azure-deep); transition: width .55s cubic-bezier(.22, .8, .24, 1); }
.an-src em { color: var(--ink); font: 700 15px/1 "Space Grotesk", sans-serif; font-style: normal; text-align: right; transition: opacity .3s ease; }
.an-src li:not(.is-on) i b { width: 0; }
.an-src li:not(.is-on) em { opacity: 0; }
.an-answer__foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf0f4; }
.an-answer__foot p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14px; }
.an-answer__foot p:first-child { color: var(--muted); font-weight: 600; }
.an-answer__foot b { font: 700 20px/1.1 "Space Grotesk", sans-serif; }
.an-answer__foot span { color: var(--ink2); }
.an-answer__foot strong { color: var(--azure-deep); }
.an-desk__cap { position: relative; z-index: 1; color: #97a2b1; font-size: 12.5px; text-align: center; }
.an-note--hero { position: relative; z-index: 1; color: #fff; transform: rotate(-4deg); }
.an-note--hero u { color: var(--azure); }

/* ---------------------------------------------------------------- road + steps (phones first) */
.an-course { position: relative; }
.an .an-road, .an .an-drive { display: none; }
.an-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; max-width: 780px; margin: 0 auto; padding: 34px 16px 34px 76px; }
.an-step::before, .an-finish::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 22px; background: var(--asphalt); box-shadow: 0 0 0 2.5px var(--road-edge), 0 0 0 3.5px #d3d8e2; }
.an-step::after, .an-finish::after { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; border-left: 2px dashed #fff; }
.an-step > * { min-width: 0; }
.an-pin { position: absolute; z-index: 1; left: 0; top: 20px; width: 62px; height: 78px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); }
.an-pin svg { width: 100%; height: 100%; color: var(--pin); }
.an-pin b { position: absolute; left: 0; right: 0; top: 8px; color: #fff; font-size: 36px; text-align: center; }
@keyframes an-pin-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.an-step.is-in .an-pin, .an:not(.an-motion) .an-pin { animation: an-pin-bob 2.6s ease-in-out infinite; }
.an-step:nth-of-type(even) .an-pin { animation-delay: -1.3s; }
.an h2 { font-size: clamp(26px, 6.4vw, 32px); line-height: 1.08; }
.an-intro { display: grid; gap: 12px; align-content: start; }
.an-aside { display: grid; gap: 14px; justify-items: start; }
.an-sub { color: var(--ink2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.an-visual { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.an-visual > .an-card { width: 100%; max-width: 640px; }

/* Stop 1: one lead card */
.an-lead { display: grid; gap: 12px; padding: 18px 20px 20px; }
.an-lead__status { color: var(--muted); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.an-lead__v { display: grid; gap: 14px; }
.an-lead__who { display: flex; align-items: center; gap: 12px; }
.an-lead__who b { display: block; font-size: 18px; }
.an-lead__who small { color: var(--muted); font-size: 14px; }
.an-lead__src { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #eef8ff; box-shadow: 0 0 0 1px rgba(56, 182, 255, .35) inset; }
.an-lead__src span { color: var(--azure-deep); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.an-lead__src b { font: 700 20px/1.15 "Space Grotesk", sans-serif; }
.an-lead__how { color: var(--ink2); font-size: 14px; }
.an-lead .is-cur .an-lead__src { animation: an-stamp .5s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes an-stamp { from { transform: scale(1.12); opacity: 0; } to { transform: none; opacity: 1; } }

/* Stop 2: one tracked link */
.an-link { padding: 18px 20px; }
.an-link__v { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 18px; }
.an-link__qr { padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 24, 31, .12); color: var(--ink); }
.an-qr { width: 100%; height: auto; }
.an-link__body { display: grid; gap: 6px; }
.an-link__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.an-link__name b { font: 700 20px/1.1 "Space Grotesk", sans-serif; }
.an-link__url { color: var(--azure-deep); font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.an-link__nums { display: flex; gap: 22px; margin-top: 6px; }
.an-link__nums dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.an-link__nums dd { margin: 0; font: 700 26px/1.1 "Space Grotesk", sans-serif; }
.an-link .an-pill { opacity: 0; }
.an-link .is-cur .an-pill { animation: an-ping 2.6s ease both; }
@keyframes an-ping { 0% { opacity: 0; transform: translateY(4px); } 15%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Stop 3: spend / leads / cost per lead */
.an-ads { padding: 18px 20px 16px; }
.an-ads__head, .an-team__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.an-ads__head b, .an-team__head b { font: 700 18px/1.2 "Space Grotesk", sans-serif; }
.an-ads__head span, .an-team__head span { padding: 3px 10px; border-radius: 999px; background: #eef1f5; color: var(--ink2); font-size: 12.5px; font-weight: 700; }
.an-ads__math { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.an-ads__math p { display: grid; gap: 2px; flex: 1 1 0; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #f3f5f8; transition: opacity .35s ease, background .35s ease; }
.an-ads__math small { color: var(--muted); font-size: 12px; font-weight: 700; }
.an-ads__math b { font: 700 24px/1.1 "Space Grotesk", sans-serif; }
.an-ads__math i { color: #9aa3b0; font: 700 20px/1 "Space Grotesk", sans-serif; font-style: normal; }
.an-ads__math p:not(.is-on) { opacity: .25; }
.an-ads__cpl.is-on { background: #e6f5ff; box-shadow: 0 0 0 1.5px var(--azure) inset; }
.an-ads__cpl b { color: var(--azure-deep); }
.an-ads__table { margin-top: 14px; font-size: 14px; transition: opacity .4s ease; }
.an-ads__table:not(.is-on) { opacity: .28; }
.an-ads__table th, .an-ads__table td { padding: 9px 6px; border-top: 1px solid #edf0f4; text-align: right; }
.an-ads__table thead th { border-top: 0; color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.an-ads__table :is(th, td):first-child { text-align: left; }
.an-ads__table tbody th { font-weight: 700; }
.an-ads__table .an-pill { margin-left: 6px; font-size: 11px; }

/* Stop 4: one call */
.an-call { display: grid; gap: 16px; padding: 18px 20px; }
.an-call__row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 12px; }
.an-call__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e6f5ff; color: var(--azure-deep); }
.an-call__ic .an-i { width: 20px; height: 20px; }
.an-call__row b { display: block; font-size: 17px; }
.an-call__row small { color: var(--muted); font-size: 13px; }
.an-call__status { grid-column: 1 / -1; }
.an-call__status .an-pill { padding: 6px 12px; font-size: 14px; }
.an-call__status .is-ring.is-cur { animation: an-ring 1s ease-in-out infinite; }
@keyframes an-ring { 50% { box-shadow: 0 0 0 6px rgba(56, 182, 255, .25); } }
.an-call__total { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: #0f1114; color: #fff; }
.an-call__total small { color: #aab4c3; font-size: 12.5px; font-weight: 700; }
.an-call__total b { font: 700 30px/1.1 "Space Grotesk", sans-serif; }
.an-call__total em { color: #7ee2a8; font-size: 13.5px; font-style: normal; font-weight: 700; }

/* Stop 5: team scoreboard */
.an-team { padding: 18px 20px 16px; }
.an-team__table { margin-top: 12px; font-size: 14.5px; }
.an-team__table th, .an-team__table td { padding: 10px 6px; border-top: 1px solid #edf0f4; text-align: right; }
.an-team__table thead th { border-top: 0; color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.an-team__table :is(th, td):first-child { text-align: left; }
.an-team__table tbody th { display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; }
.an-team__table .an-av { width: 30px; height: 30px; font-size: 12px; }
.an-team__table td:last-child { width: 38%; }
.an-reply { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.an-reply i { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--azure-deep), var(--azure-deep)) 0 0 / var(--w) 100% no-repeat, #eef2f6; transition: background-size .8s cubic-bezier(.22, .8, .24, 1) .2s; }
.an-team__table .is-slow { background: #fff8ec; }
.an-team__table .is-slow .an-reply i { background-image: linear-gradient(90deg, var(--warn), var(--warn)); }
.an-team__flag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink2); font-size: 14px; }

/* Stop 6: the Monday email */
.an-mail { padding: 18px 20px 20px; }
.an-mail__top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.an-mail__from { color: var(--ink); font-weight: 700; }
.an-mail__subject { margin-top: 6px; padding-bottom: 12px; border-bottom: 1px solid #edf0f4; font: 700 17px/1.25 "Space Grotesk", sans-serif; }
.an-mail__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.an-mail__tiles li { display: grid; gap: 2px; padding: 11px 12px; border-radius: 12px; background: #f3f5f8; }
.an-mail__tiles small { color: var(--muted); font-size: 12px; font-weight: 700; }
.an-mail__tiles b { font: 700 22px/1.1 "Space Grotesk", sans-serif; }
.an-mail__tiles em { font-size: 12.5px; font-style: normal; font-weight: 800; }
.an-mail__tiles .is-up { color: var(--go); }
.an-mail__tiles .is-down { color: #b42318; }
.an-mail__tiles .is-warn { background: #fff4e0; }
.an-mail__tiles .is-warn em { color: #8a4b05; }

/* Finish band */
.an-finish { position: relative; display: grid; gap: 16px; max-width: 780px; margin: 0 auto; padding: 30px 16px 44px 76px; }
.an-finish > * { position: relative; z-index: 2; }
.an-bigcard { position: relative; display: grid; gap: 2px; width: 210px; padding: 0 12px 14px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 16px 30px rgba(20, 24, 31, .16), 0 0 0 1px rgba(20, 24, 31, .06); text-align: center; transform: rotate(-3deg); }
.an-bigcard small { display: block; margin: 0 -12px; padding: 7px 0; background: #0f1114; color: var(--azure); font-size: 13px; font-weight: 800; }
.an-bigcard b { margin-top: 8px; font: 700 30px/1 "Space Grotesk", sans-serif; }
.an-bigcard span { color: var(--ink2); font-size: 13.5px; font-weight: 600; }
.an-bigcard em { justify-self: center; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--azure); color: #06121c; font-size: 12.5px; font-style: normal; font-weight: 800; }
.an-finish__copy { display: grid; gap: 10px; }
.an-finish__copy h2 { font-size: clamp(24px, 5.6vw, 30px); }
.an-finish__copy p { color: var(--ink2); font-size: 15.5px; line-height: 1.45; }
.an-note--out { justify-self: end; transform: rotate(-5deg); }

/* ---------------------------------------------------------------- sample reviews (same design as the other road pages) */
.an-reviews { position: relative; z-index: 3; display: grid; gap: 26px; padding: 48px 16px 56px; background: linear-gradient(180deg, #edf0f4 0%, #f8f9fb 100%); scroll-margin-top: 186px; }
.an-reviews__head, .an-get__head { display: grid; justify-items: center; gap: 10px; max-width: 760px; margin: 0 auto; text-align: center; }
.an-reviews__label { padding: 4px 12px; border-radius: 999px; background: rgba(20, 24, 31, .06); color: var(--muted); font-size: 13px; font-weight: 600; }
.an-reviews__grid { display: grid; gap: 18px; width: 100%; max-width: 1280px; margin: 0 auto; }
.an-review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%); box-shadow: 0 16px 34px rgba(20, 24, 31, .1), 0 2px 6px rgba(20, 24, 31, .05), 0 0 0 1px rgba(20, 24, 31, .06); }
.an-review::before { content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--av); opacity: .85; }
.an-review::after { content: "\201C"; position: absolute; top: 6px; right: 18px; color: color-mix(in srgb, var(--av) 16%, transparent); font: 700 84px/1 Georgia, serif; pointer-events: none; }
.an-review blockquote { flex: 1 1 auto; }
.an-review blockquote p { color: var(--ink); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.an-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(20, 24, 31, .08); }
.an-review__av { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: var(--av); color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; }
.an-review figcaption b { display: block; color: var(--ink); font-size: 16px; }
.an-review figcaption small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }

/* ---------------------------------------------------------------- FAQ */
.an-close { position: relative; z-index: 3; padding: 44px 16px 52px; background: linear-gradient(180deg, #171a1f 0%, #0f1114 100%); color: #fff; }
.an-faq { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.an-faq h2 { margin-bottom: 6px; color: #fff; font-size: clamp(24px, 5.4vw, 30px); }
.an-faq details { border: 1px solid rgba(56, 182, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.an-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; color: #fff; font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.an-faq summary::-webkit-details-marker { display: none; }
.an-faq .an-plus { flex: 0 0 auto; width: 18px; height: 18px; color: var(--azure-soft); transition: transform .25s ease; }
.an-faq details[open] .an-plus { transform: rotate(45deg); }
.an-faq details p { padding: 0 16px 15px; color: #d2d9e3; font-size: 16px; line-height: 1.55; }

/* ---------------------------------------------------------------- how you get it */
.an-get { position: relative; z-index: 3; display: grid; gap: 26px; padding: 52px 16px 56px; background: #fbfcfd; scroll-margin-top: 186px; }
.an-vs { display: grid; width: 100%; max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 16px 34px rgba(20, 24, 31, .08), 0 0 0 1px rgba(20, 24, 31, .07); }
.an-vs__head, .an-vs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.an-vs__head span { padding: 12px 16px; color: var(--muted); font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.an-vs__head span:last-child { background: var(--graphite); color: var(--azure); }
.an-vs__row span { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(20, 24, 31, .07); font-size: 16px; line-height: 1.4; }
.an-vs__row span:first-child { color: var(--muted); }
.an-vs__row span:last-child { background: #f0f9ff; color: var(--ink); font-weight: 600; }
.an-vs__row svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.an-plan { display: grid; gap: 20px; width: 100%; max-width: 980px; margin: 0 auto; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, #1c2027 0%, #14171c 60%, #0f1114 100%); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45); color: #eef1f5; }
.an-plan h3 { color: #fff; font-size: 24px; line-height: 1.15; }
.an-plan__copy { display: grid; gap: 14px; }
.an-plan__list { display: grid; gap: 10px; }
.an-plan__list li { display: flex; align-items: flex-start; gap: 10px; color: #d2d9e3; font-size: 15.5px; line-height: 1.45; }
.an-plan__list b { color: #fff; }
.an-plan__list .an-ok { width: 20px; height: 20px; margin-top: 2px; color: var(--azure); }

/* ---------------------------------------------------------------- motion */
.an-motion .an-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22, .8, .24, 1), transform .6s cubic-bezier(.22, .8, .24, 1); }
.an-motion .an-reveal.is-in { opacity: 1; transform: none; }
.an-motion .an-pin { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .4s ease; }
.an-motion .an-step:not(.is-in) .an-pin { transform: translateY(-28px) scale(.8); filter: grayscale(1) opacity(.55); }
.an-motion .an-step:not(.is-in) .an-reply i { background-size: 0 100%, auto; }
.an-motion .an-step:not(.is-in) .an-mail__tiles li { opacity: 0; transform: translateY(8px); }
.an-mail__tiles li { transition: opacity .4s ease, transform .4s ease; }
.an-mail__tiles li:nth-child(2) { transition-delay: .1s; }
.an-mail__tiles li:nth-child(3) { transition-delay: .2s; }
.an-mail__tiles li:nth-child(4) { transition-delay: .3s; }
.an-mail__tiles li:nth-child(5) { transition-delay: .4s; }
.an-mail__tiles li:nth-child(6) { transition-delay: .5s; }

/* ---------------------------------------------------------------- tablets */
@media (min-width: 700px) {
  .an-hero { padding: 40px 28px 48px; }
  .an-finish { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 28px; }
  .an-note--out { grid-column: 1 / -1; }
  .an-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-plan { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 30px; }
  .an-plan .an-actions { flex-direction: column; }
  .an-close { padding: 52px clamp(24px, 5vw, 64px) 60px; }
  .an-mail__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .an-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* ---------------------------------------------------------------- desktop rows */
@media (min-width: 1100px) {
  /* Answer card LEFT (with the agency report behind it), copy RIGHT. */
  .an-hero__in { grid-template-columns: minmax(420px, 1fr) minmax(0, 1.05fr); grid-template-areas: "desk copy"; align-items: center; column-gap: clamp(36px, 4vw, 80px); }
  .an-desk { padding: 44px 0 0; justify-items: start; }
  .an-agency { left: 0; transform: rotate(-7deg); }
  .an-answer { width: min(calc(100% - 56px), 450px); margin-left: 56px; }
  .an-desk__cap { margin-left: 56px; text-align: left; }
  .an-note--hero { justify-self: end; margin-right: 4%; font-size: 30px; }
  .an h1 { font-size: clamp(38px, 3.1vw, 58px); }
}

@media (min-width: 1280px) {
  .an-hero { padding: 34px clamp(28px, 3.5vw, 80px) 44px; }
  .an-hero__sub { font-size: clamp(16px, 1.1vw, 19px); }
  .an-brand__logo { font-size: 30px; }

  .an-course { --edge: 92px; max-width: 1680px; margin: 0 auto; padding: 36px var(--edge) 0; }
  .an .an-road { position: absolute; left: 0; top: 0; z-index: 1; display: block; pointer-events: none; }
  .an-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .an-road__edge { stroke: var(--road-edge); stroke-width: 36; filter: drop-shadow(0 2px 3px rgba(20, 24, 31, .25)); }
  .an-road__top { stroke: var(--asphalt); stroke-width: 30; }
  .an-road__line { stroke: #fff; stroke-width: 2; stroke-dasharray: 12 10; stroke-linecap: butt !important; }
  .an .an-drive { position: absolute; z-index: 4; left: 0; top: 0; display: block; width: 140px; visibility: hidden; filter: drop-shadow(0 7px 5px rgba(20, 24, 31, .28)); pointer-events: none; will-change: transform; }
  .an .an-drive.is-placed { visibility: visible; }
  .an-drive img { width: 100%; height: auto; }
  .an-drive__right, .an-drive.is-right .an-drive__left { display: none !important; }
  .an-drive.is-right .an-drive__right { display: block !important; }

  .an-step {
    z-index: 2;
    grid-template-columns: minmax(330px, .8fr) minmax(0, 1fr);
    grid-template-areas: "intro visual";
    align-items: start;
    column-gap: clamp(28px, 3vw, 56px);
    max-width: none;
    margin: 0;
    padding: 58px 36px 58px 104px;
  }
  .an-intro { grid-area: intro; padding-top: 14px; }
  .an-visual { grid-area: visual; }
  .an-step::before, .an-step::after, .an-finish::before, .an-finish::after { content: none; }
  .an-pin { left: 17px; top: 28px; width: 80px; height: 100px; }
  .an-pin b { top: 12px; font-size: 42px; }
  .an h2 { font-size: clamp(27px, 1.95vw, 34px); line-height: 1.06; }

  .an-finish {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "card copy note";
    align-items: center;
    column-gap: clamp(24px, 3vw, 48px);
    max-width: none;
    margin: 10px 0 0 104px;
    padding: 30px 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 36px rgba(20, 24, 31, .1), 0 0 0 1px rgba(20, 24, 31, .05);
  }
  .an-bigcard { grid-area: card; }
  .an-finish__copy { grid-area: copy; }
  .an-finish__copy h2 { font-size: clamp(24px, 1.7vw, 30px); }
  .an-note--out { grid-column: auto; grid-area: note; font-size: 34px; }
  .an-course::after { content: ""; display: block; height: 96px; }

  .an-reviews, .an-get { gap: 30px; padding: 64px clamp(40px, 5vw, 96px) 72px; }
  .an-close { padding: 60px clamp(40px, 5vw, 96px) 68px; }
}

@media (min-width: 1280px) and (max-width: 1799px) {
  /* With the side panel open the course is ~1150px wide: two-column intro, visual on its own row under it. */
  .an-step { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "visual"; row-gap: 26px; }
  .an-step .an-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .an-step .an-intro > :is(h2, .an-sub) { grid-column: 1; }
  .an-step .an-intro > .an-aside { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .an-finish { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "card copy" "card note"; row-gap: 8px; }
  .an-note--out { justify-self: end; }
  .an-hero { padding-top: 26px; padding-bottom: 36px; }
  .an h1 { font-size: clamp(34px, 2.8vw, 46px); }
  .an-hero__copy { gap: 13px; }
  .an-hero__sub { font-size: 16px; }
}

@media (max-width: 1180px) { .an-step, .an-reviews, .an-get { scroll-margin-top: 236px; } }
@media (min-width: 1181px) { .an-step { scroll-margin-top: 186px; } }
@media (max-width: 850px) { .an-step, .an-reviews, .an-get { scroll-margin-top: 218px; } }
@media (max-width: 699px) {
  .an-vs__head span:first-child { display: none; }
  .an-vs__head, .an-vs__row { grid-template-columns: minmax(0, 1fr); }
  .an-vs__row span:first-child { padding-bottom: 4px; border-top: 1px solid rgba(20, 24, 31, .07); font-size: 14px; }
  .an-vs__row span:last-child { border-top: 0; }
  .an-src li { grid-template-columns: 128px minmax(0, 1fr) 24px; font-size: 13px; }
  .an-ads__math { gap: 6px; }
  .an-ads__math p { padding: 8px; }
  .an-ads__math b { font-size: 19px; }
  .an-link__v { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .an-team__table td:last-child { width: auto; }
  .an-reply { grid-template-columns: auto; }
  .an-reply i { display: none; }
  .an-team__table th, .an-team__table td { padding: 9px 4px; }
  .an-team__table .an-av { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .an-btn, .an-card, .an-faq .an-plus, .an-src i b, .an-src em, .an [data-an-only], .an-ads__math p, .an-ads__table, .an-mail__tiles li { transition: none !important; }
  .an-pin, .an-lead .is-cur .an-lead__src, .an-call__status .is-ring.is-cur { animation: none !important; }
  .an-link .is-cur .an-pill { animation: none !important; opacity: 1; }
  .an-motion .an-reveal, .an-motion .an-pin { opacity: 1 !important; transform: none !important; transition: none !important; }
  .an-motion .an-pin { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)) !important; }
}
