@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/plus-jakarta-sans-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  font-family: var(--font-family);
  color: #11141b;
  background: #f5f2ea;
  font-synthesis: none;
  --bg: #f5f2ea;
  --surface: #fff;
  --surface-2: #eae7de;
  --text: #11141b;
  --muted: #626978;
  --line: #d9d7d0;
  --blue: #11141b;
  --blue2: #ff6b35;
  --lime: #d9ff43;
  --orange: #ff6b35;
  --lav: #a99cff;
  --focus: #ff6b35;
  --danger: #a62b2b;
  --shadow: 0 24px 80px rgba(17, 20, 27, 0.12);
  --display: var(--font-family);
}

html,
body,
body *,
body *::before,
body *::after {
  font-family: var(--font-family) !important;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

.seo-fallback {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px;
}

.seo-fallback > p:first-child {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  background: var(--text);
  color: var(--bg);
  padding: 10px;
}
.skip:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo svg {
  width: 40px;
  height: 40px;
}
.logo svg rect {
  fill: var(--blue);
}
.logo svg path {
  fill: white;
}
.logo svg circle {
  fill: #a9c6ff;
}
.logo small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.01em;
  color: var(--muted);
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 18px;
  margin-right: auto;
  align-items: center;
}
.nav a {
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
}
.nav a.active,
.nav a:hover {
  color: var(--blue);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions select,
.icon-btn,
.menu-btn {
  height: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}
.header-actions select {
  padding: 0 7px;
}
.icon-btn,
.menu-btn {
  width: 40px;
}
.menu-btn {
  display: none;
}
.mini-search {
  position: relative;
}
.mini-search input {
  width: 150px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 12px;
}
.search-popover {
  position: absolute;
  right: 0;
  top: 46px;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px #0002;
  border-radius: 10px;
  padding: 6px;
}
.search-popover button {
  display: flex;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
}
.search-popover button:hover {
  background: var(--surface-2);
}
main {
  min-height: 68vh;
}
.hero {
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
}
.kicker,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(44px, 6vw, 76px);
  max-width: 850px;
}
h2 {
  font-size: clamp(30px, 4vw, 46px);
}
h3 {
  font-size: 22px;
}
.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 680px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-weight: 750;
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.btn:hover,
button.primary:hover {
  transform: translateY(-2px);
  background: var(--orange);
  border-color: var(--orange);
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.hero .btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}
.hero .btn.secondary:hover {
  color: var(--text);
  background: var(--lime);
  border-color: var(--lime);
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 18px 60px #12204010;
}
.hero-card .shield {
  font-size: 30px;
}
.search-large {
  display: flex;
  border: 2px solid var(--text);
  border-radius: 10px;
  background: var(--surface);
  padding: 5px;
  margin-top: 24px;
  max-width: 650px;
}
.search-large input {
  flex: 1;
  border: 0;
  background: none;
  padding: 10px;
  min-width: 0;
}
.search-large button {
  border: 0;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  padding: 0 18px;
}
.section {
  padding: 72px 0;
}
.section.alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.section-head p {
  color: var(--muted);
  max-width: 560px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 20px;
  border-top: 5px solid var(--lime);
  transition: 0.15s;
}
.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--text);
  box-shadow: var(--shadow);
}
.tool-card > a {
  display: block;
  padding: 24px;
  height: 100%;
}
.tool-card p {
  color: var(--muted);
  margin-bottom: 20px;
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--lime);
  color: var(--text);
  font-size: 23px;
  border-radius: 9px;
  margin-bottom: 20px;
}
.privacy-chip {
  font-size: 12px;
  color: #35754a;
  font-weight: 700;
}
.star {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 24px;
  color: #b06a00;
}
.category-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.guide-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
}
.guide-card h2 {
  font-size: 27px;
  margin-top: 10px;
}
.guide-card p,
.article-copy p {
  color: var(--muted);
}
.guide-card a {
  color: var(--blue);
  font-weight: 750;
}
.article-copy section + section {
  margin-top: 44px;
}
.file-limit {
  color: var(--muted);
  font-size: 13px;
}
.category-tile,
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.category-tile strong {
  display: block;
}
.category-tile span,
.benefit p {
  color: var(--muted);
  font-size: 14px;
}
.privacy-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #eaf5ed;
  color: #194b2d;
  border: 1px solid #bbdec5;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
}
.privacy-strip p {
  margin: 2px 0;
}
.shield {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  background: #cce7d4;
}
.page-hero {
  padding: 58px 0 38px;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 66px);
}
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--blue);
}
.directory-controls {
  display: flex;
  gap: 12px;
  margin: 18px 0 30px;
}
.directory-controls input {
  flex: 1;
}
.input,
input,
select,
textarea {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 7px;
  padding: 10px 12px;
  min-height: 43px;
}
input[type='color'] {
  padding: 3px;
  width: 64px;
}
input[type='range'] {
  padding: 0;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
}
.filters button.active {
  background: var(--text);
  color: var(--bg);
}
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}
.tool-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.tool-aside {
  position: sticky;
  top: 100px;
}
.field {
  display: grid;
  gap: 6px;
  font-weight: 650;
  font-size: 14px;
}
.field small {
  font-weight: 400;
  color: var(--muted);
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.field-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.control-row {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
.control-row > .field {
  flex: 1;
}
.dropzone {
  border: 2px dashed #9da49b;
  border-radius: 10px;
  padding: 34px 18px;
  text-align: center;
  background: var(--bg);
  display: block;
}
.dropzone:hover {
  border-color: var(--blue);
}
.dropzone input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.file-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.file-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 8px;
}
.file-row img {
  width: 72px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}
.file-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.file-row button,
.button-row button,
.tool-panel > button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  padding: 9px 13px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.result-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
  margin-top: 18px;
}
.result-panel img {
  max-width: 100%;
  height: auto;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 7px;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.metric strong {
  font-size: 22px;
}
.preview-canvas,
.signature-preview,
.document-preview {
  background: white;
  color: #171917;
  border: 1px solid #ccd0ca;
  min-height: 250px;
  padding: 24px;
  overflow: auto;
}
.canvas-wrap {
  text-align: center;
  overflow: auto;
  background: #d9d8d3;
  padding: 20px;
  border-radius: 8px;
}
.canvas-wrap canvas {
  max-width: 100%;
  height: auto;
  background: white;
  box-shadow: 0 2px 15px #0002;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}
.invoice-table th,
.invoice-table td {
  padding: 7px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.invoice-table input {
  width: 100%;
}
.table-wrap {
  overflow: auto;
}
.notice {
  border-left: 4px solid #d68900;
  background: #fff3d5;
  color: #5d3c00;
  padding: 13px;
  margin: 16px 0;
}
.danger {
  color: var(--danger);
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  font-weight: 750;
  cursor: pointer;
}
.content {
  max-width: 780px;
}
.content p,
.content li {
  color: var(--muted);
}
.content h2 {
  font-size: 30px;
  margin-top: 40px;
}
.empty {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}
.ad-slot {
  display: none;
}
footer {
  background: #181a18;
  color: #e8e9e5;
  padding: 54px 0 20px;
}
footer .logo svg rect {
  fill: #e8e9e5;
}
footer .logo svg path {
  fill: #181a18;
}
footer .logo small,
footer p {
  color: #9ba198;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}
.footer-grid h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-grid a {
  display: block;
  color: #c6cac2;
  margin: 9px 0;
}
.footer-bottom {
  border-top: 1px solid #353834;
  margin-top: 38px;
  padding-top: 20px;
  color: #90958e;
  font-size: 12px;
}
[data-theme='dark'] {
  --bg: #111310;
  --surface: #1a1d19;
  --surface-2: #252923;
  --text: #edf0e9;
  --muted: #aeb4aa;
  --line: #343932;
  --blue: #72a5ff;
  --blue2: #9ec0ff;
}
.skip:focus,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.personal-panel {
  min-width: 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.personal-panel .section-head {
  margin-bottom: 18px;
}
.personal-panel .section-head h2 {
  font-size: 30px;
}
.personal-panel .tool-grid {
  grid-template-columns: 1fr;
}
.personal-panel .empty {
  min-height: 105px;
  display: grid;
  place-items: center;
  margin: 0;
}
.tool-hero {
  padding-bottom: 28px;
}
.tool-layout > div {
  min-width: 0;
  width: 100%;
}
.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.workspace-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.workspace-title .tool-icon {
  flex: 0 0 44px;
  margin: 0;
}
.workspace-title strong,
.workspace-title span {
  display: block;
}
.workspace-steps {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.workspace-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.workspace-steps span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
}
.tool-panel > .field-grid,
.tool-panel > .control-row {
  padding: 16px;
  margin: 16px 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.tool-panel input:not([type='checkbox']):not([type='color']):not([type='range']),
.tool-panel select,
.tool-panel textarea {
  width: 100%;
}
.tool-panel input[type='checkbox'] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: var(--blue);
}
.tool-panel input[type='range'] {
  width: 100%;
  accent-color: var(--blue);
}
.tool-panel input[type='file']::file-selector-button {
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  padding: 7px 10px;
  margin: -10px 10px -10px -12px;
  cursor: pointer;
}
.tool-panel button {
  min-height: 40px;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
.tool-panel button:not(:disabled):hover {
  border-color: color-mix(in srgb, var(--blue) 55%, var(--line));
  transform: translateY(-1px);
}
.tool-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.dropzone {
  min-height: 140px;
  cursor: pointer;
  display: grid;
  place-items: center;
  align-content: center;
  background: color-mix(in srgb, var(--blue) 3%, var(--bg));
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}
.dropzone:hover {
  background: color-mix(in srgb, var(--blue) 7%, var(--bg));
}
.table-wrap {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.table-wrap .invoice-table th {
  background: var(--surface-2);
}
.document-preview,
.signature-preview {
  margin-top: 20px;
  border-radius: 8px;
}
.notice {
  border-radius: 0 7px 7px 0;
}
.results-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
@media (max-width: 1000px) {
  .nav {
    position: fixed;
    display: none;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .mini-search {
    display: none;
  }
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tool-layout {
    grid-template-columns: 1fr;
  }
  .tool-aside {
    position: static;
  }
}
@media (max-width: 700px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }
  .logo small {
    display: none;
  }
  .hero {
    padding: 58px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .tool-grid,
  .category-grid,
  .benefit-grid,
  .guide-grid,
  .guide-grid.compact,
  .footer-grid,
  .field-grid,
  .field-grid.three,
  .result-grid {
    grid-template-columns: 1fr;
  }
  .personal-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 50px 0;
  }
  .header-row {
    gap: 8px;
  }
  .header-actions {
    margin-left: auto;
  }
  .page-hero {
    padding-top: 38px;
  }
  .tool-panel {
    padding: 16px;
  }
  .workspace-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .workspace-steps {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 3px;
  }
  .workspace-steps li {
    font-size: 11px;
  }
  .tool-panel > .field-grid,
  .tool-panel > .control-row {
    padding: 12px;
  }
  .document-preview,
  .signature-preview {
    padding: 14px;
  }
  .directory-controls {
    flex-direction: column;
  }
  .file-row {
    grid-template-columns: 56px 1fr;
  }
  .file-row img {
    width: 56px;
    height: 50px;
  }
  .file-row button {
    grid-column: 2;
  }
  .search-large button {
    padding: 0 10px;
  }
}

.consent-banner {
  position: fixed;
  z-index: 520;
  left: 50%;
  bottom: 20px;
  width: min(760px, calc(100% - 32px));
  max-height: min(70vh, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  overflow: auto;
  padding: 22px 24px;
  color: #fff;
  background: rgba(17, 20, 27, 0.985);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
  animation: consent-rise 60s linear forwards;
}
.consent-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}
.consent-banner p {
  margin: 0;
  color: #c8ced8;
  font-size: 14px;
  line-height: 1.55;
}
.consent-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-actions {
  display: flex;
  gap: 9px;
}
.consent-actions button {
  min-width: 132px;
  color: #fff;
  background: transparent;
  border-color: #596270;
}
.consent-actions button.primary {
  color: #10131a;
  background: #d9ff43;
  border-color: #d9ff43;
}
.consent-manage {
  position: fixed;
  z-index: 135;
  left: 14px;
  bottom: 14px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(17, 20, 27, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  font-weight: 800;
}
.consent-manage[aria-expanded='true'] {
  opacity: 0;
  pointer-events: none;
}
@keyframes consent-rise {
  from {
    bottom: 20px;
    transform: translateX(-50%);
  }
  to {
    bottom: 50%;
    transform: translate(-50%, 50%);
  }
}
@media (max-width: 640px) {
  .consent-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 19px;
  }
  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .consent-actions button {
    min-width: 0;
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .consent-banner {
    bottom: 20px;
    transform: translateX(-50%);
    animation: none !important;
  }
}

/* Unified Feed The Web navigation and visual system */
.site-header {
  z-index: 100;
  background: rgba(245, 242, 234, 0.94);
  border-bottom: 1px solid rgba(17, 20, 27, 0.1);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand-link {
  flex: 0 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
}
.logo img {
  width: 48px;
  height: 46px;
  object-fit: contain;
}
.logo-name {
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.15vw, 22px);
  min-width: 0;
}
.site-nav > a:not(.button) {
  position: relative;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.site-nav > a:not(.button)::after {
  content: '';
  position: absolute;
  right: 100%;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--text);
  transition: right 0.25s;
}
.site-nav > a:not(.button):hover::after,
.site-nav > a.active:not(.button)::after {
  right: 0;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-phone svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  color: #fff;
  background: var(--text);
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  color: #fff;
  background: var(--orange);
  transform: translateY(-2px);
}
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  background: var(--text);
  border: 0;
  border-radius: 50%;
}
.menu-button > span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 5px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.menu-button[aria-expanded='true'] > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-button[aria-expanded='true'] > span:nth-child(2) {
  opacity: 0;
}
.menu-button[aria-expanded='true'] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: var(--surface-2);
  border-radius: 999px;
}
.lang-switch button,
.lang-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 31px;
  min-height: 29px;
  padding: 0 7px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}
.lang-switch button[aria-current='true'],
.lang-switch a[aria-current='page'] {
  color: #fff;
  background: var(--text);
}
.tools-subnav {
  position: sticky;
  top: 74px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.tools-subnav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.tools-subnav nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tools-subnav nav::-webkit-scrollbar {
  display: none;
}
.tools-subnav nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.tools-subnav nav a:hover,
.tools-subnav nav a.active {
  color: var(--text);
  background: var(--lime);
}
.tools-subnav .mini-search {
  flex: 0 0 210px;
}
.tools-subnav .mini-search input {
  width: 100%;
  border-radius: 999px;
}
.hero {
  color: #fff;
  background: var(--text);
  border: 0;
}
.hero .kicker {
  color: var(--lime);
}
.hero .lead {
  color: #c9ced7;
}
.hero .hero-card {
  color: var(--text);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
.page-hero {
  padding: 58px 0 46px;
  color: #fff;
  background: var(--text);
}
.page-hero .breadcrumbs,
.page-hero .lead {
  color: #b7beca;
}
.page-hero .breadcrumbs a {
  color: var(--lime);
}
.page-hero .kicker,
.page-hero .eyebrow {
  color: var(--lime);
}
.section.alt {
  background: var(--surface-2);
}
.category-tile,
.benefit,
.guide-card,
.tool-panel,
.personal-panel {
  border-radius: 20px;
}
.category-tile:hover,
.guide-card:hover {
  border-color: var(--text);
}
.guide-card a,
.breadcrumbs a {
  color: var(--orange);
}
.tool-panel {
  box-shadow: 0 18px 55px rgba(17, 20, 27, 0.05);
}
.site-footer {
  padding: 78px 0 24px;
  color: #aeb6c5;
  background: #090b10;
}
.site-footer .footer-grid {
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 55px;
}
.site-footer .logo {
  color: #fff;
}
.site-footer .logo img {
  width: 52px;
  height: 50px;
}
.site-footer .logo-name {
  font-size: 17px;
}
.site-footer .footer-brand p {
  max-width: 360px;
  margin: 22px 0;
  color: #aeb6c5;
}
.site-footer .footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.site-footer .footer-grid h2 {
  margin-bottom: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: none;
}
.site-footer .footer-grid a {
  margin: 0;
  color: #aeb6c5;
  font-size: 14px;
}
.site-footer .footer-grid a:hover {
  color: #fff;
}
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 55px;
  padding-top: 20px;
  border-color: #292e38;
}
.site-footer .footer-bottom > span:last-child {
  display: flex;
  gap: 22px;
}

@media (max-width: 1120px) {
  .nav-wrap {
    min-height: 74px;
  }
  .menu-button {
    display: block;
    margin-left: auto;
  }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    height: calc(100dvh - 74px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 24px;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: var(--bg);
    transition: opacity 0.2s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav > a:not(.button) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .site-nav > a:not(.button)::after {
    display: none;
  }
  .site-nav .lang-switch {
    align-self: flex-start;
    margin: 18px 0 0;
  }
  .site-nav .button {
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .tools-subnav-inner {
    width: 100%;
    min-height: 54px;
    padding-left: 20px;
  }
  .tools-subnav .mini-search {
    display: none;
  }
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .site-header .nav-wrap {
    min-height: 70px;
  }
  .tools-subnav {
    top: 70px;
  }
  .logo-name {
    display: none;
  }
  .site-footer .logo-name {
    display: inline;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
  }
}

/* The former standalone tool theme is intentionally neutralised: all routes now
   inherit the single Feed The Web light design system. */
[data-theme='dark'] {
  --bg: #f5f2ea;
  --surface: #ffffff;
  --surface-2: #eae7de;
  --text: #11141b;
  --muted: #626978;
  --line: #d9d7d0;
  --blue: #11141b;
  --blue2: #ff6b35;
}

/* Keep the shared Feed The Web navigation visible on every tool route. */
html {
  scroll-padding-top: 96px;
}
body {
  padding-top: 74px;
}
.site-header {
  position: fixed !important;
  inset: 0 0 auto;
  width: 100%;
  z-index: 1000;
}
@media (max-width: 560px) {
  html {
    scroll-padding-top: 88px;
  }
  body {
    padding-top: 70px;
  }
}

#root > .site-header,#root > footer{display:none!important}
