/* Smartlead-style positioning: AI first, "agents" doing the work, scale and results language, free trial CTA. Light tinted ground, gradient headline, big framed product screen. */
:root {
  --bg: #f4f6ff; --surface: #ffffff; --ink: #0e1a3b; --muted: #56628a; --line: #dce2f7; --accent: #1d4ed8; --accent-ink: #ffffff; --grad-a: #0a6fd6; --grad-b: #12b886;
  --soft: #e8edff; --bar: #0e1a3b; --bar-ink: #ffffff; --ok: #0e9f6e; --ok-bg: #dcf7ea;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; } a { color: inherit; } img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.bar { background: var(--bar); color: var(--bar-ink); font-size: 14px; text-align: center; padding-block: 9px; }
.bar a { font-weight: 600; text-underline-offset: 3px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.logo img { height: 34px; width: auto; }
nav { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); } nav a:hover { color: var(--ink); }
.hr { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 15px var(--body); padding: 12px 22px; border-radius: 6px; text-decoration: none; border: 1.5px solid var(--accent); cursor: pointer; }
.btn.solid { background: var(--accent); color: var(--accent-ink); } .btn.line { background: transparent; color: var(--accent); } .btn.big { padding: 15px 28px; font-size: 16px; }
.dkimg { display: none; }
.hero { text-align: center; padding-block: 52px 36px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.9rem); font-weight: 600; max-width: 16ch; margin-inline: auto; }
.hero h1 { max-width: 18ch; }
.line2 { display: block; margin-top: 18px; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.01em; color: var(--muted); line-height: 1.2; }
.grad { background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 58ch; margin: 22px auto 30px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.pills { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pills span { font-size: 14px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); padding: 7px 16px; border-radius: 99px; }
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(29,78,216,.35); overflow: hidden; }
.frame-top { background: var(--bar); color: var(--bar-ink); display: flex; justify-content: space-between; padding: 10px 16px; font: 600 14px var(--display); gap: 12px; flex-wrap: wrap; }
.frame-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 380px; }
.side { border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.side span { padding: 8px 12px; border-radius: 8px; color: var(--muted); } .side span.on { background: var(--soft); color: var(--accent); font-weight: 600; }
.main { padding: 20px; display: grid; gap: 16px; min-width: 0; align-content: start; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; } .tile small { color: var(--muted); font-size: 12px; display: block; }
.tile strong { font: 600 26px var(--display); font-variant-numeric: tabular-nums; }
.cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.list { border: 1px solid var(--line); border-radius: 10px; min-width: 0; } .list h4 { margin: 0; padding: 11px 14px; font: 600 14px var(--display); }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.pill { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--soft); color: var(--accent); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
@media (max-width: 760px) { .frame-body { grid-template-columns: 1fr; } .side { display: none; } .cols { grid-template-columns: 1fr; } }
.block { padding-block: 76px; }
.head { text-align: center; max-width: 760px; margin: 0 auto 40px; } .head h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 600; } .head p { color: var(--muted); margin-top: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.agent { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.agent .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.agent h3 { font-size: 1.25rem; } .agent p { color: var(--muted); font-size: 15px; flex: 1; }
.agent .when { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.sp { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; align-content: space-between; overflow: hidden; }
.sp h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; } .sp p { color: var(--muted); }
.sp .img { background: var(--soft); border-radius: 12px; display: flex; justify-content: center; align-items: flex-end; height: 300px; overflow: hidden; }
.sp .img img { height: 330px; width: auto; max-width: none; object-fit: contain; }
.sp .img.wide img { height: 300px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.out { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.out div { padding: 28px; border-left: 1px solid var(--line); } .out div:first-child { border-left: 0; }
.out h3 { font-size: 1.4rem; margin-bottom: 8px; } .out p { color: var(--muted); font-size: 15px; }
.logos { text-align: center; } .logos p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.logos .l { display: flex; justify-content: center; align-items: center; gap: 24px 44px; flex-wrap: wrap; } .logos img { height: 34px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.brandband { background: var(--bar); color: var(--bar-ink); border-radius: 18px; padding: 56px 28px; text-align: center; }
.brandband p { font: 600 clamp(1.5rem, 3.6vw, 2.5rem)/1.2 var(--display); max-width: 24ch; margin: 0 auto; text-wrap: balance; }
.aud a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: block; } .aud a:hover { border-color: var(--accent); }
.aud h3 { font-size: 1.25rem; margin-bottom: 6px; } .aud p { color: var(--muted); font-size: 15px; } .aud span { color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 12px; display: inline-block; }
.faq { max-width: 820px; margin-inline: auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; } summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); } details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 10px; }
.final { text-align: center; background: linear-gradient(135deg, #0a3a8f, #0a6fd6 55%, #12b886); color: #fff; border-radius: 22px; padding: clamp(40px, 7vw, 80px) 24px; }
.final h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; margin-bottom: 12px; } .final p { opacity: .9; margin-bottom: 26px; }
.final .btn { border-color: #fff; } .final .btn.solid { background: #fff; color: #0a3a8f; } .final .btn.line { color: #fff; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; margin-top: 60px; }
footer .wrap { padding-block: 44px 24px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
footer h4 { color: var(--ink); margin: 0 0 12px; font-size: 15px; } footer a { display: block; text-decoration: none; padding: 3px 0; } footer a:hover { color: var(--ink); }
.legal .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 18px; grid-template-columns: none; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform .15s; } .btn:hover { transform: translateY(-2px); } }

/* mobile: compact header, menu panel, sticky CTA, 44px tap targets */
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; color: inherit; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; content: ""; position: relative; transition: transform .2s; }
.burger span::before { position: absolute; top: -6px; left: 0; } .burger span::after { position: absolute; top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; } .burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); } .burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.only-m { display: none; }
.sticky { display: none; }
@media (max-width: 860px) {
  .hb { position: relative; flex-wrap: nowrap !important; gap: 10px !important; padding-block: 10px !important; }
  .hb .hr { margin-left: auto; flex-wrap: nowrap; }
  .hide-m { display: none; } .hb .hr .btn { padding: 10px 14px; font-size: 14px; } .bar { font-size: 13px; padding-inline: 16px; } .hero { padding-block: 32px 28px; } .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); } .block { padding-block: 52px; } .pills { gap: 8px; } .pills span { font-size: 13px; padding: 6px 12px; } .eyebrow { font-size: 13px; }
  .burger { display: inline-flex; flex: none; }
  .only-m { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); color: var(--ink); padding: 6px max(16px, env(safe-area-inset-left, 0px)) 14px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.35); z-index: 30; border-top: 1px solid var(--line); }
  #nav.open { display: flex; }
  #nav a { display: flex; align-items: center; min-height: 52px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
  #nav a:last-child { border-bottom: 0; }
  .sticky { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
  .sticky.show { transform: none; }
  .sticky a { flex: 1; display: flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; }
  .sticky a.p { background: var(--accent); color: var(--accent-ink); } .sticky a.s { border: 1.5px solid var(--line); color: var(--ink); }
  body { padding-bottom: 72px; }
  summary { min-height: 44px; align-items: center; }
  footer a { padding: 11px 0 !important; }
  .btn, .pillbtn, .amber { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .sticky, .burger span, .burger span::before, .burger span::after { transition: none; } }

/* multi-page additions */
nav a.active { color: var(--ink); font-weight: 600; }
.grad2 { background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.who { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; padding: 20px; }
.who > div { border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; }
.who .tk { background: var(--soft); border-color: transparent; }
.who h4 { margin: 0 0 4px; font: 600 16px var(--display); } .who small { color: var(--muted); display: block; margin-bottom: 14px; }
.pil { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pil > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.pil b { font: 600 15px var(--display); display: block; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .chips span { font-size: 12.5px; background: var(--soft); color: var(--ink); padding: 3px 9px; border-radius: 6px; }
.who .you .chips span { background: transparent; border: 1px solid var(--line); color: var(--muted); }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; padding: 14px; } }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 48px); margin-bottom: 18px; }
.offer .num { font: 600 14px var(--display); color: var(--muted); display: block; margin: 14px 0 8px; }
.offer h3 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.offer .outcome { margin-top: 10px; font-weight: 600; color: var(--accent); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.step .n { font: 600 14px var(--display); color: var(--muted); } .step h3 { font-size: 1.3rem; margin: 14px 0 8px; } .step p { color: var(--muted); font-size: 15px; }
.lede { text-align: center; max-width: 780px; margin: 0 auto; }
.lede .small { color: var(--muted); font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
.lede h2 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 600; margin-top: 10px; }
.review-back { position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 9999; background: #101828; color: #fff !important; font: 600 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; padding: 10px 14px; border-radius: 99px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 860px) { .review-back { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* quote, integrations, pricing, security */
.quote { max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 5vw, 48px); text-align: center; position: relative; }
.quote blockquote { margin: 0; font: 500 clamp(1.25rem, 2.8vw, 1.75rem)/1.35 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.quote .who2 { margin-top: 26px; display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; display: grid; place-items: center; font: 600 17px var(--display); flex: none; }
.quote .who2 b { display: block; } .quote .who2 span { color: var(--muted); font-size: 14.5px; }
.ph { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff3cd; color: #7a5b00; border: 1px solid #f0d98a; border-radius: 99px; padding: 3px 10px; margin-bottom: 18px; }
.ints { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.int { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.int h3 { font-size: 1.1rem; margin-bottom: 12px; }
.price .out div { display: flex; flex-direction: column; gap: 6px; }
.price ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }

@media (max-width: 760px) { .out div { border-left: 0; border-top: 1px solid var(--line); } .out div:first-child { border-top: 0; } }

/* headline gradient: three stops, brighter, with a slow shimmer (Smartlead-style shine) */
:root { --grad-text: linear-gradient(90deg, #5b5ff2 0%, #2f8bf0 38%, #12c9a0 68%, #2f8bf0 100%); }
.grad, .grad2 { background-image: var(--grad-text); background-size: 150% 100%; background-position: 0% 50%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .08em; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .grad, .grad2 { animation: shine 7s ease-in-out infinite alternate; } }
@keyframes shine { to { background-position: 100% 50%; } }

/* hero video */
.vframe { position: relative; border-radius: 14px; overflow: hidden; background: #06231f; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(29,78,216,.45); aspect-ratio: 16 / 9; }
.vframe video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vbtn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(6,35,31,.7); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; backdrop-filter: blur(6px); }
.vbtn svg { width: 20px; height: 20px; stroke: #fff; fill: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.vbtn .pl { display: none; } .vbtn .ps { fill: none; }
.vbtn[aria-pressed="true"] .pl { display: block; } .vbtn[aria-pressed="true"] .ps { display: none; }

/* home hero: headline, tagline, buttons and the video all on the first screen */
.hero.tight { padding-block: 30px 22px; }
.hero.tight h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); max-width: none; }
.hero.tight p.sub { margin: 14px auto 22px; }
.hero.tight + .wrap .vframe { width: min(100%, max(560px, calc((100svh - 500px) * 1.7778))); margin-inline: auto; }
@media (max-width: 860px) {
  .hero.tight { padding-block: 22px 18px; }
  .hero.tight h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); max-width: 18ch; }
  .hero.tight .cta { flex-wrap: nowrap; gap: 10px; }
  .hero.tight .cta .btn { flex: 1; padding: 12px 10px; font-size: 15px; min-height: 48px; }
  .hero.tight + .wrap .vframe { width: 100%; }
}

/* three-video sequence and its columns */
.vframe video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.vframe video.on { opacity: 1; }
.vtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px auto 0; width: min(100%, max(820px, max(560px, calc((100svh - 500px) * 1.7778)))); }
.vtab { position: relative; text-align: left; background: transparent; border: 0; border-top: 3px solid var(--line); padding: 14px 4px 6px; cursor: pointer; color: var(--muted); font: inherit; display: flex; flex-direction: column; gap: 6px; }
.vtab .n { font: 600 12px var(--display); letter-spacing: .1em; }
.vtab b { font: 500 1.15rem/1.2 var(--display); color: inherit; }
.vtab .d { font-size: 14.5px; line-height: 1.45; }
.vtab:hover { color: var(--ink); }
.vtab[aria-current="true"] { color: var(--ink); } .vtab[aria-current="true"] b { font-weight: 700; }
.vtab .vprog { position: absolute; left: 0; right: 0; top: -3px; height: 3px; display: block; } .vtab .vprog u { display: block; height: 100%; width: 0; background: var(--accent); text-decoration: none; }
@media (max-width: 860px) {
  .vtabs { grid-template-columns: 1fr; gap: 0; width: 100%; margin-top: 14px; }
  .vtab { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 14px 4px; min-height: 48px; }
  .vtab .d { display: none; flex-basis: 100%; } .vtab[aria-current="true"] .d { display: block; }
}

/* columns are titles only */
.vtab { padding-block: 16px 8px; }
.vtab b { font-size: clamp(1.1rem, 2vw, 1.35rem); }
@media (max-width: 860px) { .vtabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .vtab { flex-direction: column; padding: 14px 2px 6px; min-height: 0; } .vtab b { font-size: 1rem; } }


/* ---- automations: list on the left, an animated scene for the selected job on the right ---- */
:root { --warn: #b45309; --warn-bg: #fef3c7; --bad: #dc2626; --bad-bg: #fee2e2; }
.auto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px; align-items: start; --dwell: 7.5s; }
.alist { display: flex; flex-direction: column; gap: 8px; }
.arow { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; min-height: 60px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; cursor: pointer; font: inherit; color: inherit; transition: transform .3s, border-color .3s, box-shadow .3s; }
.arow:hover { border-color: var(--accent); }
.arow .at b { display: block; font: 600 16px/1.25 var(--display); }
.arow .at em { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.arow[aria-selected="true"] { border-color: var(--accent); transform: translateX(6px); box-shadow: 0 14px 30px -18px rgba(29, 78, 216, .55); }
.arow .ico { flex: none; }
.aprog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; display: block; }
.aprog u { display: block; height: 100%; width: 0; text-decoration: none; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); }
.arow[aria-selected="true"] .aprog u { width: 100%; transition: width var(--dwell) linear; }
.stage, .dcard { position: relative; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.scene { grid-area: 1 / 1; padding: 28px 28px 36px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.scene.on { opacity: 1; visibility: visible; }
.cap h3 { font-size: 1.5rem; } .cap p { color: var(--muted); margin-top: 8px; max-width: 56ch; }
.panel { margin-top: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; position: relative; overflow: hidden; }
.eg { position: absolute; right: 16px; bottom: 9px; margin: 0; font-size: 12px; color: var(--muted); }
.sc svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc .av { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--accent); font: 700 11px/28px var(--body); text-align: center; flex: none; }
.sc .done { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 14px; padding: 8px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 14px; }
.sc .done svg { width: 18px; height: 18px; stroke-width: 2.6; }
.sc .nm { font-weight: 600; font-size: 14px; }

/* 1 timesheet */
.clk { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.clk span { grid-area: 1 / 1; font: 700 30px/1 var(--display); font-variant-numeric: tabular-nums; } .clk .t1 { opacity: 0; } .clk em { grid-area: 1 / 2; font-style: normal; color: var(--muted); font-size: 14px; }
.th, .tr { display: grid; grid-template-columns: 28px 92px 1fr; gap: 10px; align-items: center; }
.tr { padding: 7px 0; border-top: 1px solid var(--line); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.th .days i { font-style: normal; text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.tr .days i { font-style: normal; height: 26px; border-radius: 6px; display: grid; place-items: center; font: 700 12px var(--body); }
.tr .days .h { background: var(--soft); color: var(--accent); } .tr .days .off { border: 1px dashed var(--line); }

/* 2 leave */
.s2 .panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: center; }
.bal .lbl { font-size: 13px; color: var(--muted); font-weight: 600; } .big { font: 700 52px/1.1 var(--display); font-variant-numeric: tabular-nums; } .big small { font: 500 16px var(--body); color: var(--muted); margin-left: 6px; }
.bal .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .bal .chips span { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); } .bal .chips .c2 { background: var(--soft); color: var(--accent); }
.lr { display: grid; grid-template-columns: 86px 1fr 38px; gap: 10px; align-items: center; padding: 8px 0; }
.lb { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; display: block; } .lb u { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); }
.lr .v { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* 3 sickness */
.occ { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; }
.occ .n { position: relative; width: 1.2ch; height: 1.3em; font: 700 28px/1.3 var(--display); color: var(--ink); } .occ .n i { position: absolute; inset: 0; font-style: normal; text-align: right; opacity: 0; } .occ .n i:last-child { opacity: 1; }
.tl { margin-top: 16px; } .mo { display: grid; grid-template-columns: repeat(6, 1fr); font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; }
.rail { position: relative; height: 56px; } .rail::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--line); }
.mk { position: absolute; left: var(--x); top: 6px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mk i { width: 18px; height: 18px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 5px var(--bad-bg); display: block; } .mk em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.alert { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn); }
.alert b { display: block; font-size: 15px; } .alert span { font-size: 13px; color: var(--muted); }
.aico { width: 36px; height: 36px; border-radius: 50%; background: var(--bad-bg); color: var(--bad); display: grid; place-items: center; flex: none; } .aico svg { width: 20px; height: 20px; }

/* 4 digest */
.inbox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ib { padding: 10px 14px; font-weight: 700; font-size: 13px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; } .ib em { font-style: normal; font-weight: 500; color: var(--muted); }
.mrow { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; } .mrow span { flex: 1; min-width: 0; } .mrow em { font-style: normal; font-size: 12px; color: var(--muted); }
.mrow.old { color: var(--muted); } .mrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; } .mrow .dot { background: var(--accent); }
.mrow.new { background: var(--soft); }
.mbody { padding: 6px 14px 12px; overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; font-weight: 500; } .li .n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 13px/26px var(--body); text-align: center; } .li u { margin-left: auto; color: var(--accent); font-size: 13px; font-weight: 600; text-underline-offset: 3px; }

/* 5 reminder */
.bellrow { position: relative; height: 84px; display: grid; place-items: center; }
.bellw { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transform-origin: 50% 12%; } .bellw svg { width: 28px; height: 28px; }
.ring { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.ding { position: absolute; left: calc(50% + 44px); top: 50%; font: 700 15px var(--display); color: var(--accent); opacity: 0; }
.nf { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.nt { font-size: 12px; font-weight: 700; color: var(--muted); display: flex; gap: 8px; } .nt em { font-style: normal; font-weight: 500; } .nf b { font-size: 15px; } .nf > span:not(.nt) { font-size: 13px; color: var(--muted); }
.press { margin-top: 8px; text-decoration: none; background: var(--accent); color: var(--accent-ink); padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.stat { position: relative; height: 34px; margin-top: 14px; } .stat span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; }
.stat .p1 { background: var(--warn-bg); color: var(--warn); opacity: 0; } .stat .p2 { background: var(--ok-bg); color: var(--ok); } .stat svg { width: 16px; height: 16px; stroke-width: 2.6; }

/* 6 onboarding */
.nw { display: flex; align-items: center; gap: 12px; } .nw .av { width: 40px; height: 40px; line-height: 40px; background: var(--accent); color: var(--accent-ink); } .nw b { display: block; } .nw span:not(.av) { font-size: 13px; color: var(--muted); }
.pg { margin-left: auto; width: min(140px, 34%); height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; } .pg u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); }
.cl { margin-top: 12px; }
.ci { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.bx { width: 22px; height: 22px; border-radius: 6px; background: var(--ok); border: 2px solid var(--ok); display: grid; place-items: center; flex: none; } .bx svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; stroke-dasharray: 24; }
.ci em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--warn-bg); color: var(--warn); opacity: 0; }
.fin { position: relative; height: 40px; margin-top: 12px; } .fin > * { position: absolute; left: 0; top: 0; margin: 0; }
.nudge { padding: 8px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 14px; font-weight: 600; opacity: 0; }

/* the choreography: every animation waits for .on, so the resting state above is the finished state */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes popin { from { opacity: 0; transform: scale(.5); } 70% { transform: scale(1.12); } }
@keyframes fillw { from { width: 0; } }
@keyframes fadein { from { opacity: 0; transform: scale(.92); } }
@keyframes fadeout { from { opacity: 1; } to { opacity: 0; } }
@keyframes clk1 { 0%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes clk2 { 0%, 70% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes c0 { 0%, 22% { opacity: 1; } 23%, 100% { opacity: 0; } }
@keyframes c1 { 0%, 22% { opacity: 0; } 23%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes c2 { 0%, 45% { opacity: 0; } 46%, 69% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes c3 { 0%, 69% { opacity: 0; } 70%, 100% { opacity: 1; } }
@keyframes alertin { from { opacity: 0; transform: translateY(26px); } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes slidein { from { opacity: 0; transform: translateY(-22px); } }
@keyframes grow { from { max-height: 0; padding-top: 0; padding-bottom: 0; } to { max-height: 160px; } }
@keyframes swing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(22deg); } 45% { transform: rotate(-18deg); } 70% { transform: rotate(10deg); } }
@keyframes ripple { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(2.3); } }
@keyframes dingy { 0% { opacity: 0; transform: translate(0, 6px) scale(.5); } 20%, 70% { opacity: 1; transform: translate(0, -4px) scale(1); } 100% { opacity: 0; transform: translate(6px, -12px); } }
@keyframes tap { 0%, 100% { transform: scale(1); } 50% { transform: scale(.9); box-shadow: 0 0 0 6px var(--soft); } }
@keyframes tickbx { from { background: transparent; border-color: var(--line); } }
@keyframes drawtick { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes flashp { 0% { opacity: 0; } 8%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pgrow { 0% { width: 0; } 11% { width: 20%; } 22% { width: 40%; } 33% { width: 60%; } 43%, 88% { width: 80%; } 100% { width: 100%; } }
.scene.on .tr { animation: rise .5s ease-out calc(1.1s + var(--r) * .55s) both; }
.scene.on .tr .h { animation: popin .4s ease-out calc(1.3s + var(--r) * .55s + var(--c) * .09s) both; }
.scene.on .clk .t1 { animation: clk1 1.2s ease-in-out both; } .scene.on .clk .t2 { animation: clk2 1.2s ease-in-out both; }
.scene.on .s1 .done, .scene.on.sc .done { animation: rise .5s ease-out 3.4s both; }
.scene.on .lb u { animation: fillw 1s ease-out calc(.6s + var(--r) * .3s) both; } .scene.on .lr { animation: rise .5s ease-out calc(.4s + var(--r) * .3s) both; }
.scene.on .bal .c1 { animation: popin .5s ease-out 2.1s both; } .scene.on .bal .c2 { animation: popin .5s ease-out 2.8s both; }
.scene.on .n i:nth-child(1) { animation: c0 5.5s linear both; } .scene.on .n i:nth-child(2) { animation: c1 5.5s linear both; } .scene.on .n i:nth-child(3) { animation: c2 5.5s linear both; } .scene.on .n i:nth-child(4) { animation: c3 5.5s linear both; }
.scene.on .mk { animation: popin .5s ease-out calc(1.2s + var(--m) * 1.3s) both; }
.scene.on .alert { animation: alertin .6s ease-out 4.5s both, shake .6s ease-in-out 5.1s both; }
.scene.on .mrow.new { animation: slidein .6s ease-out .6s both; } .scene.on .mbody { animation: grow .7s ease-out 1.6s both; }
.scene.on .li { animation: rise .45s ease-out calc(2.1s + var(--k) * .55s) both; }
.scene.on .bellw { animation: swing .7s ease-in-out .2s 3 both; }
.scene.on .r1 { animation: ripple 1s ease-out .2s both; } .scene.on .r2 { animation: ripple 1s ease-out .9s both; } .scene.on .r3 { animation: ripple 1s ease-out 1.6s both; }
.scene.on .d1 { animation: dingy 1s ease-out .3s both; margin-top: -26px; } .scene.on .d2 { animation: dingy 1s ease-out 1s both; margin-top: -4px; margin-left: 30px; } .scene.on .d3 { animation: dingy 1s ease-out 1.7s both; margin-top: -26px; margin-left: 62px; }
.scene.on .nf { animation: rise .55s ease-out 2.7s both; } .scene.on .press { animation: tap .5s ease-in-out 4.3s both; }
.scene.on .p1 { animation: fadeout .3s ease-out 4.6s both; } .scene.on .p2 { animation: fadein .45s ease-out 4.7s both; }
.scene.on .nw, .scene.on .ci { animation: rise .45s ease-out calc(.1s + var(--k, 0) * .1s) both; }
.scene.on .ci .bx { animation: tickbx .3s ease-out calc(.7s + var(--k) * .6s) both; } .scene.on .ci .bx svg { animation: drawtick .3s ease-out calc(.7s + var(--k) * .6s) both; }
.scene.on .ci.last .bx, .scene.on .ci.last .bx svg { animation-delay: 4.9s; } .scene.on .ci.last em { animation: flashp 2.4s ease-out 2.5s both; }
.scene.on .pg u { animation: pgrow 6s ease-in-out .1s both; }
.scene.on .nudge { animation: flashp 1.8s ease-out 3.2s both; } .scene.on .s6 .done { animation: fadein .5s ease-out 5.2s both; }
@media (max-width: 900px) {
  .auto { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .alist { flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; margin-inline: -4px; padding-inline: 4px; scrollbar-width: none; }
  .arow { flex: 0 0 auto; width: auto; scroll-snap-align: start; padding: 10px 14px; } .arow[aria-selected="true"] { transform: none; } .arow .at em { display: none; }
  .scene { padding: 20px 16px 34px; } .s2 .panel { grid-template-columns: 1fr; gap: 14px; } .cap h3 { font-size: 1.3rem; }
  .th, .tr { grid-template-columns: 26px 70px 1fr; gap: 6px; } .big { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { .scene.on *, .scene.on { animation: none !important; } .arow[aria-selected="true"] .aprog u { transition: none; } .scene { transition: none; } }

/* ---- colour: the stage uses the hero videos' palette (deep green-teal glass, one bright hue per job) ---- */
.stage, .dcard {
  --ink: #f2f8f6; --muted: #a3bbb4; --line: rgba(255, 255, 255, .15); --surface: rgba(255, 255, 255, .07); --bg: rgba(255, 255, 255, .045); --accent-ink: #04201c;
  --ok: #4be3a8; --ok-bg: rgba(75, 227, 168, .16); --warn: #ffc23d; --warn-bg: rgba(255, 194, 61, .14); --bad: #ff7a63; --bad-bg: rgba(255, 122, 99, .18);
  color: var(--ink); border-color: #1c4a42;
  background: radial-gradient(120% 90% at 85% -10%, #14574d 0%, rgba(20, 87, 77, 0) 60%), radial-gradient(90% 70% at -10% 110%, #0f3d44 0%, rgba(15, 61, 68, 0) 60%), #0a211d;
}
.stage::before, .dcard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); }
.scene { --accent: var(--hue); --soft: color-mix(in srgb, var(--hue) 24%, transparent); position: relative; }
.scene::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hue) 34%, transparent), transparent 68%); pointer-events: none; }
.cap h3 { color: #fff; } .cap p { color: var(--muted); }
.panel { background: rgba(255, 255, 255, .05); border-color: color-mix(in srgb, var(--hue) 38%, transparent); backdrop-filter: blur(6px); box-shadow: 0 20px 50px -28px color-mix(in srgb, var(--hue) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .06); }
.eg { color: rgba(255, 255, 255, .45); z-index: 1; }
.sc .av { background: color-mix(in srgb, var(--pc, var(--hue)) 28%, transparent); color: color-mix(in srgb, var(--pc, var(--hue)) 60%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc, var(--hue)) 55%, transparent); }
.tr .days .h { background: color-mix(in srgb, var(--pc, var(--hue)) 24%, transparent); color: color-mix(in srgb, var(--pc, var(--hue)) 55%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc, var(--hue)) 40%, transparent); }
.clk span { color: #fff; text-shadow: 0 0 24px color-mix(in srgb, var(--hue) 80%, transparent); }
.big { color: #fff; text-shadow: 0 0 28px color-mix(in srgb, var(--hue) 70%, transparent); }
.lb u { background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 45%, #fff)); }
.bal .chips .c1 { background: var(--ok-bg); color: var(--ok); } .bal .chips .c2 { background: color-mix(in srgb, var(--hue) 22%, transparent); color: color-mix(in srgb, var(--hue) 60%, #fff); }
.occ .n { color: var(--bad); text-shadow: 0 0 22px var(--bad-bg); } .mk i { box-shadow: 0 0 0 5px var(--bad-bg), 0 0 18px var(--bad); }
.alert { border-color: color-mix(in srgb, var(--warn) 55%, transparent); box-shadow: 0 0 32px -10px var(--warn); } .alert b { color: #fff; }
.inbox { background: rgba(8, 27, 24, .55); } .mrow.new { background: color-mix(in srgb, var(--hue) 20%, transparent); } .mrow .dot { background: var(--hue); box-shadow: 0 0 10px var(--hue); } .mrow b { color: #fff; }
.li .n { background: var(--pc); color: #06201d; box-shadow: 0 0 16px -2px var(--pc); } .li u { color: color-mix(in srgb, var(--hue) 60%, #fff); }
.bellw { background: linear-gradient(135deg, var(--hue), color-mix(in srgb, var(--hue) 55%, #3b2bb0)); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--hue) 22%, transparent), 0 0 40px color-mix(in srgb, var(--hue) 80%, transparent); }
.ding { color: color-mix(in srgb, var(--hue) 55%, #fff); } .ring { border-color: var(--hue); }
.nf { background: rgba(8, 27, 24, .55); border-color: color-mix(in srgb, var(--hue) 40%, transparent); } .nf b { color: #fff; } .press { background: linear-gradient(135deg, var(--hue), color-mix(in srgb, var(--hue) 60%, #5b3fd0)); color: #fff; box-shadow: 0 8px 20px -8px var(--hue); }
.nw .av { background: linear-gradient(135deg, var(--hue), color-mix(in srgb, var(--hue) 50%, #7a2bd0)); color: #fff; box-shadow: none; } .nw b { color: #fff; }
.pg u { background: linear-gradient(90deg, var(--hue), #4be3a8); }
.ci .bx { box-shadow: 0 0 14px -2px var(--ok); }
/* list on the left: each job carries its own colour */
.arow .ico { background: linear-gradient(135deg, var(--hue), color-mix(in srgb, var(--hue) 55%, #000)); box-shadow: 0 6px 16px -8px var(--hue); }
.arow[aria-selected="true"] { border-color: var(--hue); box-shadow: 0 16px 34px -18px var(--hue), 0 0 0 1px color-mix(in srgb, var(--hue) 50%, transparent); }
.arow .aprog u { background: var(--hue); }
.arow:hover { border-color: color-mix(in srgb, var(--hue) 70%, var(--line)); }
@media (max-width: 900px) { .scene::after { width: 220px; height: 220px; right: -60px; top: -80px; } .stage::before, .dcard::before { background-size: 28px 28px; } }

/* ---- page-wide colour and motion: same palette as the stage ---- */
@keyframes rv { from { opacity: 0; transform: translateY(20px); } }
.rv { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }
.agent, .int, .aud a, .sp, .tile { transition: transform .3s, box-shadow .3s, border-color .3s; }
/* people, work, pay */
.pil2 { color: #fff; border-color: color-mix(in srgb, var(--hue) 40%, transparent); position: relative; overflow: hidden; gap: 14px; padding: 26px; background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--hue) 30%, transparent), transparent 70%), #0a211d; }
.pil2:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -24px var(--hue); border-color: var(--hue); }
.pil2 .ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--hue), color-mix(in srgb, var(--hue) 55%, #000)); box-shadow: 0 8px 22px -8px var(--hue); }
.pil2 h3 { font-size: 1.6rem; } .pil2 h3 small { font: 500 14px var(--body); color: color-mix(in srgb, var(--hue) 55%, #fff); margin-left: 4px; }
.pil2 .chips span { background: color-mix(in srgb, var(--hue) 20%, transparent); color: color-mix(in srgb, var(--hue) 40%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hue) 35%, transparent); }
.pil2.rv .chips span { opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.pil2.in .chips span { opacity: 1; transform: none; } .pil2.in .chips span:nth-child(1) { transition-delay: .3s; } .pil2.in .chips span:nth-child(2) { transition-delay: .4s; } .pil2.in .chips span:nth-child(3) { transition-delay: .5s; } .pil2.in .chips span:nth-child(4) { transition-delay: .6s; } .pil2.in .chips span:nth-child(5) { transition-delay: .7s; } .pil2.in .chips span:nth-child(6) { transition-delay: .8s; }
/* dashboard */
.frame { box-shadow: 0 40px 90px -34px rgba(18, 184, 134, .5), 0 30px 80px -30px rgba(29, 78, 216, .4); }
.tile { border-top: 3px solid var(--th, var(--accent)); } .tile:nth-child(1) { --th: #f5b82e; } .tile:nth-child(2) { --th: #4aa8f0; } .tile:nth-child(3) { --th: #2cc4bd; } .tile:nth-child(4) { --th: #f2674a; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px var(--th); }
.tile strong { color: var(--ink); }
.list .pill:not(.ok) { background: color-mix(in srgb, #f5b82e 28%, transparent); color: #9a6a00; } .list .row:hover { background: var(--soft); }
/* manager's desk / pocket */
.sp:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(18, 184, 134, .55); }
.sp .img { background: radial-gradient(75% 85% at 50% 105%, rgba(44, 196, 189, .6), transparent 70%), radial-gradient(60% 60% at 85% 0%, rgba(154, 134, 245, .35), transparent 70%), #0a211d; }
.sp:nth-child(2) .img { background: radial-gradient(75% 85% at 50% 105%, rgba(154, 134, 245, .6), transparent 70%), radial-gradient(60% 60% at 15% 0%, rgba(244, 138, 60, .3), transparent 70%), #0a211d; }
/* outcomes and pricing blocks */
.out > div { position: relative; transition: background .3s; }
.out > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--oh, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .7s ease .2s; }
.out > div.in::before { transform: none; } .out > div:nth-child(1) { --oh: #2cc4bd; } .out > div:nth-child(2) { --oh: #9a86f5; } .out > div:nth-child(3) { --oh: #f5b82e; } .out > div:nth-child(4) { --oh: #f2674a; }
.out > div:hover { background: color-mix(in srgb, var(--oh) 8%, transparent); }
.oi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(135deg, var(--oh), color-mix(in srgb, var(--oh) 55%, #000)); box-shadow: 0 8px 20px -8px var(--oh); } .oi svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.out > div:hover .oi { transform: rotate(-6deg) scale(1.08); } .oi { transition: transform .3s; }
/* brand statement */
.brandband { background: radial-gradient(70% 120% at 100% 0%, rgba(44, 196, 189, .35), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(154, 134, 245, .3), transparent 60%), #0a211d; border: 1px solid #1c4a42; position: relative; overflow: hidden; }
.brandband p { color: #fff; }
.brandband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%); background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -50% 0; } }
/* quote */
.quote { overflow: hidden; border-color: color-mix(in srgb, var(--grad-a) 28%, var(--line)); box-shadow: 0 30px 70px -40px rgba(18, 184, 134, .55); }
.quote::before { content: "\201C"; position: absolute; left: 22px; top: -6px; font: 700 150px/1 var(--display); background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .22; pointer-events: none; }
/* integrations */
.int { position: relative; overflow: hidden; border-top: 3px solid var(--ih); } .int:nth-child(1) { --ih: #4aa8f0; } .int:nth-child(2) { --ih: #2cc4bd; } .int:nth-child(3) { --ih: #f5b82e; } .int:nth-child(4) { --ih: #9a86f5; }
.int:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px var(--ih); } .int .chips span { background: color-mix(in srgb, var(--ih) 14%, transparent); }
/* audiences */
.aud a { position: relative; overflow: hidden; border-top: 3px solid var(--ah); } .aud a:nth-child(1) { --ah: #2cc4bd; } .aud a:nth-child(2) { --ah: #f5b82e; } .aud a:nth-child(3) { --ah: #9a86f5; }
.aud a:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px var(--ah); } .aud a span { display: inline-block; transition: transform .3s; } .aud a:hover span { transform: translateX(6px); }
/* faq and security */
details { transition: border-color .3s, box-shadow .3s; } details:hover { border-color: color-mix(in srgb, var(--grad-a) 45%, var(--line)); }
details[open] { border-color: var(--grad-a); box-shadow: 0 16px 34px -26px var(--grad-a); } details[open] p { animation: rv .4s ease-out; }
summary::after { transition: transform .3s; } details[open] summary::after { transform: rotate(180deg); }
/* closing band */
.final { position: relative; overflow: hidden; background: linear-gradient(135deg, #0a3a8f, #0a6fd6 45%, #12b886); }
.final::before, .final::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(10px); pointer-events: none; animation: drift 12s ease-in-out infinite alternate; }
.final::before { left: -80px; top: -120px; background: radial-gradient(circle, rgba(154, 134, 245, .55), transparent 70%); } .final::after { right: -80px; bottom: -140px; background: radial-gradient(circle, rgba(44, 196, 189, .6), transparent 70%); animation-delay: -6s; }
.final > * { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .rv, .rv.in, .pil2.rv .chips span { opacity: 1 !important; transform: none !important; transition: none; } .brandband::after, .final::before, .final::after { animation: none; } .out > div::before { transform: none; transition: none; } }

/* ---- Tonal bands: white, grey, dark. Each section is a full-width band so the page reads as chapters. ---- */
:root { --band-w: #ffffff; --band-g: #eceff8; --band-d: #0b1530; }
.band { background: var(--band-w); position: relative; }
.band.t-w { background: var(--band-w); } .band.t-g { background: var(--band-g); }
.band.t-d { background: var(--band-d); --ink: #f2f5ff; --muted: #aab5d8; --line: rgba(255, 255, 255, .14); --surface: rgba(255, 255, 255, .06); --bg: rgba(255, 255, 255, .04); --soft: rgba(255, 255, 255, .1); --accent: #7fa0ff; color: var(--ink); }
.band.block { padding-block: clamp(56px, 8vw, 96px); }
.hero-band { padding-bottom: clamp(24px, 4vw, 48px); }
.hero-band .note { margin-bottom: 0; }
/* full-bleed statement and closing bands */
.band.brandsec { padding: 0; } .band.brandsec .brandband { border-radius: 0; border: 0; padding: clamp(64px, 10vw, 112px) 24px; }
.band.fin { padding: 0; } .band.fin .final { border-radius: 0; padding: clamp(64px, 10vw, 112px) 24px; }
footer { margin-top: 0; background: var(--band-w); }
body { margin: 0; }
:root { color-scheme: light; }

/* ---- Social proof: logo marquee + two-column quote ---- */
.trust { text-align: center; padding-block: 8px clamp(8px, 2vw, 24px); }
.trust > p { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 0 18px; display: flex; gap: 10px 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.trust .ph { margin: 0; }
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marq .track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.marq .set { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; }
.marq:hover .track { animation-play-state: paused; }
.marq img { height: 34px; width: auto; max-width: 140px; opacity: .6; flex: none; transition: opacity .2s; }
.marq img:hover { opacity: .9; }
@keyframes marq { to { transform: translateX(-12.5%); } }
.quote.q2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 56px); text-align: left; align-items: center; max-width: 1000px; }
.quote.q2::before { display: none; }
.qstat { display: flex; flex-direction: column; gap: 6px; padding-right: clamp(0px, 3vw, 32px); border-right: 1px solid var(--line); }
.qstat strong { font: 700 clamp(3rem, 7vw, 4.6rem)/1 var(--display); letter-spacing: -0.03em; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qstat span { color: var(--muted); font-size: 15px; }
.qstat .ph { margin: 10px 0 0; align-self: flex-start; font-size: 11px; }
.quote.q2 blockquote { text-align: left; }
@media (max-width: 760px) { .quote.q2 { grid-template-columns: 1fr; } .qstat { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; } .marq .set { gap: 44px; padding-right: 44px; } }
@media (prefers-reduced-motion: reduce) { .marq .track { animation: none; width: auto; justify-content: center; } .marq { -webkit-mask-image: none; mask-image: none; } .marq .set[aria-hidden] { display: none; } }

.portrait { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.who2 .cologo { height: 26px; width: auto; margin-left: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 520px) { .who2 { flex-wrap: wrap; } .who2 .cologo { margin: 6px 0 0; padding: 0; border: 0; flex-basis: 100%; height: 24px; justify-self: start; } }

/* ---- Partner page showcases (accountants, advisers, industry partners) ---- */
.pz .panel { padding: 16px; } .pz .cap p { max-width: 60ch; }
.pzb { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.pzb li { position: relative; padding-left: 22px; } .pzb li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--hue); font-weight: 700; }
.pz-sw { display: grid; } .pz-sw .pz-chip { grid-area: 1 / 1; justify-self: end; }
.pz-chip { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pz-chip.w { background: color-mix(in srgb, #f5b82e 25%, transparent); color: #ffc23d; opacity: 0; }
.pz-chip.g { background: color-mix(in srgb, #3ddc97 24%, transparent); color: #6ff0b8; opacity: 1; }
.pz-list { display: grid; gap: 8px; }
.pz-r, .pz-task { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.pz-r b, .pz-task b { font: 600 14.5px var(--display); color: #fff; flex: 1; min-width: 0; } .pz-r em { color: var(--muted); font-size: 12.5px; font-style: normal; }
.pz-av { width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--hue) 35%, transparent); color: #fff; font: 700 11px/28px var(--body); text-align: center; flex: none; }
.pz-bar { margin-top: 12px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.pz-bar u { flex: 1; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--hue), color-mix(in srgb, var(--hue) 50%, #fff)); display: block; } .pz-bar em { font-style: normal; font-weight: 600; color: var(--hue); }
.pz-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pz-t { padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 2px; position: relative; }
.pz-t b { font: 600 13.5px var(--display); color: #fff; } .pz-t em { font-size: 12px; color: var(--muted); font-style: normal; }
.pz-dot { position: absolute; right: 12px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .18); }
.pz-sum { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 14px; }
.pz-sum strong { font: 700 clamp(2rem, 5vw, 2.8rem)/1 var(--display); color: var(--hue); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pz-ref { display: flex; align-items: center; gap: 14px; }
.pz-node { flex: none; width: 140px; padding: 16px 12px; text-align: center; border-radius: 12px; background: color-mix(in srgb, var(--hue) 16%, transparent); border: 1px solid color-mix(in srgb, var(--hue) 45%, transparent); }
.pz-node b { display: block; font: 600 15px var(--display); color: #fff; } .pz-node em { font-style: normal; font-size: 12px; color: var(--muted); }
.pz-track { position: relative; flex: 1; height: 96px; border-top: 1px dashed rgba(255, 255, 255, .2); border-bottom: 1px dashed rgba(255, 255, 255, .2); min-width: 0; }
.pz-tok { position: absolute; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--hue); color: #04201c; white-space: nowrap; }
.pz-tok.a { top: 10px; left: calc(100% - 150px); } .pz-tok.b { bottom: 10px; left: 0; background: #fff; }
.pz-pops { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; } .pz-pops span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, #3ddc97 22%, transparent); color: #6ff0b8; }
.pz-pops svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pz-chart { height: 150px; display: flex; align-items: flex-end; gap: 12px; padding: 4px 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.pz-b { flex: 1; height: 100%; position: relative; display: flex; align-items: flex-end; } .pz-b i { display: block; width: 100%; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--hue), color-mix(in srgb, var(--hue) 40%, transparent)); transform-origin: bottom; }
.pz-b em { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-style: normal; font-size: 11.5px; color: var(--muted); }
.pz-chart + .pz-sum { margin-top: 30px; }
.pz-phone { width: min(280px, 100%); margin: 0 auto; padding: 12px; border-radius: 24px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; }
.pz-ph { display: flex; align-items: center; gap: 8px; padding: 4px 4px 8px; } .pz-ph b { font: 600 15px var(--display); color: #fff; flex: 1; }
.pz-brand { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--hue), #fff); }
.pz-badge { font-style: normal; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 99px; background: #f2674a; color: #fff; display: grid; place-items: center; }
.pz-pc { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.pz-pc b { display: block; font: 600 13px var(--display); color: #fff; } .pz-pc em { font-style: normal; font-size: 12px; color: var(--muted); }
.pz-pi { width: 32px; height: 32px; border-radius: 9px; background: color-mix(in srgb, var(--hue) 35%, transparent); display: grid; place-items: center; flex: none; } .pz-pi svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pz-hub { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--hue) 20%, transparent); border: 1px solid color-mix(in srgb, var(--hue) 50%, transparent); display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.pz-hub span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hue); } .pz-hub b { font: 600 15px var(--display); color: #fff; }
.pz-firms { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pz-f { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); } .pz-f b { font: 600 13.5px var(--display); color: #fff; }
.pz-f i { width: 20px; height: 20px; border-radius: 50%; background: #3ddc97; display: grid; place-items: center; } .pz-f svg { width: 12px; height: 12px; stroke: #04201c; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.pz-meter { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); } .pz-meter div { flex: 1; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pz-meter u { display: block; height: 100%; width: var(--to, 35%); border-radius: 10px; background: linear-gradient(90deg, var(--hue), color-mix(in srgb, var(--hue) 50%, #fff)); } .pz-meter strong { font: 700 1.4rem var(--display); color: var(--hue); min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.pz-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pz-col { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 7px; align-content: start; }
.pz-col h4 { margin: 0 0 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--hue); }
.pz-col span { font-size: 13px; color: #fff; padding: 7px 9px; border-radius: 8px; background: color-mix(in srgb, var(--hue) 16%, transparent); }
.pz-done { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #6ff0b8; } .pz-done svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pz-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pz-m { padding: 16px 10px; text-align: center; font: 600 13.5px var(--display); color: #fff; border-radius: 10px; background: color-mix(in srgb, var(--hue) 18%, transparent); border: 1px solid color-mix(in srgb, var(--hue) 50%, transparent); }
.pz-gr { position: relative; height: 190px; } .pz-gr svg { position: absolute; inset: 0 0 20px; width: 100%; height: calc(100% - 20px); overflow: visible; }
.pz-line { fill: none; stroke: var(--hue); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; } .pz-area { fill: color-mix(in srgb, var(--hue) 18%, transparent); }
.pz-flag { position: absolute; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .2); white-space: nowrap; }
.pz-flag.f1 { left: 24%; top: 38%; } .pz-flag.f2 { left: 50%; top: 22%; } .pz-flag.f3 { left: 72%; top: 6%; }
.pz-worth { position: absolute; left: 0; bottom: 0; font: 600 14px var(--display); color: var(--hue); }

@keyframes pzRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pzPop { from { opacity: 0; transform: scale(.7); } 60% { transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes pzOut { from { opacity: 1; } to { opacity: 0; } } @keyframes pzIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pzFill { from { width: 0; } } @keyframes pzMeter { from { width: var(--from, 0%); } }
@keyframes pzGrow { from { transform: scaleY(0); } } @keyframes pzDraw { from { stroke-dashoffset: 1; } }
@keyframes pzDot { from { background: #f5b82e; box-shadow: 0 0 0 4px rgba(245, 184, 46, .2); } }
@keyframes pzFly { 0% { opacity: 0; left: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 150px); } }
@keyframes pzFlyB { 0% { opacity: 0; left: calc(100% - 150px); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; left: 0; } }
.scene.on .pz-r, .scene.on .pz-task, .scene.on .pz-t, .scene.on .pz-f, .scene.on .pz-col, .scene.on .pz-pc { animation: pzRise .5s ease-out calc(.2s + var(--k) * .45s) both; }
.scene.on .pz-r .pz-chip.w, .scene.on .pz-task .pz-chip.w { animation: pzOut .3s ease calc(1.1s + var(--k) * .7s) both; }
.scene.on .pz-r .pz-chip.g, .scene.on .pz-task .pz-chip.g { animation: pzIn .35s ease calc(1.1s + var(--k) * .7s) both; }
.scene.on .pz-r .pz-chip.w, .scene.on .pz-task .pz-chip.w { opacity: 1; }
.scene.on .pz-bar u { animation: pzFill 2.4s ease-in-out .4s both; } .scene.on .pz-bar em { animation: pzPop .5s ease-out 3.2s both; }
.scene.on .pz-dot { animation: pzDot .4s ease calc(.6s + var(--k) * .3s) both; } .scene.on .pz-t .pz-dot { animation-delay: calc(.9s + var(--k) * .35s); }
.scene.on .pz-tok.a { animation: pzFly 3.2s ease-in-out .3s both; } .scene.on .pz-tok.b { animation: pzFlyB 3.2s ease-in-out 1.6s both; }
.scene.on .pz-pops .p1 { animation: pzPop .5s ease-out 3.4s both; } .scene.on .pz-pops .p2 { animation: pzPop .5s ease-out 4.6s both; }
.scene.on .pz-b i { animation: pzGrow .7s cubic-bezier(.2, .8, .3, 1) calc(.2s + var(--k) * .4s) both; }
.scene.on .pz-badge { animation: pzPop .5s ease-out 1.6s both; }
.scene.on .pz-f i { animation: pzPop .4s ease-out calc(.8s + var(--k) * .35s) both; }
.scene.on .pz-hub { animation: pzRise .5s ease-out .1s both; }
.scene.on .pz-meter u { animation: pzMeter 3s ease-in-out .5s both; } .scene.on .p-build .pz-meter u { animation-duration: 3.6s; }
.scene.on .pz-done { animation: pzPop .5s ease-out 3.4s both; }
.scene.on .pz-m { animation: pzPop .45s ease-out calc(.2s + var(--k) * .45s) both; }
.scene.on .pz-line { animation: pzDraw 3.2s ease-in-out .3s both; } .scene.on .pz-area { animation: pzIn 1.4s ease-out 2.2s both; }
.scene.on .pz-flag { animation: pzPop .45s ease-out both; } .scene.on .pz-flag.f1 { animation-delay: 1.2s; } .scene.on .pz-flag.f2 { animation-delay: 2.1s; } .scene.on .pz-flag.f3 { animation-delay: 3s; } .scene.on .pz-worth { animation: pzRise .5s ease-out 3.4s both; }
.scene.on .pzb li { animation: pzRise .5s ease-out both; } .scene.on .pzb li:nth-child(1) { animation-delay: 4s; } .scene.on .pzb li:nth-child(2) { animation-delay: 4.25s; } .scene.on .pzb li:nth-child(3) { animation-delay: 4.5s; }
@media (max-width: 900px) { .pz-ref { flex-direction: column; align-items: stretch; } .pz-node { width: auto; } .pz-track { height: 78px; } .pz-tiles, .pz-firms, .pz-cols, .pz-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pz-cols { grid-template-columns: 1fr; } .pz-flag.f1 { left: 14%; } .pz-flag.f3 { left: 56%; } }
@media (prefers-reduced-motion: reduce) { .scene.on [class*="pz-"], .scene.on .pzb li { animation: none !important; } .scene.on .pz-r .pz-chip.w, .scene.on .pz-task .pz-chip.w { opacity: 0; } }


/* ---- Distinct layouts per partner page: bento (accountants), zig-zag (advisers), timeline (partners) ---- */
.dcard { border-radius: 18px; overflow: hidden; } .dcard .scene { grid-area: 1 / 1; opacity: 1; visibility: visible; padding: 24px 24px 26px; } .dcard .panel { margin-top: 0; } .dcard .scene .cap + .panel { margin-top: 20px; }
.dcard .eg { display: none; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .bcell { display: grid; min-width: 0; } .bcell > .dcard { height: 100%; } .bcell.wide { grid-column: 1 / -1; }
.pz-flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 36px 6px 6px; }
.pz-fl { position: absolute; left: 10%; right: 10%; top: 54px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); } .pz-fl u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--hue), color-mix(in srgb, var(--hue) 40%, #fff)); border-radius: 3px; }
.pz-pulse { position: absolute; top: 49px; left: 10%; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px 4px var(--hue); opacity: 0; }
.pz-fs { position: relative; text-align: center; display: grid; justify-items: center; gap: 4px; }
.pz-fs i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--hue); box-shadow: 0 0 0 6px color-mix(in srgb, var(--hue) 22%, transparent); } .pz-fs svg { width: 18px; height: 18px; stroke: #04201c; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pz-fs b { font: 600 14px/1.2 var(--display); color: #fff; margin-top: 8px; } .pz-fs em { font-style: normal; font-size: 12.5px; color: var(--muted); }
@keyframes pzPulse { 0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(90% - 13px); opacity: 0; } }
.scene.on .pz-fs { animation: pzRise .5s ease-out calc(.2s + var(--k) * .7s) both; } .scene.on .pz-fs i { animation: pzPop .45s ease-out calc(.3s + var(--k) * .7s) both; }
.scene.on .pz-fl u { animation: pzFill 3.6s ease-in-out .3s both; } .scene.on .pz-pulse { animation: pzPulse 3.6s ease-in-out .3s both; }
.zzs { display: grid; } .zz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 5vw, 56px); } .zz + .zz { border-top: 1px solid var(--line); }
.zz.flip .zt { order: 2; } .zz .num { font: 600 14px var(--display); color: var(--muted); display: block; margin-bottom: 8px; } .zz h3 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); } .zz .outcome { margin: 10px 0 18px; font-weight: 600; color: var(--accent); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .zz { grid-template-columns: 1fr; } .zz.flip .zt { order: 0; } .pz-flow { grid-template-columns: 1fr; gap: 16px; padding-top: 6px; } .pz-fl, .pz-pulse { display: none; } .pz-fs { grid-template-columns: 38px 1fr; text-align: left; justify-items: start; align-items: center; column-gap: 12px; } .pz-fs i { grid-row: span 2; } .pz-fs b { margin: 0; } }
.tl { position: relative; max-width: 960px; margin-inline: auto; padding-left: 64px; --p: 0; }
.tl-spine { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); } .tl-spine u { display: block; width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(180deg, var(--grad-a), var(--grad-b)); border-radius: 3px; }
.tl-i { position: relative; padding-bottom: clamp(36px, 6vw, 72px); } .tl-i:last-child { padding-bottom: 0; }
.tl-n { position: absolute; left: -64px; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font: 700 17px var(--display); color: var(--muted); transition: background .4s, color .4s, border-color .4s, transform .4s; } .tl-n.on { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; border-color: transparent; transform: scale(1.08); }
.tl-b h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); padding-top: 4px; } .tl-b > p { color: var(--muted); margin: 10px 0 20px; max-width: 62ch; }
@media (max-width: 600px) { .tl { padding-left: 52px; } .tl-n { left: -52px; width: 38px; height: 38px; font-size: 15px; } .tl-spine { left: 17px; } }
@media (prefers-reduced-motion: reduce) { .scene.on .pz-fs, .scene.on .pz-fs i, .scene.on .pz-fl u, .scene.on .pz-pulse { animation: none !important; } .pz-pulse { display: none; } }
.bcell .pz-tiles, .bcell .pz-firms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pz-t b { padding-right: 16px; }

.cdlg { border: 1px solid var(--line); border-radius: 14px; padding: 28px; max-width: 420px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); position: fixed; }
.cdlg::backdrop { background: rgba(14, 26, 59, .55); }
.cdlg h3 { font-size: 24px; margin-bottom: 8px; } .cdlg p { color: var(--muted); }
.cdlg .cadr { font: 600 17px var(--body); color: var(--ink); margin: 14px 0 18px; }
.cdlg .cact { display: flex; flex-direction: column; gap: 10px; }
.cdlg .cx { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
