:root {
  --ink: #243342;
  --ink-soft: #465968;
  --muted: #667785;
  --line: #c9d4dc;
  --line-strong: #91a4b2;
  --surface: #ffffff;
  --surface-soft: #f4f7f8;
  --surface-tint: #eaf3f1;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --coral: #d85f47;
  --amber: #e5a72f;
  --blue: #2563a6;
  --success: #16794b;
  --danger: #b33a3a;
  --shadow: 0 8px 24px rgba(36, 51, 66, 0.09);
  --shadow-small: 0 3px 10px rgba(36, 51, 66, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--surface-soft);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 166, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 9px 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(36, 51, 66, 0.06);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-left: auto;
}

.desktop-nav a {
  padding: 8px 11px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--surface-tint);
}

.header-tools-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: var(--teal);
  border: 1px solid var(--teal-dark);
  border-radius: 6px;
}

.header-tools-link:hover {
  color: #fff;
  background: var(--teal-dark);
}

.header-tools-link svg {
  width: 17px;
  height: 17px;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  place-items: center;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  display: flex;
  width: min(340px, 88vw);
  padding: 20px;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 30px rgba(36, 51, 66, 0.16);
  transform: translateX(102%);
  transition: transform 180ms ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.mobile-menu nav a {
  padding: 11px 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  border-radius: 6px;
}

.mobile-menu nav a:hover {
  background: var(--surface-tint);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  background: rgba(23, 33, 43, 0.48);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.menu-overlay.open {
  visibility: visible;
  opacity: 1;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 17px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--teal);
}

.breadcrumbs svg {
  width: 14px;
  height: 14px;
}

.hero {
  padding: 48px 0 42px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 17px;
  height: 17px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.18;
}

h1 {
  max-width: 760px;
  font-size: 48px;
  font-weight: 850;
}

h2 {
  font-size: 28px;
  font-weight: 820;
}

h3 {
  font-size: 19px;
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.tool-search {
  position: relative;
  margin-top: 24px;
  max-width: 650px;
}

.tool-search svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 21px;
  height: 21px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.tool-search input {
  width: 100%;
  height: 52px;
  padding: 0 48px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  box-shadow: var(--shadow-small);
}

.tool-search input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.14);
}

.tool-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 5px;
  transform: translateY(-50%);
  place-items: center;
}

.tool-search-clear.visible {
  display: grid;
}

.tool-search-clear svg {
  position: static;
  width: 18px;
  height: 18px;
  transform: none;
}

.privacy-note {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.privacy-note-icon {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--teal-dark);
  background: var(--surface-tint);
  border-radius: 6px;
  place-items: center;
}

.privacy-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section {
  padding: 42px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--muted);
}

.category-block + .category-block {
  margin-top: 36px;
}

.category-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 20px;
}

.category-title span {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--teal-dark);
  background: var(--surface-tint);
  border: 1px solid #b9d8d4;
  border-radius: 6px;
  place-items: center;
}

.category-title svg {
  width: 19px;
  height: 19px;
}

.category-description {
  max-width: 720px;
  margin: -5px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  gap: 13px;
  align-items: center;
  min-height: 96px;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(36, 51, 66, 0.03);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.tool-card:hover {
  color: var(--ink);
  border-color: var(--teal);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.tool-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--teal-dark);
  background: var(--surface-tint);
  border: 1px solid #bad9d5;
  border-radius: 7px;
  place-items: center;
}

.tool-card:nth-child(3n + 2) .tool-card-icon {
  color: #9e432f;
  background: #fff0ec;
  border-color: #edc0b6;
}

.tool-card:nth-child(3n) .tool-card-icon {
  color: #8a6114;
  background: #fff7df;
  border-color: #ecd293;
}

.tool-card-icon svg {
  width: 21px;
  height: 21px;
}

.tool-card h3 {
  margin: 0 0 3px;
  font-size: 16px;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tool-card > svg {
  width: 19px;
  height: 19px;
  color: var(--line-strong);
}

.tool-card[hidden] {
  display: none;
}

.empty-search {
  display: none;
  padding: 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.empty-search.visible {
  display: block;
}

.content-band {
  background: var(--surface);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 44px;
  align-items: start;
}

.prose {
  color: var(--ink-soft);
}

.prose h2 {
  margin: 34px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 24px 0 8px;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 7px;
}

.fact-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
  border-radius: var(--radius);
}

.fact-panel h3 {
  font-size: 17px;
}

.fact-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.fact-panel li {
  display: flex;
  gap: 9px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 13px;
}

.fact-panel li svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: 0 0 16px;
  color: var(--success);
}

.future-ad-slot {
  display: grid;
  min-height: 90px;
  margin: 32px 0;
  color: #8997a2;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #f7f9fa;
  border: 1px dashed #cbd4db;
  border-radius: 6px;
  place-items: center;
}

.tool-page-intro {
  padding: 30px 0 26px;
}

.tool-page-intro h1 {
  font-size: 40px;
}

.tool-page-intro p {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
  padding-bottom: 42px;
}

.tool-workspace {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tool-workspace-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: #f8fafb;
  border-bottom: 1px solid var(--line);
}

.tool-workspace-head span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #fff;
  background: var(--teal);
  border-radius: 6px;
  place-items: center;
}

.tool-workspace-head svg {
  width: 20px;
  height: 20px;
}

.tool-workspace-head h2 {
  font-size: 19px;
}

.tool-workspace-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tool-form {
  padding: 20px;
}

.drop-zone {
  display: grid;
  min-height: 190px;
  padding: 24px;
  cursor: pointer;
  text-align: center;
  background: var(--surface-soft);
  border: 2px dashed var(--line-strong);
  border-radius: 7px;
  transition: border-color 150ms ease, background 150ms ease;
  place-items: center;
}

.drop-zone.dragging {
  background: var(--surface-tint);
  border-color: var(--teal);
}

.drop-zone-content {
  display: grid;
  gap: 9px;
  justify-items: center;
}

.drop-zone-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  place-items: center;
}

.drop-zone-icon svg {
  width: 24px;
  height: 24px;
}

.drop-zone strong {
  font-size: 16px;
}

.drop-zone p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal-dark);
}

.button-primary:hover:not(:disabled) {
  color: #fff;
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}

.button-secondary:hover:not(:disabled) {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.button-download {
  color: #fff;
  background: var(--blue);
  border-color: #1d4f84;
}

.button-download:hover {
  color: #fff;
  background: #1d4f84;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.selected-files {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.file-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.file-row > svg {
  width: 19px;
  height: 19px;
  color: var(--coral);
}

.file-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: var(--muted);
  font-size: 12px;
}

.tool-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.form-field textarea {
  min-height: 78px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.12);
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.status {
  display: none;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  padding: 11px 12px;
  color: var(--ink-soft);
  font-size: 13px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.status.visible {
  display: flex;
}

.status.processing {
  color: #765411;
  background: #fff8e5;
  border-color: #ecd293;
}

.status.success {
  color: #11613d;
  background: #eaf7f0;
  border-color: #a7d4ba;
}

.status.error {
  color: #8e2e2e;
  background: #fff0f0;
  border-color: #e4b0b0;
}

.status svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
}

.spinner {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 2px solid #d8b55d;
  border-top-color: #765411;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.result-panel {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #edf7f3;
  border: 1px solid #9dcdb8;
  border-radius: 6px;
}

.result-panel.visible {
  display: block;
}

.result-panel h3 {
  font-size: 16px;
}

.result-panel p {
  margin: 5px 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.result-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.result-data div {
  padding: 9px;
  background: #fff;
  border: 1px solid #bddbcf;
  border-radius: 5px;
}

.result-data dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.result-data dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.tool-assurance {
  display: grid;
  gap: 12px;
}

.assurance-item {
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.assurance-item svg {
  width: 19px;
  height: 19px;
  margin-bottom: 8px;
  color: var(--teal);
}

.assurance-item h3 {
  font-size: 14px;
}

.assurance-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.article-wrap {
  padding: 44px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 44px;
  align-items: start;
}

.article-body {
  max-width: 820px;
}

.article-body p,
.article-body li {
  color: var(--ink-soft);
}

.article-body h2 {
  margin: 36px 0 12px;
  font-size: 26px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 25px 0 9px;
  font-size: 19px;
}

.article-body p {
  margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 8px;
}

.steps {
  counter-reset: tutorial-step;
  display: grid;
  gap: 12px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 38px;
  padding: 8px 0 8px 48px;
  counter-increment: tutorial-step;
}

.steps li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  background: var(--teal);
  border-radius: 50%;
  content: counter(tutorial-step);
  place-items: center;
}

.faq-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.faq-list details {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq-list summary {
  position: relative;
  padding: 13px 42px 13px 14px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--teal);
  font-size: 20px;
  content: "+";
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 14px;
}

.related-tools {
  position: sticky;
  top: 92px;
}

.related-tools h2 {
  margin-bottom: 13px;
  font-size: 18px;
}

.related-list {
  display: grid;
  gap: 8px;
}

.related-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.related-link:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.related-link svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.page-hero {
  padding: 36px 0;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: 40px;
}

.page-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.legal-page {
  padding: 42px 0;
}

.legal-content {
  max-width: 850px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.legal-content h2 {
  margin: 34px 0 11px;
  font-size: 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content p {
  margin: 0 0 15px;
}

.legal-content li + li {
  margin-top: 7px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 7px;
}

.contact-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.contact-panel dd {
  margin: 3px 0 14px;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.site-footer {
  padding: 34px 0 22px;
  color: #d8e1e7;
  background: #263642;
  border-top: 4px solid var(--teal);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, 0.48fr));
  gap: 36px;
}

.site-footer .brand {
  color: #fff;
}

.footer-about {
  max-width: 480px;
  margin: 14px 0 0;
  color: #b9c7d0;
  font-size: 13px;
}

.footer-column h2 {
  color: #fff;
  font-size: 14px;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #c9d5dc;
  font-size: 13px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  color: #9fb0bb;
  font-size: 12px;
  border-top: 1px solid #425563;
}

.footer-bottom p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-tools-link {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero-inner,
  .content-layout,
  .tool-layout,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy-note {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .privacy-note-icon {
    grid-row: span 2;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-panel,
  .related-tools {
    position: static;
  }

  .tool-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 62px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero {
    padding: 34px 0 30px;
  }

  .hero-inner {
    gap: 26px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section {
    padding: 32px 0;
  }

  .section-head {
    display: block;
  }

  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-card {
    min-height: 86px;
  }

  .tool-page-intro h1,
  .page-hero h1 {
    font-size: 32px;
  }

  .tool-options,
  .result-data {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-form {
    padding: 14px;
  }

  .drop-zone {
    min-height: 165px;
    padding: 18px;
  }

  .tool-actions .button {
    flex: 1 1 140px;
  }

  .tool-assurance {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-body h2 {
    font-size: 23px;
  }

  .legal-content {
    padding: 20px;
  }

  .contact-panel,
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 7px;
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 7px;
    font-size: 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  h1 {
    font-size: 31px;
  }
}

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