/* TOKENS */
:root {
  --navy:        #1E2A38;
  --navy-dark:   #141E2A;
  --navy-mid:    #2D3E52;
  --teal:        #0EA882;
  --teal-hover:  #0C9472;
  --teal-pale:   #EDFAF5;
  --teal-dim:    rgba(14,168,130,.10);
  --teal-border: rgba(14,168,130,.25);
  --white:       #FFFFFF;
  --off:         #F6F5F3;
  --border:      #E2DDD6;
  --border-dark: #CCC6BC;
  --muted:       #74706A;
  --text:        #1C1C1E;
  --r:           4px;
  --max-w:       1100px;}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* WORDPRESS BODY OVERRIDE */
body.home,
body.page { background: var(--white) !important; }

/* FULL-WIDTH BREAKOUT (helper para WP) */
.js-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;}

/* HERO */
.hero {
	margin-top: -0.5rem;
  background: var(--navy-dark);
  overflow: hidden;
  position: relative;}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;}

.hero-glow {
  position: absolute;
  top: -180px; right: -80px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(14,168,130,.13) 0%, transparent 65%);
  pointer-events: none;}

.hero-glow2 {
  position: absolute;
  bottom: -100px; left: -60px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(14,168,130,.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
  padding: 80px 24px 72px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(14,168,130,.35);
  padding: 5px 12px;
  border-radius: var(--r);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--teal); }

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.52);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}

/* Search bar */
.hero-search { display: flex; max-width: 460px; }

.hero-search input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: #000 !important;
  outline: none;
  transition: border-color .15s;
}
.hero-search input::placeholder { color: rgba(255,255,255,.30); }
.hero-search input:focus {
  border-color: rgba(14,168,130,.5);
  background: rgba(255,255,255,.09);
}
/* Fix: Chrome/Edge autofill overrides background making text invisible */
.hero-search input:-webkit-autofill,
.hero-search input:-webkit-autofill:hover,
.hero-search input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(20,30,42,.97) inset;
  caret-color: #fff;
  transition: background-color 9999s ease-in-out 0s;
}
/* Fix: text selection visible on dark background */
.hero-search input::selection {
  background: rgba(14,168,130,.45);
  color: #fff;
}

.hero-search button {
  padding: 12px 20px;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 var(--r) var(--r) 0;
  transition: background .15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-search button:hover { background: var(--teal-hover); }

.hero-meta { display: flex; gap: 28px; margin-top: 28px; }

.hero-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 2px;
}
.hero-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
}

.format-grid-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.22);
  margin-bottom: 10px;
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.format-pill {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 8px 6px;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,.50);
  transition: all .15s;
  cursor: default;
}
.format-pill:hover,
.format-pill.hot {
  background: rgba(14,168,130,.09);
  border-color: rgba(14,168,130,.22);
  color: #5CD4B4;
}

.hero--tool .hero-inner {
  grid-template-columns: 1fr;
  max-width: 820px;
  padding: 56px 24px 48px;
}
.hero--tool h1 { font-size: clamp(30px, 4vw, 48px); }
.hero--tool .hero-sub { max-width: 100%; }

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust {
  background: var(--teal);
  padding: 10px 24px;
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 36px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  letter-spacing: .02em;
}
.trust-item i { font-size: 12px; }

/* ── MAIN CONTENT WRAPPER ────────────────────────────────────── */
.main { max-width: var(--max-w); margin: 0 auto; padding: 56px 24px 72px; }

/* ── FILTER BAR ──────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }

.filter-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-btn i { font-size: 11px; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── CLUSTER ─────────────────────────────────────────────────── */
.cluster { margin-bottom: 48px; }

.cluster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.cluster-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}
.cluster-title i { color: var(--teal); font-size: 13px; }

.cluster-count {
  font-size: 11px;
  color: var(--muted);
  background: var(--off);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 500;
}

/* ── TOOL CARDS ──────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 16px 16px;
  display: block;
  position: relative;
  transition: all .15s;
  overflow: hidden;
}
.tool-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .18s ease;
}
.tool-card:hover {
  border-color: var(--border-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,.07);
  transform: translateY(-1px);
}
.tool-card:hover::after { transform: scaleY(1); }

.tool-card.featured {
  background: var(--teal-pale);
  border-color: var(--teal-border);
}
.tool-card.featured .tool-name { color: #0A7A5E; }
.tool-card.hidden { display: none; }

.tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tool-icon {
  width: 32px; height: 32px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 13px;
}
.tool-card.featured .tool-icon {
  background: var(--teal-dim);
  border-color: var(--teal-border);
}
.tool-arrow {
  font-size: 11px;
  color: var(--border-dark);
  transition: color .15s, transform .15s;
}
.tool-card:hover .tool-arrow { color: var(--teal); transform: translateX(2px); }

.tool-name {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 5px;
}
.tool-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── NO-RESULTS MESSAGE ──────────────────────────────────────── */
#no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
#no-results i {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
  opacity: .5;
}
#no-results p { font-size: 15px; margin-bottom: 16px; }
#no-results button {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 13px;
}
#no-results button:hover { background: var(--teal-hover); }

/* ── LONGTAIL CHIPS ──────────────────────────────────────────── */
.longtail-section { margin-bottom: 48px; }

.longtail-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.longtail-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.longtail-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.lt-chip {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--off);
  transition: all .12s;
  cursor: pointer;
}
.lt-chip:hover {
  color: var(--teal);
  border-color: var(--teal-border);
  background: var(--teal-pale);
}

/* ── EEAT BLOCK ──────────────────────────────────────────────── */
.eeat {
  background: var(--navy-dark);
  border-radius: var(--r);
  padding: 48px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eeat h2 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.eeat h2 span { color: var(--teal); }
.eeat p { font-size: 14px; color: rgba(255,255,255,.48); line-height: 1.8; }
.eeat p + p { margin-top: 12px; }

.eeat-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.eeat-feat { border-left: 2px solid var(--teal); padding-left: 14px; }
.eeat-feat-title { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.eeat-feat-desc { font-size: 12px; color: rgba(255,255,255,.42); line-height: 1.6; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { margin-bottom: 48px; }

.faq-header {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.faq-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  transition: color .12s;
}
.faq-q:hover { color: var(--teal); }

.faq-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  transition: all .15s;
}
.faq-item.open .faq-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.faq-a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ── SECTION TITLE (generic) ─────────────────────────────────── */
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.section-sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }

/* ── TOOL PAGE — HERO BREADCRUMB ─────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.35); transition: color .12s; }
.breadcrumb a:hover { color: rgba(255,255,255,.7); }
.breadcrumb i { font-size: 9px; }

/* ── TOOL BOX (conversor) ────────────────────────────────────── */
.tool-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 48px;
}
.tool-box-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off);
}
.tool-box-header i { color: var(--teal); font-size: 14px; }
.tool-box-title { font-size: 14px; font-weight: 600; color: var(--text); }
.tool-box-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 2px;
}
.tool-body { padding: 28px; }

.tool-progress { height: 3px; background: var(--border); overflow: hidden; }
.tool-progress-bar {
  height: 100%;
  background: var(--teal);
  width: 0;
  transition: width .3s ease;
}

.drop-zone {
  border: 2px dashed var(--border-dark);
  border-radius: var(--r);
  padding: 48px 24px;
  text-align: center;
  transition: all .2s;
  cursor: pointer;
  background: var(--off);
}
.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.drop-zone i {
  font-size: 32px;
  color: var(--border-dark);
  margin-bottom: 14px;
  display: block;
  transition: color .2s;
}
.drop-zone:hover i,
.drop-zone.drag-over i { color: var(--teal); }
.drop-zone-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.drop-zone-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.drop-zone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--r);
  border: none;
  transition: background .15s;
}
.drop-zone-btn:hover { background: var(--teal-hover); }

.tool-file-info {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  font-family: 'DM Mono', monospace;
  margin-top: 10px;
  padding: 6px 10px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.tool-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.tool-option { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 140px; }
.tool-option label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}
.tool-option select,
.tool-option input[type="text"] {
  font-size: 13px;
  font-family: inherit;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
.tool-option select:focus,
.tool-option input:focus { border-color: var(--teal); }

.convert-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--r);
  border: none;
  transition: background .15s;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}
.convert-btn:hover { background: var(--teal-hover); }
.convert-btn:disabled { background: var(--border-dark); cursor: not-allowed; }

.tool-result {
  margin-top: 20px;
  padding: 20px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: none;
}
.tool-result.visible { display: block; }

.tool-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tool-result-title { font-size: 13px; font-weight: 600; color: var(--text); }

.result-actions { display: flex; gap: 8px; align-items: center; }

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r);
  border: none;
  transition: background .15s;
  cursor: pointer;
}
.download-btn:hover { background: var(--navy-mid); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--off);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.copy-btn:hover { background: var(--border); }

.tool-preview {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  line-height: 1.7;
  background: var(--navy-dark);
  color: #A8E6CF;
  padding: 16px;
  border-radius: var(--r);
  overflow-x: auto;
  white-space: pre;
  margin-bottom: 12px;
  max-height: 220px;
  overflow-y: auto;
}

.result-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: 'DM Mono', monospace;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  background: var(--teal-pale);
  border: 1px solid var(--teal-border);
  border-radius: var(--r);
  padding: 8px 12px;
  margin-bottom: 16px;
}
.security-badge i { color: var(--teal); }

.dep-note {
  font-size: 11px;
  color: var(--muted);
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dep-note i { color: var(--teal); }

.limitation-box {
  background: var(--off);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.limitation-box strong { color: var(--text); }

/* ── HOW-TO STEPS ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: relative;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--teal);
  opacity: .18;
  position: absolute;
  top: 16px; right: 16px;
  line-height: 1;
}
.step-icon { color: var(--teal); font-size: 20px; margin-bottom: 12px; }
.step-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── USE CASES ───────────────────────────────────────────────── */
.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.use-case {
  padding: 18px;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.use-case-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.use-case-title i { color: var(--teal); font-size: 12px; }
.use-case p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ── RELATED TOOLS ───────────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 48px;
}
.related-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 16px;
  display: block;
  transition: all .15s;
  position: relative;
  overflow: hidden;
}
.related-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .18s ease;
}
.related-card:hover {
  border-color: var(--border-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,.07);
  transform: translateY(-1px);
}
.related-card:hover::after { transform: scaleY(1); }
.related-card-icon { color: var(--teal); font-size: 16px; margin-bottom: 10px; }
.related-card-title {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.related-card-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.related-card-vol {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  font-family: 'DM Mono', monospace;
}

/* ── CMD BLOCKS ─────────────────────────────────────────────── */
.cmd-block {
  background: var(--navy-dark);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.cmd-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cmd-copy-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.55);
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
  font-family: inherit;
  transition: all .15s;
}
.cmd-copy-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.cmd-code {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #A8E6CF;
  line-height: 1.85;
  white-space: pre-wrap;
}
.cmd-note {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  margin-top: 8px;
  line-height: 1.6;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--teal);
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.footer-cta {
  background: var(--teal-hover);
  padding: 26px 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.footer-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-cta-text i { font-size: 14px; opacity: .7; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--teal-hover);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 3px;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: opacity .15s;
  white-space: nowrap;
  font-family: inherit;
  border: none;
  cursor: pointer;
}
.footer-cta-btn:hover { opacity: .9; }

.footer-body { padding: 52px 24px 44px; }
.footer-body-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-logo-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,.18);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
  max-width: 270px;
}
.footer-trust { display: flex; flex-direction: column; gap: 7px; }
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.footer-trust-item i { font-size: 11px; color: rgba(255,255,255,.4); width: 13px; }

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.68);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .12s;
}
.footer-links a i { font-size: 9px; color: rgba(255,255,255,.25); width: 10px; }
.footer-links a:hover { color: #fff; }
.footer-links a.all { font-weight: 600; color: rgba(255,255,255,.8); margin-top: 2px; }

.footer-formats { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.footer-fmt {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.14);
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(255,255,255,.04);
  transition: all .12s;
}
.footer-fmt:hover { color: #fff; border-color: rgba(255,255,255,.35); }

.footer-sep-wrap { padding: 0 24px; }
.footer-sep { max-width: var(--max-w); margin: 0 auto; height: 1px; background: rgba(255,255,255,.1); }

.footer-bottom { background: rgba(0,0,0,.1); padding: 18px 24px; }
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.42); }
.footer-copy strong { color: rgba(255,255,255,.62); font-weight: 600; }

.footer-legal { display: flex; align-items: center; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.42); transition: color .12s; }
.footer-legal a:hover { color: rgba(255,255,255,.78); }
.footer-legal-dot { width: 3px; height: 3px; background: rgba(255,255,255,.2); border-radius: 50%; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .eeat { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .eeat-features { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .footer-body-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .hero-meta { gap: 16px; flex-wrap: wrap; }
  .hero-search { flex-direction: column; }
  .hero-search input {
    border-right: 1px solid rgba(255,255,255,.1);
    border-bottom: none;
    border-radius: var(--r) var(--r) 0 0;
  }
  .hero-search button { border-radius: 0 0 var(--r) var(--r); justify-content: center; }
  .main { padding: 36px 16px 56px; }
  .eeat { padding: 24px; }
  .tool-body { padding: 16px; }
  .tool-options { flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-body-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ── HOME PAGE — cluster & tool-card grid ────────────────────── */
.cluster-section { margin-bottom: 48px; }
.cluster-header  { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
.cluster-icon    { width:44px; height:44px; border-radius:var(--r); background:var(--teal-pale); color:var(--teal); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; margin-top:2px; }
.cluster-title   { font-size:20px; font-weight:800; color:var(--navy-dark); margin:0 0 4px; font-family:'Syne',sans-serif; }
.cluster-sub     { font-size:13px; color:var(--muted); margin:0; line-height:1.5; }
.tool-cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; }
.tool-card       { display:block; background:var(--white); border:1px solid var(--border); border-radius:var(--r); padding:16px; text-decoration:none; transition:border-color .15s, box-shadow .15s, transform .15s; }
.tool-card:hover { border-color:var(--teal); box-shadow:0 4px 16px rgba(14,168,130,.12); transform:translateY(-2px); }
.tool-card.hot   { border-color:rgba(14,168,130,.25); }
.tool-card-icon  { font-size:20px; color:var(--teal); margin-bottom:8px; }
.tool-card-name  { font-size:14px; font-weight:700; color:var(--navy-dark); margin-bottom:4px; }
.tool-card-vol   { font-size:11px; color:var(--teal); font-weight:600; margin-bottom:6px; }
.tool-card-desc  { font-size:12px; color:var(--muted); line-height:1.5; }
.section-divider { border:none; border-top:1px solid var(--border); margin:32px 0; }
#home-search-results .section-title { margin-bottom:16px; }

.cluster-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.cluster-header > div:not(.cluster-icon) {
  flex: 0 1 auto;
  min-width: 0;
}

.cluster-title {
  margin: 0 0 3px 0;
  text-align: left;
}

.cluster-sub {
  margin: 0;
  text-align: left;
  max-width: 620px;
}

@media(max-width:640px) {
  .tool-cards-grid { grid-template-columns: 1fr 1fr; }
  .cluster-header  { flex-direction:column; gap:8px; }
  .cluster-icon    { width:36px; height:36px; font-size:15px;}}
@media(max-width:380px) {
  .tool-cards-grid { grid-template-columns: 1fr; }}