/* =====================================================================
   Scenes added in 2.0.4 (see inc/scenes.php) and the small motion pieces
   that go with them: looping, the button arrow, the sticky plan header,
   the moving trades strip and the cards that lift in turn.
   Every scene rests on its finished frame; movement is added by script.
   ===================================================================== */

/* ---- Looping: moving parts fade out before a scene starts again ---- */
.xp.is-fading .xp-s, .xp.is-fading .xp-row, .xp.is-fading .rg, .xp.is-fading .bd-view { filter: opacity(0); transition: filter .35s ease; }
.rg, .bd-view { transition: filter .35s ease; }

/* ---- Shared card for the scenes that are not a phone ---- */
.xp.sc { display: block; justify-items: stretch; gap: 0; width: min(100%, 31rem); background: #fff; border-radius: var(--radius-lg); padding: clamp(1.1rem, 2vw, 1.6rem); box-shadow: var(--shadow-lg); text-align: left; color: var(--c-body); font-size: .92rem; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 1px solid var(--c-border); }
.sc-top strong { font-family: var(--font-head); font-weight: 400; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.01em; color: var(--c-ink); }
.sc-top span { flex: none; font-size: .76rem; font-weight: 700; color: var(--c-primary-dark); background: var(--tint-sky); padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.sc-bar { display: flex; align-items: center; gap: .45rem; background: var(--c-paper); border-radius: 999px; padding: .55rem .85rem; margin-bottom: .9rem; color: var(--c-ink); font-weight: 600; }
.sc-bar svg { flex: none; color: var(--c-primary); }
p.sc-foot { margin: .9rem 0 0; font-size: .86rem; color: var(--c-muted); }
.sc-foot b { color: var(--c-ink); font-variant-numeric: tabular-nums; }
.sc-label { margin: 1rem 0 .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--c-muted); }
.pg-scene { background: #fff; }
.pg-scene .fx-copy h2 { margin-bottom: 1rem; }

/* ---- Audit scan ---- */
.xp.sc.sc-scan { width: auto; max-width: 34rem; margin-inline: auto; padding: clamp(1.1rem, 2.5vw, 1.75rem); font-size: 1rem; }
.sc-rows { position: relative; }
.sc-row { display: flex; gap: .9rem; align-items: flex-start; padding: .95rem 0; border-bottom: 1px solid var(--c-border); }
.sc-row > div { flex: 1; min-width: 0; }
.sc-row strong { display: block; color: var(--c-ink); }
.sc-row > div > span { color: var(--c-muted); font-size: .95rem; }
.sc-chip { flex: none; align-self: center; font-style: normal; font-size: .72rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; background: var(--tint-mint); color: var(--c-ok); }
.sc-beam { position: absolute; z-index: 1; inset: 0 -.6rem; opacity: 0; pointer-events: none; }
.sc-beam::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4.6rem; border-radius: 14px; background: linear-gradient(180deg, rgba(106, 108, 240, 0), rgba(106, 108, 240, .16)); border-bottom: 2px solid var(--c-peri); }
.xp.is-playing .sc-beam { animation: sc-beam 3s cubic-bezier(.45, 0, .55, 1) .25s both; }
@keyframes sc-beam { 0% { opacity: 0; transform: none; } 8%, 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(100% - 4.6rem)); } }
.sc-scan .hm-doc-fix li::after { content: none; }
.sc-line.xp-fill { display: inline-block; vertical-align: middle; width: 70%; height: 9px; border-radius: 6px; background: rgba(29, 23, 80, .14); opacity: 1; }
.sc-scan li:nth-child(2) .sc-line { width: 55%; }
.sc-scan li:nth-child(3) .sc-line { width: 62%; }

/* ---- Map position by area ---- */
.rg { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.rg-cell { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; background: var(--c-surface-2); color: var(--c-body); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.rg-cell.is-mid { background: var(--tint-sun); color: var(--c-ink); }
.rg-cell.is-top { background: var(--tint-mint); color: var(--c-ok); }
.rg-cell.is-you { box-shadow: inset 0 0 0 2px var(--c-ink); }
.rg-cell::before { content: attr(data-old); position: absolute; inset: 0; display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-body); opacity: 0; }
.rg-cell.was-mid::before { background: var(--tint-sun); color: var(--c-ink); }
.xp-armed .rg-cell::before { opacity: 1; }
.xp.is-playing .rg-cell::before { animation: rg-clear .5s var(--ease) both; animation-delay: calc(var(--d) * 1s); }
@keyframes rg-clear { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.6); } }
.rg-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; font-size: .8rem; font-weight: 600; color: var(--c-ink); }
.rg-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.rg-legend span::before { content: ""; width: .8rem; height: .8rem; border-radius: 4px; background: var(--c-surface-2); }
.rg-legend span.is-mid::before { background: var(--tint-sun); }
.rg-legend span.is-top::before { background: var(--tint-mint); }

/* ---- Ad account ---- */
.sc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.sc-tile { background: var(--c-paper); border-radius: 14px; padding: .75rem .5rem; text-align: center; }
.sc-tile b { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.sc-tile span { display: block; margin-top: .25rem; font-size: .76rem; line-height: 1.2; color: var(--c-body); }
.sc-chart { margin-top: .9rem; }
.sc-chart svg { display: block; width: 100%; height: 6rem; overflow: visible; }
.sc-area { fill: var(--tint-sky); }
.sc-path { fill: none; stroke: var(--c-primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.xp.is-playing .sc-chart svg { animation: xp-type 1.5s var(--ease) 1s both; }
.sc-axis { display: flex; justify-content: space-between; margin-top: .3rem; font-size: .7rem; color: var(--c-muted); }
.sc-camp { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr 1.6rem; align-items: center; gap: .6rem; padding: .3rem 0; font-size: .82rem; font-weight: 600; color: var(--c-ink); }
.sc-camp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-camp div { height: 10px; border-radius: 999px; background: var(--c-surface-2); overflow: hidden; }
.sc-camp .xp-fill { display: block; height: 100%; border-radius: 999px; background: var(--c-peri); opacity: 1; }
.sc-camp:nth-of-type(even) .xp-fill { background: var(--c-accent); }
.sc-camp em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Website build: layout, design, live ---- */
.xp.sc.sc-build { position: relative; background: none; box-shadow: none; padding: 0 0 2.4rem; }
.bd-browser { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.bd-bar { display: flex; align-items: center; gap: .35rem; padding: .6rem .8rem; background: var(--c-surface-2); }
.bd-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--c-on-dark-2); }
.bd-bar span { flex: 1; margin-left: .5rem; background: #fff; border-radius: 999px; padding: .2rem .7rem; font-size: .72rem; color: var(--c-muted); }
.bd-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .5rem .6rem; border-bottom: 1px solid var(--c-border); }
.bd-tab { text-align: center; font-size: .78rem; font-weight: 700; color: var(--c-muted); padding: .35rem; border-radius: 999px; }
.bd-tab--3 { background: var(--c-ink); color: #fff; }
.bd-view { position: relative; }
.bd-stage { display: grid; gap: .6rem; padding: .8rem; background: #fff; }
.bd-stage--1, .bd-stage--2 { position: absolute; inset: 0; align-content: start; opacity: 0; }
.bd-stage--1 { grid-template-rows: 1.6rem 1fr .8rem .8rem 1.9rem; }
.bd-nav { display: flex; justify-content: space-between; align-items: center; }
.bd-hero { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 8; border-radius: 14px; padding: .8rem; overflow: hidden; background: var(--c-ink) center / cover no-repeat; }
.bd-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 23, 80, 0) 30%, rgba(29, 23, 80, .82)); }
.bd-hero strong { position: relative; color: #fff; font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; line-height: 1.05; }
.bd-hero--flat { background: var(--c-primary); }
.bd-hero--flat::before { content: none; }
.bd-form { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--c-border); border-radius: 12px; padding: .5rem .7rem; font-weight: 600; font-size: .85rem; color: var(--c-ink); }
.bd-swatches { display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--c-muted); }
.bd-swatches i { width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--c-ink); }
.bd-swatches i:nth-child(2) { background: var(--c-accent); }
.bd-swatches i:nth-child(3) { background: var(--c-mint); margin-right: .3rem; }
.bd-box { display: block; border-radius: 10px; border: 1.5px dashed var(--c-border); background: repeating-linear-gradient(135deg, var(--c-surface-2) 0 8px, #fff 8px 16px); }
.bd-box--short { width: 60%; }
.bd-box--btn { width: 38%; border-radius: 999px; }
.sc-build .xp-btn { margin: 0; }
.bd-toast { position: absolute; right: -.5rem; bottom: 0; display: flex; align-items: center; gap: .55rem; background: var(--c-ink); color: var(--c-on-dark); border-radius: .9rem; padding: .6rem .8rem; box-shadow: 0 12px 24px -10px rgba(29, 23, 80, .6); font-size: .78rem; }
.bd-toast svg { flex: none; color: var(--c-accent); }
.bd-toast strong { display: block; color: #fff; font-size: .86rem; }
.xp-armed .bd-stage--1 { opacity: 1; }
.xp-armed .bd-tab--1 { background: var(--c-ink); color: #fff; }
.xp-armed .bd-tab--3 { background: none; color: var(--c-muted); }
.xp.is-playing .bd-stage--1 { animation: bd-s1 5s linear both; }
.xp.is-playing .bd-stage--2 { animation: bd-s2 5s linear both; }
.xp.is-playing .bd-tab--1 { animation: bd-t1 5s step-end both; }
.xp.is-playing .bd-tab--2 { animation: bd-t2 5s step-end both; }
.xp.is-playing .bd-tab--3 { animation: bd-t3 5s step-end both; }
@keyframes bd-s1 { 0%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes bd-s2 { 0%, 30% { opacity: 0; } 36%, 66% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes bd-t1 { 0% { background: var(--c-ink); color: #fff; } 33%, 100% { background: none; color: var(--c-muted); } }
@keyframes bd-t2 { 0% { background: none; color: var(--c-muted); } 33% { background: var(--c-ink); color: #fff; } 69%, 100% { background: none; color: var(--c-muted); } }
@keyframes bd-t3 { 0% { background: none; color: var(--c-muted); } 69%, 100% { background: var(--c-ink); color: #fff; } }

/* ---- Lock screen filling with leads ---- */
.xp-screen.lk-screen { background: linear-gradient(165deg, var(--c-ink) 10%, var(--c-primary-dark) 130%); gap: .45rem; }
.lk-clock { text-align: center; padding: .3rem 0 .6rem; }
.lk-clock b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 3rem; line-height: 1; color: #fff; }
.lk-clock span { font-size: .78rem; color: var(--c-on-dark); }
.lk-note { display: flex !important; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .95); border-radius: .9rem; padding: .5rem .6rem; }
.lk-note > div { flex: 1; min-width: 0; }
.lk-ico { flex: none; display: grid !important; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: .55rem; background: var(--tint-sky); color: var(--c-primary); }
.lk-note strong { font-size: .78rem; }
.lk-note > div > span { font-size: .68rem; color: var(--c-muted); }
.lk-note em { flex: none; align-self: flex-start; font-style: normal; font-size: .62rem; color: var(--c-muted); }
.lk-sum { margin-top: auto; text-align: center; font-size: .74rem; color: var(--c-on-dark); }
.lk-sum b { color: #fff; }

/* ---- Typing search bar on the industry hero card ---- */
.ty { display: flex; align-items: center; gap: .45rem; min-height: 2.5rem; margin-bottom: .6rem; padding: .5rem .9rem; border-radius: 999px; background: var(--c-ink); color: #fff; font-weight: 600; font-size: .93rem; white-space: nowrap; overflow: hidden; }
.ty svg { flex: none; color: var(--c-accent); }
.ty-text { overflow: hidden; }
.ty-caret { display: none; flex: none; width: 2px; height: 1.1em; margin-left: -.3rem; background: var(--c-accent); }
.ty.is-live .ty-caret { display: block; animation: ty-blink .9s step-end infinite; }
@keyframes ty-blink { 50% { opacity: 0; } }
.c-float-list li { transition: background .3s var(--ease); }
.c-float-list li.is-typed { background: var(--tint-mint); }

/* ---- The trades line as a slow moving strip ---- */
.c-trades-band.is-marquee { overflow: hidden; }
.c-trades-band.is-marquee > .container { max-width: none; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.c-marq { display: flex; width: max-content; animation: c-marq var(--marq-time, 60s) linear infinite; }
.c-marq:hover, .c-marq:focus-within { animation-play-state: paused; }
.c-marq p.c-trades { flex: none; flex-wrap: nowrap; gap: 0; white-space: nowrap; }
.c-marq p.c-trades a { display: inline-flex; align-items: center; border-bottom: 0; }
.c-marq p.c-trades a::after { content: ""; flex: none; width: .5rem; height: .5rem; margin-inline: clamp(1.1rem, 2.5vw, 2rem); border-radius: 50%; background: var(--c-accent); }
@keyframes c-marq { to { transform: translateX(-50%); } }

/* ---- Cards that lift one at a time; list items and table rows that light in turn ---- */
.is-cycling > :not(tr):not(li) { position: relative; overflow: hidden; transition: opacity .6s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.is-cycling > .is-lit:not(tr):not(li) { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.is-cycling > :not(tr):not(li)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--c-ink); opacity: .85; transform: scaleX(0); transform-origin: left center; }
.is-cycling:not(.is-held) > .is-lit:not(tr):not(li)::after { animation: jr-bar 3.4s linear both; }
.is-cycling.is-held > .is-lit:not(tr):not(li)::after { transform: none; }
.c-float-list.is-cycling > li.is-lit { background: var(--tint-mint); }
tbody.is-cycling > tr > td { transition: background .35s var(--ease), color .35s var(--ease); }
tbody.is-cycling > tr.is-lit > td { background: var(--c-paper); }
.hm-table--us-last tbody.is-cycling > tr.is-lit > td:last-child { background: var(--c-accent); color: var(--c-on-accent); }

/* ---- Buttons: the arrow leaves and a second one arrives on hover ---- */
.wp-block-button .wp-block-button__link::after, a.btn::after { content: ""; flex: none; width: 1.05em; height: 1.05em; background: currentColor; -webkit-mask: var(--i-arrow) -1.5em 50% / 1.05em no-repeat, var(--i-arrow) 0 50% / 1.05em no-repeat; mask: var(--i-arrow) -1.5em 50% / 1.05em no-repeat, var(--i-arrow) 0 50% / 1.05em no-repeat; transition: -webkit-mask-position .35s var(--ease), mask-position .35s var(--ease); }
.wp-block-button .wp-block-button__link:hover::after, a.btn:hover::after { -webkit-mask-position: 0 50%, 1.5em 50%; mask-position: 0 50%, 1.5em 50%; }

/* ---- Pricing: the plan names stay in view while the table scrolls ---- */
@media (min-width: 1025px) {
	.pg-compare .wp-block-table.pg-table, .pg-compare .wp-block-table.pg-table table { overflow: visible; }
	.pg-compare .pg-table thead th { position: sticky; top: var(--stick-top, 4.5rem); z-index: 3; box-shadow: 0 1px 0 var(--c-border), 0 12px 18px -16px rgba(29, 23, 80, .55); }
	.pg-compare .pg-table thead th:first-child { border-top-left-radius: var(--radius-lg); }
	.pg-compare .pg-table thead th:last-child { border-top-right-radius: var(--radius-lg); }
	.pg-compare .pg-table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-lg); }
	.pg-compare .pg-table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-lg); }
}

/* ---- About: the example week ---- */
.pg-week .hm-board { rotate: 1deg; }

/* =====================================================================
   Tabbed scene panel: tabs on the left, the matching scene on the right.
   Without script every tab is readable and the first scene shows.
   ===================================================================== */
.tp-section { background: var(--c-paper); }
.tp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: #fff; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-md); }
.tp-main { align-self: center; min-width: 0; padding: clamp(1.5rem, 4vw, 3.5rem); }
.tp-main h2 { margin: 0 0 .9rem; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1; }
p.tp-lead { margin: 0; max-width: 36rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--c-body); }
.tp-tabs { display: grid; gap: .35rem; margin-top: clamp(1.25rem, 2.5vw, 2rem); counter-reset: tp; }
.tp-tab { position: relative; counter-increment: tp; overflow: hidden; padding: .85rem 1rem 1rem 3.8rem; border-radius: 18px; cursor: pointer; transition: background .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.tp-tab::before { content: counter(tp); position: absolute; left: .85rem; top: .8rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #fff; border: 1.5px solid var(--c-border); font-weight: 700; font-size: .95rem; color: var(--c-primary); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.tp-tab::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--c-primary); transform: scaleX(0); transform-origin: left center; }
.tp-tab:hover { background: var(--c-paper); }
.tp-tab:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.tp.is-ready .tp-tab.is-on { background: var(--tint-sky); }
.tp.is-ready .tp-tab.is-on::before { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.tp.is-ready .tp-tab.is-on::after { transform: none; }
.tp-tab.is-run::after { animation: jr-bar var(--tp-time, 6s) linear both; }
.tp-tab h3 { margin: 0; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.1; }
.tp-tab p { margin: .3rem 0 0; font-size: .98rem; line-height: 1.45; color: var(--c-body); }
.tp-side { display: grid; place-items: center; min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); background: var(--tint-sky); }
.tp-side--mint { background: var(--tint-mint); }
.tp-side--sun { background: var(--tint-sun); }
.tp-side--peach { background: var(--tint-peach); }
.tp-stage { display: grid; place-items: center; width: 100%; }
.tp-screen { grid-area: 1 / 1; display: grid; place-items: center; width: 100%; min-width: 0; }
.tp:not(.is-ready) .tp-screen:not(.is-on) { display: none; }
.tp.is-ready .tp-screen { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.tp.is-ready .tp-screen.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---- Pieces shared by the smaller scenes ---- */
.sc-ln { display: flex; align-items: center; gap: .55rem; padding: .6rem 0; border-bottom: 1px solid var(--c-surface-2); color: var(--c-ink); font-weight: 600; }
.sc-ln > svg { flex: none; color: var(--c-primary); }
.sc-ln > span { flex: 1; min-width: 0; }
.sc-src { flex: none; font-style: normal; font-size: .7rem; font-weight: 700; background: var(--c-surface-2); color: var(--c-primary-dark); padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.sc-swap { flex: none; display: inline-grid; border-radius: 999px; overflow: hidden; background: none !important; font-style: normal; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.sc-swap > * { grid-area: 1 / 1; padding: .2rem .6rem; border-radius: 999px; font-style: normal; text-align: center; }
.sc-swap i { background: var(--c-surface-2); color: var(--c-muted); opacity: 0; }
.sc-swap b { background: var(--tint-mint); color: var(--c-ok); }
.sc-swap.is-warn b { background: var(--tint-sun); color: #8A2A14; }
.sc-swap.is-bad b { background: #FBDDD6; color: #8A2A14; }
.sc-swap.is-off b { background: var(--c-surface-2); color: var(--c-muted); }
.xp-armed .sc-swap i { opacity: 1; }
.xp-armed .sc-swap b { opacity: 0; }
.xp.is-playing .sc-swap i { animation: sc-out .3s ease both; animation-delay: calc(var(--d) * 1s); }
.xp.is-playing .sc-swap b { animation: xp-pop .35s var(--ease) both; animation-delay: calc(var(--d) * 1s + .15s); }
@keyframes sc-out { from { opacity: 1; } to { opacity: 0; } }
.sc-camp--chip { grid-template-columns: minmax(0, 9.5rem) 1fr auto; padding: .5rem 0; }
.sc-live { display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50%; background: var(--c-green); animation: c-ping 2s ease-out infinite; }
@keyframes c-ping { 0% { box-shadow: 0 0 0 0 rgba(88, 201, 160, .6); } 100% { box-shadow: 0 0 0 .6rem rgba(88, 201, 160, 0); } }
.sc .mini-row { font-size: .92rem; }
.xp.is-fading .sc-swap, .xp.is-fading .sn, .xp.is-fading .wk-num, .xp.is-fading .wp-box { filter: opacity(0); transition: filter .35s ease; }

/* ---- Page outline ---- */
.ol-line { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; color: var(--c-ink); font-weight: 600; }
.ol-line em { flex: none; width: 2rem; padding: .15rem 0; border-radius: 6px; background: var(--c-peri); color: #fff; font-style: normal; font-size: .68rem; font-weight: 700; text-align: center; }
.sc-top + .ol-line em { background: var(--c-ink); }
.ol-line.is-deep { padding-left: 1.6rem; font-weight: 500; color: var(--c-body); }
.ol-line.is-deep em { background: var(--c-surface-2); color: var(--c-primary-dark); }

/* ---- Order of work ---- */
.rm { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.rm-col { display: grid; align-content: start; gap: .4rem; background: var(--c-paper); border-radius: 14px; padding: .7rem .6rem; }
.rm-col strong { font-size: .74rem; letter-spacing: .04em; color: var(--c-muted); }
.rm-col span { padding: .4rem .55rem; border-radius: 10px; background: var(--tint-mint); color: var(--c-ink); font-size: .8rem; font-weight: 600; line-height: 1.2; }
.rm-col span.is-next { background: var(--tint-sky); }
.rm-col span.is-later { background: #fff; border: 1px dashed var(--c-border); }

/* ---- Business Profile ---- */
.sc-biz { display: flex; align-items: center; gap: .7rem; padding-bottom: .8rem; margin-bottom: .4rem; border-bottom: 1px solid var(--c-border); }
.sc-biz > div { flex: 1; min-width: 0; }
.sc-biz strong { display: block; color: var(--c-ink); font-size: 1.05rem; }
.sc-biz > div > span { font-size: .82rem; color: var(--c-muted); }

/* ---- Position by distance ---- */
.wk-pos { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: var(--c-paper); border-radius: 14px; padding: .7rem .9rem; color: var(--c-ink); font-weight: 600; }
.wk-num { display: grid; }
.wk-num b { grid-area: 1 / 1; font-family: var(--font-head); font-weight: 400; font-size: 2.2rem; line-height: 1; text-align: right; opacity: 0; }
.wk-num b:last-child { opacity: 1; }
.xp-armed .wk-num b:last-child { opacity: 0; }
.xp-armed .wk-num b:first-child { opacity: 1; }
.xp.is-playing .wk-num b:nth-child(1) { animation: wk-1 5s linear both; }
.xp.is-playing .wk-num b:nth-child(2) { animation: wk-2 5s linear both; }
.xp.is-playing .wk-num b:nth-child(3) { animation: wk-3 5s linear both; }
.xp.is-playing .wk-num b:nth-child(4) { animation: wk-4 5s linear both; }
@keyframes wk-1 { 0%, 22% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes wk-2 { 0%, 22% { opacity: 0; } 26%, 47% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes wk-3 { 0%, 47% { opacity: 0; } 51%, 72% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes wk-4 { 0%, 72% { opacity: 0; } 76%, 100% { opacity: 1; } }
.wk-track { position: relative; height: 6px; margin: 1.4rem .6rem .6rem; border-radius: 999px; background: var(--c-surface-2); }
.wk-dot { position: absolute; inset: 0; transform: translateX(100%); }
.wk-dot::after { content: ""; position: absolute; top: 50%; left: 0; width: 1.1rem; height: 1.1rem; margin: -.55rem 0 0 -.55rem; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(255, 106, 85, .3); }
.xp-armed .wk-dot { transform: none; }
.xp.is-playing .wk-dot { animation: wk-move 5s linear both; }
@keyframes wk-move { from { transform: none; } to { transform: translateX(100%); } }
.wk-stops { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; color: var(--c-muted); }

/* ---- The ad ---- */
.sc .xp-ad { margin-bottom: .6rem; }
.sc .xp-ad strong, .sc .xp-ad > span { display: block; }
.sc .xp-ad p { margin: .2rem 0 0; font-size: .84rem; color: var(--c-muted); }

/* ---- Before and after ---- */
.xp.sc.sc-wipe { padding: .7rem; }
.wp-box { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.wp-before, .wp-after { position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; }
.wp-before { filter: grayscale(.85) brightness(.72) contrast(.9); }
.wp-after { clip-path: inset(0 0 0 50%); }
.wp-bar { position: absolute; inset: 0; transform: translateX(50%); pointer-events: none; }
.wp-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1.5px; background: #fff; }
.wp-bar::after { content: ""; position: absolute; top: 50%; left: 0; width: 1.6rem; height: 1.6rem; margin: -.8rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); }
.xp.is-playing .wp-after { animation: wp-clip 5.5s var(--ease) both; }
.xp.is-playing .wp-bar { animation: wp-bar 5.5s var(--ease) both; }
@keyframes wp-clip { 0% { clip-path: inset(0 0 0 92%); } 45%, 70% { clip-path: inset(0 0 0 8%); } 100% { clip-path: inset(0 0 0 50%); } }
@keyframes wp-bar { 0% { transform: translateX(92%); } 45%, 70% { transform: translateX(8%); } 100% { transform: translateX(50%); } }
.wp-tag { position: absolute; top: .6rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(29, 23, 80, .78); color: #fff; font-style: normal; font-size: .7rem; font-weight: 700; }
.wp-tag--a { left: .6rem; }
.wp-tag--b { right: .6rem; background: var(--c-accent); color: var(--c-on-accent); }
.wp-meta { display: flex; align-items: center; gap: .55rem; padding: .7rem .3rem .2rem; }
.wp-meta > div { flex: 1; }
.wp-meta strong { display: block; color: var(--c-ink); font-size: .92rem; }
.wp-meta > div > span { font-size: .74rem; color: var(--c-muted); }

/* ---- Who sees the ad ---- */
.ar-map { position: relative; aspect-ratio: 16 / 9; margin-bottom: .5rem; border-radius: 16px; overflow: hidden; background-color: var(--c-surface-2); background-image: linear-gradient(90deg, transparent 48%, #fff 48% 51%, transparent 51%), linear-gradient(0deg, transparent 58%, #fff 58% 62%, transparent 62%), linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, .7) 22% 24%, transparent 24%); }
.ar-ring { position: absolute; left: 50%; top: 48%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 2px dashed var(--c-primary); background: rgba(106, 108, 240, .14); }
.xp.is-playing .ar-ring { animation: ar-ring .9s var(--ease) .2s both; }
@keyframes ar-ring { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
.ar-pin { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--c-on-dark-2); }
.ar-pin.is-in { background: var(--c-accent-dark); }

/* ---- A year of work ---- */
.sn { display: grid; grid-template-columns: repeat(12, 1fr); gap: .3rem; height: 9rem; padding-top: .3rem; }
.sn span { display: grid; grid-template-rows: 1fr auto; gap: .3rem; height: 100%; text-align: center; }
.sn i { align-self: end; display: block; border-radius: 6px 6px 2px 2px; background: var(--c-peri); transform-origin: 50% 100%; }
.sn .is-busy i { background: var(--c-accent); }
.sn em { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--c-muted); }
.xp.is-playing .sn i { animation: sn-grow .6s var(--ease) both; animation-delay: calc(var(--d) * 1s); }
@keyframes sn-grow { from { transform: scaleY(.05); } to { transform: none; } }
.rg-legend span.is-busy::before { background: var(--c-accent); }
.rg-legend span.is-quiet::before { background: var(--c-peri); }

/* ---- The path of a lead ---- */
.ch { position: relative; display: grid; gap: .55rem; }
.ch::before { content: ""; position: absolute; left: 1.55rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--c-border); }
.ch-node { position: relative; display: flex; align-items: center; gap: .7rem; background: var(--c-paper); border-radius: 14px; padding: .55rem .7rem; }
.ch-node strong { display: block; color: var(--c-ink); }
.ch-node > div > span { font-size: .82rem; color: var(--c-muted); }
.ch-node .lk-ico, .tl-tile .lk-ico { background: #fff; }

/* ---- Page weight ---- */
.wt-fill { display: block; height: 100%; border-radius: 999px; background: var(--c-green); transform-origin: left center; }
.xp-armed .wt-fill { transform: scaleX(var(--from)); background: var(--c-accent); }
.xp.is-playing .wt-fill { animation: wt-shrink 1s var(--ease) both; animation-delay: calc(var(--d) * 1s); }
@keyframes wt-shrink { from { transform: scaleX(var(--from)); background: var(--c-accent); } to { transform: none; background: var(--c-green); } }

/* ---- Where people tap ---- */
.ht { position: relative; display: grid; gap: .6rem; background: var(--c-paper); border-radius: 16px; padding: .8rem; overflow: hidden; }
.ht .bd-form { background: #fff; }
.ht .bd-box--line { height: .8rem; }
.ht .xp-btn { margin: 0; }
.ht-spot { position: absolute; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 85, .75) 0, rgba(255, 106, 85, .32) 40%, rgba(255, 106, 85, 0) 68%); pointer-events: none; }
.ht-spot--1 { right: -.6rem; top: -1.1rem; }
.ht-spot--2 { right: -.5rem; bottom: 1.9rem; }
.ht-spot--3 { left: 8%; bottom: 3.3rem; width: 3.6rem; height: 3.6rem; opacity: .7; }

/* ---- Page plan ---- */
.sm { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sm-card { display: grid; align-content: start; gap: .3rem; background: var(--c-paper); border-radius: 14px; padding: .7rem; }
.sm-card strong { color: var(--c-ink); font-size: .9rem; }
.sm-card span { padding: .3rem .5rem; border-radius: 8px; background: #fff; color: var(--c-ink); font-size: .78rem; font-weight: 600; line-height: 1.2; }

/* ---- Switches ---- */
.tg { flex: none; position: relative; width: 2.3rem; height: 1.3rem; border-radius: 999px; background: var(--c-green); }
.tg::after { content: ""; position: absolute; top: .15rem; left: .15rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transform: translateX(1rem); }
.xp-armed .tg { background: var(--c-surface-2); }
.xp-armed .tg::after { transform: none; }
.xp.is-playing .tg { animation: tg-on .3s ease both; animation-delay: calc(var(--d) * 1s); }
.xp.is-playing .tg::after { animation: tg-knob .3s var(--ease) both; animation-delay: calc(var(--d) * 1s); }
@keyframes tg-on { from { background: var(--c-surface-2); } to { background: var(--c-green); } }
@keyframes tg-knob { from { transform: none; } to { transform: translateX(1rem); } }

/* ---- Month of posts ---- */
.cl { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.cl em { font-style: normal; text-align: center; font-size: .68rem; font-weight: 700; color: var(--c-muted); }
.cl span { aspect-ratio: 1; border-radius: 8px; background: var(--c-paper); }
.cl span.is-post { background: var(--c-peri); }
.cl span.is-post:nth-of-type(3n) { background: var(--c-accent); }

/* ---- What gets posted ---- */
.tl { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tl-tile { display: flex; align-items: center; gap: .55rem; background: var(--c-paper); border-radius: 14px; padding: .6rem .7rem; color: var(--c-ink); font-size: .88rem; font-weight: 600; line-height: 1.2; }

/* ---- Under a post ---- */
.th { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .4rem; padding: .8rem; border-radius: 16px; background: var(--c-paper); }
.th .xp-bubble { font-size: .86rem; }

/* ---- One clip ---- */
.tm-clip { position: relative; height: 3rem; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(90deg, var(--c-surface-2) 0 10px, var(--c-paper) 10px 12px); }
.tm-cut { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: var(--c-accent); }
.tm-line { height: 4px; margin: 1.3rem .5rem .5rem; border-radius: 999px; background: var(--c-surface-2); overflow: hidden; }
.tm-line .xp-fill { display: block; width: 100%; height: 100%; background: var(--c-primary); opacity: 1; }
.xp.is-playing .tm-line .xp-fill { animation-duration: 3s; animation-timing-function: linear; }
.tm-steps { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: .76rem; font-weight: 700; color: var(--c-ink); }
.tm-steps span { display: grid; justify-items: center; gap: .3rem; }
.tm-steps i { width: .8rem; height: .8rem; border-radius: 50%; background: var(--c-primary); }

/* ---- Clips ---- */
.cp { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cp-tile { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--c-ink) center / cover no-repeat; }
.cp-tile::before { content: ""; position: absolute; inset: 0; background: rgba(29, 23, 80, .28); }
.cp-tile .xp-play { position: relative; width: 2.2rem; height: 2.2rem; }

/* ---- What customers check ---- */
.tr-count { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .3rem; }
.tr-count b { font-family: var(--font-head); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.tr-count span { color: var(--c-body); font-weight: 600; }

/* ---- Monthly review ---- */
.ag-head { display: flex; align-items: center; gap: .7rem; padding-bottom: .8rem; margin-bottom: .5rem; border-bottom: 1px solid var(--c-border); }
.ag-head strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.45rem; line-height: 1.1; color: var(--c-ink); }
.ag-head > div > span { font-size: .8rem; color: var(--c-muted); }
.ag-row { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--c-surface-2); color: var(--c-ink); font-weight: 600; }
.ag-row b { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--c-ink); color: #fff; font-size: .78rem; }

/* =====================================================================
   Small loops
   ===================================================================== */
@keyframes c-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes c-bob-s { 0%, 100% { translate: 0 0; } 50% { translate: 0 2px; } }
@keyframes c-pulse { 0% { box-shadow: 0 0 0 0 rgba(29, 23, 80, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(29, 23, 80, 0); } }
@keyframes c-pulse-accent { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 85, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 106, 85, 0); } }
@keyframes c-underline { from { background-size: 0 .06em; } to { background-size: 100% .06em; } }

/* The underline that draws itself under the homepage headline */
.hm-h1 em { font-style: normal; white-space: nowrap; background: linear-gradient(var(--c-accent), var(--c-accent)) no-repeat 0 95% / 100% .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: c-underline 1.1s var(--ease) .5s both; }
/* The menu arrow nods */
.nav-menu .caret { animation: c-bob-s 3s ease-in-out infinite; }
/* The button in the coral band pulses */
.hm-band .wp-block-button__link { animation: c-pulse 2.8s ease-out infinite; }
/* The new job on the example week pulses */
.pg-week .hm-job--new { animation-name: hm-fill, c-pulse-accent; animation-duration: .45s, 2.4s; animation-timing-function: var(--ease), ease-out; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; animation-delay: calc(var(--i) * 55ms + 200ms), 1.6s; }
/* A small envelope bobs on the corner of the audit form */
.hm-audit-form { position: relative; }
.hm-audit-form::before, .hm-audit-form::after { content: ""; position: absolute; right: -1.1rem; top: -1.5rem; width: 4rem; height: 4rem; border-radius: 50%; animation: c-bob 4s ease-in-out infinite; pointer-events: none; }
.hm-audit-form::before { background: var(--c-accent); box-shadow: var(--shadow-md); }
.hm-audit-form::after { background: var(--c-on-accent); -webkit-mask: var(--i-mail) center / 44% no-repeat; mask: var(--i-mail) center / 44% no-repeat; }

/* About: a card of three facts floats on the photo collage */
.pg-collage { position: relative; }
.pg-collage > .c-facts, .c-facts { position: absolute; z-index: 2; left: -5%; bottom: -8%; display: flex; gap: 1.2rem; overflow: visible; background: #fff; border-radius: 20px; padding: 1rem 1.3rem; box-shadow: var(--shadow-lg); animation: c-bob 5s ease-in-out infinite; }
.c-facts b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--c-ink); }
.c-facts span { font-size: .8rem; font-weight: 600; color: var(--c-body); }

/* Industries: five trade icons bob under the headline */
.c-bobs { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.c-bobs span { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 18px; background: #fff; color: var(--c-primary); box-shadow: var(--shadow-md); animation: c-bob 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); }
.c-bobs span:nth-child(3n+2) { background: var(--c-ink); color: var(--c-accent); }
.c-bobs span:nth-child(3n) { background: var(--c-mint); color: var(--c-ink); }

@media (max-width: 860px) {
	.tp { grid-template-columns: 1fr; border-radius: 24px; }
	.tp-side { order: -1; padding: 1.25rem .9rem; }
	.tp.is-ready .tp-tab:not(.is-on) p { display: none; }
	.tp-tab { padding: .8rem .9rem .9rem 3.5rem; }
}
@media (max-width: 760px) {
	.rg { gap: .3rem; }
	.rg-cell { font-size: .9rem; border-radius: 9px; }
	.sc-camp { grid-template-columns: minmax(0, 7.5rem) 1fr 1.4rem; }
	.sc-camp span { white-space: normal; line-height: 1.2; }
	.sc-chip { display: none; }
	.bd-toast { right: 0; }
	.pg-week .hm-board { rotate: 0deg; }
	.sc-camp--chip { grid-template-columns: minmax(0, 7rem) 1fr auto; }
	.rm { grid-template-columns: 1fr; }
	.c-facts { left: 3%; bottom: -10%; gap: .9rem; padding: .8rem 1rem; }
	.c-facts b { font-size: 1.8rem; }
	.hm-audit-form::before, .hm-audit-form::after { right: .6rem; top: -2rem; width: 3.4rem; height: 3.4rem; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-button .wp-block-button__link::after, a.btn::after { transition: none; }
	.c-marq, .ty-caret, .c-facts, .c-bobs span, .hm-h1 em, .nav-menu .caret, .hm-band .wp-block-button__link, .hm-audit-form::before, .hm-audit-form::after, .sc-live, .pg-week .hm-job--new { animation: none; }
	.tp.is-ready .tp-screen { transition: none; }
}

/* =====================================================================
   Longer pages: each extra section takes the form its content has.
   Steps are a numbered line. Checklists are a job sheet. Plans are one
   strip of three. Promises are statements. Glossaries and gaps are rows.
   ===================================================================== */

/* ---- Rows with a title and one line of text ---- */
.c-terms--plain .c-term { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.c-mistakes { background: #fff; }
.c-mistakes .c-term:hover { background: var(--c-paper); }
.c-words .c-term:hover { background: #fff; }
.c-rows-cta { margin-top: 2rem; }

/* ---- Steps in order: numbers on a line ---- */
.c-start-steps, .c-win, .c-cadence { background: #fff; }
.c-track { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0 clamp(1.25rem, 2.5vw, 2.5rem); margin-top: 1.35rem; border-top: 1.5px solid var(--c-ink); counter-reset: trk; }
.c-track--3 { --cols: 3; }
.c-track-item { position: relative; counter-increment: trk; padding-top: 2.5rem; }
.c-track-item::before { content: counter(trk); position: absolute; top: -1.4rem; left: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-ink); color: #fff; font-family: var(--font-head); font-size: 1.4rem; line-height: 1; box-shadow: 0 0 0 8px #fff; }
.c-track-item:last-child::before { background: var(--c-accent); color: var(--c-on-accent); }
.c-track-item h3 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.08; }
.c-track-item > p { margin: 0; color: var(--c-body); }
.c-track-item .wp-block-list { list-style: none; display: grid; gap: .6rem; margin: .9rem 0 0; padding: 0; color: var(--c-body); }
.c-track-item .wp-block-list li { position: relative; padding-left: 1.2rem; }
.c-track-item .wp-block-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-peri); }

/* ---- Checklists as a job sheet ---- */
.c-need { background: var(--c-paper); }
.c-need .hm-head, .c-listing .hm-head { margin-bottom: 0; }
.c-sheet { background: #fff; border-radius: 8px 8px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; rotate: 1deg; }
.c-sheet--todo { rotate: -1deg; }
.c-sheet::before { content: ""; display: block; height: .8rem; background: var(--c-ink); }
p.c-sheet-title { margin: 0; padding: 1.1rem 1.5rem .95rem; border-bottom: 1.5px solid var(--c-ink); font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; color: var(--c-ink); }
.c-sheet-list { list-style: none; margin: 0; padding: 0 0 .4rem; }
.c-sheet-list li { position: relative; padding: .95rem 1.5rem .95rem 3.7rem; border-bottom: 1px solid var(--c-border); font-weight: 600; color: var(--c-ink); }
.c-sheet-list li:last-child { border-bottom: 0; }
.c-sheet-list li::before { content: ""; position: absolute; left: 1.5rem; top: .95rem; width: 1.3rem; height: 1.3rem; border-radius: 5px; border: 1.5px solid var(--c-ink); background: var(--c-ink); }
.c-sheet-list li::after { content: ""; position: absolute; left: calc(1.5rem + 4px); top: calc(.95rem + 4px); width: calc(1.3rem - 8px); height: calc(1.3rem - 8px); background: #fff; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.c-sheet--todo .c-sheet-list li::before { background: #fff; }
.c-sheet--todo .c-sheet-list li::after { content: none; }

/* ---- Three kinds of customer: columns under one rule ---- */
.c-types { background: #fff; }
.c-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--c-ink); }
.c-col { padding: clamp(1.25rem, 2.4vw, 2rem) clamp(1rem, 2.4vw, 2.25rem) .25rem; border-left: 1px solid var(--c-border); }
.c-col:first-child { padding-left: 0; border-left: 0; }
.c-col:last-child { padding-right: 0; }
.c-col h3 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.05; }
.c-col p { margin: 0; color: var(--c-body); }

/* ---- Two services that go with this one ---- */
.c-pairs { background: #fff; }
.c-pair-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 62rem; margin-inline: auto; }
.c-pair-grid::after { content: "+"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-ink); color: #fff; font-size: 1.6rem; font-weight: 500; line-height: 1; box-shadow: 0 0 0 7px #fff; pointer-events: none; }
.c-pair { position: relative; padding: clamp(1.4rem, 2.6vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-paper); transition: background .25s var(--ease); }
.c-pair:hover { background: var(--tint-sky); }
.c-pair:focus-within { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.c-pair .hm-ind-ico { margin-bottom: 1.1rem; background: var(--c-ink); color: var(--c-accent); }
.c-pair h3 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.05; }
.c-pair h3 a { color: inherit; outline: 0; }
.c-pair h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.c-pair p { margin: 0; color: var(--c-body); }
.c-pair p.c-pair-go { margin-top: 1rem; font-weight: 700; color: var(--c-primary-dark); }

/* ---- Which plan includes it: one strip of three ---- */
.c-plans { background: #fff; }
.c-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--c-ink); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.c-ladder-col { position: relative; padding: clamp(1.4rem, 2.6vw, 2.25rem); border-left: 1px solid var(--c-border); }
.c-ladder-col:first-child { border-left: 0; }
.c-ladder-col h3 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; }
p.c-ladder-price { margin: .3rem 0 1.1rem; font-size: .95rem; font-weight: 600; color: var(--c-body); font-variant-numeric: tabular-nums; }
p.c-ladder-what { position: relative; margin: 0; padding-left: 2rem; font-weight: 600; color: var(--c-ink); }
h3 + p.c-ladder-what { margin-top: .9rem; padding-left: 0; font-weight: 500; color: var(--c-body); }
p.c-ladder-price + p.c-ladder-what::before { content: ""; position: absolute; left: 0; top: .05rem; width: 22px; height: 22px; border-radius: 50%; background: var(--tint-mint); }
p.c-ladder-price + p.c-ladder-what::after { content: ""; position: absolute; left: 4px; top: calc(.05rem + 4px); width: 14px; height: 14px; background: var(--c-ok); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.c-ladder-col.is-off { background: var(--c-paper); }
.c-ladder-col.is-off h3, .c-ladder-col.is-off p.c-ladder-price, .c-ladder-col.is-off p.c-ladder-what { color: var(--c-muted); }
.c-ladder-col.is-off p.c-ladder-what::before { background: var(--c-surface-2); }
.c-ladder-col.is-off p.c-ladder-what::after { left: 5px; top: calc(.05rem + 10px); width: 12px; height: 2px; background: var(--c-muted); -webkit-mask: none; mask: none; border-radius: 2px; }
p.c-ladder-flag { position: absolute; top: 0; right: 0; margin: 0; padding: .3rem .85rem; border-radius: 0 0 0 12px; background: var(--c-accent); color: var(--c-on-accent); font-size: .78rem; font-weight: 700; }
p.c-plan-note { margin: 1.25rem 0 0; text-align: center; color: var(--c-body); }
.c-plans p.hm-plan-more { margin-top: 1rem; text-align: center; }

/* ---- What you can hold us to: four statements on ink ---- */
.c-hold { background: var(--c-paper); }
.c-pledge { display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; overflow: hidden; background: var(--c-ink); }
.c-pledge-item { padding: clamp(1.5rem, 3.2vw, 3rem); border-top: 1px solid rgba(255, 255, 255, .14); border-left: 1px solid rgba(255, 255, 255, .14); }
.c-pledge-item:nth-child(-n+2) { border-top: 0; }
.c-pledge-item:nth-child(odd) { border-left: 0; }
.c-pledge-item h3 { margin: 0 0 .6rem; color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.02; }
.c-pledge-item p { margin: 0; max-width: 30rem; color: var(--c-on-dark); font-size: 1.05rem; }

/* ---- Where the work happens: each place has its own mark ---- */
.c-places { background: #fff; }
.pg-jobs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-jobs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-places-list li:nth-child(1)::before { background-image: var(--i-map-pin); }
.c-places-list li:nth-child(2)::before { background-image: var(--i-search); }
.c-places-list li:nth-child(3)::before { background-image: var(--i-target); }
.c-places-list li:nth-child(4)::before { background-image: var(--i-shield); }
.c-places-list li:nth-child(5)::before { background-image: var(--i-megaphone); }
.c-places-list li:nth-child(6)::before { background-image: var(--i-layout); }

/* ---- Is it right for you now ---- */
.c-fit { background: #fff; }

/* ---- Other trades, four across ---- */
.hm-ind-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
	.hm-ind-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pg-jobs--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c-track { --cols: 2; gap: 2.75rem clamp(1.25rem, 2.5vw, 2.5rem); border-top: 0; }
	.c-track-item { padding-top: 2.4rem; border-top: 1.5px solid var(--c-ink); margin-top: 1.4rem; }
	.c-sheet, .c-sheet--todo { rotate: 0deg; }
}
@media (max-width: 760px) {
	.c-terms--plain .c-term { grid-template-columns: 1fr; }
	.pg-jobs--2, .pg-jobs--3 { grid-template-columns: 1fr; }
	.c-track { --cols: 1; gap: 0; margin: 0 0 0 1.4rem; border-left: 1.5px solid var(--c-ink); }
	.c-track-item { margin: 0; padding: 0 0 2rem 2.2rem; border-top: 0; }
	.c-track-item:last-child { padding-bottom: 0; }
	.c-track-item::before { top: -.2rem; left: -1.4rem; }
	.c-cols { grid-template-columns: 1fr; }
	.c-col, .c-col:first-child, .c-col:last-child { padding: 1.25rem 0; border-left: 0; border-top: 1px solid var(--c-border); }
	.c-col:first-child { border-top: 0; }
	.c-pair-grid { grid-template-columns: 1fr; }
	.c-ladder { grid-template-columns: 1fr; }
	.c-ladder-col { border-left: 0; border-top: 1px solid var(--c-border); }
	.c-ladder-col:first-child { border-top: 0; }
	.c-pledge { grid-template-columns: 1fr; border-radius: 24px; }
	.c-pledge-item, .c-pledge-item:nth-child(-n+2) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
	.c-pledge-item:first-child { border-top: 0; }
}
@media (max-width: 520px) {
	.hm-ind-grid--4 { grid-template-columns: 1fr; }
}

/* =====================================================================
   Repairs from the design audit
   ===================================================================== */

/* Pause motion: stops everything that moves by itself */
.motion-toggle { position: fixed; z-index: 85; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .95rem 0 .7rem; border: 1.5px solid var(--c-border); border-radius: 999px; background: #fff; color: var(--c-ink); font: 600 .85rem var(--font-body); box-shadow: var(--shadow-md); cursor: pointer; touch-action: manipulation; transition: border-color .2s var(--ease), background .2s var(--ease); }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: var(--c-ink); background: var(--c-paper); }
.motion-toggle-ico { position: relative; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c-ink); }
.motion-toggle-ico::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 9px; border-inline: 3px solid #fff; }
.motion-toggle[aria-pressed="true"] .motion-toggle-ico::before { width: 0; height: 0; border: 0; border-left: 8px solid #fff; border-block: 5px solid transparent; translate: 1px 0; }
html.is-still *, html.is-still *::before, html.is-still *::after { animation-play-state: paused !important; }
html.is-still .c-marq { animation-play-state: paused !important; }
@media (max-width: 760px) {
	/* On phones: only the round icon, floating bottom left. No box, no label on screen. */
	.motion-toggle, .motion-toggle:hover { bottom: calc(.75rem + env(safe-area-inset-bottom)); left: .75rem; width: 48px; min-height: 48px; padding: 0; justify-content: center; border: 0; background: none; box-shadow: none; }
	.motion-toggle-ico { width: 2.5rem; height: 2.5rem; box-shadow: 0 0 0 2px #fff, 0 8px 18px -8px rgba(29, 23, 80, .6); }
	.motion-toggle-ico::before { width: 12px; height: 13px; border-inline-width: 4px; }
	.motion-toggle[aria-pressed="true"] .motion-toggle-ico::before { border-left-width: 12px; border-block-width: 7px; }
	.motion-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Links that were under 24px tall */
.pg-crumbs a { display: inline-block; padding-block: .2rem; }
.site-footer .footer-menu a, .site-footer li > a { display: inline-flex; align-items: center; min-height: 28px; }
.site-footer .footer-bottom a { display: inline-flex; align-items: center; min-height: 28px; }
p.c-term-for a, p.hm-ind-go a, p.hm-plan-more a { display: inline-block; padding-block: .2rem; }

/* Jumping to a section leaves room for the sticky header */
section[id], [id].hm-section { scroll-margin-top: 4.75rem; }

/* Keyboard focus on form fields is clearly visible */
.audit-form input:focus-visible, .audit-form textarea:focus-visible, .audit-form select:focus-visible { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(87, 89, 227, .4); }

/* Steps and tabs act as buttons */
.jr-step, .tp-tab { touch-action: manipulation; }

/* Small print inside the illustrations: nothing under 12px */
.xp-row span, .xp-tag, .xp-url, .xp-toast span, .xp-lead span, .xp-lead em, .xp-post-head span, .xp-split, .xp-reel-foot span, .xp-reply b, .lk-note > div > span, .lk-note em, .jr-line em, .jr-top span, .jr-biz span, .jr-ad small, .jr-ad span, .jr-nums span, .jr-toast span, .jr-note, .sn em, .cl em, .ol-line em, .hm-job, .xp-screen p, .xp-btn, .xp-reply, .sc-chip, .sc-swap, .sc-src, .sc-axis, .sc-label, .mini-tag, .mini-row em, .mini-stat span, .mini-label, .rm-col strong, .wk-stops, .wp-tag, .tm-steps, p.c-ladder-flag, .xp-post-foot span, .wp-meta > div > span, .lk-sum, .bd-bar span { font-size: max(.75rem, 12px); }
/* The example week has five narrow columns on a phone: its labels stay small there so no word is cut */
@media (max-width: 760px) {
	.hm-job { font-size: .62rem; letter-spacing: -.01em; padding-inline: .2rem; }
}

/* =====================================================================
   Phone repairs (2.0.8), from checking every page at 375px and 320px
   ===================================================================== */

/* Header: fits the narrowest phones. Below 346px the bottom bar carries the button. */
@media (max-width: 420px) {
	.header-inner { gap: .5rem; }
	.site-header .brand-name { font-size: 1.5rem; }
	.site-header .header-audit { padding: .5rem .8rem; font-size: .88rem; white-space: nowrap; }
	.site-header .header-audit::after { content: none; }
}
@media (max-width: 345px) {
	.site-header .header-audit { display: none; }
}

/* Trade cards: one card per row keeps its photo shape and its own height */
@media (max-width: 420px) {
	.hm-ind .hm-ind-photo { flex: none; }
	.hm-ind .hm-ind-line, .hm-ind .hm-ind-go { flex: 0 0 auto; }
	/* A wider, shorter photo keeps five stacked cards from running long */
	.hm-ind .wp-block-image.hm-ind-photo { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
	/* The coral band's sliding text was cut at the screen edge */
	.hm-band-text { animation: none !important; translate: none; }

	/* About: the facts card sits inside the photos, clear of the screen edge */
	.pg-collage { margin-bottom: 2.25rem; }
	.pg-collage > .c-facts, .c-facts { left: .6rem; right: .6rem; bottom: -1.6rem; justify-content: space-between; gap: .6rem; }

	/* Case studies: text inside a card keeps the card's side padding */
	.cdm-blocks .pg-case > p, .pg-case > p { margin-inline: 0; padding-inline: 1.25rem; }
	.cdm-blocks .pg-case > h2, .pg-case > h2 { margin-inline: 1.25rem; }
	.pg-case ul, .pg-case .wp-block-list { margin-inline: 1.25rem; }

	/* The typing search bar never cuts its phrase */
	.ty { font-size: .86rem; padding-inline: .75rem; }
	.ty-text { text-overflow: ellipsis; }
}

/* Pricing: the comparison table scrolls sideways on small screens.
   The row names stay in place and a line says the table moves. */
p.pg-table-hint { display: none; }
@media (max-width: 1024px) {
	p.pg-table-hint { display: flex; align-items: center; gap: .4rem; margin: 0 0 .8rem; font-size: .9rem; font-weight: 600; color: var(--c-body); }
	p.pg-table-hint::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; background: var(--c-primary); -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
	.wp-block-table.pg-table { border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: #fff; }
	.wp-block-table.pg-table table { min-width: 36rem; overflow: visible; border: 0; border-radius: 0; }
	.wp-block-table.pg-table td:first-child, .wp-block-table.pg-table thead th:first-child { position: sticky; left: 0; z-index: 2; width: 9.5rem; min-width: 9.5rem; background: #fff; box-shadow: 1px 0 0 var(--c-border); }
}

/* Blog posts: the comment form and search box are sized for thumbs */
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .wp-block-search__input, .search-field { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--c-border); border-radius: 12px; background: #fff; color: var(--c-ink); font: inherit; font-size: 1rem; }
.comment-form textarea:focus-visible, .comment-form input:focus-visible, .wp-block-search__input:focus-visible, .search-field:focus-visible { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(87, 89, 227, .4); }
.comment-form label { display: block; margin-bottom: .3rem; font-weight: 600; color: var(--c-ink); }
.comment-form .submit, .comment-form input[type="submit"] { -webkit-appearance: none; appearance: none; min-height: 48px; padding: .85rem 1.6rem; border: 0; border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent); font: 700 1rem var(--font-body); cursor: pointer; touch-action: manipulation; }
.comment-form .submit:hover { background: var(--c-accent-dark); }
.comment-reply-link, .comment-edit-link, .comment-metadata a, .comment-author a, .wp-block-latest-posts__post-title, .wp-block-latest-comments a, .logged-in-as a { display: inline-block; padding-block: .3rem; }
.wp-block-search__button, .search-submit { min-height: 44px; padding-inline: 1.2rem; }


/* ---- The commercial video (2.0.9) ---- */
.c-video { margin: 0; }
.c-video-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-paper); border: 1px solid var(--c-border); box-shadow: 0 34px 60px -44px rgba(29, 23, 80, .55); }
.c-video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--c-paper); }
.c-video-frame.is-tall video { aspect-ratio: 9 / 16; }
.c-video figcaption { margin-top: .875rem; font-size: .875rem; color: var(--c-muted); text-align: center; }
.c-video-play { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; background: linear-gradient(rgba(29, 23, 80, .08), rgba(29, 23, 80, .3)); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.c-video-play[hidden] { display: none; }
/* The round button in the middle: big, coral, with a ring that pings so it reads as a video at a glance. */
.c-video-disc { position: relative; display: grid; place-items: center; width: clamp(4.5rem, 9vw, 6.25rem); aspect-ratio: 1; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 0 0 .5rem rgba(255, 255, 255, .6), 0 22px 40px -14px rgba(29, 23, 80, .6); transition: transform .2s ease, background-color .2s ease; }
.c-video-disc svg { display: block; width: 46%; height: 46%; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.c-video-disc::after { content: ""; position: absolute; inset: -.5rem; border-radius: 50%; border: 2px solid #fff; animation: c-video-ping 2.2s ease-out infinite; }
@keyframes c-video-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.c-video-play:hover .c-video-disc { background: var(--c-accent-dark); transform: scale(1.07); }
.c-video-play:focus-visible { outline: none; }
.c-video-play:focus-visible .c-video-disc { outline: 3px solid var(--c-ink); outline-offset: .75rem; }
.is-still .c-video-disc::after { animation-play-state: paused; }

/* A section of its own: the wide version, or the tall cut on phones. */
.c-watch .c-video { max-width: 62rem; margin: clamp(1.75rem, 4vw, 2.75rem) auto 0; }
.c-video--wide .c-video-frame.is-tall { display: none; }
@media (max-width: 640px) {
	.c-video--wide .c-video-frame.is-wide { display: none; }
	.c-video--wide .c-video-frame.is-tall { display: block; max-width: 20rem; margin-inline: auto; }
}

/* The tall cut beside a short summary. */
.c-short-grid { display: grid; grid-template-columns: minmax(0, 36rem) minmax(0, 19rem); justify-content: center; gap: clamp(2.5rem, 8vw, 7rem); align-items: center; }
.c-short-copy > * + * { margin-top: 1.5rem; }
.c-short-copy .hm-facts { display: grid; gap: .625rem; padding: 0; }
.c-short .c-video { justify-self: end; width: 100%; }
@media (max-width: 760px) {
	.c-short-grid { grid-template-columns: 1fr; }
	.c-short .c-video { justify-self: center; max-width: 20rem; }
}
@media (prefers-reduced-motion: reduce) {
	.c-video-disc { transition: none; }
	.c-video-disc::after { animation: none; }
	.c-video-play:hover .c-video-disc { transform: none; }
}

/* ---- Phone layer (2.1.0): on wider screens its additions stay out of the way.
   The phone styles themselves are in mobile.css. ---- */
.m-art, .m-dots { display: none; }
.m-acc-btn, .m-for-btn { all: unset; }
.m-for-btn::after { content: ": "; }
@media (max-width: 760px) {
	.m-art { display: block; }
	.m-dots { display: flex; }
	.m-for-btn::after { content: ""; }
}


/* ---- Typeface (2.2.0): Plus Jakarta Sans for headings and text ----
   The earlier headings were a light serif. These are set heavier and a little
   smaller, because a bold sans takes more room at the same size. Look A keeps
   its own fonts. */
body:not(.look-a) :is(
	h1, h2, h3, h4, .hm-h1, .pg-h1, .brand-name, .brand-text, .footer-tagline, .read-more,
	.hm-ind-name, .pg-svc-name, .hm-plan-name,
	.wp-block-details summary, .hm-q summary,
	.hm-band-text, p.c-trades, p.c-float-title, p.c-sheet-title,
	.hm-plan-price strong, p.pg-fact strong, p.pg-contact-line a, .error-404 .code,
	.hm-table th, .wp-block-table.hm-table th,
	.xp-stat b, .mini-stat b, .sc-top strong, .sc-tile b, .bd-hero strong, .lk-clock b, .wk-num b, .tr-count b,
	.ag-head strong, .c-facts b, .c-report-top strong, .c-report-nums b, .jr-nums b, .hub-core strong
) { font-weight: 800 !important; letter-spacing: -.035em !important; }
/* Whole sentences set in the heading font read better a step lighter. */
body:not(.look-a) .c-diff-copy p { font-weight: 600; letter-spacing: -.02em; }
body:not(.look-a) :is(.c-track-item, .hm-step)::before { font-weight: 700; }

body:not(.look-a) .hm-h1 { font-size: calc(clamp(2.9rem, 7.2vw, 6.6rem) * .8); line-height: 1.05; }
body:not(.look-a) .pg-h1 { font-size: calc(clamp(2.6rem, 5.6vw, 4.8rem) * .8); line-height: 1.05; }
body:not(.look-a) :is(.hm-head h2, .fx-copy h2, .fx-copy h3, .hm-audit h2, .c-diff-copy h2) { font-size: calc(clamp(2.3rem, 4.8vw, 3.9rem) * .8); line-height: 1.05; }
body:not(.look-a) .hm-band-text { font-size: calc(clamp(1.8rem, 3.4vw, 2.7rem) * .8); }
body:not(.look-a) .c-term-name { font-size: calc(clamp(1.75rem, 3vw, 2.6rem) * .8); }
body:not(.look-a) :is(.hm-pain-item h3, .hm-step h3, .hm-fit-col h3, .pg-value h3, .pg-case h3, .c-point h3, .c-track-item h3, .c-col h3, .c-pair h3, .c-ladder-col h3) { font-size: calc(clamp(1.5rem, 2.2vw, 1.85rem) * .8); line-height: 1.12; }
