:root {
    color-scheme: light;
    --ink: #112e4a;
    --body: #415c72;
    --blue: #075f98;
    --blue-dark: #064b78;
    --navy: #0b2138;
    --line: #d2e1ed;
    --wash: #eef6fc;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 65vh; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(2.85rem, 5.55vw, 5.25rem); letter-spacing: -.06em; font-weight: 760; }
h2 { font-size: clamp(1.8rem, 3.8vw, 3.15rem); letter-spacing: -.04em; font-weight: 740; }
h3 { font-size: 1.27rem; letter-spacing: -.02em; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #1984ca; outline-offset: 4px; }
.shell { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: 12px; transform: translateY(-160%); z-index: 5; padding: 10px 18px; background: #fff; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 35px; min-height: 78px; }
.brand { display: block; flex: 0 0 auto; margin-left: -10px; }
.brand img { width: 175px; height: auto; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; }
.header-inner nav a { padding-block: 7px; color: #36536d; text-decoration: none; font-size: .94rem; font-weight: 650; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.header-inner nav a.nav-action { padding: 9px 15px; border: 1px solid #b9d0e2; border-radius: 6px; color: var(--blue); }

.product-label { margin-bottom: 14px; font-size: .98rem; font-weight: 700; color: var(--blue); }
.hero-copy > p:not(.product-label), .accountant-summary > p { max-width: 54ch; margin-top: 22px; font-size: clamp(1.05rem, 1.7vw, 1.27rem); line-height: 1.58; }
.hero-copy > p:not(.product-label) { color: var(--body); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; color: #fff; background: var(--blue); text-decoration: none; font-weight: 700; }
.button:hover { background: var(--blue-dark); }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: #e1effa; }
.text-link { color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
.text-link:hover { color: var(--blue-dark); }

.client-hero { background: linear-gradient(119deg, #f8fbfe, #e8f4fd); border-bottom: 1px solid var(--line); }
.client-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: 54px; }
.client-hero h1 { font-size: clamp(2.85rem, 5.2vw, 4.75rem); }
.client-preview { min-width: 0; overflow: hidden; border: 1px solid #b4ccdf; border-radius: 14px; background: #fff; box-shadow: 0 21px 54px #1b496722; }
.client-preview-bar { display: flex; align-items: center; gap: 16px; padding: 13px 21px; background: #123e65; color: #fff; font-size: .94rem; font-weight: 730; }
.client-preview-bar span { padding-left: 16px; border-left: 1px solid #9cb5c8; color: #dceafa; font-weight: 500; }
.client-preview-content { padding: clamp(15px, 2.7vw, 28px); }
.sample-client { margin-bottom: 5px; color: var(--blue); font-size: .88rem; font-weight: 700; }
.client-preview h2 { margin-bottom: 6px; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.sample-fields { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 15px 0 17px; font-size: .88rem; }
.sample-fields dt { margin-bottom: 4px; color: var(--body); font-weight: 650; }
.sample-fields dd { margin: 0; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; background: #f8fbfe; }
.sample-table { width: 100%; border-collapse: collapse; font-size: .91rem; font-variant-numeric: tabular-nums; }
.sample-table th, .sample-table td { padding: 10px 8px; text-align: right; }
.sample-table th:first-child, .payroll-example :is(th, td):not(:last-child) { text-align: left; }
.sample-table thead { color: #244965; background: #e8f3fc; }
.sample-table tbody tr { border-bottom: 1px solid #e4edf5; }
.sample-table tbody th { font-weight: 560; }
.sample-table:not(.payroll-example) tbody td { white-space: nowrap; }
.sample-table tfoot { background: #f4f8fb; font-weight: 700; }
.client-preview figcaption { padding: 11px 21px; color: var(--body); border-top: 1px solid var(--line); font-size: .83rem; }

.content-section { padding-block: 68px; scroll-margin-top: 20px; }
.section-heading { margin-bottom: 28px; }
.section-heading > p { max-width: 58ch; margin-top: 12px; color: var(--body); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.feature-grid article { padding-top: 18px; border-top: 2px solid #83b7da; }
.feature-grid p { margin-top: 10px; color: var(--body); }
.client-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.client-examples .client-preview { display: flex; flex-direction: column; }
.client-examples .client-preview-content { flex: 1; }
.client-examples h3 { margin-bottom: 6px; font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.sample-jobs { margin-top: 16px; }
.sample-jobs :is(th, td), .sample-statement :is(th, td):nth-child(2) { text-align: left; }
.client-examples .sample-jobs td, .client-examples .sample-statement td:nth-child(2) { white-space: normal; }
.sample-job-sheet { margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 18px; }
.sample-job-sheet h4 { margin: 0 0 10px; font-size: 1.06rem; }
.sample-job-sheet .sample-table :is(th, td):nth-child(2) { text-align: left; }
.sample-job-sheet .sample-table :is(th, td):first-child { white-space: normal; text-align: left; }
.sample-email-fields { display: grid; gap: 10px; margin-bottom: 0; }
.sample-email-fields dd { overflow-wrap: anywhere; }
.portal-payroll { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 24px 48px; }
.portal-payroll .section-heading { margin: 0; }
.hero-illustrations { display: grid; gap: 16px; width: min(100%, 420px); justify-self: center; }
.hero-illustrations img { width: 100%; height: auto; box-shadow: 0 5px 18px #102f4d16; }
.invoice-section { padding-top: clamp(32px, 5vw, 60px); }
.invoice-section .client-preview { max-width: 760px; margin-inline: auto; }

[data-image-preview]:not(.screen-link) { cursor: zoom-in; }
.image-hover-preview, .image-preview-dialog {
    padding: 7px;
    border: 1px solid #b4ccdf;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 48px #071b3866;
}
.image-hover-preview { position: fixed; inset: 0; width: max-content; height: max-content; margin: auto; z-index: 10; cursor: zoom-in; }
.image-hover-preview img, .image-preview-dialog img { width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.image-hover-preview img { max-width: calc(100vw - 42px); max-height: min(84vh, calc(100vh - 42px)); }
.image-preview-dialog { max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
.image-preview-dialog img { max-width: calc(100vw - 38px); max-height: calc(100dvh - 90px); margin-inline: auto; }
.image-preview-dialog::backdrop { background: #071b38bf; }
.image-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 7px; }
.image-preview-header button { min-height: 40px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--wash); color: var(--ink); cursor: pointer; }
.image-preview-header button:hover { background: #e1effa; }

.accountant-hero { padding-block: 64px 54px; color: #fff; background: radial-gradient(ellipse at 93% 0, #204f74 0, transparent 57%), var(--navy); }
.accountant-hero .product-label { color: #b2d9f6; }
.accountant-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 28px 60px; margin-bottom: 42px; }
.accountant-summary { padding-bottom: 4px; }
.accountant-summary > p { margin: 0 0 21px; color: #dcecf8; }
.desktop-tour { overflow: hidden; border: 1px solid #4b6884; border-radius: 14px; background: #0d1e2f; box-shadow: 0 20px 52px #0003; }
.tour-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 15px 20px; }
.tour-header h2 { font-size: 1.18rem; letter-spacing: -.015em; }
.tour-actions { display: flex; align-items: center; gap: 7px; }
.tour-actions button { min-width: 38px; min-height: 36px; padding: 5px 12px; border: 1px solid #6886a1; border-radius: 5px; background: transparent; color: #f5faff; font-size: 1.35rem; line-height: 1; font-weight: 680; cursor: pointer; }
.tour-actions button:hover { background: #263e55; }
.tour-navigation { display: flex; flex-wrap: wrap; gap: 5px 7px; padding: 0 20px 14px; }
.tour-navigation a { padding: 5px 10px; border: 1px solid transparent; border-radius: 5px; color: #dbeaf8; font-size: .85rem; text-decoration: none; }
.tour-navigation a:hover { background: #243f56; }
.tour-navigation a[aria-current] { border-color: #8bc4ee; background: #173e5c; color: #fff; }
.desktop-tour :focus-visible, .accountant-hero :focus-visible { outline-color: #a7d8ff; }
.tour-screens { display: grid; gap: 20px; }
.screen-image { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 14px; background: #060f1a; }
.desktop-tour[data-enhanced] .screen-image { aspect-ratio: 1.85; }
.screen-image img { width: 100%; height: auto; object-fit: contain; border-radius: 4px; }
.desktop-tour[data-enhanced] .screen-image img { height: 100%; }
.desktop-tour[data-enhanced] .tour-screen:not([hidden]) .screen-image img { animation: screen-appear 240ms ease-out; }
@keyframes screen-appear { from { opacity: .62; } to { opacity: 1; } }
.tour-screen { scroll-margin-top: 15px; }
.tour-screen figcaption { display: flex; align-items: start; justify-content: space-between; gap: 12px 24px; padding: 17px 20px 12px; }
.tour-screen figcaption h3 { font-size: 1.12rem; }
.tour-screen figcaption p { margin-top: 6px; color: #d5e6f4; font-size: .95rem; }
.screen-link { flex: 0 0 auto; color: #c1e3fc; font-size: .86rem; font-weight: 700; text-underline-offset: 3px; }
.tour-note { padding: 0 20px 17px; color: #b3c9dd; font-size: .81rem; }

.closing-section { border-block: 1px solid var(--line); background: var(--wash); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 41px; }
.closing-inner h2 { font-size: clamp(1.5rem, 2.9vw, 2.4rem); }
.closing-inner p { margin-top: 8px; color: var(--body); }
.closing-inner .button { flex: 0 0 auto; }
.site-footer { color: #4a6177; font-size: .87rem; }
.footer-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.footer-products a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.footer-products p { max-width: 49ch; margin-top: 4px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 22px; padding-block: 24px; }
.footer-inner a { text-underline-offset: 3px; }

@media (max-width: 920px) {
    .shell { width: calc(100% - 56px); }
    .header-inner { gap: 13px; }
    .header-inner nav { gap: 5px 14px; }
    .client-hero-grid { gap: 30px; padding-block: 48px; }
    .accountant-intro { gap: 24px 35px; }
}
@media (max-width: 740px) {
    .shell { width: calc(100% - 36px); }
    .header-inner { align-items: start; flex-direction: column; gap: 0; padding: 4px 0 12px; }
    .header-inner nav { gap: 5px 14px; }
    .header-inner nav a { font-size: .88rem; }
    .header-inner nav a.nav-action { padding: 5px 9px; }
    .client-hero-grid, .accountant-intro, .feature-grid, .client-examples, .portal-payroll { grid-template-columns: 1fr; }
    .client-hero-grid, .content-section { padding-block: 46px; }
    .accountant-hero { padding-block: 42px 34px; }
    .accountant-intro { margin-bottom: 26px; }
    .tour-header { padding: 12px; }
    .tour-navigation { padding: 0 12px 12px; }
    .tour-navigation a { font-size: .8rem; }
    .screen-image { padding: 6px; }
    .tour-screen figcaption { flex-direction: column; padding: 12px; }
    .tour-note { padding: 0 12px 13px; }
    .closing-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 445px) {
    .sample-table { font-size: .82rem; }
    .sample-table th, .sample-table td { padding: 8px 4px; }
    .footer-products { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .desktop-tour[data-enhanced] .tour-screen:not([hidden]) .screen-image img { animation: none; }
}

/* Desktop product walkthrough — November 2026 */
.desktop-tour { color: #142f43; border: 1px solid #dce8ef; border-radius: 22px; background: #fff; box-shadow: 0 28px 70px #03162933, 0 2px 8px #03162915; }
.tour-header { padding: 23px 26px 18px; gap: 16px; }
.tour-eyebrow { margin: 0 0 4px; color: #477286; font-size: .68rem; line-height: 1.4; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.tour-header h2 { color: #142f43; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.03em; }
.tour-actions { gap: 8px; }
.tour-counter { padding-right: 10px; color: #557185; font-size: .78rem; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.tour-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; min-height: 42px; padding: 10px; border: 1px solid #d8e4eb; border-radius: 50%; color: #244c64; background: #fff; font-size: .76rem; font-weight: 650; transition: background .2s, color .2s, box-shadow .2s; }
.tour-actions .tour-playback { border-radius: 22px; padding-inline: 13px; margin-right: 4px; }
.tour-actions button:hover { background: #eaf4f8; color: #006a8e; box-shadow: 0 2px 5px #0d35400c; }
.desktop-tour :focus-visible { outline: 3px solid #1383b0; outline-offset: 3px; }
.tour-navigation { position: relative; flex-wrap: nowrap; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #b5d0de transparent; padding: 0 22px 17px; }
.tour-navigation a { flex: 1 0 102px; display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; color: #536c7b; background: #f3f7f9; font-size: .76rem; line-height: 1.35; font-weight: 650; white-space: nowrap; transition: background .2s, color .2s; }
.tour-tab-number { color: #78909e; font-size: .61rem; letter-spacing: .08em; font-weight: 500; }
.tour-navigation a:hover { background: #e7f1f6; color: #163c53; }
.tour-navigation a[aria-current] { background: #14698b; border-color: #14698b; color: #fff; box-shadow: 0 3px 8px #14698b20; }
.tour-navigation a[aria-current] .tour-tab-number { color: #c0e1ee; }
.tour-progress { height: 3px; background: #eaf1f5; overflow: hidden; }
.tour-progress span { display: block; height: 100%; width: 100%; background: #35a6bc; transform: scaleX(0); transform-origin: left; }
.desktop-tour .screen-image { padding: 25px 23px; background: radial-gradient(ellipse at 50% 40%, #fff, #edf3f7 78%); }
.desktop-tour[data-enhanced] .screen-image { aspect-ratio: 2; }
.desktop-tour .screen-image img { border-radius: 6px; filter: drop-shadow(0 10px 13px #0b2c431c); }
.desktop-tour[data-enhanced] .tour-screen:not([hidden]) .screen-image img { animation: tour-reveal .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes tour-reveal { from { opacity: .2; transform: translateY(7px) scale(.995); } to { opacity: 1; transform: none; } }
.tour-screen figcaption { min-height: 140px; align-items: center; padding: 24px 28px 21px; gap: 20px 36px; border-top: 1px solid #e5edf2; background: #fff; }
.tour-screen figcaption h3 { color: #17374c; font-size: clamp(1.08rem, 1.6vw, 1.3rem); letter-spacing: -.025em; }
.tour-screen figcaption p { color: #566d7c; max-width: 76ch; margin-top: 7px; font-size: .9rem; line-height: 1.6; }
.desktop-tour .screen-link { padding: 11px 15px; border: 1px solid #cedfe8; border-radius: 9px; color: #176b8c; background: #f8fbfd; font-size: .78rem; text-decoration: none; white-space: nowrap; }
.desktop-tour .screen-link:hover { background: #eaf5fa; border-color: #8eb9cb; }
.desktop-tour .tour-screen:not([hidden]) .screen-link::before { content: '\2197'; font-size: 1rem; margin-right: 6px; }
.tour-note { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 20px; margin: 0; padding: 14px 28px; border-top: 1px solid #e8eff3; background: #f7fafc; color: #69808e; font-size: .72rem; }
.tour-more { color: #336e88; font-weight: 650; text-decoration: none; }
.tour-more::after { content: ' \2192'; }
.tour-more:hover { text-decoration: underline; }
.tour-screens { touch-action: pan-y pinch-zoom; }
@media (max-width: 740px) {
    .desktop-tour { border-radius: 16px; }
    .tour-header { padding: 18px 16px 15px; align-items: flex-start; }
    .tour-heading { width: 100%; }
    .tour-actions { width: 100%; }
    .tour-counter { margin-right: auto; }
    .tour-navigation { padding: 0 12px 13px; gap: 6px; }
    .tour-navigation a { flex: 0 0 116px; font-size: .76rem; }
    .desktop-tour .screen-image { padding: 13px 10px; }
    .desktop-tour[data-enhanced] .screen-image { aspect-ratio: 1.5; }
    .tour-screen figcaption { min-height: 230px; align-items: flex-start; justify-content: flex-start; gap: 15px; padding: 20px 17px; }
    .tour-screen figcaption p { font-size: .87rem; }
    .tour-note { padding: 13px 17px; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .desktop-tour[data-enhanced] .tour-screen:not([hidden]) .screen-image img { animation: none; }
    .tour-navigation a, .tour-actions button { transition: none; }
}

