/* The Ledger Max — site styles
   Palette: navy #0B2A4A · green #0E9F6E (large text/icons) · dark green #047857 (buttons/small text)
   tint #F3F7FB · border #E3E9F1 · body #3B4A5E · muted #5B6B80 · blue #1E5BB8 */
:root {
  --navy: #0B2A4A;
  --navy-2: #123A63;
  --navy-deep: #071C36;
  --green: #0E9F6E;
  --green-dark: #047857;
  --green-light: #6EE7B7;
  --tint: #F3F7FB;
  --line: #E3E9F1;
  --body: #3B4A5E;
  --muted: #5B6B80;
  --blue: #1E5BB8;
  --on-navy: #C9D6E5;
  --radius: 18px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--navy); background: #fff; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: #065F46; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.hl { color: var(--green); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.section { padding-block: 88px; }
.section.tight { padding-block: 64px; }
.section.flush-top { padding-top: 0; }
.tint { background: var(--tint); }
.navy { background: var(--navy); color: #fff; }
.navy p, .navy li { color: var(--on-navy); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body); margin-bottom: 12px; }
.navy .eyebrow { color: var(--green-light); }
.lead { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 640px; margin-top: 16px; }
.navy .lead { color: var(--on-navy); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 44px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.note { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { color: #fff; box-shadow: 0 8px 20px rgba(11,42,74,.2); }
.btn-green { background: var(--green-dark); color: #fff; }
.btn-green:hover { color: #fff; box-shadow: 0 8px 20px rgba(4,120,87,.25); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { color: var(--navy); background: var(--tint); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #4F6B8C; }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 42px; height: auto; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; display: block; line-height: 1.2; }
.brand-tag { font-size: 11.5px; color: var(--muted); font-weight: 500; display: block; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a, .header-cta .btn { white-space: nowrap; }
@media (max-width: 1320px) { .brand-tag { display: none; } }
.nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: 14.5px; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--green); }
.header-cta { display: inline-flex; }
.header-cta .btn { min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green-dark); }
  .header-cta { display: none; }
  .nav .nav-cta { display: block; margin-top: 12px; border: 0; }
}
.nav .nav-cta { display: none; }
@media (max-width: 1180px) { .nav .nav-cta { display: block; } }

/* layout helpers */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--body); }
.card h3 + p { margin-top: 8px; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-tile svg { width: 26px; height: 26px; }
.t-green { background: var(--green); } .t-blue { background: var(--blue); } .t-navy { background: var(--navy); }
.check { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check li { position: relative; padding-left: 28px; color: var(--body); }
.check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.navy .check li { color: var(--on-navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 700; background: var(--tint); border: 1px solid #DCE4EE; padding: 6px 12px; border-radius: 999px; color: var(--navy); }
.pill { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; background: var(--green); color: #fff; padding: 5px 11px; border-radius: 999px; }

/* hero */
.hero { padding-block: 72px 88px; }
.hero h1 { margin-top: 4px; }
.hero-visual { background: var(--tint); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; max-width: 540px; }
.close-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 18px 44px rgba(11,42,74,.12); }
.close-card .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status { font-size: 12px; font-weight: 700; color: var(--green-dark); background: #E6F6EF; padding: 6px 12px; border-radius: 999px; }
.close-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EDF1F6; font-size: 15px; }
.close-row span:first-child { display: flex; align-items: center; gap: 12px; }
.close-row .tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.dot-done { width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; flex: none; }
.dot-wip { width: 20px; height: 20px; border-radius: 50%; border: 2px dashed var(--blue); flex: none; }
.time-pair { display: flex; flex-wrap: wrap; gap: 14px; }
.time-pair > div { flex: 1 1 180px; border-radius: 16px; padding: 18px 20px; }
.time-pair .t-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.time-pair .t-val { font-size: 24px; font-weight: 800; margin-top: 4px; }

/* page hero (inner pages) */
.page-hero { background: var(--tint); padding-block: 64px 56px; }
.page-hero.dark { background: var(--navy); color: #fff; }
.page-hero.dark h1 { color: #fff; }

/* certifications strip */
.cert-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; border: 1px solid var(--line); border-radius: 22px; padding: 22px 30px; }
.cert { display: flex; align-items: center; gap: 16px; }
.cert img { width: 92px; height: 92px; object-fit: contain; }

/* audience cards */
.aud { display: flex; flex-direction: column; gap: 12px; text-decoration: none; border-radius: 22px; padding: 34px; }
.aud.light { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.aud.dark { background: var(--navy); color: #fff; }
.aud .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; }
.aud.light .kicker { color: var(--green-dark); } .aud.dark .kicker { color: var(--green-light); }
.aud .title { font-weight: 800; font-size: 24px; line-height: 1.25; }
.aud.light p { color: var(--body); } .aud.dark p { color: var(--on-navy); }
.aud .go { font-weight: 700; font-size: 15px; margin-top: 4px; }
.aud.light .go { color: var(--green-dark); } .aud.dark .go { color: var(--green-light); }

/* service cards (home) */
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); }
.svc-card:hover { color: var(--navy); border-color: #C9D3E0; }
.svc-card .more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--green-dark); }

/* industry mini cards (home) */
.ind-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ind-card .ico { height: 104px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.ind-card .ico svg { width: 44px; height: 44px; }
.ind-card .txt { padding: 18px; }
.ind-card .txt p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* why */
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-ico { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(11,42,74,.08); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.why-ico svg { width: 26px; height: 26px; }
.why-item p { color: var(--body); margin-top: 6px; font-size: 15px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.steps p { color: var(--body); }

/* band */
.band { background: var(--navy); color: #fff; border-radius: 24px; padding: 52px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.band p { color: var(--on-navy); }
.band > div { flex: 1 1 480px; min-width: 0; }
@media (max-width: 600px) { .band { padding: 32px 24px; } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; font-weight: 700; }
td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
td.form { color: var(--blue); font-weight: 700; font-size: 14px; }
td .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; font-weight: 500; }
tr.is-next td { background: var(--tint); }
tr[hidden] { display: none; }

/* segmented controls */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--tint); border-radius: 999px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--body); padding: 10px 18px; border-radius: 999px; min-height: 44px; cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--navy); color: #fff; }
.chip-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btns button { font: inherit; font-size: 14.5px; font-weight: 700; padding: 10px 18px; border-radius: 999px; min-height: 44px; cursor: pointer; background: #fff; color: var(--navy); border: 1.5px solid #C9D3E0; }
.chip-btns button[aria-pressed="true"], .chip-btns button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }

/* pricing */
.plan { display: flex; flex-direction: column; gap: 16px; border-radius: 22px; padding: 34px 30px; border: 1px solid var(--line); background: #fff; }
.plan.featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 22px 50px rgba(11,42,74,.22); }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .name { font-weight: 800; font-size: 21px; }
.plan .for { font-size: 15px; color: var(--muted); }
.plan.featured .for, .plan.featured .per { color: var(--on-navy); }
.plan .price { font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.plan .per { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .basis { font-size: 14px; font-weight: 700; color: var(--green-dark); }
.plan.featured .basis { color: var(--green-light); }
.plan .check { border-top: 1px solid var(--line); padding-top: 18px; }
.plan.featured .check { border-top-color: #1E4470; }
.plan .btn { margin-top: auto; }
.plan.featured .check li { color: var(--on-navy); }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 32px; }
.addon { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.addon strong { display: block; }
.addon span { font-size: 14.5px; font-weight: 600; color: var(--green-dark); }

/* testimonials */
.quote { border: 1px dashed #B9C6D6; border-radius: 18px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.quote blockquote { margin: 0; color: var(--body); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--line); flex: none; }

/* booking & contact */
.booking-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; min-height: 200px; }
.calendly-inline-widget { min-width: 320px; height: 700px; }
.booking-fallback { padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact-form { background: var(--tint); border-radius: 22px; padding: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid #C9D3E0; border-radius: 10px; min-height: 46px; background: #fff; color: var(--navy); }
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
.form-msg.ok { color: var(--green-dark); } .form-msg.err { color: #B42318; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; padding: 24px; } }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; font-size: 16px; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; color: var(--body); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding-block: 56px; }
.cta-band .inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band .inner > div { flex: 1 1 520px; min-width: 0; }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 32px); }
.cta-band p { color: var(--on-navy); margin-top: 10px; }

/* footer */
.site-footer { background: var(--navy-deep); color: #9FB3CC; padding-block: 64px 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.footer-grid a { color: #9FB3CC; text-decoration: none; display: block; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-logo { width: 170px; margin-bottom: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #16345A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* services page */
.svc { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.svc[hidden] { display: none; }
.svc .main { flex: 1 1 380px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.svc .side { flex: 1 1 440px; min-width: 0; background: var(--tint); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.svc .cat { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--green-dark); }
.svc h2 { font-size: 25px; }
.svc .price { font-weight: 800; font-size: 26px; }
.svc .unit { font-size: 13px; color: var(--muted); }
.svc .label { font-size: 13px; font-weight: 800; letter-spacing: .06em; margin-bottom: 10px; }
.svc .side p { font-size: 14.5px; color: var(--body); }
.svc .check li { font-size: 14.5px; }
.svc-list { display: flex; flex-direction: column; gap: 22px; }

/* industries page */
.ind-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.ind-tabs { flex: 1 1 280px; max-width: 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ind-tabs button { font: inherit; text-align: left; cursor: pointer; border-radius: 14px; padding: 14px 16px; min-height: 56px; display: flex; align-items: center; gap: 14px; background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.ind-tabs button .ti { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ind-tabs button .ti svg { width: 22px; height: 22px; stroke: var(--navy); }
.ind-tabs button strong { display: block; font-size: 15.5px; }
.ind-tabs button small { display: block; font-size: 12.5px; opacity: .8; }
.ind-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.ind-tabs button[aria-selected="true"] .ti { background: var(--green); }
.ind-tabs button[aria-selected="true"] .ti svg { stroke: #fff; }
.ind-panels { flex: 999 1 560px; min-width: 0; }
.ind-panel { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.ind-panel[hidden] { display: none; }
.ind-panel .top { background: var(--navy); color: #fff; padding: 32px; }
.ind-panel .top p { color: var(--on-navy); margin-top: 12px; max-width: 640px; }
.ind-panel .top h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 34px); }
.ind-panel .body { padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.ind-panel h3.label { font-size: 14px; letter-spacing: .08em; margin-bottom: 14px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.why-grid div { background: var(--tint); border-radius: 14px; padding: 16px; font-size: 14.5px; color: var(--body); }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 0 0 18px 52px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.flow li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: #DCE4EE; }
.flow li:last-child::after { display: none; }
.flow .when { font-size: 12.5px; font-weight: 700; color: var(--green-dark); margin-left: 10px; }
.flow p { font-size: 14.5px; color: var(--body); margin-top: 4px; }
.ind-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ind-plan { background: var(--tint); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.ind-plan.rec { background: var(--navy); color: #fff; }
.ind-plan .p { font-size: 24px; font-weight: 800; }
.ind-plan .b { font-size: 13px; font-weight: 700; color: var(--green-dark); }
.ind-plan.rec .b { color: var(--green-light); }
.ind-plan .check li { font-size: 14px; }
.ind-plan.rec .check li { color: var(--on-navy); }

/* how we work */
.onboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.onboard > div { padding: 26px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.onboard .day { font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); align-self: flex-start; padding: 5px 10px; border-radius: 6px; }
.onboard p { font-size: 15px; color: var(--body); }
.flow-panel[hidden] { display: none; }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-card .when { font-size: 12.5px; font-weight: 800; color: var(--green-dark); letter-spacing: .04em; }
.step-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 6px 0 0; font-size: 14px; }
.step-card dt { color: var(--muted); }
.step-card dd { margin: 0; font-weight: 600; }
.team-chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 28px; font-weight: 700; }
.team-chain span { background: var(--tint); padding: 10px 16px; border-radius: 10px; }
.team-chain .you { background: var(--navy); color: #fff; }
.progress { margin-top: 24px; background: #E6F6EF; border-radius: 14px; padding: 20px 22px; }
.progress .count { font-size: 32px; font-weight: 800; color: #064E3B; }
.bar { height: 8px; background: #A7F3D0; border-radius: 999px; margin-top: 12px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .25s ease; }
fieldset.checklist { border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin: 0; }
fieldset.checklist legend { font-weight: 800; padding: 0 8px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; min-height: 44px; }
.checklist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.dark-card { background: var(--navy-2); border: 1px solid #2B4C72; border-radius: 18px; padding: 26px; color: #fff; }
.dark-card .k { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--green-light); }
.dark-card p { color: var(--on-navy); margin-top: 8px; }

/* timeline (CPA page) */
.timeline { background: var(--navy-2); border: 1px solid #2B4C72; border-radius: 18px; padding: 28px; }
.timeline ol { list-style: none; margin: 16px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 30px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--green-light); }
.timeline li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: 2px; width: 2px; background: #2B4C72; }
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; font-size: 18px; color: #fff; }

/* tax state tabs */
.state-panel[hidden] { display: none; }

/* chat assistant */
#tlm-chat { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; font-family: var(--font); }
.chat-btn { background: var(--navy); color: #fff; border: 0; border-radius: 999px; height: 56px; padding: 0 22px 0 18px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 12px 30px rgba(11,42,74,.3); }
.chat-panel { position: absolute; right: 0; bottom: 70px; width: 360px; max-width: calc(100vw - 40px); height: 520px; max-height: calc(100vh - 120px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(11,42,74,.28); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chat-head .av img { width: 26px; }
.chat-head small { color: #9FB3CC; display: block; font-size: 12px; }
.chat-head button { margin-left: auto; width: 44px; height: 44px; background: transparent; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; background: var(--tint); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-line; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.msg.user { background: var(--navy); color: #fff; align-self: flex-end; }
.msg a { font-weight: 700; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: var(--tint); border-top: 1px solid var(--line); }
.chat-quick button { background: #fff; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 14.5px; padding: 11px 14px; border: 1px solid #C9D3E0; border-radius: 999px; min-height: 44px; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green-dark); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Button effects ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 45%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-navy:hover { background: #12406B; box-shadow: 0 10px 24px rgba(11,42,74,.28); }
.btn-green:hover { background: #05936A; box-shadow: 0 10px 24px rgba(4,120,87,.32); }
.btn-ghost:hover { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11,42,74,.18); }
.btn-ghost::before { background: linear-gradient(110deg, transparent 20%, rgba(11,42,74,.08) 45%, transparent 70%); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow, .text-link:hover .arrow, .aud:hover .arrow, .svc-card:hover .arrow { transform: translateX(4px); }
.text-link .arrow, .aud .arrow, .svc-card .arrow { display: inline-block; transition: transform .2s ease; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .6s ease-out forwards; pointer-events: none; z-index: -1; }
.btn-ghost .ripple, .chip-btns .ripple, .seg .ripple { background: rgba(11,42,74,.15); }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.chip-btns button, .seg button, .chat-quick button, .ind-tabs button { position: relative; overflow: hidden; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.chip-btns button:hover { border-color: var(--navy); transform: translateY(-1px); }
.chip-btns button[aria-pressed="true"]:hover, .chip-btns button[aria-selected="true"]:hover { box-shadow: 0 6px 16px rgba(11,42,74,.2); }
.seg button:hover:not([aria-pressed="true"]) { background: #E3E9F1; }
.chat-quick button:hover { background: var(--navy); color: #fff; }
.ind-tabs button:hover:not([aria-selected="true"]) { border-color: #B9C6D6; transform: translateX(3px); }
.chat-btn { transition: transform .2s ease, box-shadow .2s ease; }
.chat-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11,42,74,.36); }
.chat-btn:active { transform: scale(.97); }
.card, .svc-card, .aud, .contact-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover, .svc-card:hover, .aud:hover, a.contact-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,42,74,.10); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before, .btn .arrow, .chip-btns button, .chat-btn, .card, .svc-card, .aud, .contact-card { transition: none !important; }
  .btn:hover, .btn:active, a.card:hover, .svc-card:hover, .aud:hover, a.contact-card:hover { transform: none; }
  .btn::before { display: none; }
  .ripple { display: none; }
}

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-decoration: none; color: var(--navy); }
.contact-card:hover { color: var(--navy); border-color: #C9D3E0; }
.cc-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.cc-ico svg { width: 24px; height: 24px; }
.contact-card:nth-child(2) .cc-ico { background: var(--green-dark); }
.contact-card:nth-child(3) .cc-ico { background: var(--blue); }
.contact-card:nth-child(4) .cc-ico { background: var(--green); }
.cc-label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 17px; overflow-wrap: anywhere; }
.cc-sub { font-size: 14px; color: var(--muted); }

/* ---------- Color effects: buttons & links ---------- */
/* Buttons: a colour fill slides in from the left on hover */
.btn::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn-navy::after { background: linear-gradient(100deg, var(--green) 0%, var(--green-dark) 100%); }
.btn-navy:hover { background: var(--navy); border-color: var(--green); box-shadow: 0 10px 24px rgba(14,159,110,.35); }
.btn-green::after { background: linear-gradient(100deg, var(--navy) 0%, var(--blue) 100%); }
.btn-green:hover { background: var(--green-dark); border-color: var(--navy); box-shadow: 0 10px 24px rgba(30,91,184,.35); }
.btn-ghost::after { background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 100%); }
.btn-ghost:hover { background: transparent; color: #fff; border-color: var(--navy); }
.btn-ghost-light::after { background: linear-gradient(100deg, var(--green) 0%, var(--green-dark) 100%); }
.btn-ghost-light:hover { background: transparent; color: #fff; border-color: var(--green); box-shadow: 0 10px 24px rgba(14,159,110,.3); }
.btn:active::after { filter: brightness(.92); }

/* Filter chips, segmented controls, tabs: green tint on hover */
.chip-btns button:not([aria-pressed="true"]):not([aria-selected="true"]):hover,
.ind-tabs button:not([aria-selected="true"]):hover { background: #E6F6EF; border-color: var(--green); color: #065F46; }
.seg button:hover:not([aria-pressed="true"]) { background: #E6F6EF; color: #065F46; }
.chat-quick button:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* Chat launcher */
.chat-btn { transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease; }
.chat-btn:hover { background: var(--green-dark); box-shadow: 0 16px 36px rgba(4,120,87,.4); }

/* Links: colour change + underline that grows from the left */
.nav a { transition: color .2s ease, border-color .2s ease; }
.nav a:not(.btn):hover { color: var(--green-dark); border-bottom-color: var(--green); }
.text-link, main p a:not(.btn), main li a:not(.btn), .footer-grid a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: color .2s ease, background-size .3s ease;
}
.text-link:hover, main p a:not(.btn):hover, main li a:not(.btn):hover, .footer-grid a:hover { background-size: 100% 2px; text-decoration: none; }
.text-link:hover, main p a:not(.btn):hover, main li a:not(.btn):hover { color: var(--blue); }
.footer-grid a:hover { color: var(--green-light); }
.navy .text-link:hover, .navy p a:not(.btn):hover { color: var(--green-light); }

/* Cards: green border + icon colour shift */
a.card:hover, .svc-card:hover, .aud:hover, a.contact-card:hover { border-color: var(--green); }
.cc-ico { transition: background-color .25s ease, transform .25s ease; }
a.contact-card:hover .cc-ico { background: var(--green); transform: rotate(-6deg) scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .btn::after, .text-link, .footer-grid a, .cc-ico { transition: none !important; }
}

/* ---------- Home: industries grid ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1060px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--navy); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ind-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.ind-tile:hover { color: var(--navy); transform: translateY(-4px); border-color: var(--green); box-shadow: 0 18px 40px rgba(11,42,74,.10); }
.ind-tile:hover::before { transform: scaleX(1); }
.it-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.it-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s ease, transform .25s ease; }
.it-ico svg { width: 24px; height: 24px; }
.ind-tile:hover .it-ico { background: var(--green); transform: rotate(-6deg) scale(1.05); }
.it-price { font-size: 12.5px; font-weight: 700; color: #065F46; background: #E6F6EF; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.ind-tile h3 { font-size: 17px; line-height: 1.3; margin: 0; }
.ind-tile p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; flex: 1; }
.it-cta { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--green-dark); display: flex; align-items: center; gap: 6px; transition: color .2s ease; }
.it-cta .arrow { display: inline-block; transition: transform .2s ease; }
.ind-tile:hover .it-cta { color: var(--blue); }
.ind-tile:hover .it-cta .arrow { transform: translateX(4px); }
.ind-cpa { margin-top: 24px; background: var(--navy); color: #fff; border-radius: 20px; padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.ind-cpa .it-ico { background: var(--green); }
.ind-cpa-txt { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ind-cpa-txt strong { font-size: 18px; }
.ind-cpa-txt span { color: #C9D6E5; font-size: 15px; line-height: 1.55; }
.ind-cpa-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .ind-tile, .ind-tile::before, .it-ico, .it-cta .arrow { transition: none !important; } .ind-tile:hover { transform: none; } }
.ind-tabs { scroll-margin-top: 96px; }

/* ---------- Financial analysis page ---------- */
.fa-card h3 { font-size: 18px; }
.fa-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.fa-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 16px 36px rgba(11,42,74,.10); }
.fa-card .icon-tile { transition: background-color .25s ease, transform .25s ease; }
.fa-card:hover .icon-tile { background: var(--green); transform: rotate(-6deg) scale(1.05); }
.std-table { min-width: 860px; }
.std-table td:first-child { width: 18%; }
.std-table td:nth-child(2), .std-table td:nth-child(3) { width: 27%; }
.std-table tbody tr:nth-child(even) td { background: #FAFCFE; }
.std-table tbody tr:hover td { background: #E6F6EF; }
.fw-pick { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; display: grid; gap: 16px; }
.fw-q h3 { font-size: 20px; margin-top: 6px; }
.fw-ans { display: flex; flex-direction: column; gap: 4px; border-left: 4px solid var(--green); background: var(--tint); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.fw-ans[hidden] { display: none; }
.fw-ans strong { font-size: 18px; color: var(--navy); }
.fw-ans span { color: var(--body); }
.fa-sample { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 18px 44px rgba(11,42,74,.08); }
.fa-sample-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.fa-sample-head strong { display: block; font-size: 17px; }
.fa-scn[hidden] { display: none; }
.fa-scn-label { font-size: 13px; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.fa-table { min-width: 520px; font-size: 14.5px; }
.fa-table th span { display: block; font-size: 11.5px; font-weight: 600; opacity: .75; }
.fa-table td:not(:first-child), .fa-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.fa-table td.fc { background: #F3FAF7; color: #065F46; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .fa-card, .fa-card .icon-tile { transition: none !important; } .fa-card:hover { transform: none; } }
.page-hero.dark .eyebrow { color: var(--green-light); }
.page-hero.dark .lead { color: var(--on-navy); }
.page-hero.dark .lead strong { color: #fff; }
.fa-table { min-width: 440px; font-size: 14px; }
.fa-table th, .fa-table td { padding: 12px 12px; }
.fa-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
