/*
Theme Name: DesignIQ Complete
Theme URI: https://example.com/designiq
Author: DesignIQ
Description: A complete responsive Bootstrap 5 and jQuery WordPress theme recreated from the supplied DesignIQ page references. Includes home, features, how it works, blog, single post, about, contact, privacy, terms, and disclaimer templates.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: designiq
*/

:root {
  --diq-bg: #f3fff9;
  --diq-bg-alt: #f8fffb;
  --diq-surface: #ffffff;
  --diq-surface-soft: #fbfdfc;
  --diq-text: #0c0f0d;
  --diq-muted: #6b7370;
  --diq-faint: #929b97;
  --diq-line: #d9e7df;
  --diq-border: #c6cfca;
  --diq-green: #1eaa82;
  --diq-green-dark: #0e8f69;
  --diq-green-soft: #d8fff0;
  --diq-radius: 18px;
  --diq-shadow: 0 12px 34px rgba(14, 77, 57, 0.06);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--diq-bg);
  color: var(--diq-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--diq-green-dark); }
button, input, select, textarea { font: inherit; }
.container { max-width: 1240px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(243, 255, 249, 0.96);
  border-bottom: 1px solid var(--diq-line);
  backdrop-filter: blur(12px);
}
.site-header .navbar { min-height: 76px; }
.site-brand {
  margin: 0;
  color: var(--diq-text);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.site-brand:hover { color: var(--diq-text); }
.site-brand .brand-accent,
.footer-brand .brand-accent { color: var(--diq-green); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-height: 42px; }
.navbar-toggler { padding-right: 0; }
.navbar-nav { gap: .25rem; }
.navbar-nav .nav-link {
  position: relative;
  padding: .65rem .95rem !important;
  color: #161b18;
  font-size: .91rem;
  font-weight: 500;
}
.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item > .nav-link,
.navbar-nav .current_page_item > .nav-link,
.navbar-nav .nav-link.active { color: var(--diq-green-dark); }

.page-eyebrow {
  margin-bottom: 1rem;
  color: var(--diq-green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.display-title,
.hero-title,
.section-title,
.article-title {
  margin: 0;
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.07;
}
.display-title { font-size: clamp(2.65rem, 5.2vw, 4.55rem); }
.hero-title { font-size: clamp(2.75rem, 5vw, 4.75rem); }
.section-title { font-size: clamp(2.05rem, 4vw, 3.45rem); }
.page-copy,
.hero-copy,
.section-copy {
  color: var(--diq-muted);
  font-size: 1rem;
  line-height: 1.48;
}
.page-copy { max-width: 720px; margin: 2.1rem auto 0; }
.section-copy { max-width: 650px; margin-inline: auto; }

/* Home */
.home-hero {
  padding: 74px 0 86px;
  border-bottom: 1px solid var(--diq-line);
}
.home-hero .hero-title { max-width: 690px; margin-inline: auto; }
.home-hero .hero-copy { max-width: 660px; margin: 1.8rem auto 0; }
.analysis-shell {
  width: min(1060px, 100%);
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 12px;
  align-items: start;
  text-align: left;
  transition: .25s ease;
}
.analysis-shell.is-empty {
  width: min(760px, 100%);
  display: block;
}
.analysis-shell.is-empty .analysis-results,
.analysis-shell.is-empty .choose-again { display: none; }
.analysis-media { min-width: 0; }
.image-drop-zone {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px dashed #cddbd4;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(18, 75, 57, .025);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.analysis-shell.is-empty .image-drop-zone { min-height: 330px; border-radius: 18px; }
.image-drop-zone:hover,
.image-drop-zone.is-dragover {
  border-color: var(--diq-green);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(14, 143, 105, .10);
}
.image-drop-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload-prompt { padding: 2rem; text-align: center; }
.upload-icon-large {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: var(--diq-green-soft);
  color: var(--diq-green-dark);
  font-size: 1.55rem;
}
.upload-title { margin-bottom: .55rem; font-size: 1.25rem; font-weight: 800; }
.upload-help { margin: 0; color: var(--diq-muted); font-size: .93rem; line-height: 1.45; }
.upload-meta { margin-top: .75rem; color: var(--diq-faint); font-size: .72rem; }
.upload-preview {
  display: none;
  width: 100%;
  height: 405px;
  object-fit: cover;
}
.upload-state {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: none;
  padding: .28rem .58rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #3f4944;
  font-size: .7rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.analysis-shell.is-analyzed .upload-state { display: inline-flex; }
.analysis-loader { display: none; }
.analysis-shell.is-uploading .analysis-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .4rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, .82);
  color: #202722;
  text-align: center;
}
.analysis-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #d7e5de;
  border-top-color: var(--diq-green);
  border-radius: 50%;
  animation: designiq-spin .8s linear infinite;
}
.analysis-loader span { max-width: 290px; color: var(--diq-muted); font-size: .78rem; line-height: 1.35; }
@keyframes designiq-spin { to { transform: rotate(360deg); } }
.upload-feedback { min-height: 1.2rem; padding-top: .6rem; font-size: .75rem; }
.choose-again {
  width: 100%;
  margin-top: 8px;
  padding: .58rem .85rem;
  background: #fff;
  border: 1px solid #becbc5;
  border-radius: 4px;
  color: #414945;
  font-size: .78rem;
  font-weight: 600;
}
.analysis-results {
  min-height: 680px;
  padding: 1rem;
  background: #fff;
  border: 1px dashed #cddbd4;
  border-radius: 12px;
}
.analysis-kicker { color: var(--diq-muted); font-size: .72rem; }
.analysis-heading { margin: .15rem 0 .8rem; font-size: 1rem; font-weight: 800; }
.analysis-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 1.1rem;
}
.analysis-meta-box {
  min-height: 56px;
  padding: .6rem .7rem;
  border: 1px solid #bdcbc4;
  border-radius: 4px;
}
.analysis-meta-label { color: var(--diq-muted); font-size: .62rem; }
.analysis-meta-value { margin-top: .18rem; font-size: .78rem; font-weight: 600; }
.analysis-section-label { margin: 1rem 0 .55rem; color: #555f5a; font-size: .67rem; text-transform: uppercase; }
.analysis-description { margin: 0 0 .9rem; color: var(--diq-muted); font-size: .78rem; line-height: 1.45; }
.palette-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.palette-card { overflow: hidden; border: 1px solid #bdcbc4; border-radius: 8px; }
.palette-swatch { height: 68px; }
.palette-info { padding: .48rem .62rem .58rem; }
.palette-name { font-size: .78rem; font-weight: 700; }
.palette-code, .palette-share { color: var(--diq-muted); font-size: .62rem; }
.palette-bar { height: 3px; margin-top: .35rem; overflow: hidden; background: #ecf1ee; border-radius: 99px; }
.palette-bar span { display: block; height: 100%; background: #86cbb4; }
.palette-meaning { margin-top: .35rem; color: var(--diq-muted); font-size: .62rem; line-height: 1.35; }
.analysis-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.analysis-detail-card,
.visual-element-card,
.recommendation-card,
.accessibility-card,
.final-verdict-card {
  padding: .72rem;
  border: 1px solid #bdcbc4;
  border-radius: 8px;
  background: #fff;
}
.analysis-detail-label,
.visual-element-meta {
  color: var(--diq-muted);
  font-size: .62rem;
}
.analysis-detail-value {
  margin-top: .22rem;
  color: var(--diq-text);
  font-size: .76rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.visual-element-card,
.recommendation-card { position: relative; margin-top: 10px; }
.visual-element-number {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-bottom: .55rem;
  border-radius: 50%;
  background: var(--diq-green-soft);
  color: var(--diq-green-dark);
  font-size: .65rem;
  font-weight: 800;
}
.visual-element-card h3,
.recommendation-card h3 {
  margin: 0 0 .3rem;
  font-size: .82rem;
  font-weight: 750;
}
.visual-element-card p,
.recommendation-card p,
.accessibility-content p,
.final-verdict-card p {
  margin: .45rem 0 0;
  color: var(--diq-muted);
  font-size: .68rem;
  line-height: 1.42;
}
.recommendation-heading { display: flex; align-items: start; justify-content: space-between; gap: .65rem; }
.recommendation-priority {
  flex: 0 0 auto;
  padding: .16rem .42rem;
  border-radius: 99px;
  background: var(--diq-green-soft);
  color: var(--diq-green-dark);
  font-size: .56rem;
  font-weight: 800;
  text-transform: uppercase;
}
.accessibility-card,
.final-verdict-card { display: grid; grid-template-columns: 74px 1fr; gap: .85rem; align-items: start; }
.accessibility-score-wrap,
.final-score {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7fbf9;
  color: var(--diq-green-dark);
  font-weight: 850;
}
.accessibility-score-wrap span,
.final-score span { font-size: 1.35rem; line-height: 1; }
.accessibility-score-wrap small,
.final-score small { color: var(--diq-muted); font-size: .58rem; }
.type-card {
  margin-top: 10px;
  padding: .72rem;
  border: 1px solid #bdcbc4;
  border-radius: 8px;
}
.type-card-head { display: flex; justify-content: space-between; gap: 1rem; }
.type-label { color: var(--diq-muted); font-size: .62rem; }
.detected-badge { align-self: start; padding: .18rem .42rem; border-radius: 99px; background: #bfffe5; color: #05865e; font-size: .58rem; font-weight: 700; }
.type-name { margin-top: .2rem; font-size: .82rem; font-weight: 700; }
.type-sample { margin: .4rem 0 .2rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.04em; }
.type-note { color: var(--diq-muted); font-size: .62rem; }
.type-alts { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; padding-top: .55rem; border-top: 1px solid #d8e0dc; }
.type-alts span { padding: .18rem .4rem; border-radius: 3px; background: #2f2d2c; color: #fff; font-size: .55rem; }
.analysis-code-output {
  max-height: 220px;
  margin: 0;
  padding: .75rem;
  overflow: auto;
  background: #f7fbf9;
  border: 1px solid #bdcbc4;
  border-radius: 8px;
  color: #26302b;
  font-size: .68rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.precision-section { padding: 62px 0 76px; background: #fff; }
.precision-head { margin-bottom: 45px; text-align: center; }
.precision-head h2 { margin-bottom: 1rem; font-size: 1.6rem; font-weight: 750; letter-spacing: -.035em; }
.precision-head p { max-width: 600px; margin: 0 auto; color: var(--diq-muted); font-size: .9rem; }
.feature-card-small,
.feature-card-large {
  height: 100%;
  background: var(--diq-surface-soft);
  border: 1px solid var(--diq-border);
  border-radius: 16px;
}
.feature-card-small { min-height: 180px; padding: 1.35rem; }
.feature-card-large { min-height: 265px; padding: 1.45rem; }
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 11px;
  background: var(--diq-green-soft);
  color: var(--diq-green-dark);
  font-size: 1.25rem;
}
.feature-card-small h3,
.feature-card-large h3 { margin: 0 0 .7rem; font-size: 1.12rem; font-weight: 650; letter-spacing: -.035em; }
.feature-card-large h3 { font-size: 1.18rem; }
.feature-card-small p,
.feature-card-large p { margin: 0; color: var(--diq-muted); font-size: .86rem; line-height: 1.35; }

.faq-section { padding: 116px 0 112px; }
.faq-wrap { width: min(800px, 100%); margin: 52px auto 0; }
.accordion-item {
  overflow: hidden;
  margin-bottom: 7px;
  background: #fff;
  border: 1px solid #cdd7d2 !important;
  border-radius: 4px !important;
}
.accordion-button {
  padding: 1rem 1.15rem;
  background: #fff;
  color: var(--diq-text);
  font-size: .88rem;
  font-weight: 650;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background: #fff; color: var(--diq-text); }
.accordion-button::after { width: .85rem; height: .85rem; background-size: .85rem; opacity: .55; }
.accordion-body { padding: 0 1.15rem 1rem; color: var(--diq-muted); font-size: .82rem; line-height: 1.48; }

/* Shared inner-page hero */
.page-hero {
  padding: 112px 0 103px;
  text-align: center;
  border-bottom: 1px solid var(--diq-line);
}
.page-hero .display-title { max-width: 760px; margin-inline: auto; }
.page-hero.compact { padding-bottom: 84px; border-bottom: 0; }

.features-section { padding: 76px 0 92px; background: #fff; }
.features-grid { row-gap: 20px; }

.steps-section { padding: 68px 0 84px; }
.steps-wrap { width: min(900px, 100%); margin: 0 auto; }
.process-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 132px;
  margin-bottom: 22px;
  padding: 1.45rem 2rem;
  background: #fff;
  border: 1px solid var(--diq-border);
  border-radius: 18px;
}
.process-mark { text-align: center; }
.process-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto .3rem;
  border-radius: 12px;
  background: var(--diq-green-soft);
  color: var(--diq-green-dark);
  font-size: 1.35rem;
}
.process-number { color: #a9e3d0; font-size: 1.35rem; font-weight: 800; }
.process-card h2 { margin: 0 0 .45rem; font-size: 1.45rem; font-weight: 650; letter-spacing: -.035em; }
.process-card p { margin: 0; color: var(--diq-muted); font-size: .92rem; line-height: 1.42; }

.cta-panel {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto 90px;
  padding: 54px 28px;
  background: var(--diq-green);
  border-radius: 20px;
  color: #fff;
  text-align: center;
}
.cta-panel h2 { margin: 0 0 1.25rem; font-size: 1.75rem; font-weight: 600; letter-spacing: -.035em; }
.cta-panel p { max-width: 540px; margin: 0 auto 1.8rem; color: rgba(255,255,255,.66); line-height: 1.35; }
.btn-diq {
  padding: .72rem 1.25rem;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--diq-green-dark);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(5, 81, 59, .12);
}
.btn-diq:hover { background: #f0fff9; color: #087451; transform: translateY(-1px); }

/* Blog */
.blog-shell { padding: 110px 0 92px; }
.blog-intro { width: min(1050px, 100%); margin: 0 auto 76px; }
.blog-intro .display-title { max-width: 720px; }
.blog-intro p { max-width: 650px; margin: 2rem 0 0; color: var(--diq-muted); font-size: 1rem; line-height: 1.45; }
.blog-grid { width: min(1050px, 100%); margin: 0 auto; }
.post-card {
  min-height: 275px;
  padding: 2.4rem 2.5rem;
  background: #fff;
  border: 1px solid var(--diq-border);
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--diq-shadow); }
.post-meta { display: flex; flex-wrap: wrap; gap: .8rem; color: var(--diq-muted); font-size: .74rem; }
.post-card h2 { margin: 1.5rem 0 1.8rem; font-size: 1.45rem; font-weight: 650; line-height: 1.08; letter-spacing: -.04em; }
.post-card p { margin: 0; color: var(--diq-muted); font-size: .9rem; line-height: 1.35; }
.pagination { justify-content: center; margin-top: 3rem; }
.page-numbers { padding: .45rem .75rem; border: 1px solid var(--diq-border); background: #fff; border-radius: 5px; }
.page-numbers.current { background: var(--diq-green); color: #fff; border-color: var(--diq-green); }

/* About */
.content-page { padding: 106px 0 92px; }
.content-narrow { width: min(1050px, 100%); margin: 0 auto; }
.content-reading { width: min(690px, 100%); }
.content-page .display-title { margin-bottom: 2rem; }
.content-lead { margin-bottom: 3.4rem; font-size: 1.05rem; line-height: 1.42; }
.content-reading h2 { margin: 0 0 1.75rem; font-size: 1.35rem; font-weight: 650; letter-spacing: -.03em; }
.content-reading h2:not(:first-of-type) { margin-top: 4rem; }
.content-reading p { color: var(--diq-muted); font-size: 1rem; line-height: 1.38; }

/* Contact */
.contact-page { padding: 100px 0 80px; }
.contact-hero { text-align: center; margin-bottom: 64px; }
.contact-hero .display-title { max-width: 650px; margin-inline: auto; }
.contact-hero .page-copy { max-width: 650px; }
.contact-layout { width: min(1060px, 100%); margin: 0 auto; }
.contact-info-item { display: grid; grid-template-columns: 34px 1fr; gap: 13px; margin-bottom: 65px; }
.contact-info-icon { color: var(--diq-green); font-size: 1.55rem; line-height: 1; }
.contact-info-item h2 { margin: 0 0 .65rem; font-size: 1.35rem; font-weight: 650; }
.contact-info-item p, .contact-info-item a { margin: 0; color: var(--diq-muted); font-size: 1rem; line-height: 1.42; }
.contact-card { padding: 2rem; background: #fff; border: 1px solid var(--diq-border); border-radius: 18px; }
.form-label { margin-bottom: .55rem; font-size: .82rem; font-weight: 650; }
.form-control, .form-select {
  min-height: 46px;
  padding: .7rem .8rem;
  background: var(--diq-bg-alt);
  border-color: #cad8d1;
  border-radius: 2px;
  color: var(--diq-text);
  font-size: .88rem;
}
textarea.form-control { min-height: 180px; resize: vertical; }
.form-control:focus, .form-select:focus { border-color: var(--diq-green); box-shadow: 0 0 0 .18rem rgba(30,170,130,.12); }
.contact-submit { min-width: 145px; background: var(--diq-green); color: #fff; border: 0; border-radius: 6px; padding: .78rem 1.2rem; font-weight: 700; }
.contact-submit:hover { background: var(--diq-green-dark); color: #fff; }

/* Legal and single */
.legal-page, .single-page { padding: 106px 0 96px; }
.legal-wrap, .article-wrap { width: min(1060px, 100%); margin: 0 auto; }
.legal-content, .article-content { width: min(830px, 100%); }
.legal-page .display-title, .single-page .article-title { margin-bottom: 2.2rem; }
.legal-updated { margin-bottom: 3.8rem; color: var(--diq-muted); font-size: .98rem; }
.legal-content h2, .article-content h2 { margin: 2.2rem 0 1.05rem; font-size: 1.55rem; font-weight: 650; letter-spacing: -.035em; }
.legal-content h3, .article-content h3 { margin: 2rem 0 1rem; font-size: 1.3rem; font-weight: 650; }
.legal-content p, .legal-content li,
.article-content p, .article-content li { color: var(--diq-muted); font-size: 1rem; line-height: 1.42; }
.legal-content ul, .article-content ul { padding-left: 1.5rem; }
.article-deck { max-width: 780px; margin: 0 0 2rem; color: var(--diq-muted); font-size: 1rem; line-height: 1.45; }
.article-content strong { color: var(--diq-text); }
.article-content > *:first-child { margin-top: 0; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--diq-line); }

/* Generic pages and 404 */
.generic-page { padding: 90px 0; min-height: 60vh; }
.generic-content { width: min(900px, 100%); margin: 0 auto; }
.not-found { padding: 130px 0; text-align: center; min-height: 65vh; }
.not-found p { color: var(--diq-muted); }

/* Footer */
.site-footer { background: var(--diq-bg); }
.footer-main { padding: 70px 0 56px; border-top: 1px solid var(--diq-line); border-bottom: 1px solid var(--diq-line); }
.footer-brand { margin-bottom: 1.6rem; font-size: .93rem; font-weight: 800; letter-spacing: -.035em; }
.footer-copy { max-width: 310px; margin: 0; color: #98a09d; font-size: .94rem; line-height: 1.35; }
.footer-heading { margin-bottom: 1.25rem; font-size: .82rem; font-weight: 800; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .95rem; }
.footer-links a { color: #171b19; font-size: .82rem; }
.footer-bottom { padding: 25px 0; color: #1f2522; font-size: .75rem; }
.footer-legal { display: flex; gap: 2rem; }

@media (max-width: 991.98px) {
  .site-header .navbar { min-height: 68px; }
  .navbar-collapse { padding: .8rem 0 1.2rem; }
  .navbar-nav .nav-link { padding-left: 0 !important; padding-right: 0 !important; }
  .home-hero { padding-top: 64px; }
  .analysis-shell, .analysis-shell.is-analyzed { grid-template-columns: 1fr; width: min(760px, 100%); }
  .analysis-results { min-height: auto; }
  .image-drop-zone, .upload-preview { height: auto; min-height: 340px; }
  .upload-preview { height: 420px; }
  .page-hero { padding: 88px 0 78px; }
  .blog-shell, .content-page, .legal-page, .single-page { padding-top: 86px; }
  .contact-info-item { margin-bottom: 38px; }
}

@media (max-width: 767.98px) {
  .display-title, .hero-title { letter-spacing: -.045em; }
  .analysis-meta-grid, .palette-grid, .analysis-detail-grid { grid-template-columns: 1fr; }
  .process-card { grid-template-columns: 54px 1fr; padding: 1.25rem; gap: 16px; }
  .process-card h2 { font-size: 1.18rem; }
  .blog-intro { margin-bottom: 48px; }
  .post-card { min-height: auto; padding: 1.7rem; }
  .contact-page { padding-top: 78px; }
  .contact-hero { margin-bottom: 48px; }
  .footer-main { padding: 56px 0 42px; }
}

@media (max-width: 575.98px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .home-hero { padding: 54px 0 64px; }
  .home-hero .hero-copy { margin-top: 1.25rem; }
  .analysis-shell { margin-top: 42px; }
  .analysis-shell.is-empty .image-drop-zone { min-height: 245px; }
  .image-drop-zone { min-height: 280px; }
  .upload-preview { height: 320px; }
  .analysis-results { padding: .8rem; }
  .precision-section { padding: 52px 0 60px; }
  .faq-section { padding: 76px 0; }
  .page-hero { padding: 68px 0 62px; }
  .features-section, .steps-section { padding: 56px 0 64px; }
  .process-card { grid-template-columns: 1fr; text-align: center; }
  .cta-panel { margin-bottom: 68px; padding: 45px 20px; border-radius: 15px; }
  .blog-shell, .content-page, .legal-page, .single-page { padding: 66px 0 70px; }
  .content-lead { margin-bottom: 2.5rem; }
  .content-reading h2:not(:first-of-type) { margin-top: 2.7rem; }
  .contact-card { padding: 1.25rem; }
  .footer-bottom .container { gap: 1rem; }
  .footer-legal { gap: 1.2rem; }
}
