:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --panel-2: #1a1a1a;
  --panel-3: #202020;
  --border: #262626;
  --border-hover: #383838;
  --text: #fafafa;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --accent: #fafafa;
  --accent-ink: #0a0a0a;
  --accent-blue: #3b82f6;
  --accent-blue-dim: rgba(59,130,246,0.12);
  --success: #22c55e;
  --success-dim: rgba(34,197,94,0.12);
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --maxw: 1100px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--text);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text);
  color: var(--accent-ink);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; color: var(--accent-ink) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    z-index: 49;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; font-size: 15px; }
  .nav-cta { margin: 8px 24px 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(250,250,250,0.12); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-hover); background: var(--panel); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(250,250,250,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--muted-2); }
.hero p.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-size: 13px;
  color: var(--muted);
}
.badge .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  padding: 0;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
}
.stat-item .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}
@media (max-width: 600px) {
  .stats-bar { gap: 0; }
  .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }
}

/* ---------- Tool grid ---------- */
.section { padding: 48px 0 64px; }
.section-title { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.cat-section { margin-bottom: 40px; }
.cat-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.16s, background 0.16s, transform 0.16s, box-shadow 0.16s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,250,250,0.02) 0%, transparent 60%);
  pointer-events: none;
}
.tool-card:hover {
  border-color: var(--border-hover);
  background: var(--panel-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.tool-card .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--panel-3);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 20px;
  transition: border-color 0.16s;
}
.tool-card:hover .ico { border-color: var(--border-hover); }
.tool-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.tool-card p { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.tool-card .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(250,250,250,0.06);
  color: var(--muted-2);
}
.tool-card .star { color: var(--warning); font-size: 12px; }
.tool-card .arrow-hint {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: auto;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
}
.tool-card:hover .arrow-hint { color: var(--text); transform: translateX(3px); }

/* ---------- Search ---------- */
.search-wrap { position: relative; max-width: 480px; margin: 0 auto 8px; }
.search-wrap input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 48px 14px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--border-hover);
  box-shadow: 0 0 0 3px rgba(250,250,250,0.05);
}
.search-wrap input::placeholder { color: var(--muted-2); }
.search-wrap .search-icon {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 16px;
  pointer-events: none;
}
.search-empty { color: var(--muted); font-size: 15px; text-align: center; padding: 40px 0; }

/* ---------- Tool workspace ---------- */
.workspace { padding: 48px 0 72px; min-height: 60vh; }
.workspace h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.workspace .lead { color: var(--muted); font-size: 16px; margin-bottom: 32px; max-width: 600px; }

.dropzone {
  border: 1.5px dashed var(--border-hover);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 56px 24px;
  text-align: center;
  transition: all 0.16s;
  cursor: pointer;
}
.dropzone.drag { border-color: var(--text); background: var(--panel-2); }
.dropzone .dz-ico { font-size: 40px; margin-bottom: 14px; opacity: 0.8; }
.dropzone h3 { font-size: 18px; font-weight: 650; margin-bottom: 6px; }
.dropzone p { color: var(--muted); font-size: 14px; }
.dropzone input[type=file] { display: none; }

.file-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.file-item .fi-ico { font-size: 22px; }
.file-item .fi-meta { flex: 1; min-width: 0; }
.file-item .fi-name { font-size: 14px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .fi-size { font-size: 12px; color: var(--muted-2); }
.file-item .fi-handle { cursor: grab; color: var(--muted-2); padding: 0 4px; }
.file-item .fi-remove { cursor: pointer; color: var(--muted-2); padding: 4px 8px; border-radius: 6px; transition: all 0.12s; }
.file-item .fi-remove:hover { color: var(--danger); background: rgba(239,68,68,0.1); }

.action-bar { display: flex; gap: 12px; align-items: center; margin-top: 28px; flex-wrap: wrap; }

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.opt-field { display: flex; flex-direction: column; gap: 6px; }
.opt-field label { font-size: 13px; color: var(--muted); font-weight: 550; }
.opt-field input, .opt-field select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  min-width: 140px;
}
.opt-field input:focus, .opt-field select:focus { outline: none; border-color: var(--border-hover); }

.result {
  margin-top: 28px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: none;
}
.result.show { display: block; }
.result.ok { border-color: rgba(34,197,94,0.3); }
.result h3 { font-size: 16px; margin-bottom: 6px; }
.result p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--panel-2);
  border: 1px solid var(--border-hover);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--danger); }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(10,10,10,0.3);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; background: var(--panel); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 32px; }
.trust-item {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}
.trust-item:hover { border-color: var(--border-hover); }
.trust-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.trust-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 32px; }
.price-card {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card.featured { border-color: var(--border-hover); background: var(--panel-2); position: relative; }
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -10px; left: 24px;
  background: var(--text); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.price-card .tier { font-size: 14px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price-card .amt { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amt span { font-size: 15px; font-weight: 500; color: var(--muted-2); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { font-size: 14px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.price-card li::before { content: "✓"; color: var(--success); font-weight: 700; }
.price-card .btn { width: 100%; }

/* ---------- Billing note ---------- */
.billing-note {
  background: rgba(250, 204, 21, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #e8d48a;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}
.billing-note code {
  font-family: var(--mono);
  background: rgba(255,255,255,0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}

/* ---------- Pro state in header ---------- */
.nav-links a.is-pro {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.4);
  color: #5ee08a;
  cursor: default;
}

/* ---------- Success page ---------- */
.success-check {
  width: 72px; height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 2px solid var(--success);
  color: var(--success);
  display: grid; place-items: center;
  font-size: 38px; font-weight: 800;
}

/* ---------- Demo checkout form ---------- */
.demo-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 550; }
.demo-label input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
}
.demo-label input:focus { outline: none; border-color: var(--border-hover); }

/* ---------- Contact modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 24px;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.modal h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal-x {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: none; color: var(--muted-2);
  font-size: 16px; cursor: pointer; padding: 4px 8px; border-radius: 6px;
  transition: all 0.12s;
}
.modal-x:hover { color: var(--text); background: var(--panel-2); }
.modal form { display: flex; flex-direction: column; gap: 14px; }
.modal label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 550; }
.modal input, .modal textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  resize: vertical;
}
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--border-hover); }
.modal .btn { width: 100%; margin-top: 4px; }

/* ---------- Footer ---------- */
footer.site { margin-top: auto; border-top: 1px solid var(--border); padding: 56px 0 32px; background: var(--panel); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1fr 1fr; gap: 32px; }
.foot-grid h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted-2); margin-bottom: 16px; }
.foot-grid a { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; transition: color 0.12s; }
.foot-grid a:hover { color: var(--text); }
.foot-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Misc ---------- */
.breadcrumb { font-size: 13px; color: var(--muted-2); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--text); }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--muted); }
.hidden { display: none !important; }

/* ---------- Guide list ---------- */
.guide-list { display: flex; flex-direction: column; gap: 2px; }
.guide-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.14s;
  gap: 12px;
}
.guide-row:hover { background: var(--panel-2); border-color: var(--border-hover); transform: translateX(3px); }
.guide-row .arrow { color: var(--muted-2); font-size: 16px; flex-shrink: 0; transition: transform 0.14s; }
.guide-row:hover .arrow { transform: translateX(3px); color: var(--text); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  cursor: pointer;
}
.faq-item:last-of-type { border-bottom: none; }
.faq-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item h4::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--muted-2);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open h4::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
  display: none;
}
.faq-item.open p { display: block; }

/* ---------- Privacy pill ---------- */
.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  margin-top: 20px;
}

/* ---------- Related tools ---------- */
.related-grid { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.14s;
}
.related-card:hover { background: var(--panel-2); border-color: var(--border-hover); }
.related-card .ico { font-size: 20px; flex-shrink: 0; }
.related-card strong { display: block; font-size: 14px; font-weight: 600; }
.related-card small { font-size: 12px; color: var(--muted); }

/* ---------- How-to list ---------- */
ol.howto { list-style: none; counter-reset: howto; display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
ol.howto li {
  counter-increment: howto;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
ol.howto li::before {
  content: counter(howto);
  min-width: 26px; height: 26px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Prose ---------- */
.prose { font-size: 15px; line-height: 1.75; color: var(--muted); }
.prose h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin-bottom: 20px; line-height: 1.15; }
.prose h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 36px 0 12px; letter-spacing: -0.02em; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { opacity: 0.8; }
.prose ul { padding-left: 20px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { color: var(--muted); font-size: 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { font-family: var(--mono); background: var(--panel-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--text); }
.guide-cta { margin-top: 32px; }

/* ---------- Ad wrap ---------- */
.ad-wrap { margin: 32px 0; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.ad-label { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 8px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--muted-2); margin-bottom: 28px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { transition: color 0.12s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--border-hover); }

/* ---------- Workspace (tool pages) ---------- */
.workspace { padding: 48px 0 72px; min-height: 60vh; }
.workspace h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.workspace .lead { color: var(--muted); font-size: 16px; margin-bottom: 32px; max-width: 600px; line-height: 1.65; }

.dropzone {
  border: 1.5px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 64px 24px;
  text-align: center;
  transition: all 0.16s;
  cursor: pointer;
}
.dropzone:hover { border-color: var(--text); background: var(--panel-2); }
.dropzone.drag { border-color: var(--text); background: var(--panel-2); }
.dropzone .dz-ico { font-size: 44px; margin-bottom: 16px; opacity: 0.7; }
.dropzone h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.dropzone p { color: var(--muted); font-size: 14px; }
.dropzone input[type=file] { display: none; }

.file-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.file-item .fi-ico { font-size: 22px; }
.file-item .fi-meta { flex: 1; min-width: 0; }
.file-item .fi-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .fi-size { font-size: 12px; color: var(--muted-2); }
.file-item .fi-handle { cursor: grab; color: var(--muted-2); padding: 0 4px; }
.file-item .fi-remove { cursor: pointer; color: var(--muted-2); padding: 4px 8px; border-radius: 6px; transition: all 0.12s; }
.file-item .fi-remove:hover { color: var(--danger); background: rgba(239,68,68,0.1); }

.action-bar { display: flex; gap: 12px; align-items: center; margin-top: 28px; flex-wrap: wrap; }

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.opt-field { display: flex; flex-direction: column; gap: 6px; }
.opt-field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.opt-field input, .opt-field select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  min-width: 140px;
}
.opt-field input:focus, .opt-field select:focus { outline: none; border-color: var(--border-hover); }

.result {
  margin-top: 28px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: none;
}
.result.show { display: block; }
.result.ok { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.04); }
.result h3 { font-size: 16px; margin-bottom: 6px; }
.result p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--panel-2);
  border: 1px solid var(--border-hover);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 100;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--danger); }

/* ---------- Spinner ---------- */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(10,10,10,0.3);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Misc ---------- */
.hidden { display: none !important; }
.search-empty { color: var(--muted); font-size: 15px; text-align: center; padding: 48px 0; }
.star { color: var(--warning); }

/* ---------- Contact modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 24px;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.modal h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.modal-x {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: none; color: var(--muted-2);
  font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: 6px;
  transition: all 0.12s; line-height: 1;
}
.modal-x:hover { color: var(--text); background: var(--panel-2); }
.modal form { display: flex; flex-direction: column; gap: 14px; }
.modal label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.modal input, .modal textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  resize: vertical;
  transition: border-color 0.15s;
}
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--border-hover); }
.modal .btn { width: 100%; margin-top: 4px; }

.cf-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 16px 0 4px; }
.cf-success.show { display: flex; }
.cf-success .check { width: 64px; height: 64px; margin: 0 auto 16px; background: var(--success); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 800; }
.cf-success h3 { font-size: 22px; font-weight: 800; color: var(--success); margin: 0 0 8px; letter-spacing: -0.02em; }
.cf-success p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.cf-success button { padding: 10px 20px; background: var(--bg); border: 1px solid var(--border-hover); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.cf-success button:hover { background: var(--panel-2); }

/* ---------- Pricing (legacy) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 32px; }
.price-card { padding: 28px 24px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.price-card.featured { border-color: var(--border-hover); background: var(--panel-2); position: relative; }
.price-card.featured::before { content: "Most popular"; position: absolute; top: -10px; left: 24px; background: var(--text); color: var(--accent-ink); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.price-card .tier { font-size: 14px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price-card .amt { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amt span { font-size: 15px; font-weight: 500; color: var(--muted-2); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { font-size: 14px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.price-card li::before { content: "✓"; color: var(--success); font-weight: 700; }
.price-card .btn { width: 100%; }

/* ---------- Billing note ---------- */
.billing-note { background: rgba(250,204,21,0.06); border: 1px solid rgba(250,204,21,0.3); color: #e8d48a; font-size: 13px; padding: 12px 16px; border-radius: var(--radius-sm); line-height: 1.5; }
.billing-note code { font-family: var(--mono); background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

/* ---------- Success page ---------- */
.success-check { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: rgba(34,197,94,0.12); border: 2px solid var(--success); color: var(--success); display: grid; place-items: center; font-size: 38px; font-weight: 800; }

/* ---------- Demo checkout ---------- */
.demo-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 550; }
.demo-label input { background: var(--bg); border: 1px solid var(--border); color: var(--text); padding: 11px 13px; border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font); }
.demo-label input:focus { outline: none; border-color: var(--border-hover); }

/* ---------- Pro state ---------- */
.nav-links a.is-pro { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.4); color: #5ee08a; cursor: default; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-card { padding: 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .section { padding: 32px 0 48px; }
}
@media (max-width: 400px) {
  .tool-grid { grid-template-columns: 1fr; }
}
