@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
}

:root {
  --ink: #071f2c;
  --ink-2: #11394a;
  --jade: #087f5b;
  --jade-dark: #056349;
  --lime: #b7e43a;
  --paper: #fbf8ef;
  --paper-2: #f2eee1;
  --white: #ffffff;
  --coral: #ee725f;
  --text: #102631;
  --muted: #607079;
  --line: #d9dfd9;
  --line-dark: #294652;
  --nav-bg: rgba(255,255,255,.97);
  --max: 1220px;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: clip; background: var(--white); color: var(--text); font: 400 1rem/1.65 var(--body); }
main, header, footer, section, article, nav, .container { min-width: 0; max-width: 100%; }
html.menu-open { height: 100%; overflow: hidden; overscroll-behavior: none; }
body.menu-open { position: fixed; right: 0; left: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; touch-action: none; }
body.menu-open .site-header { position: fixed; top: 0; right: 0; left: 0; width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 5.6vw, 48px); line-height: .98; }
h2 { font-size: clamp(24px, 3.2vw, 28px); line-height: 1.1; }
h3 { font-size: 1.18rem; line-height: 1.25; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .7rem 1rem; background: var(--lime); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 200; height: 78px; background: var(--nav-bg); border: 0; }
.nav-row { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: block; width: 165px; flex: 0 0 auto; }
.brand img { width: 100%; aspect-ratio: 3/1; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 1.85rem; margin-left: auto; font-size: .9rem; font-weight: 600; }
.desktop-nav > a { padding: .5rem 0; }
.desktop-nav > a:hover, .nav-trigger:hover { color: var(--jade); }
.nav-group { position: relative; }
.nav-group::after { content: ""; position: absolute; top: 100%; left: -.5rem; width: calc(100% + 1rem); height: 12px; }
.nav-trigger { display: flex; align-items: center; gap: .45rem; min-height: 42px; padding: .45rem .25rem; border: 0; background: none; color: var(--text); cursor: pointer; font-weight: 700; transition: color .16s ease; }
.nav-v { display: grid; place-items: center; width: 16px; height: 12px; color: var(--jade-dark); }
.nav-v svg { width: 16px; height: 10px; stroke-width: 2.2; }
.nav-trigger:hover .nav-v, .nav-trigger:focus-visible .nav-v, .nav-trigger[aria-expanded="true"] .nav-v { color: var(--jade-dark); transform: none; }
.nav-dropdown { position: fixed; top: 78px; left: 50%; display: grid; grid-template-columns: 210px minmax(0, 1fr); width: min(720px, calc(100% - 2.5rem)); max-height: calc(100dvh - 96px); padding: 0; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; transform: translate(-50%, -6px); background: var(--white); border: 1px solid var(--line); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown, .nav-group.open .nav-dropdown { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-dropdown-tools { width: min(720px, calc(100% - 2.5rem)); }
.nav-dropdown-guides { width: min(620px, calc(100% - 2.5rem)); }
.nav-route-panel { display: flex; flex-direction: column; min-height: 100%; padding: 1.35rem; background: var(--ink); color: var(--white); }
.nav-route-panel > strong { color: var(--white); font: 700 1.08rem/1.25 var(--display); letter-spacing: -.025em; }
.nav-route-panel > p { margin-top: .55rem; color: #bed0d4; font-size: .72rem; line-height: 1.5; }
.nav-route-panel > a { display: flex; align-items: center; gap: .55rem; margin-top: auto; padding-top: 1.2rem; color: var(--lime); font-size: .74rem; font-weight: 700; }
.nav-destination-list { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: .25rem 1rem; min-width: 0; padding: 1rem 1.15rem; }
.nav-dropdown-guides .nav-destination-list { grid-template-columns: 1fr; }
.nav-destination { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .65rem; align-items: center; padding: .55rem 0; }
.nav-destination-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--jade-dark); transition: color .16s ease, transform .16s ease; }
.nav-destination-icon svg { width: 26px; height: 26px; stroke-width: 1.7; }
.nav-destination > span:last-child { display: grid; min-width: 0; }
.nav-destination a { color: var(--ink); font: 700 .78rem/1.25 var(--display); }
.nav-destination small { margin-top: .15rem; color: var(--muted); font-size: .62rem; line-height: 1.25; overflow-wrap: anywhere; white-space: normal; }
.nav-destination:has(a:hover) .nav-destination-icon, .nav-destination:has(a:focus-visible) .nav-destination-icon { color: var(--jade); transform: translateX(2px); }
.nav-destination a:hover { color: var(--jade-dark); text-decoration: underline; text-underline-offset: .2em; }
.nav-cta { padding: .7rem 1rem; background: var(--ink); color: var(--white); font-size: .84rem; font-weight: 700; }
.nav-cta:hover { background: var(--jade); }
.menu-button { display: none; align-items: center; justify-content: center; gap: .55rem; min-width: 96px; height: 42px; padding: 0 .9rem; border: 0; background: var(--ink); color: var(--white); cursor: pointer; }
.menu-word { font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.menu-lines { position: relative; width: 20px; height: 16px; }
.menu-lines i { position: absolute; right: 0; width: 20px; height: 2px; background: currentColor; transition: transform .18s ease, top .18s ease, width .18s ease; }
.menu-lines i:first-child { top: 4px; }
.menu-lines i:last-child { top: 11px; width: 14px; }
.menu-button:hover, .menu-button.open { background: var(--jade); color: var(--white); }
.menu-button.open .menu-lines i { top: 7px; width: 19px; }
.menu-button.open .menu-lines i:first-child { transform: rotate(45deg); }
.menu-button.open .menu-lines i:last-child { transform: rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 78px; right: 0; bottom: 0; left: 0; z-index: 190; width: 100%; height: calc(100vh - 78px); height: calc(100dvh - 78px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; touch-action: pan-y; background: var(--paper); color: var(--text); }
.mobile-menu.open { display: block; animation: menu-in .16s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu-inner { min-height: 100%; padding-block: .75rem max(1.25rem, env(safe-area-inset-bottom)); }
.mobile-menu-lead { padding: 1.1rem; overflow: hidden; background: var(--ink); color: var(--white); }
.mobile-intro strong { display: block; color: var(--white); font: 700 1.05rem/1.25 var(--display); letter-spacing: -.025em; }
.mobile-intro p { margin-top: .3rem; color: #bed0d4; font-size: .76rem; line-height: 1.45; }
.mobile-primary { display: flex; align-items: center; min-height: 48px; margin-top: .55rem; padding: .8rem 1.1rem; background: var(--jade); color: var(--white); }
.mobile-primary strong { font: 700 1rem var(--display); }
.mobile-primary:hover { background: var(--jade-dark); }
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .55rem; }
.mobile-grid details { overflow: hidden; background: var(--white); }
.mobile-grid summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px; padding: .8rem 1.1rem; cursor: pointer; list-style: none; color: var(--ink); font: 700 .92rem var(--display); }
.mobile-grid summary::-webkit-details-marker { display: none; }
.mobile-grid summary small { color: var(--muted); font: 600 .68rem var(--body); letter-spacing: 0; }
.mobile-grid details[open] summary { background: var(--ink); color: var(--white); }
.mobile-grid details[open] summary small { color: #bed0d4; }
.mobile-grid details > div { display: grid; gap: .4rem; padding: 0 .55rem .55rem; }
.mobile-grid details[open] > div { padding-top: .55rem; }
.mobile-destination { padding: .78rem; background: var(--paper); }
.mobile-destination > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-destination:has(a:hover) { background: #e9f5f0; }
.mobile-destination > a:hover { color: var(--jade-dark); }
.mobile-grid strong { font-size: .8rem; }
.mobile-grid small { display: block; margin-top: .15rem; color: var(--muted); font-size: .66rem; line-height: 1.35; }
.mobile-utility { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-top: .55rem; font-size: .72rem; }
.mobile-utility a { display: grid; place-items: center; min-height: 44px; padding: .6rem; background: var(--white); color: var(--ink); text-align: center; font-weight: 700; }
.mobile-utility a:hover { background: var(--ink); color: var(--white); }

.hero { overflow: hidden; background: var(--paper); }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero-copy { position: relative; z-index: 2; padding-block: 4rem; }
.hero-copy h1 { max-width: none; font-size: clamp(40px, 4.4vw, 48px); line-height: 1.02; }
.hero-copy > p { max-width: none; margin-top: 1.5rem; color: #3f555e; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 50px; padding: .8rem 1.15rem; border: 1px solid transparent; cursor: pointer; font-weight: 700; }
.button-primary { background: var(--jade); color: var(--white); }
.button-primary:hover { background: var(--jade-dark); }
.text-link { border-bottom: 1px solid var(--ink); font-weight: 700; }
.text-link:hover { color: var(--jade); border-color: var(--jade); }
.hero-facts { display: flex; gap: 0; margin: 2.5rem 0 0; }
.hero-facts div { padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid #cbd2cc; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { color: var(--muted); font-size: .68rem; }
.hero-facts dd { margin: 0; font: 700 .8rem var(--display); }
.hero-media { width: min(100%, 420px); margin: 0; justify-self: end; overflow: hidden; background: var(--white); }
.hero-media img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; }

.quick-calc { background: var(--ink); color: var(--white); }
.quick-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; align-items: center; padding-block: 2.3rem; }
.quick-grid h2 { color: var(--white); font-size: 1.5rem; }
.quick-grid > div p { max-width: 420px; margin-top: .5rem; color: #b9c7ca; font-size: .88rem; }
.quick-form { display: grid; grid-template-columns: minmax(200px,.8fr) minmax(240px,1fr) auto; gap: 1rem; align-items: end; }
.quick-form label, .calculator-form label { color: #b7c5c9; font-size: .72rem; font-weight: 600; }
.money-input { display: flex; align-items: center; overflow: hidden; margin-top: .35rem; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.money-input > span { padding: 0 .65rem; color: var(--jade); font-weight: 700; }
.money-input input { width: 100%; min-width: 0; padding: .65rem .65rem .65rem 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 700; }
.plain-input { display: flex; align-items: center; overflow: hidden; margin-top: .3rem; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.plain-input input { width: 100%; min-width: 0; padding: .62rem; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 700; }
.plain-input > span { padding-right: .65rem; color: var(--jade-dark); font-weight: 700; }
.additional-calculator-form > label > input[type="time"] { width: 100%; margin-top: .3rem; padding: .62rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.home-tool-directory { margin-top: 1.5rem; padding: 1.25rem; background: var(--paper); }
.home-tool-directory h3 { font-size: 1rem; }
.home-tool-directory ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem 1.25rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.home-tool-directory a { color: var(--ink); font-size: .78rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.quick-result { display: grid; padding: .2rem 0; }
.quick-result span { color: #aab9bd; font-size: .68rem; }
.quick-result strong { color: var(--lime); font: 700 1.65rem/1.2 var(--display); }
.quick-result small { color: #849aa2; font-size: .62rem; }
.quick-form > a { display: flex; align-items: center; gap: .5rem; color: var(--white); font-size: .76rem; font-weight: 700; }

.home-proof { padding-bottom: 2rem; }
.home-proof-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1rem; }
.home-proof-grid > div { padding: 1.5rem; background: var(--paper); }
.home-proof-grid h3 { margin: 0; }
.home-proof-checks ul { padding-left: 1.2rem; margin: 1.2rem 0 0; }
.home-proof-checks li + li { margin-top: .65rem; }
.home-proof-checks p { margin-top: 1.2rem; color: var(--muted); }
.home-proof-checks a { color: var(--jade-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-head p { max-width: 620px; margin-top: .7rem; color: var(--muted); }
.section-head > a { flex: 0 0 auto; color: var(--jade); border-bottom: 1px solid var(--jade); font-weight: 700; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.tool-card { position: relative; min-height: 280px; padding: 1.35rem; background: var(--paper); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.tool-card:hover { border-color: var(--jade); transform: translateY(-2px); }
.tool-card h2, .tool-card h3 { margin-top: 0; }
.tool-card p { margin-top: .65rem; color: var(--muted); font-size: .86rem; }
.card-action { position: absolute; left: 1.35rem; bottom: 1.15rem; color: var(--jade); font-size: .7rem; font-weight: 700; }
.card-title-link:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.tools-directory { padding-block: 1.5rem 4rem; }
.page-hero-compact { padding-bottom: 1.75rem; }
.page-hero-compact h1 { font-size: clamp(36px, 4vw, 48px); line-height: 1.02; }
.page-hero-compact > p { margin-top: 1rem; max-width: 900px; font-size: 1rem; }
.tool-grid-page { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.tool-grid-page .tool-card { min-height: 215px; padding: 1.2rem; }
.tool-card-heading { display: flex; align-items: flex-start; gap: .7rem; }
.tool-card-icon { display: grid; flex: 0 0 auto; place-items: center; width: 1.35rem; height: 1.35rem; margin-top: .08rem; color: var(--jade-dark); }
.tool-card-icon svg { width: 100%; height: 100%; stroke-width: 1.8; }
.tool-grid-page .tool-card h2 { font-size: 1.05rem; line-height: 1.25; letter-spacing: -.025em; }
.tool-grid-page .tool-card p { margin-top: .75rem; font-size: .78rem; line-height: 1.5; }
.tool-grid-page .card-action { left: 1.2rem; bottom: 1rem; font-size: .65rem; }

.ink-section { padding-block: 5rem; background: var(--ink); color: var(--white); }
.path-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.path-intro h2 { color: var(--white); }
.path-intro p { margin-top: 1rem; color: #afc0c5; }
.path-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.path-steps article { padding-top: 1rem; }
.path-steps h3 { margin-top: 0; color: var(--white); }
.path-steps p { margin-top: .6rem; color: #afc0c5; font-size: .82rem; }

.magazine { background: var(--white); }
.mag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.story-card { position: relative; min-height: 260px; padding: 1.4rem; border: 1px solid var(--line); }
.story-card:hover { border-color: var(--jade); }
.story-lead { grid-column: span 2; grid-row: span 2; min-height: 535px; padding: 2rem; background: var(--paper); }
.story-card h3 { margin-top: 0; }
.story-lead h3 { max-width: 600px; font-size: clamp(2rem, 4vw, 3.6rem); }
.story-card p { margin-top: .8rem; color: var(--muted); font-size: .83rem; }
.story-lead p { max-width: 650px; font-size: 1rem; }
.story-card small { position: absolute; left: 1.4rem; bottom: 1.2rem; color: var(--muted); font-size: .65rem; }
.story-lead small { left: 2rem; }

.home-library { padding-block: clamp(4rem, 7vw, 6rem); background: var(--paper); }
.home-library .section-head { margin-bottom: 1.5rem; }
.home-library-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.home-library-grid section { padding: 1.25rem; background: var(--white); }
.home-library-grid h3 { font-size: 1rem; letter-spacing: -.02em; }
.home-library-grid ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.home-library-grid li + li { margin-top: .65rem; }
.home-library-grid a { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.home-library-grid a:hover { color: var(--jade-dark); text-decoration: underline; text-underline-offset: .2em; }

.source-section { padding-block: 4rem; background: var(--lime); }
.source-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; }
.source-grid > div > p { max-width: 560px; margin-top: 1rem; }
.source-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.source-list a { padding: 1.25rem; background: var(--ink); color: var(--white); }
.source-list a:hover { background: var(--jade-dark); }
.source-list strong, .source-list span { display: block; }
.source-list strong { font-family: var(--display); }
.source-list span { margin-top: .25rem; color: #b8c8cc; font-size: .72rem; }

.page-hero { padding-block: clamp(3.5rem, 8vw, 7rem) 2.5rem; }
.page-hero h1 { max-width: none; font-size: clamp(40px, 5vw, 48px); }
.page-hero > p { max-width: none; margin-top: 1.3rem; color: var(--muted); font-size: 1.15rem; }
.primary-visual { width: min(calc(100% - 2.5rem), 520px); margin: -1rem max(1.25rem, calc((100% - var(--max)) / 2)) clamp(2.5rem, 5vw, 3.5rem) auto; overflow: hidden; background: var(--paper); }
.primary-visual img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.editorial-visual-band { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); min-height: 300px; margin-bottom: 3rem; overflow: hidden; background: var(--ink); }
.editorial-visual-copy { display: flex; justify-content: center; flex-direction: column; padding: clamp(1.5rem, 4vw, 3rem); color: #c4d1d4; }
.editorial-visual-copy h2 { color: var(--white); font-size: 1.45rem; }
.editorial-visual-copy p { margin-top: 1rem; font-size: .9rem; line-height: 1.65; }
.editorial-visual-copy a { color: var(--lime); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.editorial-visual-band > .primary-visual { width: 100%; height: 100%; min-height: 300px; margin: 0; background: var(--ink-2); }
.editorial-visual-band > .primary-visual img { width: 100%; height: 100%; min-height: 300px; aspect-ratio: auto; object-fit: cover; object-position: center; }
.direct-answer { max-width: none; color: var(--text); font-size: 1.08rem; line-height: 1.6; }
.direct-answer strong { color: var(--jade-dark); font-family: var(--display); }
.breadcrumb-bar { background: var(--nav-bg); border: 0; box-shadow: none; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin: 0; padding: .7rem 0; color: var(--muted); font-size: .85rem; }
.breadcrumb a { color: var(--jade-dark); }
.breadcrumb a:hover { color: var(--jade); text-decoration: underline; }
.breadcrumb .sep { color: #8b989e; }
#main-content > .breadcrumb-bar + .page-hero { padding-top: clamp(1.1rem, 1.5vw, 1.75rem); }
#main-content > .breadcrumb-bar + .article-page > .article-header { padding-top: clamp(1.1rem, 1.5vw, 1.75rem); }
#main-content > .breadcrumb-bar + .article-page > .guide-reconciliation-header,
#main-content > .breadcrumb-bar + .article-page > .guide-calculation-header,
#main-content > .breadcrumb-bar + .article-page > .guide-records-header { padding-top: clamp(1.1rem, 1.5vw, 1.75rem); }
.tool-page { --tool-accent: var(--jade); }
.tool-layout-tax-layers { --tool-accent: #087154; }
.tool-layout-offer-duel, .tool-layout-raise-delta, .tool-layout-bonus-waterfall { --tool-accent: #c95141; }
.tool-layout-income-portfolio, .tool-layout-capacity-rate { --tool-accent: var(--jade-dark); }
.tool-hero { padding-block: clamp(1.75rem, 4vw, 3.25rem) 2rem; }
.tool-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tool-hero-copy { min-width: 0; }
.tool-hero h1 { max-width: none; font-size: clamp(40px, 4.6vw, 48px); line-height: 1.02; }
.tool-hero .direct-answer { max-width: 850px; margin-top: 1rem; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.tool-hero-visual { width: min(100%, 360px); margin: 0; justify-self: end; overflow: hidden; background: var(--paper); }
.tool-hero-visual img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.tool-intent-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: .8rem; margin-bottom: 2.5rem; }
.tool-worked-example { margin-bottom: 2.5rem; padding: 1.5rem; background: var(--paper); }
.tool-worked-example h2 { margin-bottom: .75rem; }
.tool-worked-example p { max-width: none; margin-top: .7rem; color: var(--muted); }
.worked-inputs, .worked-outputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-top: 1rem; }
.worked-inputs div, .worked-outputs div { padding: .8rem; background: var(--white); }
.worked-inputs dt, .worked-outputs dt { color: var(--muted); font-size: .8rem; }
.worked-inputs dd, .worked-outputs dd { margin: .2rem 0 0; font-weight: 800; }
.tool-answer, .tool-checks, .tool-scope { padding: 1.25rem; }
.tool-answer { background: var(--paper); }
.tool-answer h2, .tool-checks h2 { font-size: 1.25rem; line-height: 1.25; }
.tool-answer > p { margin-top: .65rem; color: var(--muted); font-size: .84rem; }
.tool-answer .context-path { margin-bottom: 0; color: var(--ink); }
.tool-checks { background: var(--ink); color: var(--white); }
.tool-checks h2, .tool-checks h3 { color: var(--white); }
.tool-checks > div { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: .85rem; }
.tool-checks article { padding: .85rem; background: #0b2938; }
.tool-checks h3 { font-size: .86rem; }
.tool-checks p { margin-top: .35rem; color: #bed0d4; font-size: .72rem; line-height: 1.5; }
.tool-scope { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin: 0; background: var(--paper-2); }
.tool-scope div { padding: .9rem; background: var(--white); }
.tool-scope dt { color: var(--jade-dark); font-size: .66rem; font-weight: 700; }
.tool-scope dd { margin: .3rem 0 0; font-size: .76rem; line-height: 1.45; }
.tool-chooser { padding-bottom: 4rem; }
.tool-chooser h2 { margin-top: 0; }
.method-block { padding-block: 1rem 6rem; }
.method-block > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.method-block article { padding: 1.3rem; background: var(--paper); }
.method-block p { margin-top: .5rem; color: var(--muted); font-size: .85rem; }

.calculator-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: .8rem; align-items: stretch; padding-bottom: 2.5rem; }
.calculator-form { display: grid; align-content: start; gap: .9rem; padding: 1.35rem; background: var(--ink); color: var(--white); }
.calculator-form h2 { margin-bottom: .2rem; color: var(--white); font-size: 1.25rem; }
.calculator-form label { display: grid; }
.calculator-form > label > input, .calculator-form select, .comparison-inputs label > input { width: 100%; margin-top: .3rem; padding: .62rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.calculator-form .button { justify-self: start; }
.form-help { color: #a9bac0; font-size: .68rem; line-height: 1.5; }
.comparison-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.calculator-output { padding: clamp(1.35rem, 2.5vw, 2rem); background: var(--paper); }
.calculator-output > span { color: var(--muted); font-size: .75rem; font-weight: 600; }
.calculator-output > strong { display: block; margin-top: .2rem; color: var(--tool-accent); font: 800 clamp(2.4rem, 4.2vw, 4rem)/1 var(--display); letter-spacing: -.055em; }
.calculator-output > p { margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.calculator-output dl { display: grid; gap: .35rem; margin: 1.4rem 0 0; }
.calculator-output dl div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem; background: var(--white); }
.calculator-output dt { color: var(--muted); font-size: .78rem; }
.calculator-output dd { margin: 0; font-weight: 700; }
.calculator-output .employer-row { margin-top: .5rem; padding-inline: .75rem; background: #e5f1e9; border: 0; }
.calculator-output .employer-row dt { color: #52636c; }
.output-note { margin-top: 1rem; padding: .85rem; background: var(--white); border-left: 4px solid var(--coral); }
.output-note strong { font-family: var(--display); }
.output-note p { margin-top: .25rem; color: var(--muted); font-size: .75rem; }
.calculator-shell-additional { display: block; }
.additional-calculator { --calc-accent: var(--jade); width: 100%; }
.additional-calculator .calculator-form { gap: 1rem; }
.additional-calculator .calculator-form-intro p, .additional-calculator .calculator-guidance, .time-entry-board > div > p { margin-top: .45rem; color: #b8c8cc; font-size: .76rem; line-height: 1.5; }
.additional-calculator .calculator-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .25rem; }
.additional-calculator .calculator-reset { min-height: 44px; padding: .65rem .8rem; border: 1px solid #789099; background: transparent; color: var(--white); cursor: pointer; font-weight: 700; }
.additional-calculator .calculator-reset:hover { border-color: var(--lime); color: var(--lime); }
.additional-calculator .scenario-note { margin-top: .75rem; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.additional-calculator .calculation-basis { padding: 1rem; background: var(--paper-2); color: var(--ink); }
.additional-calculator .calculation-basis > strong { display: block; font: 700 .8rem var(--display); }
.additional-calculator .calculation-basis > strong:not(:first-child) { margin-top: .8rem; }
.additional-calculator .calculation-basis p { margin-top: .3rem; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.additional-calculator .calculator-output h2 { font-size: 1.35rem; }
.additional-calculator .calculator-output > strong, .additional-calculator .time-result-lead > strong, .additional-calculator .employment-headline > strong { display: block; margin-top: .55rem; color: var(--calc-accent); font: 800 clamp(2.2rem, 4vw, 3.6rem)/1 var(--display); letter-spacing: -.055em; }

.interface-conversion { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--paper); }
.interface-conversion .calculator-form { grid-template-rows: auto 1fr auto; background: var(--ink); }
.conversion-input-grid { display: grid; align-content: start; gap: .85rem; }
.conversion-result { display: grid; align-content: start; border-top: 5px solid var(--lime); }
.conversion-result dl { grid-template-columns: repeat(3, 1fr); }
.conversion-result dl div { align-items: flex-start; flex-direction: column; gap: .15rem; }
.conversion-result .calculation-basis { margin-top: 1rem; }
.interface-hourly-to-salary-calculator .conversion-result { border-top-color: var(--lime); }
.interface-salary-to-hourly-calculator .conversion-result { border-top-color: var(--jade); }
.interface-pay-frequency-converter .conversion-result { border-top-color: var(--coral); }
.interface-daily-salary-rate-calculator .conversion-result { border-top-color: var(--ink-2); }

.interface-payroll-period { background: var(--paper); }
.period-workbench { display: grid; grid-template-columns: 1.05fr .95fr; }
.period-workbench .calculator-form { background: var(--white); color: var(--ink); }
.period-workbench .calculator-form h2 { color: var(--ink); }
.period-workbench .calculator-guidance { color: var(--muted); }
.period-workbench .calculator-form label { color: var(--muted); }
.period-workbench .calculator-reset { border-color: var(--jade-dark); color: var(--jade-dark); }
.period-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.period-result { background: var(--ink); color: var(--white); }
.period-result h2 { color: var(--white); }
.period-total { padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.period-total strong, .employment-headline strong { display: block; color: var(--lime); font: 800 clamp(2.2rem, 4vw, 3.5rem)/1 var(--display); }
.period-total span, .employment-headline span { display: block; margin-top: .4rem; color: #b9c8cc; font-size: .74rem; }
.period-result dl div { background: #0c2c3b; }
.period-result dt { color: #b9c8cc; }
.period-basis { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: .4rem 1rem; border-top: 1px solid var(--line); }
.period-basis > strong:not(:first-child) { margin-top: 0; }
.period-basis p { margin-top: 0; }
.interface-prorated-salary-calculator .period-result { border-left: 5px solid var(--lime); }
.interface-unpaid-leave-deduction-calculator .period-result { border-left: 5px solid var(--coral); }
.interface-annual-leave-value-calculator .period-result { border-left: 5px solid var(--jade); }
.interface-salary-arrears-calculator .period-result { border-left: 5px solid #80a9b7; }

.interface-time-ledger { display: grid; gap: .8rem; }
.time-entry-board { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr) auto; align-items: end; background: var(--ink-2); }
.time-entry-board .calculator-actions { align-self: end; }
.time-input-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.time-result { display: grid; grid-template-columns: .9fr .35fr 1.4fr; gap: 1.2rem; align-items: center; background: var(--white); border: 1px solid var(--line); }
.time-result-lead p { margin-top: .35rem; color: var(--muted); font-size: .72rem; }
.time-track { display: flex; align-items: center; justify-content: space-between; height: 8px; background: var(--paper-2); }
.time-track i { width: 12px; height: 12px; background: var(--jade); border: 2px solid var(--white); outline: 1px solid var(--jade); }
.time-result dl { margin-top: 0; }
.time-result .output-note { grid-column: 1/-1; margin-top: 0; }
.interface-shift-end-time-calculator .time-track i:nth-child(2) { background: var(--coral); outline-color: var(--coral); }

.interface-sales-target { background: var(--paper); }
.sales-planner { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); }
.sales-planner .calculator-form { background: var(--jade-dark); }
.sales-inputs { display: grid; gap: .8rem; }
.sales-result { border-right: 8px solid var(--lime); }
.sales-result > p { margin-top: .35rem; }
.sales-metrics dl { grid-template-columns: repeat(3, 1fr); }
.sales-metrics dl div { align-items: flex-start; flex-direction: column; }
.sales-result .calculation-basis { margin-top: 1rem; }
.interface-commission-sales-target-calculator .sales-result { border-right-color: var(--coral); }

.interface-employment-value { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--paper); }
.employment-result { order: 1; border-bottom: 6px solid var(--jade); }
.employment-inputs { order: 2; background: var(--ink); }
.employment-inputs > div { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.employment-headline { padding-block: .8rem; border-bottom: 1px solid var(--line); }
.interface-commute-cost-calculator .employment-result { border-bottom-color: var(--coral); }
.interface-total-compensation-calculator .employment-result { border-bottom-color: var(--lime); }
.interface-employer-cost-calculator .employment-result { border-bottom-color: var(--ink-2); }

.interface-quote-builder { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--paper-2); }
.quote-inputs { background: var(--ink); }
.quote-inputs > div { display: grid; gap: .75rem; }
.quote-sheet { position: relative; margin: 1rem; background: var(--white); border-top: 6px solid var(--jade); }
.quote-heading { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.quote-heading p { max-width: 320px; color: var(--muted); font-size: .72rem; }
.quote-sheet dl div { background: transparent; border-bottom: 1px solid var(--line); }
.quote-total { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 3px double var(--ink); }
.quote-total span { color: var(--muted); font-size: .76rem; }
.quote-total strong { color: var(--jade-dark); font: 800 clamp(2rem, 3.5vw, 3.25rem)/1 var(--display); }
.quote-sheet .calculation-basis { margin-top: 1rem; }
.interface-retainer-pricing-calculator .quote-sheet { border-top-color: var(--lime); }
.interface-consulting-day-rate-calculator .quote-sheet { border-top-color: var(--ink-2); }
.interface-invoice-late-fee-calculator .quote-sheet { border-top-color: var(--coral); }
.interface-billable-hours-calculator .quote-sheet { border-top-style: double; }

.interface-business-ledger { background: var(--paper); }
.business-ledger { display: grid; grid-template-columns: 1.15fr .85fr; }
.ledger-result { background: var(--white); }
.ledger-result dl div { background: transparent; border-bottom: 1px solid var(--line); }
.ledger-total { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem; background: var(--ink); color: var(--white); }
.ledger-total span { color: #b9c8cc; font-size: .76rem; }
.ledger-total strong { color: var(--lime); font: 800 clamp(2rem, 3.5vw, 3.25rem)/1 var(--display); }
.ledger-inputs { background: var(--paper-2); color: var(--ink); }
.ledger-inputs h2 { color: var(--ink); }
.ledger-inputs .calculator-guidance, .ledger-inputs label { color: var(--muted); }
.ledger-inputs > div { display: grid; gap: .75rem; }
.ledger-inputs .calculator-reset { border-color: var(--jade-dark); color: var(--jade-dark); }
.ledger-inputs .calculation-basis { padding-inline: 0; }
.interface-profit-margin-calculator .ledger-total { border-left: 6px solid var(--jade); }
.interface-break-even-revenue-calculator .ledger-total { border-left: 6px solid var(--coral); }
.interface-side-income-tax-reserve-calculator .ledger-total { border-left: 6px solid var(--lime); }

.tool-calculator-payslip-bridge .calculator-output { border-top: 6px solid var(--lime); }
.tool-calculator-tax-layers { grid-template-columns: .8fr 1.2fr; }
.tool-calculator-tax-layers .calculator-output { background: #edf7f3; border-left: 6px solid var(--jade); }
.tool-calculator-offer-duel { grid-template-columns: 1.1fr .9fr; }
.tool-calculator-offer-duel .calculator-output { border-top: 6px solid var(--coral); }
.tool-calculator-income-portfolio .calculator-form { background: var(--jade-dark); }
.tool-calculator-income-portfolio .calculator-output { background: #edf7f3; }
.tool-calculator-raise-delta .calculator-output { border-left: 6px solid var(--coral); }
.tool-calculator-bonus-waterfall .calculator-output { background: var(--ink); color: var(--white); }
.tool-calculator-bonus-waterfall .calculator-output dt { color: #b9c8cc; }
.tool-calculator-bonus-waterfall .calculator-output dl div { background: #0c2c3b; }
.tool-calculator-hours-rate .calculator-form { background: var(--ink-2); }
.tool-calculator-hours-rate .calculator-output { border-bottom: 6px solid var(--jade); }
.tool-calculator-capacity-rate .calculator-form { background: var(--jade-dark); }
.tool-calculator-capacity-rate .calculator-output { border-top: 6px double var(--ink); }
.calculator-explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding-block: .5rem 4rem; }
.calculator-explain > div { padding: 1.2rem; background: var(--paper); }
.calculator-explain h2 { font-size: 1.2rem; }
.calculator-explain p, .calculator-explain li { margin-top: .6rem; color: var(--muted); font-size: .84rem; }
.calculator-explain ul { padding-left: 1.1rem; }
.calculator-explain a { color: var(--jade); text-decoration: underline; }

.tool-page .tool-faq > div { grid-template-columns: repeat(3, 1fr); }
.tool-hub-next { background: var(--ink); color: var(--white); }
.tool-hub-next h2 { color: var(--white); }
.tool-hub-next p { color: #bed0d4; }
.tool-hub-next .button { background: var(--lime); color: var(--ink); }

.guide-library { padding-top: 1rem; }
.hub-directory { padding-block: 1rem 3rem; }
.hub-directory > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: 1.4rem; }
.hub-directory article { position: relative; min-height: 210px; padding: 1.15rem; background: var(--ink); color: var(--white); }
.hub-directory article h3 { color: var(--white); }
.hub-directory article p { margin-top: .65rem; color: #b7c6ca; font-size: .75rem; }
.hub-directory article:hover { background: var(--jade-dark); }
.guide-row { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding-block: 2rem; }
.guide-row > h2 { font-size: 1.25rem; }
.guide-row > div { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.guide-row article { position: relative; min-height: 205px; padding: 1.25rem; background: var(--paper); border: 1px solid transparent; }
.guide-row article:hover { border-color: var(--jade); }
.guide-row p { margin-top: .65rem; color: var(--muted); font-size: .8rem; }
.guide-row small { position: absolute; left: 1.25rem; bottom: 1rem; color: var(--muted); font-size: .64rem; }

.article-header { padding-block: clamp(3.5rem, 8vw, 7rem) 2.5rem; }
.article-header h1 { max-width: none; font-size: clamp(40px, 5.4vw, 48px); }
.article-header > p { max-width: none; margin-top: 1.25rem; color: var(--muted); font-size: 1.15rem; }
.article-header > .direct-answer { color: var(--text); }
.article-header > .answer-source-link { margin-top: .65rem; font-size: .78rem; }
.answer-source-link a { color: var(--jade); text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 1.5rem; color: var(--muted); font-size: .72rem; }
.article-meta a { color: var(--jade); text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0,760px); gap: 4rem; justify-content: center; padding-bottom: 5rem; }
.article-layout aside { position: sticky; top: 110px; align-self: start; display: grid; gap: .55rem; padding: 1rem; background: var(--paper); font-size: .75rem; }
.article-layout aside strong { font-family: var(--display); }
.article-layout aside a { color: var(--muted); }
.article-layout aside a:hover { color: var(--jade); }
.answer-box { padding: 1.4rem; margin-bottom: 2.4rem; background: var(--lime); }
.answer-box h2 { font-size: 1.25rem; }
.answer-box p { margin-top: .5rem; }
.prose { font-size: 1rem; }
.prose h2 { margin: 2.8rem 0 .8rem; font-size: 1.7rem; }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose p { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .45rem; }
.prose a { color: var(--jade); text-decoration: underline; }
.prose table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .82rem; }
.prose th { padding: .8rem; background: var(--ink); color: var(--white); text-align: left; }
.prose td { padding: .75rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: var(--paper); }
.prose .note { padding: 1.1rem; margin: 1.8rem 0; background: var(--paper); border-left: 4px solid var(--jade); }
.prose .note p { margin-top: .3rem; }
.source-note { color: var(--muted); font-size: .75rem; }
.article-sources { padding: 1.3rem; margin-top: 3rem; background: var(--paper); }
.article-sources h2 { font-size: 1.3rem; }
.article-sources p, .article-sources li { margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.article-sources ul { padding-left: 1.1rem; }
.article-sources a { color: var(--jade); text-decoration: underline; }
.related { padding-block: 4rem 6rem; }
.related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.5rem; }
.related article { position: relative; min-height: 200px; padding: 1.2rem; background: var(--paper); border: 1px solid transparent; }
.related article:hover { border-color: var(--jade); }
.related p { margin-top: .6rem; color: var(--muted); font-size: .78rem; }
.blog-article-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.blog-article-heading { min-width: 0; }
.blog-article-heading h1 { max-width: 860px; font-size: clamp(40px, 4.6vw, 48px); line-height: 1.04; }
.blog-article-heading .direct-answer { max-width: 820px; margin-top: 1.25rem; color: var(--text); font-size: 1.08rem; }
.blog-article-cover { width: 100%; margin: 0; overflow: hidden; background: var(--paper); }
.blog-article-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.blog-article-route { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding-block: 1.25rem; padding-inline: 1.5rem; margin-bottom: 3rem; background: var(--ink); color: var(--white); }
.blog-article-route > strong { font-family: var(--display); font-size: .9rem; }
.blog-article-route > div { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
.blog-article-route a { color: var(--lime); font-size: .8rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.blog-article-layout { grid-template-columns: minmax(190px, 240px) minmax(0, 760px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.blog-article-layout .article-navigation { position: sticky; top: 96px; max-height: calc(100vh - 120px); padding: 1.25rem; overflow-y: auto; background: var(--paper); }
.article-navigation > strong { display: block; color: var(--ink); font-family: var(--display); font-size: .95rem; }
.article-navigation ol { padding: 0; margin: 1rem 0 0; list-style: none; counter-reset: none; }
.article-navigation li + li { margin-top: .65rem; }
.article-navigation a { color: var(--muted); font-size: .72rem; line-height: 1.4; text-decoration: none; }
.article-navigation a:hover, .article-navigation a:focus-visible { color: var(--jade-dark); text-decoration: underline; text-underline-offset: .2em; }
.blog-article-layout .article-body { min-width: 0; font-size: 1.02rem; line-height: 1.75; }
.article-introduction { padding: 1.5rem; margin-bottom: 2rem; background: var(--lime); color: var(--ink); }
.article-introduction > :first-child { margin-top: 0; font-size: 1.08rem; line-height: 1.7; }
.article-section { scroll-margin-top: 110px; }
.article-section > h2 { scroll-margin-top: 110px; }
.article-section:first-of-type > h2 { margin-top: 0; }
.article-section p + ul, .article-section p + ol { margin-top: 1rem; }
.article-section > ul, .article-section > ol { padding: 1.25rem 1.25rem 1.25rem 2.5rem; background: var(--paper); }
.blog-related { padding-top: 1rem; }
.blog-related article { min-height: 170px; border: 0; }
.blog-related article:hover { border-color: transparent; }
.simple-prose { max-width: 780px; padding-bottom: 6rem; }
.hub-answer { padding: 2rem; margin-bottom: 1rem; background: var(--ink); color: var(--white); }
.hub-answer h2, .hub-answer h3 { color: var(--white); }
.hub-answer > p { max-width: 900px; margin-top: .8rem; color: #c3d0d3; }
.hub-answer > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.5rem; }
.hub-answer article { padding: 1rem; background: #0b2938; }
.hub-answer article h3 { font-size: 1rem; }
.hub-answer article p { margin-top: .45rem; color: #b7c6ca; font-size: .78rem; }
.hub-body { max-width: 950px; padding: 1.5rem 2rem 2.5rem; background: var(--paper); }
.hub-body h2:first-child { margin-top: 0; }
.hub-guides > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.5rem; }
.hub-guides article { position: relative; min-height: 245px; padding: 1.2rem; background: var(--paper); border: 1px solid transparent; }
.hub-guides article:hover { border-color: var(--jade); }
.hub-guides article h3 { margin-top: 0; }
.hub-guides article p { margin-top: .65rem; color: var(--muted); font-size: .78rem; }
.hub-guides article small { position: absolute; left: 1.2rem; bottom: 1rem; color: var(--muted); font-size: .62rem; }
.hub-tool { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 6rem; padding: 2rem; background: var(--lime); }
.hub-tool h2 { font-size: 1.6rem; }
.hub-tool p { max-width: 700px; margin-top: .5rem; }
.guide-tool { margin-top: 3rem; margin-bottom: 0; }
.related .hub-tool p { color: var(--ink); }
.hub-tool.tool-hub-next { background: var(--ink); color: var(--white); }
.hub-tool.tool-hub-next h2 { color: var(--white); }
.hub-tool.tool-hub-next p { color: #bed0d4; }
.hub-tool.tool-hub-next .button { background: var(--lime); color: var(--ink); }
.hub-tool.tool-hub-next .button:hover { background: var(--white); color: var(--ink); }
.context-path { margin-block: 1.25rem 2rem; color: var(--ink); font-weight: 650; }
.context-path a { color: var(--jade-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.guide-page h1 { font-size: clamp(40px, 5.4vw, 48px); }
.guide-page .direct-answer { max-width: none; margin-top: 1rem; color: var(--text); font-size: 1.08rem; line-height: 1.6; }
.guide-page .article-meta { margin-top: 1.25rem; }
.guide-page .article-meta a { color: var(--jade); text-decoration: underline; }
.guide-page .prose { min-width: 0; }
.guide-page .prose > h2:first-of-type { margin-top: 0; }
.guide-hub-links { margin-top: 1.2rem; color: var(--muted); font-size: .76rem; }
.guide-hub-links a { color: var(--jade-dark); text-decoration: underline; }

.guide-reconciliation-header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; }
.guide-reconciliation-header h1 { max-width: none; }
.guide-answer-panel { padding: 1.5rem; background: var(--ink); color: var(--white); }
.guide-answer-panel h2 { color: var(--white); font-size: 1.45rem; }
.guide-answer-panel p { margin-top: .7rem; color: #c3d0d3; }
.guide-reconciliation-grid { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: 3.5rem; justify-content: center; padding-bottom: 5rem; }
.guide-check-rail { position: sticky; top: 104px; align-self: start; }
.guide-check-rail > h2 { font-size: 1.2rem; }
.guide-check-rail article { padding: 1rem; margin-top: .7rem; background: var(--paper); }
.guide-check-rail h3 { margin-top: 0; font-size: .92rem; }
.guide-check-rail p { margin-top: .35rem; color: var(--muted); font-size: .75rem; }
.guide-check-rail nav { display: grid; gap: .45rem; margin-top: 1rem; }
.guide-check-rail nav a { color: var(--jade-dark); font-size: .72rem; text-decoration: underline; }
.guide-source-ledger { padding: 1.35rem; margin-top: 3rem; background: var(--paper); }
.guide-source-ledger h2 { font-size: 1.25rem; }
.guide-source-ledger p, .guide-source-ledger li { margin-top: .55rem; color: var(--muted); font-size: .78rem; }
.guide-source-ledger a { color: var(--jade-dark); text-decoration: underline; }
.guide-reconciliation-next { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; padding-bottom: 6rem; }
.guide-reconciliation-next > div, .guide-reconciliation-next > aside { padding: 1.5rem; }
.guide-reconciliation-next > div { background: var(--paper); }
.guide-reconciliation-next > aside { align-self: start; background: var(--lime); }
.guide-reconciliation-next h2 { font-size: 1.4rem; }
.guide-reconciliation-next article { margin-top: 1rem; }
.guide-reconciliation-next article h3 { font-size: .95rem; }
.guide-reconciliation-next article a { color: var(--jade-dark); text-decoration: underline; }
.guide-reconciliation-next article p, .guide-reconciliation-next aside p { margin-top: .35rem; color: var(--muted); font-size: .76rem; }
.guide-reconciliation-next aside p { color: var(--ink-2); }
.guide-reconciliation-next .button { margin-top: 1rem; }

.guide-reference-answer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; padding: 2rem; margin-bottom: 1rem; background: var(--lime); }
.guide-reference-answer h2 { font-size: 1.6rem; }
.guide-reference-answer p { margin-top: .65rem; }
.guide-reference-answer > div:last-child > h2 { font-size: 1.2rem; }
.guide-reference-answer dl { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: .8rem 0 0; }
.guide-reference-answer dl div { padding: 1rem; background: var(--white); }
.guide-reference-answer dl h3 { color: var(--jade-dark); font-size: .9rem; }
.guide-reference-answer dl p { margin-top: .35rem; color: var(--muted); font-size: .76rem; }
.guide-reference-visual { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); min-height: 320px; margin-bottom: 3rem; overflow: hidden; background: var(--ink); }
.guide-reference-visual-copy { display: flex; justify-content: center; flex-direction: column; padding: clamp(1.5rem, 4vw, 3rem); color: #c4d1d4; }
.guide-reference-visual-copy h2 { color: var(--white); font-size: 1.45rem; }
.guide-reference-visual-copy p { margin-top: 1rem; font-size: .9rem; line-height: 1.65; }
.guide-reference-visual-copy a { color: var(--lime); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.guide-reference-visual > .primary-visual { width: 100%; height: 100%; min-height: 320px; margin: 0; background: var(--ink-2); }
.guide-reference-visual > .primary-visual img { width: 100%; height: 100%; min-height: 320px; aspect-ratio: auto; object-fit: cover; object-position: center; }
.guide-reference-body { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 3rem; justify-content: center; padding-bottom: 5rem; }
.guide-reference-body > aside { position: sticky; top: 104px; align-self: start; display: grid; gap: .8rem; }
.guide-reference-body > aside section { padding: 1.2rem; background: var(--paper); }
.guide-reference-body > aside section:last-child { background: var(--ink); color: var(--white); }
.guide-reference-body > aside section:last-child h2 { color: var(--white); }
.guide-reference-body aside h2 { font-size: 1.1rem; }
.guide-reference-body aside p, .guide-reference-body aside li { margin-top: .5rem; color: var(--muted); font-size: .74rem; }
.guide-reference-body > aside section:last-child p { color: #bed0d4; }
.guide-reference-body aside a { color: var(--jade); text-decoration: underline; }
.guide-reference-body > aside section:last-child a { color: var(--lime); }
.guide-reference-related { padding-bottom: 6rem; }
.guide-reference-related > h2 { font-size: 1.6rem; }
.guide-reference-related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1rem; }
.guide-reference-related article { padding: 1.2rem; background: var(--paper); }
.guide-reference-related article h3 { font-size: .95rem; }
.guide-reference-related article a { color: var(--jade-dark); text-decoration: underline; }
.guide-reference-related article p { margin-top: .5rem; color: var(--muted); font-size: .75rem; }

.guide-calculation-header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; }
.guide-calculation-header h1 { max-width: none; }
.guide-calculation-header > section { padding: 1.4rem; background: var(--paper); }
.guide-calculation-header > section h2 { font-size: 1.35rem; }
.guide-calculation-header > section p { margin-top: .6rem; color: var(--muted); }
.guide-calculation-header .article-meta { grid-column: 1/-1; margin-top: 0; }
.guide-calculation-plan { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1rem; margin-bottom: 3rem; }
.guide-calculation-plan > div { padding: 1.5rem; background: var(--ink); color: var(--white); }
.guide-calculation-plan > div > h2, .guide-calculation-plan article h3 { color: var(--white); }
.guide-calculation-plan > div > h2 { font-size: 1.45rem; }
.guide-calculation-plan > div > div { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.guide-calculation-plan article { padding: 1rem; background: #0b2938; }
.guide-calculation-plan article h3 { margin-top: 0; font-size: .95rem; }
.guide-calculation-plan article p { margin-top: .4rem; color: #bed0d4; font-size: .76rem; }
.guide-calculation-plan > aside { padding: 1.5rem; background: var(--lime); }
.guide-calculation-plan aside h2 { font-size: 1.35rem; }
.guide-calculation-plan aside p { margin-top: .6rem; color: var(--ink-2); font-size: .8rem; }
.guide-calculation-plan aside .button { margin-top: 1rem; }
.guide-calculation-body { max-width: 900px; padding-bottom: 5rem; }
.guide-calculation-body > section { padding: 1.4rem; margin-top: 3rem; background: var(--paper); }
.guide-calculation-body > section h2 { font-size: 1.25rem; }
.guide-calculation-body > section p, .guide-calculation-body > section li { margin-top: .5rem; color: var(--muted); font-size: .78rem; }
.guide-calculation-body > section a { color: var(--jade-dark); text-decoration: underline; }
.guide-calculation-related { padding-bottom: 6rem; }
.guide-calculation-related > h2 { font-size: 1.6rem; }
.guide-calculation-related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1rem; }
.guide-calculation-related article { padding: 1.2rem; background: var(--paper); }
.guide-calculation-related article h3 { font-size: .95rem; }
.guide-calculation-related article a { color: var(--jade-dark); text-decoration: underline; }
.guide-calculation-related article p { margin-top: .45rem; color: var(--muted); font-size: .75rem; }

.guide-decision-answer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: center; padding: 2rem; margin-bottom: 1rem; background: var(--lime); }
.guide-decision-answer h2 { font-size: 1.6rem; }
.guide-decision-answer > div:first-child p { margin-top: .7rem; }
.guide-decision-answer > div:last-child > h2 { font-size: 1.2rem; }
.guide-decision-answer > div:last-child > div { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .8rem; }
.guide-decision-answer article { padding: 1rem; background: var(--white); }
.guide-decision-answer article h3 { font-size: .95rem; }
.guide-decision-answer article p { margin-top: .4rem; color: var(--muted); font-size: .75rem; }
.guide-decision-layout { display: grid; grid-template-columns: 300px minmax(0, 760px); gap: 3rem; justify-content: center; padding-bottom: 4rem; }
.guide-decision-layout > aside { position: sticky; top: 104px; align-self: start; padding: 1.35rem; background: var(--ink); color: var(--white); }
.guide-decision-layout > aside h2 { color: var(--white); font-size: 1.2rem; }
.guide-decision-layout > aside h2:not(:first-child) { margin-top: 1.5rem; }
.guide-decision-layout > aside p { margin-top: .5rem; color: #bed0d4; font-size: .76rem; }
.guide-decision-layout > aside > a:not(.button) { display: block; margin-top: .5rem; color: var(--lime); font-size: .76rem; text-decoration: underline; }
.guide-decision-layout > aside .button { margin-top: 1rem; background: var(--lime); color: var(--ink); }
.guide-decision-sources { padding: 1.4rem; margin-bottom: 3rem; background: var(--paper); }
.guide-decision-sources h2 { font-size: 1.25rem; }
.guide-decision-sources p, .guide-decision-sources li { margin-top: .5rem; color: var(--muted); font-size: .78rem; }
.guide-decision-sources a { color: var(--jade-dark); text-decoration: underline; }
.guide-decision-related { padding-bottom: 6rem; }
.guide-decision-related > h2 { font-size: 1.6rem; }
.guide-decision-related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1rem; }
.guide-decision-related article { min-height: 190px; padding: 1.25rem; background: var(--ink); color: var(--white); }
.guide-decision-related article h3 { color: var(--white); }
.guide-decision-related article a { color: var(--white); text-decoration: underline; }
.guide-decision-related article p { margin-top: .55rem; color: #bed0d4; font-size: .77rem; }

.guide-records-header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; }
.guide-records-header h1 { max-width: none; }
.guide-records-header > div:first-child p { max-width: none; margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.guide-records-header .article-meta { justify-content: start; margin-top: 0; }
.guide-records-board { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; padding: 2rem; margin-bottom: 3rem; background: var(--ink); color: var(--white); }
.guide-records-board h2, .guide-records-board h3 { color: var(--white); }
.guide-records-board > div:first-child p { margin-top: .7rem; color: #bed0d4; }
.guide-records-board > div:last-child > h2 { font-size: 1.2rem; }
.guide-records-board > div:last-child > div { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .8rem; }
.guide-records-board article { padding: 1rem; background: #0b2938; }
.guide-records-board article h3 { margin-top: 0; font-size: .95rem; }
.guide-records-board article p { margin-top: .4rem; color: #bed0d4; font-size: .75rem; }
.guide-records-body { max-width: 900px; padding-bottom: 4rem; }
.guide-records-evidence { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-bottom: 3rem; }
.guide-records-evidence > div, .guide-records-evidence > aside { padding: 1.4rem; }
.guide-records-evidence > div { background: var(--paper); }
.guide-records-evidence > aside { background: var(--lime); }
.guide-records-evidence h2 { font-size: 1.25rem; }
.guide-records-evidence p, .guide-records-evidence li { margin-top: .5rem; color: var(--muted); font-size: .78rem; }
.guide-records-evidence aside p { color: var(--ink-2); }
.guide-records-evidence a { color: var(--jade-dark); text-decoration: underline; }
.guide-records-evidence .button { margin-top: 1rem; color: var(--white); text-decoration: none; }
.guide-records-related { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; padding-bottom: 6rem; }
.guide-records-related > div:first-child h2 { font-size: 1.6rem; }
.guide-records-related > div:first-child p { margin-top: .65rem; color: var(--muted); }
.guide-records-related > div:nth-child(2) { display: grid; gap: .65rem; }
.guide-records-related article { padding: 1rem 1.2rem; background: var(--paper); }
.guide-records-related article h3 { font-size: .95rem; }
.guide-records-related article a { color: var(--jade-dark); text-decoration: underline; }
.guide-records-related article p { margin-top: .35rem; color: var(--muted); font-size: .75rem; }
.guide-records-related > .guide-hub-links { grid-column: 2; }
.scan-checks { margin-block: 1.5rem 2.5rem; }
.scan-checks > h2 { margin-bottom: .8rem; }
.scan-checks > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.scan-checks article { padding: 1rem; background: var(--paper); }
.scan-checks h3 { font-size: 1rem; }
.scan-checks p { margin-top: .4rem; color: var(--muted); }
.tool-checks { margin-top: 1rem; }
.scan-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-block: 1.5rem 2rem; padding: 0; list-style: none; }
.scan-list li { padding: 1rem; background: var(--paper); }
.scan-list strong, .scan-list span { display: block; }
.scan-list span { margin-top: .35rem; color: var(--muted); }
.pagination { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0 3rem; }
.pagination a { color: var(--navy); font-weight: 750; }
.glossary-intro { padding-block: 1rem 2rem; }
.glossary-groups { display: grid; gap: 2rem; padding-bottom: 3rem; }
.glossary-grid, .hub-faq > div, .tool-faq > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.glossary-grid article, .hub-faq article, .tool-faq article { padding: 1.1rem; background: var(--paper); }
.glossary-grid p, .hub-faq p, .tool-faq p { margin-top: .45rem; color: var(--muted); }
.glossary-grid a { display: inline-block; margin-top: .7rem; color: var(--navy); font-weight: 750; }
.glossary-callout { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: 2rem; }
.glossary-callout a { color: var(--navy); font-weight: 750; }
.policy-points { grid-template-columns: repeat(2, 1fr); }
.policy-points h3 { font-size: 1rem; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding-top: 1rem; }
.blog-intro { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.blog-grid-heading { grid-column: 1 / -1; margin-bottom: 1rem; }
.blog-grid article { position: relative; min-height: 430px; padding: 1.3rem; background: var(--paper); }
.blog-grid article > img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; margin-bottom: 1.1rem; }
.blog-grid p { margin-top: .7rem; color: var(--muted); font-size: .82rem; }
.blog-grid small { position: absolute; bottom: 1rem; color: var(--muted); }
.article-cover { width: min(calc(100% - 2.5rem), 520px); margin: 0 max(1.25rem, calc((100% - var(--max)) / 2)) 3rem auto; }
.article-cover img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.empty-state { grid-column: 1/-1; padding: 2rem; background: var(--paper); }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { max-width: 720px; margin-top: .6rem; color: var(--muted); }
.empty-state a { display: inline-block; margin-top: 1rem; color: var(--jade); text-decoration: underline; }

.site-footer { padding-top: 4rem; background: var(--ink); color: #bdc9cc; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 3rem; padding-bottom: 3rem; }
.footer-main img { width: 165px; filter: brightness(0) invert(1); }
.footer-main p { max-width: 390px; margin-top: 1rem; font-size: .82rem; }
.footer-grid h2 { margin-bottom: .8rem; color: var(--white); font-size: .85rem; letter-spacing: 0; }
.footer-grid > div:not(.footer-main) { display: flex; flex-direction: column; gap: .45rem; }
.footer-grid a { font-size: .76rem; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding-block: 1rem 1.5rem; border-top: 1px solid var(--line-dark); font-size: .68rem; }
.footer-bottom p { margin-right: auto; }
.footer-bottom a:hover { color: var(--lime); }
.error-page { min-height: 55vh; padding-block: 7rem; }
.error-page h1 { max-width: none; font-size: clamp(40px, 5vw, 48px); }
.error-page p { margin: 1rem 0 2rem; color: var(--muted); }

@media (max-width: 1080px) {
  .desktop-nav, .nav-cta { display: none; }
  .nav-row { justify-content: space-between; }
  .menu-button { display: flex; }
  .hero-grid { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { padding-block: 3.5rem 1.5rem; }
  .hero-copy h1 { font-size: clamp(40px, 6.8vw, 48px); }
  .hero-media { width: min(100%, 440px); justify-self: center; }
  .primary-visual, .article-cover { width: min(calc(100% - 2.5rem), 480px); margin-right: auto; }
  .page-hero, .tool-hero, .article-header, .guide-reconciliation-header, .guide-calculation-header, .guide-records-header { padding-bottom: 2rem; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .path-grid { gap: 2.5rem; }
  .mag-grid { grid-template-columns: 1fr 1fr; }
  .home-library-grid { grid-template-columns: repeat(2, 1fr); }
  .home-tool-directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-shell { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
  .time-entry-board { grid-template-columns: 1fr; align-items: start; }
  .time-input-strip { grid-template-columns: repeat(2, 1fr); }
  .time-entry-board .calculator-actions { align-self: start; }
  .hub-directory > div { grid-template-columns: repeat(2, 1fr); }
  .hub-guides > div { grid-template-columns: repeat(2, 1fr); }
  .blog-article-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 2rem; }
  .blog-article-layout { grid-template-columns: 200px minmax(0, 720px); gap: 2rem; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .breadcrumb { flex-wrap: wrap; overflow-x: visible; padding-block: .6rem; white-space: normal; }
  .site-header { height: 68px; }
  .mobile-menu { top: 68px; height: calc(100vh - 68px); height: calc(100dvh - 68px); }
  .brand { width: 145px; }
  .menu-button { min-width: 88px; height: 40px; }
  .mobile-grid { grid-template-columns: 1fr; }
  .mobile-utility { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: 0; }
  .hero-copy { padding-block: 2.5rem 1.25rem; }
  .hero-copy h1 { font-size: clamp(36px, 10.5vw, 48px); line-height: 1.03; }
  .hero-copy > p { margin-top: 1rem; font-size: 1rem; }
  .hero-copy h1 br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-facts { flex-wrap: wrap; gap: .8rem; }
  .hero-facts div { flex: 1 1 100px; padding-right: .8rem; margin-right: 0; }
  .hero-media { width: min(100%, 360px); margin: 0 auto; justify-self: center; }
  .page-hero, .tool-hero, .article-header, .guide-reconciliation-header, .guide-calculation-header, .guide-records-header { padding-block: 2.4rem 1.6rem; }
  #main-content > .breadcrumb-bar + .page-hero,
  #main-content > .breadcrumb-bar + .article-page > .article-header,
  #main-content > .breadcrumb-bar + .article-page > .guide-reconciliation-header,
  #main-content > .breadcrumb-bar + .article-page > .guide-calculation-header,
  #main-content > .breadcrumb-bar + .article-page > .guide-records-header { padding-top: 1rem; }
  .page-hero h1, .tool-hero h1, .article-header h1, .guide-page h1 { font-size: clamp(36px, 10vw, 48px); line-height: 1.03; }
  .tool-hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tool-hero-visual { width: min(100%, 340px); justify-self: center; }
  .primary-visual, .article-cover { width: min(calc(100% - 1.5rem), 360px); margin: -.25rem auto 2rem; }
  .page-hero-compact h1 { font-size: clamp(34px, 9vw, 44px); }
  .page-hero > p, .tool-hero .direct-answer, .article-header > p, .guide-page .direct-answer { margin-top: 1rem; font-size: 1rem; }
  .quick-grid, .source-grid, .path-grid, .home-proof-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .quick-form { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .tool-grid, .tool-grid-page { grid-template-columns: 1fr; }
  .tool-card { min-height: 240px; }
  .tool-grid-page .tool-card { min-height: 190px; }
  .tool-intent-grid { grid-template-columns: 1fr; }
  .worked-inputs, .worked-outputs { grid-template-columns: 1fr; }
  .tool-intent-grid > .tool-answer, .tool-intent-grid > .tool-checks, .tool-intent-grid > .tool-scope { grid-column: auto; grid-row: auto; }
  .tool-checks > div, .tool-scope { grid-template-columns: 1fr; }
  .tool-calculator-offer-duel .calculator-form { grid-template-columns: 1fr; }
  .tool-calculator-offer-duel .calculator-form h2, .tool-calculator-offer-duel .comparison-inputs, .tool-calculator-offer-duel .calculator-form > label { grid-column: auto; }
  .tool-calculator-offer-duel .calculator-output dl { grid-template-columns: 1fr; }
  .tool-page .tool-faq > div { grid-template-columns: 1fr; }
  .path-steps { grid-template-columns: 1fr; }
  .path-steps article { display: block; }
  .path-steps h3 { margin-top: 0; }
  .mag-grid { grid-template-columns: 1fr; }
  .home-library-grid { grid-template-columns: 1fr; }
  .home-tool-directory ul { grid-template-columns: 1fr; }
  .story-lead { grid-column: auto; grid-row: auto; min-height: 380px; }
  .source-list { grid-template-columns: 1fr; }
  .method-block > div, .calculator-explain { grid-template-columns: 1fr; }
  .tool-answer { grid-template-columns: 1fr; }
  .tool-answer dl { grid-template-columns: 1fr; }
  .scan-checks > div, .scan-list, .glossary-grid, .hub-faq > div, .tool-faq > div { grid-template-columns: 1fr; }
  .glossary-callout { align-items: start; flex-direction: column; }
  .calculator-shell { grid-template-columns: 1fr; }
  .interface-conversion, .period-workbench, .sales-planner, .interface-employment-value, .interface-quote-builder, .business-ledger { grid-template-columns: 1fr; }
  .conversion-result dl, .sales-metrics dl { grid-template-columns: 1fr; }
  .period-inputs, .employment-inputs > div, .time-input-strip { grid-template-columns: 1fr; }
  .period-basis { grid-template-columns: 1fr; }
  .period-basis > strong:not(:first-child) { margin-top: .8rem; }
  .time-result { grid-template-columns: 1fr; }
  .time-result .output-note { grid-column: auto; }
  .employment-result { order: 2; }
  .employment-inputs { order: 1; }
  .quote-sheet { margin: 0; }
  .quote-heading, .quote-total, .ledger-total { align-items: flex-start; flex-direction: column; }
  .additional-calculator .calculator-actions { align-items: stretch; flex-direction: column; }
  .additional-calculator .calculator-actions .button, .additional-calculator .calculator-reset { width: 100%; }
  .comparison-inputs { grid-template-columns: 1fr; }
  .calculator-output > strong { font-size: 3.2rem; }
  .guide-row { grid-template-columns: 1fr; gap: .7rem; }
  .guide-row > div { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 1rem; }
  .article-layout aside { position: static; grid-template-columns: 1fr; overflow-x: visible; }
  .article-layout aside strong { grid-column: 1/-1; }
  .blog-article-hero { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1.5rem 2rem; }
  .blog-article-heading h1 { font-size: clamp(36px, 10vw, 48px); }
  .blog-article-cover { width: min(100%, 520px); }
  .blog-article-route { grid-template-columns: 1fr; gap: .7rem; margin-bottom: 2rem; }
  .blog-article-route > div { display: grid; grid-template-columns: 1fr; gap: .55rem; }
  .blog-article-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-article-layout .article-navigation { position: static; max-height: none; overflow: visible; }
  .article-navigation ol { columns: 2; column-gap: 2rem; }
  .article-navigation li { break-inside: avoid; }
  .article-navigation li + li { margin-top: .55rem; }
  .article-introduction { padding: 1.2rem; }
  .guide-reconciliation-header, .guide-calculation-header, .guide-records-header { grid-template-columns: 1fr; align-items: start; }
  .guide-reconciliation-grid, .guide-reference-body, .guide-decision-layout { grid-template-columns: 1fr; gap: 2rem; }
  .guide-check-rail, .guide-reference-body > aside, .guide-decision-layout > aside { position: static; }
  .guide-reconciliation-next, .guide-reference-answer, .guide-calculation-plan, .guide-decision-answer, .guide-records-board, .guide-records-evidence, .guide-records-related { grid-template-columns: 1fr; }
  .guide-reference-answer dl, .guide-calculation-plan > div > div, .guide-decision-answer > div:last-child > div, .guide-records-board > div:last-child > div { grid-template-columns: 1fr; }
  .guide-reference-visual { grid-template-columns: 1fr; min-height: 0; margin-bottom: 2rem; }
  .guide-reference-visual > .primary-visual { width: 100%; height: auto; min-height: 0; margin: 0; }
  .guide-reference-visual > .primary-visual img { height: auto; min-height: 0; aspect-ratio: 1200/630; }
  .editorial-visual-band { grid-template-columns: 1fr; min-height: 0; margin-bottom: 2rem; }
  .editorial-visual-band > .primary-visual { width: 100%; height: auto; min-height: 0; margin: 0; }
  .editorial-visual-band > .primary-visual img { height: auto; min-height: 0; aspect-ratio: 1200/630; }
  .guide-reference-related > div, .guide-calculation-related > div, .guide-decision-related > div { grid-template-columns: 1fr; }
  .guide-records-related > .guide-hub-links { grid-column: 1; }
  .prose table { display: table; width: 100%; table-layout: fixed; overflow: visible; }
  .prose th, .prose td { padding: .6rem .45rem; overflow-wrap: anywhere; font-size: .72rem; }
  .related > div, .blog-grid { grid-template-columns: 1fr; }
  .hub-directory > div, .hub-guides > div { grid-template-columns: 1fr; }
  .hub-answer > div { grid-template-columns: 1fr; }
  .hub-directory article { min-height: 170px; }
  .hub-tool { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-column: 1/-1; }
  .footer-bottom p { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 420px) {
  .brand { width: 132px; }
  .menu-button { min-width: 82px; padding-inline: .65rem; }
  .mobile-menu-lead { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(34px, 10.8vw, 44px); }
  .article-navigation ol { columns: 1; }
  .hero-facts div { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-main { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
