/* =========================================================
   TRIO Tax Services — homepage, version 2
   Same content and look as the TRIO_Layout.pdf replica (v1), rebuilt on one
   spacing + type system so every section follows the same rules:
     section padding  → var(--section-y)
     section heading  → .section-head (eyebrow → h2 → lead), 40px before content
     heading sizes    → --fs-h1 / --fs-h2 / --fs-h3 / --fs-h4 only (reading text, buttons, menu: Space Grotesk)
     spacing          → 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96
   Motion comes later.
   ========================================================= */

:root {
  /* colour */
  --blue: #272727;        /* top bar / royal blue */
  --blue-bright: #737373; /* "All" pill, Learn More links */
  --navy: #131313;        /* headings */
  --navy-deep: #101010;   /* dark cards */
  --navy-2: #151515;
  --green: #117e39;       /* primary green */
  --lime: #c3d53c;        /* footer labels */
  --yellow: #fedc41;      /* CTA yellow */
  --yellow-deep: #f9d552;
  --ink: #181818;
  --muted: #636363;
  --soft: #f8f8f8;        /* alternate section background */
  --line: #e8e8e8;

  /* type */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;   /* reading text */
  --font-fraunces: 'Fraunces';
  --font-serif: var(--font-fraunces), "Cormorant Garamond", Georgia, serif;
  --fs-h1: clamp(2.25rem, 4.8vw, 4rem);       /* 36 → 64px, hero only */
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);       /* 28 → 40px, every section title */
  --fs-h3: clamp(1.375rem, 2.1vw, 1.75rem);   /* 22 → 28px, titles inside feature panels */
  --fs-h4: 1.125rem;                          /* 18px, card titles */
  --fs-lead: 1rem;                            /* 16px, line under headings */
  --fs-small: .875rem;                        /* 14px, card text, buttons, menu */

  /* spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section-y: 72px;     /* top & bottom of every section (≈144px between two sections' content) */
  --gutter: 24px;
  --wrap: 1200px;

  /* shape */
  --radius-lg: 24px;      /* large panels */
  --radius: 16px;         /* cards */
  --radius-sm: 12px;      /* inputs, icon tiles */
  --shadow-sm: 0 12px 28px -20px rgba(39,39,39, .45);
  --shadow: 0 18px 40px -22px rgba(39,39,39, .38);
  --shadow-lg: 0 30px 60px -30px rgba(39,39,39, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: .9375rem; line-height: 1.6; color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; text-wrap: balance; }
h3, .lead { text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.2; }
h4, .h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; font-weight: 300; }   /* Space Grotesk Light for reading text */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 1000; padding: 12px 20px; border-radius: 999px; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow-lg); }
.skip-link:focus { top: var(--s4); }
.topbar-left .short { display: none; }

/* ---------- Text helpers ---------- */
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); }
.accent-green { color: var(--green); }
/* Gradient ink — every highlighted heading word (sample-accents.php, style 5).
   Light sections: deep green → lime. Dark panels use .ink-light, the yellow draft panel .ink-gold. */
.accent-green, .underline-green, .ink {
  background: linear-gradient(95deg, #0b6b2f 0%, var(--green) 35%, #6cc957 75%, #b9e24a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em;
}
.cpa-copy h3 .accent, .best-head h2 .accent, .ways-card h2 .accent {
  background: linear-gradient(95deg, #8fe0a2 0%, #b9ef4d 60%, #e3f76c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.draft-copy h2 .accent {
  background: linear-gradient(95deg, #f9c932 0%, var(--yellow) 45%, #fff3a6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s3);
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.left::after { display: none; }
.eyebrow.light { color: #c9ef59; }

/* ---------- Section frame ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.bg-white { background: #fff; }
.bg-soft { background: var(--soft); }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-top: var(--s3); }
.section-head .lead { margin-top: var(--s4); }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s6); text-align: left; }
.section-head.split > div { max-width: 640px; }
.section-head.split .btn { flex: none; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s4); margin-top: 40px; }

/* ---------- Buttons (one height family) ---------- */
.btn {
  --sweep: rgba(0,0,0,.14);      /* colour that fills the button from left to right on hover */
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small); line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, color .35s ease, border-color .35s ease;
}
/* 1. colour sweep (left → right) */
.btn::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: var(--sweep); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.65,0,.35,1); }
/* 2. light streak that glides across the text */
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%); transform: translateX(0) skewX(-18deg); opacity: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover::after { animation: btnShine .75s .05s ease-out; }
@keyframes btnShine { 0% { transform: translateX(0) skewX(-18deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(560%) skewX(-18deg); opacity: 0; } }
.btn svg { width: 16px; height: 16px; flex: none; }
/* 3. arrow swap: trio.js wraps the trailing arrow in .btn-ico with a second copy waiting on the left */
.btn-ico { position: relative; display: inline-block; width: 16px; height: 16px; overflow: hidden; flex: none; }
.btn-ico svg { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.btn-ico svg + svg { transform: translateX(-160%); }
.btn-ico.diag svg + svg { transform: translate(-160%, 160%); }
.btn:hover .btn-ico svg:first-child, .link-arrow:hover .btn-ico svg:first-child { transform: translateX(160%); }
.btn:hover .btn-ico.diag svg:first-child, .link-arrow:hover .btn-ico.diag svg:first-child { transform: translate(160%, -160%); }
.btn:hover .btn-ico svg + svg, .link-arrow:hover .btn-ico svg + svg { transform: none; }
.btn-lg { min-height: 52px; padding: 13px 28px; font-size: .9375rem; }
.btn-green { --sweep: #0a5c28; background: var(--green); color: #fff; box-shadow: 0 12px 24px -12px rgba(17, 126, 57, .8); }
.btn-yellow { --sweep: #f5c518; background: var(--yellow); color: var(--navy); box-shadow: 0 12px 24px -14px rgba(254, 220, 65, .9); }
.btn-navy { --sweep: #242424; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow); }
.btn-white { --sweep: #efefef; background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); }
.btn-outline-light { --sweep: #fff; background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { color: var(--navy); border-color: #fff; }
.btn-outline-navy { --sweep: var(--navy-deep); background: #fff; color: var(--navy); border-color: var(--navy-deep); }
.btn-outline-navy:hover { color: #fff; }
.btn-white::after, .btn-outline-light::after { background: linear-gradient(100deg, rgba(115,115,115,0) 0%, rgba(115,115,115,.18) 50%, rgba(115,115,115,0) 100%); }
/* text links: underline draws in left → right, arrow swaps */
.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small); color: var(--green);
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .4s cubic-bezier(.65,0,.35,1); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow.blue { color: var(--blue-bright); }

/* ---------- Pills ---------- */
.pill-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s5); }
.pill-tabs button {
  min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-family: var(--font-body); font-weight: 500; font-size: var(--fs-small); cursor: pointer; box-shadow: 0 6px 16px -12px rgba(39,39,39,.35);
  transition: background .18s, color .18s, transform .18s;
}
.pill-tabs button:hover { transform: translateY(-1px); }
.pill-tabs button.is-active { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
/* soft filled pills (Clarity at every stage) */
.pill-tabs.blue { gap: var(--s4); margin-top: var(--s6); }
.pill-tabs.blue button { min-height: 50px; padding: 12px 32px; border: 0; background: #eeeeee; box-shadow: none; font-size: .9375rem; color: var(--navy); }
.pill-tabs.blue button:hover { background: #e6e6e6; }
.pill-tabs.blue button.is-active { background: #dcdcdc; color: var(--navy-deep); font-weight: 600; }

/* ---------- Shared icon shapes ---------- */
.ico-tile { width: 56px; height: 56px; border-radius: var(--radius-sm); display: grid; place-items: center; flex: none; background: #eaf4ea; color: var(--navy-deep); }
.ico-tile svg { width: 26px; height: 26px; }
.ico-round { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ico-round svg { width: 26px; height: 26px; }

/* =========================================================
   1. TOP BAR + NAV + HERO
   ========================================================= */
.topbar { background: linear-gradient(90deg, #f2f2f2 0%, #fafafa 50%, #ececec 100%); border-bottom: 1px solid #e4e4e4; color: var(--navy); font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 44px; }
.topbar-left { display: flex; align-items: center; gap: var(--s3); }
.topbar-left svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.topbar-left a { color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: var(--s1); white-space: nowrap; }
.topbar-left a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar-left a svg { width: 14px; height: 14px; color: var(--green); }
.topbar-phone { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-head); font-weight: 700; color: var(--navy); white-space: nowrap; }
.topbar-phone svg { width: 16px; height: 16px; color: var(--green); }

.first-screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero { position: relative; flex: 1; color: #fff; overflow: hidden; min-height: 600px; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: #161616; }
/* slight zoom from the upper-left keeps the generator's corner mark out of frame */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.18); transform-origin: 20% 20%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 50% 48%, rgba(14,14,14,.82) 0%, rgba(14,14,14,.66) 70%, rgba(14,14,14,.6) 100%),
  linear-gradient(180deg, rgba(14,14,14,.45) 0%, rgba(14,14,14,0) 30%, rgba(14,14,14,0) 70%, rgba(14,14,14,.6) 100%); }
.hero-video-btn { position: absolute; right: var(--s5); bottom: var(--s5); z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(6px); transition: background .2s; }
.hero-video-btn:hover { background: rgba(255,255,255,.26); }
.hero-video-btn svg { width: 16px; height: 16px; }
.nav { position: relative; z-index: 3; padding-top: var(--s5); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.nav-pill { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 8px 24px 8px 16px; min-height: 60px; box-shadow: var(--shadow-lg); }
.nav-logo { height: 36px; width: auto; margin-right: var(--s5); padding-right: var(--s5); border-right: 1px solid var(--line); }
.nav-links { display: flex; align-items: center; gap: var(--s5); margin: 0; padding: 0; list-style: none; }
.nav-links a, .nav-links button { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-small); color: var(--navy); background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s1); }
.nav-links a:hover, .nav-links button:hover { color: var(--green); }
.nav-links svg { width: 14px; height: 14px; }
.nav-ctas { display: flex; align-items: center; gap: var(--s3); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 0; cursor: pointer; place-items: center; box-shadow: var(--shadow-lg); }
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy); }
.mobile-menu { display: none; }

.hero-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s8) 0 var(--s9); }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s2); padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.hero-badge svg { width: 18px; height: 18px; }
.hero h1 { font-family: var(--font-serif); font-weight: 400; color: #fff; font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.01em; margin-top: var(--s5); max-width: 900px; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.hero h1 em { font-style: italic; }
.hero-sub { margin-top: var(--s5); font-size: .9375rem; line-height: 1.5; color: #fff; max-width: 620px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4); margin-top: var(--s6); }

/* =========================================================
   2. YOUR TRIO ADVANTAGE
   ========================================================= */
.security-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; min-height: 290px;
  background: linear-gradient(100deg, #0f0f0f 0%, #171717 55%, #222222 100%); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.security-card .art { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; overflow: hidden; container-type: size; }
.security-card .art::before { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, #141414 0%, rgba(20,20,20,0) 30%); }
/* the photo and its animation share one box that "covers" the art area like background-size: cover */
.art-stage { position: absolute; right: 0; top: 50%; width: max(100cqw, 100cqh * 1134 / 652); aspect-ratio: 1134 / 652; transform: translateY(-50%); }
.art-stage img, .art-stage .sec-anim { position: absolute; inset: 0; width: 100%; height: 100%; }
.sec-anim { overflow: visible; }
.sec-base { stroke-width: 1.6; opacity: .45; }
.sec-base.c, .sec-beam.c, .sec-spark.c { stroke: #9d9d9d; }
.sec-base.g, .sec-beam.g, .sec-spark.g { stroke: #93ff5c; }
/* streaks: one bright dash runs along each line (pathLength = 1) */
.sec-beam { stroke-width: 3; stroke-linecap: round; stroke-dasharray: .16 1; stroke-dashoffset: 1.16; animation: secBeam var(--d, 2.6s) linear infinite; animation-delay: var(--delay, 0s); }
.sec-spark { stroke-width: 6; stroke-linecap: round; stroke-dasharray: .002 1; stroke-dashoffset: 1.002; animation: secSpark var(--d, 2s) linear infinite; animation-delay: var(--delay, 0s); }
.sec-beam.halo { stroke-width: 10; opacity: .28; }
@keyframes secBeam { to { stroke-dashoffset: 0; } }
@keyframes secSpark { to { stroke-dashoffset: 0; } }
/* files fly from the servers into the shield (and one flows back) */
.sec-file { transform-box: view-box; opacity: 0; animation: secFileGo 4.8s cubic-bezier(.45,.05,.55,.95) infinite; animation-delay: var(--delay, 0s); }
.sec-file.back { animation-name: secFileBack; animation-duration: 6s; }
@keyframes secFileGo {
  0%   { transform: translate(380px, var(--y0)) scale(1.55); opacity: 0; }
  14%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { transform: translate(708px, var(--y1)) scale(.75); opacity: 0; }
}
@keyframes secFileBack {
  0%   { transform: translate(700px, var(--y0)) scale(.7); opacity: 0; }
  20%  { opacity: .7; }
  80%  { opacity: .7; }
  100% { transform: translate(390px, var(--y1)) scale(1.1); opacity: 0; }
}
.sec-glow { transform-box: fill-box; transform-origin: center; animation: secGlow 3.2s ease-in-out infinite; }
.sec-ring { transform-box: fill-box; transform-origin: center; animation: secRing 3.2s ease-out infinite; }
@keyframes secGlow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes secRing { 0% { opacity: .9; transform: scale(.82); } 100% { opacity: 0; transform: scale(1.22); } }
/* still version (reduced motion): faint streaks, files parked where the photo had them */
.sec-anim.is-still * { animation: none !important; }
.sec-anim.is-still .sec-beam, .sec-anim.is-still .sec-spark { stroke-dasharray: none; opacity: .55; }
.sec-anim.is-still .sec-spark, .sec-anim.is-still .sec-file.back, .sec-anim.is-still .sec-ring { display: none; }
.sec-anim.is-still .sec-file { opacity: 1; transform: translate(var(--sx), var(--sy)) scale(var(--ss)); }
.security-copy { position: relative; z-index: 2; padding: var(--s6) var(--s7); }
.security-copy h3 { color: #fff; margin-top: var(--s2); }
.security-copy .sub { margin-top: var(--s1); font-size: var(--fs-lead); color: #ececec; }
.checks { display: grid; grid-template-columns: repeat(2, max-content); gap: var(--s2) var(--s6); margin: var(--s4) 0 var(--s5); padding: 0; list-style: none; font-size: var(--fs-small); }
.checks li { display: flex; align-items: center; gap: var(--s3); }
.checks .ck { width: 24px; height: 24px; border-radius: 50%; background: #9be24a; display: grid; place-items: center; color: #103b1c; flex: none; }
.checks .ck svg { width: 13px; height: 13px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); margin-top: var(--s5); }
.feature { background: #fff; border-radius: var(--radius); padding: var(--s6) var(--s5); box-shadow: var(--shadow-sm); border: 1px solid #efefef; display: flex; flex-direction: column; gap: var(--s2); }
.feature .ico-tile { margin-bottom: var(--s3); }
.feature p { color: var(--muted); font-size: var(--fs-small); }
.feature .link-arrow { margin-top: auto; padding-top: var(--s4); }
.feature.green { background: #f1fbed; border-color: #dcefd2; }
.feature.green .ico-tile { background: #ddf3d2; }
.feature .big-green { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--green); line-height: 1.3; }

/* =========================================================
   3. SERVICES CAROUSEL   4. HOW IT WORKS
   ========================================================= */
.services { overflow: hidden; }
.bg-blue-blob { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-blue-blob::before { content: ''; position: absolute; left: -30%; top: 20%; width: 50%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,124,124,.55), rgba(115,115,115,.18) 60%, transparent 100%); }
.bg-blue-blob::after { content: ''; position: absolute; right: -25%; top: -10%; width: 55%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, #e6e6e6, rgba(238,238,238,.6) 60%, transparent 100%); }
.services .wrap { position: relative; }

.fan { position: relative; height: 470px; }
.fan-track { position: absolute; left: 50%; top: 0; width: 1200px; height: 100%; transform: translateX(-50%); }
.fan-card {
  position: absolute; top: 50%; width: 232px; background: #fff; border-radius: 20px; padding: var(--s3) var(--s3) var(--s5); text-align: left;
  box-shadow: 0 30px 50px -28px rgba(39,39,39,.45), 0 0 0 1px rgba(39,39,39,.06);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)); transition: transform .35s ease, box-shadow .35s ease;
}
.fan-card:hover { transform: translate(-50%, -53%) rotate(var(--r, 0deg)); box-shadow: 0 40px 60px -30px rgba(39,39,39,.55), 0 0 0 1px rgba(39,39,39,.08); z-index: 5; }
.fan-card .photo { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--soft); }
.fan-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.fan-card .h4 { margin-top: var(--s4); padding: 0 var(--s2); }
.fan-card p { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; padding: 0 var(--s2); margin-top: var(--s1); min-height: 3em; }
.fan-card { display: flex; flex-direction: column; }
.fan-card .link-arrow { margin: auto var(--s2) 0; padding-top: var(--s3); align-self: flex-start; }
.fan-nav { display: flex; align-items: center; justify-content: center; gap: var(--s5); margin-top: var(--s4); }
.fan-nav button, .wheel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 18px -12px rgba(39,39,39,.5); color: var(--navy); }
.fan-nav button svg, .wheel-nav button svg { width: 16px; height: 16px; }
.wheel-nav button { transition: background .18s, color .18s, transform .18s; }
.wheel-nav button[aria-pressed="true"] { background: var(--navy-deep); color: #fff; }
.wheel-nav button:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); }
.dots { display: flex; gap: 6px; }
.dots span { width: 14px; height: 6px; border-radius: 999px; background: #dedede; transition: width .25s, background .25s; }
.dots span.is-active { width: 28px; background: var(--navy-deep); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.step { position: relative; border-radius: 20px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s5); box-shadow: var(--shadow); }
.step .bgimg { position: absolute; border-radius: inherit; overflow: hidden; }
.step.photo { color: #fff; background: var(--navy-deep); }
.step.photo .bgimg { inset: 0; background-size: cover; background-position: left top; }
.step.photo .bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0) 40%, rgba(17,17,17,.95) 72%); }
.step.light { background: #fff; border: 1px solid #efefef; }
.step.light .bgimg { left: 0; right: 0; top: 0; height: 64%; border-radius: 20px 20px 0 0; background-size: cover; background-position: center top; background-repeat: no-repeat; }
.step .body { position: relative; }
.step.photo .h4 { color: #fff; }
.step p { margin-top: var(--s2); font-size: var(--fs-small); line-height: 1.5; }
.step.photo p { color: rgba(255,255,255,.88); }
.step.light p { color: var(--muted); }
.step-arrow { position: absolute; top: 50%; right: calc(-1 * (var(--s5) / 2) - 20px); transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(39,39,39,.5); z-index: 2; color: var(--navy); }
.step-arrow svg { width: 16px; height: 16px; }
.steps-note { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); color: var(--muted); font-size: var(--fs-small); }
.steps-note .ck { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.steps-note .ck svg { width: 15px; height: 15px; }

/* =========================================================
   5. THE TRIO APPROACH (second fan)
   ========================================================= */
.approach { overflow: hidden; }
.approach h2 .dot { color: var(--green); }

/* Wheel carousel — cards are placed on a large circle by trio.js (translate + rotate per frame). */
.wheel { --card-w: 300px; position: relative; height: 600px; margin-top: var(--s2); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.wheel.is-dragging { cursor: grabbing; }
.wheel:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.wheel-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.wheel-blob.blue { width: min(44vw, 640px); aspect-ratio: 1; left: max(-12vw, -180px); top: 90px; background: radial-gradient(circle at 35% 35%, #878787 0%, var(--blue-bright) 70%); }
.wheel-blob.green { width: min(28vw, 400px); aspect-ratio: 1; right: 7vw; top: -30px; background: radial-gradient(circle at 60% 40%, #9be27e 0%, #6cc957 75%); }
.wheel-track { position: absolute; left: 0; right: 0; top: 0; bottom: -40px; z-index: 1; padding-top: 24px;
  /* cards fade out at the left edge and fade in at the right edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%); }
.wheel-card {
  position: absolute; left: 50%; top: 24px; width: var(--card-w); margin-left: calc(var(--card-w) / -2);
  background: #fff; border-radius: 22px; padding: 12px 12px 18px; text-align: left;   /* white frame around the inset photo */
  box-shadow: 0 28px 50px -30px rgba(39,39,39,.45), 0 0 0 1px rgba(39,39,39,.05);
  transform-origin: 50% 50%; will-change: transform; transition: box-shadow .35s ease;
}
.wheel-card.is-center { box-shadow: 0 36px 60px -30px rgba(39,39,39,.6), 0 0 0 1px rgba(39,39,39,.08); }
.wheel-card .photo { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--soft); }
.wheel-card .photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.26); transform-origin: 50% 18%; transition: transform .6s ease; }   /* zoom crops design leftovers at the photo corners */
.wheel-card:hover .photo img { transform: scale(1.32); }
.wheel-card .photo img[src*="s4c2"] { transform-origin: 92% 72%; transform: scale(1.42); }   /* crop the green corner shape */
.wheel-card:hover .photo img[src*="s4c2"] { transform: scale(1.48); }
.wheel-card .photo img[src*="security-art"] { object-position: 72% 50%; transform: scale(1); }
.wheel-card:hover .photo img[src*="security-art"] { transform: scale(1.06); }
.wheel-card .badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin: -26px 0 0 var(--s5); position: relative; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); }
.wheel-card .badge svg { width: 22px; height: 22px; }
.wheel-card .badge { display: none; }   /* model: clean photo, no icon badge */
.wheel-card .h4 { padding: 0 8px; margin-top: 14px; font-size: clamp(.9375rem, calc(var(--card-w) * .06), 1.0625rem); }
.wheel-card p { padding: 0 8px; margin-top: 6px; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.wheel-card { display: flex; flex-direction: column; }
.wheel-card .link-arrow { margin: auto 8px 0; padding-top: 12px; align-self: flex-start; font-size: .8125rem; }
.wheel-nav { display: flex; justify-content: center; gap: var(--s4); }
.wheel-nav button { width: 54px; height: 54px; background: transparent; border: 1.5px solid #d8d8d8; box-shadow: none; }
.wheel-nav button svg { width: 18px; height: 18px; }

/* =========================================================
   6. CPA CONNECT
   ========================================================= */
.cpa-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  background: linear-gradient(90deg, #0d0d0d 0%, #141414 45%, #1d1d1d 100%); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.25fr .85fr; gap: var(--s6); align-items: center; padding: 28px var(--s7) 34px;
}
.cpa-card .photo { position: absolute; left: 36%; top: 0; bottom: 0; width: 34%; background: url('../img/cpa-photo.webp?v=2') center / cover no-repeat; }
.cpa-card .photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #141414 0%, rgba(20,20,20,0) 35%, rgba(20,20,20,0) 65%, #171717 100%); }
.cpa-copy { position: relative; z-index: 2; max-width: 520px; }
.cpa-brand { display: flex; align-items: center; gap: var(--s4); }
.cpa-brand .xtrio { font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -.03em; }
.cpa-brand .xtrio small { display: block; font-size: .75rem; letter-spacing: .05em; font-weight: 700; color: #e7e7e7; }
.cpa-brand .xtrio .arrow-up { color: #39c35d; }
.cpa-brand .connect { padding-left: var(--s4); border-left: 1px solid rgba(255,255,255,.4); font-family: var(--font-head); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.cpa-copy h3 { color: #fff; margin-top: var(--s4); font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.cpa-copy .sub { margin-top: var(--s2); font-size: .9375rem; color: #ececec; }
.cpa-copy .btn { margin-top: var(--s4); }
.cpa-side { position: relative; z-index: 2; display: grid; gap: var(--s3); }
.cpa-tile { background: #fff; color: var(--navy); border-radius: var(--radius); padding: 12px var(--s4); display: flex; align-items: center; gap: var(--s4); box-shadow: var(--shadow); }
.cpa-tile .ico-round { color: #fff; width: 46px; height: 46px; }
.cpa-tile .ico-round svg { width: 22px; height: 22px; }
.cpa-tile .ico-round.navy { background: var(--navy-2); }
.cpa-tile .ico-round.green { background: var(--green); }
.cpa-tile p { color: var(--muted); font-size: var(--fs-small); }
.cpa-note { position: absolute; right: var(--s7); bottom: 10px; font-size: .75rem; color: #e7e7e7; z-index: 2; }

/* =========================================================
   7. LOOKING AHEAD   8. CONNECTED SUPPORT
   ========================================================= */
.plan-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.36; }
.plan-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-pill { position: absolute; left: var(--s4); bottom: var(--s4); display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .875rem; }
.photo-pill .dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; }
.photo-pill .dot svg { width: 14px; height: 14px; }
.plan-copy { padding: var(--s5) var(--s6) var(--s5) 0; }
.plan-copy h3 { margin-top: var(--s3); }
.plan-copy p { color: var(--muted); margin-top: var(--s3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.chip { display: inline-flex; align-items: center; gap: var(--s2); padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-family: var(--font-body); font-weight: 500; font-size: .875rem; color: var(--navy); }
.chip svg { width: 18px; height: 18px; color: var(--green); }

/* Connected support: heading sits inside the curve; icons are centred on the line (transform puts the icon's centre on the point). */
.arc-stage { position: relative; aspect-ratio: 1200 / 500; margin-bottom: -24px; }  /* fixed ratio keeps the circle round at every width */
.arc-stage .arc-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc-stage .section-head { position: relative; z-index: 1; margin-bottom: 0; max-width: 640px; }
.arc-stage .section-head .btn { margin-top: var(--s5); }
.arc-list { list-style: none; margin: 0; padding: 0; }
.arc-item { position: absolute; z-index: 2; transform: translate(-50%, -30px) scale(var(--s, 1)); opacity: var(--o, 1); display: flex; flex-direction: column; align-items: center; gap: var(--s2); font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--navy); white-space: nowrap; }
.arc-item .ico-round { width: 60px; height: 60px; background: #fff; color: var(--navy); box-shadow: 0 14px 26px -16px rgba(39,39,39,.55), 0 0 0 1px rgba(39,39,39,.05); transition: transform .2s ease; }
.arc-item:hover .ico-round { transform: translateY(-3px); }
.arc-item.green .ico-round { background: var(--green); color: #fff; }
.arc-item.green.alt .ico-round { background: #7fcf3a; }

/* =========================================================
   Card deck — the section is tall; the stage inside stays pinned while
   scrolling drives a progress value t (0 → n-1) that trio.js maps to
   every card's 3D position.
   ========================================================= */
.deck-section { --peek: 20; --deck-h: clamp(380px, 54vh, 460px); position: relative; height: calc(100vh + (var(--n) - 1) * 85vh); background: var(--soft); }
.deck-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.deck-stage::before {   /* soft light that drifts with progress */
  content: ''; position: absolute; width: 70vw; aspect-ratio: 1; border-radius: 50%; left: calc(10% + var(--glow, 0) * 30%); top: 18%;
  background: radial-gradient(closest-side, rgba(127,207,58,.16), rgba(127,207,58,0)); pointer-events: none;
}
.deck-inner { position: relative; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.deck-inner .section-head { margin-bottom: 0; }
.deck-row { padding-top: 72px; display: grid; grid-template-columns: 1fr 72px; gap: var(--s5); align-items: center; }
.deck { position: relative; height: var(--deck-h); perspective: 1800px; perspective-origin: 50% -30%; }

.deck-card {
  position: absolute; inset: 0; transform-origin: 50% 0; will-change: transform, opacity, filter;
  background: #fff; border: 1px solid #dcefd2; border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(39,39,39,.45), 0 2px 0 rgba(255,255,255,.8) inset;
  padding: var(--s4); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; overflow: hidden;
}
/* green tint that covers cards waiting in the deck (their tops peek out above the front card) */
.deck-card .tint { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; opacity: var(--tint, 0);
  background: linear-gradient(180deg, #e9f7e3 0%, #d6efcb 100%); }
.deck-card .plan-photo { height: 100%; aspect-ratio: auto; }
.deck-card .plan-photo img { transform: translateY(calc(var(--par, 0) * 1px)) scale(1.12); }
.deck-card .plan-copy { position: relative; padding: var(--s5) var(--s6) var(--s5) 0; }
/* content slides in piece by piece as the card reaches the front (--in: 0 → 1) */
.deck-card .plan-copy > * { opacity: var(--in, 1); }
.deck-card .plan-copy .eyebrow { transform: translateY(calc((1 - var(--in, 1)) * 14px)); }
.deck-card .plan-copy h3 { transform: translateY(calc((1 - var(--in, 1)) * 26px)); }
.deck-card .plan-copy p { transform: translateY(calc((1 - var(--in, 1)) * 38px)); }
.deck-card .plan-copy .chips { transform: translateY(calc((1 - var(--in, 1)) * 52px)); }
.deck-card .chips { flex-wrap: nowrap; gap: var(--s2); }
.deck-card .chip { white-space: nowrap; padding: 9px 12px; font-size: .8125rem; gap: 6px; }
.deck-card .chip svg { width: 16px; height: 16px; }
.deck-card .big-num {
  position: absolute; right: var(--s5); bottom: -14px; z-index: 0; pointer-events: none;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 11vw, 9.5rem); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px #cfe8c4; opacity: var(--in, 1);
  transform: translateX(calc((1 - var(--in, 1)) * 40px));
}
.deck-card .plan-copy > :not(.big-num) { position: relative; z-index: 1; }

/* step rail (outside the card, clickable) */
.deck-rail { position: relative; height: var(--deck-h); display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: var(--s3) 0; }
.deck-rail::before, .deck-rail::after { content: ''; position: absolute; left: 50%; top: 36px; width: 2px; margin-left: -1px; border-radius: 2px; }
.deck-rail::before { bottom: 36px; background: #dcefd2; }
.deck-rail::after { height: calc((100% - 72px) * var(--fill, 0)); background: linear-gradient(180deg, #7fcf3a, var(--green)); }
.deck-rail button {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--navy); box-shadow: 0 6px 14px -8px rgba(39,39,39,.5);
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem; transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s;
}
.deck-rail button:hover { border-color: var(--green); }
.deck-rail button.is-done { border-color: #7fcf3a; color: var(--green); }
.deck-rail button.is-active { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; transform: scale(1.22); }

.deck-hint { grid-column: 1; justify-self: center; display: flex; align-items: center; gap: 8px; margin-top: -4px; font-size: .8125rem; color: var(--muted); opacity: var(--hint, 1); transition: opacity .3s; }
.deck-hint i { width: 18px; height: 28px; border: 2px solid currentColor; border-radius: 10px; position: relative; }
.deck-hint i::after { content: ''; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheelHint 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .deck-hint i::after { animation: none; } 
}
@keyframes wheelHint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }

@media (max-width: 960px) {
  .deck-row { grid-template-columns: 1fr; gap: var(--s4); padding-top: 40px; }
  .deck-section { --peek: 12; --deck-h: min(520px, calc(100svh - 290px)); }
  .deck-card { grid-template-columns: 1fr; grid-template-rows: 37% 1fr; gap: var(--s4); align-items: start; }
  .deck-card .plan-copy { padding: 0 var(--s3) var(--s3); }
  .deck-card .big-num { font-size: 5rem; right: var(--s3); }
  .deck-rail { height: auto; flex-direction: row; padding: 0 var(--s3); }
  .deck-rail::before, .deck-rail::after { top: 50%; left: 36px; width: auto; height: 2px; margin: -1px 0 0; }
  .deck-rail::before { right: 36px; bottom: auto; }
  .deck-rail::after { width: calc((100% - 72px) * var(--fill, 0)); }
  .deck-hint { display: none; }
}
@media (max-width: 640px) {
  .deck-inner .section-head .lead, .deck-inner .section-head .btn { display: none; }
  .deck-inner .section-head { margin-bottom: 0; }
  .deck-card .chips .chip:nth-child(3) { display: none; }
  .deck-card .chips { flex-wrap: wrap; }
  .deck-card .chip { padding: 7px 10px; font-size: .75rem; }
  .deck-card .chip svg { width: 14px; height: 14px; }
  .deck-card .plan-copy p { font-size: .875rem; }
}
@media (max-width: 640px) and (max-height: 780px) {   /* short phones: keep the card text inside the card */
  .deck-card { grid-template-rows: 36% 1fr; }
  .deck-card .chips { display: none; }
}

/* =========================================================
   9. OUR BEST SERVICES
   ========================================================= */
.best-frame { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #efefef; }
.best-head {
  text-align: center; color: #fff; padding: var(--s7) var(--s5);
  background: radial-gradient(70% 120% at 100% 0%, #2c7e3a 0%, rgba(44,126,58,0) 55%), radial-gradient(60% 120% at 0% 100%, #2c2c2c 0%, rgba(44,44,44,0) 55%), linear-gradient(90deg, #0e0e0e, #1b1b1b);
}
.best-head h2 { color: #fff; margin-top: var(--s3); }
.best-head .lead { margin-top: var(--s3); color: #e6e6e6; }
.logos { display: flex; justify-content: center; align-items: center; gap: var(--s6); padding: var(--s6) var(--s7) var(--s2); }
/* raised 3D logo tiles: a thick "edge" under each tile */
.logo-card { position: relative; display: grid; place-items: center; height: 84px; padding: 0 var(--s6); border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid #ebebeb; box-shadow: 0 6px 0 #e6e6e6, 0 7px 0 #dcdcdc, 0 22px 30px -18px rgba(39,39,39,.45); }
.logos img { height: 46px; width: auto; object-fit: contain; }

/* 3D hover tilt (trio.js sets --rx/--ry from the pointer and --mx/--my for the glare) */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease; will-change: transform; }
[data-tilt]::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 55%); mix-blend-mode: soft-light; }
[data-tilt].is-tilting { --lift: -6px; transition: transform .12s ease-out, box-shadow .4s ease, border-color .4s ease; }
[data-tilt].is-tilting::after { opacity: 1; }
.best-grid .card.is-tilting { border-color: #dbdbdb; box-shadow: 0 34px 50px -30px rgba(39,39,39,.6); }
.best-grid .card.blue.is-tilting::after { mix-blend-mode: normal; opacity: .55; }
.logo-card.is-tilting { box-shadow: 0 6px 0 #e1e1e1, 0 7px 0 #d6d6d6, 0 30px 40px -20px rgba(39,39,39,.5); }
.best-grid .card .ico svg { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.best-grid .card.is-tilting .ico svg { transform: translateY(-4px) rotate(-8deg) scale(1.06); }
.best-grid .card.wide .photo img { transition: transform .6s ease; }
.best-grid .card.wide.is-tilting .photo img { transform: scale(1.05); }
.best-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s4); padding: var(--s6) var(--s7) var(--s7); }
.best-grid .card { position: relative; border-radius: var(--radius); border: 1px solid #f0f0f0; background: #fff; padding: var(--s5); min-height: 220px; box-shadow: var(--shadow-sm); overflow: hidden; }
.best-grid .card .ico { position: relative; display: block; width: 40px; height: 40px; color: var(--navy-deep); margin-bottom: var(--s4); }
.best-grid .card .ico svg { width: 40px; height: 40px; position: relative; }
.best-grid .card .ico::before { content: ''; position: absolute; top: -6px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: #efefef; }
.best-grid .card p { color: var(--muted); margin-top: var(--s2); font-size: var(--fs-small); line-height: 1.5; }
.best-grid .card .rule { display: block; width: 48px; height: 4px; border-radius: 4px; background: #c9c9c9; margin: var(--s4) 0 var(--s3); }
.best-grid .card.wide { padding-right: calc(50% + var(--s5)); }
.best-grid .card.wide .photo { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; }
.best-grid .card.wide .photo img { width: 100%; height: 100%; object-fit: cover; }
.best-grid .card.blue { background: #707070 url('../img/calendar-card.webp') center / cover no-repeat; border-color: transparent; }
.best-grid .card.blue .h4 { color: #fff; }
.best-grid .card.blue p { color: #f1f1f1; }
.best-grid .card.blue .rule { background: #c7c7c7; }
.best-grid .four { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.best-grid .four .card { min-height: 0; }

/* =========================================================
   10. MORE VALUE WITH TRIO
   ========================================================= */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
/* The photo has the "03 sessions" card printed in it; the box keeps the image's exact ratio so the live card below covers it at every width. */
.value-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1300 / 1084; container-type: inline-size; }
.value-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.value-float { position: absolute; left: 1.4%; top: 60.6%; width: 48.6%; height: 33.8%; background: #fff; border-radius: 3cqw; padding: 0 3.2cqw; display: flex; align-items: center; gap: 3.2cqw; box-shadow: var(--shadow-lg); }
.value-float .ico-round { width: 15cqw; height: 15cqw; background: #e6f4e0; color: var(--green); }
.value-float .ico-round svg { width: 7cqw; height: 7cqw; }
.value-float .n { font-family: var(--font-head); font-weight: 800; font-size: 6.4cqw; color: var(--green); line-height: 1; }
.value-float .h4 { font-size: 3.1cqw; line-height: 1.25; margin-top: 1cqw; }
.value-float .tagline { display: inline-block; margin-top: 1.6cqw; padding: .9cqw 2.6cqw; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: max(2.3cqw, 12px); white-space: nowrap; }
.benefits { display: grid; gap: var(--s4); }
.benefit { position: relative; background: #fff; border-radius: var(--radius); padding: var(--s5); display: flex; gap: var(--s5); align-items: center; box-shadow: var(--shadow-sm); border: 1px solid #efefef; border-top: 4px solid #d8ecd1; }
.benefit .ico-round { width: 64px; height: 64px; background: #e6f4e0; color: var(--navy-deep); }
.benefit .ico-round svg { width: 30px; height: 30px; }
.benefit .big { font-family: var(--font-head); font-weight: 800; color: var(--green); font-size: 1.0625rem; margin-top: var(--s1); }
.benefit p { color: var(--muted); margin-top: var(--s1); font-size: var(--fs-small); line-height: 1.5; }
.benefit .free { position: absolute; top: var(--s4); right: var(--s4); background: #e3f5db; color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 999px; }
.benefit.has-free > div { padding-right: 110px; }
.value-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s6); }
.counter { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.counter span { color: #757575; }
.counter .dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-top: 6px; }

/* =========================================================
   11. FREE TAX DRAFT + QUICK SUPPORT
   ========================================================= */
.draft-card {
  position: relative; border-radius: var(--radius-lg); overflow: visible; color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(60% 90% at 100% 100%, #0d4f44 0%, rgba(13,79,68,0) 60%), linear-gradient(100deg, #0f0f0f 0%, #151515 60%, #191919 100%);
  display: grid; grid-template-columns: 1fr 380px; gap: var(--s6); padding: 28px var(--s6) 28px var(--s7); align-items: center;
}
.draft-copy { position: relative; z-index: 2; max-width: 440px; }
.draft-copy h2 { color: #fff; }
.draft-copy .lead { margin-top: var(--s3); color: #ececec; }
.draft-copy .actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.draft-art { position: absolute; left: calc(50% - 175px); top: -70px; width: 310px; z-index: 3; pointer-events: none; display: flex; flex-direction: column; align-items: center; }   /* breaks out above the card */
.draft-art svg { display: block; width: 100%; height: auto; overflow: visible; animation: draftFloat 6s ease-in-out infinite; }
.draft-art .d-shield { transform-origin: 180px 145px; animation: draftShield 6s ease-in-out infinite; }
.draft-art .d-rays { animation: draftRays 2.4s ease-in-out infinite; transform-origin: 60px 70px; }
@keyframes draftFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes draftShield { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.04); } }
@keyframes draftRays { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.draft-pill { margin-top: -6px; position: relative; }
.draft-pill span { background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 18px; font-family: var(--font-head); font-weight: 800; font-size: .8125rem; letter-spacing: .04em; box-shadow: var(--shadow-lg); white-space: nowrap; }
.support-card { position: relative; z-index: 2; background: #fff; color: var(--navy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.support-card .head { background: var(--navy-deep); color: #fff; padding: 10px var(--s4); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-small); display: flex; align-items: center; gap: var(--s2); }
.support-card .head .live { width: 10px; height: 10px; border-radius: 50%; background: #45d85f; box-shadow: 0 0 0 4px rgba(69,216,95,.25); }
.support-card .body { padding: 14px var(--s4) var(--s4); }
.support-card .h4 { margin-bottom: 10px; font-size: 1rem; }
.form-grid { display: grid; gap: var(--s3); }
.form-grid input, .form-grid textarea { width: 100%; font: inherit; font-size: var(--fs-small); min-height: 46px; padding: 11px 14px; border-radius: 10px; border: 1px solid #dcdcdc; background: #fcfcfc; color: var(--ink); }
.form-grid textarea { min-height: 72px; resize: vertical; }
.support-card .form-grid { grid-template-columns: 1fr 1fr; gap: var(--s2); }
.support-card .form-grid > :is(.btn, .form-msg) { grid-column: 1 / -1; }
.support-card .form-grid textarea { min-height: 42px; height: 42px; padding: 10px 12px; overflow: hidden; line-height: 1.4; }
.support-card .form-grid textarea:focus { overflow: auto; }
.support-card .form-grid input { min-height: 42px; padding: 9px 12px; }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(115,115,115,.15); background: #fff; }
.form-grid .btn { width: 100%; margin-top: var(--s1); }
.form-msg { font-size: .875rem; min-height: 1.2em; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #b42318; }

/* =========================================================
   12. TWO SIMPLE WAYS   13. A CLEAR START
   ========================================================= */
.ways-card { border-radius: var(--radius-lg); background: linear-gradient(90deg, #111111 0%, #191919 60%, #1f1f1f 100%); color: #fff; padding: var(--s7); box-shadow: var(--shadow-lg); }
.ways-card .section-head { margin-bottom: var(--s6); }
.ways-card h2 { color: #fff; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.way { border-radius: var(--radius); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); padding: var(--s5); display: grid; grid-template-columns: 112px 1fr; gap: var(--s5); align-items: center; }
.way img { width: 112px; height: auto; border-radius: var(--radius-sm); }
.way h3 { color: #fff; font-size: 1.375rem; }
.way p { color: #e6e6e6; margin-top: var(--s2); }
.way .row { display: flex; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s5); flex-wrap: wrap; }
.way .row a.plain { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-weight: 500; font-size: var(--fs-small); }
.way .row .sep { color: rgba(255,255,255,.5); }

.start-grid { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: var(--s5); align-items: stretch; }
.start-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.start-copy h2 { margin-top: var(--s3); }
.start-copy .lead { margin-top: var(--s4); }
.start-copy .btn { margin-top: var(--s5); }
.audit { display: inline-flex; align-items: center; gap: var(--s3); margin-top: var(--s5); font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.audit .shield { width: 36px; height: 36px; border-radius: 10px; background: var(--navy-deep); display: grid; place-items: center; color: #fff; }
.audit .shield svg { width: 20px; height: 20px; }
.start-photo { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; }
.start-photo img { width: 100%; height: 100%; object-fit: cover; }
.support-mini { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.support-mini .head { background: var(--navy-deep); color: #fff; padding: var(--s4) var(--s5); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-small); display: flex; align-items: center; gap: var(--s3); }
.support-mini .head svg { width: 22px; height: 22px; color: #c9ef59; }
.support-mini .body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.support-mini .h4 { font-size: 1.375rem; }
.support-mini p { color: var(--muted); }
.support-mini .btn { margin-top: auto; }

/* =========================================================
   14. SKY CTA + FOOTER
   ========================================================= */
.sky { position: relative; overflow: hidden; padding: calc(var(--section-y) + 24px) 0; text-align: center; background: #e3e3e3; color: var(--navy); }
/* the stage "covers" the section like background-size: cover (trio.js sets --sw/--sh) */
.sky-stage { position: absolute; left: 50%; top: 50%; width: var(--sw, 100%); height: var(--sh, 100%); transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.sky-bg { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 40%; }
@keyframes skyPan { from { transform: scale(1.14) translateX(-5%); } to { transform: scale(1.14) translateX(5%); } }
@keyframes skyDrift { to { transform: translateX(-50%); } }
@keyframes skyBreath { from { transform: scale(1); } to { transform: scale(1.06); } }
/* photo cards: start off-screen (left stack from the left, right stack from the right), then land one by one */
.sky-card { --from: -70vw; --spin: -14deg; position: absolute; left: var(--x); top: var(--y); width: var(--w); margin: 0; z-index: calc(2 + var(--i)); opacity: 0;
  transform: translate(calc(-50% + var(--from)), -50%) rotate(calc(var(--r) + var(--spin)));
  transition: transform 1.25s cubic-bezier(.16,.84,.24,1) calc(.35s + var(--i) * .38s), opacity .8s ease calc(.35s + var(--i) * .38s); }
.sky-card.r { --from: 70vw; --spin: 14deg; }
.sky.is-in .sky-card { opacity: 1; transform: translate(-50%, -50%) rotate(var(--r)); }
.sky-card .f { background: #fff; padding: 4.2%; border-radius: 14px; box-shadow: 0 26px 40px -22px rgba(19,19,19,.5), 0 2px 6px rgba(19,19,19,.08); animation: skyFloat 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.sky-card img { display: block; width: 100%; aspect-ratio: var(--ar); object-fit: cover; border-radius: 9px; }
.sky-card .f { overflow: hidden; }
@keyframes skyFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(.8deg); } }
.sky.is-still .sky-card .f { animation: none; }   /* the sky and clouds keep moving for everyone: slow ambient motion */
.sky.is-still .sky-card { transition: none; }
.sky::before { content: ''; position: absolute; z-index: 1; left: 50%; top: 50%; width: min(860px, 100%); height: 80%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(239,239,239,.92) 0%, rgba(239,239,239,.75) 55%, rgba(239,239,239,0) 100%); pointer-events: none; }
.sky .wrap { position: relative; z-index: 2; }
.sky .section-head { margin-bottom: 0; }
.sky .eyebrow { color: var(--navy); }
.sky .lead { color: #2c2c2c; }

.footer { position: relative; color: #fff; overflow: hidden; background: radial-gradient(60% 80% at 100% 100%, #0c5a3a 0%, rgba(12,90,58,0) 60%), radial-gradient(50% 70% at 0% 100%, #252525 0%, rgba(37,37,37,0) 60%), linear-gradient(180deg, #0d0d0d 0%, #121212 100%); padding: var(--s7) 0 var(--s5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--s6); align-items: start; }
.footer-brand img { width: 115px; }
.footer-brand p { margin-top: var(--s2); color: #d9d9d9; font-size: .75rem; }
.socials { display: flex; gap: 12px; margin-top: var(--s4); }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -6px rgba(0,0,0,.55); transition: transform .2s ease, filter .2s ease; }
.socials a svg { width: 19px; height: 19px; }
.socials a:hover { transform: translateY(-3px); filter: brightness(1.1); }
/* each network in its own brand colour */
.socials .s-fb { background: #1877F2; }
.socials .s-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.socials .s-in { background: #0A66C2; }
.socials .s-yt { background: #FF0000; }
.socials .s-yt svg { width: 21px; height: 21px; }
.footer .h5 { font-family: var(--font-head); font-weight: 700; font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0 0 var(--s3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .75rem; color: #e8e8e8; }
.footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer .chat-btn { margin-top: var(--s4); background: var(--yellow-deep); color: var(--navy); box-shadow: none; min-height: 34px; padding: 6px 14px; font-size: .75rem; }
.footer-talk { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.16); }
.footer-talk h2 { color: #fff; font-size: clamp(3rem, 8.4vw, 7rem); letter-spacing: -.04em; line-height: .95; }
.footer-talk .go { width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; transition: transform .18s; }
.footer-talk .go:hover { transform: rotate(45deg); }
.footer-talk .go svg { width: 40%; height: 40%; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.16); font-size: .6875rem; color: #d9d9d9; }
.footer-bottom .legal { display: flex; gap: var(--s5); }

/* =========================================================
   Responsive — same system, smaller steps
   ========================================================= */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
  .best-grid { grid-template-columns: 1fr 1fr; }
  .best-grid .card.wide { grid-column: 1 / -1; }
  .best-grid .four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
      .plan-copy { padding-right: var(--s5); }
  .start-grid { grid-template-columns: 1fr 1fr; }
  .support-mini { grid-column: 1 / -1; }
  .draft-card { grid-template-columns: 1fr 340px; }
  .draft-art, .draft-pill { display: none; }
  .draft-copy { max-width: none; }
}
@media (max-width: 1100px) {
  .arc-stage { height: auto; aspect-ratio: auto; margin-bottom: 0; }
  .arc-stage .arc-line { display: none; }
  .arc-stage .section-head { margin-bottom: var(--s7); }
  .arc-item { position: static !important; transform: none; }
  .arc-item.extra { display: none; }
  .arc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6) var(--s4); }
}
@media (max-width: 960px) {
  :root { --section-y: 56px; }
  .nav-links, .nav-ctas .btn { display: none; }
  .nav-toggle { display: grid; }
  .nav-pill { padding: 8px 16px; min-height: 52px; }
  .nav-logo { margin-right: 0; padding-right: 0; border: 0; height: 32px; }
  .mobile-menu { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; margin-top: var(--s3); background: #fff; border-radius: 20px; padding: var(--s4); box-shadow: var(--shadow-lg); z-index: 20; }
  .mobile-menu.is-open { display: block; }
  .mobile-menu a:not(.btn) { display: block; padding: var(--s3) var(--s2); font-family: var(--font-body); font-weight: 500; font-size: .9375rem; color: var(--navy); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { display: flex; margin-top: var(--s3); }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: var(--s5); }
  .security-card { grid-template-columns: 1fr; min-height: 0; }
  .security-card .art { position: relative; width: 100%; height: 180px; order: -1; }
  .art-stage { right: auto; left: 50%; transform: translate(-50%, -50%); }
  .security-card .art::before { background: linear-gradient(180deg, rgba(20,20,20,0) 70%, #141414 100%); }
  .security-copy { padding: var(--s6); }
  .fan { height: auto; }
  .fan-track { position: static; width: auto; transform: none; display: flex; gap: var(--s4); overflow-x: auto; padding: var(--s2) var(--s1) var(--s5); scroll-snap-type: x mandatory; }
  .fan-card { position: static; transform: none !important; flex: 0 0 240px; scroll-snap-align: center; }
  .fan-card:hover { transform: none !important; }
  .fan-nav { display: none; }
  .wheel { --card-w: 260px; height: 560px; }
  .wheel-blob.blue { width: 60vw; left: -22vw; }
  .wheel-blob.green { width: 40vw; right: -6vw; }
  .cpa-card { grid-template-columns: 1fr; padding: var(--s6); }
  .cpa-card .photo { position: relative; left: 0; width: 100%; height: 170px; border-radius: var(--radius); order: 2; }
  .cpa-card .photo::before { display: none; }
  .cpa-note { display: none; }
    .plan-copy { padding: 0 var(--s4) var(--s4); }
  .value-grid { grid-template-columns: 1fr; }
  .draft-card { grid-template-columns: 1fr; padding: var(--s6); }
  .ways-card { padding: var(--s6); }
  .ways { grid-template-columns: 1fr; }
  .start-grid { grid-template-columns: 1fr; }
  .start-photo { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --section-y: 48px; --gutter: 20px; }
  .section-head { margin-bottom: var(--s6); }
  .topbar .wrap { flex-direction: column; align-items: flex-start; gap: var(--s1); padding: var(--s2) 0; }
  .hero { min-height: 560px; }
  .hero-content { padding: var(--s7) 0 var(--s8); }
  .hero-sub { font-size: .875rem; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .features, .steps, .best-grid, .best-grid .four, .footer-grid { grid-template-columns: 1fr; }
  .arc-list { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .security-copy, .cpa-card, .draft-card, .ways-card { padding: var(--s5); }
  .step { min-height: 340px; }
  .wheel { --card-w: 240px; height: 540px; }
  .logos { flex-wrap: wrap; justify-content: center; gap: var(--s5); padding: var(--s5) var(--s5) 0; }
  .logos img { height: 34px; }
  .logo-card { height: 64px; padding: 0 var(--s4); }
  .best-grid { padding: var(--s5); }
  .best-grid .card.wide { padding-right: var(--s5); padding-bottom: 240px; }
  .best-grid .card.wide .photo { top: auto; left: 0; width: 100%; height: 220px; }
  .best-grid .card.wide .photo img { object-position: 85% 30%; }
  .benefit { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .benefit.has-free > div { padding-right: 0; }
  .value-foot { flex-direction: column; align-items: flex-start; gap: var(--s5); }
  .way { grid-template-columns: 1fr; justify-items: start; }
  .way img { width: 120px; }
  .footer-talk .go { width: 56px; height: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .topbar-left .long { display: none; }
  .topbar-left .short { display: inline; }
  .topbar a.topbar-phone { display: none; }
  .topbar .wrap { min-height: 44px; padding: 0; }
  .topbar .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--s4); }
  /* the live card grows upward from the printed card's bottom edge so it always covers it, with readable text */
  .value-float { top: auto; bottom: 5.6%; height: auto; min-height: 33.8%; width: 72%; padding: var(--s3) var(--s4); gap: var(--s3); border-radius: var(--radius); }
  .value-float .ico-round { width: 48px; height: 48px; }
  .value-float .ico-round svg { width: 24px; height: 24px; }
  .value-float .n { font-size: 1.5rem; }
  .value-float .h4 { font-size: .875rem; margin-top: 2px; }
  .value-float .tagline { font-size: .75rem; padding: 3px 10px; margin-top: 6px; }
}
/* Touch screens: every text link gets a comfortable 44px tap area */
@media (max-width: 960px) {
  .footer ul { gap: 0; }
  .footer ul a, .footer-bottom .legal a, .link-arrow, .way .row a.plain, .topbar a { display: inline-flex; align-items: center; min-height: 44px; }
  .fan-card .link-arrow, .wheel-card .link-arrow, .feature .link-arrow { margin-top: var(--s1); }
}
/* =========================================================
   Scroll reveal — trio.js tags elements with .rv (plus a direction) and an index --ri,
   then adds .is-in when they scroll into view. Uses the individual translate/scale
   properties so it never fights an element's own transform (tilt, hover lifts).
   ========================================================= */
html.reveal-on .rv { opacity: 0; translate: 0 46px; scale: .97; filter: blur(5px);
  transition: opacity .8s ease, translate 1.05s cubic-bezier(.16,.84,.24,1), scale 1.05s cubic-bezier(.16,.84,.24,1), filter .8s ease;
  transition-delay: calc(var(--ri, 0) * 110ms); }
html.reveal-on .rv.rv-left { translate: -70px 0; }
html.reveal-on .rv.rv-right { translate: 70px 0; }
html.reveal-on .rv.rv-pop { translate: 0 24px; scale: .82; }
html.reveal-on .rv.rv-big { filter: none; }          /* large panels: skip the blur (cheaper to draw) */
html.reveal-on .rv.is-in { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); }
html.reveal-on .rv.rv-fast { transition-duration: .4s; transition-delay: 0s; }   /* fast scrolling: short, no stagger */
html.reveal-on .rv.rv-now { transition: none; }                                     /* scrolled past: show at once */

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion) .fan-card, html:not(.force-motion) .footer-talk .go { transition: none; }
  html:not(.force-motion) .draft-art svg, html:not(.force-motion) .draft-art .d-shield, html:not(.force-motion) .draft-art .d-rays { animation: none; }
  html:not(.force-motion) .btn:hover::after { animation: none; }   /* hover sweep + arrow swap stay: small and only on the visitor's own hover */

}
.sky .section-foot { margin-top: var(--s6); }
.way .row .links { display: inline-flex; align-items: center; gap: var(--s3); white-space: nowrap; }


/* =========================================================
   CLIENT REVISION — 26 Oct 2026 (Trio_Website_Draft_Layout_Explanation)
   Logo palette: navy #151515 · white · green. Yellow buttons retired.
   ========================================================= */
:root { --navy-deep: #151515; --logo-green: #3d9446; }

/* 1. top bar: logo navy with white text */
.topbar { background: #151515; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.topbar-left svg, .topbar-left a, .topbar-left a svg, .topbar-phone svg { color: #9be27e; }
.topbar-phone { color: #fff; }

/* 3. header buttons: CPA Login (transparent white) · Client Login (logo navy) */
.btn-logo { --sweep: #212121; background: #151515; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: 0 12px 24px -12px rgba(21,21,21,.8); }
.btn-ghost-light { --sweep: #fff; background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.8); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { color: var(--navy-deep); }

/* 5. button colours follow the logo: navy on light backgrounds, green on dark panels */
.btn-yellow { --sweep: #212121; background: var(--navy-deep); color: #fff; box-shadow: 0 12px 24px -12px rgba(21,21,21,.7); }
.security-card .btn-yellow, .cpa-full .btn-yellow, .ways-card .btn-yellow { --sweep: #0a5c28; background: var(--green); color: #fff; box-shadow: 0 12px 24px -12px rgba(17,126,57,.8); }
.footer .chat-btn { background: var(--green); color: #fff; }

/* 4. hero line + tagline */
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 980px; }
.hero-sub sup { font-size: .6em; }
.hero-content { position: relative; }
.hero-note { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; font-size: .75rem; color: rgba(255,255,255,.72); }

/* 6. Data Security: bigger artwork with hover file labels */
.security-card { min-height: 420px; grid-template-columns: 42% 58%; }
.security-card .art { width: 58%; }
.security-card .checks { grid-template-columns: 1fr; }
.sec-spots { position: absolute; inset: 0; z-index: 3; }
.sec-spot { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; cursor: pointer;
  background: rgba(20,20,20,.55); border: 1px solid rgba(190,248,255,.55); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .8125rem;
  backdrop-filter: blur(6px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); transition: background .3s, border-color .3s, transform .3s; }
.sec-spot::before { content: ''; position: absolute; inset: -5px; border-radius: inherit; border: 1px solid rgba(155,226,126,.6); animation: spotPulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes spotPulse { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.18); } }
.sec-spot-file { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(203,203,203,.25); color: #e4e4e4; }
.sec-spot-file svg { width: 16px; height: 16px; }
.sec-spot.s-chat { left: 6%; top: 10%; }
.sec-spot.s-portal { left: 34%; top: 5%; }
.sec-spot.s-log { left: 5%; bottom: 11%; }
.sec-spot.s-lock { left: 36%; bottom: 6%; }
.sec-spot-tip { position: absolute; left: 0; top: calc(100% + 10px); width: 240px; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--ink); text-align: left;
  font-weight: 400; font-size: .8125rem; line-height: 1.5; box-shadow: 0 24px 44px -20px rgba(0,0,0,.55); opacity: 0; transform: translateY(8px) scale(.96); transform-origin: top left;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.sec-spot-tip strong { display: block; font-family: var(--font-head); font-size: .875rem; color: var(--green); margin-bottom: 4px; }
.sec-spot.s-log .sec-spot-tip, .sec-spot.s-lock .sec-spot-tip { top: auto; bottom: calc(100% + 10px); transform-origin: bottom left; }
.sec-spot:hover, .sec-spot:focus-visible, .sec-spot.is-lit { background: rgba(17,126,57,.85); border-color: #9be27e; transform: translateY(-2px); z-index: 2; }
.sec-spot:hover .sec-spot-tip, .sec-spot:focus-visible .sec-spot-tip, .sec-spot.is-lit .sec-spot-tip { opacity: 1; transform: none; }
.feature-kicker { font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--green); }
.feature { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.feature:hover { transform: translateY(-6px); border-color: #b9d9c3; box-shadow: 0 30px 46px -30px rgba(21,21,21,.55); }

/* 8. How it works: pinned, cards slide in from the right, ticks pop */
.how.is-pinned { padding: 0; height: calc(100vh + 3 * 70vh); }
.how.is-pinned .how-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.how.is-pinned .how-stage > .wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.how.is-pinned .step { min-height: min(380px, 44vh); will-change: transform, opacity; }
.how.is-pinned .section-head { margin-bottom: 28px; }
.steps-notes { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s7); margin-top: var(--s6); }
.steps-notes .steps-note { margin: 0; }
.how.is-pinned .steps-note { opacity: 0; transform: scale(.6) translateY(10px); transition: opacity .35s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.how.is-pinned .steps-note.is-on { opacity: 1; transform: none; }
.how.is-pinned .steps-note .ck { transition: transform .5s cubic-bezier(.34,1.56,.64,1) .1s; transform: scale(.4) rotate(-40deg); }
.how.is-pinned .steps-note.is-on .ck { transform: none; }

/* 9. Clarity at every stage of Our Services: word wall behind the rolling tiles; "selected" hover */
.word-wall { position: absolute; inset: -10px 0 0; z-index: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; overflow: hidden; pointer-events: none;
  font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; white-space: nowrap; color: rgba(19,19,19,.045); }
.word-wall span { display: block; animation: wallDrift 60s linear infinite alternate; }
.word-wall span:nth-child(even) { animation-direction: alternate-reverse; margin-left: -18%; }
.word-wall b { font-weight: 300; }
.word-wall b.hv { font-weight: 800; color: rgba(19,19,19,.075); }
@keyframes wallDrift { from { transform: translateX(0); } to { transform: translateX(-12%); } }
.wheel-card { transition: box-shadow .35s ease, scale .35s cubic-bezier(.2,.8,.2,1); }
.wheel-card::after { content: ''; position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; border-radius: 50%; z-index: 3; opacity: 0; transform: scale(.4);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 6px 14px -4px rgba(17,126,57,.7); transition: opacity .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.wheel-card:hover { scale: 1.06; z-index: 400 !important; box-shadow: 0 0 0 3px var(--navy-deep), 0 34px 56px -26px rgba(21,21,21,.6); }
.wheel-card:hover::after { opacity: 1; transform: none; }
.pill-tabs.blue button.is-active { background: var(--navy-deep); color: #fff; }

/* CPA: full-width section, larger */
.cpa-full { padding: 0; }
.cpa-full .cpa-card { border-radius: 0; box-shadow: none; display: flex; align-items: center; min-height: 520px; padding: 72px 0; }
.cpa-full .cpa-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--s7); align-items: center; }
.cpa-full .cpa-card .photo { left: 36%; width: 34%; }
.cpa-full .cpa-brand .xtrio { font-size: 2.6rem; }
.cpa-full .cpa-brand .connect { font-size: .8125rem; }
.cpa-full .cpa-copy { max-width: 600px; }
.cpa-full .cpa-copy h3 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.15; margin-top: var(--s5); }
.cpa-full .cpa-copy .sub { font-size: 1.0625rem; margin-top: var(--s3); }
.cpa-full .cpa-copy .btn { margin-top: var(--s6); }
.cpa-full .cpa-side { gap: var(--s4); }
.cpa-full .cpa-tile { padding: 20px 24px; }
.cpa-full .cpa-tile .ico-round { width: 56px; height: 56px; }
.cpa-full .cpa-tile .h4 { font-size: 1.1875rem; }
.cpa-full .cpa-note { right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 18px; }

/* Good Tax Planning: one-line title */
.deck-inner .section-head.split > div { max-width: none; }
@media (min-width: 1101px) { h2.one-line { white-space: nowrap; } }

/* All 50 states: three drifting rows of flags */
.states-rows { display: grid; gap: 22px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.states-row { overflow: hidden; padding: 8px 0 14px; }
.states-track { display: flex; gap: 18px; padding-right: 18px; width: max-content; animation: statesRtl 90s linear infinite; }
.states-row.ltr .states-track { animation-name: statesLtr; animation-duration: 100s; }
.states-row:hover .states-track, .states-row:focus-within .states-track { animation-play-state: paused; }
@keyframes statesRtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes statesLtr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.state { flex: none; width: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 12px 12px; border-radius: 16px; background: #fff;
  border: 1px solid #ececec; box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.state img { width: 112px; height: 72px; object-fit: cover; border-radius: 6px; background: #efefef; box-shadow: 0 0 0 1px rgba(19,19,19,.1), 0 8px 16px -10px rgba(19,19,19,.5); }
.state span { font-family: var(--font-body); font-weight: 600; font-size: .8125rem; color: var(--navy); text-align: center; }
.state:hover, .state:focus-visible { transform: translateY(-6px); border-color: var(--navy-deep); box-shadow: 0 24px 36px -22px rgba(21,21,21,.6); }
.states.is-still .states-row { overflow-x: auto; }
.states.is-still .states-track { animation: none; }

/* More Value: three cards, colour fills from the bottom on hover */
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.value-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: var(--s2); padding: 32px 28px 28px; border-radius: 20px;
  background: #fff; border: 1px solid #ececec; box-shadow: var(--shadow-sm); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; }
.value-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #151515 0%, #1c1c1c 60%, #0b5a3c 100%);
  transform: translateY(101%); transition: transform .55s cubic-bezier(.65,0,.35,1); }
.value-card .ico-round { width: 60px; height: 60px; margin-bottom: var(--s2); background: #e6f4e0; color: var(--navy-deep); transition: background .4s, color .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.value-card .h4, .value-card p, .value-card .big { transition: color .4s; }
.value-card .big { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; color: var(--green); }
.value-card p { color: var(--muted); font-size: var(--fs-small); margin-bottom: var(--s3); }
.value-card .free { position: absolute; top: 18px; right: 18px; background: #e3f5db; color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 999px; }
.btn-sm-know { margin-top: auto; align-self: flex-start; min-height: 36px; padding: 6px 16px; font-size: .8125rem; --sweep: var(--green); background: var(--soft); color: var(--navy); border-color: #e6e6e6; }
.value-card:hover { transform: translateY(-10px); border-color: transparent; box-shadow: 0 34px 56px -30px rgba(21,21,21,.65); }
.value-card:hover::before { transform: none; }
.value-card:hover .h4 { color: #fff; }
.value-card:hover p { color: #e0e0e0; }
.value-card:hover .big { color: #9be27e; }
.value-card:hover .ico-round { background: rgba(255,255,255,.12); color: #9be27e; transform: rotate(-10deg) scale(1.08); }
.value-card:hover .btn-sm-know { background: var(--green); color: #fff; border-color: transparent; }

@media (max-width: 1100px) {
  .security-card { grid-template-columns: 1fr; }
  .security-card .art { width: 100%; }
  .sec-spots { display: none; }
  .value-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .cpa-full .cpa-card { flex-direction: column; align-items: stretch; padding: 48px 0 56px; min-height: 0; }
  .cpa-full .cpa-inner { grid-template-columns: 1fr; gap: var(--s5); }
  .cpa-full .cpa-card .photo { width: calc(100% - 2 * var(--gutter)); margin: var(--s5) auto 0; }
  .value-cards { grid-template-columns: 1fr; }
  .state { width: 124px; }
  .state img { width: 96px; height: 62px; }
}
@media (max-width: 640px) {
  .hero-note { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .sec-spot::before, html:not(.force-motion) .word-wall span { animation: none; }

}


/* =========================================================
   "Let's talk tax." — kinetic footer title (trio.js [data-talk])
   ========================================================= */
.footer-talk .talk-title { font-size: clamp(2.75rem, 7.4vw, 6.25rem); line-height: 1.02; letter-spacing: -.04em; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .26em; row-gap: .1em; padding-top: .18em; }
.talk-w { display: inline-flex; position: relative; }
/* letters rise as if spoken */
.talk-w .ch { display: inline-block; transform: translateY(70%) rotate(10deg); opacity: 0; transition: transform .8s cubic-bezier(.16,.84,.24,1), opacity .6s ease; transition-delay: calc(var(--i) * 55ms); }
.footer-talk.is-in .ch { transform: none; opacity: 1; }
/* speech bubble around "talk" */
.talk-bubble { padding: 0 .16em; }
.bubble-line { position: absolute; left: -.08em; right: -.08em; top: -.1em; bottom: -.34em; width: calc(100% + .16em); height: calc(100% + .44em); overflow: visible; pointer-events: none; }
.bubble-line path { fill: none; stroke: #9be27e; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1.06 2; stroke-dashoffset: 1.06; transition: stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) .55s; }
.footer-talk.is-in .bubble-line path { stroke-dashoffset: 0; }
.footer-talk.is-drawn .bubble-line path, .footer-talk.is-still .bubble-line path { stroke-dasharray: none; }   /* solid once drawn: no gap at the start/end corner */
/* typing dots bubble */
.typing { position: absolute; right: -.5em; top: -.42em; display: flex; gap: .06em; padding: .07em .12em; border-radius: 999px; background: #fff; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5);
  transform: scale(0); transform-origin: bottom left; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.typing i { width: .075em; height: .075em; border-radius: 50%; background: var(--navy-deep); animation: typeDot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typeDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-.05em); opacity: 1; } }
.footer-talk.is-typing .typing { transform: scale(1); }
/* the rolling last word */
.talk-slot { display: inline-block; position: relative; height: 1.12em; overflow: hidden; vertical-align: bottom; transition: width .6s cubic-bezier(.65,0,.35,1); transform: translateY(70%); opacity: 0; }
.footer-talk.is-in .talk-slot { transform: none; opacity: 1; transition: width .6s cubic-bezier(.65,0,.35,1), transform .9s cubic-bezier(.16,.84,.24,1) .5s, opacity .6s ease .5s; }
.slot-reel { display: flex; flex-direction: column; transition: transform .75s cubic-bezier(.7,-.2,.25,1.25); }
.slot-reel.no-anim { transition: none; }
.slot-word { display: block; height: 1.12em; line-height: 1.12; white-space: nowrap; padding-right: .04em;
  background: linear-gradient(95deg, #8fe0a2 0%, #b9ef4d 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slot-word.is-tax { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
/* arrow "sends" when tax. lands */
.footer-talk .go { position: relative; }
.footer-talk .go::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #9be27e; opacity: 0; pointer-events: none; }
.footer-talk.is-sent .go::after { animation: goPulse .9s ease-out; }
.footer-talk.is-sent .go svg { animation: goSend .7s cubic-bezier(.34,1.56,.64,1); }
@keyframes goPulse { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes goSend { 0% { transform: none; } 40% { transform: translate(28%, -28%); opacity: 0; } 41% { transform: translate(-28%, 28%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  .typing { right: -.3em; }
}
/* reduced motion: everything in place, no rolling */
.footer-talk.is-still .ch, .footer-talk.is-still .talk-slot { transform: none; opacity: 1; transition: none; }
.footer-talk.is-still .bubble-line path { stroke-dashoffset: 0; transition: none; }


/* Footer "Chat with TRIO": yellow, gently "online" when idle, pops and starts typing on hover */
.footer .chat-btn { --sweep: #f5c518; background: var(--yellow); color: var(--navy); gap: 8px; padding: 7px 16px 7px 8px; box-shadow: 0 10px 22px -12px rgba(254,220,65,.9);
  animation: chatGlow 2.8s ease-out infinite; transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.chat-ico { position: relative; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-deep); color: var(--yellow); flex: none; }
.chat-ico svg { width: 13px; height: 13px; animation: chatWiggle 4.5s ease-in-out infinite; transform-origin: 50% 80%; }
.chat-ico::after { content: ''; position: absolute; right: -1px; top: -1px; width: 8px; height: 8px; border-radius: 50%; background: #45d85f; border: 2px solid var(--yellow); }   /* "online" */
.chat-dots { display: inline-flex; gap: 3px; width: 0; overflow: hidden; opacity: 0; transition: width .35s ease, opacity .25s ease; }
.chat-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--navy); animation: typeDot 1s ease-in-out infinite; }
.chat-dots i:nth-child(2) { animation-delay: .15s; } .chat-dots i:nth-child(3) { animation-delay: .3s; }
.footer .chat-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 16px 30px -12px rgba(254,220,65,.95); animation: none; }
.footer .chat-btn:hover .chat-ico svg { animation: chatPop .5s cubic-bezier(.34,1.56,.64,1); }
.footer .chat-btn:hover .chat-dots { width: 18px; opacity: 1; }
@keyframes chatGlow { 0% { box-shadow: 0 0 0 0 rgba(254,220,65,.55), 0 10px 22px -12px rgba(254,220,65,.9); } 70%, 100% { box-shadow: 0 0 0 12px rgba(254,220,65,0), 0 10px 22px -12px rgba(254,220,65,.9); } }
@keyframes chatWiggle { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg) scale(1.1); } 90% { transform: rotate(12deg) scale(1.1); } 94% { transform: rotate(-6deg); } }
@keyframes chatPop { 0% { transform: scale(.6) rotate(-20deg); } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .footer .chat-btn, html:not(.force-motion) .chat-ico svg, html:not(.force-motion) .chat-dots i { animation: none; }

}


/* Menu bar: new logo on its own navy (#151515, same as the logo artwork) — curved left end,
   straight edge where the white menu starts */
/* two halves that meet at the straight edge — no white layer behind the navy, so no light fringe on the curve */
.nav-pill { padding: 0; background: transparent; align-items: stretch; }
.nav-brand { display: flex; align-items: center; background: #151515; padding: 0 26px 0 30px; border-radius: 999px 0 0 999px; }
.nav-pill .nav-links { align-self: stretch; background: #fff; padding: 0 28px 0 24px; border-radius: 0 999px 999px 0; }
.nav-logo { height: 40px; width: auto; margin: 0; padding: 0; border: 0; }
@media (max-width: 960px) {
  .nav-pill { padding: 0; background: transparent; }
  .nav-brand { margin-right: 0; padding: 0 22px; border-radius: 999px; min-height: 52px; }
  .nav-logo { height: 34px; }
}

/* Thin animated green line along the bottom of the top bar: draws in from the left, then a light glint keeps travelling along it */
.topbar { position: relative; border-bottom: 0; }
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 100%) no-repeat -20% 0 / 12% 100%,
              linear-gradient(90deg, rgba(61,148,70,.3) 0%, #3d9446 30%, #6cc957 70%, rgba(155,226,126,.35) 100%);
  transform-origin: left center; animation: topLineDraw 1.3s cubic-bezier(.65,0,.35,1) .2s both, topLineGlint 3.2s ease-in-out 1.5s infinite; }
@keyframes topLineDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes topLineGlint { 0% { background-position: -20% 0, 0 0; } 60%, 100% { background-position: 120% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .topbar::after { animation: none; }

}

/* Animated menu logo — transparent layers cut from the client's logo (letters + green chart).
   Load: T, R, I, O drop in one by one, TAX SERVICES rises, the arrow shoots up out of the O.
   Behind it the navy has a slow green glow and an occasional light streak. */
.nav-brand { position: relative; overflow: hidden; isolation: isolate; }
.nav-brand::before { content: none; }
.nav-brand::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%) no-repeat -150% 0 / 60% 100%;
  animation: brandStreak 7s ease-in-out 2.4s infinite; }
@keyframes brandAurora { 0% { background-position: 0% 100%, 100% 0%; } 50% { background-position: 70% 30%, 20% 80%; } 100% { background-position: 100% 0%, 0% 100%; } }
@keyframes brandStreak { 0% { background-position: -150% 0; } 30%, 100% { background-position: 250% 0; } }

.logo-stack { position: relative; display: block; line-height: 0; }
.logo-stack .logo-size { opacity: 0; }                      /* keeps the size and the alt text; the visible logo is the parts */
.logo-part { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-t, .p-r, .p-i, .p-o { animation: logoDrop .75s cubic-bezier(.34,1.56,.64,1) both; }
.p-t { animation-delay: .25s; } .p-r { animation-delay: .37s; } .p-i { animation-delay: .49s; } .p-o { animation-delay: .61s; }
.p-sub { animation: logoRise .7s cubic-bezier(.16,.84,.24,1) .95s both; }
.p-green { transform-origin: 73% 63%; animation: logoShoot .8s cubic-bezier(.34,1.56,.64,1) 1.15s both, logoTick 5s ease-in-out 3s infinite; }
@keyframes logoDrop { from { opacity: 0; transform: translateY(-60%) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes logoRise { from { opacity: 0; transform: translateY(45%); letter-spacing: .4em; } to { opacity: 1; transform: none; } }
@keyframes logoShoot { from { opacity: 0; transform: scale(.15) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes logoTick { 0%, 80%, 100% { transform: none; } 86% { transform: translate(2%, -4%) scale(1.04); } 92% { transform: none; } }
/* hover: the letters do a quick wave and the arrow shoots again */
.nav-brand:hover .p-t, .nav-brand:hover .p-r, .nav-brand:hover .p-i, .nav-brand:hover .p-o { animation: logoWave .55s ease-in-out both; }
.nav-brand:hover .p-r { animation-delay: .06s; } .nav-brand:hover .p-i { animation-delay: .12s; } .nav-brand:hover .p-o { animation-delay: .18s; }
.nav-brand:hover .p-green { animation: logoShoot2 .7s cubic-bezier(.34,1.56,.64,1) .15s both; }
@keyframes logoWave { 0%, 100% { transform: none; } 45% { transform: translateY(-12%); } }
@keyframes logoShoot2 { from { opacity: .2; transform: scale(.3) rotate(-20deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .nav-brand::before, html:not(.force-motion) .nav-brand::after, html:not(.force-motion) .logo-part { animation: none; }
}


/* Hero "Start Free Sign Up": a beam of light orbits the edge, a soft glow breathes, sparkles twinkle,
   and the button leans toward the pointer (trio.js [data-magnet]) */
@property --orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.cta-wrap { position: relative; display: inline-flex; }
.btn-cta { border: 2px solid transparent;
  background: linear-gradient(var(--green), var(--green)) padding-box,
              conic-gradient(from var(--orbit), rgba(155,226,126,0) 0deg, rgba(155,226,126,0) 250deg, #9be27e 300deg, #fff 330deg, #9be27e 345deg, rgba(155,226,126,0) 360deg) border-box;
  animation: ctaOrbit 2.8s linear infinite, ctaBreath 2.8s ease-in-out infinite;
  transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.btn-cta:hover { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 2px)) scale(1.05); }
@keyframes ctaOrbit { to { --orbit: 360deg; } }
@keyframes ctaBreath { 0%, 100% { box-shadow: 0 12px 24px -12px rgba(17,126,57,.8), 0 0 0 0 rgba(108,201,87,.0); } 50% { box-shadow: 0 16px 30px -12px rgba(17,126,57,.9), 0 0 26px 2px rgba(108,201,87,.45); } }
.spark { position: absolute; width: 10px; height: 10px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, rgba(255,255,255,0) 20%), linear-gradient(#fff, #fff) center / 2px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 2px no-repeat;
  filter: drop-shadow(0 0 4px #9be27e); animation: ctaSpark 3.2s ease-in-out infinite; }
.spark.s1 { left: -8px; top: -6px; animation-delay: .2s; }
.spark.s2 { right: 14px; top: -10px; width: 8px; height: 8px; animation-delay: 1.1s; }
.spark.s3 { right: -9px; bottom: 4px; animation-delay: 1.9s; }
.spark.s4 { left: 30%; bottom: -10px; width: 7px; height: 7px; animation-delay: 2.6s; }
@keyframes ctaSpark { 0%, 70%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: 0; transform: scale(.4) rotate(90deg); } }
@media (max-width: 640px) { .cta-wrap { width: 100%; } .cta-wrap .btn-cta { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .btn-cta, html:not(.force-motion) .spark { animation: none; }
}

/* Sky section: the clouds rise out of the white section above — no hard edge at the top */
.sky::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: min(24%, 120px); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.6) 35%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%); }


/* Drifting clouds: each lane spans the stage and slides from off-left to off-right; the cloud rides inside it */
.cloud-lane { position: absolute; inset: 0; pointer-events: none; animation: cloudCross var(--dur, 90s) linear infinite; animation-delay: var(--delay, 0s); will-change: transform; }
.cloud-lane .cloud { position: absolute; left: 0; height: auto; max-width: none; }
.cloud-lane .cloud.flip { transform: scaleX(-1); }
.cloud-lane.far .cloud { filter: blur(.6px); }
.cloud-lane.near { z-index: 1; }
@keyframes cloudCross { from { transform: translateX(-32%); } to { transform: translateX(104%); } }
@keyframes skyBreath { from { transform: scale(1); } to { transform: scale(1.05); } }

/* Advantage: Data Security card (60%) beside a feature box (40%).
   Headings stay put; hovering, focusing or tapping one swaps the navy box underneath. */
.adv-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s5); align-items: stretch; }
.adv-grid .security-card { grid-template-columns: 50% 50%; }
.adv-grid .security-card .art { width: 52%; }
.adv-grid .security-copy { padding: var(--s6); }
.feature-panel { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s3); background: #fff; border: 1px solid #efefef; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.fp-tabs { display: flex; flex-direction: column; gap: 2px; }
.fp-tab { position: relative; display: flex; align-items: center; gap: var(--s3); width: 100%; padding: var(--s2) var(--s3); background: none; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); transition: background .3s ease, border-color .3s ease, color .3s; }
.fp-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--green), #6cc957);
  transform: scaleY(0); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.fp-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.fp-tab .ico-tile { width: 40px; height: 40px; border-radius: 10px; transition: background .3s, color .3s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.fp-tab .ico-tile svg { width: 20px; height: 20px; }
.fp-title { flex: 1; }
.fp-chev { width: 18px; height: 18px; color: #b3b3b3; transition: transform .35s ease, color .3s; }
.fp-tab:hover .fp-title { color: var(--green); }
.fp-tab.is-active { background: linear-gradient(100deg, #f1fbed 0%, #fff 100%); border-color: #dcefd2; }
.fp-tab.is-active::before { transform: none; }
.fp-tab.is-active .ico-tile { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.06); }
.fp-tab.is-active .fp-chev { color: var(--green); transform: rotate(90deg); }
/* the box: every pane sits in the same cell, so the box never changes height while switching */
.fp-detail { position: relative; flex: 1; display: grid; overflow: hidden; border-radius: var(--radius); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(108,201,87,.28) 0%, rgba(108,201,87,0) 55%), linear-gradient(120deg, #0f0f0f 0%, #171717 60%, #222222 100%); }
.fp-pane { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; gap: var(--s1); padding: var(--s5); }
.fp-pane[hidden] { display: flex; visibility: hidden; opacity: 0; transform: translateY(14px); }
.fp-pane { transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.fp-pane[hidden] { transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
.fp-pane .feature-kicker { color: #9be27e; }
.fp-pane .h4 { color: #fff; }
.fp-pane p { color: #e0e0e0; font-size: var(--fs-small); }
.fp-pane .link-arrow { margin-top: auto; padding-top: var(--s3); color: #9be27e; }
.fp-pane-ico { position: absolute; right: var(--s5); top: var(--s5); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(155,226,126,.14); border: 1px solid rgba(155,226,126,.35); color: #9be27e; }
.fp-pane-ico svg { width: 26px; height: 26px; }
.fp-pane:not([hidden]) .fp-pane-ico { animation: fpPop .55s cubic-bezier(.34,1.56,.64,1) both; }
.fp-pane .feature-kicker, .fp-pane .h4 { padding-right: 64px; }
@keyframes fpPop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 1100px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv-grid .security-card { grid-template-columns: 1fr; }
  .adv-grid .security-card .art { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .fp-tab, html:not(.force-motion) .fp-tab::before, html:not(.force-motion) .fp-tab .ico-tile, html:not(.force-motion) .fp-chev, html:not(.force-motion) .fp-pane { transition: none; }
  html:not(.force-motion) .fp-pane-ico { animation: none; }
}

/* How it works: heading, line and button centred */
.how .section-head.split { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--s4); margin-left: auto; margin-right: auto; }
.how .section-head.split > div { max-width: 760px; }

/* How it works: each card flashes a soft green ring as it lands; ticks burst in with a ring and the text slides after */
.how.is-pinned .step { transition: box-shadow .5s ease; }
.how.is-pinned .step:not(:first-child).is-landed { animation: stepLand .7s ease-out both; }
@keyframes stepLand { 0% { box-shadow: var(--shadow), 0 0 0 0 rgba(108,201,87,.55); } 100% { box-shadow: var(--shadow), 0 0 0 16px rgba(108,201,87,0); } }
.how.is-pinned .steps-note { transform: translateX(-18px); }
.how.is-pinned .steps-note .ck { position: relative; transform: scale(0) rotate(-90deg); }
.how.is-pinned .steps-note .ck::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #6cc957; opacity: 0; }
.how.is-pinned .steps-note.is-on .ck { transform: none; transition: transform .6s cubic-bezier(.34,1.8,.64,1); }
.how.is-pinned .steps-note.is-on .ck::after { animation: tickRing .8s ease-out .15s both; }
.how.is-pinned .steps-note.is-on .ck svg { animation: tickDraw .45s ease-out .2s both; }
@keyframes tickRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes tickDraw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Everything you need: shorter section — less padding, a lower card and a tighter feature box */
.advantage { padding-top: 56px; padding-bottom: 56px; }
.advantage .section-head { margin-bottom: 28px; }
.adv-grid .security-card { min-height: 360px; }
.adv-grid .security-copy { padding: var(--s5) var(--s6); }
.adv-grid .security-card .checks { margin: var(--s3) 0 var(--s4); gap: var(--s2); }
.feature-panel { gap: var(--s2); padding: var(--s2); }
.fp-tab { padding: 6px var(--s3); font-size: .9375rem; }
.fp-tab .ico-tile { width: 36px; height: 36px; }
.fp-tab .ico-tile svg { width: 18px; height: 18px; }
.fp-pane { padding: var(--s4) var(--s5); }
.fp-pane-ico { right: var(--s4); top: var(--s4); width: 44px; height: 44px; }
.fp-pane-ico svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .advantage { padding-top: 48px; padding-bottom: 48px; } }

/* Clarity section: the word wall now covers the full section, top to bottom; content sits above it */
.approach > .word-wall { inset: 0; justify-content: space-between; padding: 8px 0; }
.approach > :not(.word-wall) { position: relative; z-index: 1; }
.approach > .word-wall { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }

/* Four steps: less space above the heading — content starts near the top of the pinned screen instead of centring */
.how.is-pinned .how-stage { align-items: flex-start; padding-top: 44px; }
.how:not(.is-pinned) { padding-top: 44px; }

/* Planning deck (desktop): copy starts higher with a green icon badge on top (the rail already shows 01–04);
   a soft green glow and dot grid in the corner; chips get icon badges */
.deck-card .plan-icon { display: none; }
@media (min-width: 961px) {
  .deck-card { align-items: stretch; }
  .deck-card .plan-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--s4) var(--s6) var(--s4) 0; isolation: isolate; }
  .deck-card .plan-copy::before { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; z-index: -1; pointer-events: none;
    background: radial-gradient(circle, rgba(155,226,126,.32) 0%, rgba(155,226,126,0) 68%); opacity: var(--in, 1); }
  .deck-card .plan-copy::after { content: ''; position: absolute; right: 8px; bottom: 8px; width: 150px; height: 110px; z-index: -1; pointer-events: none;
    background: radial-gradient(circle, #cfe8c4 1.5px, transparent 1.6px) 0 0 / 14px 14px;
    -webkit-mask-image: linear-gradient(135deg, transparent 10%, #000 90%); mask-image: linear-gradient(135deg, transparent 10%, #000 90%); opacity: var(--in, 1); }
  .deck-card .plan-icon { position: relative; right: auto; bottom: auto; display: grid; place-items: center; align-self: flex-start; width: 64px; height: 64px; margin-bottom: var(--s4);
    border-radius: 20px; color: #fff; -webkit-text-stroke: 0; font-size: inherit;
    background: linear-gradient(135deg, #0b6b2f 0%, var(--green) 45%, #6cc957 100%);
    box-shadow: 0 16px 28px -14px rgba(17,126,57,.75), 0 0 0 6px rgba(155,226,126,.18);
    transform: translateY(calc((1 - var(--in, 1)) * -20px)) rotate(calc((1 - var(--in, 1)) * -20deg)); }
  .deck-card .plan-icon svg { width: 30px; height: 30px; }
  .deck-card .plan-copy > .plan-icon { z-index: 1; }
  .deck-card .plan-copy h3 { margin-top: 0; }
  .deck-card .plan-copy h3::after { content: ''; display: block; width: 48px; height: 4px; margin-top: var(--s3); border-radius: 4px; background: linear-gradient(90deg, var(--green), #b9e24a); }
  .deck-card .chips { margin-top: var(--s5); }
  .deck-card .chip { padding: 6px 12px 6px 6px; border-color: #dcefd2; background: linear-gradient(180deg, #fff 0%, #f6fbf3 100%); border-radius: 999px;
    box-shadow: 0 8px 18px -14px rgba(21,21,21,.5); transition: transform .25s ease, box-shadow .25s ease; }
  .deck-card .chip svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #e3f4da; }
  .deck-card .chip:hover { transform: translateY(-2px); box-shadow: 0 14px 22px -14px rgba(21,21,21,.6); }
}

/* Two simple ways: two light cards (green = tax preparation, navy = ITIN) with a tag, numbered step chips and actions */
.ways2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.way2 { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: var(--s6); border-radius: var(--radius-lg); border: 1.5px solid;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease; }
.way2.green { --c: var(--green); --c-soft: #e3f5db; background: linear-gradient(150deg, #f4fbf0 0%, #fff 55%); border-color: #d5edc9; }
.way2.navy { --c: var(--navy-deep); --c-soft: #ececec; background: linear-gradient(150deg, #f4f4f4 0%, #fff 55%); border-color: #e2e2e2; }
.way2:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 30px 50px -32px rgba(21,21,21,.55); }
.way2-art { position: absolute; right: -18px; top: -14px; width: 150px; height: auto; z-index: -1; opacity: .9; transform: rotate(8deg);
  -webkit-mask-image: linear-gradient(225deg, #000 45%, transparent 90%); mask-image: linear-gradient(225deg, #000 45%, transparent 90%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.way2:hover .way2-art { transform: rotate(0deg) scale(1.06); }
.way2-tag { align-self: flex-start; font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.way2 h3 { margin-top: var(--s2); font-size: 1.625rem; color: var(--navy); max-width: 75%; }
.way2 p { margin-top: var(--s3); color: var(--muted); max-width: 520px; }
.way2-steps { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0 0; padding: 0; list-style: none; }
.way2-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8125rem; font-weight: 500; color: var(--navy);
  transition: border-color .3s, transform .3s; }
.way2-steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--font-head); font-size: .6875rem; font-weight: 800; }
.way2:hover .way2-steps li { border-color: var(--c-soft); }
.way2:hover .way2-steps li:nth-child(1) { transform: translateY(-2px); transition-delay: 0s; }
.way2:hover .way2-steps li:nth-child(2) { transform: translateY(-2px); transition-delay: .06s; }
.way2:hover .way2-steps li:nth-child(3) { transform: translateY(-2px); transition-delay: .12s; }
.way2:hover .way2-steps li:nth-child(4) { transform: translateY(-2px); transition-delay: .18s; }
.way2-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: auto; padding-top: var(--s6); }
.way2-ghost { --sweep: var(--c-soft); background: #fff; color: var(--navy); border-color: var(--line); }
@media (max-width: 960px) { .ways2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .way2 { padding: var(--s5); } .way2-art { width: 110px; } .way2 h3 { font-size: 1.375rem; } }
.way2-art { width: 128px; right: 14px; top: 14px; border-radius: 18px; transform: rotate(6deg); -webkit-mask-image: none; mask-image: none; opacity: 1; box-shadow: 0 18px 30px -20px rgba(21,21,21,.6); }
.way2 h3, .way2 p { max-width: calc(100% - 140px); }
@media (max-width: 640px) { .way2-art { width: 84px; } .way2 h3, .way2 p { max-width: calc(100% - 90px); } }

/* More Value with TRIO: light cards get a diagonal tint — logo green top-left, light blue bottom-right (the dark layer still slides up on hover) */
.value-card { background: linear-gradient(135deg, #e4f5da 0%, #f6fbf3 28%, #ffffff 50%, #f7f7f7 72%, #eeeeee 100%); border-color: #d9ead3; }

/* A clear start: wide dark CTA card (photo fading in on the right) beside the Quick Support card */
.start2 { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
.start-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 380px; padding: var(--s7) var(--s7);
  border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(80% 120% at 0% 100%, rgba(17,126,57,.35) 0%, rgba(17,126,57,0) 60%), linear-gradient(120deg, #0f0f0f 0%, #151515 55%, #1c1c1c 100%); }
.start-cta-photo { position: absolute; right: 0; top: 0; width: 46%; height: 100%; object-fit: cover; z-index: -1; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); }
.start-cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; z-index: -1; border: 1.5px solid rgba(155,226,126,.25);
  box-shadow: 0 0 0 40px rgba(155,226,126,.05), 0 0 0 80px rgba(155,226,126,.03); }
.start2 .start-copy { max-width: 600px; }
.start2 .start-copy h2 { margin-top: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
.start-hl { display: block; background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.start2 .start-copy .lead { margin-top: var(--s4); color: #e0e0e0; font-size: 1.0625rem; max-width: 480px; }
.start-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.start2 .start-copy .start-actions .btn { margin-top: 0; }
.start2 .audit { margin-top: var(--s5); color: #e0e0e0; }
.start2 .support-mini { grid-column: auto; }
@media (max-width: 960px) { .start2 { grid-template-columns: 1fr; } .start-cta { padding: var(--s6); min-height: 0; } .start-cta-photo { width: 60%; opacity: .3; } }
@media (max-width: 640px) { .start-cta { padding: var(--s5); } .start-actions .btn { width: 100%; justify-content: center; } }
.start2 .audit .shield { background: rgba(155,226,126,.16); color: #9be27e; }

/* A clear start: light version — soft white/green card, navy heading, light secondary button */
.start-cta { color: var(--navy); border: 1px solid #dcefd2; box-shadow: 0 30px 60px -40px rgba(21,21,21,.45);
  background: radial-gradient(70% 110% at 0% 100%, rgba(155,226,126,.28) 0%, rgba(155,226,126,0) 60%), linear-gradient(120deg, #ffffff 0%, #f6fbf3 55%, #f4f4f4 100%); }
.start-cta-photo { opacity: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.85) 55%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.85) 55%, #000 100%); }
.start-cta::after { border-color: rgba(17,126,57,.18); box-shadow: 0 0 0 40px rgba(17,126,57,.04), 0 0 0 80px rgba(17,126,57,.025); }
.start2 .start-copy h2 { color: var(--navy); }
.start-hl { background: linear-gradient(95deg, #0b6b2f 0%, var(--green) 40%, #6cc957 80%, #b9e24a 100%); -webkit-background-clip: text; background-clip: text; }
.start2 .start-copy .lead { color: var(--muted); }
.start2 .start-actions .btn-outline-light { --sweep: #efefef; background: #f3f3f3; color: var(--navy); border-color: transparent; }
.start2 .audit { color: var(--navy); }
.start2 .audit .shield { background: #e3f5db; color: var(--green); }

/* A clear start: light line-art on the right (journey path, documents, check, team) — gently floating */
.start-cta::after { content: none; }
.start-deco { position: absolute; right: 0; top: 50%; width: min(48%, 520px); height: auto; transform: translateY(-50%); z-index: -1; pointer-events: none; }
.sd-float { animation: sdFloat 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.sd-path { animation: sdDash 1.6s linear infinite; }
.sd-twinkle { animation: sdTwinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sdFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sdDash { to { stroke-dashoffset: -24; } }
@keyframes sdTwinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (max-width: 960px) { .start-deco { width: 60%; opacity: .45; } }
@media (max-width: 640px) { .start-deco { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .sd-float, html:not(.force-motion) .sd-path, html:not(.force-motion) .sd-twinkle { animation: none; }
}

/* Footer: slightly larger link text */
.footer ul { font-size: .875rem; gap: 9px; }
.footer .h5 { font-size: .6875rem; }
.footer-bottom { font-size: .8125rem; }
/* Capitol line-art replaces the journey drawing */
.start-deco { right: 2%; width: min(44%, 480px); }
.sd-capitol { animation: sdFloat 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .sd-capitol { animation: none; } }
.start-deco { right: 1%; width: min(40%, 440px); }

/* Footer: larger text */
.footer ul { font-size: 1rem; gap: 10px; }
.footer .h5 { font-size: .75rem; }
.footer-brand img { width: 130px; }
.footer-brand p { font-size: .875rem; }
.footer-bottom { font-size: .875rem; }

/* CPA Connect: smaller heading, no centre photo, a little shorter */
.cpa-full .cpa-copy h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; }
.cpa-full .cpa-card { min-height: 420px; }

/* Hero: the free-draft line sits on one line on wider screens */
.hero-sub { max-width: none; }
@media (min-width: 961px) { .hero-sub { white-space: nowrap; } }

/* CPA Connect label: same size as the XTRIO logo; the first word rolls, "Connect" stays */
.cpa-full .cpa-brand { align-items: flex-end; }
.cpa-full .cpa-brand .connect { display: inline-flex; align-items: baseline; gap: .26em; padding-left: var(--s4); font-size: 2.6rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; text-transform: none; color: #fff; }
.cx-slot { display: inline-block; position: relative; height: 1.1em; overflow: hidden; vertical-align: bottom; transition: width .6s cubic-bezier(.65,0,.35,1); }
.cx-reel { display: flex; flex-direction: column; transition: transform .75s cubic-bezier(.7,-.2,.25,1.25); }
.cx-reel.no-anim { transition: none; }
.cx-reel > span { display: block; height: 1.1em; line-height: 1.1; white-space: nowrap;
  background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* CPA Connect tiles: slide in, a light sweep passes now and then, icon pulses; hover lifts with a green bar and arrow */
.cpa-full .cpa-tile { position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.cpa-full .cpa-tile > div { flex: 1; }
.cpa-full .cpa-tile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--green), #b9e24a); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.cpa-full .cpa-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(155,226,126,.28) 50%, transparent 65%) no-repeat -150% 0 / 60% 100%;
  animation: cpaSweep 5s ease-in-out infinite; }
.cpa-full .cpa-tile:nth-child(2)::after { animation-delay: 2.5s; }
@keyframes cpaSweep { 0% { background-position: -150% 0; } 35%, 100% { background-position: 250% 0; } }
.cpa-full .cpa-tile .ico-round { position: relative; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.cpa-full .cpa-tile .ico-round::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: cpaPulse 2.8s ease-out infinite; }
.cpa-full .cpa-tile .ico-round.navy::after { color: #818181; }
.cpa-full .cpa-tile .ico-round.green::after { color: #6cc957; animation-delay: 1.4s; }
@keyframes cpaPulse { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.cpa-tile-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #eef4ea; color: var(--green);
  opacity: 0; transform: translateX(-10px); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1), background .35s, color .35s; }
.cpa-tile-go svg { width: 16px; height: 16px; }
.cpa-full .cpa-tile:hover { transform: translateX(-8px) translateY(-3px); box-shadow: 0 30px 50px -26px rgba(0,0,0,.6), 0 0 0 1px rgba(155,226,126,.6); }
.cpa-full .cpa-tile:hover::before { transform: none; }
.cpa-full .cpa-tile:hover .ico-round { transform: rotate(-12deg) scale(1.08); }
.cpa-full .cpa-tile:hover .cpa-tile-go { opacity: 1; transform: none; background: var(--green); color: #fff; }
/* entrance: from the right, staggered */
.cpa-side.will-in .cpa-tile { opacity: 0; transform: translateX(60px); transition: opacity .6s ease, transform .8s cubic-bezier(.16,.84,.24,1), box-shadow .45s ease; }
.cpa-side.will-in .cpa-tile:nth-child(2) { transition-delay: .15s, .15s, 0s; }
.cpa-side.will-in.is-in .cpa-tile { opacity: 1; transform: none; }
.cpa-side.will-in.is-in .cpa-tile:hover { transform: translateX(-8px) translateY(-3px); transition-delay: 0s; }
@media (max-width: 640px) { .cpa-full .cpa-brand .xtrio, .cpa-full .cpa-brand .connect { font-size: 2rem; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .cpa-full .cpa-tile::after, html:not(.force-motion) .cpa-full .cpa-tile .ico-round::after { animation: none; }
}
.cx-reel > span { align-self: flex-start; }

/* =========================================================
   INNER PAGES — shared page hero (navy sky, nav on top, breadcrumb)
   ========================================================= */
.nav-links a[aria-current="page"] { color: var(--green); font-weight: 600; }
.page-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(60% 90% at 85% 40%, rgba(17,126,57,.38) 0%, rgba(17,126,57,0) 60%), radial-gradient(50% 80% at 0% 100%, rgba(37,37,37,.7) 0%, rgba(37,37,37,0) 60%), linear-gradient(180deg, #0f0f0f 0%, #151515 100%); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(circle, rgba(223,223,223,.18) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: var(--s6); padding: var(--s7) 0 var(--s8); }
.crumbs { display: inline-flex; align-items: center; gap: var(--s2); font-size: .8125rem; color: #cecece; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #9be27e; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.page-hero h1 { margin-top: var(--s4); font-family: var(--font-serif); font-weight: 400; color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.06; }
.page-hero h1 em { font-style: italic; background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero-sub { margin-top: var(--s4); font-size: 1.0625rem; color: #e0e0e0; }
.hero-pills { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-pills a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 999px; font-weight: 600; font-size: .875rem; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); transition: background .3s, border-color .3s, transform .3s; }
.hero-pills a:hover { background: rgba(155,226,126,.16); border-color: #9be27e; transform: translateY(-2px); }
.hero-pills .dot { width: 8px; height: 8px; border-radius: 50%; background: #f9c932; box-shadow: 0 0 0 4px rgba(249,201,50,.18); }
.hero-pills .dot.live { background: #6cc957; box-shadow: 0 0 0 4px rgba(108,201,87,.22); }
/* globe */
.globe { width: 100%; max-width: 420px; justify-self: center; overflow: visible; }
.globe-orbit { transform-box: fill-box; transform-origin: center; animation: globeOrbit 40s linear infinite; }
@keyframes globeOrbit { to { stroke-dashoffset: -200; } }
.globe-route { animation: globeRoute 2s linear infinite; }
@keyframes globeRoute { to { stroke-dashoffset: -20; } }
.pin circle { fill: #f9c932; }
.pin.live circle { fill: #6cc957; }
.pin .pin-ring { fill: none; stroke: currentColor; stroke-width: 2; color: #f9c932; transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; }
.pin.live .pin-ring { color: #6cc957; }
.pin text { fill: #fff; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .12em; }
@keyframes pinPulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
@media (max-width: 960px) {
  .page-hero-inner { grid-template-columns: 1fr; padding: var(--s6) 0 var(--s7); }
  .globe { max-width: 300px; order: -1; margin-bottom: calc(-1 * var(--s4)); }
}
@media (max-width: 640px) { .globe { max-width: 220px; } }

/* =========================================================
   COUNTRIES — three big flash cards (USA live; Australia & Canada flip to "coming soon")
   ========================================================= */
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); perspective: 1400px; }
.country-card { --rx: 0deg; --ry: 0deg; position: relative; display: block; min-height: 460px; border-radius: 28px; color: var(--navy); text-align: left;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.country-card.is-tilting { transition: transform .12s ease-out; }
.cc-inner { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.65,0,.35,1); }
.country-card.is-flipped .cc-inner { transform: rotateY(180deg); }
.cc-face, .country-card.is-live { border-radius: inherit; background: #fff; border: 1px solid #ececec; box-shadow: 0 30px 60px -40px rgba(21,21,21,.55); overflow: hidden; }
.cc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.country-card.is-live { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s; }
.country-card.is-live:hover { border-color: #b9d9c3; box-shadow: 0 40px 70px -40px rgba(17,126,57,.6); }
/* flag banner */
.cc-flag { position: relative; height: 210px; flex: none; overflow: hidden; border-bottom: 1px solid #f2f2f2; }
.cc-flag svg { width: 100%; height: 100%; display: block; transform: scale(1.04); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.country-card:hover .cc-flag svg { transform: scale(1.1); }
.is-soon .cc-flag svg { filter: saturate(.55) brightness(1.05); }
.is-soon:hover .cc-flag svg { filter: none; }
.cc-flag::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,0) 55%, rgba(15,15,15,.25) 100%); }
/* a soft light ripples across the flag, like fabric catching the light */
.cc-shine { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 32%, transparent 44%, transparent 56%, rgba(0,0,0,.08) 68%, transparent 80%) no-repeat -120% 0 / 60% 100%;
  animation: ccShine 6s ease-in-out infinite; }
#country-australia .cc-shine { animation-delay: 2s; }
#country-canada .cc-shine { animation-delay: 4s; }
@keyframes ccShine { 0% { background-position: -120% 0; } 45%, 100% { background-position: 220% 0; } }
/* body */
.cc-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: var(--s5) var(--s6) var(--s6); }
.cc-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; }
.cc-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ccBlink 1.6s ease-in-out infinite; }
.cc-status.live { background: #e3f5db; color: var(--green); }
.cc-status.soon { background: #fff4d6; color: #a06a00; }
@keyframes ccBlink { 50% { opacity: .3; } }
.cc-name { margin-top: var(--s4); font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.03em; color: var(--navy); }
.is-live .cc-name { background: linear-gradient(95deg, var(--navy) 0%, var(--navy) 50%, var(--green) 100%); background-size: 200% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .6s ease; }
.is-live:hover .cc-name { background-position: 100% 0; }
.cc-body p { margin-top: var(--s3); color: var(--muted); font-size: .9375rem; }
.cc-cta { margin-top: auto; padding-top: var(--s5); display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-body); font-weight: 600; font-size: .9375rem; color: var(--green); background: none; border: 0; cursor: pointer; }
.cc-cta svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.country-card:hover .cc-cta svg { transform: translateX(5px); }
.is-soon .cc-cta { color: #a06a00; }
.cc-hit::after { content: ''; position: absolute; inset: 0; border-radius: 28px; }   /* the whole front face is the button */
.cc-hit:focus-visible { outline: none; }
.cc-hit:focus-visible::after { outline: 2px solid var(--green); outline-offset: 3px; }
.country-card.is-live:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
/* back face */
.cc-back { transform: rotateY(180deg); align-items: center; justify-content: center; text-align: center; padding: var(--s6);
  background: radial-gradient(90% 70% at 50% 0%, rgba(249,201,50,.18) 0%, rgba(249,201,50,0) 60%), linear-gradient(160deg, #fff 0%, #fffaf0 100%); }
.cc-back-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin-bottom: var(--s4); color: #a06a00; background: #fff4d6; box-shadow: 0 0 0 8px rgba(249,201,50,.12); }
.cc-back-ico svg { width: 32px; height: 32px; }
.is-flipped .cc-back-ico { animation: ccBob 2.4s ease-in-out infinite; }
@keyframes ccBob { 50% { transform: translateY(-6px) rotate(-6deg); } }
.cc-soon-title { margin-top: var(--s3); font-size: 1.75rem; color: var(--navy); }
.cc-soon-title .dots i { font-style: normal; animation: ccDot 1.4s ease-in-out infinite; }
.cc-soon-title .dots i:nth-child(2) { animation-delay: .2s; }
@keyframes ccDot { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.cc-back p { margin-top: var(--s3); color: var(--muted); max-width: 280px; }
.cc-back-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s6); }
.cc-back .way2-ghost { --c-soft: #efefef; }
@media (max-width: 1100px) { .country-grid { gap: var(--s4); } .cc-body { padding: var(--s5); } }
@media (max-width: 960px) { .country-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .country-card { min-height: 430px; } .cc-flag { height: 180px; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .globe-orbit, html:not(.force-motion) .globe-route, html:not(.force-motion) .pin .pin-ring,
  html:not(.force-motion) .cc-shine, html:not(.force-motion) .cc-status i, html:not(.force-motion) .cc-back-ico, html:not(.force-motion) .cc-soon-title .dots i { animation: none; }
  html:not(.force-motion) .cc-inner { transition: none; }
}
.cc-face, .country-card.is-live { border-radius: 28px; }
.cc-soon-title .dots { display: inline; position: static; width: auto; height: auto; background: none; margin: 0; padding: 0; }

/* Inner-page hero, simple version: flat navy band with breadcrumb, sans title, one line and one button */
.page-hero { background: var(--navy-deep); }
.page-hero::before { content: none; }
.page-hero-inner { display: block; padding: var(--s8) 0 var(--s8); }
.crumbs { gap: var(--s3); font-size: .9375rem; color: #fff; }
.crumbs a { color: #e0e0e0; }
.crumbs .sep { color: #969696; }
.page-hero h1 { margin-top: var(--s5); font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; }
.page-hero-sub { margin-top: var(--s4); max-width: 680px; font-size: 1.125rem; line-height: 1.6; color: #ededed; }
.page-hero-inner .btn { margin-top: var(--s6); }
@media (max-width: 960px) { .page-hero-inner { padding: var(--s7) 0; } }

/* Inner pages keep the home menu (navy logo end + white links); a lighter blue and a thin outline keep its curve visible on the navy hero */
.page-hero .nav-pill { border-radius: 999px; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 18px 40px -24px rgba(0,0,0,.7); }
.page-hero .nav-brand { background: linear-gradient(135deg, #242424 0%, #1c1c1c 100%); }

/* Inner pages: white strip behind the menu; the curved menu (navy logo end + white links) keeps its shape with a light outline */
.page-hero > .nav { background: #fff; padding: 14px 0; border-bottom: 1px solid #efefef; box-shadow: 0 10px 30px -24px rgba(21,21,21,.55); }
.page-hero .nav-pill { box-shadow: 0 0 0 1px #e6e6e6, 0 14px 30px -22px rgba(21,21,21,.55); }
.page-hero > .nav .btn-white { border-color: #e2e2e2; box-shadow: 0 10px 22px -18px rgba(21,21,21,.6); }
.page-hero > .nav .nav-toggle { border: 1px solid #e2e2e2; }

/* Inner-page hero: shorter band */
.page-hero-inner { padding: var(--s6) 0 var(--s7); }
.page-hero h1 { margin-top: var(--s3); }
.page-hero-sub { margin-top: var(--s3); }
.page-hero-inner .btn { margin-top: var(--s5); }
@media (max-width: 960px) { .page-hero-inner { padding: var(--s5) 0 var(--s6); } }

/* =========================================================
   SERVICES — five cards (+ a consultation tile), then a detail view with side menu, list and get-started card
   ========================================================= */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.svc-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; padding: var(--s6); border-radius: 22px;
  background: #fff; border: 1px solid #ececec; box-shadow: 0 20px 40px -34px rgba(21,21,21,.55); color: var(--navy);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, border-color .45s ease; }
.svc-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--green), #b9e24a); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.svc-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(155,226,126,.28) 0%, rgba(155,226,126,0) 70%); opacity: 0; transition: opacity .45s ease; }
a.svc-card:hover { transform: translateY(-6px); border-color: #cfe8c4; box-shadow: 0 34px 56px -34px rgba(21,21,21,.6); }
a.svc-card:hover::before { transform: none; }
a.svc-card:hover::after { opacity: 1; }
.svc-num { position: absolute; right: var(--s5); top: var(--s4); font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px #e4e4e4; transition: -webkit-text-stroke-color .4s; }
a.svc-card:hover .svc-num { -webkit-text-stroke-color: #b9dfa8; }
.svc-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: #e3f5db; color: var(--green); transition: background .4s, color .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.svc-ico svg { width: 24px; height: 24px; }
.svc-ico.lg { width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #0b6b2f, var(--green) 50%, #6cc957); color: #fff; box-shadow: 0 16px 28px -16px rgba(17,126,57,.8); }
.svc-ico.lg svg { width: 30px; height: 30px; }
a.svc-card:hover .svc-ico { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.06); }
.svc-card h2 { margin-top: var(--s5); font-size: 1.3125rem; line-height: 1.25; color: var(--navy); padding-right: var(--s7); }
.svc-card p { margin-top: var(--s3); color: var(--muted); font-size: .9375rem; line-height: 1.6; flex: 1; }
.svc-link { margin-top: var(--s5); display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; font-size: .9375rem; color: var(--green); }
.svc-link svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
a.svc-card:hover .svc-link svg { transform: translateX(5px); }
.svc-card-cta { color: #fff; border-color: transparent; background: radial-gradient(90% 90% at 100% 0%, rgba(108,201,87,.35) 0%, rgba(108,201,87,0) 60%), linear-gradient(150deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); }
.svc-card-cta .svc-ico { background: rgba(255,255,255,.12); color: #9be27e; }
.svc-card-cta h2 { color: #fff; }
.svc-card-cta p { color: #e0e0e0; }
.svc-card-cta .btn { margin-top: var(--s5); }

/* detail view */
.svc-back { display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s5); font-weight: 600; color: var(--navy); }
.svc-back svg { width: 16px; height: 16px; transition: transform .3s; }
.svc-back:hover { color: var(--green); }
.svc-back:hover svg { transform: translateX(-4px); }
.svc-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.svc-aside { position: sticky; top: 24px; display: grid; gap: var(--s4); }
.svc-side { display: flex; flex-direction: column; gap: 4px; padding: var(--s2); background: #fff; border: 1px solid #ececec; border-radius: 20px; box-shadow: 0 20px 40px -34px rgba(21,21,21,.5); }
.svc-side a { display: flex; align-items: center; gap: var(--s3); padding: 10px 12px; border-radius: 14px; font-weight: 600; font-size: .9375rem; line-height: 1.3; color: var(--muted); transition: background .3s, color .3s; }
.svc-side-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: #f3f3f3; color: var(--navy); transition: background .3s, color .3s; }
.svc-side-ico svg { width: 18px; height: 18px; }
.svc-side a:hover { background: #f3f8f1; color: var(--navy); }
.svc-side a.active { background: var(--navy-deep); color: #fff; }
.svc-side a.active .svc-side-ico { background: var(--green); color: #fff; }
.svc-help { position: relative; overflow: hidden; padding: var(--s5); border-radius: 20px; color: #fff;
  background: radial-gradient(90% 90% at 100% 0%, rgba(108,201,87,.35) 0%, rgba(108,201,87,0) 60%), linear-gradient(150deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); }
.svc-help-tag { font-family: var(--font-head); font-weight: 800; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #9be27e; }
.svc-help h3 { margin-top: var(--s2); color: #fff; font-size: 1.1875rem; line-height: 1.3; }
.svc-help p { margin-top: var(--s2); color: #e0e0e0; font-size: .875rem; }
.svc-help .btn { margin-top: var(--s4); width: 100%; justify-content: center; }
.svc-help-call { margin-top: var(--s3); display: flex; justify-content: center; align-items: center; gap: var(--s2); font-weight: 600; font-size: .875rem; color: #fff; }
.svc-help-call svg { width: 16px; height: 16px; color: #9be27e; }
.svc-content { background: #fff; border: 1px solid #ececec; border-radius: 24px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 30px 60px -44px rgba(21,21,21,.55); }
.svc-panel-head { display: flex; gap: var(--s5); align-items: flex-start; padding-bottom: var(--s5); border-bottom: 1px solid #eeeeee; }
.svc-panel-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; color: var(--navy); }
.svc-lead { margin-top: var(--s2); color: var(--muted); font-size: 1.0625rem; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { display: flex; gap: var(--s4); padding: var(--s4) var(--s3); border-bottom: 1px solid #f3f3f3; border-radius: 14px; transition: background .3s;
  animation: svcIn .55s cubic-bezier(.16,.84,.24,1) both; animation-delay: calc(var(--i) * 55ms); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list li:hover { background: #f6fbf3; }
.svc-check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 2px; background: #e3f5db; color: var(--green); transition: background .3s, color .3s; }
.svc-check svg { width: 14px; height: 14px; }
.svc-list li:hover .svc-check { background: var(--green); color: #fff; }
.svc-list strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; color: var(--navy); }
.svc-list li span:not(.svc-check) { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
@keyframes svcIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } .svc-layout { grid-template-columns: 260px minmax(0, 1fr); } }
@media (max-width: 860px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .svc-side { flex-direction: row; overflow-x: auto; }
  .svc-side a { white-space: nowrap; }
  .svc-help { display: none; }
}
@media (max-width: 640px) { .svc-cards { grid-template-columns: 1fr; } .svc-panel-head { flex-direction: column; gap: var(--s3); } .svc-card { padding: var(--s5); } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .svc-list li { animation: none; } }

/* Services cards: cursor spotlight (replaces the green top bar) — a soft green light follows the mouse and lights the edge under it */
a.svc-card::before { left: 0; right: 0; top: 0; bottom: 0; height: auto; z-index: -1; transform: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(155,226,126,.28), transparent 60%); }
a.svc-card::after { inset: -1px; right: -1px; bottom: -1px; width: auto; height: auto; border-radius: inherit; z-index: 1; padding: 1.5px; opacity: 0; pointer-events: none;
  background: radial-gradient(180px circle at var(--x, 50%) var(--y, 50%), var(--green), 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 exclude, linear-gradient(#000 0 0); }
a.svc-card:hover::before, a.svc-card:hover::after { opacity: 1; transform: none; }
a.svc-card:hover { border-color: #ececec; }

/* CPA Connect: third tile — its own sweep, pulse and entrance timing */
.cpa-full .cpa-tile:nth-child(3)::after { animation-delay: 1.25s; }
.cpa-full .cpa-tile:nth-child(3) .ico-round::after { animation-delay: .7s; }
.cpa-side.will-in .cpa-tile:nth-child(3) { transition-delay: .3s, .3s, 0s; }
.cpa-full .cpa-side { gap: var(--s3); }
.cpa-full .cpa-tile { padding: 16px 22px; }

/* =========================================================
   STATS STRIP — light card that rises out of the hero; four stats with icon rings, count-up numbers
   ========================================================= */
.stats-strip { position: relative; z-index: 4; margin-top: -64px; padding-bottom: var(--s4); }
.stats { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 26px; padding: var(--s5) var(--s3);
  background: linear-gradient(120deg, #f2faee 0%, #ffffff 40%, #ffffff 60%, #f2f2f2 100%); border: 1px solid #dcefd2;
  box-shadow: 0 40px 70px -40px rgba(21,21,21,.55), 0 2px 0 rgba(255,255,255,.9) inset; }
/* a slow light sweep across the whole strip */
.stats::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(155,226,126,.22) 50%, transparent 70%) no-repeat -60% 0 / 50% 100%; animation: statsSweep 7s ease-in-out 1.5s infinite; }
@keyframes statsSweep { 0% { background-position: -60% 0; } 40%, 100% { background-position: 160% 0; } }
.stat { position: relative; display: flex; align-items: flex-start; gap: var(--s4); padding: var(--s3) var(--s5); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(180deg, transparent, #cfe3d4 30%, #cfe3d4 70%, transparent); }
.stat-ico { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--green); background: #e6f5df; transition: background .4s, color .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.stat-ico svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.stat-ico::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed #9fd38b; animation: statSpin 14s linear infinite; }
.stat:nth-child(even) .stat-ico { background: #eeeeee; color: var(--navy-deep); }
.stat:nth-child(even) .stat-ico::before { border-color: #bababa; animation-direction: reverse; }
@keyframes statSpin { to { transform: rotate(360deg); } }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(95deg, #0b6b2f 0%, var(--green) 45%, #6cc957 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(even) .stat-num { background-image: linear-gradient(95deg, #151515 0%, #242424 60%, #117e39 100%); }
.stat-label { margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); }
.stat p { margin-top: 4px; font-size: .8125rem; line-height: 1.5; color: var(--muted); max-width: 210px; }
.stat:hover { transform: translateY(-4px); }
.stat:hover .stat-ico { background: var(--green); color: #fff; transform: rotate(-10deg) scale(1.06); }
.stat:nth-child(even):hover .stat-ico { background: var(--navy-deep); }
.stat:hover .stat-ico::before { animation-duration: 3s; }
/* entrance: each stat rises in turn */
.stats.will-in .stat { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.16,.84,.24,1); transition-delay: calc(var(--i) * 120ms); }
.stats.will-in.is-in .stat { opacity: 1; transform: none; }
.stats.will-in.is-in .stat:hover { transform: translateY(-4px); transition-delay: 0s; }
@media (max-width: 1100px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: var(--s4); }
  .stat:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .stats-strip { margin-top: -40px; }
  .stats { grid-template-columns: 1fr; padding: var(--s3); }
  .stat + .stat::before { left: 16%; right: 16%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, #cfe3d4 30%, #cfe3d4 70%, transparent); display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .stats::before, html:not(.force-motion) .stat-ico::before { animation: none; }
}

/* Stats strip as its own section below the hero (no overlap) */
.stats-strip { margin-top: 0; padding: 56px 0 8px; background: #fff; }
@media (max-width: 640px) { .stats-strip { margin-top: 0; padding-top: 40px; } }

/* Stats: the number takes the icon's place on the left; a green underline grows as it counts, and it pops when done */
.stat { align-items: center; }
.stat-num { position: relative; flex: none; min-width: 2.6em; font-size: clamp(2.2rem, 3.2vw, 2.9rem); padding-bottom: 8px; }
.stat-num::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 1) * 100%); border-radius: 3px; background: linear-gradient(90deg, var(--green), #b9e24a); }
.stat:nth-child(even) .stat-num::after { background: linear-gradient(90deg, var(--navy-deep), var(--green)); }
.stat-num.is-done { animation: statPop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes statPop { 50% { transform: scale(1.1); } }
.stat:hover .stat-num { transform: translateY(-2px); }
.stat-label { margin-top: 0; }
.stat { gap: var(--s3); padding: var(--s3) var(--s4); }
.stat-num { min-width: 0; font-size: clamp(2rem, 2.7vw, 2.5rem); }
.stat-label { white-space: nowrap; }
.stat p { max-width: none; }
@media (min-width: 1101px) { .stats { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* Stats: suffix as superscript; underline grows with the count; hover = spotlight card that lifts and recounts */
.stat-num { display: inline-flex; align-items: flex-start; }
.stat-suf { margin-left: 3px; font-size: .45em; line-height: 1; font-weight: 800; letter-spacing: 0; padding-top: .2em; position: static; vertical-align: top; }
.stat-num::after { transition: width .1s linear; }
.stat { border-radius: 18px; isolation: isolate; }
.stat::after { content: ''; position: absolute; inset: 4px 6px; z-index: -1; border-radius: 18px; opacity: 0; transform: scale(.94);
  background: radial-gradient(120% 140% at 0% 50%, rgba(155,226,126,.32) 0%, rgba(255,255,255,.95) 60%); box-shadow: 0 18px 30px -22px rgba(21,21,21,.5), 0 0 0 1px #dcefd2;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.stat:nth-child(even)::after { background: radial-gradient(120% 140% at 0% 50%, rgba(192,192,192,.32) 0%, rgba(255,255,255,.95) 60%); box-shadow: 0 18px 30px -22px rgba(21,21,21,.5), 0 0 0 1px #e2e2e2; }
.stat:hover::after { opacity: 1; transform: none; }
.stat:hover .stat-suf { animation: sufBob .6s cubic-bezier(.34,1.56,.64,1); }
@keyframes sufBob { 40% { transform: translateY(-6px) rotate(-8deg); } }
.stat-label { transition: color .3s; }
.stat:hover .stat-label { color: var(--green); }
.stat:nth-child(even):hover .stat-label { color: var(--navy-deep); }

/* Stats underline: strong at the start, fading out toward the end */
.stat-num::after { height: 3px; background: linear-gradient(90deg, var(--green) 0%, #6cc957 35%, rgba(185,226,74,.45) 70%, rgba(185,226,74,0) 100%); }
.stat:nth-child(even) .stat-num::after { background: linear-gradient(90deg, var(--navy-deep) 0%, #242424 35%, rgba(17,126,57,.4) 70%, rgba(17,126,57,0) 100%); }

/* =========================================================
   REFUND STATUS & PAY TAXES — facts strip, numbered section heads, Federal/State panel with a sliding tab pill,
   option rows, state picker + filterable state grid, side boxes
   ========================================================= */
.page-hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.page-hero-actions .btn { margin-top: var(--s5); }
.gov-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: var(--s7); border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid #ececec; box-shadow: 0 24px 50px -40px rgba(21,21,21,.55); }
.gov-facts-light { background: var(--soft); box-shadow: none; margin: 0 0 var(--s6); }
.gov-fact { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5) var(--s5); }
.gov-fact + .gov-fact { border-left: 1px solid #eeeeee; }
.gov-fact-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: #e3f5db; color: var(--green); }
.gov-fact:nth-child(2) .gov-fact-ico { background: #eeeeee; color: var(--navy-deep); }
.gov-fact-ico svg { width: 21px; height: 21px; }
.gov-fact b { display: block; font-family: var(--font-head); color: var(--navy); }
.gov-fact span { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.gov-head { display: flex; gap: var(--s5); align-items: flex-start; margin-bottom: var(--s6); }
.gov-step { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px #b9dfa8; }
.gov-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.gov-head .lead { margin-top: var(--s2); }
.gov-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: var(--s6); align-items: start; }
.gov-panel { background: #fff; border: 1px solid #ececec; border-radius: 24px; box-shadow: 0 30px 60px -46px rgba(21,21,21,.55); overflow: hidden; }
.gov-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s6) var(--s6) var(--s5); border-bottom: 1px solid #f3f3f3;
  background: linear-gradient(120deg, #f6fbf3 0%, #fff 55%, #f8f8f8 100%); }
.gov-panel-head h3 { font-size: 1.375rem; color: var(--navy); }
.gov-panel-head p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
/* segmented Federal / State switch with a sliding pill */
.gov-tabs { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: #f1f1f1; }
.gov-tabs-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--navy-deep); box-shadow: 0 8px 18px -10px rgba(21,21,21,.8);
  transition: transform .45s cubic-bezier(.34,1.3,.64,1); }
.gov-tabs.is-state .gov-tabs-ind { transform: translateX(100%); }
.gov-tabs button { position: relative; z-index: 1; min-width: 110px; padding: 10px 22px; border: 0; background: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--navy); transition: color .3s; }
.gov-tabs button[aria-selected="true"] { color: #fff; }
.gov-tabs button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.gov-tabpanel { padding: var(--s5) var(--s6) var(--s6); animation: govIn .45s cubic-bezier(.16,.84,.24,1); }
@keyframes govIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gov-opt { display: flex; gap: var(--s4); align-items: center; padding: var(--s4); margin: 0 calc(-1 * var(--s4)); border-radius: 18px; transition: background .3s; }
.gov-opt + .gov-opt { border-top: 1px solid #f3f3f3; }
.gov-opt:hover { background: #f6fbf3; }
.gov-opt-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex: none; background: #e3f5db; color: var(--green); transition: background .3s, color .3s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.gov-opt-ico svg { width: 22px; height: 22px; }
.gov-opt:hover .gov-opt-ico { background: var(--green); color: #fff; transform: rotate(-8deg); }
.gov-opt-copy { flex: 1; min-width: 0; }
.gov-opt h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.0625rem; color: var(--navy); }
.gov-opt p { margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.gov-opt .btn { flex: none; white-space: nowrap; }
.gov-opt .btn svg, .gov-go svg { width: 15px; height: 15px; }
.gov-tag { padding: 3px 10px; border-radius: 999px; font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; background: #e3f5db; color: var(--green); }
.gov-tag.soft { background: #f0f0f0; color: var(--muted); }
.gov-more { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid #f3f3f3; color: var(--muted); font-size: .9375rem; }
.gov-more a { font-weight: 700; color: var(--green); }
/* state picker */
.gov-pick-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: flex-end; }
.gov-field { flex: 1 1 280px; }
.gov-field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--navy); }
.gov-field select, .gov-search input { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: .9375rem; color: var(--ink); background: #fcfcfc; border: 1px solid #dcdcdc; border-radius: 14px; }
.gov-field select:focus, .gov-search input:focus { outline: 2px solid rgba(17,126,57,.35); border-color: var(--green); background: #fff; }
.gov-go { min-height: 50px; }
.gov-note { min-height: 1.4em; margin-top: var(--s2); font-size: .875rem; color: var(--muted); }
.gov-note.err { color: #b3261e; font-weight: 600; }
.gov-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); margin: var(--s4) 0 var(--s4); padding-top: var(--s4); border-top: 1px solid #f3f3f3; }
.gov-list-head h4 { font-size: 1rem; color: var(--navy); }
.gov-search { position: relative; width: 260px; max-width: 100%; }
.gov-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #919191; stroke-width: 2; stroke-linecap: round; }
.gov-search input { min-height: 44px; padding-left: 42px; }
.gov-states { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s2); max-height: 440px; overflow-y: auto; padding: 2px 6px 2px 2px; }
.gov-state { display: flex; align-items: center; gap: var(--s3); padding: 9px 12px 9px 9px; border-radius: 14px; border: 1px solid #eeeeee; background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.gov-state .code { width: 36px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: #f3f3f3; font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .04em; color: var(--navy-deep); transition: background .25s, color .25s; }
.gov-state .name { flex: 1; min-width: 0; }
.gov-state svg { width: 14px; height: 14px; color: var(--green); opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .25s; }
.gov-state:hover { border-color: #b9dfa8; background: #f6fbf3; transform: translateY(-2px); box-shadow: 0 12px 22px -18px rgba(21,21,21,.6); }
.gov-state:hover .code { background: var(--green); color: #fff; }
.gov-state:hover svg { opacity: 1; transform: none; }
.gov-state[hidden] { display: none; }
.gov-empty { margin-top: var(--s3); color: var(--muted); }
.gov-foot { margin-top: var(--s4); font-size: .8125rem; line-height: 1.6; color: var(--muted); }
/* side boxes */
.gov-side { display: grid; gap: var(--s4); position: sticky; top: 24px; }
.gov-box { padding: var(--s5); border-radius: 22px; background: #fff; border: 1px solid #ececec; }
.bg-soft .gov-box:not(.gov-box-navy):not(.gov-box-alert) { box-shadow: 0 20px 40px -36px rgba(21,21,21,.5); }
.gov-box h3 { display: flex; align-items: center; gap: 8px; font-size: 1.0625rem; color: var(--navy); margin-bottom: var(--s3); }
.gov-box h3 svg { width: 20px; height: 20px; }
.gov-box p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.gov-small { margin-top: var(--s3); font-size: .8125rem !important; }
.gov-check { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.gov-check li { position: relative; padding-left: 30px; font-size: .9375rem; color: var(--navy); line-height: 1.45; }
.gov-check li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #e3f5db; }
.gov-check li::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gov-check small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.gov-call { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid #f3f3f3; }
.gov-call:first-of-type { margin-top: var(--s3); }
.gov-call span { font-size: .875rem; color: var(--muted); }
.gov-call a { font-family: var(--font-head); font-weight: 800; color: var(--navy); white-space: nowrap; }
.gov-call a:hover { color: var(--green); }
.gov-box-navy { color: #fff; border-color: transparent; background: radial-gradient(90% 90% at 100% 0%, rgba(108,201,87,.35) 0%, rgba(108,201,87,0) 60%), linear-gradient(150deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); }
.gov-box-navy h3 { color: #fff; }
.gov-box-navy p { color: #e0e0e0; }
.gov-box-navy .btn { margin-top: var(--s4); }
.gov-box-alert { background: #fff8e6; border-color: #f2dfae; }
.gov-box-alert h3 { color: #8a5a00; }
.gov-box-alert p { color: #8a5a00; }
@media (max-width: 1100px) { .gov-layout { grid-template-columns: 1fr; } .gov-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 860px) { .gov-facts { grid-template-columns: 1fr; } .gov-fact + .gov-fact { border-left: 0; border-top: 1px solid #eeeeee; } }
@media (max-width: 640px) {
  .gov-panel-head, .gov-tabpanel { padding-left: var(--s4); padding-right: var(--s4); }
  .gov-opt { flex-wrap: wrap; }
  .gov-opt .btn, .gov-go { width: 100%; justify-content: center; }
  .gov-head { gap: var(--s3); } .gov-step { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .gov-tabpanel { animation: none; } }
.gov-fact .gov-fact-ico { display: grid; margin-top: 0; }

/* =========================================================
   CONTACT — four ways to reach us, offices + call card beside the message form
   ========================================================= */
.page-hero-actions .btn svg:first-child:not(:last-child) { width: 16px; height: 16px; }
.ct-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-bottom: var(--s7); }
.ct-way { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: var(--s5); border-radius: 22px;
  background: #fff; border: 1px solid #ececec; box-shadow: 0 20px 40px -34px rgba(21,21,21,.55); color: var(--navy); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.ct-way::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(155,226,126,.35), transparent 70%); opacity: 0; transition: opacity .4s; }
a.ct-way:hover { transform: translateY(-5px); border-color: #cfe8c4; box-shadow: 0 30px 50px -34px rgba(21,21,21,.6); }
a.ct-way:hover::after { opacity: 1; }
.ct-way-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--s3); background: #e3f5db; color: var(--green); transition: background .3s, color .3s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.ct-way:nth-child(even) .ct-way-ico { background: #eeeeee; color: var(--navy-deep); }
.ct-way-ico svg { width: 21px; height: 21px; }
a.ct-way:hover .ct-way-ico { background: var(--green); color: #fff; transform: rotate(-10deg); }
.ct-way-label { font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ct-way b { font-family: var(--font-head); font-size: 1.0625rem; line-height: 1.35; word-break: break-word; }
.ct-way-sub { font-size: .8125rem; color: var(--muted); }
.ct-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; }
.ct-stack { display: grid; gap: var(--s5); }
.ct-card { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff; border: 1px solid #ececec; box-shadow: 0 24px 50px -42px rgba(21,21,21,.55); }
.ct-card h2 { font-size: 1.375rem; color: var(--navy); }
.ct-office { display: flex; gap: var(--s4); padding: var(--s4) 0; }
.ct-office + .ct-office { border-top: 1px solid #f3f3f3; }
.ct-office:first-of-type { margin-top: var(--s3); }
.ct-pin { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e3f5db; color: var(--green); }
.ct-pin svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-office-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f3f3f3; font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-deep); }
.ct-office b { display: block; margin-top: 6px; font-family: var(--font-head); color: var(--navy); }
.ct-office a { display: block; margin-top: 2px; color: var(--muted); font-size: .9375rem; }
.ct-office a:hover { color: var(--green); }
.ct-office .ct-dir { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s2); font-weight: 600; font-size: .875rem; color: var(--green); }
.ct-dir svg { width: 13px; height: 13px; }
.ct-card-navy { color: #fff; border-color: transparent; background: radial-gradient(90% 90% at 100% 0%, rgba(108,201,87,.35) 0%, rgba(108,201,87,0) 60%), linear-gradient(150deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); }
.ct-card-navy h2 { color: #fff; }
.ct-card-navy p { margin-top: var(--s2); color: #e0e0e0; }
.ct-card-navy .btn { margin-top: var(--s4); }
.ct-card-navy .btn svg, .ct-form .btn svg { width: 16px; height: 16px; }
/* form */
.ct-form-head { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s5); }
.ct-live { position: relative; width: 12px; height: 12px; margin-top: 9px; border-radius: 50%; background: #6cc957; flex: none; }
.ct-live::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #6cc957; animation: pinPulse 2s ease-out infinite; }
.ct-form-head p { margin-top: 2px; color: var(--muted); font-size: .9375rem; }
.ct-form { display: grid; gap: var(--s4); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.ct-field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--navy); }
.ct-field .req { color: #c0392b; }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: .9375rem; color: var(--ink); background: #fcfcfc; border: 1px solid #dcdcdc; border-radius: 14px; transition: border-color .25s, background .25s, box-shadow .25s; }
.ct-field textarea { min-height: 150px; resize: vertical; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(108,201,87,.18); }
.ct-consent { font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.ct-form .btn { justify-self: start; }
.ct-form .form-msg.ok { color: var(--green); font-weight: 600; }
.ct-form .form-msg.err { color: #b3261e; font-weight: 600; }
#draft { padding-top: var(--s8); }
@media (max-width: 1100px) { .ct-ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .ct-layout { grid-template-columns: 1fr; } .ct-form-card { order: -1; } }
@media (max-width: 560px) { .ct-ways, .ct-row { grid-template-columns: 1fr; } .ct-form .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .ct-live::after { animation: none; } }

/* =========================================================
   ABOUT US — story (photo + offset navy block, counting stats), mission & vision, values, why TRIO, CTA
   ========================================================= */
.ab-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.ab-photo { position: relative; padding: 0 0 28px 28px; }
.ab-photo::before { content: ''; position: absolute; left: 0; bottom: 0; width: calc(100% - 28px); height: calc(100% - 28px); border-radius: 22px;
  background: linear-gradient(150deg, #151515 0%, #1c1c1c 60%, #117e39 140%); }
.ab-photo::after { content: ''; position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; z-index: -1; opacity: .7;
  background: radial-gradient(circle, #b9dfa8 1.6px, transparent 1.8px) 0 0 / 14px 14px; }
.ab-photo-inner { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(21,21,21,.7); }
.ab-photo-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.ab-photo:hover .ab-photo-inner img { transform: scale(1.05); }
.ab-photo-badge { position: absolute; right: -18px; bottom: 56px; display: flex; gap: var(--s3); align-items: center; padding: 14px 18px 14px 14px; border-radius: 18px;
  background: #fff; box-shadow: 0 24px 40px -24px rgba(21,21,21,.6); animation: abFloat 5s ease-in-out infinite; }
.ab-photo-badge-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: #fff; }
.ab-photo-badge-ico svg { width: 20px; height: 20px; }
.ab-photo-badge b { display: block; font-family: var(--font-head); font-size: .9375rem; color: var(--navy); }
.ab-photo-badge span:not(.ab-photo-badge-ico) { font-size: .75rem; color: var(--muted); }
@keyframes abFloat { 50% { transform: translateY(-8px); } }
.ab-story-copy h2 { margin-top: var(--s3); font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.ab-story-copy h3 { margin-top: var(--s3); font-size: 1.125rem; color: var(--navy); }
.ab-story-copy p { margin-top: var(--s4); color: var(--muted); line-height: 1.75; }
.ab-story-copy strong { color: var(--navy); }
.ab-stats { display: flex; flex-wrap: wrap; gap: var(--s2) 0; margin: var(--s6) 0; }
.ab-stats.will-in .stat { opacity: 0; transform: translateY(14px); }
.ab-stats .stat { padding: var(--s2) var(--s6) var(--s2) 0; gap: var(--s4); }
.ab-stats .stat + .stat { padding-left: var(--s6); }
.ab-stats .stat + .stat::before { top: 10%; bottom: 10%; }
.ab-stats .stat-label { font-size: 1.0625rem; }
.ab-stats.will-in.is-in .stat { opacity: 1; transform: none; }
/* mission & vision */
.ab-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.ab-mv-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 3.6vw, 44px); border-radius: 26px; background: #fff; border: 1px solid #ececec;
  box-shadow: 0 30px 60px -46px rgba(21,21,21,.55); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.ab-mv-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(155,226,126,.35), transparent 70%); }
.ab-mv-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -44px rgba(21,21,21,.6); }
.ab-mv-card.navy { color: #fff; border-color: transparent; background: linear-gradient(150deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); }
.ab-mv-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #e3f5db; color: var(--green); }
.ab-mv-card.navy .ab-mv-ico { background: rgba(255,255,255,.1); color: #9be27e; }
.ab-mv-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-mv-card:hover .ab-mv-ico svg { animation: abSpin 1.2s cubic-bezier(.2,.8,.2,1); }
@keyframes abSpin { to { transform: rotate(360deg); } }
.ab-mv-tag { display: block; margin-top: var(--s5); font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.ab-mv-card.navy .ab-mv-tag { color: #9be27e; }
.ab-mv-card h3 { margin-top: var(--s2); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; color: var(--navy); }
.ab-mv-card.navy h3 { color: #fff; }
.ab-mv-card p { margin-top: var(--s3); color: var(--muted); line-height: 1.7; }
.ab-mv-card.navy p { color: #e0e0e0; }
/* values */
.ab-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.ab-value { position: relative; overflow: hidden; isolation: isolate; padding: var(--s6); border-radius: 22px; background: #fff; border: 1px solid #ececec; box-shadow: 0 20px 40px -34px rgba(21,21,21,.5);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .45s, box-shadow .45s; }
.ab-value::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #f2faee 0%, #fff 60%); opacity: 0; transition: opacity .45s; }
.ab-value:hover { transform: translateY(-6px); border-color: #cfe8c4; box-shadow: 0 30px 50px -34px rgba(21,21,21,.6); }
.ab-value:hover::before { opacity: 1; }
.ab-value:hover .svc-ico { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.06); }
.ab-value-num { position: absolute; right: var(--s5); top: var(--s4); font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px #e4e4e4; }
.ab-value h3 { margin-top: var(--s4); font-size: 1.1875rem; color: var(--navy); }
.ab-value p { margin-top: var(--s2); color: var(--muted); font-size: .9375rem; line-height: 1.6; }
/* why */
.ab-why-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ab-why-head { position: sticky; top: 32px; }
.ab-why-head h2 { margin-top: var(--s3); }
.ab-why-head .lead { margin-top: var(--s3); }
.ab-why-head .btn { margin-top: var(--s5); }
.ab-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.ab-why-item { display: flex; gap: var(--s4); padding: var(--s5); border-radius: 22px; background: #fff; border: 1px solid #ececec; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.ab-why-item:hover { transform: translateY(-4px); border-color: #cfe8c4; box-shadow: 0 26px 46px -34px rgba(21,21,21,.6); }
.ab-why-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: #eeeeee; color: var(--navy-deep); transition: background .3s, color .3s; }
.ab-why-item:nth-child(odd) .ab-why-ico { background: #e3f5db; color: var(--green); }
.ab-why-item:hover .ab-why-ico { background: var(--navy-deep); color: #fff; }
.ab-why-item:nth-child(odd):hover .ab-why-ico { background: var(--green); }
.ab-why-ico svg { width: 22px; height: 22px; }
.ab-why-item h3 { font-size: 1.0625rem; color: var(--navy); }
.ab-why-item p { margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
/* cta */
.ab-cta-box { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7); justify-content: space-between; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff;
  background: radial-gradient(70% 120% at 100% 0%, rgba(108,201,87,.35) 0%, rgba(108,201,87,0) 60%), linear-gradient(130deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); }
.ab-cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ab-cta-box .start-hl { display: inline; background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; }
.ab-cta-box p { margin-top: var(--s3); color: #e0e0e0; max-width: 52ch; }
.ab-cta-btns { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 1000px) {
  .ab-story-grid, .ab-why-grid { grid-template-columns: 1fr; }
  .ab-photo { max-width: 480px; }
  .ab-why-head { position: static; }
  .ab-values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) { .ab-mv-grid, .ab-values-grid, .ab-why-list { grid-template-columns: 1fr; } .ab-photo-badge { right: 8px; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .ab-photo-badge, html:not(.force-motion) .ab-mv-card:hover .ab-mv-ico svg { animation: none; } }

/* Fixed quick-action buttons: round with a white ring (stands out on light and dark sections); hover or an automatic
   "peek" stretches each into a pill with its label; the assistant can show a short greeting bubble */
.fab-dock { position: fixed; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 14px; }
.fab-left { left: 24px; align-items: flex-start; }
.fab-right { right: 24px; align-items: flex-end; }
.fab { position: relative; display: inline-flex; align-items: center; height: 58px; padding: 0; border-radius: 999px; border: 3px solid #fff; cursor: pointer; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(21,21,21,.14), 0 16px 30px -12px rgba(21,21,21,.6); transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.fab-ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.fab-ico svg { width: 25px; height: 25px; }
.fab-label { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .5s cubic-bezier(.2,.8,.2,1), opacity .3s ease, padding .5s cubic-bezier(.2,.8,.2,1); }
.fab-left .fab { flex-direction: row; }
.fab-right .fab { flex-direction: row-reverse; }
.fab:hover, .fab:focus-visible, .fab.is-peek { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(21,21,21,.14), 0 22px 36px -12px rgba(21,21,21,.7); }
.fab:hover .fab-label, .fab:focus-visible .fab-label, .fab.is-peek .fab-label { max-width: 180px; opacity: 1; }
.fab-left .fab:hover .fab-label, .fab-left .fab:focus-visible .fab-label, .fab-left .fab.is-peek .fab-label { padding-right: 20px; }
.fab-right .fab:hover .fab-label, .fab-right .fab:focus-visible .fab-label, .fab-right .fab.is-peek .fab-label { padding-left: 20px; }
.fab:focus-visible { outline: 3px solid #9be27e; outline-offset: 3px; }
/* soft pulse ring outside the white border */
.fab::before { content: ''; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--ring, #6cc957); opacity: 0; pointer-events: none; animation: fabPulse 2.8s ease-out infinite; }
.fab:hover::before, .fab.is-peek::before { animation: none; }
.fab-call { --ring: #6cc957; background: linear-gradient(135deg, #0b6b2f, var(--green) 55%, #4fb35a); }
.fab-call .fab-ico svg { animation: fabRing 3.2s ease-in-out infinite; }
.fab-wa { --ring: #25d366; background: linear-gradient(135deg, #1ebe57, #25d366); }
.fab-wa::before { animation-delay: .9s; }
.fab-bot { --ring: #9be27e; background: linear-gradient(135deg, #0f0f0f, #151515 55%, #242424); }
.fab-bot::before { animation-delay: 1.8s; }
.fab-dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #9be27e; border: 2px solid #fff; }
.fab-bot .fab-ico svg { animation: fabBlink 4s ease-in-out infinite; }
/* greeting bubble from the assistant */
.fab-bubble { position: relative; width: 250px; padding: 14px 34px 14px 16px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(21,21,21,.08), 0 24px 40px -20px rgba(21,21,21,.55); font-size: .8125rem; line-height: 1.5;
  transform-origin: 100% 100%; animation: fabBubbleIn .45s cubic-bezier(.34,1.56,.64,1); }
.fab-bubble[hidden] { display: none; }
.fab-bubble b { display: block; font-family: var(--font-head); font-size: .9375rem; color: var(--navy); }
.fab-bubble span { color: var(--muted); }
.fab-bubble-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #f4f4f4; color: var(--navy); font-size: 1rem; line-height: 1; cursor: pointer; }
.fab-bubble-x:hover { background: #e3f5db; color: var(--green); }
@keyframes fabBubbleIn { from { opacity: 0; transform: translateY(10px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes fabPulse { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes fabRing { 0%, 72%, 100% { transform: rotate(0); } 76% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 84% { transform: rotate(-8deg); } 88% { transform: rotate(5deg); } }
@keyframes fabBlink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.15); } }
@media (max-width: 640px) {
  .fab-dock { bottom: 16px; gap: 10px; } .fab-left { left: 14px; } .fab-right { right: 14px; }
  .fab { height: 52px; } .fab-ico { width: 46px; height: 46px; } .fab-ico svg { width: 22px; height: 22px; }
  .fab-bubble { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .fab::before, html:not(.force-motion) .fab-ico svg { animation: none; }
}
.clarity-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }

/* =========================================================
   SIGN-IN PAGES (login / sign up / forgot password) — navy brand panel + form
   ========================================================= */
.auth { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: 100vh; min-height: 100svh; background: #fff; }
.auth-brand { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 40px clamp(32px, 4vw, 64px); color: #fff;
  background: radial-gradient(70% 60% at 100% 0%, rgba(17,126,57,.45) 0%, rgba(17,126,57,0) 60%), radial-gradient(60% 60% at 0% 100%, rgba(37,37,37,.8) 0%, rgba(37,37,37,0) 60%), linear-gradient(160deg, #0f0f0f 0%, #151515 100%); }
.auth-brand::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background: radial-gradient(circle, rgba(223,223,223,.18) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.auth-brand::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(155,226,126,.22);
  box-shadow: 0 0 0 60px rgba(155,226,126,.05), 0 0 0 120px rgba(155,226,126,.03); }
.auth-logo img { width: 132px; height: auto; }
.auth-brand-copy { margin: auto 0; padding: 48px 0; max-width: 440px; }
.auth-kicker { font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #9be27e; }
.auth-brand h2 { margin-top: var(--s3); color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; }
.auth-brand h2 span { background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-brand-copy > p { margin-top: var(--s4); color: #e0e0e0; font-size: 1.0625rem; line-height: 1.6; }
.auth-points { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s3); }
.auth-points li { display: flex; align-items: center; gap: var(--s3); font-weight: 500; color: #ededed; }
.auth-points li > span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #9be27e; }
.auth-points svg { width: 18px; height: 18px; }
.auth-float { position: absolute; display: flex; align-items: center; gap: var(--s3); padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: abFloat 6s ease-in-out infinite; }
.auth-float b { display: block; font-family: var(--font-head); font-size: .875rem; color: #fff; }
.auth-float small { font-size: .75rem; color: #cecece; }
.auth-float.f1 { right: 40px; top: 120px; }
.auth-float.f2 { right: 80px; bottom: 90px; animation-delay: -3s; }
.auth-float .ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.auth-float .ok svg { width: 16px; height: 16px; }
.auth-float .bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.auth-float .bars i { width: 6px; border-radius: 3px; background: #9be27e; animation: authBar 2.4s ease-in-out infinite; }
.auth-float .bars i:nth-child(1) { height: 40%; } .auth-float .bars i:nth-child(2) { height: 70%; animation-delay: .2s; }
.auth-float .bars i:nth-child(3) { height: 55%; animation-delay: .4s; } .auth-float .bars i:nth-child(4) { height: 95%; animation-delay: .6s; }
@keyframes authBar { 50% { transform: scaleY(.6); } }
.auth-brand-foot { font-size: .8125rem; color: #969696; }
/* right side */
.auth-main { display: flex; flex-direction: column; padding: 32px clamp(20px, 5vw, 72px); background: linear-gradient(180deg, #fff 0%, #f6fbf3 100%); }
.auth-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--navy); }
.auth-back svg { width: 16px; height: 16px; transition: transform .3s; }
.auth-back:hover { color: var(--green); } .auth-back:hover svg { transform: translateX(-3px); }
.auth-switch { font-size: .9375rem; color: var(--muted); }
.auth-switch a { font-weight: 700; color: var(--green); }
.auth-card { width: 100%; max-width: 460px; margin: auto; padding: 40px 0; }
.auth-card h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--navy); letter-spacing: -.02em; }
.auth-sub { margin-top: var(--s2); color: var(--muted); }
.auth-help { text-align: center; font-size: .875rem; color: var(--muted); }
.auth-help a { font-weight: 600; color: var(--green); }
/* client / cpa switch */
.auth-role { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--s5); padding: 5px; border-radius: 16px; background: #f1f1f1; }
.auth-role-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; background: #fff; box-shadow: 0 8px 18px -10px rgba(21,21,21,.5); transition: transform .45s cubic-bezier(.34,1.3,.64,1); }
.auth-role.is-cpa .auth-role-ind { transform: translateX(100%); }
.auth-role button { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 11px; border: 0; background: none; cursor: pointer; border-radius: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--muted); transition: color .3s; }
.auth-role button svg { width: 18px; height: 18px; }
.auth-role button[aria-selected="true"] { color: var(--navy); }
.auth-role button[aria-selected="true"] svg { color: var(--green); }
/* form */
.auth-form { display: grid; gap: var(--s4); margin-top: var(--s5); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.auth-field label, .auth-types legend { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--navy); }
.auth-field .opt { font-weight: 500; color: var(--muted); }
.auth-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth-label-row a { font-size: .8125rem; font-weight: 600; color: var(--green); }
.auth-input { position: relative; display: flex; align-items: center; }
.auth-input > svg { position: absolute; left: 14px; width: 18px; height: 18px; color: #919191; pointer-events: none; transition: color .25s; }
.auth-input input { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: .9375rem; color: var(--ink); background: #fff; border: 1px solid #dcdcdc; border-radius: 14px;
  transition: border-color .25s, box-shadow .25s; }
.auth-input > svg ~ input { padding-left: 44px; }
.auth-input:has(.auth-eye) input { padding-right: 48px; }
.auth-input input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(108,201,87,.18); }
.auth-input:focus-within > svg { color: var(--green); }
.auth-input input.is-bad { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.12); }
.auth-eye { position: absolute; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; cursor: pointer; display: grid; place-items: center; color: #919191; }
.auth-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.auth-eye:hover, .auth-eye.is-on { color: var(--green); background: #eef7ea; }
.auth-check { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--muted); cursor: pointer; }
.auth-check input { position: absolute; opacity: 0; }
.auth-check span { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid #cacaca; background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.auth-check input:checked + span { background: var(--green); border-color: var(--green); }
.auth-check input:checked + span::after { content: ''; width: 5px; height: 9px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.auth-check input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.auth-check a { font-weight: 600; color: var(--green); }
.auth-submit, .auth-alt { width: 100%; justify-content: center; }
.auth-msg:empty { display: none; }
.auth-msg { padding: 12px 14px; border-radius: 12px; font-size: .875rem; line-height: 1.5; background: #fff8e6; border: 1px solid #f2dfae; color: #7a5200; }
.auth-msg.err { background: #fdecea; border-color: #f5c6c2; color: #a12b22; }
.auth-divider { display: flex; align-items: center; gap: var(--s3); margin: var(--s5) 0 var(--s4); font-size: .8125rem; color: var(--muted); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #eaeaea; }
/* sign up: account type tiles, password meter */
.auth-types { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.auth-types legend { grid-column: 1 / -1; }
.auth-types label { cursor: pointer; }
.auth-types input { position: absolute; opacity: 0; }
.auth-types span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1.5px solid #e5e5e5; background: #fff; text-align: center;
  font-size: .8125rem; font-weight: 600; color: var(--muted); transition: border-color .25s, background .25s, color .25s; }
.auth-types span svg { width: 22px; height: 22px; }
.auth-types input:checked + span { border-color: var(--green); background: #f2faee; color: var(--navy); }
.auth-types input:checked + span svg { color: var(--green); }
.auth-types input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.auth-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.auth-meter i { height: 5px; border-radius: 3px; background: #eaeaea; transition: background .3s; }
.auth-meter[data-s="1"] i:nth-child(-n+1) { background: #d9534f; }
.auth-meter[data-s="2"] i:nth-child(-n+2) { background: #f0ad4e; }
.auth-meter[data-s="3"] i:nth-child(-n+3) { background: #6cc957; }
.auth-meter[data-s="4"] i { background: var(--green); }
.auth-meter-label { margin-top: 6px; font-size: .75rem; color: var(--muted); }
/* forgot password */
.auth-key { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: var(--s4); background: #e3f5db; color: var(--green); box-shadow: 0 0 0 8px rgba(108,201,87,.1); }
.auth-key svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-steps { list-style: none; margin: var(--s6) 0 0; padding: var(--s4); display: grid; gap: var(--s3); border-radius: 16px; background: #fff; border: 1px solid #ececec; }
.auth-steps li { display: flex; align-items: center; gap: var(--s3); font-size: .9375rem; color: var(--navy); }
.auth-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .75rem; }
.auth-backlink { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s5); font-weight: 600; color: var(--navy); }
.auth-backlink svg { width: 16px; height: 16px; }
.auth-backlink:hover { color: var(--green); }
@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { padding: 24px 20px; }
  .auth-brand-copy, .auth-float, .auth-brand-foot { display: none; }
  .auth-brand::after { display: none; }
  .auth-card { padding: 28px 0; }
}
@media (max-width: 480px) { .auth-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .auth-float, html:not(.force-motion) .auth-float .bars i { animation: none; } }
.auth-check em { font-style: normal; }
@media (min-width: 961px) { .auth-brand { position: sticky; top: 0; height: 100vh; height: 100svh; } }

/* Feature box as an accordion: click a heading; its navy box opens right underneath, the + turns into − */
.fp-acc { gap: 6px; }
.fp-acc-head { margin: 0; font-size: inherit; }
.fp-acc .fp-tab { border-color: transparent; }
.fp-acc .fp-tab::before { transform: scaleY(0); }
.fp-acc-item.is-open > .fp-acc-head .fp-tab { background: linear-gradient(100deg, #f1fbed 0%, #fff 100%); border-color: #dcefd2; }
.fp-acc-item.is-open > .fp-acc-head .fp-tab::before { transform: none; }
.fp-acc-item.is-open .ico-tile { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.06); }
.fp-acc .fp-tab:not([aria-expanded="true"]) .ico-tile { background: #eaf4ea; color: var(--navy-deep); transform: none; }
.fp-plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #f3f3f3; transition: background .3s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.fp-plus::before, .fp-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: transform .35s ease, background .3s; }
.fp-plus::after { transform: rotate(90deg); }
.fp-tab:hover .fp-plus { background: #e3f5db; }
.fp-acc-item.is-open .fp-plus { background: var(--green); transform: rotate(180deg); }
.fp-acc-item.is-open .fp-plus::before, .fp-acc-item.is-open .fp-plus::after { background: #fff; }
.fp-acc-item.is-open .fp-plus::after { transform: rotate(0deg); }
.fp-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1); }
.fp-acc-item.is-open .fp-acc-body { grid-template-rows: 1fr; }
.fp-acc-inner { min-height: 0; overflow: hidden; }
.fp-acc .fp-pane { margin-top: 6px; border-radius: var(--radius); color: #fff; padding: var(--s4) var(--s5);
  background: radial-gradient(120% 140% at 100% 0%, rgba(108,201,87,.28) 0%, rgba(108,201,87,0) 55%), linear-gradient(120deg, #0f0f0f 0%, #171717 60%, #222222 100%);
  opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.fp-acc-item.is-open .fp-pane { opacity: 1; transform: none; transition-delay: .1s; }
.fp-acc .fp-pane .link-arrow { margin-top: var(--s2); padding-top: 0; }
.fp-acc .fp-pane-ico { width: 42px; height: 42px; top: var(--s4); right: var(--s4); }
.fp-acc .fp-pane-ico svg { width: 20px; height: 20px; }
.fp-acc-item:not(.is-open) .fp-pane-ico { animation: none; }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .fp-acc-body, html:not(.force-motion) .fp-acc .fp-pane, html:not(.force-motion) .fp-plus { transition: none; } }

/* Clarity wheel cards: description kept to three lines, ending in … */
.wheel-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

/* CPA Connect: the TRIO logo in place of the old "CPA's XTRIO" wordmark, sized to sit level with "… Connect" */
.cpa-full .cpa-brand { align-items: center; }
.cpa-logo { height: 62px; width: auto; flex: none; }
@media (max-width: 640px) { .cpa-logo { height: 48px; } }

/* CPA Connect: short lead + the three ways to work together; fourth tile timing */
.cpa-full .cpa-copy .cpa-lead { margin-top: var(--s3); max-width: 520px; color: #cecece; font-size: .9375rem; line-height: 1.6; }
.cpa-models { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.cpa-models li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: #ededed;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); transition: background .3s, border-color .3s; }
.cpa-models li:hover { background: rgba(155,226,126,.14); border-color: #9be27e; }
.cpa-models svg { width: 15px; height: 15px; color: #9be27e; }
.cpa-full .cpa-copy .btn { margin-top: var(--s5); }
.cpa-full .cpa-tile:nth-child(4)::after { animation-delay: 3.75s; }
.cpa-full .cpa-tile:nth-child(4) .ico-round::after { animation-delay: 2.1s; }
.cpa-side.will-in .cpa-tile:nth-child(4) { transition-delay: .45s, .45s, 0s; }
.cpa-full .cpa-tile { padding: 14px 20px; }

/* Planning deck: "Free Tax Planning" badge on every card's photo (top-right), with a soft shine */
.free-plan { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 8px; overflow: hidden;
  border-radius: 999px; background: linear-gradient(95deg, #9be27e 0%, #c3e84a 100%); color: #0b3d1e; font-family: var(--font-head); font-weight: 800; font-size: .8125rem;
  box-shadow: 0 10px 22px -12px rgba(21,21,21,.6); opacity: var(--in, 1); transform: translateY(calc((1 - var(--in, 1)) * -12px)); }
.free-plan svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #0b6b2f; color: #fff; }
.free-plan::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%) no-repeat -150% 0 / 60% 100%;
  animation: freeShine 4s ease-in-out infinite; }
@keyframes freeShine { 0% { background-position: -150% 0; } 40%, 100% { background-position: 250% 0; } }
@media (max-width: 640px) { .free-plan { top: 10px; right: 10px; font-size: .75rem; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .free-plan::after { animation: none; } }

/* Free Tax Planning badge: top-right of the text side, in the white space above the icon */
.deck-card .free-plan { top: var(--s5); right: var(--s5); }
@media (min-width: 961px) { .deck-card .plan-copy > .free-plan { position: absolute; top: var(--s2); right: 0; z-index: 3; } }
@media (max-width: 960px) { .deck-card .free-plan { position: static; align-self: flex-start; margin-bottom: var(--s2); } }

/* Strategically Simplified: arc items link to their service on the Services page */
.arc-item a { display: contents; color: inherit; }
.arc-item:has(a:hover) .ico-round { transform: translateY(-4px) scale(1.06); }
.arc-item:has(a:hover) { color: var(--green); }
.arc-item a:focus-visible .ico-round { outline: 2px solid var(--green); outline-offset: 3px; }

/* =========================================================
   DOCUMENT PAGES (policies, KBA, state payments) — sticky contents list + numbered sections
   ========================================================= */
.doc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.doc-toc { position: sticky; top: 24px; padding: var(--s4); border-radius: 22px; background: #fff; border: 1px solid #ececec; box-shadow: 0 20px 40px -36px rgba(21,21,21,.5); }
.doc-toc-title { display: block; padding: 4px 10px 10px; font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doc-toc nav { display: grid; gap: 2px; }
.doc-toc nav a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: var(--muted); line-height: 1.35; transition: background .25s, color .25s; }
.doc-toc nav a span { font-family: var(--font-head); font-size: .75rem; color: #b3b3b3; }
.doc-toc nav a:hover, .doc-toc nav a.is-active { background: #f2faee; color: var(--navy); }
.doc-toc nav a.is-active span { color: var(--green); }
.doc-toc-help { display: grid; gap: 2px; margin-top: var(--s3); padding: var(--s3) 10px 4px; border-top: 1px solid #f3f3f3; font-size: .85rem; }
.doc-toc-help b { font-family: var(--font-head); color: var(--navy); }
.doc-toc-help a { color: var(--green); font-weight: 600; }
.doc-body { padding: clamp(24px, 4vw, 52px); border-radius: 26px; background: #fff; border: 1px solid #ececec; box-shadow: 0 30px 60px -46px rgba(21,21,21,.55); }
.doc-updated { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #f2faee; font-size: .8125rem; font-weight: 600; color: var(--green); }
.doc-updated svg { width: 15px; height: 15px; }
.doc-intro { margin-top: var(--s4); font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
.doc-part { padding-top: var(--s6); margin-top: var(--s6); border-top: 1px solid #f3f3f3; scroll-margin-top: 24px; }
.doc-intro + .doc-part, .doc-updated + .doc-part { border-top: 0; margin-top: var(--s4); }
.doc-part h2 { display: flex; align-items: baseline; gap: var(--s3); font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--navy); }
.doc-part h2 span { font-size: .8125rem; font-weight: 800; color: var(--green); background: #e3f5db; padding: 3px 9px; border-radius: 8px; transform: translateY(-3px); }
.doc-part h3 { margin-top: var(--s5); font-size: 1.0625rem; color: var(--navy); }
.doc-part p, .doc-part li { color: #2b2b2b; line-height: 1.75; font-size: .97rem; }
.doc-part p { margin-top: var(--s3); }
.doc-part ul, .doc-part ol { margin: var(--s3) 0 0; padding-left: 0; list-style: none; display: grid; gap: var(--s2); }
.doc-part ul li { position: relative; padding-left: 26px; }
.doc-part ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: #6cc957; box-shadow: 0 0 0 4px #e3f5db; }
.doc-part ol { counter-reset: doc; }
.doc-part ol li { position: relative; padding-left: 40px; counter-increment: doc; }
.doc-part ol li::before { content: counter(doc); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; }
.doc-part strong { color: var(--navy); }
.doc-part a { color: var(--green); font-weight: 600; }
.doc-note { margin-top: var(--s4); padding: var(--s4) var(--s5); border-radius: 16px; background: #fff8e6; border: 1px solid #f2dfae; color: #7a5200 !important; font-size: .92rem !important; }
.doc-callout { margin-top: var(--s4); padding: var(--s4) var(--s5); border-radius: 16px; background: linear-gradient(120deg, #f2faee, #fff 70%); border: 1px solid #dcefd2; }
.doc-callout p { margin: 0; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { position: static; } .doc-toc nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .doc-toc nav { grid-template-columns: 1fr; } }

/* =========================================================
   FAQs — search + topic chips, grouped accordions (details/summary), side boxes
   ========================================================= */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s6); align-items: start; }
.faq-tools { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.faq-search { width: 100%; }
.faq-search input { min-height: 54px; font-size: 1rem; background: #fff; }
.faq-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.faq-chips button { padding: 9px 16px; border-radius: 999px; border: 1px solid #e2e2e2; background: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--navy); transition: background .25s, color .25s, border-color .25s; }
.faq-chips button:hover { border-color: var(--green); color: var(--green); }
.faq-chips button.is-on { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.faq-group + .faq-group { margin-top: var(--s6); }
.faq-group h2 { font-size: 1.25rem; color: var(--navy); margin-bottom: var(--s3); }
.faq-item { border-radius: 18px; background: #fff; border: 1px solid #ececec; transition: border-color .3s, box-shadow .3s; }
.faq-item + .faq-item { margin-top: var(--s2); }
.faq-item[open] { border-color: #cfe8c4; box-shadow: 0 20px 40px -32px rgba(21,21,21,.5); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.0125rem; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-item summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: 18px; }
.faq-item[open] .fp-plus { background: var(--green); transform: rotate(180deg); }
.faq-item[open] .fp-plus::before, .faq-item[open] .fp-plus::after { background: #fff; }
.faq-item[open] .fp-plus::after { transform: rotate(0deg); }
.faq-a { padding: 0 20px 18px; animation: govIn .4s cubic-bezier(.16,.84,.24,1); }
.faq-a p { color: #2b2b2b; line-height: 1.75; }
.faq-a a { color: var(--green); font-weight: 600; }
.faq-empty { margin-top: var(--s4); color: var(--muted); }
.faq-empty a { color: var(--green); font-weight: 600; }
.faq-side { position: sticky; top: 24px; display: grid; gap: var(--s4); }
.faq-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.faq-links a { display: flex; align-items: center; gap: var(--s3); padding: 9px 10px; border-radius: 12px; font-weight: 600; color: var(--navy); transition: background .25s, color .25s; }
.faq-links a:hover { background: #f2faee; color: var(--green); }
.faq-links svg { width: 18px; height: 18px; color: var(--green); }
/* =========================================================
   RESOURCES — guide cards, key dates timeline, checklist, IRS links
   ========================================================= */
.res-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.res-card h2 { padding-right: 0; }
.res-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.res-timeline { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: grid; gap: var(--s3); }
.res-timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #6cc957, #cfe3d4); }
.res-timeline li { position: relative; display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: #f6fbf3; border: 1px solid #e3f0dc; transition: transform .3s, box-shadow .3s; }
.res-timeline li::before { content: ''; position: absolute; left: -22px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.res-timeline li:hover { transform: translateX(4px); box-shadow: 0 16px 30px -24px rgba(21,21,21,.5); }
.res-date { font-family: var(--font-head); font-weight: 800; color: var(--green); }
.res-what { font-size: .9375rem; color: var(--navy); }
.res-small { margin-top: var(--s3); font-size: .8125rem; color: var(--muted); }
.res-check { display: grid; gap: var(--s4); }
.res-links { max-height: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 1100px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .res-guides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .res-two { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .res-guides { grid-template-columns: 1fr; } }

/* Footer: sixth column (Resources) */
.footer-grid { grid-template-columns: 1.3fr 1fr 1.15fr .8fr 1.15fr 1fr; gap: var(--s5); }
.footer-bottom .legal { flex-wrap: wrap; gap: var(--s2) var(--s5); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .cpa-full .cpa-brand { flex-wrap: wrap; gap: var(--s3); }
  .cpa-logo { height: 40px; }
  .cpa-full .cpa-brand .connect { font-size: 1.6rem; padding-left: var(--s3); }
}

/* CPA Connect logo: show only the TRIO wordmark — crop off the "TAX SERVICES" line under it (it starts at ~87% of the image) */
.cpa-logo-crop { --h: 62px; display: block; flex: none; height: calc(var(--h) * .78); overflow: hidden; }
.cpa-logo-crop .cpa-logo { display: block; height: var(--h); width: auto; }
@media (max-width: 640px) { .cpa-logo-crop { --h: 46px; } }

/* CPA Connect: "Let's connect" + "CPA Connect" (opens the partner site in a new tab) side by side */
.cpa-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.cpa-full .cpa-copy .cpa-actions .btn { margin-top: 0; }

/* A clear start: straight on the white background (no card), one-line title, the three steps as decorative tags */
#start .start-cta { background: none; border: 0; box-shadow: none; padding: var(--s5) 0; min-height: 0; border-radius: 0; overflow: visible; }
#start .start-deco { opacity: .55; right: 0; width: min(34%, 360px); }
#start .start-title { white-space: nowrap; font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
#start .start-title .start-hl { display: inline; }
.start-tags { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.start-tags li { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid #dcefd2;
  font-weight: 600; font-size: .875rem; color: var(--navy); box-shadow: 0 10px 20px -18px rgba(21,21,21,.6); animation: tagIn .6s cubic-bezier(.34,1.56,.64,1) both; }
.start-tags li:nth-child(2) { animation-delay: .12s; } .start-tags li:nth-child(3) { animation-delay: .24s; }
.start-tags li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 60%, #6cc957); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .75rem; }
.start-tags li + li::before { content: ''; position: absolute; left: -10px; top: 50%; width: 8px; height: 2px; background: #b9dfa8; }
@keyframes tagIn { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
#start .start-actions { margin-top: var(--s5); }
.start-note { margin-top: var(--s4); font-size: .8125rem; color: var(--muted); max-width: 560px; }
@media (max-width: 1200px) { #start .start-title { white-space: normal; } }
@media (max-width: 960px) { #start .start-deco { display: none; } }

/* =========================================================
   REFER & EARN — navy band with drifting confetti; free-draft card (white) + referral benefits card (glass)
   ========================================================= */
.refer { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(17,126,57,.45) 0%, rgba(17,126,57,0) 60%), radial-gradient(50% 70% at 0% 100%, rgba(37,37,37,.8) 0%, rgba(37,37,37,0) 60%), linear-gradient(160deg, #0f0f0f 0%, #151515 100%); }
.refer .section-head h2 { color: #fff; }
.refer .section-head .lead { color: #e0e0e0; }
.refer .eyebrow.light { color: #9be27e; }
.refer .section-head .accent { background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.refer-confetti i { position: absolute; z-index: -1; width: 10px; height: 10px; border-radius: 3px; opacity: .6; animation: confetti 9s linear infinite; }
.refer-confetti i:nth-child(odd) { background: #9be27e; } .refer-confetti i:nth-child(even) { background: #f9c932; border-radius: 50%; width: 8px; height: 8px; }
.refer-confetti i:nth-child(1) { left: 6%; animation-delay: 0s; } .refer-confetti i:nth-child(2) { left: 18%; animation-delay: -3s; }
.refer-confetti i:nth-child(3) { left: 32%; animation-delay: -6s; } .refer-confetti i:nth-child(4) { left: 47%; animation-delay: -1.5s; }
.refer-confetti i:nth-child(5) { left: 61%; animation-delay: -4.5s; } .refer-confetti i:nth-child(6) { left: 74%; animation-delay: -7.5s; }
.refer-confetti i:nth-child(7) { left: 86%; animation-delay: -2.2s; } .refer-confetti i:nth-child(8) { left: 95%; animation-delay: -5.4s; }
@keyframes confetti { 0% { top: -5%; transform: rotate(0) translateX(0); opacity: 0; } 10% { opacity: .65; } 90% { opacity: .65; } 100% { top: 105%; transform: rotate(540deg) translateX(40px); opacity: 0; } }
.refer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: stretch; }
.refer-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.4vw, 44px); border-radius: 28px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.refer-card:hover { transform: translateY(-6px); }
.refer-card.draft { background: #fff; color: var(--navy); box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); }
.refer-card.earn { background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.refer-card h3 { margin-top: var(--s4); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.2; }
.refer-card.draft h3 { color: var(--navy); }
.refer-card.earn h3 { color: #fff; background: linear-gradient(95deg, #fff 0%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.refer-card p { margin-top: var(--s2); line-height: 1.65; }
.refer-card.draft p { color: var(--muted); }
.refer-card.earn p { color: #e0e0e0; }
.refer-badge { position: absolute; top: 22px; right: -38px; width: 150px; padding: 6px 0; text-align: center; transform: rotate(35deg); background: linear-gradient(95deg, #9be27e, #c3e84a); color: #0b3d1e;
  font-family: var(--font-head); font-weight: 800; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 18px -10px rgba(21,21,21,.6); }
.refer-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 55%, #6cc957); color: #fff; box-shadow: 0 16px 28px -14px rgba(17,126,57,.8); }
.refer-ico svg { width: 28px; height: 28px; }
.refer-steps { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); width: 100%; }
.refer-steps li { display: flex; align-items: center; gap: var(--s3); padding: 12px 14px; border-radius: 14px; background: #f6fbf3; border: 1px solid #e3f0dc; font-weight: 600; color: var(--navy); transition: transform .3s; }
.refer-steps li:hover { transform: translateX(6px); }
.refer-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; }
.refer-card .btn { margin-top: var(--s5); }
.refer-card small { margin-top: var(--s3); font-size: .75rem; color: var(--muted); }
.refer-gift { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, #f9c932, #fedc41); color: #5a3d00; box-shadow: 0 0 0 10px rgba(249,201,50,.12);
  animation: giftWiggle 3.6s ease-in-out infinite; }
.refer-gift svg { width: 34px; height: 34px; }
@keyframes giftWiggle { 0%, 70%, 100% { transform: rotate(0) scale(1); } 75% { transform: rotate(-10deg) scale(1.08); } 82% { transform: rotate(8deg) scale(1.08); } 89% { transform: rotate(-5deg); } }
.refer-perks { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); width: 100%; }
.refer-perks li { display: flex; gap: var(--s3); align-items: flex-start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s, border-color .3s; }
.refer-perks li:hover { background: rgba(155,226,126,.12); border-color: rgba(155,226,126,.5); }
.refer-perks li > span { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(155,226,126,.16); color: #9be27e; }
.refer-perks svg { width: 18px; height: 18px; }
.refer-perks b { display: block; font-family: var(--font-head); color: #fff; }
.refer-perks div { font-size: .875rem; color: #e0e0e0; line-height: 1.5; }
.refer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: auto; padding-top: var(--s5); }
.refer-actions .btn { margin-top: 0; }
.refer-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #9be27e; }
.refer-link svg { width: 15px; height: 15px; transition: transform .3s; }
.refer-link:hover svg { transform: translateX(4px); }
@media (max-width: 900px) { .refer-grid { grid-template-columns: 1fr; } }
#start .start-deco { display: none; }
#start .start-copy { max-width: none; }
#start .start-cta { align-items: center; }
.refer .btn-yellow { --sweep: #f5c518; background: linear-gradient(95deg, #f9c932, #fedc41); color: #3a2a00; box-shadow: 0 14px 26px -14px rgba(249,201,50,.8); }

/* Refer & Earn — compact: less padding, smaller cards, steps and perks as one row of chips */
.refer { padding: 56px 0; }
.refer .section-head { margin-bottom: 28px; }
.refer .section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.refer-card { padding: 26px 30px; border-radius: 22px; }
.refer-card h3 { margin-top: var(--s3); font-size: clamp(1.25rem, 2vw, 1.5rem); }
.refer-ico { width: 48px; height: 48px; border-radius: 14px; } .refer-ico svg { width: 22px; height: 22px; }
.refer-gift { width: 52px; height: 52px; border-radius: 16px; box-shadow: 0 0 0 6px rgba(249,201,50,.12); } .refer-gift svg { width: 24px; height: 24px; }
.refer-steps, .refer-perks { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.refer-steps li { padding: 6px 12px 6px 6px; border-radius: 999px; font-size: .875rem; }
.refer-steps span { width: 24px; height: 24px; font-size: .72rem; }
.refer-perks li { align-items: center; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .875rem; }
.refer-perks li > span { width: 28px; height: 28px; border-radius: 50%; } .refer-perks svg { width: 14px; height: 14px; }
.refer-perks b { font-size: .875rem; }
.refer-card .btn { margin-top: var(--s4); }
.refer-actions { padding-top: var(--s4); }
.refer-card small { margin-top: var(--s2); }
.refer-badge { top: 16px; right: -42px; padding: 4px 0; font-size: .72rem; }

/* A clear start: Quick Support as an open chat on the white background (no card) */
.start-chat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); padding: var(--s3) 0 var(--s3) var(--s6); align-self: center; }
.start-chat::before { content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: linear-gradient(180deg, transparent, #cfe3d4 25%, #cfe3d4 75%, transparent); }
.start-chat-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s2); }
.start-chat-head b { display: block; font-family: var(--font-head); color: var(--navy); }
.start-chat-head small { font-size: .8125rem; color: var(--green); font-weight: 600; }
.start-chat-av { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0f0f0f, #151515 55%, #242424); color: #9be27e; }
.start-chat-av svg { width: 22px; height: 22px; }
.start-chat-av i { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #6cc957; border: 2px solid #fff; }
.start-chat-av i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #6cc957; animation: pinPulse 2s ease-out infinite; }
.start-chat-msg { max-width: 290px; padding: 11px 15px; border-radius: 4px 18px 18px 18px; background: #f2faee; border: 1px solid #dcefd2; color: var(--navy); font-size: .9375rem; line-height: 1.45;
  animation: chatIn .5s cubic-bezier(.34,1.56,.64,1) both; animation-delay: var(--d, 0s); }
.start-chat-msg + .start-chat-msg { border-radius: 18px; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: none; } }
.start-chat-typing { display: inline-flex; gap: 4px; padding: 10px 14px; border-radius: 18px; background: #f6f6f6; animation: chatIn .5s ease both 1.5s; }
.start-chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: #b3b3b3; animation: typeDot 1.2s ease-in-out infinite; }
.start-chat-typing i:nth-child(2) { animation-delay: .15s; } .start-chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typeDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.start-chat-replies { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s3); animation: chatIn .5s ease both 1.8s; }
.start-chat-replies .btn svg:first-child { width: 17px; height: 17px; }
.start-chat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid #e2e2e2; font-weight: 600; font-size: .875rem; color: var(--navy); transition: border-color .25s, color .25s, background .25s; }
.start-chat-chip svg { width: 16px; height: 16px; color: var(--green); }
.start-chat-chip:hover { border-color: var(--green); color: var(--green); background: #f2faee; }
@media (max-width: 960px) { .start-chat { padding-left: 0; } .start-chat::before { display: none; } }

/* Footer column titles: green-lime (was yellow-lime) */
.footer .h5 { color: #9be27e; }

/* Benefits page — three benefit rows + how-to-claim band */
.bn-list { display: grid; gap: var(--s5); }
.bn-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s6); padding: clamp(24px, 3.5vw, 40px); border-radius: 26px; background: #fff; border: 1px solid #ececec;
  box-shadow: 0 30px 60px -46px rgba(21,21,21,.55); transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .45s; }
.bn-item:hover { transform: translateY(-4px); border-color: #cfe8c4; }
.bn-side { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); padding-right: var(--s5); border-right: 1px solid #f3f3f3; }
.bn-num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #b9dfa8; }
.bn-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 55%, #6cc957); color: #fff; box-shadow: 0 16px 28px -14px rgba(17,126,57,.8); }
.bn-ico svg { width: 28px; height: 28px; }
.bn-tag { padding: 4px 12px; border-radius: 999px; background: #e3f5db; color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .06em; }
.bn-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--navy); }
.bn-big { margin-top: var(--s2); font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--green); }
.bn-body > p:not(.bn-big) { margin-top: var(--s2); color: var(--muted); }
.bn-body .gov-check { margin-top: var(--s4); }
.bn-claim { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s5) var(--s7); margin-top: var(--s7); padding: clamp(28px, 4vw, 48px); border-radius: 26px; color: #fff;
  background: radial-gradient(70% 120% at 100% 0%, rgba(108,201,87,.35) 0%, rgba(108,201,87,0) 60%), linear-gradient(130deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); }
.bn-claim h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.bn-steps { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.bn-steps li { display: flex; align-items: center; gap: var(--s3); color: #ededed; }
.bn-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #9be27e; color: #0b3d1e; font-family: var(--font-head); font-weight: 800; font-size: .8rem; }
.bn-claim-cta { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 760px) { .bn-item { grid-template-columns: 1fr; } .bn-side { flex-direction: row; align-items: center; padding: 0 0 var(--s4); border-right: 0; border-bottom: 1px solid #f3f3f3; } .bn-num { font-size: 2.2rem; } }

/* A clear start: the free-draft note on one line on wider screens */
.start-note { max-width: none; }
@media (min-width: 1101px) { #start .start-note { white-space: nowrap; font-size: .78rem; } }

/* Data Security padlock: body light sweep, shackle glint, glowing keyhole and "secured" pulse rings */
.lock-sweep { animation: lockSweep 3.6s ease-in-out infinite; }
@keyframes lockSweep { 0% { transform: skewX(-18deg) translateX(0); } 55%, 100% { transform: skewX(-18deg) translateX(330px); } }
.lock-shine { stroke-dasharray: .14 1; stroke-dashoffset: 1.14; filter: drop-shadow(0 0 6px #fff); animation: lockShine 3.6s ease-in-out infinite; }
@keyframes lockShine { 0%, 35% { stroke-dashoffset: 1.14; opacity: 0; } 40% { opacity: 1; } 75% { stroke-dashoffset: 0; opacity: 1; } 80%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.lock-key { transform-box: fill-box; transform-origin: center; animation: lockKey 2.4s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes lockKey { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.lock-ring { transform-box: fill-box; transform-origin: center; opacity: 0; animation: lockRing 3.6s ease-out infinite; }
.lock-ring.r2 { animation-delay: .5s; }
@keyframes lockRing { 0% { opacity: 0; transform: scale(.7); } 10% { opacity: .8; } 60%, 100% { opacity: 0; transform: scale(1.6); } }
.sec-anim.is-still .lock-fx * { animation: none !important; }

/* Padlock open / close loop (6s): closed → shackle lifts (unlocked) → holds → drops with a little bounce (click),
   then the "secured" rings pulse, the keyhole flashes and a light sweeps the body */
.lock-shackle { animation: lockOpen 6s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes lockOpen { 0%, 28% { transform: translateY(0); } 38%, 60% { transform: translateY(-26px); } 66% { transform: translateY(3px); } 70%, 100% { transform: translateY(0); } }
.lock-patch { opacity: 0; animation: lockPatch 6s ease infinite; }
@keyframes lockPatch { 0%, 29% { opacity: 0; } 34%, 62% { opacity: 1; } 67%, 100% { opacity: 0; } }
.lock-ring { animation: lockRing2 6s ease-out infinite; }
.lock-ring.r2 { animation-delay: .35s; }
@keyframes lockRing2 { 0%, 66% { opacity: 0; transform: scale(.7); } 70% { opacity: .85; } 92%, 100% { opacity: 0; transform: scale(1.7); } }
.lock-key { animation: lockKey2 6s ease-in-out infinite; }
@keyframes lockKey2 { 0%, 28% { opacity: .7; transform: scale(1); } 38%, 60% { opacity: .15; transform: scale(.75); } 68% { opacity: 1; transform: scale(1.35); } 80%, 100% { opacity: .7; transform: scale(1); } }
.lock-sweep { animation: lockSweep2 6s ease-in-out infinite; }
@keyframes lockSweep2 { 0%, 70% { transform: skewX(-18deg) translateX(0); } 92%, 100% { transform: skewX(-18deg) translateX(330px); } }
.lock-shine { animation: lockShine2 6s ease-in-out infinite; }
@keyframes lockShine2 { 0%, 4% { stroke-dashoffset: 1.14; opacity: 0; } 8% { opacity: 1; } 24% { stroke-dashoffset: 0; opacity: 1; } 27%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.sec-anim.is-still .lock-open * { animation: none !important; }

/* Shield sequence (6s, in step with the padlock): 1 rim light runs all the way round · 2 face flashes ·
   3–4 lock opens / closes · 5 shield seals: outline lights up and a wave pulses outward */
.shield-trace { stroke-dasharray: .16 1; stroke-dashoffset: 1.16; opacity: 0; animation: shieldTrace 6s cubic-bezier(.45,0,.55,1) infinite; }
.shield-trace.halo { mix-blend-mode: screen; }
@keyframes shieldTrace { 0% { stroke-dashoffset: 1.16; opacity: 0; } 2% { opacity: 1; } 22% { stroke-dashoffset: 0; opacity: 1; } 25%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.shield-face { opacity: 0; mix-blend-mode: screen; animation: shieldFace 6s ease-in-out infinite; }
@keyframes shieldFace { 0%, 21% { opacity: 0; } 25% { opacity: 1; } 32% { opacity: .15; } 66% { opacity: 0; } 71% { opacity: .9; } 82%, 100% { opacity: 0; } }
.shield-seal { opacity: 0; animation: shieldSeal 6s ease-out infinite; }
@keyframes shieldSeal { 0%, 67% { opacity: 0; } 71% { opacity: 1; } 88%, 100% { opacity: 0; } }
.shield-wave { transform-box: fill-box; transform-origin: 50% 45%; opacity: 0; animation: shieldWave 6s ease-out infinite; }
@keyframes shieldWave { 0%, 69% { opacity: 0; transform: scale(1); } 72% { opacity: .8; } 95%, 100% { opacity: 0; transform: scale(1.14); } }
.sec-anim.is-still .shield-fx * { animation: none !important; }

/* =========================================================
   REFUND STATUS (redesign) — mode switch overlapping the hero, one focused tool, facts, help cards, cross-link
   ========================================================= */
.rs-hero { padding-bottom: calc(var(--s8) + 30px); }
.rs-page { background: var(--soft); padding-bottom: var(--s8); }
.rs-modes { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: -54px; padding: 8px; border-radius: 24px; background: #fff;
  box-shadow: 0 30px 60px -34px rgba(21,21,21,.6), 0 0 0 1px #ececec; }
.rs-mode { display: flex; align-items: center; gap: var(--s4); padding: 16px 20px; border: 0; border-radius: 18px; background: transparent; cursor: pointer; text-align: left; color: var(--navy);
  transition: background .35s, color .35s, box-shadow .35s; }
.rs-mode b { display: block; font-family: var(--font-head); font-size: 1.0625rem; }
.rs-mode small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); transition: color .35s; }
.rs-mode-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: #f3f3f3; color: var(--navy); transition: background .35s, color .35s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.rs-mode-ico svg { width: 22px; height: 22px; }
.rs-mode:hover { background: #f6faf4; }
.rs-mode[aria-selected="true"] { background: linear-gradient(130deg, #151515 0%, #1c1c1c 100%); color: #fff; box-shadow: 0 16px 30px -18px rgba(21,21,21,.8); }
.rs-mode[aria-selected="true"] small { color: #cecece; }
.rs-mode[aria-selected="true"] .rs-mode-ico { background: var(--green); color: #fff; transform: rotate(-8deg); }
.rs-mode:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.rs-section { padding-top: var(--s6); padding-bottom: 0; }
.rs-section[hidden] { display: none; }
.rs-section:not([hidden]) { animation: govIn .5s cubic-bezier(.16,.84,.24,1); }
.rs-tool { border-radius: 26px; background: #fff; border: 1px solid #ececec; box-shadow: 0 30px 60px -46px rgba(21,21,21,.55); overflow: hidden; }
.rs-tool-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5) var(--s6); border-bottom: 1px solid #f3f3f3;
  background: linear-gradient(120deg, #f6fbf3 0%, #fff 55%, #f8f8f8 100%); }
.rs-tool-head h2 { margin-top: 4px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--navy); }
.rs-step { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.rs-tool .gov-tabs button { min-width: 140px; }
.rs-pane { padding: var(--s5) var(--s6) var(--s6); animation: govIn .4s cubic-bezier(.16,.84,.24,1); }
.rs-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin-top: var(--s3); }
.rs-options.three { grid-template-columns: repeat(3, 1fr); }
.rs-option { position: relative; display: flex; flex-direction: column; gap: 6px; padding: var(--s5); border-radius: 20px; border: 1.5px solid #ececec; background: #fff; color: var(--navy);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s, background .35s; }
.rs-option:hover { transform: translateY(-4px); border-color: #b9dfa8; background: #f9fdf7; box-shadow: 0 24px 40px -30px rgba(21,21,21,.55); }
.rs-option-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s2); }
.rs-option-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e3f5db; color: var(--green); transition: background .3s, color .3s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.rs-option-ico svg { width: 22px; height: 22px; }
.rs-option:hover .rs-option-ico { background: var(--green); color: #fff; transform: rotate(-8deg); }
.rs-option b { font-family: var(--font-head); font-size: 1.125rem; }
.rs-option-text { color: var(--muted); font-size: .9rem; line-height: 1.55; flex: 1; }
.rs-option-go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); font-weight: 700; font-size: .9375rem; color: var(--green); }
.rs-option-go svg { width: 14px; height: 14px; transition: transform .3s; }
.rs-option:hover .rs-option-go svg { transform: translate(3px, -3px); }
.rs-state-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.rs-search { width: min(420px, 100%); }
.rs-search input { min-height: 50px; font-size: .9375rem; }
.rs-states { max-height: none; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.rs-foot { margin-top: var(--s4); font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.rs-foot a { font-weight: 700; color: var(--green); }
.rs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s5); }
.rs-fact { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: 18px; background: #fff; border: 1px solid #ececec; }
.rs-fact .gov-fact-ico { display: grid; }
.rs-fact b { display: block; font-family: var(--font-head); font-size: .9375rem; color: var(--navy); }
.rs-fact span:not(.gov-fact-ico) { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.rs-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s4); }
.rs-help .gov-box p a { color: inherit; font-weight: 700; text-decoration: underline; }
.rs-switch { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); margin-top: var(--s5); padding: var(--s4) var(--s5); border-radius: 18px;
  background: #fff; border: 1px dashed #b9dfa8; color: var(--muted); }
.rs-switch b { color: var(--navy); }
@media (max-width: 1000px) { .rs-options.three, .rs-facts, .rs-help { grid-template-columns: 1fr 1fr; } .rs-help .gov-box-navy { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  .rs-modes { grid-template-columns: 1fr; margin-top: -40px; }
  .rs-mode { padding: 12px 14px; }
  .rs-options, .rs-options.three, .rs-facts, .rs-help { grid-template-columns: 1fr; }
  .rs-tool-head, .rs-pane { padding-left: var(--s4); padding-right: var(--s4); }
  .rs-tool .gov-tabs { width: 100%; } .rs-tool .gov-tabs button { min-width: 0; }
}

/* =========================================================
   SUB-PAGE HERO — refined: soft green glow, fading dot grid and rings on the right, gradient keyword, optional side art
   ========================================================= */
.page-hero { background: radial-gradient(55% 120% at 92% 50%, rgba(17,126,57,.38) 0%, rgba(17,126,57,0) 62%), radial-gradient(40% 90% at 0% 100%, rgba(37,37,37,.55) 0%, rgba(37,37,37,0) 60%), linear-gradient(180deg, #151515 0%, #131313 100%); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background: radial-gradient(circle, rgba(223,223,223,.2) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 75%); mask-image: linear-gradient(90deg, transparent 35%, #000 75%); }
.page-hero::after { content: ''; position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; transform: translateY(-38%); z-index: -1; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(155,226,126,.18); box-shadow: 0 0 0 70px rgba(155,226,126,.04), 0 0 0 140px rgba(155,226,126,.025); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s6); align-items: center; }
.page-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s4); padding: 5px 12px 5px 8px; border-radius: 999px; background: rgba(155,226,126,.12); border: 1px solid rgba(155,226,126,.3);
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #9be27e; }
.page-hero-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #9be27e; box-shadow: 0 0 0 4px rgba(155,226,126,.2); }
.page-hero h1 .hl { background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero-grid h1 { margin-top: var(--s3); }
.page-hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.page-hero-links .btn { margin-top: var(--s5); }
.page-hero-links .hero-textlink { margin-top: var(--s5); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.page-hero-links .hero-textlink svg { width: 15px; height: 15px; transition: transform .3s; }
.page-hero-links .hero-textlink:hover { color: #9be27e; } .page-hero-links .hero-textlink:hover svg { transform: translateX(4px); }
/* side art: floating status cards */
.hero-cards { position: relative; display: grid; gap: var(--s3); justify-items: end; }
.hero-card { display: flex; align-items: center; gap: var(--s3); min-width: 270px; padding: 12px 18px 12px 12px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); animation: abFloat 6s ease-in-out infinite; }
.hero-card:nth-child(2) { margin-right: 46px; animation-delay: -2s; }
.hero-card:nth-child(3) { animation-delay: -4s; }
.hero-card b { display: block; font-family: var(--font-head); font-size: .9375rem; }
.hero-card small { display: block; font-size: .78rem; color: #cecece; }
.hero-card-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(155,226,126,.16); color: #9be27e; font-family: var(--font-head); font-weight: 800; font-size: .8125rem; letter-spacing: .04em; }
.hero-card-ico svg { width: 20px; height: 20px; }
.hero-card .st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.hero-card .st.live { background: rgba(108,201,87,.18); color: #9be27e; }
.hero-card .st.soon { background: rgba(249,201,50,.16); color: #f9c932; }
.hero-card .st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ccBlink 1.6s ease-in-out infinite; }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; } .hero-cards { justify-items: start; } .hero-card:nth-child(2) { margin-right: 0; margin-left: 30px; } .page-hero::after { display: none; } }
@media (max-width: 640px) { .hero-cards { display: none; } }
.page-hero-eyebrow { display: flex; width: max-content; }
.page-hero h1.ab-hero-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* Sub-page heroes share one compact style: eyebrow tag, shorter headline with a green-gradient keyword */
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-hero-inner > .page-hero-eyebrow + h1 { margin-top: var(--s3); }

/* =========================================================
   CPA CONNECT — animated chat in the centre: CPA firm ↔ TRIO, the workflow plays message by message
   ========================================================= */
.cpa-full .cpa-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .9fr) minmax(0, .88fr); gap: var(--s5); }
.cpa-full .cpa-copy { max-width: none; }
.cpa-chat { position: relative; display: flex; flex-direction: column; height: 400px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12); }
.cpa-chat::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(108,201,87,.28), transparent 70%); pointer-events: none; }
.cpa-chat-head { position: relative; display: flex; align-items: center; gap: var(--s3); padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(15,15,15,.35); }
.cpa-chat-dots { display: inline-flex; gap: 5px; } .cpa-chat-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; } .cpa-chat-dots i:nth-child(2) { background: #f9c932; } .cpa-chat-dots i:nth-child(3) { background: #6cc957; }
.cpa-chat-title { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.cpa-chat-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 60%, #6cc957); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; }
.cpa-chat-title b { display: block; font-family: var(--font-head); font-size: .875rem; color: #fff; line-height: 1.1; }
.cpa-chat-title small { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; color: #9be27e; }
.cpa-chat-title small i { width: 6px; height: 6px; border-radius: 50%; background: #6cc957; animation: ccBlink 1.6s ease-in-out infinite; }
.cpa-chat-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); transition: opacity .5s; }
.cpa-chat-body.is-clearing { opacity: 0; }
.cmsg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: .8125rem; line-height: 1.45; animation: cmsgIn .45s cubic-bezier(.34,1.56,.64,1) both; }
.cmsg small { display: block; margin-bottom: 2px; font-family: var(--font-head); font-weight: 800; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.cmsg.cpa { align-self: flex-end; background: #fff; color: var(--navy); border-bottom-right-radius: 4px; }
.cmsg.trio { align-self: flex-start; background: linear-gradient(135deg, #0b6b2f, var(--green)); color: #fff; border-bottom-left-radius: 4px; }
.cmsg.sys { align-self: center; max-width: 94%; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(155,226,126,.12); border: 1px solid rgba(155,226,126,.32); color: #d9f5c9; font-size: .75rem; font-weight: 600; }
.cmsg.sys svg { width: 14px; height: 14px; color: #9be27e; flex: none; }
.cmsg.sys .bar { position: relative; width: 60px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.cmsg.sys .bar::after { content: ''; position: absolute; inset: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, #6cc957, #c3e84a); animation: cbar 1.4s ease-out forwards; }
.cmsg.typing { display: inline-flex; gap: 4px; padding: 11px 14px; }
.cmsg.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; animation: typeDot 1.1s ease-in-out infinite; }
.cmsg.typing i:nth-child(2) { animation-delay: .15s; } .cmsg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cmsgIn { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes cbar { to { width: 100%; } }
.cpa-chat-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 12px 12px 14px; border-top: 1px solid rgba(255,255,255,.1); background: rgba(15,15,15,.35); }
.cpa-chat-track span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .65rem; font-weight: 700; letter-spacing: .04em; color: #969696; transition: color .4s; }
.cpa-chat-track span::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #1b1b1b; border: 2px solid #5b5b5b; transition: background .4s, border-color .4s, box-shadow .4s; }
.cpa-chat-track span.is-on { color: #e3f7d6; }
.cpa-chat-track span.is-on::before { background: #6cc957; border-color: #b6ff7a; box-shadow: 0 0 0 4px rgba(108,201,87,.25); }
.cpa-chat-track::before { content: ''; position: absolute; left: 10%; right: 10%; top: 18px; height: 2px; background: #2d2d2d; }
.cpa-chat-bar { position: absolute; left: 10%; top: 18px; height: 2px; width: calc(80% * var(--p, 0)); background: linear-gradient(90deg, #6cc957, #c3e84a); transition: width .8s cubic-bezier(.65,0,.35,1); }
@media (max-width: 1100px) {
  .cpa-full .cpa-inner { grid-template-columns: 1fr 1fr; }
  .cpa-full .cpa-copy { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .cpa-full .cpa-inner { grid-template-columns: 1fr; } .cpa-chat { height: 380px; } }
@media (min-width: 1101px) {
  .cpa-full .cpa-logo-crop { --h: 50px; }
  .cpa-full .cpa-brand .connect { font-size: 1.95rem; padding-left: var(--s3); }
  .cpa-full .cpa-brand { gap: var(--s3); }
}

/* CPA Connect chat — white version with a message bar where the CPA's messages are typed and sent */
.cpa-chat { background: #fff; border-color: #ececec; backdrop-filter: none; box-shadow: 0 34px 60px -30px rgba(0,0,0,.55); }
.cpa-chat::before { background: radial-gradient(circle, rgba(108,201,87,.16), transparent 70%); }
.cpa-chat-head { background: linear-gradient(120deg, #f6fbf3, #fff 70%); border-bottom-color: #f3f3f3; }
.cpa-chat-title b { color: var(--navy); }
.cpa-chat-title small { color: var(--green); }
.cpa-chat-body { background: linear-gradient(180deg, #fdfdfd, #f6faf4); }
.cmsg.cpa { background: var(--navy-deep); color: #fff; }
.cmsg.cpa small { color: #9be27e; opacity: 1; }
.cmsg.trio { box-shadow: 0 10px 20px -14px rgba(17,126,57,.7); }
.cmsg.sys { background: #eef7ea; border-color: #d5edc9; color: #24533a; }
.cmsg.sys svg { color: var(--green); }
.cmsg.sys .bar { background: #dbe9d4; }
.cmsg.typing { color: #919191; background: #fff; border: 1px solid #ececec; }
.cmsg.cpa.just-sent { animation: sendUp .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes sendUp { from { opacity: 0; transform: translateY(26px) scale(.9); } to { opacity: 1; transform: none; } }
.cpa-chat-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid #f3f3f3; background: #fff; }
.cpa-chat-field { position: relative; flex: 1; display: flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #f6f6f6; border: 1px solid #ececec;
  font-size: .8125rem; color: var(--navy); white-space: nowrap; overflow: hidden; transition: border-color .3s, background .3s; }
.cpa-chat-field.is-typing { border-color: #b9dfa8; background: #fff; }
.cpa-chat-field em { position: absolute; left: 14px; font-style: normal; color: #b3b3b3; pointer-events: none; }
.cpa-chat-field .caret { display: none; width: 2px; height: 16px; margin-left: 1px; background: var(--green); animation: caret 1s steps(1) infinite; }
.cpa-chat-field.is-typing .caret { display: inline-block; }
@keyframes caret { 50% { opacity: 0; } }
.cpa-chat-field span { overflow: hidden; text-overflow: clip; direction: ltr; }
.cpa-chat-send { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e4e4e4; color: #fff; transition: background .3s, transform .3s; }
.cpa-chat-send svg { width: 17px; height: 17px; transform: rotate(-30deg); }
.cpa-chat-send.is-ready { background: linear-gradient(135deg, #0b6b2f, var(--green)); }
.cpa-chat-send.is-press { transform: scale(.85); }
.cpa-chat-field span { display: block; min-width: 0; white-space: nowrap; }

/* CPA Connect chat: navy header (white title, lime "online") and the text being typed in TRIO green */
.cpa-chat-head { background: linear-gradient(120deg, #151515 0%, #1c1c1c 100%); border-bottom-color: transparent; }
.cpa-chat-title b { color: #fff; }
.cpa-chat-title small { color: #9be27e; }
.cpa-chat-av { box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.cpa-chat-field span { color: var(--green); font-weight: 600; }
.cpa-chat-field.is-typing { border-color: #9fd38b; background: #f6fbf3; }

/* =========================================================
   CPA CONNECT PAGE
   ========================================================= */
/* 1. four-step flow with a drawing line */
.cc-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.cc-flow::before { content: ''; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: #ececec; }
.cc-flow::after { content: ''; position: absolute; left: 12%; top: 34px; height: 2px; width: 76%; background: linear-gradient(90deg, var(--green), #b9e24a); transform-origin: left; animation: ccLine 3.5s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes ccLine { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.cc-flow-step { position: relative; z-index: 1; text-align: center; }
.cc-flow-ico { position: relative; width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #dcefd2; color: var(--green);
  box-shadow: 0 14px 28px -18px rgba(21,21,21,.5); animation: ccPop 3.5s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
.cc-flow-ico svg { width: 28px; height: 28px; }
.cc-flow-ico b { position: absolute; right: -4px; top: -4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-size: .75rem; }
@keyframes ccPop { 0%, 20%, 100% { transform: none; border-color: #dcefd2; } 8% { transform: scale(1.1); border-color: var(--green); } }
.cc-flow-step h3 { margin-top: var(--s4); font-size: 1.0625rem; color: var(--navy); }
.cc-flow-step p { margin-top: 4px; font-size: .875rem; color: var(--muted); }
/* 2. bottleneck */
.cc-pain { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.cc-pain h2 { margin-top: var(--s3); }
.cc-pain .lead { margin-top: var(--s3); }
.cc-pain-chips { display: flex; flex-wrap: wrap; gap: var(--s3); }
.cc-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #fff; border: 1px solid #ececec; font-weight: 600; color: var(--navy);
  box-shadow: 0 14px 26px -22px rgba(21,21,21,.6); animation: ccFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); }
.cc-chip svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #fdecea; color: #c0392b; }
@keyframes ccFloat { 50% { transform: translateY(-5px); } }
/* 3. supports */
.cc-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.cc-support-card h2 { padding-right: 0; }
.cc-support-card p { flex: 0; }
.cc-support-card .gov-check { margin-top: var(--s4); }
/* 4. support models (navy band) */
.cc-models-sec { color: #fff; background: radial-gradient(60% 80% at 100% 0%, rgba(17,126,57,.4) 0%, rgba(17,126,57,0) 60%), linear-gradient(160deg, #0f0f0f 0%, #151515 100%); }
.cc-models-sec .section-head h2 { color: #fff; }
.cc-models-sec .section-head .lead { color: #e0e0e0; }
.cc-models-sec .eyebrow.light { color: #9be27e; }
.cc-models-sec .accent { background: linear-gradient(95deg, #9be27e, #e3f76c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cc-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: stretch; }
.cc-model { position: relative; padding: var(--s6); border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s; }
.cc-model:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.cc-model.featured { background: #fff; color: var(--navy); border-color: transparent; box-shadow: 0 40px 70px -40px rgba(0,0,0,.7); transform: translateY(-10px); }
.cc-model.featured:hover { transform: translateY(-14px); background: #fff; }
.cc-model-level { display: flex; gap: 5px; }
.cc-model-level i { width: 26px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.cc-model-level i.on { background: linear-gradient(90deg, #6cc957, #c3e84a); }
.cc-model.featured .cc-model-level i { background: #ececec; } .cc-model.featured .cc-model-level i.on { background: linear-gradient(90deg, var(--green), #6cc957); }
.cc-model-tag { display: block; margin-top: var(--s4); font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9be27e; }
.cc-model.featured .cc-model-tag { color: var(--green); }
.cc-model h3 { margin-top: var(--s2); font-size: 1.4rem; color: #fff; }
.cc-model.featured h3 { color: var(--navy); }
.cc-model p { margin-top: var(--s3); font-size: .9375rem; line-height: 1.6; color: #e0e0e0; }
.cc-model.featured p { color: var(--muted); }
.cc-model ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.cc-model li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; }
.cc-model li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(155,226,126,.2); color: #9be27e; }
.cc-model.featured li svg { background: #e3f5db; color: var(--green); }
/* 5. learn + cycle */
.cc-learn { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s7); align-items: center; }
.cc-learn h2 { margin-top: var(--s3); } .cc-learn .lead { margin-top: var(--s3); }
.cc-learn-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.cc-learn-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #f2faee; border: 1px solid #dcefd2; font-weight: 600; font-size: .875rem; color: var(--navy); }
.cc-learn-chips svg { width: 15px; height: 15px; color: var(--green); }
.cc-cycle { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin: 0 auto; }
.cc-cycle-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ccSpin 20s linear infinite; }
.cc-cycle-arc { stroke-dasharray: .25 .75; }
@keyframes ccSpin { to { transform: rotate(360deg); } }
.cc-cycle-core { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; background: linear-gradient(135deg, #151515, #1c1c1c); box-shadow: 0 20px 40px -20px rgba(21,21,21,.8); }
.cc-cycle-core b { font-family: var(--font-head); font-size: 1.4rem; } .cc-cycle-core small { font-size: .75rem; color: #9be27e; }
.cc-cycle-node { position: absolute; left: 50%; top: 50%; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid #cfe8c4; font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--navy);
  box-shadow: 0 12px 24px -16px rgba(21,21,21,.6); transform: translate(-50%, -50%) rotate(var(--a)) translateX(min(150px, 44vw)) rotate(calc(-1 * var(--a))); animation: ccNode 5s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes ccNode { 0%, 15%, 100% { background: #fff; color: var(--navy); } 5%, 10% { background: var(--green); color: #fff; border-color: var(--green); } }
/* 6. fit */
.cc-fit { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4); }
.cc-fit-card { padding: var(--s5); border-radius: 20px; background: #fff; border: 1px solid #ececec; transition: transform .35s, border-color .35s; }
.cc-fit-card:hover { transform: translateY(-5px); border-color: #cfe8c4; }
.cc-fit-card:hover .svc-ico { background: var(--green); color: #fff; }
.cc-fit-card h3 { margin-top: var(--s3); font-size: 1rem; color: var(--navy); }
.cc-fit-card p { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.cc-note { margin-top: var(--s4); text-align: center; font-size: .85rem; color: var(--muted); }
/* 7. steps */
.cc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); counter-reset: none; }
.cc-steps li { position: relative; display: flex; gap: var(--s4); padding: var(--s5); border-radius: 20px; background: #f6fbf3; border: 1px solid #e3f0dc; transition: transform .35s, box-shadow .35s; }
.cc-steps li:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -28px rgba(21,21,21,.55); }
.cc-step-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #6cc957; }
.cc-steps h3 { font-size: 1.0625rem; color: var(--navy); }
.cc-steps p { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.cc-steps li:last-child { background: linear-gradient(135deg, #151515, #1c1c1c); border-color: transparent; }
.cc-steps li:last-child h3 { color: #fff; } .cc-steps li:last-child p { color: #e0e0e0; } .cc-steps li:last-child .cc-step-num { -webkit-text-stroke-color: #9be27e; }
/* 8. split */
.cc-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s4); align-items: center; }
.cc-side { padding: var(--s6); border-radius: 24px; height: 100%; }
.cc-side.yours { background: linear-gradient(150deg, #0f0f0f, #151515 60%, #1c1c1c); color: #fff; }
.cc-side.ours { background: #fff; border: 1px solid #cfe8c4; }
.cc-side-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(155,226,126,.16); color: #9be27e; }
.cc-side.ours .cc-side-ico { background: #e3f5db; color: var(--green); }
.cc-side-ico svg { width: 24px; height: 24px; }
.cc-side h3 { margin-top: var(--s3); font-size: 1.3rem; }
.cc-side.yours h3 { color: #fff; } .cc-side.ours h3 { color: var(--navy); }
.cc-side ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); }
.cc-side li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cc-side.ours li { color: var(--navy); }
.cc-side li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(155,226,126,.2); color: #9be27e; }
.cc-side.ours li svg { background: #e3f5db; color: var(--green); }
.cc-split-plus { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 55%, #6cc957); color: #fff; font-size: 1.6rem; font-weight: 800; box-shadow: 0 14px 26px -12px rgba(17,126,57,.7); }
@media (max-width: 1100px) { .cc-fit { grid-template-columns: repeat(3, 1fr); } .cc-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .cc-flow, .cc-support, .cc-models { grid-template-columns: 1fr 1fr; } .cc-flow::before, .cc-flow::after { display: none; }
  .cc-pain, .cc-learn { grid-template-columns: 1fr; } .cc-split { grid-template-columns: 1fr; } .cc-split-plus { margin: 0 auto; }
  .cc-model.featured { transform: none; }
}
@media (max-width: 600px) { .cc-flow, .cc-support, .cc-models, .cc-fit, .cc-steps { grid-template-columns: 1fr; } .cc-cycle-node { font-size: .75rem; padding: 6px 10px; } }

/* A clear start: Quick Support as a styled chat window */
.qs-chat { position: relative; align-self: center; width: 100%; max-width: 380px; justify-self: end; border-radius: 24px; background: #fff;
  box-shadow: 0 40px 70px -40px rgba(21,21,21,.55), 0 0 0 1px #ececec; animation: qsFloat 6s ease-in-out infinite; }
@keyframes qsFloat { 50% { transform: translateY(-6px); } }
.qs-chat::before { content: ''; position: absolute; inset: auto -26px -26px auto; width: 140px; height: 140px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(155,226,126,.45), transparent 70%); }
.qs-chat::after { content: ''; position: absolute; left: -22px; top: 40px; width: 90px; height: 90px; z-index: -1; opacity: .8; background: radial-gradient(circle, #b9dfa8 1.5px, transparent 1.7px) 0 0 / 12px 12px; }
.qs-badge { position: absolute; top: -14px; right: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(95deg, #9be27e, #c3e84a);
  color: #0b3d1e; font-family: var(--font-head); font-weight: 800; font-size: .72rem; box-shadow: 0 10px 20px -10px rgba(21,21,21,.5); }
.qs-badge svg { width: 13px; height: 13px; }
.qs-head { display: flex; align-items: center; gap: var(--s3); padding: 16px 18px; border-radius: 24px 24px 0 0; background: linear-gradient(120deg, #151515, #1c1c1c); color: #fff; }
.qs-head b { display: block; font-family: var(--font-head); font-size: .95rem; }
.qs-head small { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: #9be27e; }
.qs-head small i { width: 7px; height: 7px; border-radius: 50%; background: #6cc957; animation: ccBlink 1.6s ease-in-out infinite; }
.qs-av { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 60%, #6cc957); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.qs-av svg { width: 21px; height: 21px; }
.qs-av i { position: absolute; right: -1px; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #6cc957; border: 2px solid #151515; }
.qs-dots { margin-left: auto; display: inline-flex; gap: 4px; } .qs-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.5); }
.qs-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; background: linear-gradient(180deg, #fbfbfb, #f2faee); }
.qs-msg { max-width: 88%; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid #ececec; color: var(--navy); font-size: .9rem; line-height: 1.45;
  box-shadow: 0 8px 16px -14px rgba(21,21,21,.6); animation: chatIn .5s cubic-bezier(.34,1.56,.64,1) both; animation-delay: var(--d, 0s); }
.qs-msg + .qs-msg { border-radius: 16px; }
.qs-msg small { display: block; margin-bottom: 2px; font-family: var(--font-head); font-weight: 800; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.qs-typing { display: inline-flex; gap: 4px; padding: 10px 14px; border-radius: 16px; background: #fff; border: 1px solid #ececec; animation: chatIn .5s ease both 1.6s; }
.qs-typing i { width: 6px; height: 6px; border-radius: 50%; background: #b3b3b3; animation: typeDot 1.2s ease-in-out infinite; }
.qs-typing i:nth-child(2) { animation-delay: .15s; } .qs-typing i:nth-child(3) { animation-delay: .3s; }
.qs-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; animation: chatIn .5s ease both 2s; }
.qs-replies a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #cfe8c4; font-weight: 600; font-size: .8125rem; color: var(--navy); transition: background .25s, color .25s, transform .25s; }
.qs-replies a svg { width: 15px; height: 15px; color: var(--green); }
.qs-replies a:hover { background: var(--green); color: #fff; transform: translateY(-2px); } .qs-replies a:hover svg { color: #fff; }
.qs-bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-top: 1px solid #f3f3f3; border-radius: 0 0 24px 24px; background: #fff; }
.qs-bar span { flex: 1; padding: 10px 14px; border-radius: 999px; background: #f6f6f6; border: 1px solid #ececec; font-size: .875rem; color: #919191; transition: border-color .25s, color .25s; }
.qs-bar b { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green)); color: #fff; box-shadow: 0 10px 20px -10px rgba(17,126,57,.8); transition: transform .3s; }
.qs-bar b svg { width: 17px; height: 17px; transform: rotate(-30deg); }
.qs-bar:hover span { border-color: #9fd38b; color: var(--green); }
.qs-bar:hover b { transform: scale(1.08) rotate(8deg); }
@media (max-width: 960px) { .qs-chat { justify-self: start; } }

/* Home "A clear start": bring back the Capitol line drawing (as on the Contact page), sitting in the open space top-right of the text */
#start .start-cta { position: relative; }
#start .start-deco { display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(30%, 250px); opacity: .9; z-index: 0; pointer-events: none; }
#start .start-copy { position: relative; z-index: 1; }
@media (max-width: 1100px) { #start .start-deco { display: none; } }
#start .start-deco { top: auto; bottom: 0; transform: none; width: 200px; }
/* Capitol bigger, centred on the right of the text area, sitting softly behind the copy; title kept on one line */
@media (min-width: 1101px) {
  #start .start-deco { top: 50%; bottom: auto; right: -10px; width: 330px; transform: translateY(-50%); opacity: .55; }
  #start .start-title { font-size: clamp(1.8rem, 2.6vw, 2.5rem); white-space: nowrap; }
  #start .start-tags li, #start .start-actions .btn-outline-light { position: relative; z-index: 1; }
}
/* Capitol balance: copy sits top-left, a larger Capitol fills the empty bottom-right, clear of the text */
@media (min-width: 1101px) {
  #start .start-copy { align-self: flex-start; padding-top: 18px; }
  #start .start-deco { top: auto; bottom: 0; right: 0; width: 340px; transform: none; opacity: .9; }
}
@media (min-width: 1101px) { #start .start-deco { width: clamp(250px, calc(100% - 470px), 340px); } }
/* "A clear start": the three steps stacked one per line, joined by a short vertical line */
#start .start-tags { flex-direction: column; align-items: flex-start; gap: 10px; }
#start .start-tags li + li::before { left: 18px; top: -11px; width: 2px; height: 10px; }
/* Capitol moves up into the space beside the stacked steps */
@media (min-width: 1101px) {
  #start .start-deco { top: 88px; bottom: auto; right: 0; width: clamp(260px, calc(100% - 420px), 360px); transform: none; }
}
@media (min-width: 1101px) {
  #start .start-copy { align-self: center; padding-top: 0; }
  #start .start-deco { top: 50%; transform: translateY(-50%); }
}
@media (min-width: 1101px) { #start .start-deco { width: clamp(250px, calc(100% - 450px), 360px); } }

/* ============ Ask TRIO chat popup (same look as the home Quick Support card) ============ */
.tc { position: fixed; right: 24px; bottom: 100px; z-index: 70; width: 370px; max-height: min(620px, calc(100vh - 130px)); display: flex; flex-direction: column;
  border-radius: 24px; background: #fff; box-shadow: 0 40px 80px -30px rgba(21,21,21,.6), 0 0 0 1px #ececec; transform-origin: 92% 100%; animation: tcIn .45s cubic-bezier(.34,1.56,.64,1); }
.tc[hidden] { display: none; }
@keyframes tcIn { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
.tc-badge { right: 64px; }
.tc-head { position: relative; flex: none; padding: 16px 12px 16px 18px; }
.tc-who { flex: 1; min-width: 0; }
.tc-icon { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .25s; }
.tc-icon:hover, .tc-icon[aria-expanded="true"] { background: rgba(255,255,255,.14); }
.tc-icon i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.75); }
.tc-icon svg { width: 15px; height: 15px; }
.tc-icon[hidden] { display: none; }
.tc-pop { position: absolute; right: 14px; top: calc(100% - 6px); z-index: 3; min-width: 190px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -16px rgba(21,21,21,.5), 0 0 0 1px #ececec; animation: chatIn .3s ease both; }
.tc-pop[hidden] { display: none; }
.tc-pop button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--navy); font-weight: 600; font-size: .875rem; text-align: left; cursor: pointer; }
.tc-pop button:hover { background: #eef8e9; color: var(--green); }
.tc-pop svg { width: 16px; height: 16px; color: var(--green); }
.tc-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; gap: 0; padding: 18px 16px; scroll-behavior: smooth; }
.tc-log { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
.tc-msg { max-width: 86%; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid #ececec; color: var(--navy); font-size: .9rem; line-height: 1.45;
  white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 8px 16px -14px rgba(21,21,21,.6); animation: chatIn .45s cubic-bezier(.34,1.56,.64,1) both; }
.tc-msg small { display: block; margin-bottom: 2px; font-family: var(--font-head); font-weight: 800; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.tc-msg time { display: block; margin-top: 3px; font-size: .66rem; color: #919191; }
.tc-msg.agent { border-color: #cfe8c4; box-shadow: inset 3px 0 0 var(--green), 0 8px 16px -14px rgba(21,21,21,.6); }
.tc-msg.visitor { align-self: flex-end; border: 0; border-radius: 16px 4px 16px 16px; background: linear-gradient(135deg, #0b6b2f, var(--green)); color: #fff; }
.tc-msg.visitor time { color: #cdeccd; text-align: right; }
.tc-msg.system { align-self: center; max-width: 92%; padding: 5px 12px; border: 0; border-radius: 999px; background: rgba(21,21,21,.07); box-shadow: none; color: #646464; font-size: .76rem; text-align: center; }
.tc-log .qs-typing { animation: chatIn .3s ease both; }
.tc-opts { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; animation: chatIn .45s ease both .1s; }
.tc-opts a, .tc-opts button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #cfe8c4; font-family: inherit; font-weight: 600; font-size: .8125rem; color: var(--navy); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.tc-opts a:hover, .tc-opts button:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.tc-opts .is-agent { border-color: #151515; background: #151515; color: #fff; }
.tc-opts .is-agent:hover { background: var(--green); border-color: var(--green); }
.tc-start { width: 100%; margin-top: 10px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #dcefd2; box-shadow: 0 16px 30px -24px rgba(21,21,21,.6); animation: chatIn .5s cubic-bezier(.34,1.56,.64,1) both .5s; }
.tc-start[hidden] { display: none; }
.tc-field { display: block; margin-bottom: 10px; }
.tc-field span { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; font-size: .75rem; color: var(--navy); }
.tc-field input { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid #e5e5e5; background: #f9f9f9; font: inherit; font-size: .9rem; color: var(--navy); outline: none; transition: border-color .25s, background .25s, box-shadow .25s; }
.tc-field input:focus { border-color: #8fd07a; background: #fff; box-shadow: 0 0 0 3px rgba(155,226,126,.3); }
.tc-go { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 11px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #0b6b2f, var(--green)); color: #fff; font-family: var(--font-head); font-weight: 700; cursor: pointer; box-shadow: 0 12px 22px -12px rgba(17,126,57,.8); transition: transform .25s; }
.tc-go:hover { transform: translateY(-2px); }
.tc-go:disabled { opacity: .6; cursor: wait; transform: none; }
.tc-go svg { width: 16px; height: 16px; }
.tc-err { margin: 8px 0 0; font-size: .8rem; color: #c0392b; }
.tc-err:empty { display: none; }
.tc-fine { margin: 8px 0 0; font-size: .72rem; color: #919191; text-align: center; }
.tc-fine a { color: var(--green); text-decoration: underline; }
.tc-new { align-self: center; margin-top: 4px; padding: 8px 16px; border: 1px solid #cfe8c4; border-radius: 999px; background: #fff; color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: .8125rem; cursor: pointer; }
.tc-new:hover { background: var(--green); color: #fff; }
.tc-bar { flex: none; }
.tc-bar input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; background: #f6f6f6; border: 1px solid #ececec; font: inherit; font-size: .875rem; color: var(--navy); outline: none; transition: border-color .25s, background .25s; }
.tc-bar input::placeholder { color: #919191; }
.tc-bar input:focus { border-color: #9fd38b; background: #fff; }
.tc-bar input:disabled { cursor: not-allowed; }
.tc-bar button { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green)); color: #fff; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(17,126,57,.8); transition: transform .3s, opacity .3s; }
.tc-bar button svg { width: 17px; height: 17px; transform: rotate(-30deg); }
.tc-bar button:hover:not(:disabled) { transform: scale(1.08) rotate(8deg); }
.tc-bar button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.fab-bot.has-new .fab-dot { background: #ef4444; animation: ccBlink 1s ease-in-out infinite; }
.fab-bot[aria-expanded="true"] .fab-ico svg { animation: none; }
.fab-bubble-go { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--green); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .tc { left: 12px; right: 12px; bottom: 86px; width: auto; max-height: calc(100dvh - 110px); }
  .tc-badge { display: none; }
}
/* Ask TRIO popup: a little shorter */
.tc { max-height: min(530px, calc(100vh - 150px)); }
.tc-head { padding-top: 13px; padding-bottom: 13px; }
.tc-body { padding: 14px 16px; }
.tc-start { padding: 14px; }
.tc-field { margin-bottom: 8px; }
.tc-field input { padding: 9px 14px; }
@media (max-width: 640px) { .tc { max-height: calc(100dvh - 170px); } }
/* Send button: paper plane; on hover it flies off to the top-right and glides back in, with a soft ring pulse */
.tc-send { position: relative; overflow: visible; }
.tc-send-ico { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 50%; }
.qs-bar b.tc-send svg, .tc-bar .tc-send svg { width: 18px; height: 18px; transform: translate(-1px, 1px); }
.tc-send::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(108,201,87,.55); pointer-events: none; }
.tc-bar .tc-send:hover:not(:disabled), .qs-bar:hover b.tc-send { transform: scale(1.08); background: linear-gradient(135deg, #117e39, #3fae4f); }
.tc-bar .tc-send:hover:not(:disabled) svg, .qs-bar:hover b.tc-send svg { animation: planeFly .9s cubic-bezier(.5,0,.3,1) both; }
.tc-bar .tc-send:hover:not(:disabled)::after, .qs-bar:hover b.tc-send::after { animation: sendRing 1.1s ease-out infinite; }
.tc-bar .tc-send:active:not(:disabled) { transform: scale(.94); }
.tc-bar .tc-send.is-sent svg { animation: planeFly .7s cubic-bezier(.5,0,.3,1) both; }
@keyframes planeFly {
  0% { transform: translate(-1px, 1px); opacity: 1; }
  40% { transform: translate(22px, -22px) rotate(-10deg); opacity: 0; }
  41% { transform: translate(-22px, 22px); opacity: 0; }
  100% { transform: translate(-1px, 1px); opacity: 1; }
}
@keyframes sendRing { 0% { box-shadow: 0 0 0 0 rgba(108,201,87,.55); } 100% { box-shadow: 0 0 0 12px rgba(108,201,87,0); } }
.qs-bar .tc-send-ico, .qs-bar:hover .tc-send-ico { flex: none; padding: 0; border: 0; background: none; color: inherit; }

/* Sign up / sign in replies: green when signed in, amber "waiting for approval" with a clock, and the post-sign-up confirmation */
.auth-msg.ok { background: #ecf8ef; border-color: #bfe5c8; color: #166534; }
.auth-msg.wait { position: relative; padding-left: 44px; background: #fff8e6; border-color: #f2dfae; color: #7a5200; }
.auth-msg.wait::before { content: ''; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d9a21b; }
.auth-msg.wait::after { content: ''; position: absolute; left: 22px; top: 17px; width: 2px; height: 7px; background: #d9a21b; transform-origin: 50% 100%; animation: authTick 2s linear infinite; }
@keyframes authTick { to { transform: rotate(360deg); } }
.auth-submit:disabled { opacity: .7; cursor: wait; }
.auth-done { text-align: center; animation: chatIn .5s cubic-bezier(.34,1.56,.64,1) both; }
.auth-done-ico { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 60%, #6cc957); box-shadow: 0 0 0 10px #eaf6e4, 0 20px 40px -18px rgba(17,126,57,.8); }
.auth-done-ico svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: authCheck .6s ease .35s forwards; }
@keyframes authCheck { to { stroke-dashoffset: 0; } }
.auth-done .auth-sub { max-width: 420px; margin-left: auto; margin-right: auto; }
.auth-track { list-style: none; margin: 24px 0; padding: 0; text-align: left; display: grid; gap: 0; }
.auth-track li { position: relative; padding: 0 0 18px 44px; }
.auth-track li::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #f2f2f2; border: 2px solid #e5e5e5; box-sizing: border-box; }
.auth-track li::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: #ececec; }
.auth-track li:last-child::after { display: none; }
.auth-track li.is-done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--green); }
.auth-track li.is-done::after { background: var(--green); }
.auth-track li.is-now::before { background: #fff8e6; border-color: #d9a21b; box-shadow: 0 0 0 0 rgba(217,162,27,.45); animation: authPulse 1.8s ease-out infinite; }
@keyframes authPulse { to { box-shadow: 0 0 0 10px rgba(217,162,27,0); } }
.auth-track b { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; line-height: 28px; }
.auth-track span { display: block; margin-top: -2px; font-size: .85rem; color: var(--muted); }
.auth-track li.is-now b { color: #a16207; }
.auth-done-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.auth-done-acts .btn { flex: 1 1 180px; justify-content: center; }
/* new TRIO logo: the green arrow and bars sit in the top-right of the O */
.p-green { transform-origin: 87% 38%; }

/* Header logo video: fills the navy logo pill; the static logo stays underneath until the video has a frame */
.nav-brand .logo-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.nav-brand.has-video .logo-video { opacity: 1; }
.nav-brand.has-video .nav-logo { visibility: hidden; }
.nav-brand::after { z-index: 2; }
.nav-brand .logo-stack { position: static; }
.nav-brand .logo-video { object-position: 50% 50%; transform: scale(1.25); }

/* CPA banner: the same logo video in a small rounded navy box */
.cpa-logo-vid { position: relative; display: grid; place-items: center; flex: none; width: 150px; height: 58px; border-radius: 16px; overflow: hidden; background: #151515; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 14px 28px -16px rgba(0,0,0,.6); }
.cpa-logo-vid .cpa-logo { height: 40px; width: auto; }
.cpa-logo-vid .logo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.cpa-logo-vid.has-video .logo-video { opacity: 1; }
.cpa-logo-vid.has-video .cpa-logo { visibility: hidden; }
@media (max-width: 640px) { .cpa-logo-vid { width: 124px; height: 48px; } .cpa-logo-vid .cpa-logo { height: 32px; } }
/* Footer: the logo video lives here, in the same rounded navy box */
.footer-brand .footer-logo-vid { width: 170px; height: 66px; }
.footer-brand .footer-logo-vid .cpa-logo { width: auto; height: 46px; }
/* "Clarity at every stage": clean service photos, no corner-crop zoom needed */
.wheel-card .photo img[src*="svc-photo"] { transform: none; transform-origin: 50% 50%; }
.wheel-card:hover .photo img[src*="svc-photo"] { transform: scale(1.06); }
/* Four steps, cards 2 and 4: the photo now fills the whole card; a soft white fade at the bottom keeps the dark text readable */
.step.light .bgimg { inset: 0; height: auto; border-radius: inherit; }
.step.light .bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.88) 62%, #fff 78%); }
.step.light .body { position: relative; z-index: 1; }
/* cards 2 and 4: deep green fade with white text (cards 1 and 3 stay navy), so the photo reads all the way down */
.step.light { border: 0; background: #0b3d1e; }
.step.light .bgimg::after { background: linear-gradient(180deg, rgba(8,48,26,0) 40%, rgba(8,48,26,.93) 72%); }
.step.light h3 { color: #fff; }
.step.light p { color: rgba(255,255,255,.85); }

/* No serial numbers on cards: planning deck rail becomes simple dots; policy lists use dots instead of 1, 2, 3 */
.deck-rail button { width: 18px; height: 18px; padding: 0; border-width: 2px; box-shadow: 0 4px 10px -6px rgba(39,39,39,.5); }
.deck-rail button.is-active { transform: scale(1.35); box-shadow: 0 0 0 5px rgba(17,126,57,.15); }
.deck-rail::before, .deck-rail::after { top: 24px; }
.deck-rail::before { bottom: 24px; }
.deck-rail::after { height: calc((100% - 48px) * var(--fill, 0)); }
.doc-part ol li { padding-left: 26px; }
.doc-part ol li::before { content: ''; width: 9px; height: 9px; top: 8px; left: 4px; background: var(--green); }

/* Contact "Ready for your free tax draft?": same layout as the home "A clear start" (one-line title, stacked steps,
   note, Capitol beside the steps, Quick Support chat), on the contact page's own soft green card */
#draft .start-cta { position: relative; align-items: center; }
#draft .start-copy { position: relative; z-index: 1; max-width: none; }
#draft .start-title { white-space: nowrap; font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
#draft .start-title .start-hl { display: inline; }
#draft .start-tags { flex-direction: column; align-items: flex-start; gap: 10px; }
#draft .start-tags li + li::before { left: 18px; top: -11px; width: 2px; height: 10px; }
#draft .start-actions { margin-top: var(--s5); }
#draft .start-deco { display: block; position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: clamp(220px, calc(100% - 470px), 330px); opacity: .9; z-index: 0; pointer-events: none; }
@media (min-width: 1101px) { #draft .start-note { white-space: nowrap; font-size: .78rem; } }
@media (max-width: 1200px) { #draft .start-title { white-space: normal; } }
@media (max-width: 1100px) { #draft .start-deco { display: none; } }
#draft .start-deco { right: 24px; width: clamp(200px, calc(100% - 520px), 310px); }

/* Services: full-width CPA Connect banner above the cards */
.svc-cpa { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: var(--s5); margin-bottom: var(--s6); padding: 26px 30px; border-radius: 24px; color: #fff;
  background: radial-gradient(420px 220px at 92% 0%, rgba(155,226,126,.28), transparent 70%), radial-gradient(360px 200px at 0% 100%, rgba(36,36,36,.6), transparent 70%), linear-gradient(115deg, #0f0f0f, #151515 55%, #1c1c1c);
  box-shadow: 0 30px 60px -40px rgba(21,21,21,.8); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.svc-cpa::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1.3px) 0 0 / 18px 18px; -webkit-mask: linear-gradient(90deg, transparent 40%, #000); mask: linear-gradient(90deg, transparent 40%, #000); }
.svc-cpa:hover { transform: translateY(-3px); box-shadow: 0 36px 70px -40px rgba(21,21,21,.95); }
.svc-cpa-ico { width: 64px; height: 64px; flex: none; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, #0b6b2f, var(--green) 60%, #6cc957); box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 14px 26px -14px rgba(17,126,57,.9); }
.svc-cpa-ico svg { width: 30px; height: 30px; color: #fff; }
.svc-cpa-copy { flex: 1; min-width: 0; display: grid; gap: 6px; }
.svc-cpa-tag { justify-self: start; padding: 3px 11px; border-radius: 999px; background: rgba(155,226,126,.16); border: 1px solid rgba(155,226,126,.35); color: #b9ef9a; font-family: var(--font-head); font-weight: 800; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.svc-cpa-copy b { font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.svc-cpa-copy em { font-style: normal; background: linear-gradient(95deg, #9be27e, #c3e84a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-cpa-text { color: #dedede; font-size: .95rem; line-height: 1.5; max-width: 640px; }
.svc-cpa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.svc-cpa-chips i { font-style: normal; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .8rem; font-weight: 600; color: #eeeeee; }
.svc-cpa-btn { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; background: linear-gradient(95deg, #9be27e, #c3e84a); color: #0b3d1e; font-family: var(--font-head); font-weight: 800; font-size: .95rem; white-space: nowrap; box-shadow: 0 16px 30px -16px rgba(155,226,126,.9); transition: box-shadow .35s; }
.svc-cpa-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); animation: svcCpaShine 3.6s ease-in-out infinite; }
@keyframes svcCpaShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.svc-cpa-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #151515; color: #fff; transition: transform .45s cubic-bezier(.34,1.56,.64,1), background .3s; }
.svc-cpa-go svg { width: 17px; height: 17px; }
.svc-cpa:hover .svc-cpa-btn { box-shadow: 0 20px 36px -14px rgba(155,226,126,1); }
.svc-cpa:hover .svc-cpa-go { transform: translateX(4px) rotate(-45deg); background: var(--green); }
@media (max-width: 860px) {
  .svc-cpa { flex-direction: column; align-items: flex-start; padding: 22px; gap: var(--s4); }
  .svc-cpa-ico { width: 52px; height: 52px; border-radius: 16px; }
  .svc-cpa-btn { align-self: stretch; justify-content: space-between; }
}

/* Header on scroll: top bar + menu fixed at the top only while scrolling up (trio.js toggles html.hdr-fixed / .hdr-shown) */
.hdr-fixed .topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 66; transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.hdr-fixed .nav { position: fixed; top: var(--tb-h, 0px); left: 0; right: 0; z-index: 65; padding-top: 12px; padding-bottom: 12px; transform: translateY(calc(-100% - var(--tb-h, 0px) - 10px)); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -22px rgba(21,21,21,.5); }
.hdr-fixed.hdr-shown .topbar, .hdr-fixed.hdr-shown .nav { transform: none; }
.hdr-fixed .nav-pill { box-shadow: 0 18px 40px -18px rgba(21,21,21,.55), 0 0 0 1px rgba(21,21,21,.06); }
.has-fixed-nav { position: relative; z-index: 70; }   /* the hero holds the menu; lift it above the page while the menu is fixed */
.hdr-fixed .topbar { z-index: 80; }

/* =========================================================
   Main menu v2: transparent over the hero, white on hover / while a menu is open / when fixed on scroll.
   Company opens a full-width mega menu (moved to <body> by trio.js); Join us drops the two login buttons.
   ========================================================= */
.nav.nav-v2, .page-hero > .nav.nav-v2 { padding: 0; background: transparent; border: 0; box-shadow: none; z-index: 40; }
.hdr-fixed .nav.nav-v2 { padding: 0; }
.nav-v2 .nv-bar { position: relative; z-index: 2; background: rgba(255,255,255,0); transition: background-color .3s ease, box-shadow .3s ease; }
.nav-v2 .nv-bar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: transparent; transition: background-color .3s ease; pointer-events: none; }   /* no line over the hero; a soft one on the white bar */
.nav-v2 .nv-inner { position: relative; min-height: 84px; gap: var(--s6); }
.nav-v2.is-solid .nv-bar, .nav-v2 .nv-bar:hover, .hdr-fixed .nav-v2 .nv-bar { background: #fff; box-shadow: 0 12px 30px -24px rgba(21,21,21,.5); }
.nav-v2.is-solid .nv-bar::after, .nav-v2 .nv-bar:hover::after, .hdr-fixed .nav-v2 .nv-bar::after { background: #eeeeee; }

/* logo: white letters over the hero, navy on the white bar; the green arrow and bars stay green */
.nv-brand { display: flex; align-items: center; flex: none; }
.nv-logo { position: relative; display: block; width: 118px; aspect-ratio: 700 / 284; color: #fff; transition: color .3s ease; }
.nv-logo-letters { position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url(../img/logo-trio-v2-letters.png?v=2) center / contain no-repeat; mask: url(../img/logo-trio-v2-letters.png?v=2) center / contain no-repeat; }
.nv-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.nav-v2.is-solid .nv-logo, .nav-v2 .nv-bar:hover .nv-logo, .hdr-fixed .nav-v2 .nv-logo { color: #151515; }

.nv-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nv-links a, .nv-trigger { display: inline-flex; align-items: center; padding: 30px 0; font-family: var(--font-body); font-weight: 600; font-size: .9375rem; line-height: 1.2; color: #fff; background: none; border: 0; cursor: pointer; transition: color .25s ease; }
.nv-links a:hover, .nv-trigger:hover { color: #9be27e; }
.nav-v2.is-solid .nv-links a, .nav-v2.is-solid .nv-trigger, .nav-v2 .nv-bar:hover .nv-links a, .nav-v2 .nv-bar:hover .nv-trigger, .hdr-fixed .nav-v2 .nv-links a, .hdr-fixed .nav-v2 .nv-trigger { color: var(--navy); }
.nav-v2 .nv-bar .nv-links a:hover, .nav-v2 .nv-bar .nv-trigger:hover { color: var(--green); }
.nav-v2 .nv-trigger[aria-expanded="true"] { color: #898989 !important; }
.nav-v2 .nv-links [aria-current="page"] { color: #9be27e; }
.nav-v2.is-solid .nv-links [aria-current="page"], .nav-v2 .nv-bar:hover .nv-links [aria-current="page"], .hdr-fixed .nav-v2 .nv-links [aria-current="page"] { color: var(--green); }

/* Join us: the two login buttons drop down one after the other */
.nv-ctas { display: flex; align-items: center; gap: var(--s3); flex: none; }
.nv-join { position: relative; }
.nv-join-btn svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nv-join-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
.nv-join-pop { position: absolute; right: 0; top: calc(100% + 12px); z-index: 5; display: grid; gap: 10px; width: 220px; padding: 12px; background: #fff; border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(21,21,21,.45), 0 0 0 1px rgba(21,21,21,.06);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
.nv-join.is-open .nv-join-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nv-join-pop .btn { width: 100%; opacity: 0; translate: 0 -10px;
  transition: opacity .3s ease, translate .45s cubic-bezier(.2,.8,.2,1), transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, color .35s ease, border-color .35s ease; }
.nv-join.is-open .nv-join-pop .btn { opacity: 1; translate: 0 0; transition-delay: .06s, .06s, 0s, 0s, 0s, 0s; }
.nv-join.is-open .nv-join-pop .btn + .btn { transition-delay: .14s, .14s, 0s, 0s, 0s, 0s; }
.nv-join-pop .btn-white { border-color: #e2e2e2; box-shadow: none; }
/* Client Login: logo-navy button with white text, same sweep and shine as the other buttons */
.btn-blue { --sweep: #242424; background: #151515; color: #fff; box-shadow: 0 12px 24px -12px rgba(21,21,21,.8); }   /* logo navy */
.btn-blue:hover { color: #fff; }

/* Company mega menu */
/* the outer box only clips (room left below for the shadow); the panel slides down inside it */
.nv-mega { position: fixed; left: 0; right: 0; top: var(--mega-top, 120px); z-index: 64; overflow: hidden; padding-bottom: 70px; pointer-events: none;
  visibility: hidden; transition: visibility 0s linear .45s; }
.nv-mega.is-open { visibility: visible; transition-delay: 0s; }
.nv-mega-panel { background: #fff; color: var(--navy); border-top: 1px solid #eeeeee; box-shadow: 0 40px 70px -40px rgba(21,21,21,.55);
  transform: translateY(-101%); transition: transform .45s cubic-bezier(.65,0,.35,1); }
.nv-mega.is-open .nv-mega-panel { transform: none; pointer-events: auto; }
.nv-mega .nv-mega-grid { display: grid; grid-template-columns: 1fr 1.15fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: 36px; padding-bottom: 42px; }
.nv-mega .nv-mega-grid > * { opacity: 0; translate: 0 14px; transition: opacity .35s ease, translate .5s cubic-bezier(.2,.8,.2,1); }
.nv-mega.is-open .nv-mega-grid > * { opacity: 1; translate: 0 0; }
.nv-mega.is-open .nv-mega-grid > :nth-child(1) { transition-delay: .12s; }
.nv-mega.is-open .nv-mega-grid > :nth-child(2) { transition-delay: .18s; }
.nv-mega.is-open .nv-mega-grid > :nth-child(3) { transition-delay: .24s; }
.nv-mega-title { margin: 0 0 14px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.nv-mega-intro p { margin: 0; max-width: 430px; font-size: .9375rem; line-height: 1.6; color: #545454; }
.nv-mega-intro .btn { margin-top: 26px; }
.nv-mega-intro .btn svg { width: 16px; height: 16px; }
.nv-mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nv-mega-links a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0; font-family: var(--font-body); font-weight: 500; font-size: 1.25rem; line-height: 1.25; color: var(--navy); transition: color .25s ease; }
.nv-mega-links a svg { width: 18px; height: 18px; opacity: 0; transform: translateX(-8px); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.nv-mega-links a:hover, .nv-mega-links a:focus-visible { color: var(--green); }
.nv-mega-links a:hover svg, .nv-mega-links a:focus-visible svg { opacity: 1; transform: none; }
.nv-mega-media img { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 14px; }

/* phones and tablets: the hamburger menu takes over */
@media (max-width: 960px) {
  .nav-v2 .nv-links, .nav-v2 .nv-join, .nv-mega { display: none; }
  .nav-v2 .nv-inner { min-height: 70px; }
  .nv-logo { width: 100px; }
  .mobile-menu .mm-label { display: block; padding: var(--s4) var(--s2) var(--s1); font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
  .mobile-menu a.mm-sub { padding-left: var(--s5); }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .nv-mega, html:not(.force-motion) .nv-mega-panel, html:not(.force-motion) .nv-mega .nv-mega-grid > *, html:not(.force-motion) .nv-join-pop, html:not(.force-motion) .nv-join-pop .btn { transition: none; }
}

/* About: Global capacity (navy band between core values and why TRIO) */
.ab-global { color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(17,126,57,.35) 0%, rgba(17,126,57,0) 60%), linear-gradient(150deg, #0f0f0f 0%, #151515 60%, #1c1c1c 100%); overflow: hidden; }
.ab-global-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ab-global-head h2 { margin-top: var(--s3); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; }
.ab-global-hl { color: #9be27e; }
.ab-global-head .lead { margin-top: var(--s4); max-width: 600px; color: #e0e0e0; }
.ab-global-btns { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.ab-global-btns .btn svg { width: 16px; height: 16px; }
.ab-global-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s7); }
.ab-global-stat { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s ease, transform .3s ease; }
.ab-global-stat:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.ab-global-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(155,226,126,.14); color: #9be27e; }
.ab-global-ico svg { width: 22px; height: 22px; }
.ab-global-stat h3 { font-size: 1rem; color: #fff; }
.ab-global-stat p { margin-top: 4px; font-size: .875rem; line-height: 1.55; color: #cecece; }
.ab-global-offices { display: grid; gap: var(--s5); }
.ab-office { position: relative; padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: #fff; color: var(--navy); box-shadow: 0 30px 60px -36px rgba(0,0,0,.7); transition: transform .3s ease; }
.ab-office:hover { transform: translateY(-5px); }
.ab-office-pin { position: absolute; right: 24px; top: 24px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #e3f5db; color: var(--green); }
.ab-office-pin svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-office-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #f4f4f4; font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: #151515; }
.ab-office h3 { margin-top: var(--s3); font-size: 1.375rem; color: var(--navy); }
.ab-office p { margin-top: var(--s2); color: var(--muted); line-height: 1.6; }
.ab-office a { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s3); font-family: var(--font-head); font-weight: 700; color: var(--green); }
.ab-office a svg { width: 16px; height: 16px; }
.ab-office a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .ab-global-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ab-global-stats { grid-template-columns: 1fr; }
}

/* Reveal footer: the footer box scrolls in as usual, while trio.js moves .footer-pin so its content stays fixed to the
   bottom of the screen; the section above seems to slide up off the footer, and back over it when scrolling up */
.footer { padding: 0; }
.footer-pin { padding: var(--s7) 0 var(--s5); background: inherit; will-change: transform; }
/* where supported, the browser moves .footer-pin itself in step with the scroll (no lag, no shake);
   trio.js only adds .is-reveal when the footer fits the screen, and moves it by script in older browsers */
@supports (animation-timeline: view()) {
  .footer { view-timeline-name: --trio-foot; view-timeline-axis: block; }
  .footer.is-reveal .footer-pin { animation: footPin linear both; animation-timeline: --trio-foot; animation-range: entry 0% entry 100%; }
}
@keyframes footPin { from { transform: translateY(-100%); } to { transform: none; } }
.footer.is-reveal::after { content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 46px; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,6,6,.45) 0%, rgba(6,6,6,0) 100%); }

/* Countries: six-column grid so a short last row sits in the middle (cards span two columns) */
@media (min-width: 961px) {
  .country-grid { grid-template-columns: repeat(6, 1fr); }
  .country-grid > .country-card { grid-column: span 2; }
  .country-grid > .country-card:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .country-grid > .country-card:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}

/* Page labels over sub-page titles ("Countries we serve" …): TRIO's rising arrow, the label and a fading rule,
   revealed left to right once as the page opens. No pill, no blinking dot. */
.page-hero-eyebrow { gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; font-size: .75rem; letter-spacing: .16em; color: #9be27e;
  animation: ebReveal .9s cubic-bezier(.2,.8,.2,1) .15s both; }
.page-hero-eyebrow i { width: 22px; height: 14px; border-radius: 0; box-shadow: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12l6-6 4 3 9-7M15 2h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12l6-6 4 3 9-7M15 2h5v5'/%3E%3C/svg%3E") center / contain no-repeat; }
.page-hero-eyebrow::after { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, rgba(155,226,126,.75), rgba(155,226,126,0)); }
@keyframes ebReveal { from { clip-path: inset(0 100% 0 0); transform: translateX(-8px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .page-hero-eyebrow { animation: none; } }

/* Status chips: a static icon instead of a blinking dot (tick = available now, clock = coming soon) */
.cc-status i, .hero-card .st i { width: 13px; height: 13px; border-radius: 0; box-shadow: none; animation: none; background: currentColor;
  --st-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.6'/%3E%3Cpath d='M8 4.6V8l2.4 1.5'/%3E%3C/svg%3E");
  -webkit-mask: var(--st-ico) center / contain no-repeat; mask: var(--st-ico) center / contain no-repeat; }
.cc-status.live i, .hero-card .st.live i {
  --st-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 8.6l3.3 3.2 7.1-7.4'/%3E%3C/svg%3E"); }
/* "TRIO team online" style indicators: a steady dot with a soft ring, no blinking */
.cpa-chat-title small i, .qs-head small i { animation: none; box-shadow: 0 0 0 3px rgba(108,201,87,.22); }

/* Black theme (Nov 2026): navy/blue shades were turned into black and greys; greens kept.
   The navy version is saved in private_backups/trio-navy-theme-20261106. */
/* the footer logo video has a navy background baked in, so the still logo shows on black instead */
.footer-logo-vid .logo-video { display: none !important; }
.footer-logo-vid .cpa-logo { visibility: visible !important; }
/* Clarity cards: the new photos (assets/img/v3) are clean, so no crop zoom; a light zoom on hover */
.wheel-card .photo img[src*="/v3/"] { transform: none; object-position: 50% 30%; }
.wheel-card:hover .photo img[src*="/v3/"] { transform: scale(1.05); }

/* Company mega menu: the TRIO logo at a medium size instead of a full-width photo */
.nv-mega-media.is-logo { display: flex; justify-content: center; }
.nv-mega-media.is-logo img { width: 240px; height: auto; aspect-ratio: 452 / 440; object-fit: contain; border-radius: 18px; }
/* Refer & Earn page: tick lists inside the two cards */
.refer-list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: 10px; }
.refer-list li { position: relative; padding-left: 28px; color: var(--muted); line-height: 1.55; }
.refer-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e3f5db; }
.refer-list li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ab-mv-card.navy .refer-list li { color: #d7d7d7; }
.ab-mv-card.navy .refer-list li::before { background: rgba(155,226,126,.16); }
.ab-mv-card.navy .refer-list li::after { border-color: #9be27e; }
/* Data Security card: no dash before "Built around your privacy", and a larger title */
.security-copy .eyebrow::before { display: none; }
.security-copy h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; }
/* feature boxes: "Learn more" sizes to its text, so its hover underline sits under the words only, not across the whole box */
.fp-pane .link-arrow { align-self: flex-start; }
/* Side by side: the feature box keeps one fixed height whichever item is open, so the Data Security card beside it
   never grows or shrinks when you move between items */
@media (min-width: 1101px) {
  .adv-grid .feature-panel { height: 400px; overflow: hidden; }
}
/* Clarity section: heading and line sit a little higher */
.approach .section-head { position: relative; z-index: 2; margin-top: -28px; }
/* the word wall fades out towards the top, so nothing sits behind the heading and line */
.approach .word-wall { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 60px, rgba(0,0,0,.3) 120px, rgba(0,0,0,.6) 190px, #000 260px); mask-image: linear-gradient(to bottom, transparent 0, transparent 60px, rgba(0,0,0,.3) 120px, rgba(0,0,0,.6) 190px, #000 260px); }
.approach .section-head .lead { color: #3a3a3a; font-weight: 500; }
.approach .section-head { max-width: 900px; }
/* CPA section: logo on its own, no box behind it */
.cpa-brand .cpa-logo-vid { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.cpa-brand .cpa-logo-vid .cpa-logo { height: 46px; }
/* Footer logo: no box, sits straight on the footer background, a little bigger; social icons below it */
.footer-brand .footer-logo-vid { width: auto; height: auto; background: none !important; box-shadow: none; border-radius: 0; overflow: visible; display: block; }
.footer-brand .footer-logo-vid .cpa-logo { width: 170px; height: auto; }
.footer-brand .socials { margin-top: var(--s5); }

/* News: blog-style cards (the first one is wider) */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #ececec; box-shadow: 0 20px 40px -34px rgba(0,0,0,.45); transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -34px rgba(0,0,0,.55); }
.news-card.is-lead { grid-column: span 2; flex-direction: row; }
.news-photo { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.news-card.is-lead .news-photo { flex: 0 0 55%; aspect-ratio: auto; }
.news-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-photo img { transform: scale(1.05); }
.news-body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); flex: 1; }
.news-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #e3f5db; color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.news-title { font-size: 1.1875rem; line-height: 1.3; }
.news-card.is-lead .news-title { font-size: 1.5rem; }
.news-title a { color: var(--navy); }
.news-title a:hover { color: var(--green); }
.news-body p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.news-body .link-arrow { margin-top: auto; align-self: flex-start; padding-top: var(--s2); }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } .news-card.is-lead { grid-column: 1 / -1; } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } .news-card.is-lead { flex-direction: column; } .news-card.is-lead .news-photo { aspect-ratio: 16 / 10; } }

/* Careers: photo + why points, team cards, and a dark "how to apply" panel with three steps */
.cr-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cr-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 70px -44px rgba(0,0,0,.6); }
.cr-photo img { width: 100%; height: 100%; object-fit: cover; }
.cr-photo-tag { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8125rem; color: var(--navy); box-shadow: 0 14px 30px -16px rgba(0,0,0,.5); }
.cr-photo-tag svg { width: 18px; height: 18px; color: var(--green); }
.cr-why h2 { margin-top: var(--s3); font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.cr-points { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s5); }
.cr-points li { display: flex; gap: var(--s4); align-items: flex-start; }
.cr-points h3 { font-size: 1.0625rem; color: var(--navy); }
.cr-points p { margin-top: 4px; color: var(--muted); line-height: 1.6; }
.cr-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #e3f5db; color: var(--green); }
.cr-ico svg { width: 22px; height: 22px; }
.cr-teams { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.cr-team { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); border-radius: 22px; background: #fff; border: 1px solid #ececec; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.cr-team:hover { transform: translateY(-5px); border-color: #cfe8c4; box-shadow: 0 30px 50px -36px rgba(0,0,0,.5); }
.cr-team h3 { margin-top: var(--s2); font-size: 1.0625rem; color: var(--navy); }
.cr-team p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.cr-status { margin-top: auto; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #fff4d6; color: #a06a00; font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.cr-apply { padding: clamp(28px, 4vw, 52px); border-radius: 28px; color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(17,126,57,.35) 0%, rgba(17,126,57,0) 60%), linear-gradient(150deg, #0d0d0d 0%, #1a1a1a 60%, #232323 100%); }
.cr-apply-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
.cr-apply-head h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cr-steps { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); counter-reset: none; }
.cr-steps li { padding: var(--s5); border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.cr-step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #9be27e; color: #0d0d0d; font-family: var(--font-head); font-weight: 800; }
.cr-steps h3 { margin-top: var(--s3); color: #fff; font-size: 1.0625rem; }
.cr-steps p { margin-top: 4px; color: #cfcfcf; font-size: .9375rem; line-height: 1.6; }
@media (max-width: 1100px) { .cr-teams { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .cr-why { grid-template-columns: 1fr; } .cr-steps { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cr-teams { grid-template-columns: 1fr; } }

/* Footer: Client Access column removed; a wider logo column, then Explore, Services, Resources and Contact */
@media (min-width: 1101px) { .footer-grid { grid-template-columns: 1.7fr .9fr 1.15fr 1.1fr 1fr; } }
.footer-brand .footer-logo-vid { display: flex !important; justify-content: flex-start; } .footer-brand .footer-logo-vid .cpa-logo { margin: 0; }
.cr-apply-head h2 .start-hl { display: inline; color: #9be27e; }
/* Client font: big headings (display and section headings) in Fraunces, regular weight */
h1, h2 { font-family: var(--font-serif) !important; font-weight: 400 !important; letter-spacing: -0.01em; }
.news-title, .nv-mega-title { font-family: var(--font-head) !important; font-weight: 600 !important; }
/* Darker paragraph text for easier reading */
:root { --muted: #111; }
.lead { color: #111; }
/* Green announcement bar above the menu */
.promo-bar { background: linear-gradient(90deg, #0a4f22 0%, #117e39 50%, #0a4f22 100%) !important; border: 0; color: #fff; }
.promo-bar::after { display: none; }
.promo-bar .wrap { justify-content: center; min-height: 38px; }
.promo-bar p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-align: center; }

/* Footer "Let's talk …" keeps its original bold sans font */
.footer-talk h2 { font-family: var(--font-head) !important; font-weight: 800 !important; letter-spacing: -.04em; }

/* Footer: one LinkedIn pill button under the logo */
.li-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; margin-top: var(--s5); padding: 8px 18px 8px 8px; border-radius: 999px;
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%); color: #fff; box-shadow: 0 14px 30px -14px rgba(10,102,194,.8), inset 0 0 0 1px rgba(255,255,255,.14); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.li-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: -1; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0)); transform: skewX(-18deg); }
.li-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(10,102,194,.9), inset 0 0 0 1px rgba(255,255,255,.22); }
.li-btn:hover::after { animation: btnShine .75s ease-out; }
.li-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0A66C2; }
.li-ico svg { width: 18px; height: 18px; }
.li-txt { display: flex; flex-direction: column; line-height: 1.15; }
.li-txt small { font-size: .6875rem; color: #cfe2f7; letter-spacing: .04em; }
.li-txt b { font-family: var(--font-head); font-size: .9375rem; }
.li-go { width: 16px; height: 16px; margin-left: 4px; transition: transform .3s ease; }
.li-btn:hover .li-go { transform: translate(2px, -2px); }

/* ===== Phone & tablet polish ===== */
@media (max-width: 960px) {
  /* Tax Planning: more room above the card stack so the cards behind never cover the heading */
  .deck-row { padding-top: 72px; }
}
@media (max-width: 640px) {
  /* stats: a compact 2 × 2 grid instead of four tall rows */
  .stats { grid-template-columns: 1fr 1fr; gap: 4px; padding: var(--s2); }
  .stat + .stat::before { display: none; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: var(--s3); }
  .stat-num { font-size: 2rem; min-width: 0; }
  .stat-label { font-size: .9375rem; }
  .stat p, .stat small, .stat .stat-text { font-size: .8125rem; line-height: 1.45; }
  /* Four Steps: shorter photo cards so the section isn't one long scroll */
  .step { min-height: 250px; }
  .steps { gap: var(--s3); }
  /* footer: keep the last links clear of the floating call / chat buttons */
  .footer-pin { padding-bottom: 96px; }
}
/* Footer social buttons: same pill as LinkedIn, each in its own brand colour */
.sm-list { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: var(--s5); }
.sm-list .li-btn { margin-top: 0; min-width: 196px; }
.li-btn.sm-fb { background: linear-gradient(135deg, #1877F2 0%, #0b5ed7 100%); box-shadow: 0 14px 30px -14px rgba(24,119,242,.8), inset 0 0 0 1px rgba(255,255,255,.14); }
.li-btn.sm-fb .li-ico { color: #1877F2; }
.li-btn.sm-ig { background: radial-gradient(circle at 20% 110%, #fdf497 0%, #fd5949 40%, #d6249f 65%, #285AEB 100%); box-shadow: 0 14px 30px -14px rgba(214,36,159,.8), inset 0 0 0 1px rgba(255,255,255,.14); }
.li-btn.sm-ig .li-ico { color: #d6249f; }
.li-btn.sm-fb .li-txt small, .li-btn.sm-ig .li-txt small { color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .sm-list { flex-direction: row; flex-wrap: wrap; } .sm-list .li-btn { min-width: 0; } }
.li-btn.sm-yt { background: linear-gradient(135deg, #FF0000 0%, #c40000 100%); box-shadow: 0 14px 30px -14px rgba(255,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.14); } .li-btn.sm-yt .li-ico { color: #FF0000; } .li-btn.sm-yt .li-txt small { color: rgba(255,255,255,.85); }
/* Footer social icons: bigger, with a ring, a shine sweep and a lift + slight turn on hover */
.footer-brand .socials { gap: 14px; }
.footer-brand .socials a { position: relative; isolation: isolate; overflow: hidden; width: 50px; height: 50px;
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.7), 0 0 0 2px rgba(255,255,255,.12);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, filter .3s ease; }
.footer-brand .socials a svg { width: 23px; height: 23px; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.footer-brand .socials a.s-yt svg { width: 25px; height: 25px; }
.footer-brand .socials a::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0)); transform: skewX(-18deg); }
.footer-brand .socials a:hover, .footer-brand .socials a:focus-visible { transform: translateY(-5px) scale(1.08) rotate(-6deg);
  box-shadow: 0 16px 28px -10px rgba(0,0,0,.8), 0 0 0 3px rgba(155,226,126,.55); filter: brightness(1.08); }
.footer-brand .socials a:hover svg, .footer-brand .socials a:focus-visible svg { transform: scale(1.12) rotate(6deg); }
.footer-brand .socials a:hover::after { animation: socialShine .7s ease-out; }
@keyframes socialShine { to { left: 130%; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .footer-brand .socials a, html:not(.force-motion) .footer-brand .socials a svg { transition: none; } html:not(.force-motion) .footer-brand .socials a:hover::after { animation: none; } }
/* Footer logo as wide as the row of social icons (4 × 50px + 3 × 14px gaps) */
.footer-brand .footer-logo-vid .cpa-logo { width: 242px; }
/* SEO: decorative repeated words (word wall, the loop copies of the 50 states) are drawn from data-w by CSS,
   so search engines read each keyword once while the scrolling look stays the same */
.word-wall b[data-w]::before, .states-row .state span[data-w]::before { content: attr(data-w); }
/* FAQ list at the bottom of service pages */
.faq-block { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }

/* ===== Topic (pillar) pages, e.g. /itin-application-form-w7-service/ ===== */
.pl-review { background: #fff; border-bottom: 1px solid #ececec; }
.pl-review-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 52px; font-size: .875rem; color: #3a3a3a; }
.pl-review-in b { color: #111; }
.pl-review-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e3f5db; color: var(--green); }
.pl-review-ico svg { width: 15px; height: 15px; }
.pl-dot { width: 4px; height: 4px; border-radius: 50%; background: #bdbdbd; }
.pl-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pl-intro h2, .pl-split h2 { margin-top: var(--s3); }
.pl-intro .lead, .pl-split .lead { margin-top: var(--s4); }
.pl-intro p:not(.lead) { margin-top: var(--s4); line-height: 1.75; }
.pl-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-facts li { display: grid; gap: 4px; padding: var(--s5); border-radius: 20px; background: linear-gradient(150deg, #0d0d0d, #1c1c1c); color: #e8e8e8; }
.pl-facts b { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1.1; color: #9be27e; }
.pl-facts span { font-size: .9375rem; line-height: 1.55; }
.pl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.pl-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pl-note { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s5); padding: var(--s4); border-radius: 16px; background: #eef9e9; border: 1px solid #cfe8c4; }
.pl-note svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
.pl-note p { margin: 0; line-height: 1.6; }
.pl-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-docs li { display: flex; gap: 14px; padding: var(--s4) var(--s5); border-radius: 18px; background: #fff; border: 1px solid #ececec; box-shadow: 0 16px 32px -30px rgba(0,0,0,.5); }
.pl-docs h3 { font-size: 1.0625rem; }
.pl-docs p { margin-top: 4px; line-height: 1.6; }
.pl-check { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; }
.pl-check svg { width: 16px; height: 16px; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); counter-reset: none; }
.pl-steps li { padding: var(--s5); border-radius: 20px; background: #fff; border: 1px solid #ececec; }
.pl-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #111; color: #9be27e; font-family: var(--font-head); font-weight: 800; }
.pl-steps h3 { margin-top: var(--s3); font-size: 1.0625rem; }
.pl-steps p { margin-top: 6px; line-height: 1.6; font-size: .9375rem; }
.pl-related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: var(--s6); font-weight: 600; }
.pl-related a { padding: 8px 16px; border-radius: 999px; border: 1px solid #dcdcdc; color: #111; font-size: .875rem; transition: border-color .2s, color .2s; }
.pl-related a:hover { border-color: var(--green); color: var(--green); }
.pl-areas { justify-content: center; margin-bottom: 0; }
.pl-area { padding: 8px 16px; border-radius: 999px; border: 1px solid #dcdcdc; background: #fff; color: #111; font-size: .875rem; }
@media (max-width: 1100px) { .pl-grid, .pl-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .pl-intro, .pl-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pl-grid, .pl-steps { grid-template-columns: 1fr; } }

/* ---- Benefits floating button (bottom left, above Call): gold, label always showing; leads to Refer & Earn ---- */
.fab-benefits { --ring: #f5c451; color: #1a1300; background: linear-gradient(135deg, #f7d774, #f0b429 55%, #e09a12); }
.fab-benefits::before { animation-delay: .45s; }
.fab-benefits .fab-ico svg { animation: fabGift 3.6s ease-in-out infinite; }
@keyframes fabGift { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-12deg) scale(1.08); } 90% { transform: rotate(10deg) scale(1.08); } 95% { transform: rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .fab-benefits .fab-ico svg { animation: none; } }

/* ---- Black Friday Tax Sale advertisement (partials/bf-promo.php) ---- */
.bf-section { padding: var(--s7) 0; background: #fff; }
.bf-banner { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s6); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: #0b0b0b; color: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.bf-banner::before { content: ''; position: absolute; inset: auto -10% -60% 40%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(17,126,57,.55), rgba(17,126,57,0)); }
.bf-banner::after { content: ''; position: absolute; inset: -40% 55% auto -15%; height: 90%; z-index: -1;
  background: radial-gradient(closest-side, rgba(240,180,41,.18), rgba(240,180,41,0)); }
.bf-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #f0b429; color: #1a1300;
  font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.bf-badge svg { width: 16px; height: 16px; }
.bf-copy h2 { margin: var(--s4) 0 var(--s3); color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.15; }
.bf-hl { background: linear-gradient(90deg, #9be27e, #4fb35a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-copy p { margin: 0; max-width: 34em; color: rgba(255,255,255,.78); }
.bf-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s5); }
.bf-art { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-family: var(--font-head); font-weight: 800; line-height: .9; letter-spacing: -0.03em; }
.bf-word { font-size: clamp(3rem, 7.5vw, 6.5rem); color: #fff; }
.bf-word-2 { color: transparent; -webkit-text-stroke: 2px #9be27e; }
.bf-soon { margin-top: var(--s4); padding: 8px 16px; border: 1px dashed rgba(255,255,255,.45); border-radius: 999px; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f5c451; line-height: 1; }
@media (max-width: 860px) {
  .bf-banner { grid-template-columns: 1fr; }
  .bf-art { order: -1; align-items: flex-start; text-align: left; }
}

/* ---- Home: Refer & Earn with three cards (free tax draft, referral benefits, Ask TRIO chat) ---- */
.refer-grid-3 { grid-template-columns: 1fr 1fr minmax(300px, .95fr); }
.refer-grid-3 .refer-chat { align-self: stretch; justify-self: stretch; max-width: none; display: flex; flex-direction: column; }
.refer-grid-3 .refer-chat .qs-body { flex: 1; }
.refer-grid-3 .refer-chat::after { display: none; }
@media (max-width: 1100px) {
  .refer-grid-3 { grid-template-columns: 1fr 1fr; }
  .refer-grid-3 .refer-chat { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
}
@media (max-width: 900px) { .refer-grid-3 { grid-template-columns: 1fr; } .refer-grid-3 .refer-chat { grid-column: auto; } }

/* ---- Home: Referral Benefits card, premium version (gift header, connected reward path green → gold) ---- */
.refer-card.earn2 { isolation: isolate; border-color: rgba(249,201,50,.28);
  background: radial-gradient(120% 80% at 100% 0%, rgba(249,201,50,.16) 0%, rgba(249,201,50,0) 55%), linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); }
.refer-card.earn2::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(254,220,65,.7), transparent) top / 70% 1px no-repeat; }
.earn2-rings { position: absolute; top: -70px; right: -70px; width: 220px; height: 220px; z-index: -1; pointer-events: none; }
.earn2-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(249,201,50,.22); }
.earn2-rings i:nth-child(2) { inset: 30px; border-color: rgba(249,201,50,.16); }
.earn2-rings i:nth-child(3) { inset: 60px; border-color: rgba(249,201,50,.10); animation: earnPulse 4s ease-in-out infinite; }
@keyframes earnPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .4; } }
.earn2-head { display: flex; align-items: center; gap: 14px; }
.earn2 .refer-gift { box-shadow: 0 0 0 6px rgba(249,201,50,.12), 0 14px 30px -10px rgba(249,201,50,.7); }
.earn2-kicker { display: block; font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f9c932; }
.refer-card.earn2 h3 { margin-top: 2px; }
.refer-card.earn2 .earn2-sub { margin-top: var(--s3); font-size: .9375rem; line-height: 1.55; color: rgba(255,255,255,.75); }
.earn2-path { position: relative; list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.earn2-path::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #6cc957, #c3e84a 55%, #f9c932); opacity: .7; }
.earn2-path li { position: relative; display: flex; align-items: center; gap: 14px; }
.earn2-dot { position: relative; z-index: 1; width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: #1b1b1b; border: 2px solid #6cc957; color: #9be27e; }
.earn2-dot svg { width: 16px; height: 16px; }
.earn2-path li:nth-child(2) .earn2-dot { border-color: #c3e84a; color: #d4ee6a; }
.earn2-path li.is-reward .earn2-dot { border: 0; background: linear-gradient(135deg, #f9c932, #fedc41); color: #3a2a00; box-shadow: 0 0 0 5px rgba(249,201,50,.16), 0 10px 22px -8px rgba(249,201,50,.8); }
.earn2-path b { display: block; font-family: var(--font-head); font-size: .9375rem; color: #fff; }
.earn2-path small { display: block; margin: 2px 0 0; font-size: .8125rem; line-height: 1.4; color: rgba(255,255,255,.62); }
.earn2-path li.is-reward b { color: #fedc41; }
@media (prefers-reduced-motion: reduce) { .earn2-rings i { animation: none !important; } }

/* ---- Home: Free Tax Draft card — steps one per line (joined by a line), Capitol line art at the bottom ---- */
.refer-card.draft .refer-steps { position: relative; display: grid; gap: 8px; width: 100%; margin-top: var(--s4); }
.refer-card.draft .refer-steps::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #117e39, #9be27e); opacity: .35; }
.refer-card.draft .refer-steps li { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .9375rem; font-weight: 600; }
.refer-card.draft .refer-steps li span { position: relative; z-index: 1; width: 24px; height: 24px; flex: none; }
.refer-card.draft .btn { align-self: flex-start; }
.draft-deco { display: block; width: 100%; max-width: 180px; height: auto; margin: auto auto -14px; padding-top: 6px; pointer-events: none; opacity: .95; }
@media (max-width: 900px) { .draft-deco { max-width: 240px; } }
/* Capitol beside the button and footnote (bottom right) instead of below them, so the card stays short */
.refer-card.draft .draft-deco { position: absolute; right: 10px; bottom: 12px; width: 42%; max-width: 165px; margin: 0; padding: 0; z-index: 0; }
.refer-card.draft > :not(.draft-deco):not(.refer-badge) { position: relative; z-index: 1; }
.refer-card.draft small { max-width: 56%; }
@media (max-width: 900px) { .refer-card.draft .draft-deco { width: 38%; max-width: 190px; } .refer-card.draft small { max-width: 60%; } }

/* ---- Sign-in pages, v2: brand panel with headline, stats, a moving benefits strip and a Refer & Earn card;
        TRIO logo above the form ---- */
.auth-brand { padding: 36px clamp(28px, 4vw, 60px); }
.auth-hero { margin: auto 0; padding: 32px 0; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.auth-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.auth-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: .75rem; font-weight: 600; color: #e8e8e8; }
.auth-chips svg { width: 13px; height: 13px; color: #9be27e; }
.auth-title { margin-top: 18px !important; font-size: clamp(2.2rem, 3.6vw, 3.3rem) !important; line-height: 1.06 !important; letter-spacing: -.03em; }
.auth-title span { background: linear-gradient(95deg, #9be27e 0%, #c3e84a 60%, #e3f76c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-stats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 440px; }
.auth-stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.auth-stat-ico { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #9be27e; }
.auth-stat-ico svg { width: 18px; height: 18px; }
.auth-stats b { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: #fff; }
.auth-stats small { font-size: .75rem; color: #bdbdbd; }

.auth-feed { margin-top: 30px; width: 100%; }
.auth-feed-title { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; color: #cfcfcf; }
.auth-feed-title i { width: 7px; height: 7px; border-radius: 50%; background: #6cc957; box-shadow: 0 0 0 0 rgba(108,201,87,.6); animation: authLive 2s ease-out infinite; }
@keyframes authLive { 0% { box-shadow: 0 0 0 0 rgba(108,201,87,.6); } 100% { box-shadow: 0 0 0 9px rgba(108,201,87,0); } }
.auth-marquee { margin-top: 12px; 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); }
.auth-marquee-track { display: flex; gap: 10px; width: max-content; animation: authMarquee 32s linear infinite; }
.auth-marquee:hover .auth-marquee-track { animation-play-state: paused; }
@keyframes authMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
.auth-perk { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 12px; text-align: left; white-space: nowrap;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.auth-perk > span { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(155,226,126,.14); color: #9be27e; }
.auth-perk svg { width: 15px; height: 15px; }
.auth-perk b { display: block; font-family: var(--font-head); font-size: .8125rem; color: #fff; }
.auth-perk small { display: block; font-size: .75rem; font-weight: 700; color: #9be27e; }

.auth-promo { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; width: 100%; max-width: 480px;
  padding: 22px 22px 22px 24px; border-radius: 20px; text-align: left; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(249,201,50,.18), rgba(249,201,50,0) 60%), linear-gradient(150deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(249,201,50,.3); transition: transform .35s ease, border-color .35s ease; }
.auth-promo:hover { transform: translateY(-3px); border-color: rgba(249,201,50,.6); }
.auth-promo-tag { font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f9c932; }
.auth-promo b { display: block; margin-top: 6px; font-family: var(--font-head); font-size: 1.125rem; color: #fff; }
.auth-promo small { display: block; margin-top: 4px; font-size: .8125rem; line-height: 1.5; color: #cfcfcf; }
.auth-promo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .8125rem; font-weight: 700; color: #9be27e; }
.auth-promo-link svg { width: 14px; height: 14px; transition: transform .3s; }
.auth-promo:hover .auth-promo-link svg { transform: translateX(3px); }
.auth-promo-gift { width: 64px; height: 64px; flex: none; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, #f9c932, #fedc41); color: #3a2a00;
  box-shadow: 0 0 0 8px rgba(249,201,50,.12), 0 16px 30px -10px rgba(249,201,50,.7); transform: rotate(-6deg); }
.auth-promo-gift svg { width: 30px; height: 30px; }
.auth-brand-foot { text-align: center; font-size: .75rem; color: #8a8a8a; }

/* form side: logo on top, centred heading */
.auth-card-logo { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card-logo .nv-logo { width: 150px; color: #151515; }
.auth-card > h1, .auth-card > .auth-sub { text-align: center; }

@media (max-width: 960px) {
  .auth-hero, .auth-brand-foot { display: none; }
  .auth-card-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .auth-marquee-track, html:not(.force-motion) .auth-feed-title i { animation: none; } }

/* =====================================================================================================
   Sign-in, Version B — "paper desk" (login-v2.php): forest-green desk, a tax form with a stamp, a sticky
   note and a clip, an editorial serif headline, a torn receipt; cream form side with underlined fields.
   ===================================================================================================== */
.auth-paper { --ap-cream: #f6f1e7; --ap-ink: #1d2a22; --ap-forest: #123b26; background: var(--ap-cream); }
.auth-paper .ap-desk { color: #f6f1e7; background:
    radial-gradient(80% 60% at 20% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(70% 50% at 100% 100%, rgba(0,0,0,.35), transparent 60%),
    var(--ap-forest); }
/* fine felt grain instead of the dot grid and ring */
.auth-paper .ap-desk::before { opacity: .22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px; }
.auth-paper .ap-desk::after { display: none; }

.ap-copy { margin-top: 36px; max-width: 470px; }
.ap-eyebrow { margin: 0; font-family: var(--font-body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #b9d4a8; }
.ap-title { margin-top: 14px !important; font-family: var(--font-serif) !important; font-weight: 400 !important; font-size: clamp(2.3rem, 3.7vw, 3.4rem) !important; line-height: 1.04 !important;
  letter-spacing: -.02em; color: #f6f1e7 !important; }
.ap-title em { font-style: italic; color: #e9c46a; }
.ap-lede { margin: 16px 0 0; max-width: 380px; font-size: 1rem; line-height: 1.6; color: rgba(246,241,231,.72); }

/* the desk scene */
.ap-scene { position: relative; flex: 1; min-height: 300px; margin: 18px 0 8px; }
.ap-sheet { position: absolute; left: 6%; top: 18px; width: min(78%, 400px); padding: 18px 22px 22px; background: #fbf8f1; color: var(--ap-ink); border-radius: 3px; transform: rotate(-4deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 28px 50px -18px rgba(0,0,0,.6); font-family: var(--font-body); }
.ap-sheet::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(18,59,38,.06) 25px 26px); }
.ap-sheet-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ap-ink); }
.ap-sheet-head b { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.ap-sheet-head span { font-size: .625rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .06em; }
.ap-sheet-head i { margin-left: auto; font-style: normal; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; padding: 2px 8px; border: 1.5px solid var(--ap-ink); }
.ap-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0 3px; border-bottom: 1px solid rgba(29,42,34,.35); font-size: .625rem; text-transform: uppercase; letter-spacing: .06em; color: #5e6b62; }
.ap-line em, .ap-grid em { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: #1f4fa3; }
.ap-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border: 1px solid rgba(29,42,34,.35); }
.ap-grid div { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 8px; font-size: .5625rem; text-transform: uppercase; letter-spacing: .06em; color: #5e6b62; }
.ap-grid div + div { border-left: 1px solid rgba(29,42,34,.35); }
.ap-rule { height: 1px; margin-top: 14px; background: rgba(29,42,34,.22); } .ap-rule.short { width: 62%; }
.ap-sign { display: flex; align-items: flex-end; gap: 10px; margin-top: 16px; font-size: .5625rem; text-transform: uppercase; letter-spacing: .06em; color: #5e6b62; }
.ap-sign svg { width: 120px; height: 30px; fill: none; stroke: #1f4fa3; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ap-stamp { position: absolute; right: 8%; top: 46%; padding: 8px 16px 6px; transform: rotate(-14deg); text-align: center; color: #b4372c;
  border: 3px double #b4372c; border-radius: 6px; background: rgba(251,248,241,.55); opacity: 1; text-shadow: .5px .5px 0 rgba(180,55,44,.35);
  animation: apStamp .7s cubic-bezier(.2,1.6,.4,1) .5s both; }
.ap-stamp span { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .12em; line-height: 1; }
.ap-stamp small { display: block; margin-top: 3px; font-size: .5625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@keyframes apStamp { from { opacity: 0; transform: rotate(-14deg) scale(1.6); } to { opacity: .88; transform: rotate(-14deg) scale(1); } }

.ap-note { position: absolute; right: 4%; top: 0; width: 132px; padding: 16px 14px 18px; transform: rotate(5deg); background: #f4d35e; color: #3b3000;
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.2; box-shadow: 0 18px 26px -14px rgba(0,0,0,.6); }
.ap-note::before { content: ''; position: absolute; left: 50%; top: -9px; width: 54px; height: 18px; transform: translateX(-50%) rotate(-3deg); background: rgba(255,255,255,.45); }
.ap-note u { text-decoration-color: #b4372c; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ap-clip { position: absolute; left: calc(6% + 26px); top: 0; width: 22px; height: 56px; fill: none; stroke: #c9ccd1; stroke-width: 2.4; stroke-linecap: round; transform: rotate(-4deg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }

/* torn receipt with the three numbers */
.ap-receipt { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 470px; padding: 16px 6px 14px; background: #fbf8f1; color: var(--ap-ink);
  -webkit-mask: radial-gradient(circle 6px at 50% 0, transparent 5.5px, #000 6px) top / 16px 12px repeat-x, linear-gradient(#000, #000) 0 6px / 100% calc(100% - 6px) no-repeat;
  mask: radial-gradient(circle 6px at 50% 0, transparent 5.5px, #000 6px) top / 16px 12px repeat-x, linear-gradient(#000, #000) 0 6px / 100% calc(100% - 6px) no-repeat; }
.ap-receipt div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ap-receipt div + div { border-left: 1px dashed rgba(29,42,34,.35); }
.ap-receipt b { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.ap-receipt span { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: #5e6b62; }
.ap-foot { margin-top: 14px; text-align: left; color: rgba(246,241,231,.5); }

/* ---- form side ---- */
.auth-paper .auth-main { background: var(--ap-cream); }
.auth-paper .auth-card { max-width: 420px; }
.auth-paper .auth-card h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.4rem, 3.6vw, 3rem); letter-spacing: -.02em; color: var(--ap-ink); }
.auth-paper .auth-card h1 em { font-style: italic; color: var(--green); }
.auth-paper .auth-sub { color: #6b6457; }
.auth-paper .auth-role { background: none; padding: 0; border-bottom: 1px solid #d8d0bf; border-radius: 0; }
.auth-paper .auth-role-ind { top: auto; bottom: -1px; left: 0; height: 2px; width: 50%; border-radius: 0; background: var(--ap-ink); box-shadow: none; }
.auth-paper .auth-role button { border-radius: 0; padding: 12px 6px; color: #8a8273; }
.auth-paper .auth-role button[aria-selected="true"] { color: var(--ap-ink); }
.auth-paper .auth-field label, .auth-paper .auth-label-row label { font-family: var(--font-body); font-weight: 500; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #6b6457; }
.auth-paper .auth-input > svg { left: 0; }
.auth-paper .auth-input input { min-height: 48px; padding: 10px 0 10px 30px; border: 0; border-bottom: 1.5px solid #cfc6b3; border-radius: 0; background: transparent; font-size: 1.0625rem; }
.auth-paper .auth-input input:focus { box-shadow: none; border-color: var(--ap-ink); }
.auth-paper .auth-input input::placeholder { color: #a9a08f; }
.auth-paper .auth-eye { right: 0; }
.auth-paper .auth-check span { border-radius: 3px; border-color: #b9b0a0; background: transparent; }
.auth-paper .auth-submit { border-radius: 10px; background: var(--ap-forest); box-shadow: 0 14px 24px -14px rgba(18,59,38,.9); }
.auth-paper .auth-submit:hover { background: #0c2d1c; }
.auth-paper .auth-divider::before, .auth-paper .auth-divider::after { background: #d8d0bf; }
.auth-paper .auth-alt { border-radius: 10px; border-color: #cfc6b3; color: var(--ap-ink); background: transparent; }
.auth-paper .auth-label-row a, .auth-paper .auth-switch a, .auth-paper .auth-help a { color: var(--ap-forest); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1200px) { .ap-note { width: 112px; font-size: 1rem; } .ap-stamp { right: 2%; } }
@media (max-width: 960px) {
  .ap-copy, .ap-scene, .ap-receipt, .ap-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .ap-stamp { animation: none; } }

/* ---- Home: Black Friday banner as a popup (<dialog data-bf-pop>, opened by trio.js on page load) ---- */
.bf-pop { width: min(1040px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: transparent; color: inherit; overflow-y: auto; scrollbar-width: none; }
.bf-pop::backdrop { background: rgba(8,10,9,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html:has(.bf-pop[open]) { overflow: hidden; }
.bf-pop .bf-banner { box-shadow: 0 40px 90px -30px rgba(0,0,0,.85); }
.bf-pop.is-in .bf-banner { animation: bfPopIn .55s cubic-bezier(.2,1.2,.3,1) backwards; }
@keyframes bfPopIn { from { opacity: 0; transform: translateY(28px) scale(.95); } to { opacity: 1; transform: none; } }
.bf-pop-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.bf-pop-x svg { width: 18px; height: 18px; }
.bf-pop-x:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.bf-pop-x:focus-visible { outline: 3px solid #9be27e; outline-offset: 2px; }
@media (max-width: 640px) {
  .bf-pop .bf-banner { gap: 18px; padding: 56px 20px 24px; border-radius: 22px; }
  .bf-pop .bf-word { font-size: clamp(2.4rem, 13vw, 3.2rem); }
  .bf-pop .bf-soon { margin-top: 12px; }
  .bf-pop .bf-copy h2 { margin-top: 14px; font-size: 1.6rem; }
  .bf-pop .bf-btns { margin-top: 20px; }
  .bf-pop .bf-btns .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .bf-pop.is-in .bf-banner { animation: none; } }
.refer-card.earn2 .earn2-sub b { font-family: var(--font-head); font-weight: 800; color: #f5c451; }

/* =====================================================================================================
   Contact page, SAMPLE A — "Directory" (contact-us-a.php): one clean directory card (call, email, hours,
   offices) with hairline rows, beside a sticky message form.
   ===================================================================================================== */
.cx-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--s5); align-items: start; }
.cx-dir, .cx-form { background: #fff; border: 1px solid #e9e9e9; border-radius: 24px; box-shadow: 0 24px 50px -42px rgba(21,21,21,.55); }
.cx-dir { padding: 8px clamp(22px, 3vw, 36px); }
.cx-block { padding: clamp(22px, 2.6vw, 30px) 0; }
.cx-block + .cx-block { border-top: 1px solid #ededed; }
.cx .cx-label { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.cx-label svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cx-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; color: inherit; text-decoration: none; }
.cx-row + .cx-row { border-top: 1px dashed #e4e4e4; }
.cx-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cx-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--navy); text-decoration: none; }
.cx-num:hover { color: var(--green); }
.cx-mail { font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--navy); overflow-wrap: anywhere; }
.cx-note { font-size: .875rem; color: var(--muted); }
.cx-note b { font-weight: 600; color: var(--ink); }
.cx-acts { display: flex; gap: 8px; flex: none; }
.cx-pill { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #dcdcdc; background: #fff; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.cx-pill svg { width: 15px; height: 15px; }
.cx-pill:hover { border-color: var(--green); background: var(--green); color: #fff; }
.cx-pill-wa { color: #128c4a; border-color: #bfe8cf; background: #f0fbf4; }
.cx-pill-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.cx-row-link { margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 14px; transition: background .2s; }
.cx-row-link:hover, .cx-row-link:hover + .cx-row-link { border-top-color: transparent; }
.cx-row-link:hover { background: #f4faf1; }
.cx-go { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid #e2e2e2; color: var(--navy); transition: transform .25s, background .2s, color .2s, border-color .2s; }
.cx-go svg { width: 15px; height: 15px; }
.cx-row-link:hover .cx-go { transform: translateX(3px); background: var(--green); border-color: var(--green); color: #fff; }
.cx-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s5); }
.cx-text { margin: 8px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.cx-text b { color: var(--navy); font-family: var(--font-head); }
.cx-text + .cx-text { margin-top: 14px; }
.cx-dir-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: .875rem; color: var(--green); }
.cx-dir-link svg { width: 12px; height: 12px; }
.cx-form { position: sticky; top: 96px; padding: clamp(24px, 3vw, 36px); }
.cx-form-head { margin-bottom: var(--s5); }
.cx-step { font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.cx .cx-form-head h2 { margin-top: 6px; font-size: 1.5rem; color: var(--navy); }
.cx-form-head p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-form { position: static; }
}
@media (max-width: 560px) {
  .cx-row { flex-wrap: wrap; }
  .cx-row-link { flex-wrap: nowrap; }
  .cx-acts { width: 100%; }
  .cx-acts .cx-pill { flex: 1; justify-content: center; }
  .cx-split { grid-template-columns: 1fr; gap: var(--s4); }
  .cx-form .ct-row { grid-template-columns: 1fr; }
}

/* =====================================================================================================
   Contact page, SAMPLE B — "Switchboard" (contact-us-b.php): the dark banner lists the numbers and emails
   in large type; below, the message form beside office cards (drawn street map) and opening hours.
   ===================================================================================================== */
.page-hero-inner.cy-hero-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cy-jump { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s5); padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.35); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9375rem; text-decoration: none; }
.cy-jump svg { width: 15px; height: 15px; transition: transform .25s; }
.cy-jump:hover { border-color: #9be27e; } .cy-jump:hover svg { transform: translateX(4px); }
.cy-board { padding: clamp(24px, 3vw, 36px); border-radius: 24px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.cy-group + .cy-group { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.12); }
.cy-kicker { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #9be27e; }
.cy-line { padding: 10px 0; }
.cy-line + .cy-line { border-top: 1px dashed rgba(255,255,255,.12); }
.cy-big { display: inline-block; font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.01em; color: #fff; text-decoration: none; font-variant-numeric: lining-nums;
  background: linear-gradient(#9be27e, #9be27e) 0 100% / 0 2px no-repeat; transition: background-size .35s ease; }
.cy-big:hover { background-size: 100% 2px; }
.cy-meta { display: block; margin-top: 4px; font-size: .875rem; color: rgba(255,255,255,.62); }
.cy-meta a { color: #9be27e; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cy-mails { list-style: none; margin: 0; padding: 0; }
.cy-mails li { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 10px 0; }
.cy-mails li + li { border-top: 1px dashed rgba(255,255,255,.12); }
.cy-mails a { font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.1875rem); color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.cy-mails a:hover { color: #9be27e; }
.cy-mails small { grid-column: 2; margin-top: 2px; font-size: .8125rem; color: rgba(255,255,255,.55); }
.cy-tag { display: inline-block; justify-self: start; padding: 3px 9px; border-radius: 6px; font-family: var(--font-head); font-weight: 700; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase;
  color: #9be27e; background: rgba(155,226,126,.12); }

.cy-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: var(--s5); align-items: start; }
.cy-form, .cy-office, .cy-hours { background: #fff; border: 1px solid #e9e9e9; border-radius: 24px; box-shadow: 0 24px 50px -42px rgba(21,21,21,.55); }
.cy-form { padding: clamp(24px, 3.4vw, 44px); }
.cy-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid #efefef; }
.cy-form-head h2 { font-size: 1.75rem; color: var(--navy); }
.cy-form-head p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.cy-reply { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 12px; border-radius: 999px; background: #eef8ea; color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: .75rem; }
.cy-reply i { width: 8px; height: 8px; border-radius: 50%; background: #3fbf5f; box-shadow: 0 0 0 4px rgba(63,191,95,.18); }
.cy-side { display: grid; gap: var(--s4); }
.cy-office { overflow: hidden; }
.cy-map { position: relative; height: 150px; }
.cy-map svg { display: block; width: 100%; height: 100%; }
.cy-pin { position: absolute; left: 50%; top: 42%; width: 42px; height: 42px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--green); box-shadow: 0 10px 20px -8px rgba(17,126,57,.8); }
.cy-pin svg { width: 20px; height: 20px; rotate: 45deg; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cy-office-body { padding: 20px 24px 24px; }
.cy-office .cy-tag { color: var(--green); background: #eaf6e4; }
.cy-office h3 { margin-top: 10px; font-family: var(--font-head); font-size: 1.125rem; color: var(--navy); }
.cy-office p { margin: 4px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.cy-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-weight: 600; font-size: .875rem; color: var(--green); }
.cy-link svg { width: 12px; height: 12px; }
.cy-office-sm .cy-office-body { padding-top: 22px; }
.cy-hours { display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: var(--navy-deep); border-color: transparent; color: #fff; }
.cy-hours > svg { width: 22px; height: 22px; flex: none; color: #9be27e; fill: none; stroke: currentColor; }
.cy-hours b { display: block; font-family: var(--font-head); }
.cy-hours small { color: rgba(255,255,255,.65); }
@media (max-width: 960px) {
  .page-hero-inner.cy-hero-inner, .cy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cy-mails li { grid-template-columns: 1fr; }
  .cy-mails small { grid-column: 1; }
  .cy-mails .cy-tag { margin-bottom: 4px; }
  .cy-form .ct-row { grid-template-columns: 1fr; }
  .cy-form-head { flex-direction: column; }
}

.cy-office .cy-tel { color: var(--navy); font-weight: 600; text-decoration: none; } .cy-office .cy-tel:hover { color: var(--green); }

/* =====================================================================================================
   Sign-in, portal panel (login.php): deep green panel, centred bold headline, three portal features,
   a moving strip of return steps and a "Talk to a real preparer" card with a sample chat.
   ===================================================================================================== */
.auth-portal .auth-brand { background: radial-gradient(90% 55% at 50% 0%, rgba(46,125,72,.55) 0%, rgba(46,125,72,0) 70%), radial-gradient(70% 50% at 100% 100%, rgba(17,126,57,.18) 0%, rgba(17,126,57,0) 70%), linear-gradient(180deg, #14301f 0%, #0d1f14 55%, #0a160e 100%); }
.auth-portal .auth-brand::before { opacity: .6; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.auth-portal .auth-brand::after { display: none; }
.pt-hero { max-width: 560px; margin-inline: auto; padding: 18px 0; }
/* tall content: let the panel scroll on short screens instead of cutting off the bottom */
.auth-portal .auth-brand { overflow-y: auto; scrollbar-width: none; }
.auth-portal .auth-brand::-webkit-scrollbar { display: none; }
.pt-chips span { padding: 6px 14px; gap: 7px; font-size: .8125rem; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #f1f1f1; }
.pt-chips svg { width: 15px; height: 15px; }
.auth-brand .pt-title { margin-top: 16px; font-family: var(--font-head) !important; font-weight: 800; font-size: clamp(2.1rem, 3.3vw, 2.9rem) !important; line-height: 1.08 !important; letter-spacing: -.035em; color: #fff; }
.auth-brand .pt-title span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #7fd68a; }
.pt-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pt-feats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 480px; }
.pt-feats li { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pt-feat-ico { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: #9be27e; }
.pt-feats b { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; color: #fff; }
.pt-feats small { font-size: .8125rem; color: #a7b8ac; }

.pt-flow { margin-top: 26px; width: 100%; }
.pt-flow-title { font-size: .8125rem; font-weight: 500; color: #b7c4bb; }
.pt-marquee { margin-top: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pt-track { gap: 12px; animation-duration: 46s; }
@keyframes ptMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.pt-track { animation-name: ptMarquee; }
.pt-step { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; text-align: left; white-space: nowrap; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); }
.pt-step > span { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #9fd99a; }
.pt-step b { display: block; font-family: var(--font-head); font-size: .9375rem; font-weight: 700; color: #fff; }
.pt-step small { display: block; margin-top: 1px; font-size: .8125rem; color: #a3b3a8; }

.pt-talk { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 16px; margin-top: 26px; width: 100%; padding: 18px; border-radius: 20px; text-align: left; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.14); }
.auth-brand .pt-talk h3 { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; color: #fff; }
.pt-talk p { margin-top: 6px; font-size: .8125rem; line-height: 1.5; color: #b4c1b8; }
.pt-talk-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.pt-talk-links > * { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: .8125rem; font-weight: 700; color: #fff; }
.pt-talk-links .pt-ico { width: 18px; height: 18px; color: #7fd68a; }
.pt-talk-links a:hover { color: #9be27e; }
.pt-chat { display: grid; gap: 7px; padding: 10px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08); }
.pt-msg { justify-self: start; max-width: 100%; margin: 0; padding: 7px 11px; border-radius: 12px; font-size: .78rem; line-height: 1.35; color: #f3f3f3; background: rgba(255,255,255,.1);
  animation: ptMsg .5s ease backwards; }
.pt-msg.me { justify-self: end; background: #8fdc78; color: #0f2a17; font-weight: 500; }
.pt-msg:nth-child(1) { animation-delay: .4s; } .pt-msg:nth-child(2) { animation-delay: 1.3s; } .pt-msg:nth-child(3) { animation-delay: 2.2s; } .pt-msg:nth-child(4) { animation-delay: 3s; }
.pt-typing { display: inline-flex; gap: 4px; padding: 7px 10px; }
.pt-typing i { width: 5px; height: 5px; border-radius: 50%; background: #e6e6e6; animation: ptDot 1.2s ease-in-out infinite; }
.pt-typing i:nth-child(2) { animation-delay: .15s; } .pt-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ptMsg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ptDot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
@media (max-width: 1180px) { .pt-talk { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .pt-msg { animation: none; } html:not(.force-motion) .pt-typing i { animation: none; } }

/* =====================================================================================================
   Sign-in, both designs (portal + paper desk): on desktop the page fills exactly one screen under the top
   bar, with no page scroll. Text is a little smaller, and spacing shrinks with the screen height; if a very
   short window still can't fit, each side scrolls on its own instead of the page.
   ===================================================================================================== */
@media (min-width: 961px) {
  body:has(.auth-portal, .auth-paper) { display: flex; flex-direction: column; height: 100vh; height: 100svh; overflow: hidden; }
  body:has(.auth-portal, .auth-paper) > .auth { flex: 1; min-height: 0; }
  :is(.auth-portal, .auth-paper) .auth-brand { position: relative; top: auto; height: auto; min-height: 0; overflow-y: auto; scrollbar-width: none;
    padding: clamp(16px, 3.2vh, 34px) clamp(24px, 3.6vw, 56px); }
  :is(.auth-portal, .auth-paper) .auth-main { min-height: 0; overflow-y: auto; scrollbar-width: none; padding: clamp(14px, 2.8vh, 30px) clamp(20px, 4.5vw, 64px); }
  :is(.auth-portal, .auth-paper) :is(.auth-brand, .auth-main)::-webkit-scrollbar { display: none; }
  :is(.auth-portal, .auth-paper) .auth-logo img { width: clamp(96px, 13vh, 122px); }

  /* form side */
  :is(.auth-portal, .auth-paper) .auth-top { font-size: .875rem; }
  :is(.auth-portal, .auth-paper) .auth-back, :is(.auth-portal, .auth-paper) .auth-switch { font-size: .875rem; }
  :is(.auth-portal, .auth-paper) .auth-card { max-width: 410px; padding: clamp(8px, 2.4vh, 28px) 0; }
  .auth-portal .auth-card-logo { margin-bottom: clamp(8px, 1.8vh, 18px); }
  .auth-portal .auth-card-logo .nv-logo { width: clamp(104px, 15vh, 132px); }
  .auth-portal .auth-card h1 { font-size: clamp(1.5rem, 3.7vh, 1.95rem); }
  .auth-paper .auth-card h1 { font-size: clamp(1.9rem, 4.9vh, 2.5rem); }
  :is(.auth-portal, .auth-paper) .auth-sub { margin-top: 4px; font-size: .875rem; }
  :is(.auth-portal, .auth-paper) .auth-role { margin-top: clamp(12px, 2.4vh, 22px); }
  :is(.auth-portal, .auth-paper) .auth-role button { padding: clamp(6px, 1.2vh, 10px) 6px; font-size: .875rem; }
  :is(.auth-portal, .auth-paper) .auth-role button svg { width: 16px; height: 16px; }
  :is(.auth-portal, .auth-paper) .auth-form { gap: clamp(9px, 1.9vh, 16px); margin-top: clamp(12px, 2.4vh, 22px); }
  :is(.auth-portal, .auth-paper) .auth-field label { margin-bottom: 4px; font-size: .8125rem; }
  .auth-paper .auth-field label, .auth-paper .auth-label-row label { font-size: .625rem; }
  :is(.auth-portal, .auth-paper) .auth-label-row a { font-size: .75rem; }
  :is(.auth-portal, .auth-paper) .auth-input input { min-height: clamp(40px, 5.8vh, 48px); font-size: .875rem; }
  .auth-paper .auth-input input { font-size: .9375rem; }
  :is(.auth-portal, .auth-paper) .auth-check { font-size: .8125rem; }
  :is(.auth-portal, .auth-paper) :is(.auth-submit, .auth-alt) { min-height: 0; padding-top: clamp(9px, 1.6vh, 14px); padding-bottom: clamp(9px, 1.6vh, 14px); font-size: .9375rem; }
  :is(.auth-portal, .auth-paper) .auth-divider { margin: clamp(10px, 2vh, 18px) 0 clamp(8px, 1.6vh, 14px); font-size: .75rem; }
  :is(.auth-portal, .auth-paper) .auth-help { font-size: .8125rem; }

  /* portal panel */
  .pt-hero { padding: clamp(4px, 1.4vh, 16px) 0; max-width: 520px; }
  .pt-chips span { padding: 4px 11px; font-size: .75rem; }
  .pt-chips svg { width: 13px; height: 13px; }
  .auth-brand .pt-title { margin-top: clamp(10px, 1.8vh, 16px); font-size: clamp(1.75rem, min(2.9vw, 5.4vh), 2.55rem) !important; }
  .pt-feats { margin-top: clamp(12px, 2.6vh, 24px); max-width: 440px; }
  .pt-feat-ico { width: clamp(30px, 4.6vh, 36px); height: clamp(30px, 4.6vh, 36px); margin-bottom: 6px; }
  .pt-feat-ico .pt-ico { width: 16px; height: 16px; }
  .pt-feats b { font-size: .9375rem; }
  .pt-feats small { font-size: .75rem; }
  .pt-flow { margin-top: clamp(12px, 2.6vh, 24px); }
  .pt-flow-title { font-size: .75rem; }
  .pt-marquee { margin-top: 8px; }
  .pt-step { gap: 10px; padding: clamp(6px, 1.1vh, 10px) 14px clamp(6px, 1.1vh, 10px) 9px; }
  .pt-step > span { width: 30px; height: 30px; }
  .pt-step .pt-ico { width: 16px; height: 16px; }
  .pt-step b { font-size: .8125rem; }
  .pt-step small { font-size: .75rem; }
  .pt-talk { margin-top: clamp(12px, 2.6vh, 24px); padding: clamp(10px, 1.8vh, 16px); gap: 14px; }
  .auth-brand .pt-talk h3 { font-size: .9375rem; }
  .pt-talk p { margin-top: 4px; font-size: .75rem; }
  .pt-talk-links { margin-top: 8px; }
  .pt-talk-links > * { font-size: .75rem; }
  .pt-talk-links .pt-ico { width: 16px; height: 16px; }
  .pt-chat { gap: 5px; padding: 8px; }
  .pt-msg { padding: 5px 10px; font-size: .72rem; }
  .auth-portal .auth-brand-foot { font-size: .6875rem; }

  /* paper desk panel */
  .ap-copy { margin-top: clamp(10px, 3vh, 34px); }
  .ap-eyebrow { font-size: .6875rem; }
  .auth-paper .ap-title { margin-top: 10px !important; font-size: clamp(1.9rem, min(3.2vw, 5.8vh), 2.9rem) !important; }
  .ap-lede { margin-top: 10px; font-size: .9375rem; line-height: 1.5; }
  .ap-scene { min-height: 0; margin: clamp(6px, 1.6vh, 16px) 0 clamp(4px, 1vh, 8px); }
  /* the desk scene scales with the screen height so it never pushes the receipt off screen */
  .ap-sheet, .ap-clip { scale: var(--ap-k, 1); transform-origin: top left; }
  .ap-note { scale: var(--ap-k, 1); transform-origin: top right; }
  .ap-stamp { scale: var(--ap-k, 1); transform-origin: center; }
  .ap-receipt { padding: 12px 6px 10px; }
  .ap-receipt b { font-size: clamp(1.15rem, 2.6vh, 1.45rem); }
  .ap-receipt span { font-size: .625rem; }
  .ap-foot { margin-top: 10px; font-size: .6875rem; }
}
@media (min-width: 961px) and (max-height: 900px) { .auth-paper { --ap-k: .9; } }
@media (min-width: 961px) and (max-height: 800px) { .auth-paper { --ap-k: .8; } }
@media (min-width: 961px) and (max-height: 700px) { .auth-paper { --ap-k: .7; } }
@media (min-width: 961px) and (max-height: 620px) { .auth-paper { --ap-k: .62; } }
/* portal design on short screens: the left panel already shows the logo, so the form drops its own; tighter gaps */
@media (min-width: 961px) and (max-height: 740px) {
  .auth-portal .auth-card-logo { display: none; }
  .auth-portal .pt-typing { display: none; }
  .auth-portal .pt-hero { padding: 0; }
  .auth-portal .auth-brand-foot { line-height: 1.3; }
  .auth-portal .pt-feats, .auth-portal .pt-flow, .auth-portal .pt-talk { margin-top: clamp(10px, 2vh, 16px); }
}
@media (min-width: 961px) and (max-height: 640px) {
  .auth-portal .pt-chat { display: none; }
  .auth-portal .pt-talk { grid-template-columns: 1fr; }
  .auth-portal .pt-feat-ico { display: none; }
}
@media (min-width: 961px) and (max-height: 640px) { .auth-portal .auth-card { padding: 0; } .auth-portal .auth-divider { margin: 8px 0 6px; } }
/* narrow desktop windows with a short height: the sample chat would stack under the text, so it is left out */
@media (min-width: 961px) and (max-width: 1180px) and (max-height: 820px) { .auth-portal .pt-chat { display: none; } }

/* Version B: a photo of a Form 1040 lying on the desk (replaces the drawn form) — a print with a white border,
   tilted, with the sticky note, clip and E-FILED stamp on top. Scales with the screen height like the rest. */
.ap-photo { position: absolute; left: 4%; top: 18px; display: block; width: min(90%, 510px); padding: 8px; background: #fbf8f1; border-radius: 3px;
  transform: rotate(-4deg); transform-origin: top left; scale: var(--ap-k, 1);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 30px 50px -18px rgba(0,0,0,.65); }
.ap-photo img { display: block; width: 100%; height: auto; border-radius: 1px; }
.ap-photo + .ap-stamp { top: auto; bottom: 14%; right: 10%; }
/* on tall screens the photo and note move down to sit in the middle of the desk space */
.ap-scene .ap-photo { top: clamp(18px, calc(50% - 175px), 130px); }
.ap-photo ~ .ap-note { top: clamp(0px, calc(50% - 193px), 112px); }
.ap-photo ~ .ap-clip { top: clamp(0px, calc(50% - 193px), 112px); }

/* =====================================================================================================
   Pricing page (pricing.php): section heads with a note on the right, a two-column price list, worked
   examples, the nine no-fee services in a bordered grid, the four filing steps and a closing call to action.
   Also: the second button in the Services mega menu.
   ===================================================================================================== */
.nv-mega-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.nv-mega-intro .nv-mega-btns .btn { margin-top: 0; }
.nv-mega-intro .btn-outline-navy svg { width: 16px; height: 16px; }

.pr-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 24px 48px; padding-bottom: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); }
.pr-head h2 { margin-top: 12px; max-width: 620px; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
.pr-head p { margin: 0 0 6px; max-width: 380px; justify-self: end; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.pr-head-tight { border-bottom: 0; padding-bottom: 0; }
.pr-head-tight h2 { margin-top: 0; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.pr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 56px); margin-top: clamp(12px, 2vw, 22px); }
.pr-rows { list-style: none; margin: 0; padding: 0; }
.pr-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.pr-name { font-size: .9688rem; line-height: 1.45; color: #2b2b2b; }
.pr-name small { display: block; margin-top: 3px; font-size: .8125rem; color: var(--muted); }
.pr-price { flex: none; font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--navy); }
.pr-price.is-free { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

.pr-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.pr-example { padding: 24px 26px 26px; border-radius: 16px; background: var(--soft); border: 1px solid #eeeeee; }
.pr-example-tag { display: block; font-family: var(--font-head); font-weight: 700; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #7a7a7a; }
.pr-example b { display: block; margin-top: 12px; font-family: var(--font-serif); font-weight: 500; font-size: 2.1rem; line-height: 1; color: var(--green); }
.pr-example p { margin: 14px 0 0; font-size: .9063rem; line-height: 1.55; color: #4f4f4f; }
.pr-foot { margin: 14px 0 0; font-size: .8125rem; color: var(--muted); }

.pr-free-grid { list-style: none; margin: clamp(24px, 3.4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid #e4e4e4; border-radius: 18px; overflow: hidden; }
.pr-free-grid li { padding: 26px 28px 28px; border-right: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; transition: background .25s ease; }
.pr-free-grid li:nth-child(3n) { border-right: 0; }
.pr-free-grid li:nth-last-child(-n+3) { border-bottom: 0; }
.pr-free-grid li:hover { background: #f6fbf3; }
.pr-free-grid h3 { position: relative; padding-left: 26px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--navy); }
.pr-free-grid h3::before { content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: #e7f5df;
  box-shadow: inset 0 0 0 1px rgba(17,126,57,.25); }
.pr-free-grid h3::after { content: ''; position: absolute; left: 5px; top: calc(.2em + 4px); width: 4px; height: 7px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pr-free-grid p { margin: 8px 0 0; padding-left: 26px; font-size: .9063rem; line-height: 1.55; color: #5a5a5a; }

.pr-steps { list-style: none; margin: clamp(26px, 3.4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pr-steps li { padding-top: 22px; border-top: 1px solid #dcdcdc; }
.pr-steps li.is-first { border-top: 2px solid var(--green); padding-top: 21px; }
.pr-step-no { display: block; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; }
.pr-steps li.is-first .pr-step-no { color: var(--green); }
.pr-steps h3 { margin-top: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--navy); }
.pr-steps p { margin: 8px 0 0; font-size: .9063rem; line-height: 1.55; color: #5a5a5a; }

.pr-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 34px) clamp(24px, 3.4vw, 40px);
  border-radius: 22px; color: #fff; background: radial-gradient(80% 140% at 100% 0%, rgba(17,126,57,.55), rgba(17,126,57,0) 60%), #151515; }
.pr-cta h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.6rem); color: #fff; }
.pr-cta p { margin: 6px 0 0; max-width: 520px; font-size: .9375rem; line-height: 1.55; color: #d4d4d4; }
.pr-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pr-cta .btn-outline-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.pr-cta .btn-outline-navy:hover { background: #fff; color: var(--navy); }

@media (max-width: 960px) {
  .pr-head { grid-template-columns: 1fr; align-items: start; }
  .pr-head p { justify-self: start; }
  .pr-cols { grid-template-columns: 1fr; }
  .pr-examples { grid-template-columns: 1fr; }
  .pr-free-grid { grid-template-columns: 1fr 1fr; }
  .pr-free-grid li:nth-child(3n) { border-right: 1px solid #e9e9e9; }
  .pr-free-grid li:nth-child(2n) { border-right: 0; }
  .pr-free-grid li:nth-last-child(-n+3) { border-bottom: 1px solid #e9e9e9; }
  .pr-free-grid li:last-child { border-bottom: 0; }
  .pr-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pr-free-grid { grid-template-columns: 1fr; }
  .pr-free-grid li { border-right: 0 !important; }
  .pr-free-grid li:nth-last-child(-n+3) { border-bottom: 1px solid #e9e9e9; }
  .pr-free-grid li:last-child { border-bottom: 0; }
  .pr-steps { grid-template-columns: 1fr; gap: 20px; }
  .pr-rows li { padding: 14px 0; }
  .pr-cta-btns, .pr-cta-btns .btn { width: 100%; justify-content: center; }
}
