.site-header-backdrop {
  position: fixed;
  inset: 0 0 auto;
  z-index: 19;
  height: 124px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 82% -45%, rgba(245, 163, 0, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.96) 0%, rgba(8, 8, 8, 0.88) 58%, rgba(8, 8, 8, 0.52) 78%, rgba(8, 8, 8, 0) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  transform: translateY(-12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

html.site-header-scrolled .site-header-backdrop {
  opacity: 1;
  transform: translateY(0);
}

html[data-theme="light"] .site-header-backdrop {
  background:
    radial-gradient(circle at 82% -45%, rgba(245, 163, 0, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 250, 248, 0.88) 58%, rgba(250, 250, 248, 0.56) 78%, rgba(250, 250, 248, 0) 100%);
}

.site-menu {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 20;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-menu-label {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.36);
}

html[data-theme="light"] .site-menu-label {
  color: #171717;
  text-shadow: none;
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.66);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

html[data-theme="light"] .menu-toggle {
  border-color: rgba(20, 20, 20, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  position: absolute;
  left: 17px;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2, #ffbf3f), var(--accent, #f5a300));
  transform-origin: center;
  transition: top 0.22s ease, opacity 0.16s ease, transform 0.22s ease;
}

.menu-toggle span:not(.sr-only):nth-child(1) {
  top: 18px;
}

.menu-toggle span:not(.sr-only):nth-child(2) {
  top: 28px;
}

.menu-toggle span:not(.sr-only):nth-child(3) {
  top: 38px;
}

.menu-toggle:hover {
  border-color: rgba(245, 163, 0, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(245, 163, 0, 0.18), 0 0 24px rgba(245, 163, 0, 0.18);
  transform: translateY(-1px);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
  top: 28px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  opacity: 0;
  transform: translateX(-8px) scaleX(0.4);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  top: 28px;
  transform: rotate(-45deg);
}

.site-share-button,
.site-support-button {
  position: fixed;
  top: 30px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(17, 17, 17, 0.66);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 36px rgba(0, 0, 0, 0.24);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.site-share-button {
  right: 284px;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.site-share-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-support-button {
  right: 156px;
}

html[data-theme="light"] .site-share-button,
html[data-theme="light"] .site-support-button {
  border-color: rgba(20, 20, 20, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.70);
  color: #151515;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.80),
    0 14px 32px rgba(0, 0, 0, 0.10);
}

.site-support-button > span:first-child {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 35%, #f5d7ea 0 24%, transparent 25%),
    linear-gradient(135deg, #9e7de3, #2f2440);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: transparent;
  font-size: 0;
}

.site-contact-button {
  position: fixed;
  top: 30px;
  right: 28px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 42px;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffad24, #ff9800);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 30px rgba(255, 152, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.site-contact-button:hover,
.site-contact-button:focus-visible {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 16px 34px rgba(255, 152, 0, 0.28);
}

.site-contact-button:focus-visible {
  outline: 2px solid rgba(245, 163, 0, 0.72);
  outline-offset: 4px;
}

.site-theme-toggle {
  position: fixed;
  top: 27px;
  right: 416px;
  z-index: 20;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 0 12px rgba(255, 152, 0, 0.36));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.site-theme-toggle:hover,
.site-theme-toggle:focus-visible {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 16px rgba(255, 152, 0, 0.48));
}

.site-theme-toggle:focus-visible {
  outline: 2px solid rgba(245, 163, 0, 0.72);
  outline-offset: 4px;
}

.theme-toggle-icon {
  --theme-icon-rest: 0deg;
  display: block;
  width: 38px;
  height: 38px;
  margin: auto;
  object-fit: contain;
  transform: rotate(var(--theme-icon-rest));
  transition: transform 0.22s ease;
}

.site-theme-toggle:hover .theme-toggle-icon,
.site-theme-toggle:focus-visible .theme-toggle-icon {
  animation: siteGlintSpin 720ms cubic-bezier(0.22, 0.78, 0.18, 1);
}

html[data-theme="light"] .theme-toggle-icon {
  --theme-icon-rest: -18deg;
}

@keyframes siteGlintSpin {
  from {
    transform: rotate(var(--theme-icon-rest));
  }
  to {
    transform: rotate(calc(var(--theme-icon-rest) + 360deg));
  }
}

.site-share-button:hover,
.site-share-button:focus-visible,
.site-support-button:hover,
.site-support-button:focus-visible {
  border-color: rgba(245, 163, 0, 0.48);
  background:
    linear-gradient(180deg, rgba(245, 163, 0, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(32, 32, 32, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 36px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(245, 163, 0, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

.site-share-button:focus-visible,
.site-support-button:focus-visible {
  outline: 2px solid rgba(245, 163, 0, 0.72);
  outline-offset: 4px;
}

.share-popover {
  position: fixed;
  z-index: 100;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: #f8fafc;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)), rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.share-popover[hidden],
.tool-share-cta[hidden] {
  display: none;
}

.share-popover-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.share-popover-head > div {
  display: grid;
  gap: 3px;
}

.share-popover-kicker {
  color: var(--accent-2, #ffbf3f);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-popover-head strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.share-popover-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.share-link-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.share-link-input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  color: #e8edf2;
  background: rgba(0, 0, 0, 0.2);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  text-overflow: ellipsis;
}

.share-link-input::selection {
  color: #111;
  background: var(--accent-2, #ffbf3f);
}

.share-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 116px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(245, 163, 0, 0.48);
  border-radius: 13px;
  color: var(--accent-2, #ffbf3f);
  background: rgba(245, 163, 0, 0.08);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.share-copy-button.is-copied {
  border-color: rgba(246, 211, 101, 0.66);
  color: #fff2cf;
  background: rgba(245, 163, 0, 0.14);
}

.share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  color: #e8edf2;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.share-option svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.share-option:hover,
.share-option:focus-visible,
.share-copy-button:hover,
.share-copy-button:focus-visible,
.share-popover-close:hover,
.share-popover-close:focus-visible {
  border-color: rgba(245, 163, 0, 0.55);
  color: var(--accent-2, #ffbf3f);
  background: rgba(245, 163, 0, 0.09);
  outline: none;
}

.share-option:focus-visible,
.share-link-input:focus-visible,
.share-copy-button:focus-visible,
.share-popover-close:focus-visible {
  outline: 2px solid rgba(245, 163, 0, 0.72);
  outline-offset: 2px;
}

.share-feedback {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: -2px 2px;
  color: var(--accent-2, #ffbf3f);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

html[data-theme="light"] .share-popover {
  border-color: rgba(20, 20, 20, 0.13);
  color: #17191d;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .share-option,
html[data-theme="light"] .share-link-input,
html[data-theme="light"] .share-popover-close {
  border-color: rgba(20, 20, 20, 0.11);
  color: #22272d;
  background: rgba(20, 20, 20, 0.035);
}

html[data-theme="light"] .share-copy-button {
  border-color: rgba(205, 125, 0, 0.42);
  color: #9a5b00;
  background: rgba(245, 163, 0, 0.1);
}

.tool-share-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  color: var(--muted, #b6bec8);
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tool-share-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tool-share-cta button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 2px;
  border: 0;
  color: var(--accent-2, #ffbf3f);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tool-share-cta button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.tool-share-cta button:hover,
.tool-share-cta button:focus-visible {
  color: #fff2cf;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-share-cta button:focus-visible {
  outline: 2px solid rgba(245, 163, 0, 0.72);
  outline-offset: 3px;
  border-radius: 6px;
}

html[data-theme="light"] .tool-share-cta {
  border-color: rgba(20, 20, 20, 0.1);
  background: rgba(20, 20, 20, 0.025);
}

.menu-panel {
  position: absolute;
  top: 70px;
  left: 0;
  width: min(280px, calc(100vw - 48px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)), rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

html[data-theme="light"] .menu-panel {
  border-color: rgba(20, 20, 20, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .menu-link,
html[data-theme="light"] .menu-parent,
html[data-theme="light"] .submenu-link {
  color: #22272d;
}

html[data-theme="light"] .menu-link:hover,
html[data-theme="light"] .menu-parent:hover,
html[data-theme="light"] .submenu-link:hover {
  background: rgba(245, 163, 0, 0.10);
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-link,
.menu-parent,
.submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #eef2f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}

.menu-link:hover,
.menu-parent:hover,
.submenu-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.menu-parent::after,
.submenu-parent::after {
  content: none !important;
  display: none !important;
}

.split-summary {
  gap: 12px;
  justify-content: space-between;
  text-align: left;
}

.summary-link {
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  text-align: left;
}

.summary-toggle-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 34px;
  margin: -8px -8px -8px auto;
  border-radius: 999px;
  color: var(--accent-2, #ffbf3f);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
}

.menu-group,
.submenu-group {
  margin-top: 4px;
}

.menu-group summary,
.submenu-group summary {
  list-style: none;
  cursor: pointer;
}

.menu-group summary::-webkit-details-marker,
.submenu-group summary::-webkit-details-marker {
  display: none;
}

.submenu {
  padding: 4px 0 0;
}

.submenu-link {
  font-size: 14px;
  color: #cfd7df;
  justify-content: flex-start;
}

.submenu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 10px 0 2px;
  padding: 8px 14px 6px;
  color: var(--accent-2, #ffbf3f);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.submenu-nested {
  padding: 2px 0 6px 8px;
}

.menu-group[open] > .menu-parent .summary-toggle-glyph,
.submenu-group[open] > .submenu-parent .summary-toggle-glyph {
  font-size: 0;
}

.menu-group[open] > .menu-parent .summary-toggle-glyph::before,
.submenu-group[open] > .submenu-parent .summary-toggle-glyph::before {
  content: "-";
  font-size: 22px;
}

.site-breadcrumbs {
  position: relative;
  z-index: 2;
  max-width: min(980px, calc(100vw - 40px));
  margin: 0 auto 22px;
  text-align: left;
}

.tool-page-brand + .site-breadcrumbs {
  margin-top: 2px;
}

.site-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted, #b6bec8);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.site-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.32);
}

.site-breadcrumbs a {
  color: var(--accent-2, #ffbf3f);
  text-decoration: none;
}

.site-breadcrumbs a:hover,
.site-breadcrumbs a:focus-visible {
  color: #fff2cf;
  text-decoration: underline;
}

.site-breadcrumbs span {
  color: rgba(248, 250, 252, 0.86);
}

.upload-dropzone {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  min-height: 240px;
  padding: 28px 18px;
  border: 1px dashed rgba(246, 211, 101, 0.5);
  border-radius: 20px;
  color: #c5ced8;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.upload-dropzone:hover,
.upload-dropzone:focus-within,
.upload-dropzone.is-dragging,
.upload-dropzone.is-active {
  border-color: var(--accent-2, #ffbf3f);
  background: rgba(246, 211, 101, 0.08);
  transform: translateY(-2px);
}

.upload-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.upload-dropzone-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(246, 211, 101, 0.38);
  border-radius: 16px;
  color: #111111;
  background: var(--accent-2, #ffbf3f);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.upload-dropzone-title {
  color: #f7f9fb;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.upload-dropzone-copy {
  max-width: 280px;
  color: #c5ced8;
  font-size: 16px;
  line-height: 1.35;
}

.upload-dropzone-button {
  min-width: 0;
  min-height: 42px;
  margin-top: 4px;
  padding: 10px 16px;
  pointer-events: none;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: none;
  margin: 44px 0 0;
  padding: 39px 24px 34px;
  color: #c5ced8;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 163, 0, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    rgba(5, 5, 5, 0.38);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.site-footer-main,
.site-footer-bottom {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 1.12fr) repeat(3, minmax(180px, 0.88fr));
  gap: 0;
  padding: 0 0 56px;
}

.site-footer-brand,
.site-footer-column {
  min-width: 0;
}

.site-footer-brand {
  padding-right: 46px;
}

.site-footer-column {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 10px 36px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-column a,
.site-footer-social-link,
.site-footer-coffee-link,
.site-footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer-logo {
  display: block;
  width: min(300px, 100%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(245, 163, 0, 0.1)) drop-shadow(0 0 36px rgba(245, 163, 0, 0.06));
}

.site-footer-logo-link {
  display: inline-block;
  width: min(300px, 100%);
  color: inherit;
  text-decoration: none;
}

.site-footer-brand p {
  max-width: 300px;
  margin: 28px 0 18px;
  color: #c5ced8;
  font-size: 18px;
  line-height: 1.75;
}

.site-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #c5ced8;
  font-size: 16px;
  font-weight: 700;
}

.site-footer-social-link {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer-social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.site-footer-coffee-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.listmysaas-badge-embed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  margin-top: 16px;
}

.listmysaas-badge-link {
  display: inline-flex;
  border-radius: 6px;
  opacity: 0.84;
  filter: saturate(0.88) brightness(0.94);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.listmysaas-badge-link img {
  display: block;
  width: 125px;
  height: 44px;
  border-radius: inherit;
}

.site-footer-column h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.2;
}

.site-footer-heading-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(245, 163, 0, 0.52);
  border-radius: 10px;
  color: var(--accent, #f5a300);
  background: rgba(245, 163, 0, 0.08);
  box-shadow: 0 0 24px rgba(245, 163, 0, 0.12);
  font-size: 16px;
  line-height: 1;
}

.site-footer-heading-svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer-spanner-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.site-footer-column a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  color: #c5ced8;
  font-size: 17px;
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-column a::after {
  content: "\203A";
  color: var(--accent, #f5a300);
  font-size: 24px;
  line-height: 1;
}

.site-footer-column a:hover,
.site-footer-column a:focus-visible,
.site-footer-social-link:hover,
.site-footer-social-link:focus-visible,
.site-footer-coffee-link:hover,
.site-footer-coffee-link:focus-visible,
.site-footer-bottom a:hover,
.site-footer-bottom a:focus-visible {
  color: var(--accent-2, #ffbf3f);
  outline: none;
}

.site-footer-column a:hover,
.site-footer-column a:focus-visible,
.site-footer-social-link:hover,
.site-footer-social-link:focus-visible,
.site-footer-coffee-link:hover,
.site-footer-coffee-link:focus-visible {
  transform: translateY(-1px);
}

.listmysaas-badge-link:hover,
.listmysaas-badge-link:focus-visible {
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
}

.listmysaas-badge-link:focus-visible {
  outline: 2px solid rgba(245, 163, 0, 0.72);
  outline-offset: 4px;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aeb7c2;
}

.site-footer-bottom p {
  margin: 0;
}

.site-footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-footer-bottom a {
  padding: 0 22px;
  color: #c5ced8;
  line-height: 1;
  transition: color 0.2s ease;
}

.site-footer-bottom a + a {
  border-left: 1px solid rgba(245, 163, 0, 0.62);
}

.site-footer-column a:focus-visible,
.site-footer-social-link:focus-visible,
.site-footer-coffee-link:focus-visible,
.site-footer-bottom a:focus-visible {
  outline: 2px solid rgba(245, 163, 0, 0.72);
  outline-offset: 4px;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .site-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .site-footer-brand {
    padding-right: 28px;
  }

  .site-footer-column:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header-backdrop {
    height: 102px;
  }

  .site-menu {
    top: 16px;
    left: 16px;
  }

  .site-menu-label,
  .site-theme-toggle {
    display: none;
  }

  .site-share-button,
  .site-support-button {
    top: 22px;
    gap: 8px;
    min-height: 38px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .site-share-button {
    right: 222px;
  }

  .site-support-button {
    right: 120px;
  }

  .site-contact-button {
    top: 22px;
    right: 16px;
    min-width: 96px;
    min-height: 38px;
    padding: 9px 16px;
    font-size: 14px;
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
  }

  .menu-toggle span:not(.sr-only) {
    left: 15px;
    width: 22px;
  }

  .menu-toggle span:not(.sr-only):nth-child(1) {
    top: 16px;
  }

  .menu-toggle span:not(.sr-only):nth-child(2),
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1),
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    top: 25px;
  }

  .menu-toggle span:not(.sr-only):nth-child(3) {
    top: 34px;
  }

  .site-footer {
    margin-top: 32px;
    padding: 27px 18px 28px;
  }

  .site-footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 36px;
  }

  .site-footer-brand,
  .site-footer-column {
    padding: 0;
    border-left: 0;
  }

  .site-footer-brand p {
    margin: 22px 0;
  }

  .site-footer-coffee-link {
    width: 100%;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }

  .site-footer-bottom nav {
    width: 100%;
  }

  .site-footer-bottom a:first-child {
    padding-left: 0;
  }

  .upload-dropzone {
    min-height: 220px;
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .site-share-button,
  .site-support-button {
    width: 38px;
    padding: 0;
  }

  .site-share-button > span,
  .site-support-button > span:last-child {
    display: none;
  }

  .site-share-button {
    right: 166px;
  }

  .share-options {
    grid-template-columns: 1fr;
  }

  .share-popover {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header-backdrop {
    transition: none;
  }

  .upload-dropzone {
    transition: none;
  }

  .site-share-button,
  .site-support-button,
  .site-contact-button,
  .share-option,
  .share-copy-button,
  .tool-share-cta {
    transition: none;
  }
}

/* Shared compact recommendations on individual tool pages. */
.more-tools-section[data-more-tools] {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 38px auto 0;
  text-align: center;
}

[data-more-tools] .more-tools-heading {
  margin: 0 0 22px;
  line-height: 1;
}

[data-more-tools] .more-tools-title-image {
  display: block;
  width: min(340px, 76vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 16px rgba(245, 163, 0, 0.08)) drop-shadow(0 0 32px rgba(245, 163, 0, 0.04));
}

[data-more-tools] .more-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

[data-more-tools] .more-tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  min-height: 190px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)), linear-gradient(135deg, rgba(255, 163, 0, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: left;
}

[data-more-tools] .more-tool-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

[data-more-tools] .app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: linear-gradient(180deg, var(--accent-2, #ffbf3f), var(--accent, #f5a300));
  box-shadow: 0 10px 28px rgba(245, 163, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[data-more-tools] .more-tool-link {
  margin-top: auto;
}

[data-more-tools] .more-tools-toggle {
  margin: 24px auto 0;
}

[data-more-tools] .app-link:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 34px rgba(245, 163, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

[data-more-tools] .app-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* Author display rules must never override the semantic hidden attribute. */
[data-more-tools] [hidden] {
  display: none !important;
}

html[data-theme="light"] [data-more-tools] .more-tool-card {
  border-color: rgba(67, 45, 15, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.7));
  box-shadow: 0 18px 48px rgba(81, 52, 14, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] [data-more-tools] .more-tool-card h3 {
  color: #211c15;
}

/* Keep the asset's white lettering legible on pages with a pale light theme. */
html[data-theme="light"] [data-more-tools] .more-tools-title-image {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}

html[data-theme="light"] [data-more-tools] .app-link:focus-visible {
  outline-color: #211c15;
}

/* Match the existing compact camera-tool grid breakpoints. */
@media (max-width: 900px) {
  [data-more-tools] .more-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  [data-more-tools] .more-tools-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  [data-more-tools] .app-link { transition: none; }
  [data-more-tools] .app-link:hover { transform: none; }
}
