/* Home page. Measured from the reference design (Tailwind 3 tokens: 1280px container, 16/24/32px gutters,
   Inter, neutral greys, accent #3b82f6) and rebuilt by hand. Every component here is our own code; the hero
   gradient is Paper Shaders (Apache-2.0) and the bento motion follows the open Magic UI patterns (MIT). */

:root {
  --fg: #0a0a0a;
  --fg-muted: #525252;
  --fg-subtle: #a3a3a3;
  --muted-fg: #737373;
  --bd: #e5e5e5;
  --bd-light: #f0f0f0;
  --bg2: #fafafa;
  --bg3: #f5f5f5;
  --accent: #3b82f6;
  --accent-10: rgba(59, 130, 246, .1);
  --green: #16a34a;
  --green-500: #22c55e;
  --green-50: #f0fdf4;
  --sh-sm: 0 1px 2px #0000000a;
  --sh-md: 0 4px 6px -1px #0000000d, 0 2px 4px -2px #0000000d;
  --sh-lg5: 0 10px 15px -3px #0000000d, 0 4px 6px -4px #0000000d;
  --sh-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --sh-xl: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
  --sh-magic: 0 0 0 1px rgba(0, 0, 0, .03), 0 2px 4px rgba(0, 0, 0, .05), 0 12px 24px rgba(0, 0, 0, .05);
  --sh-photo: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -18px rgba(16, 24, 40, .22);
}

/* shared bits */
.h-cap { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .02em; color: var(--fg-muted); }
/* the darker blue, not --accent: 12px type on white needs 4.5:1 and #3b82f6 gives 3.7 */
.h-eyebrow { display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: #2563eb; }
.h-h2 { margin: 0 0 16px; font-size: 36px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--fg); text-wrap: balance; }
.h-lede { max-width: 576px; margin: 0 0 32px; font-size: 16px; line-height: 1.6; color: var(--fg-muted); }
.h-lede.is-balance { text-wrap: balance; }
.h-ul { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bd); transition: text-decoration-color .15s; }
.h-ul:hover { text-decoration-color: var(--fg); }
.h-more { display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; color: var(--fg); transition: color .15s; }
.h-more svg { width: 16px; height: 16px; margin-left: 8px; transition: transform .15s; }
.h-more:hover { color: var(--accent); }
.h-more:hover svg { transform: translateX(4px); }
.h-center { margin-top: 40px; text-align: center; }
.h-head { max-width: 672px; margin: 0 auto 56px; text-align: center; }
.h-head .h-lede { margin: 0 auto; max-width: none; }
.h-head.is-wide { max-width: 768px; margin-bottom: 64px; }
.h-h2.is-sm { font-size: 36px !important; font-weight: 600 !important; line-height: 1.25 !important; letter-spacing: -.015em !important; }
.h-head.is-wide .h-lede { font-size: 18px; }
.h-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--green); }
.h-ping { position: relative; display: inline-flex; width: 8px; height: 8px; }
.h-ping i { position: absolute; inset: 0; border-radius: 50%; background: var(--green); }
.h-ping i:first-child { background: var(--green-500); opacity: .6; animation: h-ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.h-ping.is-emerald i { background: #10b981; }
.h-ping.is-emerald i:first-child { background: #34d399; opacity: .75; }
@keyframes h-ping { 75%, to { opacity: 0; transform: scale(2); } }

/* reveal: rise 16px and fade, as each block enters (main.js adds .is-in) */
.js [data-in] { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.js [data-in].is-in { opacity: 1; transform: none; }
.js .h-perf[data-in] { transform: translateY(28px); }

/* drifting section blobs */
.hs { position: relative; overflow: hidden; padding: 64px 0; }
.h-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.h-blobs i { position: absolute; border-radius: 50%; filter: blur(64px); will-change: transform, opacity; }
.h-blobs .b-a { animation: blob-a 16s ease-in-out infinite; }
.h-blobs .b-b { animation: blob-b 20s ease-in-out infinite; filter: blur(40px); }
.h-blobs .b-c { animation: blob-c 24s ease-in-out infinite; }
.hs > .wrap { position: relative; z-index: 1; }
@keyframes blob-a { 0%, to { opacity: .78; transform: translate(0) scale(1); } 33% { opacity: .95; transform: translate(-10%, 8%) scale(1.1); } 66% { opacity: .82; transform: translate(6%, -5%) scale(.96); } }
@keyframes blob-b { 0%, to { opacity: .74; transform: translate(0) scale(1); } 33% { opacity: .92; transform: translate(12%, -9%) scale(.94); } 66% { opacity: .78; transform: translate(-8%, 6%) scale(1.06); } }
@keyframes blob-c { 0%, to { opacity: .7; transform: translate(0) scale(1); } 33% { opacity: .88; transform: translate(-9%, -8%) scale(1.07); } 66% { opacity: .74; transform: translate(7%, 4%) scale(.95); } }

/* ---------- hero ---------- */
.h-hero { position: relative; display: flex; align-items: flex-start; overflow: hidden; margin-top: -64px; padding-top: 64px; }
.h-hero_bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%); }
.h-hero_base { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 80% 30%, #D7E2FC 0%, transparent 60%), radial-gradient(ellipse 60% 60% at 65% 75%, #DED6F8 0%, transparent 55%), linear-gradient(165deg, #FFFFFF 0%, #ECF1FA 55%, #F5F5FA 100%); }
.h-hero_blobs { position: absolute; inset: 0; overflow: hidden; }
.h-hero_blobs i { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.hb-a { top: -15%; right: -20%; height: 55%; width: 75%; background: rgba(215, 226, 252, .8); filter: blur(64px); animation: hero-blob-a 10s ease-in-out infinite; }
.hb-b { top: 35%; right: -10%; height: 45%; width: 60%; background: rgba(222, 214, 248, .7); filter: blur(64px); animation: hero-blob-b 13s ease-in-out infinite; }
.hb-c { bottom: 5%; right: 5%; height: 35%; width: 50%; background: rgba(236, 241, 250, .9); filter: blur(40px); animation: hero-blob-c 16s ease-in-out infinite; }
@keyframes hero-blob-a { 0%, to { opacity: .85; transform: translate(0) scale(1); } 33% { opacity: 1; transform: translate(-12%, 10%) scale(1.12); } 66% { opacity: .9; transform: translate(6%, -4%) scale(.96); } }
@keyframes hero-blob-b { 0%, to { opacity: .8; transform: translate(0) scale(1); } 33% { opacity: 1; transform: translate(14%, -10%) scale(.9); } 66% { opacity: .85; transform: translate(-8%, 6%) scale(1.06); } }
@keyframes hero-blob-c { 0%, to { opacity: .75; transform: translate(0) scale(1); } 33% { opacity: .95; transform: translate(-10%, -12%) scale(1.08); } 66% { opacity: .8; transform: translate(8%, 4%) scale(.94); } }
.h-hero_mesh { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.h-hero_mesh.is-on { opacity: 1; }
.h-hero_mesh canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.h-hero_in { position: relative; padding-top: 64px; padding-bottom: 24px; }
.h-hero_grid { display: grid; gap: 48px; align-items: center; }
.h-hero_copy { position: relative; z-index: 10; text-align: center; }
.h-hero_text { padding-right: clamp(2.5rem, 20vw, 5.5rem); text-align: left; }
.h-hero_h1 { margin: 0 0 24px; font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--fg); text-wrap: balance; }
.h-hero_sub { max-width: 576px; margin: 0 0 32px; padding-right: min(1.75rem, 5.5vw); font-size: 18px; line-height: 1.6; color: var(--fg-muted); }
.h-check { width: 100%; max-width: 576px; margin: 0 auto; }
.h-check_rotor { position: relative; height: 24px; margin-bottom: 12px; overflow: hidden; }
.h-check_rotor p { position: absolute; inset: 0; margin: 0; font-size: 14px; line-height: 24px; color: var(--fg-muted); text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .26s ease, transform .26s ease; }
/* the outgoing line clears before the next one arrives, so the two never sit on top of each other */
.h-check_rotor p.is-on { opacity: 1; transform: translateY(0); transition: opacity .32s ease .24s, transform .32s cubic-bezier(.16, 1, .3, 1) .24s; }
.h-check_rotor p.is-out { opacity: 0; transform: translateY(-8px); }
.h-check_form { display: flex; align-items: center; padding: 6px 6px 6px 12px; border: 1px solid var(--bd); border-radius: 999px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: var(--sh-lg); transition: box-shadow .15s; }
.h-check_form:hover { box-shadow: var(--sh-xl); }
.h-check_form:focus-within { box-shadow: 0 0 0 3px rgba(59, 130, 246, .18), var(--sh-xl); }
.h-check_icon { flex: 0 0 auto; width: 20px; height: 20px; margin-right: 8px; color: var(--fg-muted); }
.h-check_form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; color: var(--fg); outline: none; }
.h-check_form input::placeholder { color: var(--muted-fg); }
/* an empty box, said once, under the pill it belongs to */
.h-check_form.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .14), var(--sh-lg); }
.h-check_err { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; font-weight: 500; color: #b91c1c; text-align: center; }
.h-check_err[hidden] { display: none; }
.h-check_form button { display: flex; align-items: center; gap: 8px; padding: 12px; border: 0; border-radius: 999px; background: var(--fg); font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; cursor: pointer; transition: opacity .15s; }
.h-check_form button:hover { opacity: .9; }
.h-check_form button svg { width: 16px; height: 16px; }
.h-hero_tags { margin: 32px 0 0; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-fg); text-align: center; }
/* the hero picture: one client photo, same corner and shadow language as the cards below.
   Below 1024px it sits under the copy, cropped shorter so the form stays near the top. */
.h-hero_art { margin-top: 40px; }
.h-hero_shot { width: 100%; max-width: 440px; height: auto; margin: 0 auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 42%; border-radius: 20px; background: var(--bg3); box-shadow: var(--sh-photo); animation: hero-float 6s ease-in-out infinite; will-change: transform; }
@keyframes hero-float { 0%, to { transform: translateY(0) rotate(.35deg); } 50% { transform: translateY(-7px) rotate(0deg); } }

/* ---------- logos ---------- */
.h-logos { position: relative; padding: 24px 0; }
.h-logos_card { position: relative; max-width: 768px; margin: 0 auto; padding: 32px 24px; border: 1px solid var(--bd-light); border-radius: 16px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: var(--sh-sm); }
.h-logos_title { margin: 0 0 12px; font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; text-align: center; color: var(--muted-fg); }
.h-logos_rule { max-width: 384px; height: 1px; margin: 12px auto; background: var(--bd); -webkit-mask-image: linear-gradient(to right, transparent, #000, transparent); mask-image: linear-gradient(to right, transparent, #000, transparent); }
.h-logos_mask { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.h-marquee { display: flex; width: max-content; gap: var(--gap); }
.h-marquee_track { display: flex; flex-shrink: 0; align-items: center; gap: var(--gap); animation: marquee var(--duration) linear infinite; }
.h-marquee:hover .h-marquee_track { animation-play-state: paused; }
.h-marquee_track img { height: 24px; width: auto; opacity: .7; object-fit: contain; transition: opacity .15s; }
.h-marquee_track img:hover { opacity: 1; }
.h-logo-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #1c2b33; opacity: .7; }
.h-logo-meta img { opacity: 1 !important; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }

/* ---------- paid ads split ---------- */
.h-split { display: grid; gap: 48px; align-items: center; }
.h-flow { position: relative; display: flex; align-items: flex-start; gap: 8px; max-width: 448px; margin-bottom: 32px; }
.h-flow_line { position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: rgba(59, 130, 246, .5); transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.16, 1, .3, 1) .3s; }
.h-flow > div { position: relative; z-index: 1; flex: 1; text-align: center; }
.h-flow_icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 10px; border: 1px solid var(--bd); border-radius: 16px; background: #fff; box-shadow: var(--sh-md); color: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .5s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.h-flow_icon svg { width: 20px; height: 20px; }
.h-flow b { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--fg); }
.h-flow small { display: block; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .02em; color: var(--fg-muted); }
.h-flow.is-run .h-flow_line { transform: scaleX(1); }
.h-flow.is-run .h-flow_icon { opacity: 1; transform: none; }
.h-flow.is-run > div:nth-child(3) .h-flow_icon { transition-delay: .15s; }
.h-flow.is-run > div:nth-child(4) .h-flow_icon { transition-delay: .3s; }
.h-flow.is-run > div:nth-child(5) .h-flow_icon { transition-delay: .45s; }
.h-perf { position: relative; }
.h-perf_back { position: absolute; inset: 18px -10px -16px 22px; z-index: -1; border: 1px solid var(--bd-light); border-radius: 24px; background: var(--bg2); }
.h-perf_card { position: relative; padding: 24px; border: 1px solid var(--bd); border-radius: 24px; background: #fff; box-shadow: var(--sh-lg5); }
.h-perf_head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.h-perf_t { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--fg); }
.h-perf_head .h-cap { margin: 0; }
.h-perf_big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.h-perf_num { font-size: 42px; font-weight: 700; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.h-perf_unit { font-size: 14px; font-weight: 500; color: var(--fg-muted); margin-left: -4px; }
.h-perf_delta { padding: 2px 8px; border-radius: 6px; background: var(--green-50); font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--green); }
.h-perf_sub { margin: 0 0 20px; }
.h-perf_bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-bottom: 20px; border-bottom: 1px solid var(--bd-light); }
.h-perf_bars > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; height: 100%; }
.h-perf_bars i { display: block; height: 0; border-radius: 5px 5px 0 0; background: var(--accent); transition: height .9s cubic-bezier(.16, 1, .3, 1); }
.h-perf_bars i + i { background: rgba(59, 130, 246, .25); }
.h-perf.is-run .h-perf_bars i { height: var(--h); }
.h-perf_bars > div:nth-child(2) i { transition-delay: .05s; } .h-perf_bars > div:nth-child(3) i { transition-delay: .1s; } .h-perf_bars > div:nth-child(4) i { transition-delay: .15s; }
.h-perf_bars > div:nth-child(5) i { transition-delay: .2s; } .h-perf_bars > div:nth-child(6) i { transition-delay: .25s; } .h-perf_bars > div:nth-child(7) i { transition-delay: .3s; } .h-perf_bars > div:nth-child(8) i { transition-delay: .35s; }
.h-perf_rows { display: flex; flex-direction: column; gap: 12px; }
.h-perf_rows > div { display: grid; grid-template-columns: 70px 1fr 42px; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5; }
.h-perf_rows span { font-weight: 600; color: var(--fg); }
.h-perf_rows b { height: 7px; overflow: hidden; border-radius: 999px; background: var(--bg3); }
.h-perf_rows b i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--accent); transition: width 1.1s cubic-bezier(.16, 1, .3, 1) .2s; }
.h-perf.is-run .h-perf_rows b i { width: var(--w); }
.h-perf_rows em { font-style: normal; font-weight: 600; text-align: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.h-perf_note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--bd-light); font-size: 12px; font-weight: 500; line-height: 1.375; letter-spacing: .02em; color: var(--fg-muted); }

/* ---------- process steps ---------- */
.h-steps { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 768px; margin: 0 auto; }
.h-steps_rail, .h-steps_fill { position: absolute; top: 8px; left: 27px; width: 2px; }
.h-steps_rail { bottom: 8px; background: var(--bd); }
.h-steps_fill { height: 0; background: var(--accent); }
.h-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
.h-step_num { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--bd); border-radius: 16px; background: #fff; font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--muted-fg); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); transition: color .4s, border-color .4s, box-shadow .4s; }
.h-step.is-on .h-step_num { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(59, 130, 246, .12); }
.h-step_card { display: grid; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--bd); border-radius: 16px; background: #fff; }
.h-step_when { font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.h-step_card h3 { margin: 4px 0 6px; font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--fg); }
.h-step_card p { max-width: 448px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-muted); }
.h-step_side { width: 100%; }
.h-side { padding: 12px; border: 1px solid var(--bd-light); border-radius: 12px; background: var(--bg2); }
.h-tick { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .02em; color: var(--fg-muted); opacity: .3; transition: opacity .4s; }
.h-tick_box { flex: none; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 5px; background: var(--green-50); color: var(--green); }
.h-tick_box svg { width: 10px; height: 10px; }
.h-step.is-on .h-tick { opacity: 1; }
.h-step.is-on .h-tick:nth-child(2) { transition-delay: .2s; }
.h-step.is-on .h-tick:nth-child(3) { transition-delay: .4s; }
.h-side_t { margin-bottom: 8px; }
.h-side_t2 { margin: 8px 0 4px; }
.h-thumbs { display: flex; gap: 8px; }
.h-thumbs i { flex: 1; height: 48px; border-radius: 8px; background: linear-gradient(135deg, #eef2ff, #dbe4f0); }
.h-meter { height: 7px; overflow: hidden; border-radius: 999px; background: var(--bg3); }
.h-meter i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--green-500); transition: width 1.2s cubic-bezier(.16, 1, .3, 1) .2s; }
.h-step.is-on .h-meter i { width: var(--g); }
.h-minibars { display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.h-minibars i { flex: 1; height: 0; border-radius: 4px 4px 0 0; background: var(--accent); transition: height .8s cubic-bezier(.16, 1, .3, 1); }
.h-step.is-on .h-minibars i { height: var(--g); }
.h-step.is-on .h-minibars i:nth-child(2) { transition-delay: .08s; } .h-step.is-on .h-minibars i:nth-child(3) { transition-delay: .16s; }
.h-step.is-on .h-minibars i:nth-child(4) { transition-delay: .24s; } .h-step.is-on .h-minibars i:nth-child(5) { transition-delay: .32s; }

/* the ongoing work: no card, so it never reads as a fifth step — a dashed marker carries the loop */
.h-after { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; max-width: 768px; margin: 0 auto; }
.h-after_rail { display: flex; flex-direction: column; align-items: center; }
.h-after_tail { width: 0; height: 28px; border-left: 2px dashed var(--bd); }
.h-after_mark { display: flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px dashed var(--bd); border-radius: 16px; color: var(--muted-fg); }
.h-after_mark svg { width: 22px; height: 22px; }
.h-after_body { padding: 42px 0 0 20px; }
.h-after_body h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--fg); }
.h-after_body p { max-width: 448px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-muted); }
.h-after_fig { grid-column: 2; display: flex; align-items: flex-end; gap: 12px; margin: 16px 0 0 20px; }
.h-after_fig .h-minibars { flex: none; width: 108px; height: 32px; }
.h-after_fig.is-in .h-minibars i { height: var(--g); }
.h-after_fig.is-in .h-minibars i:nth-child(2) { transition-delay: .08s; } .h-after_fig.is-in .h-minibars i:nth-child(3) { transition-delay: .16s; }
.h-after_fig.is-in .h-minibars i:nth-child(4) { transition-delay: .24s; } .h-after_fig.is-in .h-minibars i:nth-child(5) { transition-delay: .32s; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 22rem; gap: 16px; }
.bento_card { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--sh-magic); }
.bento_card::after { content: ''; position: absolute; inset: 0; pointer-events: none; transition: background-color .3s; }
.bento_card:hover::after { background: rgba(0, 0, 0, .03); }
.bento_art { position: absolute; inset: 0; }
.bento_body { position: relative; z-index: 10; margin-top: auto; padding: 16px; }
.bento_txt { display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.bento_txt h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.4; color: #404040; }
.bento_txt p { max-width: 512px; margin: 0; font-size: 16px; line-height: 1.5; color: #737373; }
.bento_more { display: inline-flex; align-items: center; height: 32px; font-size: 14px; font-weight: 500; color: #2563EB; text-underline-offset: 4px; }
.bento_more:hover { text-decoration: underline; }
.bento_more svg { width: 16px; height: 16px; margin-left: 8px; }

/* 1: notifications pile up, newest on top (Magic UI animated list) */
.notes { position: absolute; top: 16px; right: 8px; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; height: 300px; padding: 24px; overflow: hidden; transform: scale(.75); transition: transform .3s ease-out; -webkit-mask-image: linear-gradient(to top, transparent 10%, #000 100%); mask-image: linear-gradient(to top, transparent 10%, #000 100%); }
.bento_card:hover .notes { transform: scale(.8); }
.note { width: 100%; max-width: 400px; margin: 0; padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--sh-magic); cursor: pointer; transition: transform .2s ease-in-out; display: flex; align-items: center; gap: 12px; animation: note-in .5s cubic-bezier(.34, 1.4, .64, 1) both; }
.note:hover { transform: scale(1.03); }
@keyframes note-in { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.note_i { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 16px; font-size: 18px; }
.note > div { min-width: 0; overflow: hidden; }
.note figcaption { display: flex; align-items: center; white-space: pre; font-size: 18px; font-weight: 500; color: #000; }
.note figcaption b { font-size: 14px; font-weight: 500; }
.note figcaption span { margin: 0 4px; }
.note figcaption small { font-size: 12px; color: #6b7280; }
.note p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #000; }

/* 2: files marquee (blurred until hovered) */
.files { position: absolute; top: 40px; left: 0; display: flex; width: max-content; gap: var(--gap); padding: 8px; -webkit-mask-image: linear-gradient(to top, transparent 40%, #000 100%); mask-image: linear-gradient(to top, transparent 40%, #000 100%); }
.files_track { display: flex; flex-shrink: 0; gap: var(--gap); animation: marquee var(--duration) linear infinite; }
.files:hover .files_track { animation-play-state: paused; }
.file { position: relative; width: 128px; margin: 0; padding: 16px; overflow: hidden; border: 1px solid rgba(3, 7, 18, .1); border-radius: 12px; background: rgba(3, 7, 18, .01); cursor: pointer; filter: blur(1px); transition: all .3s ease-out; }
.file:hover { background: rgba(3, 7, 18, .05); filter: none; }
.file figcaption { font-size: 14px; font-weight: 500; color: #000; overflow-wrap: anywhere; }
.file blockquote { margin: 8px 0 0; font-size: 12px; color: #000; }

/* 3: payment beams */
.beams { position: absolute; top: 16px; right: 8px; left: 8px; height: 300px; display: flex; align-items: center; justify-content: space-between; max-width: 512px; margin: 0 auto; padding: 0 24px; transition: transform .3s ease-out; -webkit-mask-image: linear-gradient(to top, transparent 10%, #000 100%); mask-image: linear-gradient(to top, transparent 10%, #000 100%); }
.bento_card:hover .beams { transform: scale(1.05); }
.beams_svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.beams_col { display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.node { position: relative; z-index: 10; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 12px; border: 2px solid var(--bd); border-radius: 50%; background: #fff; box-shadow: 0 0 20px -12px rgba(0, 0, 0, .8); }
.node.is-hub { width: 64px; height: 64px; color: var(--fg); }
.node.is-hub svg { width: 24px; height: 24px; }
.pm { font-family: system-ui, sans-serif; white-space: nowrap; }
.pm-gpay { font-size: 12px; font-weight: 500; color: #5f6368; }
.pm-gpay i { font-style: normal; font-weight: 700; color: #4285f4; }
.pm-stripe { font-size: 11px; font-weight: 800; letter-spacing: -.02em; color: #635bff; }
.pm-visa { font-size: 11px; font-weight: 800; font-style: italic; color: #1a1f71; }
.pm-amex { font-size: 11px; font-weight: 800; letter-spacing: .01em; padding: 3px 5px; border-radius: 3px; background: #2e77bb; color: #fff; }
.pm-bank { font-size: 18px; font-weight: 700; color: var(--fg); }
.pm-mc { position: relative; display: block; width: 26px; height: 16px; }
.pm-mc i { position: absolute; top: 0; width: 16px; height: 16px; border-radius: 50%; }
.pm-mc i:first-child { left: 0; background: #eb001b; }
.pm-mc i:last-child { right: 0; background: #f79e1b; mix-blend-mode: multiply; }

/* 4: calendar */
.cal { position: absolute; top: 40px; right: 0; padding: 12px; border: 1px solid var(--bd); border-radius: 6px; background: #fff; transform-origin: top; transform: scale(.75); transition: transform .3s ease-out; -webkit-mask-image: linear-gradient(to top, transparent 40%, #000 100%); mask-image: linear-gradient(to top, transparent 40%, #000 100%); }
.bento_card:hover .cal { transform: scale(.9); }
.cal_m { padding: 4px 0 16px; font-size: 14px; font-weight: 500; text-align: center; color: var(--fg); }
.cal_g { display: grid; grid-template-columns: repeat(7, 36px); row-gap: 8px; }
.cal_g b { font-size: 12.8px; font-weight: 400; text-align: center; color: var(--muted-fg); }
.cal_g span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; font-size: 14px; color: var(--fg); }
.cal_g span.is-out { color: var(--muted-fg); opacity: .5; }
.cal_g span.is-today { background: #dbeafe; color: var(--fg); }
.cal_g span.is-pick { background: var(--accent); color: #fff; }

/* ---------- who we serve ---------- */
.h-inds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.h-ind { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--bd); border-radius: 16px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.h-ind:hover { transform: translateY(-4px); box-shadow: var(--sh-lg5); border-color: var(--accent); }
/* the photo of the trade at work; it carries the card, so the icon chip is gone from the light cards */
.h-ind_shot {
  position: relative; display: block; overflow: hidden;
  /* the photo dissolves into the card instead of stopping on a hard edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, .55) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, .55) 82%, transparent 100%);
}
.h-ind_shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.h-ind:hover .h-ind_shot img { transform: scale(1.045); }
.h-ind_body { display: block; padding: 14px 16px 18px; }
.h-ind_i { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--accent-10); color: var(--accent); }
.h-ind_i svg { width: 20px; height: 20px; }
.h-ind h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--fg); }
.h-ind h3 svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: all .15s; color: var(--accent); }
.h-ind:hover h3 svg { opacity: 1; transform: none; }
.h-ind p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-muted); text-wrap: balance; }

/* the last card is the catch-all: one photo behind the whole card, text laid over it */
.h-ind.is-dark { position: relative; justify-content: flex-end; border-color: var(--fg); background: var(--fg); }
.h-ind.is-dark:hover { border-color: var(--fg); }
.h-ind.is-dark .h-ind_shot { position: absolute; inset: 0; -webkit-mask-image: none; mask-image: none; }
.h-ind.is-dark .h-ind_shot img { height: 100%; aspect-ratio: auto; }
.h-ind.is-dark .h-ind_shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .55), rgba(10, 10, 10, .8) 48%, rgba(10, 10, 10, .95)); }
.h-ind.is-dark .h-ind_body { position: relative; padding: 20px 16px 18px; }
.h-ind.is-dark .h-ind_i { width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; background: var(--accent); color: #fff; }
.h-ind.is-dark .h-ind_i svg { width: 18px; height: 18px; }
.h-ind.is-dark h3 { color: #fff; }
.h-ind.is-dark p { color: rgba(255, 255, 255, .78); }

/* ---------- breakpoints (Tailwind sm 640 / md 768 / lg 1024) ---------- */
@media (min-width: 640px) {
  .hs { padding: 80px 0; }
  .h-check_form { padding-left: 16px; }
  .h-check_form button { padding: 12px 20px; }
  .h-inds { gap: 16px; }
}
@media (min-width: 768px) {
  .h-hero_h1 { font-size: 48px; }
  .h-hero_in { padding-bottom: 40px; }
  .h-hero_tags { margin-top: 40px; }
  .h-logos { padding: 32px 0; }
  .h-logos_card { padding: 40px; }
  .h-logos_title { margin-bottom: 20px; font-size: 30px; line-height: 1.2; }
  .h-logos_rule { margin: 20px auto; }
  .h-logos_mask { padding: 16px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent); }
  .h-marquee_track img { height: 32px; }
}
@media (min-width: 1024px) {
  .hs { padding: 96px 0; }
  .h-hero { min-height: 70vh; align-items: center; }
  .h-hero_blobs { display: none; }
  .h-hero_in { padding-top: 96px; padding-bottom: 96px; }
  .h-hero_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .h-hero_copy { text-align: left; }
  .h-hero_text { padding-right: 0; }
  .h-hero_h1 { font-size: 64px; }
  .h-hero_sub { padding-right: 0; }
  .h-check { margin: 0; }
  .h-check_rotor p { text-align: left; }
  .h-check:not(.h-vsl_ask) .h-check_err { text-align: left; }
  .h-hero_tags { margin-top: 56px; text-align: left; }
  .h-hero_art { position: relative; z-index: 10; margin-top: 0; display: flex; align-items: center; justify-content: flex-end; }
  .h-hero_shot { margin: 0; aspect-ratio: 4 / 5; object-position: 50% 44%; border-radius: 24px; }
  .h-logos { padding: 40px 0; }
  .h-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .h-eyebrow { margin-bottom: 16px; }
  .h-h2 { margin-bottom: 20px; font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
  .h-head .h-h2 { margin-bottom: 16px; }
  .h-lede { margin-bottom: 40px; font-size: 18px; }
  .h-head .h-lede { margin-bottom: 0; }
  .h-flow { margin-bottom: 40px; }
  .h-head { margin-bottom: 64px; }
  .h-steps { gap: 24px; }
  .h-step_card { grid-template-columns: minmax(0, 1fr) auto; padding: 24px; }
  .h-step_side { width: 160px; }
  .h-after { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .h-after_body { padding-left: 24px; }
  .h-after_fig { grid-column: 3; align-self: center; margin: 42px 0 0; }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento_card.is-1 { grid-column: span 1; }
  .bento_card.is-2 { grid-column: span 2; }
  .h-inds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h-ind_body { padding: 16px 20px 22px; }
  .h-ind.is-dark .h-ind_body { padding: 22px 20px 22px; }
}
@media (max-width: 639px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}
/* brand film: one wide card, nothing over the picture but two small buttons in the corner */
.h-film { padding: 0 0 72px; }
.h-film_card { position: relative; max-width: 1024px; margin: 0 auto; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 24px; background: #fff; box-shadow: var(--sh-magic), var(--sh-xl); }
.h-film_video { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-film_ctrl { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.h-film_btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(10, 10, 10, .55); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s, transform .2s var(--ease); }
.h-film_btn:hover { background: rgba(10, 10, 10, .75); }
.h-film_btn:active { transform: scale(.94); }
.h-film_btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.h-film_btn svg { width: 18px; height: 18px; }
.h-film_btn .is-play, .h-film_btn .is-loud, .h-film_btn.is-paused .is-pause, .h-film_btn.is-on .is-muted { display: none; }
.h-film_btn.is-paused .is-play, .h-film_btn.is-on .is-loud { display: block; }
@media (max-width: 639px) {
  .h-film { padding: 0 0 48px; }
  .h-film_card { border-radius: 16px; }
  .h-film_ctrl { right: 10px; bottom: 10px; }
  .h-film_btn { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-hero_shot { transform: none; }
  .h-hero_shot, .h-blobs i, .h-hero_blobs i, .h-marquee_track, .files_track, .h-ping i:first-child { animation: none !important; }
  .h-hero_blobs, .h-blobs { display: none; }
  .js [data-in] { opacity: 1; transform: none; transition: none; }
}

/* ---------- the audit film: a still you press, then the player itself ---------- */
.h-vsl { position: relative; overflow: hidden; padding: 56px 0 56px; }
.h-vsl > .wrap { position: relative; z-index: 1; }
.h-vsl_in { max-width: 920px; }
.h-vsl_head { margin-bottom: 28px; text-align: center; }
.h-vsl_head .h-h2 { margin-bottom: 10px; }
.h-vsl_head .h-lede { max-width: 46ch; margin: 0 auto; text-wrap: balance; }
/* the part of the question the visitor feels: the site's one red, nowhere else on the page. It drifts the
   way the Book a Call button does, at less than half the speed — it is a headline, not a button. */
.h-vsl_hot { color: var(--red); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h-vsl_hot {
    background: linear-gradient(135deg, #dc2626, #e8503a, #b91c1c, #dc2626) 0 0 / 300% 300%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: vslRedShift 9s infinite;
  }
}
@keyframes vslRedShift { 0% { background-position: 0%; } 50% { background-position: 100%; } to { background-position: 0%; } }
.h-vsl_figure { margin: 0; }
.h-vsl_player {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
  aspect-ratio: 16 / 9; border: 0; border-radius: 20px; background: #0b1220; cursor: pointer;
  box-shadow: var(--sh-magic), 0 24px 48px -20px rgba(16, 24, 40, .45);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.h-vsl_player img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s var(--ease); }
/* only along the bottom, so the picture itself stays as it was recorded */
.h-vsl_player::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 13, 28, 0) 56%, rgba(8, 13, 28, .72) 100%); }
.h-vsl_player:hover { box-shadow: var(--sh-magic), 0 32px 64px -20px rgba(16, 24, 40, .55); }
.h-vsl_player:hover img { transform: scale(1.015); }
.h-vsl_player:active { transform: scale(.995); }
.h-vsl_player:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.h-vsl_disc {
  position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center;
  width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: rgba(255, 255, 255, .96); color: #0b1220;
  box-shadow: 0 10px 30px -8px rgba(8, 13, 28, .7);
  transition: transform .3s var(--ease), background-color .2s;
}
.h-vsl_disc svg { width: 26px; height: 26px; margin-left: 4px; }
.h-vsl_player:hover .h-vsl_disc { transform: scale(1.06); }
.h-vsl_label {
  position: absolute; z-index: 2; right: 16px; bottom: 14px; left: 16px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
  text-align: left; color: #fff;
}
.h-vsl_label b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.h-vsl_label span { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .86); }
.h-vsl_frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #0b1220; box-shadow: var(--sh-magic), 0 24px 48px -20px rgba(16, 24, 40, .45); }
.h-vsl_frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.h-vsl_ask { margin-top: 32px; }
/* The flat blue halo round this field was doing the job of catching the eye, and standing
   still it was not doing it. The ring stays, but a brighter light travels round it until the
   visitor engages: on hover and while they are typing it settles into a plain, stronger ring. */
@property --ask-sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.h-vsl_ask .h-check_form {
  position: relative;
  max-width: 560px; margin: 0 auto; padding: 7px 7px 7px 16px; cursor: text;
  border-color: rgba(37, 99, 235, .22); background: #fff;
  box-shadow: 0 18px 34px -16px rgba(16, 24, 40, .4);
}
.h-vsl_ask .h-check_form::before {
  content: ''; position: absolute; inset: -6px; padding: 6px; pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(from var(--ask-sweep),
    rgba(37, 99, 235, .13) 0deg, rgba(37, 99, 235, .13) 150deg,
    rgba(37, 99, 235, .5) 228deg, rgba(37, 99, 235, 1) 272deg,
    rgba(147, 197, 253, 1) 292deg, rgba(37, 99, 235, 1) 312deg,
    rgba(37, 99, 235, .5) 340deg, rgba(37, 99, 235, .13) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: askSweep 3.6s linear infinite;
}
@keyframes askSweep { to { --ask-sweep: 360deg; } }
.h-vsl_ask .h-check_form:hover { box-shadow: 0 22px 40px -16px rgba(16, 24, 40, .46); }
.h-vsl_ask .h-check_form:hover::before { background: rgba(37, 99, 235, .20); animation: none; }
.h-vsl_ask .h-check_form:focus-within { box-shadow: 0 22px 40px -16px rgba(16, 24, 40, .46); }
.h-vsl_ask .h-check_form:focus-within::before { background: rgba(37, 99, 235, .4); animation: none; }
.h-vsl_ask .h-check_form.is-invalid { box-shadow: 0 18px 34px -16px rgba(16, 24, 40, .4); }
.h-vsl_ask .h-check_form.is-invalid::before { background: rgba(220, 38, 38, .26); animation: none; }
@media (prefers-reduced-motion: reduce) {
  .h-vsl_ask .h-check_form::before { background: rgba(37, 99, 235, .22); animation: none; }
}
.h-vsl_ask .h-check_err { margin-top: 12px; }
.h-vsl_ask .h-check_icon { width: 22px; height: 22px; margin-right: 10px; color: #2563eb; }
/* the input fills the pill's full height, so the dead strip above and below the text is part of the field */
.h-vsl_ask .h-check_form input { align-self: stretch; padding: 0 10px 0 0; font-size: 17px; }
.h-vsl_ask .h-check_icon { pointer-events: none; }
.h-vsl_ask .h-check_form button { padding: 14px 22px; background: #2563eb; font-size: 15px; }
.h-vsl_ask .h-check_form button:hover { opacity: 1; background: #1d4ed8; }
.h-vsl_note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted-fg); text-align: center; }

@media (max-width: 639px) {
  /* the placeholder needs the room more than the padding does */
  .h-vsl_ask .h-check_form { padding: 5px 5px 5px 12px; }
  .h-vsl_ask .h-check_icon { width: 19px; height: 19px; margin-right: 7px; }
  .h-vsl_ask .h-check_form input { font-size: 16px; }
  .h-vsl_ask .h-check_form button { padding: 12px 16px; }
}
@media (min-width: 640px) {
  .h-vsl { padding: 72px 0 76px; }
  .h-vsl_disc { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .h-vsl_disc svg { width: 30px; height: 30px; }
  .h-vsl_label { right: 20px; bottom: 18px; left: 20px; }
  .h-vsl_label b { font-size: 15px; }
}
@media (min-width: 1024px) {
  .h-vsl { padding: 96px 0 104px; }
  .h-vsl_head { margin-bottom: 36px; }
  .h-vsl_player, .h-vsl_frame { border-radius: 24px; }
  .h-vsl_ask { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-vsl_hot { animation: none; }
  .h-vsl_player, .h-vsl_player img, .h-vsl_disc { transition: none; }
  .h-vsl_player:hover img { transform: none; }
  .h-vsl_player:hover .h-vsl_disc { transform: none; }
}
