:root {
  --bg: #171717;
  --bg2: #111111;
  --surface: #242424;
  --raised: #2c2c2c;
  --border: #333333;
  --gold: #ffc107;
  --gold-dark: #e6ac00;
  --gold-dim: rgba(255,193,7,.12);
  --text: #ffffff;
  --text2: #b0b0b0;
  --text3: #8f8f8f;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --r: 6px;
  --rl: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }
body {
  font-family: Barlow, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}
#main { flex: 1 0 auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--gold); color: #000;
  padding: 8px 16px; font-weight: 700; z-index: 20;
}
.skip-link:focus { top: 0; }
.wrap, .container {
  width: min(920px, calc(100% - 96px));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .wrap, .container { width: calc(100% - 40px); }
}
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17,17,17,.92);
  border-bottom: 1px solid var(--border);
}
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img,
.brand-logo {
  display: block;
  height: 40px !important;
  width: auto !important;
  max-height: 40px !important;
  max-width: 120px !important;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--gold);
  color: #111; font-weight: 800; display: grid; place-items: center; font-size: 13px;
}
.brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
.brand em { display: block; font-style: normal; color: var(--text3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 18px; flex: 1; flex-wrap: nowrap; align-items: center; }
.nav a { color: var(--text2); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav a.active, .nav a:hover { color: var(--gold); }
.call { font-weight: 700; color: var(--gold); white-space: nowrap; }
.hero {
  padding: 56px 0 40px;
  background: linear-gradient(135deg, #0d0d0d 0%, #171717 60%, #111600 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(255,193,7,.08), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.kicker { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin-bottom: 12px; }
.hero p { color: var(--text2); max-width: 560px; font-size: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; padding: 40px 0 64px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(255,193,7,.4); transform: translateY(-2px); text-decoration: none; }
.card.featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  background: linear-gradient(135deg, rgba(255,193,7,.1), transparent 55%), var(--surface);
  border-color: rgba(255,193,7,.35);
  padding: 28px;
}
.icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--gold-dim); color: var(--gold); font-size: 20px;
}
.card h2, .card h3 { font-size: 17px; }
.card p { color: var(--text2); font-size: 14px; flex: 1; }
.badge { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; width: fit-content; }
.badge-free { background: rgba(34,197,94,.12); color: var(--ok); border: 1px solid rgba(34,197,94,.25); }
.badge-star { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(255,193,7,.3); }
.badge-net { background: rgba(59,130,246,.12); color: #60a5fa; border: 1px solid rgba(59,130,246,.25); }
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #111; font-weight: 800; padding: 12px 18px; border-radius: 8px; }
.cta:hover { background: var(--gold-dark); text-decoration: none; }
.foot {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 6;
  border-top: 1px solid var(--border);
  padding: 16px 0;
  color: var(--text3);
  font-size: 13px;
  background: rgba(17,17,17,.96);
}
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-inner p:first-child { display: flex; align-items: center; gap: 10px; max-width: 62%; }
.foot-logo { height: 28px !important; max-height: 28px !important; width: auto !important; object-fit: contain; }
.section { padding: 48px 0 72px; }
.eyebrow {
  color: var(--gold); font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px;
}
.grad { color: var(--gold); }
.tool-page-hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #171717 60%, #111600 100%);
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.tool-page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(255,193,7,.06) 0%, transparent 70%);
  pointer-events: none;
}
.tool-page-hero-inner { position: relative; z-index: 1; }
.tool-page-hero h1 { font-size: clamp(24px, 3.5vw, 38px); margin-bottom: 12px; }
.tool-page-hero p { color: var(--text2); max-width: 560px; font-size: 16px; }
.tool-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .tool-layout { grid-template-columns: 1fr; } }
.tool-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 28px;
}
.drop-zone {
  border: 2px dashed var(--border); border-radius: var(--r);
  padding: 48px 24px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s; position: relative;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--gold); background: rgba(255,193,7,.04);
}
.drop-zone input[type=file] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.drop-zone-icon { font-size: 40px; color: var(--gold); margin-bottom: 12px; }
.drop-zone p { color: var(--text2); margin: 0; font-size: 14px; }
.privacy-badge {
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2);
  border-radius: var(--r); padding: 14px 16px; display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #4ade80; margin-bottom: 20px;
}
.safety-callout {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: var(--r); padding: 20px;
}
.safety-callout h4 { font-size: 15px; margin: 0 0 8px; }
.safety-callout p { font-size: 13px; color: var(--text2); margin: 0; line-height: 1.6; }
.btn-gold { background: var(--gold); color: #000; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid rgba(255,193,7,.4); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); padding: 28px; margin: 28px 0; }
.row { display: flex; gap: 10px; }
input[type=text], input[type=email], textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r); color: #fff; font: 15px/1.4 Barlow, sans-serif; padding: 14px 16px;
}
textarea { min-height: 180px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
input:focus, textarea:focus { outline: 2px solid rgba(255,193,7,.5); border-color: transparent; }
button.btn, .btn {
  border: 0; background: var(--gold); color: #111; font-weight: 800; font-family: inherit;
  padding: 14px 18px; border-radius: 8px; cursor: pointer;
}
button.btn:disabled { opacity: .5; cursor: wait; }
.tabs { display: flex; width: fit-content; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.tab { background: transparent; border: 0; color: var(--text2); font-weight: 700; padding: 10px 18px; cursor: pointer; font-family: inherit; }
.tab.on { background: var(--gold-dim); color: var(--gold); }
.verdict { padding: 18px 20px; border-radius: var(--rl); margin: 18px 0; font-weight: 800; }
.verdict.ok { background: rgba(34,197,94,.12); color: var(--ok); border: 1px solid rgba(34,197,94,.25); }
.verdict.warn { background: rgba(245,158,11,.12); color: var(--warn); border: 1px solid rgba(245,158,11,.25); }
.verdict.bad { background: rgba(239,68,68,.12); color: var(--bad); border: 1px solid rgba(239,68,68,.25); }
.check { border-bottom: 1px solid var(--border); padding: 12px 0; }
.check:last-child { border-bottom: 0; }
.check b { display: block; margin-bottom: 4px; }
.check span { color: var(--text2); font-size: 14px; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text3); word-break: break-all; }
@media (max-width: 800px) {
  .nav { display: none; }
  .card.featured { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .top-inner { gap: 12px; }
}
.drop {
  display: block; border: 2px dashed var(--border); border-radius: var(--rl);
  padding: 36px 20px; text-align: center; color: var(--text2); cursor: pointer;
}
.drop:hover { border-color: var(--gold); color: var(--text); }
label { display: block; font-weight: 700; margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}
