/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ─── SITE HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,244,239,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 64px;
}

/* Logo */
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo__text { display: flex; align-items: center; gap: .5rem; }
.site-logo__name {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -.02em;
}

/* Nav */
.site-nav__menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav__link {
  padding: .375rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  background: var(--accent-light);
  color: var(--accent);
}

/* Header actions */
.site-header__actions { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  padding: .5rem 1.125rem;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,93,38,.35);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { background: var(--bg-card); color: var(--text); border-color: var(--text); }
.btn--sm  { padding: .35rem .875rem; font-size: .875rem; }
.btn--lg  { padding: .75rem 1.75rem; font-size: 1rem; }
.btn--tool {
  background: var(--bg-card);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 500;
  padding: .5rem .875rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.btn--tool:hover,
.btn--tool:focus-visible {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* ─── HERO ─── */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: .3rem .75rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero__title-accent { color: var(--accent); display: block; }
.hero__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
/* stats removed — no gap needed below actions */
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 0; }

/* Hero Visual */
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__demo-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}
.hero__demo-row {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 1rem;
}
.hero__demo-label { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; flex-shrink: 0; }
.hero__demo-text { font-family: var(--font-mono); font-size: .9375rem; color: var(--text); }
.hero__demo-text--accent { color: var(--accent); font-weight: 500; }
.hero__demo-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero__demo-badge {
  font-size: .75rem;
  font-family: var(--font-mono);
  padding: .25rem .625rem;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: default;
}
.hero__demo-badge--active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

/* ─── TOOL SHELL ─── */
.tool-shell {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tool-shell__header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
}
.tool-shell__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--text);
}
.tool-shell__subtitle { font-size: .9375rem; color: var(--text-muted); }
.tool-shell__body { padding: 1.75rem 2rem; }

/* Tool Placeholder (pre-plugin) */
.tool-placeholder__input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: .9375rem;
  line-height: 1.65;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  min-height: 140px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.tool-placeholder__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,93,38,.12);
}
.tool-placeholder__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.tool-placeholder__footer {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.tool-placeholder__count {
  font-size: .8125rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-right: auto;
}
.tool-placeholder__notice {
  margin-top: 1rem;
  font-size: .8125rem;
  color: var(--text-muted);
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  border-left: 3px solid var(--accent);
}

/* ─── SECTIONS ─── */
.section { padding: 4.5rem 0; }
.section--tool { padding: 3rem; }
.section-head { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; margin-bottom: .5rem; }
.section-head p { color: var(--text-muted); font-size: 1.0625rem; max-width: 540px; }
.section-head--center p { margin-inline: auto; }
.section-head__link { font-size: .9375rem; font-weight: 600; color: var(--accent); margin-left: auto; }

/* ─── FEATURES GRID ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .375rem; }
.feature-card__desc  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── HOW TO STEPS ─── */
.how-to-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
}
.how-to-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.how-to-step__num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  opacity: .9;
  flex-shrink: 0;
  line-height: 1.2;
  padding-top: .125rem;
}
.how-to-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.how-to-step p  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-item__question:hover { background: var(--bg); }
.faq-item__question[aria-expanded="true"] { color: var(--accent); background: var(--accent-light); }
.faq-item__chevron {
  flex-shrink: 0;
  transition: transform .25s ease;
  color: var(--text-muted);
}
.faq-item__question[aria-expanded="true"] .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item__answer[hidden] { display: none; }
.faq-item__answer p { margin: 0; }

/* ─── TOOLS GRID ─── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.tool-card:hover { box-shadow: var(--shadow); border-color: var(--accent); transform: translateY(-2px); }
.tool-card__icon {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: .875rem;
}
.tool-card__title {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: .375rem;
  font-family: var(--font-mono);
  letter-spacing: -.01em;
}
.tool-card__title a { color: var(--text); text-decoration: none; }
.tool-card__title a:hover { color: var(--accent); }
.tool-card__desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}
.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
}
.tool-card__link:hover { gap: .5rem; }

/* ─── POST GRID & CARDS ─── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .375rem; line-height: 1.4; }
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .875rem; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--text-muted); display: flex; gap: .5rem; flex-wrap: wrap; }

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: .5rem; }
.page-hero--tool { background: linear-gradient(135deg, var(--bg-card) 0%, var(--accent-light) 100%); }
.page-hero__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: .75rem; }
.page-hero__desc  { font-size: 1.0625rem; color: var(--text-muted); max-width: 580px; line-height: 1.7; }

/* ─── BREADCRUMB ─── */
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; }
.breadcrumb__item { font-size: .8125rem; color: var(--text-muted); display: flex; align-items: center; gap: .375rem; }
.breadcrumb__item a { color: var(--text-muted); }
.breadcrumb__item a:hover { color: var(--accent); }
.breadcrumb__item--active span { color: var(--text); font-weight: 500; }
.breadcrumb__sep { color: var(--border); }

/* ─── SINGLE POST ─── */
.post-hero { padding: 3rem 0 2rem; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.post-meta { font-size: .8125rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .875rem; }
.post-meta__sep { color: var(--border); }
.post-tags a { color: var(--accent); font-weight: 500; }
.post-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 1rem; }
.post-excerpt { font-size: 1.125rem; color: var(--text-muted); line-height: 1.7; }
.post-featured-img { padding: 2rem 0; }
.post-featured-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.post-layout { padding-top: 3rem; padding-bottom: 4rem; max-width: 760px; margin-inline: auto; }

/* Prose */
.prose h2, .prose h3, .prose h4 { font-weight: 700; letter-spacing: -.025em; margin: 2em 0 .75em; color: var(--text); }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose p  { margin-bottom: 1.25em; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25em; }
.prose li { margin-bottom: .5em; line-height: 1.7; }
.prose code {
  font-family: var(--font-mono);
  font-size: .875em;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: .1em .3em;
  border-radius: 4px;
}
.prose pre {
  background: var(--text);
  color: #f8f4ef;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5em;
  font-family: var(--font-mono);
  font-size: .875rem;
  line-height: 1.7;
}
.prose pre code { background: none; color: inherit; padding: 0; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-left: 0;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.25em;
}
.prose a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; box-shadow: var(--shadow); }

/* Author Box */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2.5rem 0;
}
.author-box__avatar img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }
.author-box__name { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.author-box__bio  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* Related posts */
.related-posts { margin: 2rem 0; }
.related-posts h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: -.02em; }
.post-grid--sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

/* ─── CTA BANNER ─── */
.section--cta { background: var(--text); }
.cta-banner { text-align: center; padding: 1rem 0; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: #fff; margin-bottom: .75rem; letter-spacing: -.025em; }
.cta-banner p  { color: rgba(255,255,255,.65); font-size: 1.0625rem; margin-bottom: 1.75rem; }

/* ─── PAGINATION ─── */
.pagination { margin: 2.5rem 0; display: flex; justify-content: center; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  margin: 0 .2rem;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.page-numbers:hover, .page-numbers.current {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* ─── FOOTER ─── */
.footer-top { padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: .875rem;
}
.footer-tagline { font-size: .875rem; color: var(--text-muted); line-height: 1.65; max-width: 280px; }
.footer-col__title { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links li a {
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--accent); }
.footer-bottom { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: .8125rem; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); font-weight: 500; }
.footer-copy a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal li a { font-size: .8125rem; color: var(--text-muted); }
.footer-legal li a:hover { color: var(--accent); }

/* ─── PAGE CONTENT ─── */
.page-content { padding: 3rem 0 4rem; }

/* ─── WIDGET ─── */
.widget { margin-bottom: 2rem; }
.widget__title { font-size: 1rem; font-weight: 700; margin-bottom: .875rem; letter-spacing: -.02em; }

/* ─── SEO CONTENT SECTION ─── */
.section--seo-content {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.seo-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 2.5rem 0 .875rem;
}
.seo-content h2:first-child { margin-top: 0; }
.seo-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.125rem;
}
.seo-content p strong { color: var(--text); font-weight: 600; }
.seo-content ul {
  padding-left: 0;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.seo-content ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 1.375rem;
  position: relative;
}
.seo-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.seo-content ul li strong { color: var(--text); font-weight: 600; }
.seo-content em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .9em;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: .1em .4em;
  border-radius: 4px;
}

/* ─── RESPONSIVE — single unified block ─── */
@media (max-width: 768px) {

  /* Header */
  .hamburger { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  .site-nav.is-open { display: block; }
  .site-nav__menu { flex-direction: column; align-items: flex-start; gap: .125rem; }
  .site-nav__link { display: block; width: 100%; padding: .625rem .75rem; font-size: 1rem; }

  /* Hero — hide demo card, single column */
  .hero { padding: 2.5rem 0 2rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col--brand { grid-column: 1 / -1; }

  /* Sections */
  .section { padding: 3rem 0; }

  /* Post grid */
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .tool-shell__header { padding: 1.25rem; }
  .tool-shell__body   { padding: 1.25rem; }
  .tool-placeholder__buttons { flex-direction: column; }
  .tool-placeholder__buttons .btn--tool { width: 100%; justify-content: center; }
  .tool-placeholder__footer { flex-direction: column; align-items: stretch; }
  .tool-placeholder__count { margin-right: 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: .875rem; }

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

  .post-layout { padding-top: 2rem; }
  .author-box  { flex-direction: column; }

  .cta-banner .btn { width: 100%; justify-content: center; }
}

/* ─── FOCUS VISIBLE ─── */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── PRINT ─── */
@media print {
  .site-header, .site-footer, .hamburger, .btn, .hero__visual { display: none; }
  body { background: #fff; color: #000; }
}

/* ─── TOOLS PAGE SECTIONS ─── */
.tools-section {
  margin-bottom: 3.5rem;
}
.tools-section__head {
  margin-bottom: 1.75rem;
}
.tools-section__badge {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 99px;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: .75rem;
}
.tools-section__badge--dev  { background: #eff6ff; color: #1d4ed8; }
.tools-section__badge--util { background: #f0fdf4; color: #15803d; }
.tools-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: .375rem;
}
.tools-section__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
}