/* Hyperdesk Ads, the home page (index.html): what it adds to conduit.css and brand.css. The product shots are
   recreations of the dashboard (leads/apps/ads) in its own tokens, scoped under .dash so they never leak into
   the page. */

/* ---------- The dashboard, recreated (tokens from leads/apps/ads/components/tokens.css and kit.css) ---------- */
.dash { --t1: #29251e; --t2: #4a463f; --t3: #69655f; --ln: #d9d7d1; --ln2: #ecebe7; --chip: #f0efec; --mut: #f7f6f6; --chart: #2f6fd0;
  color: var(--t1); font: 400 13px/1.35 var(--product); letter-spacing: 0; text-align: left; -webkit-font-smoothing: antialiased; }
.dash p { margin: 0; }
.dash b { font-weight: 500; }
.dash svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dash .pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 8px; background: var(--chip); color: var(--t2); font: 500 12px/1 var(--product); font-style: normal; white-space: nowrap; }
.dash .pill.ok { background: #e8f5ec; color: #17833a; }
.dash .pill.warn { background: #fff3db; color: #8a5300; }
.dash .pill.info, .dash .pill.new { background: #e6f7fc; color: #0b5c75; }
.dash .pill.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dash .d-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px; border: 1px solid var(--ln); border-radius: 10px; background: #fff; color: var(--t1); font: 500 13px/1 var(--product); white-space: nowrap; }
.dash .d-btn.dark { border-color: #28241e; background: #28241e; color: #fff; }
.dash .bar { display: block; height: 7px; border-radius: 4px; background: #e7e5e0; }
/* Widths and heights as classes: the site's Content-Security-Policy blocks inline style="" attributes */
.dash .bar.tall { height: 10px; }
.dash .bar.w28 { width: 28%; } .dash .bar.w34 { width: 34%; } .dash .bar.w44 { width: 44%; } .dash .bar.w52 { width: 52%; }
.dash .bar.w56 { width: 56%; } .dash .bar.w60 { width: 60%; } .dash .bar.w62 { width: 62%; } .dash .bar.w64 { width: 64%; }
.dash .bar.w68 { width: 68%; } .dash .bar.w72 { width: 72%; }
.sprite { position: absolute; }

/* The hero: the app on the page's gradient, its foot running off the stage; the Slack post straddles its left edge */
.ag-h1 { max-width: 920px; }
.ag-h1-l { display: block; }
.app { position: absolute; left: 40px; right: 40px; top: 48px; height: 760px; display: grid; grid-template-columns: 304px minmax(0, 1fr); padding: 8px; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 20px; background: rgba(255, 255, 255, 0.45); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 1px 2px rgba(41, 37, 30, 0.05), 0 24px 64px -12px rgba(41, 37, 30, 0.22); }
.d-seg .on { background: #fff; color: var(--t1); box-shadow: 0 1px 2px #0000000d; }
/* The Activity pane: the agents' week, newest first, today's proposal selected */
.af-item.on { background: #fff; box-shadow: 0 1px 2px #0000000d; }
.d-tabs .on { background: var(--chip); color: var(--t1); }
.d-kicker { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.d-kicker b { font-weight: 600; }
.d-via { margin: 6px 0 16px !important; color: var(--t3); }
.d-via b { color: var(--t2); }
.d-card { padding: 16px 18px; border: 1px solid var(--ln); border-radius: 16px; background: #fff; }
.d-card + .d-card { margin-top: 14px; }
.d-card-h { display: grid; gap: 3px; padding-bottom: 12px; }
.d-card-h b { font-size: 14px; font-weight: 600; }
.d-card-h span { color: var(--t3); }
.d-move { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 11px 0; border-top: 1px solid var(--ln2); }
.d-box { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: #28241e; color: #fff; }
.d-box svg { width: 12px; height: 12px; stroke-width: 2.6; }
.d-move-t { min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-move-x { grid-column: 2 / -1; display: grid; gap: 10px; padding-top: 6px; }
.d-nums { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.d-nums th { height: 28px; padding: 0 10px 0 0; color: var(--t2); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.d-nums td { height: 32px; padding: 0 10px 0 0; border-top: 1px solid var(--ln2); white-space: nowrap; }
.d-what { color: var(--t2); }
.d-what b { color: var(--t1); }
.d-card-f { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ln2); }

@media (max-width: 1080px) {
  .app { left: 24px; right: 24px; grid-template-columns: 272px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .app .d-via { display: none; }
  .d-nums th:first-child, .d-nums td:first-child { display: none; }
}
/* Phones: the agents' week alone, the Activity pane as the whole window */
@media (max-width: 640px) {
  .app { left: 12px; right: 12px; top: 20px; padding: 6px 6px 0; border-radius: 16px; grid-template-columns: minmax(0, 1fr); }
  .app .d-work { display: none; }
}
@media (max-width: 560px) {
  .d-tabs span:not(.on) { display: none; }
  .d-via { display: none; }
  .d-kicker { margin-bottom: 12px !important; }
  .d-card { padding: 14px 12px; border-radius: 14px; }
  .d-nums th, .d-nums td { padding-right: 8px; font-size: 12px; }
  .d-nums th:first-child, .d-nums td:first-child { display: none; }
}

/* ---------- The product tour: tabs, the copy, and a screen on the dashboard's sky ---------- */
.tour-tabs { margin-bottom: 0; }
.tour-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 32px; }
.tour-panel[hidden] { display: none; }
.tour-copy h3 { font-size: 36px; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.tour-copy p { margin: 16px 0 0; color: var(--ink-muted); font-size: 17px; line-height: 1.45; }
.tour-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.35; }
.tour-list li { padding-left: 24px; background: var(--check) left 1px / 16px 16px no-repeat; }
.tour-more { display: inline-block; margin-top: 22px; color: var(--ink); font-size: 15px; font-weight: 500; text-underline-offset: 3px; }
.tour-shot { position: relative; height: 440px; border-radius: var(--radius-2xl); overflow: hidden; isolation: isolate; background: var(--wash); }
.tour-shot > .dash { position: absolute; left: 9%; right: 9%; top: 40px; }

/* Inbox: the approval step, over the thread it came from */
.shot-approve { bottom: -40px; }
.sa-behind { position: absolute; inset: 0; display: grid; align-content: start; gap: 16px; padding: 28px 24px; border-radius: 20px; background: #fff; }
.shot-approve::after { content: ""; position: absolute; inset: 0; border-radius: 20px; background: rgba(41, 37, 30, 0.12); }
.sa-dialog { position: absolute; z-index: 1; left: 50%; top: 34px; width: min(400px, calc(100% - 32px)); translate: -50% 0; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(41, 37, 30, 0.06), 0 24px 48px -12px rgba(41, 37, 30, 0.35); }
.sa-h { font-size: 16px; font-weight: 600; }
.sa-sub { margin-top: 3px !important; color: var(--t3); }
.sa-t { margin-top: 16px !important; font-size: 14px; font-weight: 500; }
.sa-pills { display: flex; gap: 6px; margin-top: 10px !important; }
.sa-google { display: grid; gap: 4px; margin-top: 14px; padding: 12px; border: 1px solid var(--ln2); border-radius: 12px; background: var(--mut); }
.sa-google b { display: flex; align-items: center; gap: 6px; color: #17833a; font-weight: 600; }
.sa-google svg { width: 14px; height: 14px; stroke-width: 2.2; }
.sa-google span { color: var(--t2); }
.sa-req { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; color: var(--t3); }
.sa-req::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: -45deg; }
.sa-f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ln2); }

/* Results: the summary, the leads by week and two tiles */
.shot-results, .shot-lead, .shot-test .st-card { bottom: -40px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(41, 37, 30, 0.05), 0 18px 48px rgba(41, 37, 30, 0.07); }
.sr-hl { font: 400 24px/1.15 var(--heading); letter-spacing: -0.02em; }
.sr-hl b { font-weight: 500; }
.sr-sub { margin-top: 8px !important; color: var(--t2); font-size: 14px; }
.sr-sub b { color: var(--t1); }
.sr-chart { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ln2); }
.sr-chart-h { color: var(--t2); font-size: 12px; font-weight: 500; }
.sr-bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 14px; height: 104px; margin-top: 24px; border-bottom: 1px solid var(--ln2); }
.sr-bars span { position: relative; flex: 0 1 56px; border-radius: 6px 6px 0 0; background: var(--chart); }
.sr-bars .h73 { height: 73%; } .sr-bars .h82 { height: 82%; } .sr-bars .h91 { height: 91%; } .sr-bars .h100 { height: 100%; }
.sr-bars b { position: absolute; left: 0; right: 0; top: -20px; color: var(--t2); font-size: 12px; text-align: center; }
.sr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.sr-tiles div { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--ln); border-radius: 14px; }
.sr-tiles span { color: var(--t3); font-size: 12px; }
.sr-tiles b { font: 400 24px/1.1 var(--heading); letter-spacing: -0.02em; }

/* Leads: how one lead found you, step by step */
.sl-name { display: flex; align-items: center; gap: 10px; }
.sl-name b { font-size: 16px; font-weight: 600; }
.sl-h { margin: 20px 0 12px !important; color: var(--t3); font-size: 12px; font-weight: 500; }
.sl-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.sl-steps li { position: relative; display: grid; gap: 2px; padding: 0 0 16px 26px; }
.sl-steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 8px; height: 8px; border: 2px solid var(--chart); border-radius: 50%; background: #fff; }
.sl-steps li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 17px; bottom: 1px; width: 2px; border-radius: 1px; background: #d6e4f7; }
.sl-steps span { color: var(--t3); font-size: 12px; }
.sl-steps b { font-size: 14px; }
.sl-steps em { color: var(--t3); font-size: 12px; font-style: normal; }
.sl-went { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ln2); }
.sl-went span:first-child { margin-right: auto; color: var(--t3); font-size: 12px; font-weight: 500; }

/* Pages: the page's address and a headline test */
.shot-test { top: 0 !important; bottom: 0; }
.st-top { position: absolute; left: 0; top: 32px; display: flex; align-items: center; gap: 8px; }
.st-top b { color: var(--t2); font: 500 12px/1 var(--mono-font); }
.st-card { position: absolute; left: 0; right: 0; top: 68px; }
.st-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-h b { font-size: 15px; font-weight: 600; }
.st-goal { margin-top: 4px !important; color: var(--t3); }
.st-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.st-table th { height: 30px; padding: 0 8px 0 0; color: var(--t2); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.st-table td { height: 58px; padding: 0 8px 0 0; border-top: 1px solid var(--ln2); white-space: nowrap; }
.st-table td:first-child { white-space: normal; }
.st-table td b, .st-table td span { display: block; }
.st-table td span { margin-top: 2px; color: var(--t3); font-size: 12px; }
.st-table .won td:last-child { color: #17833a; font-weight: 600; }
.st-chart { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ln2); }
.st-chart-h { display: flex; justify-content: space-between; gap: 12px; color: var(--t2); font-size: 12px; font-weight: 500; }
.st-key { display: inline-flex; align-items: center; gap: 6px; color: var(--t3); }
.st-key i { width: 10px; height: 2px; border-radius: 1px; }
.st-key i + i, .st-key i.b { margin-left: 6px; }
.st-key .a, .st-chart .a { background: #b7d3f2; stroke: #b7d3f2; }
.st-key .b, .st-chart .b { background: var(--chart); stroke: var(--chart); }
.st-chart svg { display: block; width: 100%; height: 72px; margin-top: 8px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.st-chart polyline { vector-effect: non-scaling-stroke; }

@media (max-width: 900px) {
  .tour-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour-copy h3 { font-size: 30px; }
}
@media (max-width: 560px) {
  .tour-tabs { gap: 6px; }
  .tour-shot { height: 420px; border-radius: 14px; }
  .tour-shot > .dash { left: 12px; right: 12px; top: 24px; }
  .shot-results, .shot-lead, .shot-test .st-card { padding: 18px 16px; }
  .sa-dialog { top: 20px; padding: 16px; }
  .sr-hl { font-size: 24px; }
  .st-top { top: 20px; }
  .st-card { top: 52px; }
  .st-table th:nth-child(2), .st-table td:nth-child(2) { display: none; }
}

/* ---------- The agents: one card each, its job and one real move ---------- */
.sh-lede { max-width: 640px; margin: 18px 0 0; color: var(--ink-muted); font-size: 19px; line-height: 1.4; }
.dash.ag-move { padding: 12px 14px; border: 1px solid var(--ln2); border-radius: 14px; background: var(--mut); }
.am-row .pill { order: -1; }
.am-sub { margin-top: 5px !important; color: var(--t3); font-size: 12px; }

/* ---------- How it works: each step's screen on the sky panel, running off its foot ---------- */
.step-shot { position: relative; height: 236px; margin-top: 22px; border-radius: 16px; background: var(--wash); overflow: hidden; }
.dash.mini { position: absolute; left: 16px; right: 16px; top: 20px; bottom: -24px; padding: 6px 16px; border: 1px solid rgba(41, 37, 30, 0.08); border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(41, 37, 30, 0.05); }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
.m-row + .m-row, .m-seg + .m-row { border-top: 1px solid var(--ln2); }
.m-k { color: var(--t2); }
.m-v { color: var(--t3); }
.m-label { margin: 10px 0 8px !important; color: var(--t3); font-size: 12px; font-weight: 500; }
.m-seg { display: grid; grid-template-columns: 1.3fr 1.3fr 0.8fr; margin-bottom: 8px !important; padding: 2px; border-radius: 10px; background: var(--chip); }
.m-seg span { display: grid; place-items: center; height: 26px; border-radius: 8px; color: var(--t2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.m-seg .on { background: #fff; color: var(--t1); box-shadow: 0 1px 2px #0000000d; }
.m-checks { display: grid; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--ln2); list-style: none; }
.m-checks li { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--t2); }
.m-checks svg { width: 14px; height: 14px; color: #17833a; stroke-width: 2.2; }
.m-out { border-top: 1px solid var(--ln2); }
.m-out .d-btn { height: 28px; }
.m-hist { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--ln2); }
.m-hist b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-hist span { grid-row: 2; color: var(--t3); font-size: 12px; }
.m-hist .pill { grid-row: 1 / 3; grid-column: 2; }
.m-label + .m-hist { border-top: 0; }

/* ---------- Product and compare pages (tools/ads-pages.mjs) ---------- */
.pg-hero .lede { max-width: 680px; }
.pg-hero .pg-answer { max-width: 760px; color: var(--ink); }
.pg-hero .pg-checks { justify-content: flex-start; }
.pg-fig { margin: 16px 0 0; }
.pg-fig figcaption { padding-top: 14px; color: var(--ink-muted); font-size: 12px; line-height: 14px; }
.pg-shot { height: 500px; }
.pg-shot.pg-shot-inbox { height: 528px; }
.pg-shot > .dash { left: 50%; right: auto; width: min(660px, calc(100% - 48px)); translate: -50% 0; top: 48px; }
.pg-card, .shot-seo { bottom: -40px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(41, 37, 30, 0.05), 0 18px 48px rgba(41, 37, 30, 0.07); }
.pg-card .d-kicker { margin-bottom: 0; }
/* SEO: paid keywords next to free results */
.se-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.se-h b { font-size: 15px; font-weight: 600; }
.se-mkt { color: var(--t3); font-size: 12px; }
.se-sub { margin: 4px 0 0 !important; color: var(--t3); }
.se-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.se-table th { height: 30px; padding: 0 8px 0 0; color: var(--t2); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.se-table td { height: 44px; padding: 0 8px 0 0; border-top: 1px solid var(--ln2); white-space: nowrap; }
.se-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px !important; padding-top: 14px; border-top: 1px solid var(--ln2); color: var(--t3); }
/* What it does: one card per point */
.pg-points { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pg-points li { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-2xl); background: #fff; }
.pg-points .num { color: var(--ink-muted); font: 500 12px/14px var(--mono-font); letter-spacing: 0.04em; }
.pg-points h3, .pg-points h2 { margin: 24px 0 8px; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.pg-points p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.45; }
.pg-links { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pg-links li { padding: 0; transition: border-color 0.15s var(--ease); }
.pg-links a { display: flex; flex-direction: column; height: 100%; padding: 24px; color: inherit; text-decoration: none; }
.pg-links li:hover { border-color: var(--ink); }
.pg-links h2 { font-size: 28px; }
/* Which fits: the two cards' lists */
.pg-fit .vs-card { display: flex; flex-direction: column; }
.pg-fit .choose-list { padding-top: 20px; border-top: 1px solid var(--line); }
.pg-fit .vs-new .choose-list { border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.pg-cmp .cmp-table td.us { font-weight: 500; }
@media (max-width: 560px) {
  .pg-shot, .pg-shot.pg-shot-inbox { height: 460px; border-radius: 14px; }
  .pg-shot > .dash { width: calc(100% - 24px); top: 24px; }
  .pg-card, .shot-seo { padding: 18px 16px; }
  .pg-card .d-via { display: none; }
  .se-table th:nth-child(4), .se-table td:nth-child(4) { display: none; }
  .se-f { flex-direction: column; align-items: flex-start; }
  .pg-points li, .pg-links a { padding: 20px; }
}

/* ==========================================================================================================
   The home page's hero, facts, channels, agents grid and review (November 2026). Everything here
   is true or labelled as an example: real marks for real products (home/marks/), Google's own words in the
   pictures, and one fictional company's numbers that add up across the page.
   ========================================================================================================== */

/* ---------- Hero: one move in the Inbox, on the dashboard's own sky ---------- */
.hero .lede { max-width: 560px; }
.hx { margin: 56px 0 0; }
.hx figcaption { padding-top: 16px; color: var(--ink-muted); font-size: 12px; line-height: 14px; text-align: center; }
.hx-stage { position: relative; height: 600px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--wash); }
.hx-stage p { margin: 0; }
/* The sidebar sits on the sky, as in the product */
.hx-side { position: absolute; left: 28px; top: 30px; width: 204px; font-family: var(--product); }
.hx-logo { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; }
.hx-logo img { width: auto; height: 18px; }
.hx-logo span { color: #69655f; font-size: 13px; font-weight: 600; }
.hx-seg { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 14px !important; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / 0.5); }
.hx-seg span { display: grid; place-items: center; height: 28px; border-radius: 999px; color: #69655f; font-size: 13px; font-weight: 500; }
.hx-seg .on { background: #fff; color: #29251e; box-shadow: 0 1px 2px #0000000d; }
.hx-nav { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 10px; color: #4a463f; font-size: 14px; font-weight: 500; }
.hx-nav svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hx-nav.on { background: rgb(255 255 255 / 0.75); color: #29251e; }
.hx-nav em { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: #29251e; color: #fff; font-size: 11.5px; font-style: normal; font-weight: 600; }
/* The work, in a white card with a glass rim, running off the right and the foot */
.hx-work { position: absolute; left: 260px; top: 22px; width: 1000px; height: 700px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 5px rgb(255 255 255 / 0.45), 0 1px 2px rgb(41 37 30 / 0.06), 0 30px 70px -24px rgb(41 37 30 / 0.28); }
.hx-in { width: 880px; padding: 28px 36px; }
.hx-head { display: flex; align-items: center; gap: 18px; }
.hx-title { font: 400 30px/1.1 'Instrument Sans', var(--product); letter-spacing: -0.035em; }
.hx-tabs { display: flex; padding: 3px; border-radius: 999px; background: var(--chip); }
.hx-tabs span { display: grid; place-items: center; height: 28px; padding: 0 14px; border-radius: 999px; color: var(--t3); font-weight: 500; }
.hx-tabs .on { background: #fff; color: var(--t1); box-shadow: 0 1px 2px #0000000d; }
/* The move: the agent, the change, its numbers at display size, the other two changes, the buttons */
.hx-move { margin-top: 22px; padding: 22px 24px 18px; border: 1px solid var(--ln2); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgb(41 37 30 / 0.05), 0 18px 44px -20px rgb(41 37 30 / 0.24); }
.hx-by { display: flex; align-items: center; gap: 12px; }
.hx-agent { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: #e6f7fc; color: #0b5c75; font-size: 13px; font-weight: 600; }
.hx-agent svg { width: 14px; height: 14px; stroke-width: 2; }
.hx-camp { color: var(--t3); font-size: 13px; }
.hx-t { margin-top: 14px !important; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.hx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border: 1px solid var(--ln2); border-radius: 14px; }
.hx-kpis p { padding: 14px 18px 12px; }
.hx-kpis p + p { border-left: 1px solid var(--ln2); }
.hx-kpis span { color: var(--t3); font-size: 12.5px; }
.hx-kpis b { display: block; margin-top: 2px; font: 400 36px/1.1 'Instrument Sans', var(--product); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.hx-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 46px; border-top: 1px solid var(--ln2); font-size: 14px; font-weight: 500; }
.hx-kpis + .hx-row { margin-top: 14px !important; }
.hx-btn { position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border: 1px solid var(--ln); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; }
.hx-btn.dark { border-color: #28241e; background: #28241e; color: #fff; }
/* What happened: a toast where the product puts it */

/* ---------- The agents: a grid of five, each picture what that agent makes ---------- */
.bt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bt-tile { display: flex; flex-direction: column; min-height: 400px; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.bt-wide { grid-column: span 2; }
.bt-wide .bt-pic { justify-content: flex-start; padding-bottom: 0; }
.bt-copy { max-width: 36ch; margin: 0; padding: 26px 26px 0; color: var(--ink-muted); font-size: 17px; line-height: 1.4; }
.bt-copy b { color: var(--ink); font-weight: 600; }
.bt-copy svg { display: block; width: 22px; height: 22px; margin-bottom: 14px; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bt-pic { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 22px; padding: 26px 26px 30px; overflow: hidden;
  background: var(--wash); }
.bt-pic p { margin: 0; }
.bt-card { width: 100%; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgb(41 37 30 / 0.06), 0 12px 32px -14px rgb(41 37 30 / 0.2); }
/* A satellite chip straddling the foot of its card */
.bt-tag { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: -16px !important; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; color: var(--t2); font-size: 12.5px; box-shadow: 0 1px 2px rgb(41 37 30 / 0.08), 0 8px 20px -8px rgb(41 37 30 / 0.25); }
/* Search: the search terms report, run off the foot */
.st { padding: 16px 20px 0; border-radius: 14px 14px 0 0; }
.st-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; font-weight: 600; }
.st-cut { color: var(--t3); font-size: 12.5px; font-weight: 400; }
.st-cut b { margin-left: 8px; color: var(--t1); font: 400 24px/1 'Instrument Sans', var(--product); letter-spacing: -0.03em; }
.st-r { display: grid; grid-template-columns: minmax(0, 1fr) 64px 84px 56px 84px; align-items: center; height: 44px; margin: 0 -20px !important; padding: 0 20px; border-top: 1px solid var(--ln2); font-size: 14px; font-variant-numeric: tabular-nums; }
.st-th { height: 32px; color: var(--t2); font-size: 12px; font-weight: 500; }
.st-x { background: #fffaf0; }
.st-x span:first-child { font-weight: 600; }
.st-r span:last-child { justify-self: end; }
/* Budget: the old and new budget, the day's total against the cap */
.bu { max-width: 360px; padding: 18px 20px 20px; }
.bu-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--t2); font-weight: 500; }
.bu-big { display: flex; align-items: baseline; gap: 10px; margin-top: 14px !important; font-family: 'Instrument Sans', var(--product); letter-spacing: -0.03em; }
.bu-big s { color: var(--t3); font-size: 22px; text-decoration-thickness: 1.5px; }
.bu-arrow { color: var(--t3); font-size: 18px; }
.bu-big b { font-size: 44px; font-weight: 400; line-height: 1; }
.bu-unit { color: var(--t3); font-family: var(--product); font-size: 13px; letter-spacing: 0; }
.bu-track { position: relative; display: flex; height: 10px; margin-top: 20px; border-radius: 999px; background: var(--chip); }
.bu-track i { display: block; height: 100%; }
.bu-other { width: 65.7%; border-radius: 999px 0 0 999px; background: #cfccc5; }
.bu-was { width: 17.1%; background: var(--chart); }
.bu-add { width: 4.3%; border-radius: 0 999px 999px 0; background: repeating-linear-gradient(-45deg, var(--chart) 0 3px, #9cbcec 3px 6px); }
.bu-cap { position: absolute; right: 0; top: -5px; bottom: -5px; width: 2px; border-radius: 1px; background: var(--t1); }
.bu-legend { display: flex; justify-content: space-between; margin-top: 10px !important; color: var(--t3); font-size: 12.5px; }
/* Ad copy: a search ad with its new headline */
.ad { max-width: 340px; padding: 16px 18px 26px; font-family: Arial, Helvetica, sans-serif; }
.ad-sp { color: #202124; font-size: 12px; font-weight: 700; }
.ad-site { display: flex; align-items: center; gap: 10px; margin-top: 10px !important; color: #4d5156; font-size: 12px; line-height: 1.35; }
.ad-site b { color: #202124; font-size: 14px; font-weight: 400; }
.ad-fav { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; }
.ad-fav svg { width: 14px; height: 14px; fill: none; stroke: #4d5156; stroke-width: 1.7; }
.ad-h { margin-top: 8px !important; color: #1a0dab; font-size: 19px; line-height: 1.3; }
.ad-h mark { padding: 0 2px; border-radius: 3px; background: #fff0b3; color: inherit; }
.ad-d { margin-top: 4px !important; color: #4d5156; font-size: 13px; line-height: 1.45; }
/* Pages: two versions of the page, B ahead */
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 340px; padding-bottom: 18px; }
.ab-page { display: grid; gap: 9px; align-content: start; padding: 14px 14px 12px; border: 1px solid var(--ln2); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(41 37 30 / 0.05); }
.ab-k { color: var(--t3); font: 600 11px/1 var(--product); }
.ab-h { min-height: 38px; font: 400 17px/1.12 'Instrument Sans', var(--product); letter-spacing: -0.02em; }
.ab-page .bar { display: block; height: 6px; border-radius: 3px; background: #e7e5e0; }
.ab-page .w64 { width: 64%; } .ab-page .w56 { width: 56%; }
.ab-btn { display: block; width: 58px; height: 16px; border-radius: 999px; background: #28241e; }
.ab-rate { margin-top: 6px !important; padding-top: 10px; border-top: 1px solid var(--ln2); font: 400 26px/1 'Instrument Sans', var(--product); letter-spacing: -0.03em; }
.ab-win { translate: 0 -8px; box-shadow: 0 1px 2px rgb(41 37 30 / 0.06), 0 16px 34px -14px rgb(41 37 30 / 0.3); }
.ab-win .ab-rate { color: #17833a; }
/* SEO: a paid ad over the free result that already ranks first */
.serp { max-width: 340px; padding: 14px 16px 30px; font-family: Arial, Helvetica, sans-serif; }
.serp-q { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid #dfe1e5; border-radius: 999px; color: #202124; font-size: 14px; }
.serp-q svg { width: 14px; height: 14px; fill: none; stroke: #4d5156; stroke-width: 1.8; }
.serp-r { position: relative; margin-top: 12px; }
.serp-k { color: #4d5156; font-size: 12px; }
.serp-r:first-of-type .serp-k { color: #202124; font-weight: 700; }
.serp-t { margin-top: 2px !important; color: #1a0dab; font-size: 17px; }
.serp-u { color: #4d5156; font-size: 12px; }
.serp-free { padding-top: 12px; border-top: 1px solid #ecebe7; }
.serp-1 { position: absolute; right: 0; top: 12px; padding: 3px 8px; border-radius: 8px; background: #e8f5ec; color: #17833a; font: 600 12px/1.3 var(--product); font-style: normal; }

/* ---------- Phones: the move alone, the grid one column ---------- */
@media (max-width: 600px) {
  .hx { margin-top: 40px; }
  .hx-stage { height: 520px; border-radius: 14px; }
  .hx-side { display: none; }
  .hx-work { left: 12px; right: 12px; top: 12px; width: auto; height: 560px; border-radius: 16px; }
  .hx-in { width: auto; padding: 18px 14px; }
  .hx-title { font-size: 24px; }
  .hx-head { gap: 12px; }
  .hx-move { margin-top: 16px; padding: 16px 14px 14px; border-radius: 14px; }
  .hx-camp { display: none; }
  .hx-t { font-size: 18px; }
  .hx-kpis { grid-template-columns: 1.4fr 1fr; }
  .hx-kpis p:first-child { display: none; }
  .hx-kpis p:nth-child(2) { border-left: 0; }
  .hx-kpis p { padding: 10px 14px 8px; }
  .hx-kpis b { font-size: 28px; }
  .hx-kpis span { font-size: 12px; }
  .hx-row { font-size: 13px; height: 42px; }
  .hx-row .pill { display: none; }
  .bt { grid-template-columns: minmax(0, 1fr); }
  .bt-wide { grid-column: auto; }
  .bt-tile { min-height: 0; }
  .bt-copy { padding: 22px 20px 0; font-size: 16px; }
  .bt-pic { min-height: 250px; padding: 22px 16px 0; }
  .st { padding: 14px 14px 0; }
  .st-h > span:first-child { display: none; }
  .st-r { grid-template-columns: minmax(0, 1fr) 70px 40px 72px; margin: 0 -14px !important; padding: 0 14px; font-size: 13px; }
  .st-r span:nth-child(2) { display: none; }
  .st-r span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* The agent named the same way everywhere, the move as a diff, the week's moves in Slack */

/* The agent, named the same way in the hero and in the grid */
.ag-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: #e6f7fc; color: #0b5c75; font: 600 13px/1 var(--product); letter-spacing: 0; white-space: nowrap; }
.ag-chip svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: a little taller for the diff, and everything but the move stepped back */
.hx-stage { height: 640px; }
.hx-side .hx-seg, .hx-side .hx-nav { opacity: 0.55; }
.hx-tabs { opacity: 0.7; }
.hx-camp { margin-left: auto; }
.hx-t { margin-top: 12px !important; font-size: 21px; }
.hx-why-h { margin-top: 14px !important; color: var(--t3); font-size: 12.5px; }
.hx-kpis { margin-top: 8px; }
.hx-kpis p:first-child b { color: var(--t1); }
.hx-kpis p:last-child b { color: #b42318; }
/* What changes in Google Ads, as a diff: one added line per change */
.hx-diff { margin-top: 14px; border: 1px solid var(--ln2); border-radius: 14px; overflow: hidden; }
.hx-diff-h { padding: 9px 14px; border-bottom: 1px solid var(--ln2); background: var(--mut); color: var(--t2); font-size: 12.5px; font-weight: 500; }
.hx-d { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; height: 38px; padding-right: 14px; background: #f1faf3; font-size: 14px; }
.hx-d + .hx-d { border-top: 1px solid #e2f1e6; }
.hx-d i { display: grid; place-items: center; height: 100%; background: #e3f4e8; color: #17833a; font-style: normal; font-weight: 600; }
.hx-d span { padding-left: 12px; font-weight: 500; }
.hx-d em { color: #2f6b45; font-size: 12.5px; font-style: normal; }
/* The week's moves in Slack: a message card over the sidebar, straddling the work's left edge */
.hx-slack { position: absolute; left: 24px; top: 392px; z-index: 2; width: 282px; padding: 12px 14px 14px; border-radius: 12px; background: #fff; font: 400 14px/1.4 var(--product); box-shadow: 0 1px 2px rgb(41 37 30 / 0.08), 0 14px 34px -12px rgb(41 37 30 / 0.3); }
.hx-slack p { margin: 0; }
.sk-ch { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--ln2); color: var(--t2); font-size: 12.5px; }
.sk-ch img { width: 14px; height: 14px; }
.sk-ch b { color: var(--t1); font-weight: 600; }
.sk-msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding-top: 10px; }
.sk-av { width: 32px; height: 32px; border-radius: 7px; }
.sk-who { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.sk-who b { font-weight: 700; }
.sk-app { padding: 1px 4px; border-radius: 3px; background: #ecebe7; color: var(--t3); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.sk-t { color: var(--t3); font-size: 12px; }
.sk-txt { margin-top: 2px !important; color: var(--t1); font-size: 13.5px; }
.sk-btn { display: inline-flex; align-items: center; height: 28px; margin-top: 8px !important; padding: 0 12px; border: 1px solid #cfccc5; border-radius: 6px; color: var(--t1); font-size: 13px; font-weight: 600; }

/* The grid: the agent's chip, then one sentence in page type */
.bt-copy { display: grid; gap: 14px; justify-items: start; max-width: 34ch; color: var(--ink); font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.st-k span { color: var(--t3); }
.st-k span:first-child { color: var(--t2); }

@media (max-width: 600px) {
  .hx-stage { height: 650px; }
  .hx-work { height: 700px; }
  .st-r span:first-child { overflow: visible; white-space: nowrap; }
  .hx-camp { display: none; }
  .hx-why-h { font-size: 12px; }
  .hx-kpis p:first-child { display: block; }
  .hx-kpis p:nth-child(2) { display: none; }
  .hx-kpis p:last-child { border-left: 1px solid var(--ln2); }
  .hx-d { height: 34px; font-size: 13px; }
  .hx-d em { display: none; }
  .hx-slack { display: none; }
  .bt-copy { font-size: 17px; }
}
.bt-copy .ag-chip svg { display: block; width: 14px; height: 14px; margin: 0; color: inherit; stroke-width: 2; }
.hx-slack { left: 22px; width: 250px; }
@media (max-width: 600px) {
  .st-r { grid-template-columns: minmax(0, 1fr) 64px 30px 68px; column-gap: 10px; }
}


/* Hero */
.eyebrow .yc-logo { width: 14px; height: 14px; border-radius: 2px; }
.hero .lede { max-width: 700px; text-wrap: balance; }
.hx-diff-h { display: flex; align-items: center; gap: 8px; color: var(--t1) !important; }
.hx-diff-h img { width: 16px; height: auto; }



/* The agents grid, in Google's own words and marks */
.bt-copy { max-width: 38ch; }
.st-src { display: inline-flex; align-items: center; gap: 8px; }
.st-src img { width: 16px; height: auto; }
.ad-init { color: #4d5156; font: 700 12px/1 Arial, Helvetica, sans-serif; background: #e8eaed !important; }
.serp-q img { width: 14px; height: 14px; }

/* The first review: a sample report on the sky, beside the founder */
.rv { padding-top: 0; }
.rv-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 56px; }
.rv-copy { margin-bottom: 0; }
.rv-btn { margin-top: 28px; }
.rv-pic { display: grid; place-items: center; padding: 44px 48px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--wash); }
.rv-card { width: 100%; max-width: 600px; padding: 22px 24px 18px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgb(41 37 30 / 0.06), 0 18px 44px -20px rgb(41 37 30 / 0.3); font: 400 14px/1.35 var(--product); }
.rv-card p { margin: 0; }
.rv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 600; }
.rv-acct { color: var(--t3); font-size: 12.5px; font-weight: 400; }
.rv-k { margin-top: 18px !important; color: var(--t3); font-size: 12.5px; }
.rv-big { display: flex; align-items: baseline; gap: 10px; margin-top: 4px !important; color: #b42318; font: 400 52px/1 'Instrument Sans', var(--product); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.rv-big span { color: var(--t3); font: 400 14px/1 var(--product); letter-spacing: 0; }
.rv-rows { margin-top: 18px; }
.rv-r { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 50px; border-top: 1px solid var(--ln2); }
.rv-r .ag-chip { justify-self: start; }
.rv-f { color: var(--t2); }
.rv-r b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ln2); color: var(--t3); font-size: 13px; }

@media (max-width: 900px) {
  .rv-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hx-d em { display: none; }
  .st-h { display: flex; }
  .st-h > span:first-child { display: none; }
  .rv-pic { padding: 16px; border-radius: 16px; }
  .rv-card { padding: 18px 16px 14px; }
  .rv-h { flex-direction: column; gap: 2px; }
  .rv-big { font-size: 40px; }
  .rv-r { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "chip val" "f f"; gap: 4px 10px; height: auto; padding: 10px 0; }
  .rv-r .ag-chip { grid-area: chip; }
  .rv-r b { grid-area: val; }
  .rv-f { grid-area: f; font-size: 13px; }
}
.rv-foot .hx-btn { flex: none; white-space: nowrap; }

/* The hero's account: a fictional company, so a neutral initial, never a made-up logo */
.hx-org { display: inline-flex; align-items: center; gap: 8px; height: 32px; margin-left: auto !important; padding: 0 12px 0 4px; border: 1px solid var(--ln2); border-radius: 999px; color: var(--t1); font-size: 13px; font-weight: 500; }
.hx-org-i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e8eaed; color: #4d5156; font: 700 11px/1 var(--product); }

@media (max-width: 900px) {
  .rv-grid { gap: 32px; }
}
@media (max-width: 600px) {
  .ag-h1-l { display: inline; }
  .ag-h1 { text-wrap: balance; }
  .hx-org { display: none; }
  .hx-stage { height: 610px; }
}


/* The hero: one change, posted to Slack, approved from Claude, live in the Inbox */
.hx-stage { height: 660px; }
.hx-slack { width: 268px; }
.sk-btns { display: flex; gap: 6px; margin-top: 8px !important; }
.sk-btns .sk-btn { margin-top: 0 !important; }
.sk-yes { border-color: #007a5a !important; background: #007a5a; color: #fff !important; }
@media (max-width: 1100px) {
  .hx-in { width: 880px; }
}
@media (max-width: 600px) {
  .hx-stage { height: 520px; }
  .hx-in { width: auto; }
}

}


/* The lens over the search terms report: a glass loupe reads down the rows once, magnifying each; the two searches
   with no conversions get their Exclude as it passes. The loupe holds a copy of the rows, moved and scaled with the
   same --cy, so what's under it reads 14% larger. */
@property --cy { syntax: '<length>'; inherits: true; initial-value: 22px; }
.st-rows { position: relative; container-type: inline-size; --pad: 20px; --cc: 125px; --r: 38px; }
/* A round lens over the Conv. column (its centre --cc from the rows' right edge), holding a copy of the rows set so
   the point under its centre is the same, 1.6 times larger */
.st-loupe { position: absolute; right: calc(var(--cc) - var(--r)); top: calc(var(--cy) - var(--r)); z-index: 2; width: calc(var(--r) * 2); height: calc(var(--r) * 2); overflow: hidden; border-radius: 50%; background: #fff; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.95), 0 0 0 2.5px rgb(41 37 30 / 0.1), 0 16px 30px -8px rgb(41 37 30 / 0.4), inset 0 2px 6px rgb(41 37 30 / 0.12); }
.st-loupe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0) 34%), radial-gradient(circle at 70% 80%, rgb(255 255 255 / 0.3), rgb(255 255 255 / 0) 30%); }
.st-loupe-in { position: absolute; left: calc(var(--r) - var(--pad) - 100cqw + var(--cc)); top: calc(var(--r) - var(--cy)); width: calc(100cqw + var(--pad) * 2);
  transform-origin: calc(100cqw + var(--pad) - var(--cc)) var(--cy); transform: scale(1.6); }
.st-loupe-in .st-r { margin: 0 !important; }
@keyframes st-read {
  0% { --cy: 22px; opacity: 0; }
  8%, 18% { --cy: 22px; opacity: 1; }
  32%, 50% { --cy: 66px; }
  62%, 78% { --cy: 110px; opacity: 1; }
  92% { --cy: 154px; opacity: 1; }
  100% { --cy: 154px; opacity: 0; }
}
@keyframes st-mark { from { background-color: transparent; } to { background-color: #fffaf0; } }
@media (max-width: 600px) {
  .st-rows { --pad: 14px; --cc: 98px; --r: 32px; }
  .st-rows .st-r span:first-child { overflow: hidden; text-overflow: ellipsis; }
}

/* The change's way to live, ticked off in order as the page opens (see Motion) */
.hx-steps { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--ln2); list-style: none; }
.hx-steps li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--t1); font-size: 13.5px; }
.hx-steps i { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #17833a; border-radius: 5px; background: #17833a; }
.hx-steps i svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }
.hx-steps span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.hx-steps span img { flex: none; }
.hx-steps em { color: var(--t3); font-size: 12.5px; font-style: normal; font-variant-numeric: tabular-nums; }
.hx-step-live span { color: #17833a; font-weight: 600; }
@media (max-width: 600px) {
  .hx-stage { height: 612px; }
  .hx-steps li { font-size: 13px; }
  .hx-steps em { display: none; }
}


/* What happens after the demo, in time: the first review runs as soon as Google Ads is connected */
.get-ttv { display: flex; align-items: center; gap: 8px; margin: 2px 0 0 2px; color: var(--ink-muted); font-size: 13px; line-height: 16px; }
.get-ttv svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }


/* ==========================================================================================================
   Round 5, after Eric's reference: the page inside two thin frame lines, a hairline over each section with a +
   where they cross, a field of plus signs behind the hero's action, one sky panel behind every product picture,
   the review right after the hero, three steps to start, and less text
   ========================================================================================================== */
html { background: #fff; }
.home { --lx: calc(50% - 620px); --rx: calc(50% + 620px); --mlx: calc(50% - 620px); --mrx: calc(50% + 620px);
  background: linear-gradient(var(--frame), var(--frame)) no-repeat var(--lx) 0 / 1px 100%, linear-gradient(var(--frame), var(--frame)) no-repeat var(--rx) 0 / 1px 100%, #fff; }
.home main > section { position: relative; }
.home main > section + section, .home .ftr { border-top: 1px solid var(--frame); }
.home main > section + section::after, .home .ftr::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 13px; pointer-events: none;
  background: var(--frame-mark) no-repeat var(--mlx) 0, var(--frame-mark) no-repeat var(--mrx) 0; }
.home .ftr { position: relative; }
.home .hdr { background: repeating-linear-gradient(to bottom, var(--frame-d) 0 3px, transparent 3px 7px) no-repeat var(--lx) 0 / 1px 100%, repeating-linear-gradient(to bottom, var(--frame-d) 0 3px, transparent 3px 7px) no-repeat var(--rx) 0 / 1px 100%, rgb(250 250 250 / 0.9); }
@media (max-width: 1279px) { .home { --lx: 20px; --rx: calc(100% - 20px); --mlx: 14px; --mrx: calc(100% - 14px); } }
@media (max-width: 760px) {
  .home { background: #fff; }
  .home .hdr { background: rgb(250 250 250 / 0.92); }
  .home main > section + section::after, .home .ftr::before { display: none; }
}
.home .sec { padding: 104px 0; }

/* Hero: the promise, one action over the field of plus signs, then the app on its sky */
.home .hero { padding: 88px 0 96px; }
.home .hero-in { position: relative; isolation: isolate; }
.home .hero-in::before { content: ""; position: absolute; z-index: -1; left: 20px; right: 20px; top: 56%; bottom: -150px; opacity: 0.7; pointer-events: none;
  background: var(--field) center top / 160px 160px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%); }
.home .hero .lede { max-width: 640px; }
.home .hero .get { margin-top: 36px; }
.home .get-ttv { margin-top: 4px; }
.home .hx { position: relative; margin-top: 64px; }
.home .hx-stage { border: 1px solid var(--frame); border-radius: 20px; background: var(--wash); }
.home .hx-slack { left: -28px; top: 404px; }
.home .hx figcaption { padding-top: 14px; }
@media (max-width: 1360px) { .home .hx-slack { left: 14px; } }

/* The review, right after the hero */
.home .rv { padding-top: 120px; }
.home .rv-pic { border-color: var(--frame); }

/* Pages: two versions of one landing page, each a small browser window */
.ab { gap: 12px; max-width: 360px; }
.ab-page { gap: 0; padding: 0; overflow: hidden; }
.ab-page p { margin: 0; }
.ab-bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-bottom: 1px solid var(--ln2); background: #f6f6f4; }
.ab-bar i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: #d6d3cd; }
.ab-bar span { min-width: 0; margin-left: 4px; overflow: hidden; color: var(--t3); font: 400 10px/1 var(--product); white-space: nowrap; text-overflow: ellipsis; }
.ab-body { display: grid; gap: 6px; justify-items: start; padding: 12px 12px 12px; }
.ab-k { font-size: 10px; }
.ab-h { min-height: 36px; font-size: 16px; line-height: 1.1; }
.ab-s { color: var(--t2); font: 400 11px/1.35 var(--product); }
.ab-cta { margin-top: 4px !important; padding: 5px 9px; border-radius: 6px; background: #28241e; color: #fff; font: 500 10.5px/1 var(--product); }
.ab-rate { display: flex; align-items: baseline; gap: 6px; margin: 0 !important; padding: 9px 12px 10px; font-size: 24px; }
.ab-rate span { color: var(--t3); font: 400 11px/1 var(--product); letter-spacing: 0; }
.ab-win { translate: 0 -8px; }

/* How it works: connect, the first review, approve in Slack, each on the sky */
.go3 .step-shot { border: 1px solid var(--frame); }
.dash.g3 { display: grid; align-content: start; padding: 16px 18px; font: 400 14px/1.35 var(--product); }
.g3 p { margin: 0; }
.g3-conn { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ln2); }
.g3-conn img { width: 22px; height: auto; }
.g3-conn span:not(.pill) { display: grid; gap: 2px; }
.g3-conn b { font-weight: 600; }
.g3-conn em { color: var(--t3); font-size: 12.5px; font-style: normal; }
.g3-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ln2); color: var(--t2); }
.g3-line b { color: var(--t1); font-weight: 500; }
.g3-k { display: flex; align-items: center; justify-content: space-between; color: var(--t2); font-weight: 500; }
.g3-big { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 10px !important; color: #b42318; font: 400 40px/1 'Instrument Sans', var(--product); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.g3-big span { color: var(--t3); font: 400 13px/1 var(--product); letter-spacing: 0; }
.g3-slack .sk-msg { grid-template-columns: 28px minmax(0, 1fr); }
.g3-slack .sk-av { width: 28px; height: 28px; border-radius: 6px; }

/* The tour: Results first, cost per lead at display size; the Inbox's real rows behind the approval */
.sr-k { color: var(--t2); font-size: 13px; font-weight: 500; }
.sr-big { margin-top: 8px !important; font: 400 56px/1 'Instrument Sans', var(--product); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sr-tiles b { font-family: 'Instrument Sans', var(--product); }
.tour-shot { border: 1px solid var(--frame); }
.sa-behind { gap: 10px; padding: 22px 20px; font: 400 14px/1.3 var(--product); }
.sa-behind p { margin: 0; }
.sb-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px !important; }
.sb-h b { font: 400 24px/1 'Instrument Sans', var(--product); letter-spacing: -0.03em; }
.sb-h span { color: var(--t3); font-size: 13px; }
.sb-row { display: grid; gap: 6px; justify-items: start; padding: 12px 14px; border: 1px solid var(--ln); border-radius: 14px; }
.sb-row b { font-weight: 600; }
.sb-row em { color: var(--t3); font-size: 12.5px; font-style: normal; }

.faq-btn { margin-top: 28px; }
.vs-card.vs-new { border-color: var(--black); background: var(--black); }

/* The last call: the band runs from line to line, its field rising from the footer's hairline */
.home .final { padding: 0; }
.home .final-card { padding: 128px 32px 136px; overflow: visible; }
.home .final-bg { left: -20px; right: -20px; }

@media (max-width: 760px) {
  .home .sec, .home .rv { padding: 80px 0; }
  .home .hero { padding: 32px 0 64px; }
  .home .eyebrow { padding: 5px 10px; }
  .home .h1.ag-h1 { margin-top: 18px; }
  .home .hero .lede { margin-top: 16px; }
  .home .hero .get { margin-top: 22px; }
  .home .get-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .home .get-row { flex-direction: row; }
  .home .get .btn { width: auto; flex: none; padding: 0 14px; }
  .home .get input { flex: 1 1 auto; min-width: 0; padding-left: 34px; }
  .home .get-ic { top: 50%; }
  .home .hero-in::before { left: 0; right: 0; }
  .home .hx { margin-top: 36px; }
  .home .final-card { padding: 88px 8px 96px; }
  .home .final-bg { left: -16px; right: -16px; }
}

/* ==========================================================================================================
   Motion, second by second. Every product picture tells its change as it happens, once:
   - The hero plays as the page opens (CSS only, so it never flashes its last frame first).
   - The pictures below wait, paused on their first frame, until agent.js adds .play when most of one is on screen;
     agent.js also counts their numbers up ([data-count], timed to the same seconds).
   The static styles are each picture's last frame: that's what reduced motion and no-JS show.
   Arrivals use --ease-out; the cursor's glide uses --ease-in-out.
   ========================================================================================================== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }

@keyframes m-in { from { opacity: 0; translate: 0 8px; } }
@keyframes m-left { from { opacity: 0; translate: -10px 0; } }
@keyframes m-pop { from { opacity: 0; scale: 0.92; } }
@keyframes m-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes m-grow { from { scale: 0 1; } }

/* ---- Hero, from the page opening ----
   0.1s  the app rises into place
   0.5s  the numbers appear; 0.6s Spent and Clicks count up ($30,180, 2,156; agent.js, on this clock)
   1.5s  Leads: 0 gives one beat
   1.75s the exclusions arrive, a beat apart (two searches, then 12 more)
   2.4s  step 1 ticks: Proposed by the Search agent
   2.8s  the change is posted to Slack
   3.4s  a cursor glides to Approve and presses it (4.2s)
   4.4s  Slack shows Approved; 4.6s step 2 ticks
   4.9s  Google checks it (the spinner); 5.5s step 3 ticks
   6.2s  step 4: Live in Google Ads; 6.3s the Live pill */
.hx-more { background: #f7fbf8; }
.hx-more i { background: #edf7f0; color: #5c9a73; }
.hx-more span { color: var(--t2); font-weight: 400; }
.hx-kpis p:last-child b { width: max-content; transform-origin: 0 70%; }
.hx-live { flex: none; }
.hx-slack .sk-msg > div { display: grid; }
.hx-slack .sk-who { grid-row: 1; }
.hx-slack .sk-txt { grid-row: 2; }
.hx-slack .sk-btns, .hx-slack .sk-done { grid-row: 3; grid-column: 1; }
.hx-slack .sk-btns { opacity: 0; }
.sk-done { display: flex; align-items: center; gap: 6px; height: 28px; margin-top: 8px !important; color: #007a5a; font-size: 13px; font-weight: 600; }
.sk-done svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hx-cursor { position: absolute; left: 88px; bottom: 10px; z-index: 3; width: 18px; height: 18px; opacity: 0; fill: #111; stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; pointer-events: none; }
.hx-steps li:nth-child(3) i { position: relative; }
.hx-steps li:nth-child(3) i::before { content: ""; position: absolute; inset: -4px; border: 2px solid #17833a; border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; opacity: 0; }
@keyframes hx-zero { 0%, 100% { scale: 1; } 45% { scale: 1.14; } }
@keyframes hx-box { from { border-color: #d9d7d1; background: #fff; } }
@keyframes hx-mark { from { stroke-dashoffset: 24; } }
@keyframes hx-fade { from { opacity: 0.35; } }
@keyframes hx-spin { from { opacity: 1; rotate: 0deg; } 85% { opacity: 1; } to { opacity: 0; rotate: 300deg; } }
@keyframes sk-press { 50% { scale: 0.94; } }
@keyframes hx-cursor {
  0% { opacity: 0; translate: 70px 44px; }
  15% { opacity: 1; translate: 70px 44px; }
  55% { opacity: 1; translate: 0 0; scale: 1; }
  62% { scale: 0.86; }
  70% { opacity: 1; translate: 0 0; scale: 1; }
  100% { opacity: 0; translate: 4px 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hx-stage { animation: m-in 0.7s var(--ease-out) 0.1s both; }
  .hx-kpis b { animation: m-in 0.3s var(--ease-out) 0.5s both; }
  .hx-kpis p:last-child b { animation: m-in 0.3s var(--ease-out) 0.5s both, hx-zero 0.45s var(--ease-out) 1.5s both; }
  .hx-d { animation: m-left 0.35s var(--ease-out) 1.75s both; }
  .hx-d + .hx-d { animation-delay: 1.95s; }
  .hx-d + .hx-d + .hx-d { animation-delay: 2.15s; }
  .hx-steps li:nth-child(1) { --d: 2.4s; }
  .hx-steps li:nth-child(2) { --d: 4.6s; }
  .hx-steps li:nth-child(3) { --d: 5.5s; }
  .hx-steps li:nth-child(4) { --d: 6.2s; }
  .hx-steps i { animation: hx-box 0.25s var(--ease-out) var(--d) both; }
  .hx-steps i svg { animation: hx-mark 0.35s var(--ease-out) var(--d) both; }
  .hx-steps span, .hx-steps em { animation: hx-fade 0.3s var(--ease-out) var(--d) both; }
  .hx-steps li:nth-child(3) i::before { animation: hx-spin 0.6s linear 4.9s forwards; }
  .hx-slack { animation: m-left 0.5s var(--ease-out) 2.8s both; }
  .hx-cursor { animation: hx-cursor 1.4s var(--ease-in-out) 3.4s both; }
  .hx-slack .sk-yes { animation: sk-press 0.16s var(--ease-out) 4.18s both; }
  .hx-slack .sk-btns { animation: m-out 0.2s var(--ease-out) 4.35s both; }
  .hx-slack .sk-done { animation: m-in 0.3s var(--ease-out) 4.4s both; }
  .hx-live { animation: m-pop 0.35s var(--ease-out) 6.3s both; }
}

/* ---- Search agent: the lens reads down the report (0.6s to 4.6s); the two searches with no conversions get
   their Exclude at 2.1s and 3.3s, and the header's total counts to $5,980, then $11,440 ---- */
.st-x { background-color: #fffaf0; }
.motion .st-loupe { animation: st-read 4s cubic-bezier(0.65, 0, 0.35, 1) 0.6s both; }
.motion .st-x { animation: st-mark 0.5s var(--ease-out) 2.1s both; }
.motion .st-x .pill { animation: m-pop 0.35s var(--ease-out) 2.1s both; }
.motion .st-x + .st-x, .motion .st-x + .st-x .pill { animation-delay: 3.3s; }

/* ---- SEO agent: the search is typed (0.3s), the paid ad arrives (1.3s), then the free result (1.7s), which is #1
   (2.3s); the paid ad steps back (2.8s) and the pause test is proposed (3.1s) ---- */
.serp-qt { display: inline-block; }
.serp-r:first-of-type { opacity: 0.5; }
@keyframes seo-type { from { clip-path: inset(0 100% 0 0); } }
@keyframes seo-ad { 0% { opacity: 0; translate: 0 8px; } 20% { opacity: 1; translate: 0 0; } 75% { opacity: 1; } }
.motion .serp-qt { animation: seo-type 0.9s steps(18, end) 0.3s both; }
.motion .serp-r:first-of-type { animation: seo-ad 2s var(--ease-out) 1.3s both; }
.motion .serp-free { animation: m-in 0.4s var(--ease-out) 1.7s both; }
.motion .serp-1 { animation: m-pop 0.35s var(--ease-out) 2.3s both; }
.motion .bt-seo .bt-tag { animation: m-in 0.4s var(--ease-out) 3.1s both; }

/* ---- Budget agent: "Limited by budget" (0.3s), $1,200 struck out (0.9s), the arrow (1.2s), the new budget counts
   to $1,500 (1.3s) while its share of the day's total grows toward the cap (1.4s) ---- */
.bu-big s { position: relative; text-decoration: none; }
.bu-big s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; border-radius: 1px; background: currentColor; transform-origin: 0 50%; }
.bu-add { transform-origin: 0 50%; }
.motion .bu-h .pill { animation: m-pop 0.35s var(--ease-out) 0.3s both; }
.motion .bu-big s::after { animation: m-grow 0.35s var(--ease-out) 0.9s both; }
.motion .bu-arrow { animation: m-left 0.3s var(--ease-out) 1.2s both; }
.motion .bu-big b { animation: m-in 0.3s var(--ease-out) 1.3s both; }
.motion .bu-add { animation: m-grow 0.6s var(--ease-out) 1.4s both; }

/* ---- Pages agent: the test arrives (0.2s), both lead rates grow and count (0.5s), the new page's turns green
   (1.5s), and the verdict (1.8s) ---- */
@keyframes abx-green { from { background-color: #b9b5ad; } }
@keyframes abx-ink { from { color: var(--t1); } }
.motion .abx-res { animation: m-in 0.4s var(--ease-out) 0.2s both; }
.motion .abx-bar b { animation: m-grow 0.9s var(--ease-out) 0.5s both; }
.motion .abx-win .abx-bar b { animation: m-grow 0.9s var(--ease-out) 0.5s both, abx-green 0.4s var(--ease-out) 1.5s both; }
.motion .abx-win em { animation: abx-ink 0.4s var(--ease-out) 1.5s both; }
.motion .abx-foot .pill { animation: m-pop 0.35s var(--ease-out) 1.8s both; }

/* ---- Ad copy agent: the ad (0.2s), then the new headline from the site is highlighted left to right (0.9s), and
   where it came from (1.8s) ---- */
.ad-h { isolation: isolate; }
.ad-h mark { position: relative; background: none; }
.ad-h mark::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 3px; background: #fff0b3; transform-origin: 0 50%; }
.motion .bt-adcopy .bt-card { animation: m-in 0.45s var(--ease-out) 0.2s both; }
.motion .ad-h mark::before { animation: m-grow 0.6s var(--ease-out) 0.9s both; }
.motion .bt-adcopy .bt-tag { animation: m-in 0.4s var(--ease-out) 1.8s both; }

/* Every picture below the hero waits on its first frame until it plays */
.motion [data-play]:not(.play) *, .motion [data-play]:not(.play) *::before, .motion [data-play]:not(.play) *::after { animation-play-state: paused !important; }

/* Lumenvault is a fictional company: the hero says so in the account pill, not in a caption */
.hx-org-x { margin-left: 4px; padding: 2px 6px; border-radius: 5px; background: var(--chip); color: var(--t3); font-size: 11px; font-weight: 500; line-height: 1.2; }
.home .hx { margin-bottom: 0; }

/* Pages agent: the test between the page you have and the page the agent wrote for the ad */
.abx-res { width: 100%; max-width: 360px; padding: 16px 18px 12px; border-radius: 12px; background: #fff; color: var(--t1); font: 400 12.5px/1.3 var(--product); box-shadow: 0 1px 2px rgb(41 37 30 / 0.05), 0 12px 28px -16px rgb(41 37 30 / 0.3); }
.abx-res p { margin: 0; }
.abx-k { margin-bottom: 2px !important; color: var(--t3); font-size: 12px; }
.abx-row { display: grid; grid-template-columns: 156px minmax(0, 1fr) 38px; align-items: center; gap: 12px; padding: 9px 0; color: var(--t2); }
.abx-row span { display: grid; gap: 2px; min-width: 0; }
.abx-row small { overflow: hidden; color: var(--t3); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.abx-bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--chip); }
.abx-bar b { display: block; height: 100%; border-radius: inherit; background: #b9b5ad; transform-origin: 0 50%; }
.abx-bar .w31 { width: 62%; }
.abx-bar .w44 { width: 88%; }
.abx-win .abx-bar b { background: #17833a; }
.abx-row em { justify-self: end; color: var(--t1); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.abx-win span { color: var(--t1); font-weight: 500; }
.abx-win em { color: #17833a; }
.abx-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px !important; padding-top: 8px; border-top: 1px solid var(--ln2); color: var(--t3); font-size: 11.5px; }

/* Homepage copy/graphic polish: keep the established frame, type and sky wash. */
.home-polish .home-example-note { margin: 16px 0 0; color: #64615b; font-size: 12px; line-height: 1.6; text-align: center; }
.home-polish .st-r { grid-template-columns: minmax(0, 1fr) 92px 100px; height: 58px; }
.home-polish .st-th { height: 32px; }
.home-polish .st-r > span:first-child { min-width: 0; overflow: visible; white-space: normal; text-overflow: clip; }
.home-polish .st-r small { display: block; margin-top: 3px; color: #706b63; font-size: 11px; font-weight: 400; }
.home-polish .st-rows { --cy: 29px; --cc: 142px; }
.home-polish .bu-big { align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.home-polish .bu-big small { display: block; margin-bottom: 7px; color: #706b63; font: 400 11px/1.4 var(--product); letter-spacing: 0; }
.home-polish .bu-current { color: #706b63; font-size: 24px; line-height: 1.2; }
.home-polish .bu-proposed { color: var(--t1); }
.home-polish .bu-big .bu-unit { margin-bottom: 4px; }
.home-polish .bu-arrow { padding-bottom: 4px; }
.home-polish .ad-h mark::before { background: #dceefb; }
.home-polish .page-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.home-polish .page-thumb { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 10px; border: 1px solid #e3e2dd; border-radius: 8px; background: #fafaf9; }
.home-polish .page-thumb-new { border-color: #bfdcec; background: #f3faff; }
.home-polish .page-thumb-label { color: #68665f; font-size: 10px; }
.home-polish .page-thumb-brand { padding-block: 3px; color: #56534e; font-size: 9px; }
.home-polish .page-thumb b { color: #29251e; font: 500 14px/1.15 var(--heading, 'Instrument Sans'); letter-spacing: -.02em; }
.home-polish .page-thumb i { width: 90%; height: 3px; border-radius: 2px; background: #dbdcd8; }
.home-polish .page-thumb i + i { width: 65%; }
.home-polish .page-thumb-cta { margin-top: 2px; padding: 4px 6px; border-radius: 3px; background: #29251e; color: #fff; font-size: 8px; }
.home-polish .abx-foot { flex-wrap: wrap; }
@media (max-width: 600px) {
  .home-polish .st-r { grid-template-columns: minmax(0, 1fr) 64px 66px; gap: 6px; min-height: 64px; height: auto; padding-block: 9px; }
  .home-polish .st-r > span { display: block; }
  .home-polish .st-th { min-height: 32px; }
  .home-polish .st-r > span:first-child { font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
  .home-polish .st-r > span:nth-child(2) { font-size: 12px; }
  .home-polish .st-r .pill { padding-inline: 6px; font-size: 11px; }
  .home-polish .st-h { flex-wrap: wrap; }
  .home-polish .bu-h { flex-wrap: wrap; }
  .home-polish .bu-big { gap: 9px; }
  .home-polish .bu-big b { font-size: 37px; }
  .home-polish .bu-legend { gap: 10px; font-size: 11px; }
  .home-polish .home-example-note { padding-inline: 8px; }
}
.home-polish .abx-row { grid-template-columns: minmax(0, 1fr) minmax(32px, .45fr) 36px; gap: 8px; }
@media (min-width: 1101px) { .home-polish .bt-copy { min-height: 142px; } }
@media (min-width: 761px) and (max-width: 1100px) {
  .home-polish .bt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-polish .bt { grid-template-columns: minmax(0, 1fr); }
  .home-polish .bt-wide { grid-column: auto; }
}
@media (max-width: 360px) {
  .home-polish .bu-big { flex-wrap: wrap; }
  .home-polish .bu-big .bu-unit { flex-basis: 100%; text-align: right; }
}

/* ---- The hero picture on phones: a layered product shot rather than a full-size screen. The Inbox card in denser
   type with all three numbers, running off the right edge like a bigger app; the Slack approval floats over the
   panel's foot and the cursor taps Approve, on the same clock as on desktop. ---- */
@media (max-width: 600px) {
  .home .hx { margin-top: 32px; padding-bottom: 128px; }
  .home .hx-stage { height: 488px; border-radius: 16px; }
  .home .hx-work { left: 12px; right: -44px; top: 12px; width: auto; height: 560px; border-radius: 14px; }
  .home .hx-in { width: auto; padding: 14px 58px 14px 14px; }
  .home .hx-head { gap: 10px; }
  .home .hx-title { font-size: 19px; }
  .home .hx-tabs span { height: 22px; padding: 0 9px; font-size: 11px; }
  .home .hx-move { margin-top: 12px; padding: 12px 12px 10px; border-radius: 12px; }
  .home .hx-by .ag-chip { height: 21px; gap: 4px; padding: 0 8px 0 6px; font-size: 11px; }
  .home .hx-by .ag-chip svg { width: 11px; height: 11px; }
  .home .hx-live { font-size: 11px; }
  .home .hx-t { margin-top: 9px !important; font-size: 15px; line-height: 1.3; }
  .home .hx-why-h { margin-top: 7px !important; font-size: 10.5px; }
  .home .hx-kpis { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.9fr); margin-top: 6px; border-radius: 10px; }
  .home .hx-kpis p, .home .hx-kpis p:first-child, .home .hx-kpis p:nth-child(2) { display: block; padding: 7px 9px 6px; }
  .home .hx-kpis p + p, .home .hx-kpis p:last-child { border-left: 1px solid var(--ln2); }
  .home .hx-kpis span { font-size: 10px; }
  .home .hx-kpis b { margin-top: 1px; font-size: 19px; }
  .home .hx-diff { margin-top: 8px; border-radius: 10px; }
  .home .hx-diff-h { padding: 6px 10px; font-size: 10.5px; }
  .home .hx-diff-h img { width: 12px; height: auto; }
  .home .hx-d { grid-template-columns: 22px minmax(0, 1fr) auto; height: 26px; padding-right: 10px; font-size: 11.5px; }
  .home .hx-d span { padding-left: 8px; }
  .home .hx-steps { gap: 5px; margin-top: 9px; padding-top: 9px; }
  .home .hx-steps li { grid-template-columns: 14px minmax(0, 1fr) auto; gap: 7px; font-size: 11px; }
  .home .hx-steps i { width: 14px; height: 14px; border-radius: 4px; }
  .home .hx-steps i svg { width: 9px; height: 9px; }
  .home .hx-steps span img { width: 11px; height: 11px; }
  .home .hx-slack { display: block; left: auto; right: 10px; top: 456px; bottom: auto; width: 226px; padding: 9px 11px 11px; border-radius: 11px; font-size: 12px; }
  .home .sk-ch { padding-bottom: 7px; font-size: 10.5px; }
  .home .sk-ch img { width: 12px; height: 12px; }
  .home .sk-msg { grid-template-columns: 24px minmax(0, 1fr); gap: 8px; padding-top: 8px; }
  .home .sk-av { width: 24px; height: 24px; border-radius: 6px; }
  .home .sk-who { gap: 5px; font-size: 11.5px; }
  .home .sk-app { font-size: 8.5px; }
  .home .sk-t { font-size: 10px; }
  .home .sk-txt { font-size: 11.5px; line-height: 1.35; }
  .home .sk-btn { height: 23px; margin-top: 6px !important; padding: 0 10px; font-size: 11px; }
  .home .sk-done { height: 23px; margin-top: 6px !important; font-size: 11px; }
  .home .sk-done svg { width: 13px; height: 13px; }
  .home .hx-cursor { left: 66px; bottom: 6px; }
  /* Spanish runs longer (the move's title takes two lines): a little more panel above the Slack card */
  html[lang="es"] .home .hx { padding-bottom: 148px; }
  html[lang="es"] .home .hx-stage { height: 512px; }
  html[lang="es"] .home .hx-slack { top: 482px; }
}
/* The narrowest phones: the header's logo, language switch and button fit on one row */
@media (max-width: 400px) {
  .hdr .brand img { width: auto; height: 20px; }
  .hdr .btn.sm { padding: 0 11px; font-size: 13px; }
  .hdr-lang { gap: 4px; font-size: 13px; }
}

/* The hero's change is a win (a page test's winner): the numbers are where the account goes, each with where it was,
   and the final URL's old value leaves the diff struck through. .hx-up keeps /for/cognition's red zero as it is. */
.hx-up p:first-child b { color: #17833a; }
.hx-up p:last-child b { color: var(--t1); }
.hx-delta { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: #e7f5ec; color: #17833a; font-size: 11.5px; font-style: normal; font-weight: 600; line-height: 1.4; vertical-align: 1px; }
.hx-kpis small { display: block; margin-top: 3px; color: var(--t3); font-size: 12px; font-variant-numeric: tabular-nums; }
.hx-d-old { background: #fbf4f3; }
.hx-d-old i { background: #f6e3e0; color: #b42318; }
.hx-d-old span { color: var(--t3); text-decoration: line-through; text-decoration-color: rgb(180 35 24 / 0.45); }
.hx-d.hx-d-old + .hx-d { border-top-color: #ece4e1; }
@media (max-width: 600px) {
  .home .hx-kpis.hx-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home .hx-kpis.hx-up p { display: flex; flex-direction: column; justify-content: space-between; }
  .home .hx-kpis small, .home .hx-wide { display: none; }
  .home .hx-delta { margin-left: 3px; padding: 0 4px; font-size: 9px; }
  .home .hx-d em { display: inline; font-size: 9.5px; }
  .home .hx-d.hx-more em { display: none; }
}
@media (max-width: 380px) { .home .hx-d em { display: none; } }

/* ---- Proportions pass ---- */
/* Tablets: the desktop Inbox without its sidebar, running off the right edge, the Slack card hanging off the panel's
   foot as on phones, so nothing in the card is cut (the result, +42%, included). */
@media (min-width: 601px) and (max-width: 1180px) {
  .home .hx { padding-bottom: 100px; }
  .home .hx-side { display: none; }
  .home .hx-work { left: 20px; right: -48px; width: auto; }
  .home .hx-in { width: auto; padding: 26px 76px 26px 28px; }
  .home .hx-steps em { display: none; }
  .home .hx-slack { left: auto; right: 20px; top: 560px; }
}
/* The search result's "#1 free" badge keeps clear of the address beside it */
.serp-free { padding-right: 96px; }
/* Phones: the Inbox picture shows its buttons, the SEO table fits its columns, the ad tag fits its row */
@media (max-width: 600px) {
  .pg-shot.pg-shot-inbox { height: 520px; }
  .se-table th, .se-table td { padding-right: 6px; font-size: 12px; }
  .se-table th:last-child, .se-table td:last-child { padding-right: 0; }
  .bt-tag { gap: 6px; padding-right: 10px; font-size: 12px; }
}

/* The hero's lead count is the result: it pops once counted (the last number, cost per lead, stays still) */
.hx-up p:first-child b { width: max-content; transform-origin: 0 70%; }
@media (prefers-reduced-motion: no-preference) {
  .hx-up p:last-child b { animation: m-in 0.3s var(--ease-out) 0.5s both; }
  .hx-up p:first-child b { animation: m-in 0.3s var(--ease-out) 0.5s both, hx-zero 0.45s var(--ease-out) 1.5s both; }
  .hx-delta { animation: m-pop 0.35s var(--ease-out) 1.6s both; }
}
@media (max-width: 380px) {
  html[lang="en"] .home .hx { padding-bottom: 136px; }
  html[lang="en"] .home .hx-stage { height: 500px; }
  html[lang="en"] .home .hx-slack { top: 470px; }
}
@media (max-width: 600px) {
  .bt-tag { gap: 5px; padding: 4px 9px 4px 4px; font-size: 11.5px; }
  .bt-tag .pill { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 380px) {
  .se-table th, .se-table td { padding-right: 3px; font-size: 11.5px; }
}
