:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #f1f4f0;
  --ink: #202124;
  --muted: #686a6d;
  --muted-2: #8a8d90;
  --border: #e3e3de;
  --primary: #315c4c;
  --primary-hover: #274a3d;
  --primary-soft: #eaf0ed;
  --accent: #e6a94a;
  --accent-soft: #fbf2e2;
  --success: #2e7d55;
  --danger: #b94a48;
  --shadow-sm: 0 8px 24px rgba(32, 33, 36, 0.06);
  --shadow-md: 0 18px 50px rgba(32, 33, 36, 0.10);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shell: 1180px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans",
    "Noto Sans SC",
    "Noto Sans TC",
    "Noto Sans JP",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.eyebrow,
.tool-count,
.status-badge,
.newsletter-status {
  font-family: "Manrope", "Noto Sans", system-ui, sans-serif;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.03em;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(230, 169, 74, 0.48);
  outline-offset: 3px;
}

::selection {
  background: rgba(230, 169, 74, 0.35);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  font-weight: 700;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(227, 227, 222, 0.86);
  background: rgba(247, 247, 244, 0.90);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.brand-omi {
  color: var(--primary);
}

.brand-deck {
  color: var(--accent);
}

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

.desktop-nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: #4f5254;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover {
  background: rgba(49, 92, 76, 0.06);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-button,
.language-button {
  height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 40px;
  display: grid;
  place-items: center;
}

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

.icon-button:hover,
.language-button:hover {
  background: rgba(49, 92, 76, 0.06);
}

.language-switcher {
  position: relative;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-inline: 11px 8px;
  border-color: var(--border);
  background: var(--surface);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.language-button svg {
  width: 16px;
  height: 16px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.language-menu button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.language-menu button:not(:disabled):hover {
  background: var(--primary-soft);
}

.language-menu button:disabled {
  color: #a1a3a5;
  cursor: not-allowed;
}

.language-divider {
  height: 1px;
  margin: 6px 2px 8px;
  background: var(--border);
}

.language-note {
  margin: 0;
  padding: 2px 10px 5px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-menu-button {
  display: none;
}

.mobile-menu-button .close-icon {
  display: none;
}

.mobile-menu-button[aria-expanded="true"] .menu-icon {
  display: none;
}

.mobile-menu-button[aria-expanded="true"] .close-icon {
  display: block;
}

.mobile-nav {
  padding: 4px 16px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 9px;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Hero */

.hero-section {
  padding: 28px 0 14px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 42px;
  padding: clamp(38px, 6vw, 76px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 16%, rgba(230, 169, 74, 0.25), transparent 23%),
    radial-gradient(circle at 75% 92%, rgba(49, 92, 76, 0.17), transparent 36%),
    linear-gradient(135deg, #fffdf8 0%, #f1f4ef 58%, #e9efeb 100%);
  box-shadow: var(--shadow-sm);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.48;
  filter: blur(1px);
}

.hero::before {
  width: 460px;
  height: 220px;
  right: -110px;
  bottom: -125px;
  background: #315c4c;
}

.hero::after {
  width: 320px;
  height: 160px;
  right: 140px;
  bottom: -108px;
  background: #88a597;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #cfdfd7;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 74px);
  font-weight: 800;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: #55595b;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

.tool-search {
  position: relative;
  max-width: 650px;
  display: flex;
  align-items: center;
  padding: 7px;
  border: 1px solid #d9dcd7;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(32, 33, 36, 0.08);
}

.tool-search:focus-within {
  border-color: rgba(49, 92, 76, 0.68);
  box-shadow:
    0 0 0 3px rgba(49, 92, 76, 0.10),
    0 12px 30px rgba(32, 33, 36, 0.08);
}

.search-input-icon {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  color: #888b8c;
  flex: 0 0 auto;
}

.tool-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.tool-search input::placeholder {
  color: #8a8d90;
}

.tool-search button {
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 17px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.tool-search button:hover {
  background: var(--primary-hover);
}

.tool-search button svg {
  width: 18px;
  height: 18px;
}

.quick-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.quick-search button {
  padding: 4px 8px;
  border: 1px solid rgba(49, 92, 76, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.quick-search button:hover {
  background: white;
}

.hero-deck {
  position: relative;
  min-height: 370px;
}

.mini-tool {
  position: absolute;
  width: min(100%, 330px);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.mini-tool-top {
  top: 26px;
  right: 20px;
  transform: rotate(2deg);
}

.mini-tool-middle {
  top: 143px;
  right: 74px;
  transform: rotate(-2.5deg);
}

.mini-tool-bottom {
  top: 260px;
  right: 28px;
  transform: rotate(1deg);
}

.mini-tool-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
}

.mini-tool-icon.amber {
  background: var(--accent-soft);
  color: #a76a16;
}

.mini-tool-icon svg {
  width: 25px;
  height: 25px;
}

.mini-tool span,
.mini-tool strong,
.mini-tool small {
  display: block;
}

.mini-tool span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.mini-tool strong {
  margin-bottom: 1px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.mini-tool small {
  color: var(--muted);
  font-size: 12px;
}

.deck-mark {
  position: absolute;
  top: 104px;
  right: -6px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49, 92, 76, 0.16);
  border-radius: 28px;
  background: rgba(247, 247, 244, 0.62);
  color: rgba(49, 92, 76, 0.18);
  transform: rotate(14deg);
}

.deck-mark span {
  font-family: "Manrope", sans-serif;
  font-size: 62px;
  font-weight: 800;
}

/* Generic sections */

.section {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 42px);
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

/* Categories */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 190px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #cad5cf;
  box-shadow: var(--shadow-sm);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

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

.category-icon.ai,
.category-icon.pc {
  background: var(--primary-soft);
  color: var(--primary);
}

.category-icon.gaming {
  background: var(--accent-soft);
  color: #a76a16;
}

.category-icon.creator {
  background: #edf1f5;
  color: #4a657a;
}

.category-copy {
  display: block;
  padding-right: 16px;
}

.category-copy strong,
.category-copy small {
  display: block;
}

.category-copy strong {
  margin-bottom: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
}

.category-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 160ms ease;
}

.category-card:hover .card-arrow {
  transform: translateX(3px);
}

/* Tools */

.tools-section {
  padding-top: 38px;
}

.tools-heading {
  grid-template-columns: 1fr auto;
}

.tool-count {
  align-self: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

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

.tool-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: #cad5cf;
  box-shadow: var(--shadow-sm);
}

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

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.tool-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.tool-icon.amber {
  background: var(--accent-soft);
  color: #a76a16;
}

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

.status-badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8d5e1b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-badge.neutral {
  background: #f1f2ef;
  color: #6f7274;
}

.tool-card-body {
  flex: 1;
}

.tool-category {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.tool-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.tool-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.tool-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #efefeb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tool-card-footer svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.empty-state {
  padding: 48px 22px;
  border: 1px dashed #cdd1cd;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.empty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.empty-icon svg {
  width: 25px;
  height: 25px;
}

.empty-state h3 {
  margin-bottom: 7px;
}

.empty-state p {
  margin-bottom: 14px;
  color: var(--muted);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
}

/* About */

.about-section {
  padding-top: 48px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 68px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: white;
  overflow: hidden;
}

.about-copy h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(32px, 4.5vw, 48px);
}

.about-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: #dbe6e1;
}

.principles {
  display: grid;
  gap: 12px;
}

.principle {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.principle-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(230, 169, 74, 0.16);
  color: #f0c16f;
}

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

.principle strong,
.principle small {
  display: block;
}

.principle strong {
  margin-bottom: 2px;
  font-family: "Manrope", sans-serif;
}

.principle small {
  color: #dbe6e1;
  font-size: 12px;
}

/* Footer */

.site-footer {
  margin-top: 44px;
  background: #233f35;
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-top: 52px;
  padding-bottom: 42px;
}

.brand-footer {
  font-size: 27px;
}

.footer-brand p {
  margin: 10px 0 0;
  color: #c9d7d1;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 72px;
}

.footer-links div {
  min-width: 110px;
}

.footer-links strong,
.footer-links a,
.footer-links .future-link {
  display: block;
}

.footer-links strong {
  margin-bottom: 10px;
  color: #e8efec;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
}

.footer-links a,
.footer-links .future-link {
  margin: 6px 0;
  color: #c9d7d1;
  font-size: 12px;
}

.footer-links a:hover {
  color: white;
}

.future-link {
  opacity: 0.62;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #9eb2aa;
  font-size: 11px;
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translateX(-50%);
  max-width: min(90vw, 460px);
  padding: 11px 15px;
  border: 1px solid #cad5cf;
  border-radius: 11px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-deck {
    min-height: 280px;
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
  }

  .mini-tool {
    width: min(100%, 320px);
  }

  .mini-tool-top {
    left: 0;
    right: auto;
    top: 10px;
  }

  .mini-tool-middle {
    left: 50%;
    right: auto;
    top: 92px;
    transform: translateX(-50%) rotate(-2deg);
  }

  .mini-tool-bottom {
    right: 0;
    top: 176px;
  }

  .deck-mark {
    top: 68px;
    right: 32px;
  }

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

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
  }

  .about-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .desktop-nav,
  .header-search-button {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    font-size: 22px;
  }

  .hero-section {
    padding-top: 12px;
  }

  .hero {
    gap: 26px;
    padding: 32px 20px 28px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .tool-search {
    padding: 5px;
  }

  .tool-search input {
    height: 46px;
    padding-left: 9px;
  }

  .tool-search button {
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .search-button-label {
    display: none;
  }

  .quick-search {
    line-height: 1.3;
  }

  .hero-deck {
    min-height: 255px;
  }

  .mini-tool {
    width: 82%;
    grid-template-columns: 44px 1fr;
    padding: 12px;
  }

  .mini-tool-icon {
    width: 44px;
    height: 44px;
  }

  .mini-tool-middle {
    left: 12%;
    transform: rotate(-2deg);
  }

  .mini-tool-bottom {
    right: 0;
  }

  .deck-mark {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading,
  .tools-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .section-heading > p {
    font-size: 14px;
  }

  .tool-count {
    justify-self: start;
  }

  .newsletter-card {
    grid-template-columns: 52px 1fr;
  }

  .newsletter-icon {
    width: 52px;
    height: 52px;
  }

  .newsletter-status {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .footer-links {
    gap: 42px;
  }
}

@media (max-width: 560px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    align-items: center;
    gap: 13px;
    padding: 16px;
  }

  .category-copy {
    padding-right: 0;
  }

  .card-arrow {
    position: static;
  }

  .hero-deck {
    min-height: 242px;
  }

  .mini-tool {
    width: 88%;
  }

  .mini-tool-top {
    top: 0;
  }

  .mini-tool-middle {
    top: 78px;
  }

  .mini-tool-bottom {
    top: 158px;
  }

  .about-panel {
    padding: 28px 20px;
  }

  .newsletter-card {
    padding: 20px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Fallback anchor offset for the sticky header. */
#tools, #categories, #about {
  scroll-margin-top: calc(var(--header-height) + 56px);
}
