/* ============================================
   CountMySentences.com — Shared Design System
   White editorial theme · Petrol blue accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@400;500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Palette */
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-50: #f3f4f6;
  --gray-100: #e8eaed;
  --gray-200: #d1d5db;
  --gray-300: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  --petrol: #275465;
  --petrol-light: #3a7a94;
  --petrol-dark: #1a3d4d;
  --petrol-pale: #eaf4f8;
  --petrol-pale2: #d4eaf2;

  --cyan: #4cc9f0;
  --lime: #6fcf97;
  --amber: #f59e0b;
  --red: #ef4444;
  --red-light: #fee2e2;

  /* Semantics */
  --bg: var(--white);
  --bg2: var(--off-white);
  --surface: var(--white);
  --surface2: var(--gray-50);
  --border: var(--gray-100);
  --border2: var(--gray-200);
  --text: var(--gray-900);
  --text2: var(--gray-700);
  --text3: var(--gray-500);
  --text4: var(--gray-300);
  --accent: var(--petrol);
  --accent-light: var(--petrol-light);
  --accent-pale: var(--petrol-pale);

  /* Typography */
  --serif: 'DM Serif Display', Georgia, serif;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-petrol: 0 4px 20px rgba(39,84,101,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--petrol);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-dot { width: 7px; height: 7px; background: var(--petrol); border-radius: 50%; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  color: var(--text2); padding: 6px 14px; border-radius: var(--radius);
  transition: all 0.15s; white-space: nowrap;
}
.nav-link:hover { background: var(--gray-50); color: var(--text); }
.nav-link.active { color: var(--petrol); font-weight: 500; background: var(--petrol-pale); }
.nav-cta {
  background: var(--petrol); color: var(--white);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 7px 18px; border-radius: var(--radius); border: none; cursor: pointer;
  transition: all 0.15s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--petrol-light); transform: translateY(-1px); }
/* Hamburger button — hidden on desktop, shown on mobile */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-mobile-toggle:hover { background: var(--gray-50); }
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 190;
  border-top: 1px solid var(--border);
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  overflow-y: auto;
}
.mobile-nav-drawer.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav-links {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.5rem 2rem;
  gap: 2px;
}
.mobile-nav-links a {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 1.05rem; font-weight: 500;
  color: var(--text2); padding: 13px 16px;
  border-radius: var(--radius-lg); text-decoration: none;
  transition: all 0.15s;
}
.mobile-nav-links a:hover { background: var(--gray-50); color: var(--text); }
.mobile-nav-links a:active { background: var(--petrol-pale); color: var(--petrol); }
.mnav-icon { font-size: 1.15rem; width: 24px; text-align: center; flex-shrink: 0; }
.mnav-divider { border: none; border-top: 1px solid var(--border); margin: 10px 16px; }
.mobile-cta-link {
  background: var(--petrol) !important; color: var(--white) !important;
  border-radius: var(--radius-lg) !important; margin-top: 6px;
  font-weight: 600 !important; justify-content: center;
}
.mobile-cta-link:hover { background: var(--petrol-light) !important; }

/* Show hamburger, hide desktop links on mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-mobile-toggle { display: flex; }
  .mobile-nav-drawer { display: block; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900); color: var(--gray-300);
  padding: 4rem 2rem 2rem; margin-top: 6rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { }
.footer-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--white); margin-bottom: 0.75rem; }
.footer-desc { font-size: 13px; line-height: 1.7; color: var(--gray-300); max-width: 260px; }
.footer-privacy { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--lime); background: rgba(111,207,151,0.08); border: 1px solid rgba(111,207,151,0.15); padding: 4px 10px; border-radius: 20px; margin-top: 1rem; }
.footer-col-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 13px; color: var(--gray-300); padding: 3px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gray-500); flex-wrap: wrap; gap: 1rem; }
.footer-badge { font-family: var(--mono); font-size: 10px; color: var(--gray-500); }

/* ===== HERO (shared) ===== */
.page-hero {
  background: linear-gradient(160deg, var(--petrol-pale) 0%, var(--white) 60%);
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.hero-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--petrol); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--petrol); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--gray-900); line-height: 1.1; margin-bottom: 1rem; }
.page-hero h1 em { color: var(--petrol); font-style: italic; }
.page-hero p { font-size: 1.05rem; color: var(--text2); max-width: 600px; line-height: 1.75; margin-bottom: 1.5rem; }

/* ===== TOOL EDITOR SHARED ===== */
.tool-layout { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem; }
.tool-dual { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.editor-area { position: relative; }
.editor-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.editor-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); }
.editor-btns { display: flex; gap: 6px; }
.ebtn {
  font-family: var(--mono); font-size: 11px; color: var(--text3);
  background: var(--gray-50); border: 1px solid var(--border2);
  padding: 4px 10px; border-radius: 6px; cursor: pointer; transition: all 0.15s;
}
.ebtn:hover { color: var(--petrol); border-color: var(--petrol-pale2); background: var(--petrol-pale); }

.tool-textarea {
  width: 100%; min-height: 360px;
  background: var(--white); border: 1.5px solid var(--border2);
  border-radius: var(--radius-lg); padding: 1.25rem;
  color: var(--text); font-family: var(--mono); font-size: 13.5px; line-height: 1.85;
  resize: vertical; outline: none; transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.tool-textarea:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(39,84,101,0.08); }
.tool-textarea::placeholder { color: var(--gray-300); }

/* ===== SIDEBAR CARDS ===== */
.sidebar { display: flex; flex-direction: column; gap: 14px; }
.s-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.s-card-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-metric { background: var(--gray-50); border-radius: var(--radius); padding: 10px 12px; border: 1px solid var(--border); }
.s-metric-val { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; color: var(--gray-900); line-height: 1; }
.s-metric-lbl { font-family: var(--mono); font-size: 10px; color: var(--text3); margin-top: 3px; }
.s-metric.accent { border-left: 3px solid var(--petrol); }
.s-metric.accent .s-metric-val { color: var(--petrol); }
.s-metric.green .s-metric-val { color: #16a34a; }
.s-metric.amber .s-metric-val { color: #d97706; }
.s-metric.red .s-metric-val { color: #dc2626; }

/* ===== SCORE BAR ===== */
.score-bar { margin-bottom: 12px; }
.score-bar-header { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--text3); margin-bottom: 5px; }
.score-bar-track { background: var(--gray-100); border-radius: 4px; height: 7px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }

/* ===== BREADCRUMB ===== */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem 0; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--text3); }
.breadcrumb a { color: var(--petrol); } .breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text4); }

/* ===== BADGES ===== */
.badge { display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 20px; }
.badge-free { background: rgba(22,163,74,0.1); color: #15803d; border: 1px solid rgba(22,163,74,0.2); }
.badge-solo { background: rgba(39,84,101,0.1); color: var(--petrol); border: 1px solid rgba(39,84,101,0.2); }
.badge-pro { background: rgba(245,158,11,0.1); color: #b45309; border: 1px solid rgba(245,158,11,0.2); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 9px 20px; border-radius: var(--radius); border: none; cursor: pointer; transition: all 0.18s; text-decoration: none; }
.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: var(--petrol-light); transform: translateY(-1px); box-shadow: var(--shadow-petrol); }
.btn-outline { background: transparent; color: var(--petrol); border: 1.5px solid var(--petrol); }
.btn-outline:hover { background: var(--petrol-pale); }
.btn-ghost { background: var(--gray-50); color: var(--text2); border: 1px solid var(--border2); }
.btn-ghost:hover { background: var(--gray-100); color: var(--text); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: #d97706; transform: translateY(-1px); }

/* ===== PRO GATE ===== */
.pro-gate {
  background: linear-gradient(135deg, var(--petrol-pale), #fef9f0);
  border: 1px solid var(--border2); border-radius: var(--radius-xl);
  padding: 2.5rem; text-align: center; margin-top: 2rem;
}
.pro-gate h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--text); margin-bottom: 0.5rem; }
.pro-gate p { font-size: 14px; color: var(--text2); max-width: 480px; margin: 0 auto 1.5rem; line-height: 1.7; }

/* ===== RESULT CARDS ===== */
.result-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.result-highlight { background: rgba(239,68,68,0.08); padding: 1px 3px; border-radius: 3px; color: #dc2626; }
.result-highlight-amber { background: rgba(245,158,11,0.1); padding: 1px 3px; border-radius: 3px; color: #d97706; }
.result-highlight-green { background: rgba(22,163,74,0.1); padding: 1px 3px; border-radius: 3px; color: #15803d; }

/* ===== INFO NOTE ===== */
.info-note { background: var(--petrol-pale); border: 1px solid var(--petrol-pale2); border-left: 3px solid var(--petrol); border-radius: var(--radius); padding: 10px 14px; font-size: 13px; color: var(--petrol-dark); line-height: 1.6; margin-top: 1rem; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text3); font-family: var(--mono); font-size: 13px; line-height: 1.8; }

/* ===== TOOL GRID (tools page) ===== */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.tool-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.75rem;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
  display: flex; flex-direction: column;
}
.tool-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--petrol-pale2); }
.tool-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--petrol-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 1rem; }
.tool-card-title { font-family: var(--serif); font-size: 1.15rem; color: var(--text); margin-bottom: 6px; }
.tool-card-desc { font-size: 13.5px; color: var(--text2); line-height: 1.65; flex: 1; margin-bottom: 1.2rem; }
.tool-card-footer { display: flex; align-items: center; justify-content: space-between; }
.tool-card-link { font-family: var(--mono); font-size: 12px; color: var(--petrol); display: flex; align-items: center; gap: 4px; }
.tool-card-link:hover { text-decoration: underline; }

/* ===== BLOG GRID ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-img { height: 180px; background: linear-gradient(135deg, var(--petrol-pale), var(--petrol-pale2)); display: flex; align-items: center; justify-content: center; font-size: 3rem; border-bottom: 1px solid var(--border); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; display: flex; gap: 12px; }
.blog-card-title { font-family: var(--serif); font-size: 1.1rem; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.blog-card-title:hover { color: var(--petrol); }
.blog-card-excerpt { font-size: 13.5px; color: var(--text2); line-height: 1.65; }
.blog-card-link { font-family: var(--mono); font-size: 12px; color: var(--petrol); margin-top: 1rem; display: inline-flex; align-items: center; gap: 4px; }

/* ===== HEATMAP COLORS ===== */
.hs-green { background: rgba(22,163,74,0.12); border-radius: 3px; padding: 0 2px; }
.hs-amber { background: rgba(245,158,11,0.15); border-radius: 3px; padding: 0 2px; }
.hs-red { background: rgba(239,68,68,0.13); border-radius: 3px; padding: 0 2px; }
.hs-critical { background: rgba(239,68,68,0.22); border-radius: 3px; padding: 0 2px; border-bottom: 2px solid var(--red); }

/* ===== PASSIVE / WEAK ===== */
.pv-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 8px; font-size: 13.5px; line-height: 1.75; color: var(--text2); box-shadow: var(--shadow-sm); }
.ww-mark { background: rgba(245,158,11,0.15); color: #b45309; padding: 0 3px; border-radius: 3px; border-bottom: 1.5px solid rgba(245,158,11,0.4); }
.ww-text-display { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; font-family: var(--mono); font-size: 13px; line-height: 1.85; color: var(--text2); }

/* ===== SNIPPET PREVIEW ===== */
.snippet-box { background: var(--white); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.snip-breadcrumb { font-size: 12px; color: #3c4043; margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.snip-favicon { width: 16px; height: 16px; background: var(--petrol); border-radius: 4px; display: inline-block; }
.snip-title { font-size: 1.1rem; color: #1a0dab; line-height: 1.3; margin-bottom: 4px; font-weight: 400; }
.snip-title:hover { text-decoration: underline; cursor: pointer; }
.snip-desc-text { font-size: 13.5px; color: #4d5156; line-height: 1.55; }
.snip-date { color: #70757a; }

/* ===== GAUGE SVG ===== */
.gauge-wrap { display: flex; align-items: center; gap: 1rem; }
.gauge-info { flex: 1; }
.gauge-score { font-family: var(--mono); font-size: 2rem; font-weight: 500; color: var(--petrol); line-height: 1; }
.gauge-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text3); margin-top: 4px; }
.gauge-desc { font-size: 13px; color: var(--text2); margin-top: 6px; }

/* ===== INPUT FIELDS ===== */
.field-input {
  width: 100%; background: var(--white); border: 1.5px solid var(--border2);
  border-radius: var(--radius); padding: 9px 12px;
  color: var(--text); font-family: var(--sans); font-size: 14px;
  outline: none; transition: border-color 0.2s; margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.field-input:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(39,84,101,0.08); }
.field-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text3); margin-bottom: 6px; display: block; }

/* ===== SECTION DIVIDER ===== */
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.section-hdr { margin-bottom: 2rem; }
.section-hdr h2 { font-family: var(--serif); font-size: 2rem; color: var(--text); margin-bottom: 6px; }
.section-hdr p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.section-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--petrol); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.section-tag::before { content: ''; display: block; width: 16px; height: 2px; background: var(--petrol); }

/* ===== RANK TABLE ===== */
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); padding: 10px 14px; border-bottom: 2px solid var(--border); text-align: left; background: var(--gray-50); }
.rank-table td { font-size: 13.5px; color: var(--text2); padding: 12px 14px; border-bottom: 1px solid var(--border); font-family: var(--mono); }
.rank-table tr:last-child td { border-bottom: none; }
.rank-table tr:hover td { background: var(--gray-50); }
.rank-up { color: #16a34a; } .rank-down { color: #dc2626; } .rank-same { color: var(--text4); }

/* ===== AUDIT REPORT ===== */
.audit-report { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow); }
.audit-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--petrol); }
.audit-logo { font-family: var(--serif); font-size: 1.1rem; color: var(--petrol); }
.audit-date-label { font-family: var(--mono); font-size: 11px; color: var(--text3); }
.audit-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 2rem; }
.audit-score-item { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center; }
.audit-score-val { font-family: var(--mono); font-size: 1.6rem; font-weight: 500; }
.audit-score-lbl { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text3); margin-top: 3px; }
.audit-section-title { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--petrol); margin: 1.5rem 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--petrol-pale2); }
.audit-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text2); }
.audit-row:last-child { border-bottom: none; }
.audit-row strong { color: var(--text); font-weight: 500; }

/* ===== PARA CARD ===== */
.para-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 8px; font-size: 13px; line-height: 1.65; display: flex; gap: 10px; align-items: flex-start; }
.para-card.warn { border-left: 3px solid var(--amber); background: #fffbf0; }
.para-card.ok { border-left: 3px solid var(--lime); background: #f0fdf4; }

/* ===== SEO ARTICLE CONTENT ===== */
.seo-content { background: var(--off-white); border-top: 1px solid var(--border); padding: 5rem 2rem; margin-top: 2rem; }
.seo-inner { max-width: 1200px; margin: 0 auto; }
.seo-inner h2 { font-family: var(--serif); font-size: 1.75rem; color: var(--text); margin: 2.75rem 0 1rem; line-height: 1.2; }
.seo-inner h2:first-child { margin-top: 0; }
.seo-inner h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 0.5rem; }
.seo-inner p { font-size: 15px; color: var(--text2); line-height: 1.85; margin-bottom: 1rem; }
.seo-inner ul, .seo-inner ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.seo-inner li { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 0.4rem; }
.seo-inner strong { color: var(--text); font-weight: 600; }
.seo-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.seo-table th { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 14px; background: var(--petrol-pale); color: var(--petrol); text-align: left; border: 1px solid var(--border2); }
.seo-table td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text2); font-size: 14px; line-height: 1.6; }
.seo-table tr:nth-child(even) td { background: var(--gray-50); }
.seo-faq { margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.seo-faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 1.25rem; }
.seo-faq-item:last-child { border-bottom: none; }
.seo-faq-q { font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.seo-faq-a { font-size: 14px; color: var(--text2); line-height: 1.75; margin: 0; }
.seo-callout { background: var(--petrol-pale); border-left: 3px solid var(--petrol); border-radius: var(--radius); padding: 14px 18px; margin: 1.5rem 0; }
.seo-callout p { margin: 0; font-size: 14px; color: var(--petrol-dark); }

/* ===== RECOMMENDED TOOLS ===== */
.rec-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 1rem; }
@media (max-width: 640px) { .rec-tools-grid { grid-template-columns: 1fr; } }
.rec-tool-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 16px;
  text-decoration: none; transition: all 0.18s;
}
.rec-tool-card:hover { border-color: var(--petrol-pale2); box-shadow: var(--shadow); transform: translateY(-2px); }
.rec-tool-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.rec-tool-name { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.rec-tool-desc { font-size: 12px; color: var(--text3); line-height: 1.5; }
.rec-tool-badge { display: inline-block; font-family: var(--mono); font-size: 9px; text-transform: uppercase; padding: 1px 6px; border-radius: 8px; margin-top: 5px; }
.rec-tool-badge.free  { background: rgba(22,163,74,0.1); color: #15803d; }
.rec-tool-badge.solo  { background: var(--petrol-pale2); color: var(--petrol); }
.rec-tool-badge.pro   { background: #fef3c7; color: #92400e; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.4s ease forwards; }
.fade-up-1 { animation-delay: 0.05s; opacity: 0; }
.fade-up-2 { animation-delay: 0.1s; opacity: 0; }
.fade-up-3 { animation-delay: 0.15s; opacity: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .tool-dual { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .audit-scores { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .page-hero { padding: 2.5rem 1.25rem; }
  .tool-layout { padding: 1.5rem 1.25rem; }
  .tools-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
