/* Plus Jakarta Sans, served locally */
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIZaomQNQcsA88c7O9yZ4KMCoOg4KozySKCdSNG9OcqYQ0lCS_aOKyYRw.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIZaomQNQcsA88c7O9yZ4KMCoOg4KozySKCdSNG9OcqYQ0lCS_YOKyYRw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIZaomQNQcsA88c7O9yZ4KMCoOg4KozySKCdSNG9OcqYQ0lCS_ZOKyYRw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIZaomQNQcsA88c7O9yZ4KMCoOg4KozySKCdSNG9OcqYQ0lCS_XOKw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yyygA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yyygA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yyygA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yyygA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yyygA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yyygA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yyygA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yyygA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yyygA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yyygA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* PayStubsKit site styles. Plain CSS, no framework, no JavaScript. */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1026;
  --text: #3b4458;
  --muted: #5b6478;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-soft: #eef0ff;
  --accent: #ffb30f;
  --accent-ink: #1b1400;
  --line: #e5e7f2;
  --surface: #f6f7fc;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px -14px rgba(16, 24, 40, 0.18);
  --wrap: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.3em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1.04rem; letter-spacing: -0.01em; padding: 15px 28px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 24px -12px rgba(255, 179, 15, 0.95); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.7); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 10px 20px; font-size: 0.98rem; border-radius: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid #eef0f7; }
.site-header .bar { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; list-style: none; padding: 0; margin-block: 0; }
.nav li { margin: 0; }
.nav a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav a:hover, .nav a[aria-current="page"] { background: #f1f2ff; color: var(--brand); text-decoration: none; }
.actions { display: flex; gap: 8px; }
.subnav { background: var(--brand-dark); }
.subnav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 0; padding: 8px 0; }
.subnav li { margin: 0; }
.subnav a { display: block; color: rgba(255, 255, 255, 0.92); font-weight: 600; font-size: 0.97rem; padding: 6px 16px; border-radius: 999px; }
.subnav a:hover, .subnav a[aria-current="page"] { background: rgba(255, 255, 255, 0.16); color: var(--white); text-decoration: none; }
.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- Hero and page banners ---------- */
.hero, .banner { background: linear-gradient(120deg, #3730a3 0%, #4f46e5 55%, #6366f1 100%); color: var(--white); }
.hero { padding: 56px 0 64px; }
.hero.has-strip { padding-bottom: 130px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 14px; }
.hero .lead { font-size: 1.25rem; font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, 0.95); margin-bottom: 22px; max-width: 38em; }
.hero .price-note { color: #ffc850; font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.hero .tagline { font-weight: 700; margin-top: 18px; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; justify-items: start; }
.chips li { margin: 0; background: rgba(255, 255, 255, 0.12); border-radius: 10px; padding: 8px 14px 8px 34px; font-weight: 600; position: relative; }
.chips li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--accent); }
.hero-art img { margin-inline: auto; max-height: 380px; }
.banner { padding: 48px 0; }
.banner .title { color: var(--white); margin: 0; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.banner p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.9); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 40px 0; }
.section.alt { background: var(--surface); }
.section.dark { background: linear-gradient(120deg, #3730a3, #4f46e5); color: rgba(255, 255, 255, 0.86); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head p { color: var(--brand); font-weight: 700; font-size: 1.15rem; margin: 0; }
.section-head .sub { color: var(--muted); font-weight: 500; font-size: 1rem; }
.art { margin: 0 auto; max-height: 290px; width: auto; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.card h3, .card h4 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card.soft { background: var(--brand-soft); border-color: transparent; box-shadow: none; padding: 18px 20px; }
.card.soft h4 { color: var(--brand); font-size: 1rem; }
.card.lift { transition: transform 0.15s; }
.card.lift:hover { transform: translateY(-3px); }
.card .more { font-weight: 700; }
.feature { text-align: center; padding: 8px 12px; }
.feature img { width: 64px; height: 64px; margin: 0 auto 16px; }
.feature.badge img { background: var(--brand); border-radius: 50%; padding: 14px; width: 68px; height: 68px; }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--muted); margin: 0; }
.section.dark .feature p { color: rgba(255, 255, 255, 0.84); }
.feature ul { text-align: left; color: var(--muted); margin: 0; }
.step { text-align: center; }
.step img { width: 72px; height: auto; margin: 0 auto 12px; }

/* badge strip under the home hero */
.strip { margin-top: -86px; position: relative; }
.strip .card { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 28px 40px; }
.badges { display: flex; gap: 22px; }
.badges img { width: 92px; height: 92px; }
.strip h2 { font-size: 1.5rem; margin-bottom: 6px; }
.strip p { margin: 0; font-size: 1.05rem; }

/* two-column "label + content" rows */
.split { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.split:first-of-type { border-top: 0; }
.split > h3 { font-size: 1.3rem; margin: 0; }

/* media object */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media img { margin-inline: auto; max-height: 380px; }
.label { font-style: italic; color: var(--muted); }

/* callouts */
.callout { background: var(--brand-soft); border: 1px solid #d9dcfb; border-radius: var(--radius); padding: 26px 30px; }
.callout h2 { font-size: 1.5rem; color: var(--brand); }
.callout.cta { text-align: center; background: var(--white); border: 0; box-shadow: var(--shadow); margin-top: 40px; }
.callout.cta p { font-weight: 700; color: var(--ink); font-size: 1.15rem; margin: 0; }
.callout.cta img { width: 48px; margin: 0 auto 12px; }

/* ---------- FAQ (native details) ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; font-size: 1.1rem; color: var(--ink); position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 18px; }
.faq .answer > :last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.topics { position: sticky; top: 130px; list-style: none; padding: 18px; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.topics li { margin: 0 0 6px; }
.topics a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.topics a:hover { background: var(--brand); color: var(--white); text-decoration: none; }
.topics span { opacity: 0.6; }
.faq-topic { scroll-margin-top: 130px; margin-bottom: 40px; }
.faq-topic h2 { font-size: 1.4rem; color: var(--brand); }
.faq-topic .faq { max-width: none; }

/* ---------- Long-form copy ---------- */
.prose { max-width: 860px; }
.prose.wide { max-width: none; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent); border-radius: 2px; margin-top: 10px; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--ink); }
.prose table, table.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 12px 0 20px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.legal h2::after { display: none; }
.legal h3 { font-size: 1.15rem; }
.updated { color: var(--muted); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card h3 { text-align: center; font-size: 1rem; letter-spacing: 0.06em; }
.price { text-align: center; font-size: 2.3rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin-bottom: 16px; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price-card .btn { width: 100%; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ---------- Blog ---------- */
.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.crumbs { font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; }
.crumbs span { color: var(--muted); margin: 0 6px; }
.post-meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.sidebar .card { margin-bottom: 20px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { border-bottom: 1px solid var(--line); margin: 0; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li a { display: block; padding: 9px 0; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.promo { background: linear-gradient(140deg, #3730a3, #4f46e5); color: var(--white); border: 0; text-align: center; }
.promo h3 { color: var(--white); }
.promo ol { text-align: left; padding-left: 1.2em; }
.post-card h3 { font-size: 1.25rem; }
.post-card .post-meta { margin-bottom: 8px; }

/* ---------- Resources directory ---------- */
.resource-group { margin-bottom: 44px; }
.resource-group > p { color: var(--muted); max-width: 760px; }
.resource h3 { font-size: 1.05rem; }
.resource p { font-size: 0.95rem; }
.resource a { font-size: 0.9rem; word-break: break-all; font-weight: 600; }

/* ---------- Closing call to action and footer ---------- */
.cta-band { padding: 12px 0 48px; }
.cta-band .inner { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 24px; border-radius: 20px; overflow: hidden; background: linear-gradient(120deg, #4f46e5, #6d67fe); color: var(--white); padding: 0 0 0 56px; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { margin-bottom: 18px; }
.cta-band .free { display: block; margin-top: 10px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; }
.cta-band img { width: 100%; height: 100%; object-fit: cover; max-height: 300px; }
.site-footer { background: #3730a3; color: rgba(255, 255, 255, 0.85); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 52px 0 40px; }
.site-footer h2 { font-size: 0.82rem; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.72); text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--white); font-weight: 500; }
.site-footer .foot-logo { max-width: 230px; }
.site-footer .legal-line { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 14px 0; text-align: center; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .media { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .with-sidebar, .faq-layout { grid-template-columns: 1fr; }
  .topics { position: static; }
  .strip .card { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .badges { justify-content: center; }
}
@media (max-width: 760px) {
  .section { padding: 44px 0; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 12px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .cta-band .inner { grid-template-columns: 1fr; padding: 32px 24px 0; }
  .badges img { width: 72px; height: 72px; }
  /* mobile navigation: checkbox toggle, no JavaScript */
  .site-header .bar { flex-wrap: wrap; }
  .nav-toggle-label { display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
  .nav-toggle-label span::before { position: absolute; top: -6px; }
  .nav-toggle-label span::after { position: absolute; top: 6px; }
  .nav, .actions { display: none; width: 100%; }
  .nav-toggle:checked ~ .nav { display: grid; gap: 2px; margin: 8px 0 0; }
  .nav-toggle:checked ~ .actions { display: flex; margin-top: 8px; }
  .actions .btn { flex: 1; }
  .subnav ul { gap: 2px 4px; }
  .subnav a { padding: 5px 10px; font-size: 0.9rem; }
}

/* ---------- Home page, modernized (2026-09-30) ---------- */
/* Shared refinements */
.site-header { background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
.kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.section-head .kicker { font-size: 0.8rem; }
.section.dark .kicker { color: #c7d2fe; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.site-footer .legal-line span { display: inline-block; max-width: 760px; margin-top: 6px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Hero */
.hero-home { position: relative; overflow: hidden; padding: 76px 0 128px; background: radial-gradient(900px 480px at 88% -8%, rgba(129, 140, 248, 0.55), transparent 62%), radial-gradient(700px 420px at -5% 110%, rgba(99, 102, 241, 0.35), transparent 60%), linear-gradient(135deg, #1e1b4b 0%, #312e81 46%, #4338ca 100%); }
.hero-home::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.hero-home .hero-grid { position: relative; grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
.hero-home .eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); margin-bottom: 20px; }
.hero-home h1 { font-size: clamp(2.3rem, 4.7vw, 3.55rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 18px; }
.hero-home .lead { font-size: 1.3rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checks li { margin: 0; padding-left: 32px; position: relative; font-weight: 500; color: rgba(255, 255, 255, 0.95); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 179, 15, 0.18); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4.5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.micro { font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); margin: 0; }
.hero-home .hero-art { position: relative; }

/* Sample pay stub in the hero */
.stub { background: var(--white); color: var(--text); border-radius: 18px; padding: 22px 24px 16px; font-size: 0.82rem; line-height: 1.45; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.4); max-width: 470px; margin-left: auto; }
.stub-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stub-top strong { display: block; color: var(--ink); font-size: 0.98rem; }
.stub-top span { color: var(--muted); }
.stub-title { font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; white-space: nowrap; }
.stub-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; }
.stub-meta span { display: block; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.stub-meta strong { color: var(--ink); font-weight: 600; }
.stub table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.stub th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--surface); padding: 6px 8px; font-weight: 700; }
.stub td { padding: 6px 8px; border-bottom: 1px solid #f0f1f7; color: var(--ink); }
.stub th:not(:first-child), .stub td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.stub-net { display: flex; justify-content: space-between; align-items: center; background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-weight: 700; }
.stub-net strong { font-size: 1.25rem; color: var(--brand); }
.stub-note { margin: 10px 0 0; font-size: 0.72rem; color: var(--muted); text-align: center; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 0.8rem; line-height: 1.25; border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5); }
.float .ico { width: 36px; height: 36px; border-radius: 10px; }
.float-a { left: -56px; top: -30px; }
.float-b { right: -18px; bottom: -44px; }
.float-b .ico { background: #dcfce7; color: #15803d; }

/* Trust bar */
.trust { margin-top: -58px; position: relative; }
.trust-bar { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.trust-bar li { margin: 0; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-right: 1px solid var(--line); }
.trust-bar li:last-child { border-right: 0; }
.trust-bar strong { display: block; color: var(--ink); font-size: 0.98rem; line-height: 1.3; }
.trust-bar span:not(.ico) { color: var(--muted); font-size: 0.86rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { margin: 0; position: relative; counter-increment: step; padding-top: 28px; }
.steps li::after { content: "0" counter(step); position: absolute; right: 22px; top: 16px; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: #eceefb; line-height: 1; }
.steps .ico { margin-bottom: 16px; background: var(--brand); color: var(--white); }
.steps p { margin: 0; color: var(--muted); }

/* Bento cards */
.bento .card { padding: 26px; transition: transform 0.15s, box-shadow 0.15s; }
.bento .card:hover { transform: translateY(-3px); }
.bento .ico { margin-bottom: 16px; }
.bento h3 { font-size: 1.15rem; }
.bento p { margin: 0; color: var(--muted); }

/* Does / does not */
.clarity .card { padding: 28px 30px; }
.clarity ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.clarity li { margin: 0; display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.clarity .tick, .clarity .cross { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 1px; }
.clarity svg { width: 15px; height: 15px; stroke-width: 3; }
.clarity .tick { background: #dcfce7; color: #15803d; }
.clarity .cross { background: #f1f5f9; color: #64748b; }
.clarity .no { background: var(--surface); box-shadow: none; }

/* Dark band */
.home .section.dark { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 50% -20%, rgba(99, 102, 241, 0.5), transparent 65%), #13123a; }
.card.glass { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.card.glass .ico { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.card.glass p { color: rgba(255, 255, 255, 0.78); }
.home .callout.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: none; padding: 22px 28px; }
.home .callout.cta p { color: var(--white); font-weight: 600; }
.home .callout.cta .btn { flex: none; }

/* Example scenario */
.scenario { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.run { padding: 0; overflow: hidden; max-width: 420px; margin-left: auto; width: 100%; }
.run-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--ink); }
.run-head span { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.run ul { list-style: none; margin: 0; padding: 6px 20px; }
.run li { margin: 0; display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #f0f1f7; color: var(--ink); font-weight: 500; }
.run li:last-child { border-bottom: 0; }
.run em { font-style: normal; font-size: 0.78rem; font-weight: 700; color: #15803d; background: #dcfce7; padding: 3px 10px; border-radius: 999px; }
.run .stub-note { padding: 0 20px 14px; }

/* Pricing tiles */
.tiles .card { display: flex; flex-direction: column; gap: 2px; text-align: center; padding: 26px 20px; }
.tiles .card:hover { text-decoration: none; border-color: #c7caf5; }
.tiles span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tiles strong { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.2; }
.tiles em { font-style: normal; font-size: 0.85rem; color: var(--muted); min-height: 1.3em; }

/* Home details */
.home .note { margin-top: 28px; color: var(--muted); }
.home .callout.honest { margin-top: 28px; background: var(--white); border-color: var(--line); border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.home .callout.honest h2 { color: var(--ink); }
.home #use-cases .card { box-shadow: none; padding: 20px 22px; }
.home #use-cases .card h3 { font-size: 1.08rem; }
.home #use-cases .card p { color: var(--muted); font-size: 0.96rem; }
.home .card.soft { background: var(--surface); border: 1px solid var(--line); }
.home .card.soft h4 { color: var(--ink); }

@media (max-width: 1024px) {
  .hero-home .hero-grid, .scenario { grid-template-columns: 1fr; }
  .hero-home { padding-bottom: 110px; }
  .stub { margin-inline: auto; }
  .float-a { left: 0; }
  .float-b { right: 0; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar li:nth-child(2) { border-right: 0; }
  .trust-bar li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .run { margin-inline: auto; }
  .home .callout.cta { flex-direction: column; text-align: center; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar li { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-bar li:last-child { border-bottom: 0; }
  .float { display: none; }
  .stub-meta { grid-template-columns: 1fr 1fr; }
}

/* Footer: the ring from the original design, behind the logo on the left (all pages) */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 700px; height: 700px; border: 148px solid rgba(255, 255, 255, 0.08); border-radius: 50%; top: -267px; left: -194px; pointer-events: none; }
.site-footer .cols, .site-footer .legal-line { position: relative; z-index: 1; }
@media (max-width: 760px) { .site-footer::before { width: 340px; height: 340px; border-width: 100px; top: 95px; left: -165px; } }

/* ---------- Site-wide modern pass (2026-09-30) ---------- */
/* Heroes and page banners: the same deep indigo, glow and grid as the home page */
.hero, .banner { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 88% -8%, rgba(129, 140, 248, 0.55), transparent 62%), radial-gradient(700px 420px at -5% 110%, rgba(99, 102, 241, 0.35), transparent 60%), linear-gradient(135deg, #1e1b4b 0%, #312e81 46%, #4338ca 100%); }
.hero::before, .banner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.hero > .wrap, .banner > .wrap { position: relative; }
.hero { padding: 68px 0 76px; }
.hero.hero-home { padding: 76px 0 132px; }
.hero.hero-home h1 { font-size: clamp(2.3rem, 4.7vw, 3.55rem); }
.hero h1 { font-weight: 800; letter-spacing: -0.035em; font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.hero .lead { color: rgba(255, 255, 255, 0.9); }
.hero .checks li strong { font-weight: 700; }
.hero .hero-cta { margin-bottom: 0; }
.hero.hero-home .hero-cta { margin-bottom: 18px; }
.banner { padding: 56px 0; }
.banner .title { font-weight: 800; letter-spacing: -0.03em; }

/* Dark bands everywhere */
.section.dark { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 50% -20%, rgba(99, 102, 241, 0.5), transparent 65%), #13123a; }

/* Cards and icons on the inner pages */
.card { border-radius: 18px; }
.card.soft { background: var(--surface); border: 1px solid var(--line); }
.card.soft h4 { color: var(--ink); }
.feature.badge img { border-radius: 14px; background: var(--brand); }
.card.feature { transition: transform 0.15s; }
.card.feature:hover { transform: translateY(-3px); }
.price-card { padding-top: 28px; }
.price { font-size: 2.5rem; letter-spacing: -0.03em; }
.section-head h2 { letter-spacing: -0.03em; }
.cta-band .inner { background: radial-gradient(600px 300px at 0% 0%, rgba(129, 140, 248, 0.6), transparent 60%), linear-gradient(120deg, #312e81, #4f46e5); }

/* Home: restored illustrations */
.band-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-bottom: 32px; }
.band-head h2 { margin: 0; color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.band-head img { max-height: 230px; width: auto; }
.steps + .art { margin-top: 40px; }
#use-cases .art { margin-bottom: 32px; max-height: 210px; }
.scenario { grid-template-columns: 0.9fr 1.1fr; }
.scenario-art { order: -1; max-height: 400px; margin-inline: auto; }

@media (max-width: 1024px) {
  .scenario { grid-template-columns: 1fr; }
  .scenario-art { order: 0; }
}
@media (max-width: 760px) {
  .band-head { grid-template-columns: 1fr; }
  .band-head img { max-height: 170px; margin-inline: auto; }
}

/* ---------- Inner pages, reading comfort and phone fixes (2026-09-30) ---------- */
/* Steps with four cards (product pages) */
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps h3 { font-size: 1.12rem; }
.narrow { max-width: 640px; margin: 0 auto 22px; }
.bento ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 0.96rem; }

/* Reading comfort for long pages */
.prose { font-size: 1.04rem; line-height: 1.75; max-width: 760px; }
.prose.wide { max-width: none; font-size: 1rem; line-height: 1.65; }
.prose p, .prose li { color: var(--text); }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.7em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose.legal { font-size: 1rem; }
.prose.legal h3 { scroll-margin-top: 130px; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 130px; }

/* Table of contents: sidebar on legal pages, card inside articles */
.with-toc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 124px; max-height: calc(100vh - 150px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 12px; background: var(--white); }
.toc h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--text); font-size: 0.9rem; line-height: 1.35; }
.toc a:hover { background: var(--surface); color: var(--brand); text-decoration: none; }
.toc-inline { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 24px 12px; margin-bottom: 2em; }
.prose .toc-inline h2 { font-size: 1.05rem; margin: 0 0 10px; }
.prose .toc-inline h2::after { display: none; }
.toc-inline ol { margin: 0; font-size: 0.97rem; }
.toc-inline a { text-decoration: none; }
.toc-inline a:hover { text-decoration: underline; }
.with-sidebar > article, .with-sidebar > div { min-width: 0; }
.sidebar { position: sticky; top: 124px; }

@media (max-width: 1024px) {
  .steps.four { grid-template-columns: repeat(2, 1fr); }
  .with-toc { grid-template-columns: 1fr; gap: 24px; }
  .toc, .sidebar { position: static; max-height: none; }
}
@media (max-width: 760px) {
  .steps.four { grid-template-columns: 1fr; }
}

/* Phone fixes */
@media (max-width: 760px) {
  .prose table, table.compare { table-layout: fixed; font-size: 0.86rem; }
  .prose th, .prose td { padding: 8px 8px; overflow-wrap: anywhere; }
  .hero { padding: 44px 0 52px; }
  .hero.hero-home { padding: 48px 0 110px; }
  .banner { padding: 36px 0; }
  .hero-cta .btn { flex: 1 1 auto; }
  .stub { font-size: 0.76rem; padding: 16px 16px 12px; }
  .home .callout.cta .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { gap: 24px; padding-top: 40px; }
}

/* Legal contents list: collapsed behind a tap on phones and tablets */
.toc-toggle { position: absolute; opacity: 0; pointer-events: none; }
.toc label { cursor: default; }
@media (max-width: 1024px) {
  .toc { padding: 0; }
  .toc h2 { margin: 0; }
  .toc label { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; cursor: pointer; min-height: 48px; }
  .toc label::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.15s; margin-right: 4px; }
  .toc ul { display: none; padding: 0 12px 12px; }
  .toc-toggle:checked ~ ul { display: block; }
  .toc-toggle:checked ~ h2 label::after { transform: rotate(-135deg); }
  .toc-toggle:focus-visible ~ h2 label { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--radius); }
}

/* Home: comparison, product cards, about */
.tick, .cross { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; flex: none; }
.tick svg, .cross svg { width: 14px; height: 14px; stroke-width: 3; }
.tick { background: #dcfce7; color: #15803d; }
.cross { background: #f1f5f9; color: #64748b; }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 28px 12px; max-width: 980px; margin-inline: auto; }
.compare-card h3 { text-align: center; margin-bottom: 18px; }
table.compare { border: 0; border-radius: 0; margin: 0; border-collapse: separate; border-spacing: 0; width: 100%; }
table.compare thead th { text-align: left; padding: 14px 18px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
table.compare thead th.us { background: var(--brand-soft); border-radius: 14px 14px 0 0; border-bottom-color: #d9dcfb; }
table.compare thead th.us img { height: 22px; width: auto; }
table.compare tbody th { text-align: left; padding: 15px 18px; color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.compare td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
table.compare td > span:last-child { display: inline; }
table.compare td .tick, table.compare td .cross { margin-right: 10px; vertical-align: -6px; }
table.compare td.us { background: var(--brand-soft); color: var(--ink); font-weight: 600; border-bottom-color: #d9dcfb; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:last-child td.us { border-radius: 0 0 14px 14px; }
.products { gap: 24px; }
.product { display: flex; flex-direction: column; padding: 28px 30px; transition: transform 0.15s; }
.product:hover { transform: translateY(-3px); }
.product header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product header .ico { background: var(--brand); color: var(--white); width: 48px; height: 48px; }
.product h3 { margin: 0 0 2px; font-size: 1.3rem; }
.product .tag { font-size: 0.82rem; font-weight: 700; color: var(--brand); }
.product h4 { font-size: 0.95rem; margin: 6px 0 10px; }
.product .ticks { margin-bottom: 14px; }
.product .ticks li { margin-bottom: 6px; }
.fine { font-size: 0.88rem; color: var(--muted); }
.product .more { margin-top: auto; padding-top: 8px; }
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about .card { padding: 28px 30px; }
.clarity-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.clarity-list li { margin: 0; display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
@media (max-width: 1024px) { .about { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 760px) {
  .compare-card { padding: 20px 14px 6px; }
  table.compare { table-layout: fixed; font-size: 0.84rem; }
  table.compare thead th, table.compare tbody th, table.compare td { padding: 10px 8px; white-space: normal; overflow-wrap: anywhere; }
  table.compare td .tick, table.compare td .cross { display: none; }
  table.compare thead th.us img { height: 16px; }
  .product { padding: 22px 20px; }
}
@media (min-width: 761px) {
  table.compare td { position: relative; padding-left: 54px; }
  table.compare td .tick, table.compare td .cross { position: absolute; left: 18px; top: 14px; margin: 0; }
}
@media (max-width: 760px) {
  table.compare thead th { font-size: 0.64rem; letter-spacing: 0.02em; overflow-wrap: normal; vertical-align: bottom; }
}

/* Home: "How Do I Create a Pay Stub?" walkthrough */
.how { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; gap: 28px; }
.how-row { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px 44px; }
.how-row:nth-child(even) .how-text { order: 2; }
.how-text .num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.7); }
.how-text h3 { font-size: 1.55rem; }
.how-text p { margin: 0; font-size: 1.05rem; }
.how-cta { margin: 32px 0 0; }
.how ~ .art { margin-top: 36px; }
.how ~ .fine { margin-top: 12px; }
.mock { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 0.85rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f2f9; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd3e6; }
.mock-bar span { margin-left: 8px; }
.mock-bar em { margin-left: auto; font-style: normal; font-size: 0.72rem; font-weight: 700; color: #92400e; background: #fef3c7; padding: 2px 9px; border-radius: 999px; }
.mock-body { padding: 16px; }
.mock.form .mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock .f.wide { grid-column: 1 / -1; }
.mock .f span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 3px; }
.mock .f b { display: block; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: var(--ink); font-weight: 500; background: var(--white); }
.mock .l { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid #f0f1f7; color: var(--text); font-variant-numeric: tabular-nums; }
.mock .l b { color: var(--ink); font-weight: 600; }
.mock .l.total { background: var(--brand-soft); border-radius: 10px; border: 0; padding: 10px 12px; margin: 8px 0 4px; font-weight: 700; color: var(--ink); }
.mock .l.total b { color: var(--brand); font-size: 1.05rem; }
.mock .l.muted { border: 0; color: var(--muted); font-size: 0.8rem; }
.mock.download .mock-body { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 22px 18px; }
.mock .pdf { width: 54px; height: 66px; border-radius: 8px; background: #fee2e2; color: #b91c1c; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: 0.8rem; }
.mock .file b { display: block; color: var(--ink); }
.mock .file span { color: var(--muted); font-size: 0.8rem; }
.mock .dl { grid-column: 1 / -1; text-align: center; background: var(--brand); color: var(--white); font-weight: 700; border-radius: 10px; padding: 10px; }
@media (max-width: 1024px) { .how-row { gap: 32px; padding: 28px; } }
@media (max-width: 760px) {
  .how-row { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .how-row:nth-child(even) .how-text { order: 0; }
  .how-text h3 { font-size: 1.3rem; }
}

/* Home blog section, footer contact */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; text-align: left; max-width: none; }
.split-head h2 { margin: 0; }
.split-head .more { white-space: nowrap; font-weight: 700; }
.post-card { display: flex; flex-direction: column; }
.post-card .more { margin-top: auto; font-weight: 700; }
.post-card h3 a { color: var(--ink); }
.foot-contact { margin: 18px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.foot-contact a { text-decoration: underline; text-underline-offset: 3px; }
#faq .btn-ghost { margin-left: 8px; }
@media (max-width: 760px) {
  .split-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  #faq .btn-ghost { margin: 10px 0 0; }
}
@media (min-width: 761px) and (max-width: 1100px) { .nav a { padding: 9px 9px; font-size: 0.98rem; } }

/* Home: fake pay stubs section */
.risks .card { padding: 24px; box-shadow: none; }
.risks .ico { background: #fef3c7; color: #b45309; margin-bottom: 14px; }
.risks h3 { font-size: 1.1rem; }
.risks p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Template gallery */
.tg-facts li { padding: 16px 20px; }
.tg-note { margin: 18px 0 0; }
.tg-radio { position: absolute; opacity: 0; pointer-events: none; }
.tg-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tg-filter label { cursor: pointer; padding: 9px 18px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.tg-filter label:hover { border-color: var(--brand); color: var(--brand); }
.tg-radio:focus-visible ~ .tg-filter { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 999px; }
.tg-card { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.tg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tg-shot { display: block; text-align: center; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.tg-shot:hover { text-decoration: none; color: var(--brand); }
.tg-shot img { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 6px 16px -10px rgba(16, 24, 40, 0.35); transition: transform 0.15s, box-shadow 0.15s; margin-bottom: 6px; }
.tg-shot:hover img { transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(16, 24, 40, 0.5); }
.tg-head .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.tg-head h3 { font-size: 1.12rem; margin-bottom: 4px; }
.tg-head p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.swatches { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; color: var(--muted); }
.swatches li { margin: 0; display: inline-flex; align-items: center; gap: 5px; }
.swatches i, .tg-strip figcaption i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0, 0, 0, 0.08); }
.tg-features { display: grid; gap: 24px; }
.tg-feature { padding: 26px 28px; }
.tg-feature .tg-head { margin-bottom: 18px; }
.tg-row { display: grid; gap: 14px; grid-template-columns: repeat(5, 1fr); }
.tg-row.n4 { grid-template-columns: repeat(4, 1fr); max-width: 80%; }
.tg-sub { margin: 28px 0 14px; font-size: 1.1rem; }
.tg-strip { margin: 0; }
.tg-strip img { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.tg-strip figcaption { margin-top: 8px; font-weight: 600; color: var(--ink); font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; }
.lightbox:target { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: auto minmax(0, 1fr); align-items: center; }
html.lb-open { overflow: hidden; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(11, 16, 38, 0.97); cursor: zoom-out; }
.lb-bar { grid-column: 1 / -1; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px 22px; color: var(--white); font-weight: 600; font-size: 0.95rem; pointer-events: none; }
.lb-close { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; flex: none; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); }
.lb-close b { font-size: 1.35rem; line-height: 1; }
.lb-close:hover { text-decoration: none; background: var(--accent); }
.lightbox figure { position: relative; margin: 0; height: 100%; min-height: 0; display: flex; align-items: flex-start; justify-content: center; overflow: auto; padding-bottom: 20px; pointer-events: none; }
.lightbox figure img { pointer-events: auto; max-height: 100%; width: auto; max-width: 100%; border-radius: 6px; background: var(--white); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.lb-nav { position: relative; justify-self: center; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: var(--white); font-size: 1.9rem; line-height: 1; padding-bottom: 4px; }
.lb-nav:hover { text-decoration: none; background: rgba(255, 255, 255, 0.32); }
@media (max-width: 760px) {
  .lightbox:target { grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(0, 1fr) auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 2; padding: 0 10px 10px; }
  .lightbox figure img { max-height: none; }
  .lb-nav { grid-row: 3; margin: 0 0 12px; }
  .lb-bar span { font-size: 0.82rem; }
}
.tpl-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.tpl-teaser .tg-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .tg-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-row, .tg-row.n4 { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .tpl-teaser { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .tg-grid { grid-template-columns: 1fr; }
  .tg-row, .tg-row.n4 { grid-template-columns: repeat(2, 1fr); }
  .tg-feature { padding: 20px 16px; }
}
@media (min-width: 761px) and (max-width: 1180px) { .nav a { padding: 9px 8px; font-size: 0.95rem; } .site-header .bar { gap: 12px; } }

/* Inner pages: trust bar under the hero, card sections from long-form copy, support layout */
.hero.has-trust { padding-bottom: 124px; }
.info-grid { align-items: stretch; }
.card.info { padding: 28px 30px; }
.card.info h2 { font-size: 1.3rem; margin-bottom: 10px; }
.card.info p:last-child, .topic-cards .card p:last-child { margin-bottom: 0; }
.card.info p, .topic-cards .card p, .topic-cards .card li { color: var(--muted); }
.card.info p strong { color: var(--ink); }
.topic-cards .card { padding: 24px 26px; box-shadow: none; }
.topic-cards .card h3 { font-size: 1.1rem; }
.topic-cards.cols-2 .card { padding: 20px 22px; }
.section.alt .card.info, .section.alt .topic-cards .card { background: var(--white); }
.section:not(.alt) .topic-cards .card { background: var(--surface); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.contact-panel { position: sticky; top: 124px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-panel h2 { color: var(--ink); font-size: 1.35rem; }
.contact-panel .clarity-list { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.92rem; gap: 8px; }
.contact-panel .clarity-list::before { content: "Helpful to include"; font-weight: 700; color: var(--ink); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-panel .clarity-list li { font-weight: 400; color: var(--text); padding-left: 16px; position: relative; display: block; }
.contact-panel .clarity-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.price-card { border-top: 4px solid var(--brand); }
.price-card:hover { transform: translateY(-3px); }
.price-card { transition: transform 0.15s; }
@media (max-width: 1024px) {
  .with-aside { grid-template-columns: 1fr; gap: 24px; }
  .contact-panel { position: static; }
}
@media (max-width: 760px) { .hero.has-trust { padding-bottom: 104px; } .card.info { padding: 22px 20px; } }
.callout.honest { background: var(--white); border-color: var(--line); border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.callout.honest h2 { color: var(--ink); }

/* FAQ, blog and legal pages */
.banner.rich { padding: 60px 0 64px; }
.banner .eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); margin: 0 0 16px; color: var(--white); }
.banner.rich .title { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 22ch; }
.banner.rich p { font-weight: 500; max-width: 760px; }
.banner.rich a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.banner-lead { font-size: 1.08rem; color: rgba(255, 255, 255, 0.88); line-height: 1.6; }
.chip { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); margin-right: 8px; vertical-align: 1px; }
.chip.light { background: rgba(255, 255, 255, 0.14); color: var(--white); text-transform: none; letter-spacing: 0; font-size: 0.85rem; font-weight: 600; }

/* FAQ */
.topics-nav { position: sticky; top: 124px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); padding: 18px; }
.topics-nav h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.topics-nav .topics { position: static; border: 0; padding: 0; counter-reset: topic; }
.topics a { background: transparent; border: 1px solid transparent; font-weight: 600; }
.topics a:hover { background: var(--brand-soft); color: var(--brand); border-color: #d9dcfb; }
.topics span { background: var(--surface); border-radius: 999px; padding: 1px 9px; font-size: 0.8rem; opacity: 1; color: var(--muted); }
.faq-topic { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 28px; margin-bottom: 24px; }
.faq-topic h2 { color: var(--ink); font-size: 1.35rem; margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--accent); }
.faq details[open] { border-color: #c7caf5; box-shadow: var(--shadow); }
.faq details[open] summary { color: var(--brand); }
.faq summary:hover { color: var(--brand); }
.help-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(120deg, #312e81, #4f46e5); border: 0; color: rgba(255, 255, 255, 0.9); }
.help-card h2 { color: var(--white); margin-bottom: 4px; }
.help-card p { margin: 0; }
.help-card .btn { background: var(--white); color: var(--ink); flex: none; box-shadow: none; }

/* Blog */
.posts .post-card:first-child { grid-column: 1 / -1; padding: 34px 36px; background: linear-gradient(135deg, var(--brand-soft), var(--white) 60%); }
.posts .post-card:first-child h3 { font-size: 1.7rem; max-width: 26ch; }
.posts .post-card:first-child p { max-width: 70ch; }
.post-card { transition: transform 0.15s; }
.post-card:hover { transform: translateY(-3px); }
.post-card .post-meta { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.topics-head { margin-top: 56px; }
.topic-cards .card h3 a { color: var(--ink); }
.topic-cards .card h3 a::after { content: " \2192"; color: var(--brand); }
.post-banner .crumbs { color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
.post-banner .crumbs a { text-decoration: none; font-weight: 600; }
.post-banner .crumbs span { color: rgba(255, 255, 255, 0.5); }
.post-banner .title { max-width: 26ch; font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.post-banner .post-meta { color: rgba(255, 255, 255, 0.85); margin: 16px 0 0; }
.with-sidebar > article .prose > p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.prose blockquote { background: var(--surface); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.sidebar .card { box-shadow: none; }
.sidebar .card h3 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sidebar .promo h3 { color: rgba(255, 255, 255, 0.8); }
.callout.empty { text-align: center; background: var(--surface); border: 1px dashed #cfd3e6; padding: 40px 24px; }
.callout.empty h2 { color: var(--ink); font-size: 1.2rem; }

/* Legal */
.legal-tabs { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 108px; z-index: 40; }
.legal-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; }
.legal-tabs li { margin: 0; flex: none; }
.legal-tabs a { display: block; padding: 14px 16px; color: var(--muted); font-weight: 600; font-size: 0.95rem; border-bottom: 3px solid transparent; }
.legal-tabs a:hover { color: var(--brand); text-decoration: none; }
.legal-tabs a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.prose.doc { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px 48px; box-shadow: var(--shadow); max-width: 820px; }
.prose.doc > h2:first-child { font-size: 1.5rem; }
.with-toc .toc { top: 176px; max-height: calc(100vh - 200px); }
.prose.legal h3 { scroll-margin-top: 180px; }
.banner.rich + .legal-tabs + .section { background: var(--surface); }
@media (max-width: 1024px) {
  .topics-nav { position: static; padding: 0; }
  .topics-nav h2 { margin: 0; }
  .topics-nav label { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; cursor: pointer; min-height: 48px; }
  .topics-nav label::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin-right: 4px; }
  .topics-nav .topics { display: none; padding: 0 12px 12px; }
  .topics-nav .toc-toggle:checked ~ .topics { display: block; }
  .legal-tabs { position: static; }
  .with-toc .toc { top: auto; }
}
@media (max-width: 760px) {
  .banner.rich { padding: 40px 0 44px; }
  .faq-topic { padding: 18px 14px 20px; }
  .help-card { flex-direction: column; align-items: flex-start; }
  .posts .post-card:first-child { padding: 24px 22px; }
  .posts .post-card:first-child h3 { font-size: 1.35rem; }
  .prose.doc { padding: 24px 20px; border-radius: 16px; }
}
.topics a { align-items: center; gap: 10px; }
.topics span { flex: none; }

/* Phone pass (2026-09-30): compact header, document links inside the menu, larger tap targets */
@media (max-width: 760px) {
  .site-header .bar { padding: 8px 0; }
  .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .subnav ul { flex-direction: column; gap: 2px; padding: 8px 0 10px; }
  .subnav a { padding: 11px 14px; font-size: 1rem; border-radius: 10px; }
  .subnav ul::before { content: "Create a document"; color: rgba(255, 255, 255, 0.6); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 14px; }
  .nav a { padding: 12px 14px; }
  .nav-toggle:checked ~ .nav { max-height: none; }
  .more, .post-card .more, .product .more { display: inline-flex; align-items: center; min-height: 44px; }
  .resource a { display: inline-block; padding: 11px 0; }
  .topic-cards .card h3 a, .post-card h3 a, .sidebar li a, .toc a, .toc-inline a { display: inline-block; padding-block: 10px; }
  table.compare thead th { font-size: 0.72rem; }
  .site-footer li { margin-bottom: 2px; }
  .site-footer li a { display: inline-block; padding: 9px 0; }
  .crumbs a { display: inline-block; padding: 11px 0; }
  .legal-tabs a { padding: 14px 12px; }
  .tg-filter label { padding: 10px 16px; }
  .swatches { font-size: 0.82rem; }
}
/* The document links move into the menu on phones where the browser supports :has() */
@supports selector(:has(*)) {
  @media (max-width: 760px) {
    .subnav { display: none; }
    .site-header:has(.nav-toggle:checked) .subnav { display: block; }
    .site-header:has(.nav-toggle:checked) { max-height: 100vh; overflow-y: auto; }
    .legal-tabs, .topics-nav, .toc, .sidebar, .contact-panel { top: auto; }
  }
}
@media (max-width: 760px) {
  .toc-inline a { display: inline; padding-block: 0; }
  .toc-inline li { padding: 7px 0; margin: 0; }
  .hero.has-trust { padding-bottom: 124px; }
  .post-banner .post-meta .chip { display: table; margin: 0 0 8px; }
}
/* Overlay: no sideways jump when the page scrollbar hides, and a solid backdrop on phones */
html { scrollbar-gutter: stable; }
@media (max-width: 760px) { .lb-backdrop { background: #0b1026; } }
/* Overlay on phones: open the page large enough to read and let the visitor pan around it */
@media (max-width: 760px) {
  .lightbox:target { grid-template-columns: auto 1fr auto; grid-template-rows: auto minmax(0, 1fr) auto; }
  .lightbox .lb-bar { grid-row: 1; grid-column: 1 / -1; }
  .lightbox figure { grid-row: 2; grid-column: 1 / -1; display: block; overflow: auto; padding: 0; margin: 0 8px; pointer-events: auto; border-radius: 8px; background: var(--white); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; }
  .lightbox figure img { width: 800px; max-width: none; max-height: none; height: auto; border-radius: 0; box-shadow: none; }
  .lightbox .lb-prev { grid-row: 3; grid-column: 1; margin: 10px 0 12px 16px; }
  .lightbox .lb-next { grid-row: 3; grid-column: 3; margin: 10px 16px 12px 0; }
  .lightbox:target::after { content: "Drag to move around the page"; grid-row: 3; grid-column: 2; position: relative; align-self: center; text-align: center; color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; font-weight: 600; }
}

/* Audit fixes (2026-09-30) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-12 { margin-top: 12px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; } .mt-56 { margin-top: 56px; }
.measure { max-width: 820px; }
.faq .answer h3 { font-size: 1.02rem; margin: 1.1em 0 0.4em; }
/* menu toggle stays reachable by keyboard and screen readers */
.nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (min-width: 761px) { .nav-toggle { display: none; } }
a:focus-visible, summary:focus-visible, .btn:focus-visible, label:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.hero a:focus-visible, .banner a:focus-visible, .site-footer a:focus-visible, .subnav a:focus-visible, .section.dark a:focus-visible, .cta-band a:focus-visible { outline-color: var(--accent); }
/* gallery: swatch colors and family filter */
.sw { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0, 0, 0, 0.08); }
.sw-blue { background: #1f4e9c; } .sw-indigo { background: #4f46e5; } .sw-green { background: #1d6b4f; } .sw-burgundy { background: #8a2742; } .sw-slate { background: #475569; } .sw-black { background: #1a1a1a; }
#tg-classic:checked ~ .tg-grid .tg-card:not([data-family="Classic"]), #tg-compact:checked ~ .tg-grid .tg-card:not([data-family="Compact"]),
#tg-modern:checked ~ .tg-grid .tg-card:not([data-family="Modern"]), #tg-itemized:checked ~ .tg-grid .tg-card:not([data-family="Itemized"]) { display: none; }
#tg-all:checked ~ .tg-filter label[for="tg-all"], #tg-classic:checked ~ .tg-filter label[for="tg-classic"], #tg-compact:checked ~ .tg-filter label[for="tg-compact"],
#tg-modern:checked ~ .tg-filter label[for="tg-modern"], #tg-itemized:checked ~ .tg-filter label[for="tg-itemized"] { background: var(--brand); color: #fff; border-color: var(--brand); }
/* Sticky offsets follow the real desktop header height (126px) so nothing slides under it */
:root { --header-h: 126px; }
@media (min-width: 1025px) {
  .legal-tabs { top: var(--header-h); }
  .with-toc .toc { top: calc(var(--header-h) + 66px); max-height: calc(100vh - var(--header-h) - 90px); }
  .topics-nav, .sidebar, .contact-panel, .topics { top: calc(var(--header-h) + 18px); }
}
.faq-topic, .prose h2[id], .prose h3[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose.legal h3 { scroll-margin-top: calc(var(--header-h) + 70px); }
@media (max-width: 760px) { :root { --header-h: 61px; } .prose.legal h3 { scroll-margin-top: 80px; } }

/* Gallery: tax forms and document tiles */
.doc-tiles strong { font-size: 1.35rem; }
.doc-tiles em { font-size: 0.85rem; }
.tg-form .tg-shot img { aspect-ratio: 85 / 62; object-fit: cover; object-position: top; }
.tg-form .more { margin-top: auto; font-weight: 700; }
#tax-forms .tg-grid .tg-card { display: flex; }
#included .card { box-shadow: none; }
@media (max-width: 760px) { .doc-tiles { grid-template-columns: 1fr 1fr; } }

/* Home: "Why Choose PayStubsKit?" band with a livelier background */
.home .section.dark {
  background:
    radial-gradient(560px 320px at 8% -6%, rgba(255, 179, 15, 0.26), transparent 62%),
    radial-gradient(720px 440px at 96% 4%, rgba(129, 140, 248, 0.60), transparent 62%),
    radial-gradient(560px 400px at 72% 112%, rgba(236, 72, 153, 0.36), transparent 64%),
    radial-gradient(480px 360px at 18% 108%, rgba(45, 212, 191, 0.26), transparent 64%),
    linear-gradient(135deg, #0d0c2b 0%, #1e1b4b 46%, #312e81 100%);
}
.home .section.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%); }
.home .section.dark::after { content: ""; position: absolute; width: 620px; height: 620px; right: -210px; bottom: -330px; border-radius: 50%; pointer-events: none;
  border: 120px solid rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025); animation: psk-drift 22s ease-in-out infinite alternate; }
@keyframes psk-drift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-70px, -40px, 0) rotate(12deg); } }
.home .section.dark > .wrap { position: relative; z-index: 1; }
.home .section.dark .kicker { color: #fcd34d; }
.home .section.dark .band-head h2 { background: linear-gradient(90deg, #ffffff 30%, #c7d2fe 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home .section.dark .card.glass { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)); border-color: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7); }
.home .section.dark .card.glass::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #818cf8 60%, transparent); }
.home .section.dark .card.glass:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.home .section.dark .card.glass .ico { background: linear-gradient(135deg, var(--accent), #f97316); color: #1b1400; }
.home .section.dark .callout.cta { background: linear-gradient(90deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: reduce) { .home .section.dark::after { animation: none; } }
