/* Quick Help VA homepage: proof beside every promise. Brand navy, sky blue, aqua on white. */

:root {
  --white: #ffffff;
  --paper: #f3f8fc;
  --paper-2: #e8f1f8;
  --navy: #1b1f8a;
  --navy-deep: #141767;
  --navy-ink: #0f1240;
  --sky: #3a8fd0;
  --sky-deep: #2b6fa6;
  --aqua: #6fd8e6;
  --ink: #141a2e;
  --ink-2: #4a546b;
  --ink-3: #5f6880;
  --line: #d9e3ee;
  --line-strong: #b8c8d8;
  --ok: #1f7a4d;
  --gold: #f5b83d;
  --gold-deep: #e6a21f;
  --gold-ink: #1b1f8a;
  --glow: 0 0 0 3px rgba(111, 216, 230, 0.35), 0 0 34px -6px rgba(111, 216, 230, 0.55);
  --glow-strong: 0 0 0 4px rgba(111, 216, 230, 0.55), 0 0 46px -4px rgba(111, 216, 230, 0.75);
  --radius: 14px;
  --nav-h: 64px;
  --rail-w: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(111, 216, 230, 0.45); color: var(--navy-ink); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-strong) var(--white); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 2px solid var(--white); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { position: relative; padding-block: clamp(64px, 8vw, 112px); scroll-margin-top: var(--nav-h); }
.section-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { margin-top: 14px; }
.band { background: var(--paper); }

/* ---------- Ambient light: soft brand-colour blobs the glass refracts ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.8; will-change: transform; }
.ambient .b1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: -10%; top: -20%; background: radial-gradient(circle, rgba(111, 216, 230, 0.55), rgba(111, 216, 230, 0) 65%); animation: drift1 26s ease-in-out infinite alternate; }
.ambient .b2 { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; right: -8%; top: 10%; background: radial-gradient(circle, rgba(58, 143, 208, 0.42), rgba(58, 143, 208, 0) 65%); animation: drift2 32s ease-in-out infinite alternate; }
.ambient .b3 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: 35%; bottom: -25%; background: radial-gradient(circle, rgba(27, 31, 138, 0.22), rgba(27, 31, 138, 0) 65%); animation: drift3 38s ease-in-out infinite alternate; }
section > .wrap { position: relative; z-index: 1; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -12vh) scale(1.2); } }

/* ---------- Glass: frosted white panels lit from within ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55)) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(58, 143, 208, 0.08),
    0 18px 44px -24px rgba(15, 18, 64, 0.28),
    var(--glow);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.glass::before, .edge-glow::before {
  content: ""; position: absolute; inset: -4px; z-index: 2; border-radius: calc(var(--r, 18px) + 4px); padding: 5px; pointer-events: none;
  background: radial-gradient(190px circle at calc(var(--mx, -200px) + 4px) calc(var(--my, -200px) + 4px), rgba(255, 201, 90, 1), rgba(245, 184, 61, 0.65) 35%, transparent 70%);
  -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;
  filter: drop-shadow(0 0 8px rgba(245, 184, 61, 0.9)) drop-shadow(0 0 18px rgba(245, 184, 61, 0.45));
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.glass:hover::before, .edge-glow:hover::before { opacity: 1; }
.edge-glow { position: relative; isolation: isolate; }
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-120%); opacity: 0;
}
.glass:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(111, 216, 230, 0.35), 0 30px 60px -26px rgba(27, 31, 138, 0.35), var(--glow-strong); }
.glass.shine::after { animation: sheen 1.1s var(--ease) forwards; }
@keyframes sheen { 0% { transform: translateX(-120%); opacity: 1; } 100% { transform: translateX(120%); opacity: 0; } }
.glass.revealing { animation: glass-in 1s var(--ease) both; }
@keyframes glass-in { from { opacity: 0; transform: translateY(26px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@media (prefers-reduced-transparency: reduce) { .glass { background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Cursor trail (desktop only; the real cursor stays) ---------- */
.trail-canvas { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn i { font-size: 1.15em; }
.btn-primary { background: linear-gradient(180deg, #ffc95a, var(--gold)); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 24px -12px rgba(230, 162, 31, 0.85); }
.btn-primary:hover { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 16px 30px -12px rgba(230, 162, 31, 0.9); }
.btn-primary:focus-visible { outline-color: var(--navy); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--sky); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo-img { height: 44px; width: auto; display: block; }
footer .logo-img { height: 48px; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--aqua); font-size: 1.35rem; }
.logo-text { font-family: var(--font-display); line-height: 1; }
.logo-text strong { display: block; font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; }
.logo-text span { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; color: var(--sky-deep); margin-top: 3px; white-space: nowrap; }
.top-links { display: flex; gap: 2px; }
.top-links a { padding: 8px 12px; border-radius: 999px; font-size: 0.93rem; font-weight: 500; color: var(--ink-2); }
.top-links a:hover { color: var(--navy); background: var(--paper); }

/* ---------- Side rail (desktop) ---------- */
.rail { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 6px; padding: 10px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); box-shadow: 0 16px 40px -20px rgba(20, 26, 46, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rail a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-3); font-size: 1.15rem; transition: color 0.3s var(--ease), background 0.3s var(--ease); }
.rail a:hover { color: var(--navy); background: var(--paper); }
.rail a.active { color: var(--navy); background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--aqua), 0 0 18px 2px rgba(111, 216, 230, 0.7); }
.rail a .tip { position: absolute; left: 50px; top: 50%; transform: translateY(-50%) translateX(-6px); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--navy-ink); color: #fff; font-size: 0.78rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.rail a:hover .tip, .rail a:focus-visible .tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Bottom bar (phones) ---------- */
.tabbar { display: none; }

/* ---------- Hero headline: rotating role ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.h1-line { display: block; }
.h1-sub { font-size: 0.62em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 0.3em; color: var(--navy); }
.rotator { display: inline-block; position: relative; white-space: nowrap; overflow: clip; overflow-clip-margin: 0; padding-top: 0.04em; padding-bottom: 0.16em; margin-bottom: -0.16em; vertical-align: bottom; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.11em; border-radius: 99px; background: linear-gradient(90deg, var(--navy), var(--sky) 55%, var(--aqua)); transform-origin: left center; transition: transform 0.6s var(--ease); }
.rotator.swapping::after { transform: scaleX(0.08); }
.rotator.flash::after { animation: underline-gold 1.3s ease-in-out; }
@keyframes underline-gold { 0%, 100% { filter: none; } 25%, 65% { background: linear-gradient(90deg, #ffc95a, var(--gold) 55%, var(--gold-deep)); } }
/* Glass-style sheen: a light band sweeps across the gold name, like the card hover shine */
.rotator::before { content: ""; position: absolute; top: 0; bottom: 0.16em; left: 0; width: 38%; z-index: 1; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(-130%) skewX(-18deg); opacity: 0; mix-blend-mode: soft-light; }
.rotator.flash::before { animation: name-sheen 1s ease-in-out 0.25s; }
@keyframes name-sheen { 0% { transform: translateX(-130%) skewX(-18deg); opacity: 1; } 100% { transform: translateX(300%) skewX(-18deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rotator.flash::before, .rotator.flash::after { animation: none; } }
.rotator-word { display: inline-block; color: var(--sky); }
.rotator-word .ch { display: inline-block; will-change: transform, opacity; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 64px); }
/* Headline spans the full width (two balanced lines); copy and video share the row beneath. */
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px clamp(28px, 4vw, 56px); align-items: start; }
.hero h1 { grid-column: 1 / -1; max-width: 46ch; }
.hero-copy { grid-column: 1; align-self: start; padding-top: 8px; }
.hero-vid { grid-column: 2; grid-row: 2; }
.hero .vid.portrait { max-width: 340px; aspect-ratio: 9 / 13; }
.hero .lead { margin-top: 0; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.proof-line { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; padding-top: 14px; font-size: 0.9rem; color: var(--ink-2); position: relative; }
.proof-line::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; border-radius: 2px; background: var(--aqua); }
.proof-line span { display: inline-flex; align-items: center; gap: 6px; }
.proof-line i { color: var(--sky); }

/* Video card */
.vid { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy-ink); box-shadow: 0 30px 60px -30px rgba(20, 26, 46, 0.5), var(--glow); border: 1px solid var(--line); }
.hero-vid { box-shadow: 0 30px 60px -30px rgba(20, 26, 46, 0.5), 0 0 0 4px rgba(111, 216, 230, 0.35), 0 0 40px -6px rgba(111, 216, 230, 0.55); }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid.portrait { aspect-ratio: 9 / 14; max-width: 380px; margin-left: auto; }
.vid .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(15, 18, 64, 0) 40%, rgba(15, 18, 64, 0.75)); border: 0; color: #fff; }
.vid .play .circle { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font-size: 1.8rem; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5); transition: transform 0.35s var(--ease); }
.vid .play:hover .circle { transform: scale(1.06); }
.vid .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; text-align: left; pointer-events: none; }
.vid .cap strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.vid .cap span { font-size: 0.85rem; opacity: 0.85; }
.vid.playing .play { display: none; }

/* ---------- Trust strip ---------- */
.trust { padding-block: 0 clamp(48px, 6vw, 72px); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-size: 0.93rem; font-weight: 500; color: var(--ink); border-radius: var(--radius); }
.trust li i { color: var(--sky); font-size: 1.4rem; flex: none; }

/* ---------- Tools strip: three drifting rows of brand marks ---------- */
.tools { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); overflow: hidden; }
.tools-rows { display: grid; gap: 2px; }
.tools-row { margin: 0; }
.tools-label { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--sky-deep); margin-bottom: 2px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 8px; width: max-content; padding: 5px 0; animation: marquee 60s linear infinite; }
.tools-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tool { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(15, 18, 64, 0.25); font-weight: 600; font-size: 0.9rem; color: var(--ink); white-space: nowrap; animation: bob 4s ease-in-out infinite; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.tool:nth-child(3n) { animation-delay: -1.3s; } .tool:nth-child(3n + 1) { animation-delay: -2.6s; } .tool:nth-child(2n) { animation-duration: 5s; }
.tool img { width: 24px; height: 24px; object-fit: contain; }
.tool:hover { transform: translateY(-4px) scale(1.04); border-color: var(--sky); box-shadow: 0 12px 24px -12px rgba(27, 31, 138, 0.35); animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@media (max-width: 860px) { .tools-rows { gap: 0; } .tool { font-size: 0.84rem; padding: 7px 12px 7px 9px; } .tool img { width: 20px; height: 20px; } }

/* ---------- Services ---------- */
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.role { padding: 26px 26px 24px; border-radius: 18px; display: grid; grid-template-columns: 48px 1fr; gap: 10px 18px; align-items: start; }
.role > :not(.icon) { grid-column: 2; }
.role .icon { grid-row: 1 / span 4; position: relative; isolation: isolate; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy), var(--sky-deep)); color: #fff; font-size: 1.45rem; box-shadow: 0 8px 18px -8px rgba(27, 31, 138, 0.6); transition: color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.45s var(--ease); }
.role .icon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: linear-gradient(160deg, #ffd47a, var(--gold) 55%, var(--gold-deep)); opacity: 0; transition: opacity 0.35s var(--ease); }
.role:hover .icon { color: var(--gold-ink); transform: scale(1.08) rotate(-4deg); box-shadow: 0 10px 22px -8px rgba(230, 162, 31, 0.75), 0 0 0 3px rgba(245, 184, 61, 0.28); }
.role:hover .icon::before { opacity: 1; }
.role p { color: var(--ink-2); font-size: 0.96rem; }
.role ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.role li { font-size: 0.8rem; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.role .note { font-size: 0.84rem; color: var(--ink-3); }

/* ---------- Websites I've built: card grid ---------- */
.sites-wrap { position: relative; margin-bottom: clamp(40px, 5vw, 64px); clip-path: inset(-60px -16px); }
.sites { --gap: 20px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 24px 20px 36px; margin: -24px -20px -36px; scroll-padding-inline: 20px; overscroll-behavior-x: contain; }
.sites::-webkit-scrollbar { display: none; }
.site { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); scroll-snap-align: start; }
.sites-arrow { position: absolute; top: 34%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.2rem; color: var(--gold-ink); background: linear-gradient(180deg, #ffc95a, var(--gold)); box-shadow: 0 0 0 3px #fff, 0 10px 24px -8px rgba(230, 162, 31, 0.9); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease); }
.sites-arrow.prev { left: 14px; } .sites-arrow.next { right: 14px; }
.sites-arrow:hover { transform: scale(1.08); background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.sites-arrow:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.sites-arrow:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .sites-arrow { opacity: 0; }
  .sites-arrow.prev { transform: translateX(-8px); } .sites-arrow.next { transform: translateX(8px); }
  .sites-wrap:hover .sites-arrow, .sites-wrap:focus-within .sites-arrow { opacity: 1; transform: none; }
  .sites-wrap:hover .sites-arrow:hover { transform: scale(1.08); }
}
.site { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: visible; padding: 10px; color: var(--ink); }
.site .site-body { grid-template-rows: auto 1fr auto; }
.site img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); }
.site-body { padding: 16px 12px 10px; display: grid; gap: 8px; align-content: start; }
.site-body p { color: var(--ink-2); font-size: 0.93rem; }
.site-link { font-weight: 600; font-size: 0.9rem; color: var(--sky-deep); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.site-shot { display: block; border-radius: 12px; overflow: hidden; }
.site-shot img { transition: transform 0.6s var(--ease); }
a.site-shot:hover img { transform: scale(1.03); }
.site-actions { display: grid; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.site-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-link.muted { color: var(--ink-3); font-weight: 500; }
.site-link-ba { color: #c98a10; font-weight: 700; }
.site-link-ba:hover { color: #a86f06; text-decoration: underline; text-underline-offset: 3px; }
.site-link-ba i { transition: transform 0.3s var(--ease); }
.site-link-ba:hover i { transform: translateY(2px); }
.ba-title { margin-bottom: 18px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
@media (max-width: 1024px) { .site { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 640px) { .site { flex-basis: 100%; } .sites-arrow { width: 42px; height: 42px; margin-top: -21px; } .sites-arrow.prev { left: 8px; } .sites-arrow.next { right: 8px; } }
@media (prefers-reduced-motion: reduce) { .sites { scroll-behavior: auto; } }

/* ---------- Websites: before / after sliders (from the Grok hand-off, restyled to the brand) ---------- */
.ba-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 920px; margin-bottom: 14px; }
.ba-nav { display: flex; align-items: center; gap: 8px; }
.ba-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 1.15rem; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.ba-btn:hover { background: var(--paper-2); border-color: var(--sky); transform: translateY(-1px); }
.ba-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.ba-count { font-family: var(--font-display); font-weight: 600; color: var(--ink-2); font-size: 0.9rem; min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.ba-carousel { position: relative; max-width: 920px; }
.ba-track { --gap: 24px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; gap: var(--gap); padding: 24px 20px 34px; margin: -24px -20px -34px; scroll-padding-inline: 20px; overscroll-behavior-x: contain; }
.ba-track::-webkit-scrollbar { display: none; }
.ba-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.ba-slide:not(.is-active) .c-handle { animation: none; }
.ba-intro { color: var(--ink-2); font-size: 0.98rem; }
.ba-top { display: block; margin-bottom: 16px; }
.ba-top .ba-title { margin-bottom: 4px; }
.ba-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ba-open { --r: 14px; position: relative; display: grid; gap: 10px; padding: 8px 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); text-align: left; box-shadow: var(--glow); cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.ba-open:hover, .ba-open:focus-visible { transform: translateY(-4px); border-color: var(--aqua); box-shadow: var(--glow-strong); }
.ba-pair { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; }
.ba-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba-pair img + img { clip-path: inset(0 0 0 50%); transition: clip-path 0.7s var(--ease); }
.ba-open:hover .ba-pair img + img { clip-path: inset(0 0 0 22%); }
.ba-split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(111, 216, 230, 0.9); transition: left 0.7s var(--ease); }
.ba-split i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; color: var(--gold-ink); background: linear-gradient(180deg, #ffc95a, var(--gold)); box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(15, 18, 64, 0.35); }
.ba-open:hover .ba-split { left: 22%; }
.ba-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.ba-name i { color: var(--sky); font-size: 1.05rem; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.ba-open:hover .ba-name i { color: var(--gold-deep); transform: scale(1.15); }

/* Before/after pop-up */
html:has(.ba-modal[open]) { overflow: hidden; }
.ba-modal { width: min(1040px, 94vw); max-width: none; max-height: 94dvh; padding: clamp(14px, 2.4vw, 26px); border: 0; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(15, 18, 64, 0.6), var(--glow-strong); overflow: auto; }
.ba-modal::backdrop { background: rgba(15, 18, 64, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ba-modal[open] { animation: modal-in 0.45s var(--ease); }
.ba-modal[open]::backdrop { animation: fade-in 0.35s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.ba-modal-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ba-modal-title { font-size: 1.15rem; margin-right: auto; }
.ba-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.ba-close:hover { background: var(--paper-2); transform: rotate(90deg); }
.ba-modal .ba-carousel { max-width: none; }
.ba-modal .ba { max-width: min(100%, calc((94dvh - 220px) * 1.6)); margin-inline: auto; }
.ba-modal .ba-hint { margin-top: 8px; }
.ba-modal .ba-head { justify-content: flex-end; margin-bottom: 8px; }
.ba-modal .ba-head h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 860px) {
  .ba-thumbs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ba-open { padding: 6px 6px 10px; gap: 8px; }
  .ba-name { font-size: 0.84rem; }
  .ba-modal { width: 94vw; padding: 14px; border-radius: 18px; }
  .ba-modal-bar { gap: 8px; }
  .ba-modal .ba-btn, .ba-close { width: 40px; height: 40px; }
  .ba-modal-title { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .ba-modal[open], .ba-modal[open]::backdrop { animation: none; } .ba-pair img + img, .ba-split { transition: none; } }
@media (prefers-reduced-motion: reduce) { .ba-track { scroll-behavior: auto; } }
.ba-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.ba-head h3 { margin: 0; }
.ba-head a { font-weight: 600; font-size: 0.93rem; color: var(--sky-deep); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; }
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; padding: 0; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; -webkit-user-drag: none; }
.c-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.lbl { position: absolute; top: 12px; z-index: 3; font-family: var(--font-display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; color: #fff; padding: 6px 11px; border-radius: 999px; pointer-events: none; box-shadow: 0 4px 12px rgba(15, 18, 64, 0.25); }
.lbl.old { left: 12px; background: var(--ink-2); }
.lbl.new { right: 12px; background: var(--navy); }
.c-track { position: absolute; inset: 0; transform: translateX(var(--pos)); pointer-events: none; z-index: 4; }
.c-line { position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 18, 64, 0.25), 0 0 14px 2px rgba(111, 216, 230, 0.9), 0 0 30px rgba(111, 216, 230, 0.6); }
.c-handle {
  position: absolute; top: 50%; left: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  background: linear-gradient(160deg, var(--sky), var(--navy)); color: #fff; display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(111, 216, 230, 0.95), 0 0 24px 6px rgba(111, 216, 230, 0.75), 0 12px 28px rgba(15, 18, 64, 0.45);
  pointer-events: auto; cursor: grab; transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
  animation: handle-pulse 2.4s ease-in-out infinite;
}
@keyframes handle-pulse {
  0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(111, 216, 230, 0.95), 0 0 24px 6px rgba(111, 216, 230, 0.75), 0 12px 28px rgba(15, 18, 64, 0.45); }
  50% { box-shadow: 0 0 0 4px #fff, 0 0 0 9px rgba(111, 216, 230, 0.7), 0 0 40px 14px rgba(111, 216, 230, 0.55), 0 12px 28px rgba(15, 18, 64, 0.45); }
}
.c-handle:focus-visible { outline: 3px solid var(--aqua); outline-offset: 8px; }
.compare:hover .c-handle, .compare.dragging .c-handle { animation: none; }
.compare:hover .c-handle { transform: scale(1.06); }
.compare.dragging .c-handle { transform: scale(1.12); cursor: grabbing; }
.lbl { font-size: 0.8rem; padding: 7px 12px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 4px 14px rgba(15, 18, 64, 0.35); }
.lbl.old { background: linear-gradient(180deg, var(--sky), var(--sky-deep)); color: #fff; }
.lbl.new { background: linear-gradient(180deg, #ffc95a, var(--gold)); color: var(--gold-ink); }
.ba-hint { font-size: 0.86rem; color: var(--ink-3); margin-top: 14px; text-align: center; }
@media (max-width: 560px) {
  .lbl { font-size: 0.64rem; padding: 4px 8px; top: 8px; }
  .lbl.old { left: 8px; } .lbl.new { right: 8px; }
  .c-handle { width: 50px; height: 50px; margin: -25px 0 0 -25px; font-size: 1.3rem; }
}

/* Seven roles: four across, icon on top */
.roles.roles-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roles-grid .role { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; }
.roles-grid .role .icon { margin-bottom: 4px; }
.roles-grid .role h3 { font-size: 1.12rem; }
.roles-grid .role p { font-size: 0.92rem; }
.roles-grid .role ul { margin-top: auto; padding-top: 6px; }
.roles-grid .role-cta { grid-column: span 2;
}
.roles-grid .role-cta { background: linear-gradient(160deg, rgba(27, 31, 138, 0.08), rgba(111, 216, 230, 0.16)) !important; border-color: rgba(111, 216, 230, 0.6) !important; }
.roles-grid .role-cta .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .roles.roles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .roles.roles-grid { grid-template-columns: 1fr; } .roles-grid .role-cta { grid-column: auto; } }

/* ---------- Why us ---------- */
/* ---------- Why us: benefit tiles + navy promise card ---------- */
.why-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
.why-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-tile { padding: 22px; border-radius: 18px; display: grid; gap: 8px; align-content: start; }
.why-tile h3 { font-size: 1.08rem; margin-top: 6px; }
.why-tile p { color: var(--ink-2); font-size: 0.94rem; }
.why-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; color: var(--navy); background: var(--white); box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px rgba(245, 184, 61, 0.16), 0 8px 18px -8px rgba(230, 162, 31, 0.6); transition: transform 0.45s var(--ease), background 0.35s var(--ease); }
.why-tile:hover .why-icon { transform: rotate(-8deg) scale(1.06); background: #fff8e6; }
.promise { --r: 20px; position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 34px); border-radius: 20px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(245, 184, 61, 0.22), transparent 55%), linear-gradient(160deg, #23279c, var(--navy) 45%, var(--navy-ink)); box-shadow: 0 30px 60px -30px rgba(15, 18, 64, 0.7), var(--glow); }
.promise-rule { width: 52px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, #ffd47a, var(--gold)); }
.promise h3 { color: #fff; font-size: 1.4rem; }
.promise p { color: rgba(255, 255, 255, 0.82); font-size: 0.96rem; }
.promise-points { display: grid; gap: 10px; margin: 4px 0 6px; }
.promise-points li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; color: #fff; }
.promise-points i { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; color: var(--gold-ink); background: linear-gradient(180deg, #ffc95a, var(--gold)); }
.promise .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Client portal: tabs + live mini-portal ---------- */
.portal { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.6fr; gap: 24px; align-items: start; }
.portal-tabs { display: grid; gap: 8px; }
.portal-tab { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent; text-align: left; color: var(--ink-2); transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); --r: 14px; }
.portal-tab > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.portal-tab strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy); }
.portal-tab small { display: block; margin-top: 2px; font-size: 0.88rem; line-height: 1.45; color: var(--ink-3); }
.portal-tab:hover { background: rgba(255, 255, 255, 0.7); border-color: var(--line); }
.portal-tab[aria-selected="true"] { background: var(--white); border-color: rgba(111, 216, 230, 0.7); box-shadow: var(--glow); }
.portal-tab[aria-selected="true"] > i { color: var(--gold-ink); background: linear-gradient(180deg, #ffc95a, var(--gold)); border-color: transparent; }
.portal-tab::after { content: ""; position: absolute; left: 14px; bottom: 0; height: 3px; width: calc(100% - 28px); border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--sky)); transform: scaleX(0); transform-origin: left center; }
.portal-tab.timing::after { animation: tab-progress var(--dur, 6s) linear forwards; }
@keyframes tab-progress { to { transform: scaleX(1); } }
.portal-window { --r: 20px; border-radius: 20px; padding: 0; overflow: visible; }
.pw-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.75); border-radius: 20px 20px 0 0; }
.pw-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.pw-brand small { font-family: var(--font-body); font-weight: 500; color: var(--ink-3); font-size: 0.82rem; }
.pw-logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: #fff; background: #167a52; }
.pw-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--ok); }
.pw-body { display: grid; grid-template-columns: 56px 1fr; min-height: 360px; }
.pw-side { display: grid; align-content: start; gap: 6px; padding: 14px 8px; border-right: 1px solid var(--line); background: rgba(243, 248, 252, 0.7); border-bottom-left-radius: 0; }
.pw-side span { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-3); font-size: 1.15rem; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.pw-side span.on { color: var(--navy); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.pw-panel { padding: 18px 20px 20px; display: grid; gap: 14px; align-content: start; }
.pw-panel[hidden] { display: none; }
.pw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pw-head h3, .pw-head .pw-h { font-size: 1.1rem; }
.pw-head .pw-h { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--navy); }
.pw-people { display: flex; }
.av { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 0.74rem; font-weight: 700; color: #fff; border: 2px solid #fff; margin-left: -6px; }
.av-m { background: #c0507a; } .av-s { background: #167a52; } .av-j { background: #6c5ce7; }
.av-add { background: var(--white); color: var(--sky-deep); border: 1px dashed var(--line-strong); }
.pw-note { font-size: 0.82rem; color: var(--ink-3); }
.chat { display: grid; gap: 10px; }
.msg { display: flex; align-items: flex-end; gap: 8px; margin: 0; font-size: 0.93rem; }
.msg > span:last-child { padding: 9px 13px; border-radius: 14px; max-width: 78%; line-height: 1.4; }
.msg.me { justify-content: flex-end; }
.msg.me > span { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.them > span:last-child { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg .av { margin-left: 0; }
.mention { font-weight: 700; color: var(--gold); }
.pw-input { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-3); font-size: 0.9rem; }
.pw-input i { color: var(--sky); font-size: 1.1rem; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.col { padding: 10px; border-radius: 12px; background: rgba(232, 241, 248, 0.8); display: grid; gap: 8px; align-content: start; min-height: 200px; }
.col h4 { margin: 0 0 2px; font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.card { position: relative; display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: var(--white); box-shadow: 0 4px 10px -6px rgba(15, 18, 64, 0.25); font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.card .av { position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px; font-size: 0.62rem; }
.card-live { padding-right: 34px; }
.tag { justify-self: start; padding: 2px 8px; border-radius: 6px; font-style: normal; font-size: 0.7rem; font-weight: 700; }
.t-social { background: #fde8ea; color: #b4233b; } .t-web { background: #e3eefc; color: #1d55a8; } .t-design { background: #ece8fd; color: #5b3fc0; } .t-copy { background: #fdf3dc; color: #8a5a00; } .t-brand { background: #e1f5ea; color: #16774c; }
.files { display: grid; gap: 8px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.files li i { font-size: 1.5rem; color: var(--sky-deep); }
.files small { display: block; font-weight: 500; font-size: 0.78rem; color: var(--ink-3); }
.kit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: rgba(232, 241, 248, 0.8); font-size: 0.86rem; color: var(--ink-2); }
.kit-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); margin-right: 4px; }
.sw { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(15, 18, 64, 0.1); }
.kit-font { margin-left: auto; font-weight: 600; }
.pw-total { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.live { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #e6f4ec; color: #145c3b; font-size: 0.88rem; font-weight: 600; }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: #1f9d6b; box-shadow: 0 0 0 0 rgba(31, 157, 107, 0.5); animation: live-ping 1.6s ease-out infinite; }
@keyframes live-ping { to { box-shadow: 0 0 0 9px rgba(31, 157, 107, 0); } }
.hours { display: grid; gap: 8px; }
.hours li { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-2); }
.hours b { text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; }
.hours .bar { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--sky), var(--navy)); width: var(--h); }
.pw-status { padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: #8a5a00; background: #fdf3dc; }
.inv-meta { margin: -6px 0 0; font-size: 0.86rem; color: var(--ink-3); }
.inv { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.inv th { text-align: left; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-3); padding: 6px 0; border-bottom: 1px solid var(--line); }
.inv td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.inv th:nth-child(n+2), .inv td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.inv tfoot td { border-bottom: 0; padding-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.pw-demo { margin: 0; padding: 8px 18px 12px; font-size: 0.76rem; color: var(--ink-3); }
.portal-perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.portal-perks li { --r: 999px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; color: var(--navy); box-shadow: var(--glow); }
.portal-perks i { color: var(--gold-deep); font-size: 1.1rem; }
.pw-panel.is-active > * { animation: pw-in 0.5s var(--ease) both; }
.pw-panel.is-active > *:nth-child(2) { animation-delay: 0.06s; } .pw-panel.is-active > *:nth-child(3) { animation-delay: 0.12s; } .pw-panel.is-active > *:nth-child(4) { animation-delay: 0.18s; }
.pw-panel.is-active .msg { animation: pw-in 0.45s var(--ease) both; }
.pw-panel.is-active .msg:nth-child(2) { animation-delay: 0.35s; } .pw-panel.is-active .msg:nth-child(3) { animation-delay: 0.7s; } .pw-panel.is-active .msg:nth-child(4) { animation-delay: 1.05s; }
.pw-panel.is-active .hours .bar { animation: bar-grow 0.8s var(--ease) both; transform-origin: left center; }
@keyframes pw-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1024px) {
  .portal { grid-template-columns: 1fr; }
  .portal-tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; padding: 4px 2px 8px; }
  .portal-tabs::-webkit-scrollbar { display: none; }
  .portal-tab { flex: 0 0 auto; grid-template-columns: auto auto; align-items: center; padding: 10px 14px; border-color: var(--line); background: rgba(255, 255, 255, 0.75); }
  .portal-tab > i { width: 32px; height: 32px; font-size: 1.05rem; }
  .portal-tab small { display: none; }
}
@media (max-width: 640px) {
  .pw-body { grid-template-columns: 1fr; }
  .pw-side { display: none; }
  .board { grid-template-columns: 1fr 1fr; }
  .col { min-height: 0; }
  .pw-panel { padding: 14px; }
  .pw-lock { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pw-panel.is-active > *, .pw-panel.is-active .msg, .pw-panel.is-active .hours .bar, .live .dot, .portal-tab.timing::after { animation: none !important; } }

/* ---------- How it works: timeline ---------- */
.timeline { --tl-gap: 20px; --node: 48px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--tl-gap); padding: 0; margin: 0; list-style: none; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: calc(var(--node) / 2 - 2px); left: calc(12.5% - var(--tl-gap) * 0.375); right: calc(12.5% - var(--tl-gap) * 0.375); height: 4px; border-radius: 99px; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(90deg, var(--navy), var(--sky) 55%, var(--gold)); transform-origin: left center; }
.tl-step { display: grid; grid-template-rows: auto 1fr; justify-items: center; gap: 18px; }
.tl-node { position: relative; z-index: 1; width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gold); background: linear-gradient(160deg, #23279c, var(--navy)); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px rgba(245, 184, 61, 0.55), 0 10px 22px -8px rgba(27, 31, 138, 0.6); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tl-node.tl-goal { color: var(--gold-ink); background: linear-gradient(180deg, #ffc95a, var(--gold)); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px rgba(245, 184, 61, 0.55), 0 0 26px rgba(245, 184, 61, 0.65); }
.tl-card { width: 100%; align-self: stretch; padding: 22px 20px; border-radius: 18px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.tl-card h3 { font-size: 1.1rem; }
.tl-card p { color: var(--ink-2); font-size: 0.94rem; }
.tl-card .when { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #7a5300; background: rgba(245, 184, 61, 0.18); border: 1px solid rgba(245, 184, 61, 0.45); }
.tl-card .when i { color: var(--gold-deep); }
.tl-step:hover .tl-node { transform: scale(1.1); }
.js-anim .timeline::after { transform: scaleX(0); transition: transform 1.6s var(--ease) 0.2s; }
.js-anim .timeline.in::after { transform: scaleX(1); }
.js-anim .timeline .tl-node { transform: scale(0.4); opacity: 0; }
.js-anim .timeline.in .tl-node { animation: node-pop 0.6s var(--ease) both; animation-delay: calc(var(--i) * 380ms + 250ms); }
@keyframes node-pop { 0% { transform: scale(0.4); opacity: 0; } 65% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Comparison: cost bars + table ---------- */
.cost { padding: clamp(20px, 3vw, 30px); border-radius: 18px; margin-bottom: 22px; display: grid; gap: 16px; }
.cost-row { display: grid; grid-template-columns: minmax(180px, 240px) 1fr 120px; align-items: center; gap: 18px; }
.cost-label strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.cost-label span { font-size: 0.84rem; color: var(--ink-3); }
.cost-bar { height: 16px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.cost-bar .fill { display: block; height: 100%; width: var(--w); border-radius: 99px; transform-origin: left center; }
.fill-house { background: linear-gradient(90deg, #b8c8d8, #8a9ab3); }
.fill-us { background: linear-gradient(90deg, #ffc95a, var(--gold)); box-shadow: 0 0 14px rgba(245, 184, 61, 0.65); }
.cost-val { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; line-height: 1; }
.cost-val small { font-size: 0.5em; font-weight: 600; color: var(--ink-3); margin-left: 2px; letter-spacing: 0; }
.cost-us .cost-val { color: var(--navy); }
.cost-save { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(245, 184, 61, 0.18), rgba(111, 216, 230, 0.16)); color: var(--navy); font-size: 1rem; }
.cost-save i { font-size: 1.5rem; color: var(--gold-deep); }
.cost-save strong { font-family: var(--font-display); font-size: 1.15rem; }
.js-anim .cost .fill { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js-anim .cost.in .fill { transform: scaleX(1); }
.js-anim .cost.in .fill-us { transition-delay: 0.35s; }

.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; border-radius: 18px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 18px 44px -26px rgba(15, 18, 64, 0.3), var(--glow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); line-height: 1.45; }
.cmp thead th { border-top: 0; padding-top: 18px; padding-bottom: 14px; font-family: var(--font-display); font-weight: 600; color: var(--ink-2); font-size: 0.98rem; }
.cmp thead th:first-child { border-top-left-radius: 18px; }
.cmp tbody th { font-family: var(--font-display); font-weight: 600; color: var(--navy); width: 17%; white-space: nowrap; }
.cmp tbody th i { color: var(--sky); font-size: 1.15rem; margin-right: 10px; vertical-align: -3px; }
.cmp td { color: var(--ink-2); }
.cmp td i { margin-right: 8px; vertical-align: -3px; font-size: 1.1rem; }
.mark-no { color: #c0627a; } .mark-meh { color: #b3a173; } .mark-yes { color: var(--ok); }
.cmp .us { position: relative; background: linear-gradient(180deg, rgba(111, 216, 230, 0.16), rgba(111, 216, 230, 0.08)); color: var(--navy); font-weight: 500; border-left: 2px solid var(--aqua); border-right: 2px solid var(--aqua); }
.cmp thead .us { background: linear-gradient(160deg, var(--navy), #2b3bb0); color: #fff; border-top-right-radius: 18px; border-top: 2px solid var(--aqua); font-size: 1.05rem; }
.cmp tbody tr:last-child .us { border-bottom: 2px solid var(--aqua); border-bottom-right-radius: 18px; }
.cmp tbody tr:last-child th { border-bottom-left-radius: 18px; }
.best { display: flex; width: max-content; align-items: center; gap: 6px; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(180deg, #ffc95a, var(--gold)); color: var(--gold-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }
.cmp tbody tr { transition: background 0.3s var(--ease); }
.cmp tbody tr:hover { background: rgba(58, 143, 208, 0.06); }
.cmp tbody tr:hover .us { background: linear-gradient(180deg, rgba(111, 216, 230, 0.3), rgba(111, 216, 230, 0.16)); }
.rate-row td.us { color: var(--navy); }
.js-anim .cmp tbody tr { opacity: 0; transform: translateY(12px); }
.js-anim .cmp.in tbody tr { animation: cmp-row 0.7s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
.js-anim .cmp.in tbody .us .mark-yes { animation: tick-pop 0.6s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 500ms); display: inline-block; }
@media (min-width: 861px) { .cmp td { position: relative; padding-left: 46px; } .cmp td > i:first-child { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); margin: 0; } .js-anim .cmp.in tbody .us .mark-yes { animation-name: tick-pop-c; } }
@keyframes tick-pop-c { 0% { transform: translateY(-50%) scale(0.2); opacity: 0; } 60% { transform: translateY(-50%) scale(1.35); opacity: 1; } 100% { transform: translateY(-50%) scale(1); } }
@keyframes cmp-row { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tick-pop { 0% { transform: scale(0.2); opacity: 0; } 60% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1); } }
.compare-note { font-size: 0.84rem; color: var(--ink-3); margin-top: 12px; }

/* ---------- Testimonials ---------- */
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.story { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: 18px; }
.story .vid.portrait { max-width: none; margin: 0; }
.story.story-quote { grid-template-columns: 1fr; padding: 30px; }
.story.story-quote blockquote { font-size: 1.3rem; }
.story.story-quote .replay { margin-top: 18px; }
.story.story-quote .results li { background: var(--white); border: 1px solid var(--line); }
.story blockquote { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; line-height: 1.4; color: var(--navy); letter-spacing: -0.01em; }
.story .who { margin-top: 12px; }
.story .who strong { display: block; }
.story .who span { font-size: 0.88rem; color: var(--ink-3); }
.story .results { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.story .results li { font-size: 0.8rem; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--navy-deep); font-weight: 600; }
.stories-note { font-size: 0.84rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq { border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--sky); font-size: 1.2rem; transition: transform 0.35s var(--ease); flex: none; }
.faq[open] summary i { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-2); font-size: 0.96rem; max-width: 62ch; }
.faq.glass:hover { transform: none; }

/* ---------- Book ---------- */
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.book-points { display: grid; gap: 12px; margin-top: 24px; }
.book-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.book-points i { color: var(--sky); font-size: 1.25rem; flex: none; }
.book-alt { margin-top: 22px; display: grid; gap: 6px; font-size: 0.95rem; color: var(--ink-2); }
.book-alt a { color: var(--sky-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.calendly { border-radius: 18px; overflow: hidden; min-height: 700px; padding: 10px; }
.calendly.glass:hover { transform: none; }
.calendly-inline-widget { border-radius: 12px; overflow: hidden; }
.calendly iframe { width: 100%; border: 0; }
.calendly-inline-widget { width: 100%; }
.calendly-fallback { padding: 24px; text-align: center; color: var(--ink-2); }

/* ---------- Footer ---------- */
footer { padding: 48px 0 32px; background: var(--navy-ink); color: rgba(255, 255, 255, 0.82); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer .logo { color: #fff; }
footer .logo-mark { background: #fff; color: var(--navy); }
footer .logo-text span { color: var(--aqua); }
.foot-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 12px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a, .foot-grid p, .foot-grid li { color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; }
.foot-grid a:hover { color: #fff; }
.foot-grid li i { color: var(--aqua); margin-right: 8px; vertical-align: -2px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.55); font-size: 0.84rem; }

.reveal { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .rail { display: none; } }
@media (max-width: 1024px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .why-layout { grid-template-columns: 1fr; }
  .stories { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { padding-bottom: 68px; }
  .top-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { max-width: none; grid-column: 1; }
  .hero-copy { grid-column: 1; }
  .hero-vid { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .vid.portrait { max-width: 320px; margin-inline: auto; }
  .trust ul { grid-template-columns: 1fr; gap: 8px; }
  .trust li { padding: 14px 16px; }
  .roles { grid-template-columns: 1fr; }
  .glass { -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
  .ba-track { --gap: 14px; }
  .ambient .blob { filter: blur(40px); }
  .faq-grid, .book-grid { grid-template-columns: 1fr; }
  .why-tiles { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline::before, .timeline::after { top: calc(var(--node) / 2); bottom: calc(var(--node) / 2); left: calc(var(--node) / 2 - 2px); right: auto; width: 4px; height: auto; }
  .timeline::after { background: linear-gradient(180deg, var(--navy), var(--sky) 55%, var(--gold)); transform-origin: center top; }
  .js-anim .timeline::after { transform: scaleY(0); }
  .js-anim .timeline.in::after { transform: scaleY(1); }
  .tl-step { grid-template-columns: var(--node) 1fr; grid-template-rows: auto; justify-items: stretch; align-items: start; gap: 14px; }
  .tl-node { justify-self: center; }
  .story { grid-template-columns: 1fr; }
  .story .vid.portrait { max-width: 260px; }
  /* Comparison stacks into one card per row on phones */
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp { border: 0; border-radius: 0; overflow: visible; font-size: 0.92rem; background: none; box-shadow: none; }
  .cmp tbody tr { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; background: var(--white); }
  .cmp tbody th { width: 100%; padding: 14px 16px 8px; border-top: 0; font-size: 1.02rem; }
  .cmp td { padding: 10px 16px; border-top: 1px solid var(--line); }
  .cmp td::before { content: attr(data-col); display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); margin-bottom: 2px; }
  .cmp td.us::before { color: var(--navy-deep); }
  .cmp td.us { border-left: 0; border-right: 0; }
  .cmp tbody tr:last-child td.us { border-bottom: 0; }
  .cost-row { grid-template-columns: 1fr auto; grid-template-areas: "label val" "bar bar"; row-gap: 8px; }
  .cost-label { grid-area: label; } .cost-bar { grid-area: bar; } .cost-val { grid-area: val; }
  .cost-val { font-size: 1.6rem; }
  .calendly-inline-widget { height: 1000px !important; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: 64px; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; place-items: center; gap: 2px; font-size: 0.72rem; font-weight: 600; color: var(--ink-3); padding-top: 8px; }
  .tabbar a i { font-size: 1.35rem; }
  .tabbar a.active { color: var(--navy); }
  .tabbar a.active i { text-shadow: 0 0 14px rgba(111, 216, 230, 0.95); color: var(--sky-deep); }
  .tabbar a.book { color: var(--navy); }
  .tabbar a.book i { color: var(--sky); }
}
@media (max-width: 480px) {
  .logo-img { height: 36px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .top-inner { gap: 10px; }
  .top .btn-sm { padding: 10px 14px; font-size: 0.84rem; gap: 6px; }
  .logo-mark { width: 34px; height: 34px; font-size: 1.2rem; }
  .logo-text strong { font-size: 0.9rem; }
  .logo-text span { font-size: 0.6rem; letter-spacing: 0.1em; }
  .calendly { padding: 6px; }
  .calendly-inline-widget { min-width: 0 !important; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .top .btn-sm .label { display: none; }
  .top .btn-sm { padding: 10px 12px; }
  .logo-text span { display: none; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .ambient .blob { animation: none; }
  .glass.revealing { animation: none; }
  .c-handle { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .js-anim .cost .fill { transform: none; transition: none; }
  .js-anim .cmp tbody tr { opacity: 1; transform: none; animation: none !important; }
  .js-anim .timeline::after { transform: none; transition: none; }
  .js-anim .timeline .tl-node { transform: none; opacity: 1; animation: none !important; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .tool { animation: none; }
}

/* ---------- Audit round 2 ---------- */
@media (max-width: 860px) {
  /* One sticky bar on phones: the header scrolls away, the bottom bar stays (with a gold Book tab) */
  .top { position: relative; }
  .tabbar a.book { position: relative; color: var(--gold-ink); }
  .tabbar a.book::before { content: ""; position: absolute; inset: 6px 6px 2px; z-index: -1; border-radius: 14px; background: linear-gradient(180deg, #ffc95a, var(--gold)); }
  .tabbar a.book i { color: var(--gold-ink) !important; }
  .tabbar { isolation: isolate; }
}
@media (max-width: 640px) {
  /* Compact role cards on phones: icon beside the text, tags hidden */
  .roles.roles-grid { gap: 10px; }
  .roles-grid .role { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 14px 14px 14px 12px; }
  .roles-grid .role .icon { grid-row: 1 / span 2; width: 40px; height: 40px; font-size: 1.2rem; margin: 0; }
  .roles-grid .role h3 { font-size: 1.02rem; align-self: end; }
  .roles-grid .role p { font-size: 0.88rem; }
  .roles-grid .role ul, .roles-grid .role .note { display: none; }
  .roles-grid .role-cta { display: flex; }
  .roles-grid .role-cta .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  /* Static tools strip stays inside the page column, clear of the side menu */
  .tools .marquee { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
}

/* ---------- Portal: nine tabs (compact list; description shows on the selected tab) ---------- */
.portal-tabs { gap: 4px; }
.portal-tab { padding: 10px 14px; grid-template-columns: 36px 1fr; align-items: center; }
.portal-tab > i { width: 36px; height: 36px; font-size: 1.12rem; }
.portal-tab small { display: none; }
.portal-tab[aria-selected="true"] { align-items: start; }
.portal-tab[aria-selected="true"] small { display: block; }
.pw-body { min-height: 470px; }
/* Requests */
.req-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.req-topics span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
.req-topics span.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.req-field { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 0.92rem; color: var(--ink); min-height: 64px; }
.req-row { display: flex; flex-wrap: wrap; gap: 8px; }
.req-file, .req-due { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: rgba(232, 241, 248, 0.9); font-size: 0.84rem; font-weight: 600; color: var(--sky-deep); }
.req-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: rq; }
.req-track li { position: relative; padding-top: 18px; text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--ink-3); }
.req-track li::before { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--line-strong); }
.req-track li::after { content: ""; position: absolute; top: 5px; left: calc(50% + 8px); right: calc(-50% + 8px); height: 2px; background: var(--line); }
.req-track li:last-child::after { display: none; }
.req-track li.done { color: var(--ok); } .req-track li.done::before { background: var(--ok); } .req-track li.done::after { background: var(--ok); }
.req-track li.now { color: var(--navy); } .req-track li.now::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, 0.3); }
/* Calendar */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal-day { display: grid; gap: 6px; align-content: start; min-height: 150px; padding: 8px; border-radius: 12px; background: rgba(232, 241, 248, 0.8); }
.cal-day b { font-family: var(--font-display); font-size: 0.84rem; color: var(--navy); }
.ev { padding: 7px 8px; border-radius: 8px; font-size: 0.74rem; font-weight: 600; line-height: 1.3; color: var(--ink); background: var(--white); border-left: 3px solid var(--sky); }
.ev-b { border-left-color: var(--gold); } .ev-c { border-left-color: #c0507a; }
.cal-remind { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-2); }
.cal-remind i { color: var(--gold-deep); }
/* Schedule */
.sched { display: grid; gap: 8px; }
.sched li { display: grid; grid-template-columns: 32px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.sched li .av { margin: 0; width: 32px; height: 32px; }
.sched b { display: block; font-size: 0.92rem; color: var(--ink); }
.sched small { display: block; font-size: 0.78rem; color: var(--ink-3); }
.sched-days { display: flex; gap: 3px; }
.sched-days i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 0.66rem; font-weight: 700; color: var(--ink-3); background: var(--paper-2); }
.sched-days i.on { color: #fff; background: var(--sky-deep); }
.sched-time { font-size: 0.84rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
/* Customers */
.cust { display: grid; gap: 8px; }
.cust li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.cust li .av { margin: 0; width: 32px; height: 32px; }
.cust b { display: block; font-size: 0.92rem; color: var(--ink); }
.cust small { display: block; font-size: 0.78rem; color: var(--ink-3); }
.cust em { font-style: normal; font-size: 0.76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #145c3b; background: #e6f4ec; }
.cust em.req { color: #7a5300; background: #fdf3dc; }
.av-c1 { background: #c0507a; } .av-c2 { background: #b45309; } .av-c3 { background: #167a52; }
.cust-note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(232, 241, 248, 0.8); font-size: 0.86rem; color: var(--ink-2); }
.cust-note i { color: var(--sky-deep); font-size: 1.1rem; margin-top: 1px; }
@media (max-width: 1024px) {
  .portal-tab small, .portal-tab[aria-selected="true"] small { display: none; }
  .portal-tab { align-items: center; }
}
@media (max-width: 640px) {
  .pw-body { min-height: 0; }
  .cal { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .cal-day { min-height: 110px; padding: 6px 4px; }
  .ev { font-size: 0.66rem; padding: 5px; }
  .sched li { grid-template-columns: 32px 1fr; }
  .sched-days, .sched-time { grid-column: 2; }
}
/* Comparison header labels centred (Aaron, 2026-11-01) */
.cmp thead th { font-size: 1rem; }
.cmp thead .us { font-size: 1rem; }
.cmp thead th { text-align: center; }
.cmp thead .best { margin-inline: auto; }
.faq-cta { margin-top: 24px; }
@media (min-width: 861px) { #faq .faq-grid > .section-head { position: sticky; top: calc(var(--nav-h) + 32px); } }
/* Bigger tap targets for the website card links on touch screens */
@media (pointer: coarse), (max-width: 860px) { .book-alt a { min-height: 44px; display: inline-flex; align-items: center; } .site-actions { gap: 0; } .site-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 0; } }
/* ---------- How it works video (heading left, video right; stacks on phones) ---------- */
.how-top { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.how-top .section-head { margin-bottom: 0; }
.vid.landscape { aspect-ratio: 16 / 9; width: 100%; }
/* Play sits in the cover's empty space under the title, lined up with it */
.how-vid .play { display: block; background: transparent; }
.how-vid .play .circle { width: 84px; height: 84px; background: linear-gradient(180deg, #ffc95a, var(--gold)); color: var(--gold-ink); font-size: 2rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 30px -10px rgba(230, 162, 31, 0.9); }
.how-vid .play .circle i { margin-left: 4px; }
.how-vid .play .circle { position: absolute; left: 47.2%; top: 71%; width: clamp(48px, 6.4vw, 84px); height: clamp(48px, 6.4vw, 84px); font-size: clamp(1.2rem, 2vw, 2rem); }
.how-vid .play .cap { left: calc(47.2% + clamp(58px, 7.6vw, 100px)); right: auto; top: 71%; bottom: auto; height: clamp(48px, 6.4vw, 84px); display: flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(0.9rem, 1.3vw, 1.1rem); color: var(--navy); opacity: 1; }
/* Hero: quiet text link that scrolls to the video and starts it */
.watch-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--navy); cursor: pointer; transition: background 0.35s var(--ease); }
.watch-link:hover { background: rgba(255, 255, 255, 0.7); }
.watch-link:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.watch-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ffc95a, var(--gold)); color: var(--gold-ink); font-size: 0.95rem; }
.watch-dot i { margin-left: 2px; }
.watch-len { font-family: var(--font-body); font-weight: 500; font-size: 0.86rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .how-top { grid-template-columns: 1fr; }
  .hero-actions .watch-link { width: 100%; justify-content: center; }
}

.how-vid { margin: 0; }
/* How it works: transcript for the video (readers, search and AI tools) */
.transcript { grid-column: 2; margin-top: calc(-1 * clamp(16px, 2.4vw, 36px)); }
.transcript summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--sky-deep); text-decoration: underline; text-underline-offset: 3px; }
.transcript p { margin-top: 6px; max-width: 70ch; font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 860px) { .transcript { grid-column: 1; margin-top: 0; } }
