/* Inter (SIL Open Font License 1.1), self-hosted to match the site's
   font-src 'self' Content-Security-Policy and to avoid a third-party request. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --navy: #0b1930;
  --navy-2: #162a46;
  --green: #117858;
  --green-dark: #0b654a;
  --ink: #172235;
  --muted: #5d6878;
  --line: #dce2e9;
  --soft: #eef2f6;
  --page: #f5f7fa;
  --white: #ffffff;
  --success: #13795b;
  --warning: #b76a09;
  --danger: #c93c3c;
  --info: #225ea8;
  --shadow-sm: 0 1px 2px rgba(11, 25, 48, .05), 0 5px 18px rgba(11, 25, 48, .05);
  --shadow-md: 0 14px 36px rgba(11, 25, 48, .09);
  --shadow-lift: 0 2px 6px rgba(11, 25, 48, .07), 0 16px 32px rgba(11, 25, 48, .12);
  --radius-sm: 8px;
  --radius: 12px;
  --content: 1220px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
main { min-height: 58vh; }
a { color: var(--green-dark); text-decoration-thickness: .08em; text-underline-offset: .17em; }
a:hover { color: var(--navy); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea, [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--white);
}
::selection { color: var(--navy); background: #ccebdd; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.muted { color: var(--muted); }
.text-small { font-size: .9rem; }
.stack { display: grid; gap: 18px; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
}
.nav {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.015em;
  text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links > a:not(.button) {
  position: relative;
  padding: 9px 11px;
  border-radius: 8px;
  color: #354156;
  font-size: .94rem;
  font-weight: 680;
  text-decoration: none;
}
.nav-links > a:not(.button):hover { color: var(--navy); background: var(--soft); }
.nav-links > a[aria-current="page"]:not(.button) { color: var(--navy); background: var(--soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 19px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: transform .16s ease, opacity .16s ease;
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before,
.nav-toggle-lines::after { position: absolute; left: 0; content: ""; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid var(--navy);
  border-radius: 9px;
  color: #fff;
  background: var(--navy);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
.button:hover { border-color: var(--navy-2); color: #fff; background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 25, 48, .18); }
.button:active { transform: translateY(0); box-shadow: none; }
.button.secondary { border-color: #cfd7e1; color: var(--navy); background: #fff; }
.button.secondary:hover { border-color: #aeb9c7; color: var(--navy); background: var(--soft); box-shadow: 0 6px 16px rgba(11, 25, 48, .08); }
.button.teal, .button.primary { border-color: var(--green); background: var(--green); }
.button.teal:hover, .button.primary:hover { border-color: var(--green-dark); background: var(--green-dark); box-shadow: 0 8px 22px rgba(17, 120, 88, .3); }
.button.danger { border-color: var(--danger); background: var(--danger); }
.button.small { min-height: 38px; padding: 7px 13px; border-radius: 8px; font-size: .9rem; }
.button[disabled] { opacity: .48; cursor: not-allowed; transform: none; }
.link-button {
  display: inline;
  padding: 0;
  border: 0;
  color: var(--green-dark);
  background: transparent;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .17em;
}
.link-button:hover { color: var(--navy); }

h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--navy);
  font-weight: 790;
  line-height: 1.18;
  text-wrap: balance;
}
h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 5.2vw, 4.35rem); letter-spacing: -.047em; }
h2 { margin-bottom: 16px; font-size: clamp(1.75rem, 3.4vw, 2.55rem); letter-spacing: -.032em; }
h3 { margin-bottom: 10px; font-size: 1.22rem; letter-spacing: -.017em; }
h4 { margin-bottom: 8px; font-size: 1rem; }
p { margin-top: 0; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.03rem, 1.5vw, 1.17rem); line-height: 1.7; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--green-dark);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--green);
  content: "";
}
.section { padding: 76px 0; }
.section.compact { padding: 54px 0; }
.section.soft { background: var(--soft); }
.section.white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p:last-child { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0 74px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--green);
  content: "";
}
.hero::after {
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(17, 120, 88, .12), rgba(17, 120, 88, 0) 70%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr); gap: 66px; align-items: center; }
.hero-copy h1 { max-width: 760px; }
.hero-copy .lead { max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .88rem; }
.product-preview {
  overflow: hidden;
  border: 1px solid #cfd7e1;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.preview-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  font-size: .78rem;
}
.preview-file { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 730; }
.preview-file-mark { width: 22px; height: 25px; display: grid; place-items: center; border: 1px solid #b8c3d0; border-radius: 4px; background: #fff; font-size: .58rem; }
.preview-status { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 700; }
.preview-status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--success); content: ""; }
.preview-body { padding: 19px; }
.preview-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--line); }
.preview-step { padding: 10px; background: #f8fafc; color: var(--muted); font-size: .72rem; font-weight: 680; text-align: center; }
.preview-step.active { color: var(--green-dark); background: #ebf7f2; }
.preview-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.preview-row { display: grid; grid-template-columns: 92px 1fr 86px; min-width: 330px; border-bottom: 1px solid #edf0f4; }
.preview-row:last-child { border-bottom: 0; }
.preview-row > span { overflow: hidden; padding: 9px 10px; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.preview-row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.preview-row.head { color: #46536a; background: #f4f7fa; font-weight: 760; }
.preview-row.warning { box-shadow: inset 3px 0 0 var(--warning); }
.preview-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 16px; }
.preview-summary dl { display: flex; gap: 18px; margin: 0; }
.preview-summary dt { color: var(--muted); font-size: .68rem; }
.preview-summary dd { margin: 1px 0 0; color: var(--navy); font-size: .86rem; font-weight: 790; }
.preview-export { padding: 8px 12px; border-radius: 7px; color: #fff; background: var(--green); font-size: .72rem; font-weight: 750; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 102px; padding: 23px 25px; border-right: 1px solid rgba(255,255,255,.14); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 4px; color: #fff; font-size: .94rem; }
.trust-item span { color: #bfc9d7; font-size: .84rem; line-height: 1.45; }
.trust-mark { width: 24px; height: 24px; display: grid; place-items: center; float: left; margin: 2px 10px 22px 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #83d8ba; font-size: .72rem; }

.cta-band { border-top: 1px solid #20344f; background: var(--navy); }
.cta-band-inner {
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
}
.cta-band h2 { margin-bottom: 7px; color: #fff; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.cta-band p { margin: 0; color: #bfc9d7; }
.cta-band .button.primary { flex: 0 0 auto; }

.card, .tool-shell, .auth-card, .pricing-card, .sidebar-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.card { padding: 24px; box-shadow: var(--shadow-sm); }
.card:has(.card-link) { transition: box-shadow .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.card:has(.card-link):hover { box-shadow: var(--shadow-lift); border-color: #c7d0dc; transform: translateY(-3px); }
.card p { color: var(--muted); }
.card h2 { font-size: 1.4rem; }
.tool-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid #c9e8dc;
  border-radius: 10px;
  color: var(--green-dark);
  background: #edf8f4;
  font-size: .7rem;
  font-weight: 840;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.tool-icon svg { width: 22px; height: 22px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 770; text-decoration: none; }
.card-link:hover { color: var(--navy); }

.tool-list { display: grid; border-top: 1px solid var(--line); }
.tool-list-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 17px;
  align-items: center;
  padding: 19px 2px;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .15s var(--ease);
}
.tool-list-item:hover { box-shadow: 0 0 0 10px var(--soft); background: var(--soft); border-radius: var(--radius-sm); z-index: 1; }
.tool-list-item .tool-icon { margin: 0; }
.tool-list-item h3 { margin-bottom: 3px; font-size: 1.08rem; }
.tool-list-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.tool-list-item .format { margin-top: 5px; color: #667085; font-size: .75rem; font-weight: 720; letter-spacing: .035em; text-transform: uppercase; }
.tool-category + .tool-category { margin-top: 52px; }
.tool-category-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.tool-category-head h2 { margin: 0; font-size: 1.55rem; }
.tool-category-head a { flex: 0 0 auto; font-size: .88rem; font-weight: 720; text-decoration: none; }
.tool-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 38px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #455066;
  background: #fff;
  font-size: .84rem;
  font-weight: 700;
}
.filter-button[aria-pressed="true"] { border-color: var(--navy); color: #fff; background: var(--navy); }
.empty-filter { padding: 28px; border: 1px dashed #b8c3d0; border-radius: var(--radius); color: var(--muted); text-align: center; }

.steps { counter-reset: workflow; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.step { position: relative; padding: 30px 34px 28px 62px; border-right: 1px solid var(--line); counter-increment: workflow; }
.step:last-child { border-right: 0; }
.step::before {
  position: absolute;
  top: 30px;
  left: 22px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: .75rem;
  font-weight: 800;
  content: counter(workflow);
}
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

.page-hero {
  padding: 58px 0 38px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.page-hero h1 { max-width: 900px; margin-bottom: 14px; font-size: clamp(2.15rem, 4.5vw, 3.55rem); }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs { margin-bottom: 16px; color: #6d7788; font-size: .82rem; }
.breadcrumbs a { color: #5f6b7d; text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }

.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 28px; align-items: start; }
.tool-shell { overflow: hidden; box-shadow: var(--shadow-sm); }
.tool-shell-head { padding: 20px 24px; border-bottom: 1px solid var(--line); background: #f9fafc; }
.tool-intro { margin: 0; color: var(--muted); font-size: .93rem; }
.privacy-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 24px;
  border-bottom: 1px solid #cfe8de;
  color: var(--green-dark);
  background: #edf8f4;
  font-size: .86rem;
  font-weight: 730;
}
.privacy-badge::before {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .65rem;
  content: "✓";
}
.tool-workspace { padding: 24px; }
.dropzone {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 30px 20px;
  border: 1.5px dashed #9eabbc;
  border-radius: 10px;
  background: #fbfcfd;
  text-align: center;
  transition: border-color .16s ease, background-color .16s ease;
}
.dropzone:hover { border-color: var(--green); background: #f7fbf9; }
.dropzone:focus-visible { border-color: var(--green); }
.dropzone.drag { border-color: var(--green); background: #edf8f4; }
.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.dropzone .file-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid #cbd5df;
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  font-size: 1.2rem;
}
.dropzone strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1.02rem; }
.dropzone small { display: block; color: var(--muted); }
.dropzone .button { margin-top: 15px; pointer-events: none; }
.file-summary {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #455066;
  background: var(--soft);
  font-size: .88rem;
}
.file-summary strong { color: var(--navy); }
.file-summary, .notice { overflow-wrap: anywhere; }
.controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.control.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; color: #344054; font-size: .88rem; font-weight: 720; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #bfc9d5;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}
input::placeholder, textarea::placeholder { color: #687386; opacity: 1; }
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  outline: 3px solid var(--green);
  outline-offset: 2px;
  box-shadow: none;
}
.checkbox-list { max-height: 190px; display: grid; gap: 8px; overflow: auto; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.checkbox-list label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 560; }
.checkbox-list input { width: auto; min-height: auto; accent-color: var(--green); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.notice {
  --notice-color: #174b84;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #b9d4f2;
  border-radius: 9px;
  color: var(--notice-color);
  background: #eef6ff;
  font-size: .91rem;
}
.notice::before {
  content: "i";
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--notice-color);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
}
.tool-workspace > .notice { margin-top: 16px; }
.notice.success { --notice-color: var(--success); border-color: #adddca; background: #ecf8f3; }
.notice.warning { --notice-color: #8e5004; border-color: #ecd099; background: #fff8e9; }
.notice.error { --notice-color: #9e2929; border-color: #efb7b7; background: #fff1f1; }
.notice.success::before { content: "\2713"; }
.notice.warning::before { content: "!"; }
.notice.error::before { content: "\00d7"; font-size: .82rem; }
.results { display: none; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.results h2 { margin-bottom: 18px; font-size: 1.55rem; }
.result-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 15px; }
.stat { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.stat span { display: block; overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.stat strong { display: block; margin-top: 2px; color: var(--navy); font-size: 1rem; font-variant-numeric: tabular-nums; }
.table-wrap {
  max-width: 100%;
  max-height: 480px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: .84rem; white-space: nowrap; }
caption { padding: 11px 12px; color: var(--muted); background: #fff; font-size: .8rem; line-height: 1.5; text-align: left; white-space: normal; }
th, td { padding: 10px 12px; border-bottom: 1px solid #edf0f4; text-align: left; }
th { position: sticky; z-index: 1; top: 0; color: #344054; background: #f3f5f8; font-size: .76rem; letter-spacing: .025em; text-transform: uppercase; }
td { color: #3d4859; font-variant-numeric: tabular-nums; }
tr.invalid td { background: #fff1f1; }
tr.invalid td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
.sidebar { display: grid; gap: 15px; }
.sidebar-box { padding: 18px; }
.sidebar-box h3 { margin-bottom: 10px; font-size: 1rem; }
.sidebar-box p { color: var(--muted); font-size: .9rem; }
.sidebar-box ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.sidebar-box a:not(.button) { text-decoration: none; }
.ad-shell {
  min-height: 116px;
  display: none;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e1e5ea;
  border-radius: 9px;
  color: #8c96a4;
  background: #f1f3f5;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ad-shell.ad-enabled { display: grid; }
.ad-shell ins { width: 100%; }
.content + .sidebar { margin-top: 0; }

.content { color: #354156; font-size: 1rem; overflow-wrap: anywhere; }
.content > * { max-width: 100%; }
.content h2 { margin-top: 42px; margin-bottom: 13px; font-size: 1.65rem; scroll-margin-top: 90px; }
.content h3 { margin-top: 29px; }
.content p, .content li { color: #465166; }
.content a { font-weight: 620; }
.content ul, .content ol { padding-left: 1.35rem; }
.content li + li { margin-top: 6px; }
.content code { padding: 2px 6px; border-radius: 5px; background: var(--soft); }
.content table { margin: 22px 0; white-space: normal; }
.content .ad-shell { max-width: none; margin-bottom: 30px; }
.content .card > h2:first-child { margin-top: 0; }
.content-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-bottom: 24px; color: var(--muted); font-size: .82rem; }
.callout { margin: 24px 0; padding: 18px 20px; border: 1px solid #bfe3d5; border-left: 4px solid var(--green); border-radius: 0 9px 9px 0; color: #285347; background: #edf8f4; }
.toc {
  margin: 27px 0 34px;
  padding: 18px 20px;
  border-block: 1px solid var(--line);
  background: #f8fafc;
}
.toc h2 { margin: 0 0 9px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 24px; margin: 0; padding-left: 20px; }
.toc a { color: #465166; font-size: .88rem; font-weight: 620; text-decoration: none; }
.toc a:hover { color: var(--green-dark); text-decoration: underline; }
.related-content {
  margin-top: 44px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.related-content h2 { margin-top: 0; }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related-link { padding: 14px 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); background: #fff; font-weight: 700; text-decoration: none; }
.related-link:hover { border-color: #b8c3d0; color: var(--green-dark); }

.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.comparison-table { min-width: 650px; white-space: normal; }
.comparison-table th, .comparison-table td { padding: 14px 16px; }
.comparison-table th { position: static; text-transform: none; }
.check { color: var(--success); font-weight: 820; }
.dash { color: #98a2b3; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: 25px; box-shadow: var(--shadow-sm); }
.pricing-card h2 { margin-bottom: 9px; font-size: 1.35rem; }
.pricing-card p { color: var(--muted); }
.pricing-card.featured { border: 2px solid var(--green); }
.plan-badge {
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 4px 8px;
  border: 1px solid #b9decf;
  border-radius: 6px;
  color: var(--green-dark);
  background: #edf8f4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.price { margin: 7px 0 6px; color: var(--navy); font-size: 2.25rem; font-weight: 820; letter-spacing: -.04em; }
.price small { color: var(--muted); font-size: .85rem; font-weight: 620; letter-spacing: 0; }
.feature-list { display: grid; gap: 9px; margin: 19px 0 24px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 23px; color: #465166; }
.feature-list li::before { position: absolute; left: 0; color: var(--success); font-weight: 900; content: "✓"; }
.pricing-card .button { width: 100%; margin-top: auto; }
.billing-note { margin-top: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.billing-note h2 { margin-bottom: 9px; font-size: 1.4rem; }
.billing-note p:last-child { margin-bottom: 0; }

.auth-wrap { min-height: calc(100vh - 70px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .8fr); background: var(--white); }
.auth-context { display: flex; align-items: center; padding: 60px max(40px, calc((100vw - var(--content)) / 2)); color: #dce5ef; background: var(--navy); }
.auth-context-inner { max-width: 510px; }
.auth-context h2 { color: #fff; }
.auth-context p { color: #bdc8d6; }
.auth-context strong { color: #fff; }
.auth-context .eyebrow { color: #91d7be; }
.auth-context .eyebrow::before { background: #91d7be; }
.auth-points { display: grid; gap: 14px; margin-top: 25px; }
.auth-point { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.auth-point span:first-child { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #81d1b5; font-size: .7rem; }
.auth-panel { display: grid; place-items: center; padding: 54px 30px; background: var(--page); }
.auth-card { width: min(460px, 100%); padding: 30px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 2rem !important; letter-spacing: -.035em; }
.auth-card > p { color: var(--muted); }
.form-stack { display: grid; gap: 15px; }
.tabs { display: flex; gap: 5px; margin-bottom: 24px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.tabs button { min-height: 39px; flex: 1; padding: 7px; border: 0; border-radius: 6px; color: #4a5568; background: transparent; font-size: .88rem; font-weight: 720; }
.tabs button.active { color: var(--navy); background: #fff; box-shadow: 0 1px 3px rgba(11,25,48,.1); }
.dashboard-grid { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 24px; }
.dashboard-nav { align-self: start; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dashboard-nav a { display: block; padding: 9px 10px; border-radius: 7px; color: #465166; font-size: .91rem; font-weight: 690; text-decoration: none; }
.dashboard-nav a:hover, .dashboard-nav a[aria-current="page"] { color: var(--navy); background: var(--soft); }
.dashboard-grid .card h2 { font-size: 1.4rem; }
.account-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 9px; }
.account-fact { min-width: 0; padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.account-fact:nth-child(2n) { border-right: 0; }
.account-fact:nth-last-child(-n+2) { border-bottom: 0; }
.account-fact strong { display: block; color: var(--muted); font-size: .73rem; letter-spacing: .035em; text-transform: uppercase; }
.account-fact p { overflow-wrap: anywhere; margin: 4px 0 0; color: var(--navy); font-weight: 730; }
.status-pill { display: inline-flex; padding: 3px 8px; border-radius: 999px; color: var(--success); background: #e9f6f1; font-size: .78rem; font-weight: 750; text-transform: capitalize; }
.status-pill[data-status="inactive"],
.status-pill[data-status="expired"],
.status-pill[data-status="refunded"] { color: #5d6878; background: #eef2f6; }
.status-pill[data-status="past_due"],
.status-pill[data-status="paused"],
.status-pill[data-status="unpaid"] { color: #8a4b00; background: #fff3dc; }
.dashboard-nav button { width: 100%; margin-top: 12px; }

.section.soft .grid-2 > .card-link {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.faq details { margin-bottom: 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.faq summary {
  position: relative;
  padding: 16px 48px 16px 17px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 740;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 15px; right: 17px; color: var(--green-dark); content: "+"; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { margin: 0; padding: 14px 17px 17px; color: var(--muted); }

.site-footer { margin-top: 0; padding: 54px 0 24px; color: #c6d0dc; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(4, minmax(120px, .8fr)); gap: 32px; }
.footer-about { max-width: 340px; }
.site-footer .brand { margin-bottom: 14px; color: #fff; }
.site-footer p { color: #aebac9; font-size: .87rem; line-height: 1.6; }
.site-footer h3 { margin-bottom: 13px; color: #fff; font-size: .77rem; letter-spacing: .075em; text-transform: uppercase; }
.site-footer a:not(.brand) { display: block; margin: 7px 0; color: #c2ccd8; font-size: .87rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact { margin-top: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: #98a6b8; font-size: .8rem; }
.privacy-line { display: flex; align-items: center; gap: 7px; }
.privacy-line::before { width: 7px; height: 7px; border-radius: 50%; background: #62c7a4; content: ""; }
.privacy-banner,
.cookie-notice {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: 18px;
  width: min(470px, calc(100% - 36px));
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #465166;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: .83rem;
}
.privacy-banner { width: min(660px, calc(100% - 36px)); align-items: flex-start; }
.privacy-banner strong, .cookie-notice strong { display: block; margin-bottom: 3px; color: var(--navy); }
.privacy-banner span { display: block; color: var(--muted); line-height: 1.5; }
.privacy-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.footer-link {
  display: block;
  margin: 7px 0;
  padding: 0;
  border: 0;
  color: #c2ccd8;
  background: transparent;
  font-size: .87rem;
  line-height: inherit;
  text-align: left;
}
.footer-link:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr 430px; gap: 40px; }
  .tool-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-about { grid-row: span 2; }
}

@media (max-width: 880px) {
  .hero-grid, .tool-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .product-preview { max-width: 620px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .ad-shell { grid-column: 1 / -1; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-context { min-height: auto; padding-block: 50px; }
  .auth-panel { padding-block: 45px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .container, .narrow { width: min(100% - 30px, var(--content)); }
  .site-header, .nav { min-height: 64px; }
  .brand img { width: 31px; height: 31px; }
  html:not(.js) .nav { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav-links { width: 100%; flex-wrap: wrap; }
  html:not(.js) .nav-actions { margin-left: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links {
    position: absolute;
    top: 63px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 80px);
    display: none;
    overflow-y: auto;
    align-items: stretch;
    gap: 3px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 0 0 11px 11px;
    background: #fff;
    box-shadow: var(--shadow-md);
  }
  .js .nav-links.open { display: flex; flex-direction: column; }
  .nav-links > a:not(.button) { padding: 11px 10px; }
  .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 7px 0 0; padding-top: 9px; border-top: 1px solid var(--line); }
  .hero { padding: 57px 0 48px; }
  .hero::before { width: 4px; }
  .hero-grid { gap: 36px; }
  h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .section { padding: 58px 0; }
  .section.compact { padding: 44px 0; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .controls, .sidebar { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 84px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .trust-item:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .tool-search { grid-template-columns: 1fr; }
  .tool-list-item { grid-template-columns: 46px minmax(0, 1fr); }
  .tool-list-item .button { grid-column: 1 / -1; width: 100%; }
  .tool-list-item .tool-icon { min-width: 42px; padding-inline: 6px; }
  .page-hero { padding: 44px 0 30px; }
  .tool-workspace { padding: 17px; }
  .tool-shell-head, .privacy-badge { padding-inline: 17px; }
  .dropzone { min-height: 200px; padding-inline: 15px; }
  .result-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc ol, .related-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .footer-about { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { flex-direction: column; }
  .cta-band-inner { min-height: 0; align-items: flex-start; flex-direction: column; }
  .cta-band .button { width: 100%; }
  .privacy-banner, .cookie-notice { left: 15px; right: 15px; bottom: 15px; width: auto; }
}

@media (max-width: 430px) {
  .container, .narrow { width: calc(100% - 24px); }
  .brand span { max-width: 172px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-actions .button, .tool-actions .button { width: 100%; }
  .preview-body { padding: 13px; }
  .preview-toolbar { align-items: flex-start; flex-direction: column; }
  .preview-summary { align-items: stretch; flex-direction: column; }
  .preview-summary dl { justify-content: space-between; }
  .preview-export { text-align: center; }
  .filter-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .result-stats { gap: 7px; }
  .stat { padding: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
  .account-facts { grid-template-columns: 1fr; }
  .account-fact, .account-fact:nth-child(2n), .account-fact:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .account-fact:last-child { border-bottom: 0; }
  .auth-panel { padding-inline: 14px; }
  .auth-card { padding: 22px 18px; }
  .privacy-banner, .cookie-notice { align-items: stretch; flex-direction: column; }
  .privacy-actions { display: grid; }
  .privacy-banner .button, .cookie-notice .button { width: 100%; }
}

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

@media print {
  .site-header, .site-footer, .ad-shell, .privacy-banner, .cookie-notice, .button, .toc { display: none !important; }
  body, .page-hero, .section { background: #fff; }
  .section { padding: 20px 0; }
  a { color: #000; text-decoration: none; }
}

/* Modal dialog (currently used only by the Debit/Credit Converter's PDF
   password prompt) — additive only, no existing selector is touched. */
.modal-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 25, 48, .55);
}
.modal {
  width: min(440px, 100%);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.modal h2 { margin-bottom: 10px; font-size: 1.3rem; }
.modal p { color: var(--muted); }
.checkbox-inline { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-weight: 560; }
.checkbox-inline input { width: auto; min-height: auto; accent-color: var(--green); }
