/* ==========================================================================
   ToolifyHub — Stylesheet
   Design concept: a color-coded toolbox pegboard. Flat color chips for
   tool categories, hard-edged offset shadows instead of soft blurs (like
   a printed instruction card), and a faint blueprint grid in the hero.
   ========================================================================== */

/* ---------- Design tokens ---------- */

:root {
  --ink: #14171d;
  --ink-soft: #4b5058;
  --ink-faint: #82868f;

  --paper: #fbfaf6;
  --paper-alt: #f1efe7;
  --surface: #ffffff;

  --border: #e3e0d5;
  --border-strong: #cfcabb;

  --blue: #2451c4;
  --blue-deep: #1a3a94;
  --blue-tint: #e3ecfc;

  --amber: #e8a23d;
  --amber-deep: #b4860b;
  --amber-tint: #fbf1d2;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;

  --shadow-flat: 4px 4px 0 rgba(20, 23, 29, 0.08);
  --shadow-flat-hover: 6px 6px 0 rgba(20, 23, 29, 0.12);

  --container: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

/* Reusable eyebrow / section label — styled as a small tag, not a
   tracked-out all-caps floating label. */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.section-label::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 2px 0 rgba(20, 23, 29, 0.04);
  border-bottom-color: var(--border-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-right: auto;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.logo-highlight {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: right 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-button {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-flat);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.nav-button:hover {
  background: var(--blue-deep);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-flat-hover);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 20px 20px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
  }

  .nav-button {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.glow-one {
  width: 320px;
  height: 320px;
  background: var(--blue-tint);
  top: -80px;
  left: -60px;
}

.glow-two {
  width: 280px;
  height: 280px;
  background: var(--amber-tint);
  bottom: -100px;
  right: -40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 0.6s var(--ease) forwards;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(232, 162, 61, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  opacity: 0;
  animation: rise 0.6s var(--ease) 0.08s forwards;
}

.hero h1 span {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-text {
  margin: 22px auto 0;
  max-width: 520px;
  font-size: 17px;
  color: var(--ink-soft);
  opacity: 0;
  animation: rise 0.6s var(--ease) 0.16s forwards;
}

.hero-search {
  margin: 36px auto 0;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 16px;
  box-shadow: var(--shadow-flat);
  opacity: 0;
  animation: rise 0.6s var(--ease) 0.24s forwards;
}

.search-icon {
  color: var(--ink-faint);
  flex-shrink: 0;
  display: flex;
}

.hero-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 15px;
  color: var(--ink);
  min-width: 0;
  padding: 10px 0;
}

.hero-search input::placeholder {
  color: var(--ink-faint);
}

.hero-search button {
  background: var(--blue);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: calc(var(--radius-md) - 4px);
  cursor: pointer;
  transition: background 0.2s var(--ease);
  white-space: nowrap;
}

.hero-search button:hover {
  background: var(--blue-deep);
}

.hero-features {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  opacity: 0;
  animation: rise 0.6s var(--ease) 0.32s forwards;
}

.hero-features div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-features span {
  color: var(--blue);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 162, 61, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(232, 162, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 162, 61, 0);
  }
}

/* ==========================================================================
   STATS — styled like a spec sheet: bordered row with dividers
   ========================================================================== */

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 32px 20px;
  text-align: center;
  border-left: 1px solid var(--border);
}

.stat:first-child {
  border-left: none;
}

.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stat:nth-child(odd) strong {
  color: var(--blue);
}

.stat:nth-child(even) strong {
  color: var(--amber-deep);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-faint);
  font-weight: 500;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: none;
  }
  .stat:nth-child(1),
  .stat:nth-child(3) {
    border-left: none;
  }
  .stat:nth-child(2n) {
    border-left: 1px solid var(--border);
  }
}

/* ==========================================================================
   TOOLS
   ========================================================================== */

.tools-section {
  padding: 96px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 480px;
}

.section-heading h2 span {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
}

.section-heading > p {
  max-width: 320px;
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 4px;
}

.popular-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.popular-title span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
  transform: rotate(45deg);
}

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

@media (max-width: 1000px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tool-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat-hover);
  border-color: var(--border-strong);
}

.tool-card.featured {
  border: 1.5px solid var(--blue);
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--surface) 55%);
}

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

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.tool-card .arrow {
  color: var(--ink-faint);
  font-size: 16px;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.tool-card:hover .arrow {
  color: var(--ink);
  transform: translate(3px, -3px);
}

.tool-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.tool-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.tool-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* Color-coded icon chips — a toolbox pegboard, one color per category */

.tool-icon.purple  { background: #ede7fb; color: #6a3fd1; }
.tool-icon.blue    { background: #e3ecfc; color: #2451c4; }
.tool-icon.cyan    { background: #e0f6f6; color: #0e8e8e; }
.tool-icon.orange  { background: #fdead9; color: #c1671a; }
.tool-icon.pink    { background: #fbe5ee; color: #c43d79; }
.tool-icon.red     { background: #fbe3e1; color: #c23b2e; }
.tool-icon.violet  { background: #efe3fb; color: #7a38c4; }
.tool-icon.green   { background: #e1f5e8; color: #1f8a4c; }
.tool-icon.yellow  { background: #fbf1d2; color: #b4860b; }
.tool-icon.indigo  { background: #e3e6fb; color: #3f4fc4; }
.tool-icon.dark    { background: #e7e7e4; color: #22252b; }
.tool-icon.teal    { background: #dff5f0; color: #0e8e71; }
.tool-icon.sky     { background: #e1f1fc; color: #1c7fc4; }

.tool-icon.rainbow {
  background: conic-gradient(from 180deg, #c23b2e, #c1671a, #b4860b, #1f8a4c, #0e8e8e, #2451c4, #7a38c4, #c43d79, #c23b2e);
  color: #ffffff;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.how-section {
  padding: 96px 0;
  background: var(--paper-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.center-heading {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}

.center-heading h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.center-heading h2 span {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
}

.center-heading > p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-deep);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--blue);
  box-shadow: var(--shadow-flat);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 220px;
  margin: 0 auto;
}

.step-line {
  flex: 0 0 auto;
  width: 80px;
  height: 1px;
  background-image: linear-gradient(90deg, var(--border-strong) 40%, transparent 0%);
  background-size: 10px 1px;
  margin-top: 28px;
}

@media (max-width: 760px) {
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  .step-line {
    display: none;
  }
}

/* ==========================================================================
   FEATURES
   ========================================================================== */

.features-section {
  padding: 96px 0;
}

.feature-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-content h2 {
  margin-top: 12px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

.feature-content h2 span {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
}

.feature-content > p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 440px;
}

.feature-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.feature-list span {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-flat-hover);
  overflow: hidden;
}

.visual-header {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--paper-alt);
}

.visual-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.visual-header span:nth-child(1) { background: #c23b2e; }
.visual-header span:nth-child(2) { background: #e8a23d; }
.visual-header span:nth-child(3) { background: #1f8a4c; }

.visual-content {
  padding: 36px 28px;
  text-align: center;
}

.visual-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.visual-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.visual-content p {
  font-size: 13.5px;
  color: var(--ink-faint);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.visual-bar {
  margin-top: 22px;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-alt);
  overflow: hidden;
}

.visual-bar span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}

@media (max-width: 860px) {
  .feature-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-visual {
    order: -1;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  padding: 96px 0;
  background: var(--paper-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-container {
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  transition: border-color 0.2s var(--ease);
}

.faq-list details[open] {
  border-color: var(--border-strong);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

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

.faq-list summary span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper);
}

.faq-list details p {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-small {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.cta-box h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 380px;
}

.cta-box > div > p {
  margin-top: 12px;
  color: #a9adb5;
  font-size: 14.5px;
  max-width: 360px;
}

.cta-button {
  flex-shrink: 0;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.cta-button:hover {
  background: #f2b458;
  transform: translate(-2px, -2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--ink);
  color: #a9adb5;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand .logo {
  color: var(--paper);
  margin-bottom: 14px;
}

.footer-brand .logo-icon {
  background: var(--paper);
  color: var(--ink);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
  color: #7f838c;
}

.footer-column h4 {
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: #a9adb5;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.footer-column a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid #2a2d34;
  font-size: 13px;
  color: #6c707a;
  flex-wrap: wrap;
  gap: 8px;
}

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

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

/* ---------- Utility states ---------- */

.tool-card.is-hidden {
  display: none;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-faint);
  font-size: 15px;
  grid-column: 1 / -1;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-badge,
  .hero h1,
  .hero-text,
  .hero-search,
  .hero-features {
    opacity: 1;
    animation: none;
  }
}

/* SEO content sections */
.seo-content{max-width:900px;margin:40px auto 70px;padding:0 20px;color:#334155;line-height:1.75}
.seo-content h2{margin:28px 0 10px;color:#0f172a;font-size:28px}
.seo-content h3{margin:20px 0 6px;color:#0f172a;font-size:20px}
.seo-content p,.seo-content li{font-size:16px}
.seo-content ol{padding-left:24px}


/* SEO information section */
.seo-note { padding: 28px 20px 70px; }
.seo-note .container { max-width: 900px; margin: 0 auto; }
.seo-note h2 { margin-bottom: 12px; }
.seo-note p { color: #64748b; line-height: 1.8; margin: 8px 0; }
