:root {
  color-scheme: light;
  --canvas: #f4f2ed;
  --surface: #fffefa;
  --ink: #12242c;
  --muted: #53636a;
  --rule: #c9cfcc;
  --rule-strong: #8d9b9d;
  --authority: #123d52;
  --authority-hover: #082d3e;
  --signal: #d6533f;
  --utility: #1d705b;
  --soft-blue: #e5eef0;
  --soft-red: #f7e8e2;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --content: 1200px;
  --z-dropdown: 20;
  --z-sticky: 30;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, textarea, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e2a51d; outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: var(--z-sticky); border-top: 4px solid var(--authority); border-bottom: 1px solid var(--rule); background: rgba(255,254,250,.98); }
.topbar { width: min(var(--content), calc(100% - 56px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border: 1px solid #b83e2d; background: var(--signal); color: #fff; font: 700 19px/1 var(--display); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: 0; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.site-nav a, .nav-menu summary { min-height: 44px; display: flex; align-items: center; padding: 0 13px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; list-style: none; transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.site-nav a:hover, .nav-menu summary:hover, .site-nav a[aria-current="page"] { border-color: var(--signal); color: var(--authority); background: var(--soft-blue); }
.nav-menu { position: relative; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: "+"; margin-left: 7px; color: var(--rule-strong); font-weight: 500; }
.nav-menu[open] summary::after { content: "-"; }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); z-index: var(--z-dropdown); min-width: 240px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--rule-strong); border-top: 4px solid var(--signal); background: var(--surface); box-shadow: 0 12px 28px rgba(18,36,44,.12); transform-origin: top right; animation: menu-in 160ms ease-out both; }
.dropdown a { min-height: 40px; }
.tool-finder { right: 0; width: min(720px, calc(100vw - 40px)); padding: 0; overflow: hidden; }
.tool-finder-head { min-height: 82px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; padding: 16px 18px; border-bottom: 1px solid var(--rule); background: var(--surface); }
.tool-finder label, .mobile-tool-finder label { display: grid; gap: 6px; color: var(--authority); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tool-finder input, .mobile-tool-finder input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--rule-strong); border-radius: 0; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.tool-finder input:focus, .mobile-tool-finder input:focus { border-color: var(--authority); outline: 3px solid rgba(226,165,29,.55); outline-offset: 1px; }
.tool-result-count { color: var(--muted); font: 700 11px/1.4 var(--mono); white-space: nowrap; }
.tool-filters { display: flex; gap: 0; padding: 0 18px; border-bottom: 1px solid var(--rule); background: var(--canvas); overflow-x: auto; }
.tool-filter { min-height: 42px; padding: 0 11px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; white-space: nowrap; box-shadow: none; }
.tool-filter:hover { border-color: var(--rule-strong); background: transparent; color: var(--authority); box-shadow: none; }
.tool-filter.is-active { border-color: var(--signal); color: var(--authority); }
.tool-results { max-height: min(52vh, 430px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; overflow-y: auto; overscroll-behavior: contain; }
.tool-results > a, .mobile-tool-results > a { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
.tool-results > a:nth-of-type(even) { border-right: 0; }
.tool-results > a:hover, .tool-results > a:focus-visible, .mobile-tool-results > a:hover, .mobile-tool-results > a:focus-visible { background: var(--soft-blue); color: var(--authority); }
.tool-results strong, .mobile-tool-results strong { display: block; font-size: 13px; }
.tool-results small, .mobile-tool-results small { display: -webkit-box; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tool-results > a > span:last-child, .mobile-tool-results > a > span:last-child { color: var(--signal); transition: transform 160ms ease; }
.tool-results > a:hover > span:last-child, .mobile-tool-results > a:hover > span:last-child { transform: translateX(3px); }
.tool-results [hidden], .mobile-tool-results [hidden] { display: none; }
.tool-empty { grid-column: 1 / -1; max-width: none; padding: 34px 18px; text-align: center; }
.tool-finder-foot { min-height: 48px; display: flex; align-items: center; justify-content: flex-end; padding: 0 18px; border-top: 1px solid var(--rule); background: var(--surface); }
.tool-finder-foot a { min-height: 36px; padding: 0; border: 0; color: var(--authority); font-size: 12px; }
.language-list { min-width: 180px; }

main { width: min(var(--content), calc(100% - 56px)); min-height: 64vh; margin: 0 auto; padding: 54px 0 96px; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { max-width: 900px; margin: 0; font-family: var(--display); font-size: 5.25rem; font-weight: 600; letter-spacing: 0; line-height: 1.01; }
h2 { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 650; line-height: 1.15; letter-spacing: 0; }
h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
p { max-width: 72ch; margin: 0; color: var(--muted); line-height: 1.65; text-wrap: pretty; }
.section-label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--authority); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.section-label::before { content: ""; width: 22px; height: 3px; background: var(--signal); }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--authority); font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--signal); }

.hero { position: relative; margin-bottom: 64px; padding: 62px 0 52px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.hero::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 96px; height: 5px; background: var(--signal); }
.hero p { margin-top: 20px; font-size: 1.15rem; }
.home-hero { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .72fr); gap: 96px; align-items: end; }
.hero-copy { align-self: center; }
.hero-register { position: relative; padding: 10px 18px 18px; border: 1px solid var(--rule); border-top: 5px solid var(--signal); background: var(--surface); }
.hero-register > p { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hero-register a { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 650; text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
.hero-register a::after { content: "\2197"; transition: transform 180ms ease; }
.hero-register a:hover { color: var(--signal); background: var(--soft-red); }
.hero-register a:hover::after { transform: translate(3px,-3px); }
.page-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 64px; align-items: end; }
.page-lead h1 { font-size: 4.5rem; }
.page-lead > p, .page-lead > div > p { margin: 0; font-size: 1.12rem; }
.tool-lead .meta-list { margin-top: 22px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin: 64px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.section-heading .section-label { margin-bottom: 8px; }
.section-heading p { max-width: 42ch; font-size: 14px; text-align: right; }
.category-directory { border-top: 1px solid var(--rule); }
.category-directory > a { position: relative; min-height: 116px; display: grid; grid-template-columns: 54px minmax(0, 1fr) 36px; align-items: center; gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--rule); text-decoration: none; overflow: hidden; transition: background-color 180ms ease, color 180ms ease; }
.category-directory > a::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--signal); transform: scaleY(0); transition: transform 180ms ease; }
.category-directory > a:hover { background: var(--surface); color: var(--authority); }
.category-directory > a:hover::before { transform: scaleY(1); }
.directory-number { color: var(--signal); font: 600 13px/1 var(--mono); }
.category-directory strong { display: block; margin-bottom: 5px; font: 500 1.65rem/1.15 var(--display); }
.category-directory small, .directory-list small, .tool-index small { display: block; max-width: 72ch; color: var(--muted); font-size: 14px; line-height: 1.45; }
.directory-arrow { justify-self: end; color: var(--authority); font-size: 20px; transition: transform 180ms ease; }
.category-directory > a:hover .directory-arrow, .directory-list > a:hover .directory-arrow { transform: translateX(4px); }

.tool-index-heading { margin-top: 88px; }
.tool-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 40px; }
.tool-index > section > h3 { padding: 0 0 12px; border-bottom: 3px solid var(--authority); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.tool-index > section > div { display: grid; }
.tool-index a, .directory-list > a { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
.tool-index a:hover, .directory-list > a:hover { color: var(--authority); background: var(--surface); }
.tool-index strong, .directory-list strong { display: block; margin-bottom: 3px; font-size: 15px; }
.directory-list { border-top: 1px solid var(--rule); }
.directory-list > a { min-height: 88px; padding-right: 12px; padding-left: 12px; }
.directory-list.compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.card, .panel { min-width: 0; background: var(--surface); }
.card { min-height: 150px; display: grid; align-content: start; gap: 9px; padding: 22px; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.card:hover { background: var(--soft-blue); color: var(--authority); }
.panel { padding: 28px; border: 1px solid var(--rule); }
.panel h2 + p, .panel h2 + .list { margin-top: 12px; }
.sections { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 24px; margin-top: 48px; }
.list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.75; }

.workbench { margin: 0 0 64px; border: 1px solid var(--rule-strong); border-top: 5px solid var(--authority); background: var(--surface); box-shadow: 0 18px 44px rgba(18,36,44,.08); }
.workbench-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.workbench-header .section-label { margin: 0 0 4px; }
.workbench-header h2 { font-size: 1.25rem; }
.privacy-note { display: inline-flex; align-items: center; gap: 8px; color: var(--utility); font-size: 13px; font-weight: 700; white-space: nowrap; }
.privacy-note span { font-size: 9px; }
.file-drop { min-height: 92px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--rule); background: var(--soft-blue); cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease; }
.file-drop:hover, .file-drop.is-dragging { background: #d8e7eb; box-shadow: inset 0 0 0 3px var(--authority); }
.file-drop input { width: 38px; height: 38px; color: transparent; overflow: hidden; }
.file-drop input::file-selector-button { width: 38px; height: 38px; border: 1px solid var(--authority); border-radius: 3px; background: var(--authority); color: transparent; cursor: pointer; }
.file-drop span { display: grid; }
.file-drop strong { color: var(--ink); font-size: 14px; }
.file-drop small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.file-status { justify-self: end; color: var(--utility); font-size: 12px; font-weight: 750; text-align: right; }
.tool { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-pane { min-width: 0; display: grid; grid-template-rows: auto 1fr; margin: 0; }
.tool-pane + .tool-pane { border-left: 1px solid var(--rule); }
.pane-label { min-height: 46px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--rule); background: var(--soft-blue); color: var(--authority); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
textarea, pre { width: 100%; min-height: 360px; margin: 0; padding: 18px; border: 0; border-radius: 0; background: var(--surface); color: var(--ink); font: 14px/1.6 var(--mono); overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
textarea { resize: vertical; }
textarea::placeholder { color: #65737d; opacity: 1; }
textarea:focus { outline: 3px solid #e2a51d; outline-offset: -3px; }
#tool-output { background: #f7f9fa; }
.actions { min-height: 66px; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--rule); }
button { min-height: 44px; border: 1px solid var(--authority); border-radius: 3px; padding: 0 20px; background: var(--authority); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease; }
button:hover { background: var(--authority-hover); border-color: var(--authority-hover); box-shadow: 0 5px 14px rgba(18,61,82,.18); }
button:active { transform: translateY(1px); }
button.secondary { border-color: var(--rule-strong); background: var(--surface); color: var(--ink); }
button.secondary:hover { border-color: var(--authority); background: var(--soft-blue); color: var(--authority); }
.example-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 56px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.example-block { min-width: 0; padding: 24px 0; }
.example-block + .example-block { padding-left: 28px; border-left: 1px solid var(--rule); }
.example-block:first-child { padding-right: 28px; }
.example-block h2 { margin-bottom: 14px; font-size: 1.05rem; }
.example-block pre { min-height: 180px; border: 1px solid var(--rule); background: var(--surface); }

.meta-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.meta-list span { padding: 5px 8px; border: 1px solid var(--rule); background: var(--surface); color: var(--muted); font-size: 12px; }
.slot, .ad-slot { min-height: 90px; display: grid; place-items: center; padding: 16px; border: 1px solid var(--rule); background: #eef1f2; color: var(--muted); font-size: 11px; text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.affiliate-box { display: grid; gap: 10px; margin-top: 12px; padding: 18px; border: 1px solid var(--rule); background: var(--soft-red); }
.affiliate-box h3 { font-size: 14px; }
.affiliate-link { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid #dfbdb7; color: var(--ink); text-decoration: none; }
.affiliate-link:hover { color: var(--signal); }
.affiliate-link span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.contact-frame { width: 100%; min-height: 760px; border: 1px solid var(--rule); background: var(--surface); }

.mega-footer { border-top: 0; background: var(--authority-hover); color: #bfcbd0; }
.footer-statement { width: min(var(--content), calc(100% - 56px)); min-height: 112px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid rgba(255,255,255,.2); color: #bfcbd0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.footer-statement strong { color: #fff; font: 600 2.25rem/1 var(--display); letter-spacing: 0; text-transform: none; }
.footer-inner { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(5, minmax(120px, 1fr)); gap: 36px; padding: 52px 0 46px; }
.mega-footer section { display: grid; align-content: start; gap: 8px; }
.mega-footer h3 { margin-bottom: 7px; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.mega-footer a { color: #bfcbd0; font-size: 13px; line-height: 1.4; text-decoration: none; transition: color 160ms ease, transform 160ms ease; }
.mega-footer a:hover { color: #fff; transform: translateX(2px); }
.mega-footer span { font-size: 12px; }
.footer-brand { padding-right: 24px; }
.footer-lockup { margin-bottom: 10px; }
.footer-brand p { font-size: 14px; }
.footer-brand .small { margin-top: 8px; font-size: 12px; }
.footer-subhead { margin-top: 20px; }
.footer-base { width: min(var(--content), calc(100% - 56px)); min-height: 60px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.2); color: #93a6ae; }
.mega-footer .brand-copy strong { color: #fff; }
.mega-footer .brand-copy small, .mega-footer p { color: #bfcbd0; }
.mobile-menu { display: none; }

@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  h1 { font-size: 4.5rem; }
  .page-lead h1 { font-size: 4rem; }
  .tool-finder { right: -96px; }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 3; max-width: 600px; }
}

@media (max-width: 760px) {
  .topbar, main, .footer-inner, .footer-base, .footer-statement { width: min(100% - 32px, var(--content)); }
  .topbar { min-height: 68px; gap: 18px; }
  .desktop-nav { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu > summary { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--rule); cursor: pointer; list-style: none; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary span { width: 20px; height: 2px; display: block; background: var(--authority); transition: transform 180ms ease, opacity 180ms ease; }
  .mobile-menu[open] > summary span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu[open] > summary span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] > summary span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-panel { position: fixed; inset: 72px 0 auto; max-height: calc(100vh - 72px); display: grid; padding: 12px 16px 24px; border-bottom: 4px solid var(--signal); background: var(--surface); box-shadow: 0 18px 30px rgba(18,36,44,.16); overflow: auto; animation: menu-in 180ms ease-out both; }
  .mobile-panel > a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 700; text-decoration: none; }
  .mobile-tool-finder { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 10px; margin-top: 14px; padding: 16px 0 4px; border-top: 3px solid var(--authority); }
  .mobile-tool-finder label { grid-column: 1 / -1; }
  .mobile-tool-finder select { min-width: 0; height: 42px; padding: 0 10px; border: 1px solid var(--rule-strong); border-radius: 0; background: var(--surface); color: var(--ink); font-size: 13px; }
  .mobile-tool-finder .tool-result-count { align-self: center; justify-self: end; }
  .mobile-tool-results { grid-column: 1 / -1; max-height: min(40vh, 330px); border-top: 1px solid var(--rule); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-tool-results > a { min-height: 64px; padding: 9px 4px; border-right: 0; }
  .mobile-panel p { margin-top: 22px; padding-bottom: 8px; border-bottom: 3px solid var(--authority); color: var(--authority); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-languages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding-top: 10px; }
  .mobile-languages a { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--rule); font-size: 12px; font-weight: 800; text-decoration: none; }
  .mobile-languages a[aria-current="page"] { border-color: var(--authority); background: var(--authority); color: #fff; }
  main { padding: 38px 0 64px; }
  h1 { font-size: 3.4rem; line-height: 1.04; }
  .page-lead h1 { font-size: 3.25rem; }
  .hero { margin-bottom: 42px; padding: 34px 0; }
  .home-hero, .page-lead { min-height: auto; grid-template-columns: 1fr; gap: 36px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; margin-top: 52px; }
  .section-heading p { text-align: left; }
  .category-directory > a { grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 12px; }
  .category-directory strong { font-size: 1.35rem; }
  .tool-index, .directory-list.compact, .tool, .sections, .example-pair { grid-template-columns: 1fr; }
  .tool-index { row-gap: 34px; }
  .tool-pane + .tool-pane { border-top: 1px solid var(--rule); border-left: 0; }
  textarea, pre { min-height: 250px; font-size: 13px; }
  .example-block + .example-block { padding-left: 0; border-top: 1px solid var(--rule); border-left: 0; }
  .example-block:first-child { padding-right: 0; }
  .workbench-header { align-items: flex-start; flex-direction: column; }
  .file-drop { grid-template-columns: auto minmax(0, 1fr); }
  .file-status { grid-column: 2; justify-self: start; text-align: left; }
  .privacy-note { white-space: normal; }
  .footer-statement { min-height: 132px; grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .footer-statement strong { font-size: 2rem; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; }
  .footer-brand { grid-column: span 2; }
  .footer-base { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 0; }
}

@media (max-width: 460px) {
  .brand-copy small { display: none; }
  .mobile-tool-finder { grid-template-columns: minmax(0, 1fr) auto; }
  .mobile-tool-finder select { min-width: 0; }
  .category-directory small { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .actions button { flex: 1 1 auto; padding: 0 12px; }
  h1, .page-lead h1 { font-size: 2.75rem; }
  .hero { padding: 30px 0 36px; }
  .hero p { font-size: 1rem; }
  .workbench-header { padding: 16px; }
  .privacy-note { font-size: 12px; }
}

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

@media print {
  .site-header, .mega-footer, .slot, .ad-slot, .affiliate-box, .actions { display: none !important; }
  body, main { background: #fff; color: #000; }
  main { width: 100%; padding: 0; }
  .hero, .panel, .workbench { break-inside: avoid; border-color: #777; }
}
