/* VehiclePromo - light and dark themes.
   Every colour comes from the tokens below; [data-theme="dark"] swaps them.
   The theme attribute is set on <html> by a tiny script in base.html
   (saved choice, otherwise the device setting). One accent colour (blue),
   IBM Plex Sans throughout, IBM Plex Mono only for data (ref numbers, sizes). */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef2f7;
  --card: #ffffff;
  --ink: #0f172a;          /* headings */
  --text: #1f2937;
  --text-soft: #374151;    /* long-form text */
  --muted: #5b6472;
  --line: #e2e7ee;
  --input-border: #cfd6e0;
  --placeholder: #98a1ae;
  --accent: #1d5bd6;
  --accent-hover: #1749ad;
  --accent-wash: #eaf1ff;
  --accent-text: #1d5bd6;  /* accent used as text on light surfaces */
  --on-accent: #ffffff;
  --btn-disabled: #8aa8e6;
  --card-hover-border: #c9d7f5;
  --header-bg: rgba(255, 255, 255, 0.92);
  --cta-bg: #0f172a;
  --tooltip-bg: #0f172a;
  --good: #16794a;
  --error-bg: #fef3f2; --error-border: #f4c7c1; --error-text: #b42318;
  --info-bg: #eaf1ff;  --info-border: #c9d7f5;  --info-text: #1e3a8a;
  --ok-bg: #ecfdf3;    --ok-border: #abefc6;    --ok-text: #067647;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.05), 0 12px 32px rgba(15, 23, 42, 0.10);
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1117;
  --surface: #131922;
  --surface-2: #1a2230;
  --card: #161d28;
  --ink: #f1f4f8;
  --text: #d7dce4;
  --text-soft: #c5ccd6;
  --muted: #95a1b2;
  --line: #263041;
  --input-border: #34425a;
  --placeholder: #6c788c;
  --accent: #3b7cf0;
  --accent-hover: #5b93f5;
  --accent-wash: rgba(59, 124, 240, 0.15);
  --accent-text: #86adff;
  --on-accent: #ffffff;
  --btn-disabled: #2b4a82;
  --card-hover-border: #3b5b93;
  --header-bg: rgba(13, 17, 23, 0.9);
  --cta-bg: #080b10;
  --tooltip-bg: #2a3446;
  --good: #4ade80;
  --error-bg: rgba(240, 82, 82, 0.12); --error-border: rgba(240, 82, 82, 0.4); --error-text: #ffa4a4;
  --info-bg: rgba(59, 124, 240, 0.14); --info-border: rgba(59, 124, 240, 0.4); --info-text: #b9d0ff;
  --ok-bg: rgba(74, 222, 128, 0.12);   --ok-border: rgba(74, 222, 128, 0.4);   --ok-text: #86efac;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

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

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font: 600 15px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-primary:disabled { background: var(--btn-disabled); cursor: default; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, .file-drop:focus-within {
  outline: 3px solid rgba(59, 124, 240, 0.4);
  outline-offset: 2px;
}

/* --- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
}

.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: var(--surface); }
.site-nav a.active { color: var(--accent-text); background: var(--accent-wash); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); color: var(--accent-text); }
/* Shows the theme you'd switch TO: moon in light mode, sun in dark mode. */
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; }

/* --- hero (home) --- */
.hero {
  background: linear-gradient(180deg, var(--accent-wash) 0%, var(--bg) 100%);
  padding: 72px 0 64px;
}
.hero-inner { text-align: center; max-width: 820px; }
.hero h1 { font-size: 46px; font-weight: 700; margin: 0 0 18px; }
.hero-sub { font-size: 18px; color: var(--muted); margin: 0 0 8px; }
.hero .hero-sub { max-width: 640px; margin: 0 auto; }

.tool-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 920px;
}
.tool-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--card-hover-border); color: var(--text); }
.tool-card h2 { font-size: 24px; margin: 18px 0 10px; }
.tool-card p { color: var(--muted); margin: 0 0 22px; }
.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent-text);
}
.tool-link { color: var(--accent-text); font-weight: 600; }

/* --- generic sections --- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 72px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: 32px; font-weight: 700; margin: 0 0 12px; text-align: center; }
.section-sub { color: var(--muted); font-size: 17px; text-align: center; max-width: 640px; margin: 0 auto 44px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.feature h3 { font-size: 18px; margin: 16px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent-text);
  flex-shrink: 0;
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps li { text-align: center; padding: 0 12px; }
.steps h3 { font-size: 18px; margin: 16px 0 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 18px;
}
.steps-compact { margin-top: 28px; }
.steps-compact li { text-align: left; padding: 0; }
.steps-compact .step-num { width: 34px; height: 34px; font-size: 15px; }
.steps-compact h3 { font-size: 16px; margin-top: 12px; }

/* --- FAQ --- */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent-text);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }
.faq details p + p { margin-top: -8px; }

/* --- call to action --- */
.cta { background: var(--cta-bg); padding: 64px 0; }
.cta-inner { text-align: center; }
.cta h2 { color: #fff; font-size: 30px; margin: 0 0 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta .btn-secondary:hover { border-color: #fff; color: #fff; }

/* --- tool pages --- */
.tool-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 48px 0 56px; }
.tool-hero-tight { padding-bottom: 48px; }
.tool-hero h1 { font-size: 36px; margin: 0 0 10px; }
.tool-hero .hero-sub { margin-bottom: 28px; }

.tool-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.tool-form label, .promo-output-head label, .field > label:not(.file-drop) {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}
.input-row { display: flex; gap: 10px; }

/* all text inputs share one look */
.input-row input, .field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: 400 15px/1.5 var(--sans);
  color: var(--ink);
  background: var(--card);
}
.input-row input { flex: 1; }
.field textarea { resize: vertical; min-height: 150px; }
.input-row input::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.input-row input:focus, .field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 124, 240, 0.18);
}
.form-hint { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

.tip-box {
  margin-top: 32px;
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.tip-box h3 { font-size: 16px; margin: 0 0 6px; }
.tip-box p { margin: 0; color: var(--text); font-size: 15px; }

.related { margin-top: 28px; color: var(--muted); }
.related a { font-weight: 600; text-decoration: none; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--good);
  border-bottom: 2.5px solid var(--good);
  transform: rotate(-45deg);
}

/* --- messages --- */
.flash {
  border-radius: var(--radius);
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 14.5px;
  border: 1px solid var(--line);
}
.flash.error { border-color: var(--error-border); background: var(--error-bg); color: var(--error-text); }
.flash.info { border-color: var(--info-border); background: var(--info-bg); color: var(--info-text); }
.flash.success { border-color: var(--ok-border); background: var(--ok-bg); color: var(--ok-text); }
.missing-list { margin: 8px 0 0; padding-left: 20px; }

/* --- WhatsApp post output --- */
.promo-output { margin-top: 28px; }
.promo-output-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.promo-output-head label { margin-bottom: 0; }
.promo-output textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  padding: 18px 20px;
  resize: vertical;
  box-shadow: var(--shadow);
}
.promo-output textarea:focus { outline: none; border-color: var(--accent); }
.price-note { margin-top: 12px; padding: 4px 0 4px 14px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 14px; }
.price-note p { margin: 0; }
.price-note strong { color: var(--ink); }

/* --- results --- */
.results-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ref-code {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent-text);
  background: var(--accent-wash);
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  margin-top: 8px;
}

.stat-strip {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 8px 0 24px;
}
.stat { flex: 1; padding: 16px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .n { display: block; font-family: var(--mono); font-size: 20px; color: var(--ink); }
.stat .l { font-size: 13px; color: var(--muted); }

.download-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.btn-next { border-color: var(--accent); color: var(--accent-text); }
.share-status { color: var(--muted); font-size: 14px; margin: -4px 0 20px; max-width: 70ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
  cursor: zoom-in;
  background: var(--surface-2);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.grid img:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.results-next { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* small hover/focus tooltip, e.g. on the Share button */
.tip { position: relative; display: inline-block; }
.tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 260px;
  background: var(--tooltip-bg);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  padding: 7px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 5;
}
.tip:hover::after, .tip:focus-within::after { opacity: 1; }

/* --- zoom viewer (dark in both themes so photos stand out) --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.95);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lb-image-wrap { max-width: 88vw; max-height: 78vh; display: flex; align-items: center; justify-content: center; overflow: auto; }
.lb-image-wrap img { max-width: 88vw; max-height: 78vh; transition: transform 0.15s ease; transform-origin: center center; border-radius: 4px; }
.lb-close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: 26px; cursor: pointer;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-controls {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px; border-radius: 999px;
}
.lb-controls button {
  width: 30px; height: 30px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); border: none; color: #fff; font-size: 16px; cursor: pointer;
}
.lb-controls button:hover { background: var(--accent); }
.lb-controls .lb-reset { width: auto; border-radius: 999px; padding: 0 12px; font-size: 13px; }
#lb-zoom-level { font-family: var(--mono); font-size: 13px; color: #d1d5db; min-width: 42px; text-align: center; }

/* --- reference pages (About, Privacy, Terms, Contact) --- */
.page-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.page-header h1 { font-size: 40px; margin: 0 0 10px; }
.page-header .hero-sub { margin: 0; }

.prose { font-size: 16.5px; line-height: 1.75; }
.prose p, .prose li { color: var(--text-soft); }
.prose p { margin: 0 0 16px; }
.prose .lede { font-size: 18.5px; color: var(--ink); margin-bottom: 20px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-top: -6px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 17px; margin: 26px 0 6px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-text); }
.prose strong { color: var(--ink); }

.solution-box {
  background: var(--accent-wash);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 20px 24px 6px;
  margin: 24px 0 8px;
}
.solution-box h3 { margin-top: 0; color: var(--accent-text); }

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: 16px; margin: 0 0 2px; }
.contact-card p { margin: 0; font-size: 16px; }
.contact-card a { font-weight: 600; text-decoration: none; word-break: break-all; }

/* --- contact form --- */
.container.narrow.contact-layout { max-width: 1040px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-layout > .flash { grid-column: 1 / -1; margin-bottom: 0; }
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-side .tip-box { margin-top: 20px; }
.contact-side .form-hint { margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.optional { color: var(--muted); font-weight: 400; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 22px;
  border: 2px dashed var(--input-border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.file-drop strong { color: var(--accent-text); }
.file-drop svg { color: var(--accent-text); margin-bottom: 4px; }
.file-drop:hover, .file-drop.dragging { border-color: var(--accent); background: var(--accent-wash); }
.file-hint { font-size: 13px; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; color: var(--text); }
.file-list li { padding: 7px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .form-hint { margin: 0; }

.error-page { text-align: center; padding: 96px 0; }
.error-page .hero-sub { margin: 0 auto 28px; }
.error-code { font-family: var(--mono); color: var(--accent-text); font-size: 18px; margin: 0 0 8px; }

/* --- footer --- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 320px; margin: 14px 0 0; }
.site-footer h2 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.site-footer li a:hover { color: var(--accent-text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-text); }

/* --- responsive --- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 720px) {
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16.5px; }
  .tool-cards { grid-template-columns: 1fr; margin-top: 32px; }
  .tool-card { padding: 24px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 26px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .tool-hero h1, .page-header h1 { font-size: 30px; }
  .input-row { flex-direction: column; }
  .input-row .btn { width: 100%; }
  .stat-strip { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .download-row .btn, .download-row .tip { width: 100%; }
  .download-row .tip .btn { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cta h2 { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 20px; }
  .form-actions .btn { width: 100%; }
}
