/* AT USE Ã¢â‚¬â€ site shell, dark premium (matches image-optimizer) */

/* Ensure [hidden] always wins regardless of display property in component CSS */
[hidden] { display: none !important; }

:root {
  --bg: #0b0f17;
  --bg-2: #0f1422;
  --panel: #131a2a;
  --panel-2: #182135;
  --line: #233048;
  --line-2: #2d3a55;
  --text: #e7ecf5;
  --text-2: #aab4c8;
  --muted: #7d889f;
  --accent: #6aa3ff;
  --accent-2: #8bd8ff;
  --good: #5ed5a8;
  --warn: #f4b25b;
  --bad: #ff7575;
  --shadow: 0 12px 40px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.3);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.25);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(106,163,255,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(139,216,255,.07), transparent 60%),
    var(--bg);
  font: 15px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
}
.skip-link:focus {
  left: 12px; top: 12px; z-index: 1000;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px;
}

.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,12,20,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .02em; }
.brand img { height: 28px; width: auto; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a1224; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.brand-text { font-size: 15px; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  color: var(--text-2); padding: 8px 2px;
  border-bottom: 2px solid transparent;
  font-weight: 600; font-size: 14px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a.active { color: var(--text); border-bottom-color: var(--accent); }

.menu-toggle {
  display: none; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--text);
  padding: 8px 12px; font-weight: 700; font-size: 13px; cursor: pointer;
}

/* --- Main ----------------------------------------------------------------- */
.site-main { padding: 32px 0 64px; }

/* --- Hero / page head ----------------------------------------------------- */
.hero {
  margin-top: 16px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px;
  align-items: stretch;
}
.hero-copy, .hero-panel,
.feature-card, .tool-card, .contact-form, .notice, .prose, .page-head {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.eyebrow, .kicker {
  margin: 0 0 8px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1, .page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text);
}

.lead {
  margin: 0;
  max-width: 70ch;
  color: var(--text-2);
  line-height: 1.65;
  font-size: 16px;
}

.hero-actions {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 10px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 18px;
  font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer;
  transition: transform .12s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #0a1224;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 20px rgba(106,163,255,.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--line-2); background: #1c2640; }

/* --- Hero panel (featured tool) ------------------------------------------- */
.hero-panel { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hero-panel h2 {
  margin: 0;
  color: var(--text-2); font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
}
.hero-panel h3 {
  margin: 8px 0 6px;
  font-size: 22px; color: var(--text); letter-spacing: -.01em;
}
.hero-panel p { margin: 0 0 14px; color: var(--text-2); }
.panel-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2); font-weight: 700;
}
.panel-link::after { content: 'Ã¢â€ â€™'; transition: transform .2s var(--ease); }
.panel-link:hover { text-decoration: none; }
.panel-link:hover::after { transform: translateX(3px); }

/* --- Sections ------------------------------------------------------------- */
.section { margin-top: 32px; }
.section-head { margin-bottom: 16px; }
.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.01em;
  color: var(--text);
}
.section-head p { margin: 0; color: var(--text-2); }

.feature-grid, .tool-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --- Category catalog (tools directory) ----------------------------------- */
.cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cat-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-decoration: none;
  transition: transform .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--panel-2); }
.cat-card-top {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.cat-card-name {
  color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -.01em;
}
.cat-card-desc {
  margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; flex: 1;
}
.cat-card-action {
  color: var(--accent-2); font-size: 13px; font-weight: 700;
}

/* --- Category page header extras ----------------------------------------- */
.cat-stats { margin: 12px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }

/* --- Category search box -------------------------------------------------- */
.cat-search-wrap { margin-bottom: 4px; }
.cat-search {
  width: 100%;
  max-width: 440px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 16px;
  font: inherit;
  font-size: 15px;
  transition: border-color .15s var(--ease);
}
.cat-search:focus { outline: none; border-color: var(--accent-2); }
.tools-count {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* --- Back link ------------------------------------------------------------ */
.back-link { margin: 0; }
.back-link a { color: var(--accent-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.back-link a:hover { text-decoration: underline; }

.feature-card { padding: 22px; }
.feature-card h3 { margin: 8px 0 6px; color: var(--text); font-size: 17px; }
.feature-card p { margin: 0; color: var(--text-2); line-height: 1.6; }

/* --- Tool cards ----------------------------------------------------------- */
.tool-card {
  padding: 22px;
  display: flex; flex-direction: column;
  transition: transform .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.tool-card:hover { transform: translateY(-2px); border-color: var(--line-2); background: var(--panel-2); }

.tool-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 10px;
}
.tool-cat { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.tool-card h2, .tool-card h3 { margin: 6px 0 8px; color: var(--text); font-size: 18px; letter-spacing: -.01em; }
.tool-card p { margin: 0 0 14px; color: var(--text-2); line-height: 1.55; flex: 1; }

.chip {
  display: inline-flex; align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase; letter-spacing: .06em;
}
.chip-live  { color: #052017; background: var(--good); }
.chip-soon  { color: #2c1a02; background: var(--warn); }

.tool-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2); font-weight: 700; font-size: 14px;
}
.tool-link::after { content: '\2192'; transition: transform .2s var(--ease); }
.tool-link:hover { text-decoration: none; }
.tool-link:hover::after { transform: translateX(3px); }
.tool-link.muted { color: var(--muted); cursor: default; }
.tool-link.muted::after { content: ''; }

.muted { color: var(--muted); }

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   Converter tool Ã¢â‚¬â€ complete redesign (cv-*)
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

/* Ã¢â€â‚¬Ã¢â€â‚¬ Head Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-head {
  padding-top: 28px; padding-bottom: 4px;
}
.cv-title-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 4px 0 8px;
}
.cv-title-row h1 { margin: 0; flex-shrink: 1; min-width: 0; }
.cv-subtitle { margin: 0; font-size: 14px; color: var(--text-2); }
.cv-pair-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  flex-shrink: 0;
  white-space: nowrap;
}
.cv-format-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-weight: 700; font-size: 12px; letter-spacing: .04em;
  color: var(--text);
}
.cv-format-chip--to {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #0a1224;
}
.cv-arrow { color: var(--muted); flex-shrink: 0; width: 16px; height: 16px; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Tool section Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-tool {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 48px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Main panel (wraps dropzone + queue + settings) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Drop zone Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-dropzone {
  position: relative;
  border-bottom: 2px dashed var(--line);
  border-radius: 0;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  cursor: pointer;
  outline: none;
}
.cv-panel .cv-dropzone:first-child { border-radius: 16px 16px 0 0; }
.cv-dropzone:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(106,163,255,.25);
  border-color: var(--accent);
}
.cv-dropzone--drag,
.cv-dropzone:hover {
  border-color: var(--accent);
  background: rgba(106,163,255,.04);
}
.cv-dropzone--has-files { border-style: solid; border-color: var(--line-2); }
.cv-dropzone-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding: 24px 20px;
  pointer-events: none;
}
.cv-dropzone-text { min-width: 0; }
.cv-dropzone-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.cv-dropzone-sub   { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.cv-upload-icon { width: 36px; height: 36px; color: var(--accent-2); opacity: .7; flex-shrink: 0; }
.cv-browse-btn { pointer-events: auto; flex-shrink: 0; }
/* When files added, collapse to slim re-add bar */
.cv-dropzone--has-files .cv-dropzone-inner { padding: 14px 20px; gap: 10px; }
.cv-dropzone--has-files .cv-upload-icon { width: 20px; height: 20px; }
.cv-dropzone--has-files .cv-dropzone-sub { display: none; }
.cv-dropzone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%;
  cursor: pointer; z-index: 1;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Queue (inside panel) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-queue {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.cv-queue-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-2);
}
.cv-queue-item:last-child { border-bottom: none; }
.cv-queue-thumb {
  width: 40px; height: 40px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line); flex-shrink: 0;
  background: var(--bg-2);
}
.cv-queue-info { flex: 1; min-width: 0; }
.cv-queue-name {
  margin: 0; font-size: 13px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cv-queue-size { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.cv-queue-remove {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  color: var(--muted); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.cv-queue-remove:hover { color: var(--bad); border-color: var(--bad); background: rgba(255,80,80,.08); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Settings bar (inside panel) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-settings {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.cv-settings-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cv-quality-group {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 200px;
}
.cv-qlabel {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap; flex-shrink: 0;
}
.cv-quality-hint { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.cv-quality-pct {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; padding: 2px 6px;
  border-radius: 5px; background: var(--panel); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--text);
  flex-shrink: 0;
}
.cv-quality-slider {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) calc((var(--val,42) - 40) / 60 * 100%), var(--bg-2) calc((var(--val,42) - 40) / 60 * 100%));
  outline: none; cursor: pointer;
}
.cv-quality-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent);
  border: 2px solid #fff1; box-shadow: 0 0 0 3px rgba(106,163,255,.2);
  transition: box-shadow .15s;
}
.cv-quality-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 0 5px rgba(106,163,255,.3); }
.cv-quality-slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--accent);
  border: none; cursor: pointer;
}
.cv-action-group {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cv-convert-btn { display: inline-flex; align-items: center; gap: 6px; }
.cv-clear-btn { color: var(--text-2); }
.cv-global-status { font-size: 13px; color: var(--text-2); }
.cv-global-status.cv-status-ok    { color: var(--good); }
.cv-global-status.cv-status-warn  { color: var(--warn); }
.cv-global-status.cv-status-error { color: var(--bad); }
.cv-availability { margin: 0; font-size: 13px; }
.cv-availability--warn { color: var(--warn); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Results grid Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-results {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.cv-result-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  transition: border-color .2s var(--ease);
}
.cv-result-card--done  { border-color: rgba(62,203,137,.35); }
.cv-result-card--error { border-color: rgba(255,80,80,.35); }
.cv-result-card--pending { opacity: .7; }
.cv-result-thumb {
  width: 100%; height: 140px; object-fit: cover;
  background:
    linear-gradient(45deg, #2a3245 25%, transparent 25%),
    linear-gradient(-45deg, #2a3245 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2a3245 75%),
    linear-gradient(-45deg, transparent 75%, #2a3245 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  border-bottom: 1px solid var(--line);
}
.cv-result-body {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 12px 12px;
}
.cv-result-name {
  margin: 0; font-size: 13px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cv-result-dims  { margin: 0; font-size: 12px; color: var(--muted); }
.cv-result-sizes { margin: 0; font-size: 12px; color: var(--muted); }
.cv-result-dl    { margin-top: 8px; justify-content: center; width: 100%; }
.cv-result-status { margin: 3px 0 0; font-size: 13px; color: var(--text-2); }
.cv-result-status--converting { color: var(--accent-2); }
.cv-result-status--error      { color: var(--bad); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Download all wrap Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-download-all-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel);
  text-align: center;
}
.cv-download-all-note { margin: 0; font-size: 13px; color: var(--muted); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Responsive Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 680px) {
  .cv-title-row { gap: 10px; }
  .cv-settings-row { flex-direction: column; align-items: stretch; }
  .cv-quality-group { min-width: 0; }
}
@media (max-width: 480px) {
  .cv-results { grid-template-columns: 1fr; }
}


/* Ã¢â€â‚¬Ã¢â€â‚¬ About & FAQ (converter) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-about { padding-top: 0; }
.cv-about-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-bottom: 28px;
}
.cv-about-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.cv-about-card h2 {
  margin: 0 0 8px;
  font-size: 15px; font-weight: 700; color: var(--text);
}
.cv-about-card p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.65; }

.cv-faq > h2 { margin: 0 0 14px; font-size: 20px; font-weight: 700; color: var(--text); }
.cv-faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  margin-bottom: 8px;
  overflow: hidden;
}
.cv-faq-item summary {
  padding: 13px 16px;
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.cv-faq-item summary::-webkit-details-marker { display: none; }
.cv-faq-item summary::after {
  content: '+'; font-size: 18px; line-height: 1; color: var(--muted); flex-shrink: 0; margin-left: 12px;
}
.cv-faq-item[open] summary { border-bottom: 1px solid var(--line-2); }
.cv-faq-item[open] summary::after { content: 'Ã¢Ë†â€™'; }
.cv-faq-item p {
  padding: 12px 16px 14px; margin: 0;
  font-size: 14px; color: var(--text-2); line-height: 1.65;
}
.cv-faq-item p em { color: var(--text); font-style: normal; font-weight: 600; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Network DNS tools (dn-*) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.dn-head {
  padding-top: 26px;
}
.dn-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.dn-title-row h1 {
  margin: 0;
}
.dn-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dn-tool {
  padding-top: 8px;
}

.dn-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.dn-form {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: end;
}

.dn-field {
  display: grid;
  gap: 6px;
}

.dn-field span {
  color: var(--text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.dn-field input,
.dn-field select {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
}

.dn-field input:focus,
.dn-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106,163,255,.18);
}

.dn-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dn-note {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

.dn-note-ok { color: var(--good); }
.dn-note-warn { color: var(--warn); }
.dn-note-error { color: var(--bad); }
.dn-note-pending { color: var(--accent-2); }

.dn-results,
.dn-external {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--bg-2);
}

.dn-results h2,
.dn-external h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.dn-results-label {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.dn-result-meta {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.dn-result-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dn-result-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.dn-result-table th,
.dn-result-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
}

.dn-result-table th {
  color: var(--text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dn-result-table td {
  color: var(--text);
  font-size: 14px;
}

.dn-external p {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Online Checker (oc-*) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.oc-head {
  padding-top: 26px;
}
.oc-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.oc-title-row h1 {
  margin: 0;
}
.oc-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oc-tool {
  padding-top: 8px;
}

.oc-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.oc-form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.oc-field {
  display: grid;
  gap: 6px;
}

.oc-field span {
  color: var(--text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.oc-field input {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
}

.oc-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106,163,255,.18);
}

.oc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.oc-note {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

.oc-note-ok { color: var(--good); }
.oc-note-warn { color: var(--warn); }
.oc-note-error { color: var(--bad); }
.oc-note-pending { color: var(--accent-2); }

.oc-result {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: var(--bg-2);
  display: flex;
  gap: 20px;
  align-items: center;
}

.oc-result-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
}

.oc-badge-online {
  background: rgba(62,203,137,.15);
  color: var(--good);
  border: 1px solid rgba(62,203,137,.35);
}

.oc-badge-offline {
  background: rgba(255,80,80,.15);
  color: var(--bad);
  border: 1px solid rgba(255,80,80,.35);
}

.oc-result-info {
  flex: 1;
}

.oc-url {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.oc-status-text {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14px;
}

.oc-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.oc-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oc-stat-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.oc-stat-value {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.oc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.oc-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.oc-section h2 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--text);
}

.oc-top-sites {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.oc-site-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: all .15s var(--ease);
}

.oc-site-btn:hover {
  border-color: var(--accent);
  background: rgba(106,163,255,.08);
  transform: translateY(-2px);
}

.oc-site-icon {
  font-size: 20px;
}

.oc-site-icon[src] {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.oc-site-name {
  font-size: 12px;
  text-align: center;
}

.oc-recent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.oc-recent-item {
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  background: var(--bg-2);
}

.oc-recent-online {
  border-left-color: var(--good);
}

.oc-recent-offline {
  border-left-color: var(--bad);
}

.oc-recent-url {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  word-break: break-all;
}

.oc-recent-meta {
  font-size: 11px;
  color: var(--muted);
}

.oc-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 800px) {
  .oc-result {
    flex-direction: column;
    text-align: center;
  }
  .oc-result-badge {
    width: 100%;
  }
  .oc-form {
    grid-template-columns: 1fr;
  }
  .oc-stats {
    justify-content: center;
  }
  .oc-grid {
    grid-template-columns: 1fr;
  }
  .oc-top-sites {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Page head & prose ---------------------------------------------------- */
.page-head { margin-top: 16px; }
.prose { line-height: 1.7; color: var(--text-2); }
.prose h2 { margin: 0 0 10px; color: var(--text); font-size: 20px; letter-spacing: -.01em; }
.prose p + h2 { margin-top: 22px; }
.prose p { margin: 0 0 12px; }
.prose a { color: var(--accent-2); }

/* --- Forms ---------------------------------------------------------------- */
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form span {
  color: var(--text-2); font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106,163,255,.18);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { justify-self: start; }

.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Notices -------------------------------------------------------------- */
.notice { padding: 14px 18px; border-radius: 10px; }
.notice.success { color: #052017; background: var(--good); border-color: transparent; }
.notice.error   { color: #2a0707; background: var(--bad);  border-color: transparent; }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: rgba(8,12,20,.6);
}
.footer-grid {
  padding: 36px 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px;
}
.site-footer h2 {
  margin: 0 0 10px; color: var(--text);
  font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
}
.site-footer p, .site-footer ul { margin: 0; color: var(--text-2); line-height: 1.7; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 4px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}

/* --- Focus visibility ----------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .feature-grid, .tool-grid, .footer-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
}
  .dn-form { grid-template-columns: 1fr; }
  .dn-actions { width: 100%; }

@media (max-width: 700px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 16px;
    background: rgba(8,12,20,.96);
    border-bottom: 1px solid var(--line);
    display: none; gap: 6px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 8px; border-bottom: 0; border-radius: 8px; }
  .main-nav a:hover, .main-nav a.active { background: var(--panel); border-bottom: 0; }

  .feature-grid, .tool-grid, .footer-grid, .cat-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-panel,
  .feature-card, .tool-card, .contact-form, .prose, .page-head { padding: 22px; }
  .cat-card { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   v=20260505m  â€” Full dark-theme rewrite of homepage / mega menu / filters /
   tool-about / coming-soon / pagination / footer / FAQ
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Generic helpers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-2);margin:0 0 8px}
.section{padding:56px 0}
.section-head{margin:0 0 28px;max-width:760px}
.section-head h2{margin:0 0 8px;font-size:clamp(22px,3vw,30px);line-height:1.2;color:var(--text);letter-spacing:-.01em}
.section-head p{margin:0;color:var(--text-2);font-size:15.5px;line-height:1.6}
.section-head-center{margin-left:auto;margin-right:auto;text-align:center}
.section-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:24px;max-width:none}
.section-link{color:var(--accent-2);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
.section-link:hover{color:var(--text)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* â”€â”€ Chips (override the gradient soon-chip back to themed) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.chip-soon{display:inline-flex;align-items:center;padding:4px 10px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;background:var(--warn);color:#2c1a02;border:1px solid transparent;margin:0;vertical-align:middle}
.chip-live{background:var(--good);color:#052017}

/* â”€â”€ Homepage hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.home-hero{padding:64px 0 28px;position:relative}
.home-hero-inner{max-width:880px}
.hero-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(106,163,255,.08);color:var(--text-2);font-size:13px;font-weight:600}
.hero-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--good);box-shadow:0 0 10px var(--good)}
.home-hero-title{margin:18px 0 14px;font-size:clamp(32px,5vw,54px);line-height:1.08;letter-spacing:-.02em;color:var(--text);font-weight:800;background:linear-gradient(180deg,#fff 30%,#aab4c8);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.home-hero-lead{margin:0 0 26px;font-size:clamp(16px,1.6vw,19px);line-height:1.6;color:var(--text-2);max-width:680px}
.home-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 22px}
.home-hero-trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:18px 26px;color:var(--text-2);font-size:14px}
.home-hero-trust li{display:inline-flex;align-items:center;gap:8px}
.home-hero-trust .check{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:rgba(94,213,168,.15);color:var(--good);font-size:11px;font-weight:800}

/* â”€â”€ Spotlight â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.spotlight{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;padding:36px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);position:relative;overflow:hidden}
.spotlight::before{content:"";position:absolute;inset:auto -20% -40% auto;width:55%;height:140%;background:radial-gradient(circle at 50% 50%,rgba(106,163,255,.18),transparent 60%);pointer-events:none}
.spotlight-copy h2{margin:6px 0 10px;font-size:clamp(22px,2.6vw,30px);color:var(--text)}
.spotlight-copy .lead{margin:0 0 18px;color:var(--text-2);line-height:1.6;font-size:15.5px}
.spot-features{margin:0 0 24px;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.spot-features li{position:relative;padding-left:26px;color:var(--text-2);line-height:1.55;font-size:15px}
.spot-features li::before{content:"";position:absolute;left:0;top:7px;width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 0 0 4px rgba(106,163,255,.12)}
.spot-features strong{color:var(--text);font-weight:700}
.spotlight-visual{position:relative;z-index:1}
.spot-card{background:var(--bg-2);border:1px solid var(--line-2);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px;font-family:ui-monospace,"SF Mono",Menlo,monospace}
.spot-card-row{display:flex;gap:6px;margin-bottom:6px}
.spot-dot{width:10px;height:10px;border-radius:50%;background:var(--line-2)}
.spot-dot:nth-child(1){background:#ff7575}.spot-dot:nth-child(2){background:var(--warn)}.spot-dot:nth-child(3){background:var(--good)}
.spot-bar{position:relative;background:rgba(255,255,255,.04);border-radius:8px;height:34px;display:flex;align-items:center;padding:0 12px;font-size:12px;color:var(--text-2);overflow:hidden}
.spot-bar span{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,rgba(106,163,255,.35),rgba(139,216,255,.55));border-radius:8px}
.spot-bar em{position:relative;font-style:normal;color:var(--text)}
.spot-meta{margin-top:6px;font-size:12.5px;color:var(--text-2)}
.spot-meta strong{color:var(--good)}

/* â”€â”€ Use cases â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.usecase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.usecase{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);transition:transform .15s var(--ease),border-color .15s var(--ease),background .15s var(--ease)}
.usecase:hover{transform:translateY(-2px);border-color:var(--line-2);background:var(--panel-2)}
.usecase-icon{width:42px;height:42px;border-radius:10px;background:rgba(106,163,255,.12);color:var(--accent-2);display:grid;place-items:center;margin-bottom:14px}
.usecase-icon svg{width:22px;height:22px}
.usecase h3{margin:0 0 8px;font-size:18px;color:var(--text)}
.usecase p{margin:0;color:var(--text-2);font-size:14.5px;line-height:1.6}

/* â”€â”€ Rich category cards (used on home) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cat-card-rich{position:relative;padding-top:26px}
.cat-card-icon{width:38px;height:38px;border-radius:10px;background:rgba(139,216,255,.12);color:var(--accent-2);display:inline-grid;place-items:center;margin-bottom:12px}
.cat-card-icon svg{width:20px;height:20px}

/* â”€â”€ How it works â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.how-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:step}
.how-grid li{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);position:relative}
.how-num{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:999px;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#0a1224;font-weight:800;font-size:14px;margin-bottom:12px}
.how-grid h3{margin:0 0 6px;color:var(--text);font-size:17px}
.how-grid p{margin:0;color:var(--text-2);font-size:14.5px;line-height:1.6}

/* â”€â”€ Featured tool card highlight â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tool-card-feat{border-color:rgba(106,163,255,.45);background:linear-gradient(180deg,var(--panel),var(--panel-2))}

/* â”€â”€ FAQ (homepage accordion) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faq-wrap{display:flex;flex-direction:column;gap:10px;max-width:880px;margin:0 auto}
.faq-item{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:6px 18px;transition:border-color .15s var(--ease)}
.faq-item[open]{border-color:var(--line-2);background:var(--panel-2)}
.faq-item summary{cursor:pointer;font-weight:600;color:var(--text);list-style:none;padding:14px 0;display:flex;justify-content:space-between;align-items:center;gap:14px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";color:var(--accent-2);font-weight:700;font-size:18px;line-height:1}
.faq-item[open] summary::after{content:"âˆ’"}
.faq-item p{margin:0 0 16px;color:var(--text-2);line-height:1.65;font-size:15px}

/* â”€â”€ Final CTA band â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-band{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;padding:32px 36px;border-radius:var(--radius-lg);background:linear-gradient(135deg,rgba(106,163,255,.16),rgba(139,216,255,.08));border:1px solid rgba(106,163,255,.30)}
.cta-band h2{margin:0 0 6px;color:var(--text);font-size:clamp(20px,2.4vw,26px)}
.cta-band p{margin:0;color:var(--text-2);font-size:15px}
.cta-actions{display:flex;gap:10px;flex-wrap:wrap}

/* â”€â”€ Tool About â€” dark theme version â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tool-about{display:flex;flex-direction:column;gap:24px}
.tool-about .tool-about-block{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:26px 28px;box-shadow:0 1px 2px rgba(0,0,0,.18)}
.tool-about .tool-about-block h2{margin:0 0 12px;font-size:21px;line-height:1.25;color:var(--text)}
.tool-about .tool-about-block p{margin:0;color:var(--text-2);line-height:1.7;font-size:15.5px}
.tool-about .tool-bullets,.tool-about .tool-steps{margin:0;padding-left:22px;color:var(--text-2);line-height:1.7;font-size:15.5px}
.tool-about .tool-bullets li+li,.tool-about .tool-steps li+li{margin-top:8px}
.tool-faq{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.tool-faq-item{border:1px solid var(--line);border-radius:10px;padding:10px 16px;background:var(--panel-2)}
.tool-faq-item summary{cursor:pointer;font-weight:600;color:var(--text);list-style:none;padding:6px 0;display:flex;justify-content:space-between;gap:14px}
.tool-faq-item summary::-webkit-details-marker{display:none}
.tool-faq-item summary::after{content:"+";color:var(--accent-2);font-weight:700;font-size:16px}
.tool-faq-item[open] summary::after{content:"âˆ’"}
.tool-faq-item p{margin:8px 0 6px;color:var(--text-2);line-height:1.65}
@media (max-width:640px){.tool-about .tool-about-block{padding:20px}.tool-about .tool-about-block h2{font-size:19px}}

/* â”€â”€ Coming Soon notify card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cs-head h1{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.cs-notify-section{margin:24px 0 36px}
.cs-notify-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:var(--shadow);max-width:680px}
.cs-notify-card h2{margin:0 0 8px;font-size:20px;color:var(--text)}
.cs-notify-card p{margin:0 0 16px;color:var(--text-2);font-size:15px;line-height:1.6}
.cs-notify-form{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
.cs-notify-field{flex:1 1 240px;min-width:0;display:flex}
.cs-notify-field input{flex:1;padding:12px 14px;border:1px solid var(--line);border-radius:10px;font-size:15px;font-family:inherit;background:var(--bg-2);color:var(--text)}
.cs-notify-field input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(106,163,255,.18)}
.cs-flash{margin-bottom:14px;padding:12px 14px;border-radius:10px;font-size:14px;border:1px solid var(--line)}
.cs-flash-success{background:rgba(94,213,168,.10);color:var(--good);border-color:rgba(94,213,168,.35)}
.cs-flash-error{background:rgba(255,117,117,.08);color:var(--bad);border-color:rgba(255,117,117,.35)}

/* â”€â”€ Mega Menu â€” dark theme + viewport-aware right-anchored panel â”€â”€â”€â”€â”€â”€â”€â”€ */
.has-mega{position:relative}
.mega-toggle{background:none;border:0;font:inherit;color:inherit;cursor:pointer;padding:8px 12px;display:inline-flex;align-items:center;gap:6px;border-radius:8px}
.mega-toggle::after{content:"";display:inline-block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.mega-toggle[aria-expanded="true"]::after{transform:rotate(-135deg) translateY(0)}
.mega-toggle:hover,.mega-toggle:focus-visible,.mega-toggle.active{color:var(--accent-2);outline:none}
.mega-panel{display:none;position:absolute;top:calc(100% + 8px);right:0;left:auto;transform:none;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:22px;width:760px;max-width:calc(100vw - 32px);z-index:60}
.mega-panel[data-open="true"],.mega-panel:not([hidden]){display:block}
.mega-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mega-col h3{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-2);font-weight:700}
.mega-col h3 a{color:inherit;text-decoration:none}
.mega-col h3 a:hover{color:var(--accent-2)}
.mega-col-count{color:var(--muted);font-size:11px;font-weight:500}
.mega-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.mega-col ul a{display:block;padding:6px 8px;border-radius:6px;color:var(--text-2);text-decoration:none;font-size:14px;line-height:1.4}
.mega-col ul a:hover{background:var(--panel-2);color:var(--text)}
.mega-col-cta{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:var(--accent-2);text-decoration:none}
.mega-col-cta:hover{color:var(--text)}

/* â”€â”€ Footer (dark, dynamic) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px;align-items:start}
.footer-grid section h2{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--text);margin:0 0 14px;font-weight:700}
.footer-grid section h2 a{color:inherit;text-decoration:none}
.footer-grid section h2 a:hover{color:var(--accent-2)}
.footer-grid section p{color:var(--text-2);font-size:14px;line-height:1.6;margin:0 0 14px}
.footer-grid section ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.footer-grid section ul a{color:var(--text-2);text-decoration:none;font-size:14px}
.footer-grid section ul a:hover{color:var(--text)}
.footer-cat-count{color:var(--muted);font-size:12px;margin-left:4px;font-weight:500}
.footer-bottom small{color:var(--muted)}
.footer-bottom small a{color:var(--text-2)!important;transition:color .15s}
.footer-bottom small a:hover{color:var(--text)!important}

/* â”€â”€ Filter chips (dark theme) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}
.filter-chip{background:var(--panel-2);border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600;color:var(--text-2);cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:8px;transition:all .15s var(--ease)}
.filter-chip:hover{border-color:var(--accent);color:var(--text);background:var(--panel)}
.filter-chip.active{background:linear-gradient(135deg,var(--accent),var(--accent-2));border-color:transparent;color:#0a1224}
.filter-chip .chip-count{font-size:11px;background:rgba(0,0,0,.18);padding:2px 8px;border-radius:999px;font-weight:700;color:inherit}
.filter-chip:not(.active) .chip-count{background:rgba(255,255,255,.06);color:var(--muted)}

/* â”€â”€ Pagination (dark) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination{margin:24px 0 32px}
.pagination .container{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.pg-link{display:inline-block;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text-2);text-decoration:none;font-weight:600;font-size:14px;transition:all .15s var(--ease)}
.pg-link:hover:not(.pg-disabled){border-color:var(--accent);color:var(--text);background:var(--panel-2)}
.pg-disabled{opacity:.4;cursor:not-allowed}
.pg-info{color:var(--muted);font-size:14px}

/* â”€â”€ Last updated stamp â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.last-updated{margin:8px 0 0;color:var(--muted);font-size:13px}
.last-updated time{font-variant-numeric:tabular-nums}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width:980px){
  .spotlight{grid-template-columns:1fr;padding:28px}
  .usecase-grid,.how-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .mega-panel{width:auto;left:8px;right:8px;max-width:none}
}
@media (max-width:700px){
  .home-hero{padding:44px 0 18px}
  .usecase-grid,.how-grid{grid-template-columns:1fr}
  .cta-band{padding:24px}
  .mega-panel{display:none!important}
  .has-mega .mega-toggle{display:none}
  .footer-grid{grid-template-columns:1fr;gap:22px}
  .cs-notify-card{padding:20px}
}

/* === Professional polish v2026-05-05o === */
/* Smooth anchor scroll under sticky header + reduced-motion respect */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Hero: ambient depth glow + crisper second-line gradient stop */
.home-hero { isolation: isolate; }
.home-hero::before {
  content: ""; position: absolute; inset: -10% -20% 0 -20%; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 60% at 20% 10%, rgba(106,163,255,.18), transparent 60%),
    radial-gradient(35% 60% at 85% 0%, rgba(139,216,255,.12), transparent 65%);
}
.home-hero-title {
  background: linear-gradient(180deg, #ffffff 20%, #cdd5e6 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-hero { overflow: hidden; }
.hero-pill {
  background: linear-gradient(180deg, rgba(106,163,255,.12), rgba(106,163,255,.04));
  border-color: var(--line-2);
}

/* Eyebrow: soft pill across all sections (consistent visibility) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(139,216,255,.08);
  border: 1px solid rgba(139,216,255,.18);
  color: var(--accent-2); font-size: 11px; letter-spacing: .12em;
}

/* Section rhythm: more breathing room on desktop */
@media (min-width: 900px) { .section { padding: 72px 0; } }

/* Card hover: accent-tinted glow, no layout shift */
.tool-card, .usecase, .cat-card, .how-grid li, .feature-card {
  position: relative;
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.tool-card:hover, .usecase:hover, .cat-card:hover, .how-grid li:hover, .feature-card:hover {
  border-color: rgba(106,163,255,.45);
  box-shadow: 0 10px 30px -12px rgba(106,163,255,.28), 0 1px 0 rgba(255,255,255,.04) inset;
}
.how-grid li:hover { transform: translateY(-2px); }

/* Featured tool cards: top accent line + ring */
.tool-card-feat { box-shadow: 0 0 0 1px rgba(106,163,255,.18) inset, var(--shadow); overflow: hidden; }
.tool-card-feat::before {
  content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 0 0 2px 2px;
}

/* "How it works" step connector + numbered chip pop */
@media (min-width: 800px) {
  .how-grid { position: relative; }
  .how-grid::before {
    content: ""; position: absolute; top: 40px; left: 8%; right: 8%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
    z-index: 0;
  }
  .how-grid li { z-index: 1; }
}
.how-num { box-shadow: 0 0 0 4px var(--bg), 0 4px 14px rgba(106,163,255,.30); }

/* Spotlight "real-time" optimisation feel */
@keyframes au-shimmer { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
.spot-bar span { animation: au-shimmer 4s ease-in-out infinite; }
.spot-bar:nth-child(2) span { animation-delay: 0s; }
.spot-bar:nth-child(3) span { animation-delay: .8s; }
.spot-bar:nth-child(4) span { animation-delay: 1.6s; }
.spot-bar:nth-child(5) span { animation-delay: 2.4s; }
.spot-meta strong {
  padding: 2px 8px; border-radius: 999px;
  background: rgba(94,213,168,.14); border: 1px solid rgba(94,213,168,.30);
}

/* Final CTA: deeper accent + inner highlight */
.cta-band {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(106,163,255,.20), rgba(139,216,255,.06)),
    var(--panel);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px -32px rgba(106,163,255,.50);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 100% at 100% 0%, rgba(139,216,255,.18), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }

/* Buttons: stronger primary + visible focus */
.btn-primary {
  box-shadow: 0 6px 20px rgba(106,163,255,.32), 0 1px 0 rgba(255,255,255,.20) inset;
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 26px rgba(106,163,255,.42), 0 1px 0 rgba(255,255,255,.24) inset;
}
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.filter-chip:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Footer: top accent hairline */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; opacity: .35;
  background: linear-gradient(90deg, transparent, var(--line-2) 25%, var(--accent) 50%, var(--line-2) 75%, transparent);
}

/* Tool category meta: a touch more legible */
.tool-cat { color: var(--text-2); opacity: .80; }

/* Repair previously corrupted arrow glyph */
.panel-link::after { content: '\2192' !important; }

/* Mobile refinements */
@media (max-width: 700px) {
  .home-hero::before { inset: -5% -10% 0 -10%; }
  .how-grid::before { display: none; }
}

/* ── Rotate / Flip tools ─────────────────────────────────────────────────── */
.btn-secondary {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--line-2); background: #1c2640; }

/* File info strip shown after file loads */
.cv-file-info {
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 13px; color: var(--text-2);
}
.cv-file-info p { margin: 0; }

/* Controls container (mirrors .cv-settings) */
.rt-controls,
.fl-controls {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 16px;
  display: flex; flex-direction: column; gap: 16px;
}

/* Uppercase group labels */
.rt-label,
.rt-group-label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--text-2); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px;
}

/* Hint / help text */
.rt-help-text {
  margin: 6px 0 0;
  font-size: 11px; color: var(--muted); line-height: 1.5;
}

/* Angle number input */
.rt-angle-input {
  width: 100%;
  padding: 8px 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text);
  font-size: 14px; height: 40px;
  transition: border-color .15s;
  -moz-appearance: textfield;
}
.rt-angle-input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(106,163,255,.18); }
.rt-angle-input::-webkit-inner-spin-button,
.rt-angle-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Preset buttons row */
.rt-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.rt-preset-btn { flex: 1; min-width: 56px; font-size: 13px; height: 40px; }

/* Segmented control container */
.rt-seg-container {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.rt-seg-btn {
  flex: 1;
  height: 40px; min-height: 44px;
  padding: 0 10px;
  border: none; border-right: 1px solid var(--line);
  background: var(--panel-2); color: var(--text-2);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.rt-seg-btn:last-child { border-right: none; }
.rt-seg-btn.is-active { background: var(--accent); color: #0a1224; }
.rt-seg-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.rt-seg-btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: auto; }

/* Format selector */
.rt-select {
  width: 100%;
  padding: 8px 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text);
  font-size: 14px; height: 40px;
  transition: border-color .15s;
}
.rt-select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(106,163,255,.18); }

/* GIF note alert */
.rt-gif-note {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px; color: var(--text-2);
}

/* Process button wrapper */
.rt-action-row { display: flex; flex-direction: column; gap: 6px; }

/* Single-file result card (rotate / flip) */
.cv-result-preview { flex-shrink: 0; }
.cv-result-preview img {
  max-width: 100px; max-height: 100px;
  object-fit: contain; border-radius: 6px;
  background: repeating-conic-gradient(var(--line) 0% 25%, transparent 0% 50%) 0 0 / 16px 16px;
}
.cv-result-meta { flex: 1; min-width: 0; }
.cv-result-meta .cv-result-name { margin: 0 0 4px; }
.cv-result-meta .cv-result-size,
.cv-result-meta .cv-result-dims { margin: 0 0 2px; font-size: 12px; color: var(--muted); }

/* Make cv-result-card flex-row for single-file layout */
.cv-results .cv-result-card {
  display: flex; flex-direction: row; gap: 14px; align-items: flex-start;
}

@media (min-width: 768px) {
  .rt-controls, .fl-controls { padding: 20px 24px; gap: 20px; }
}

/* --- Header Search button -------------------------------------------------- */
.search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-2); color: var(--text-2);
  cursor: pointer; padding: 0;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.search-btn:hover { color: var(--text); border-color: var(--line-2); background: #1c2640; }
.search-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* --- Search Overlay -------------------------------------------------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.52);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 15vh 16px 0;
  animation: srch-overlay-in .15s var(--ease);
}
.search-overlay[hidden] { display: none !important; }
@keyframes srch-overlay-in { from { opacity: 0; } to { opacity: 1; } }

.search-modal {
  width: 100%; max-width: 480px;
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
  animation: srch-modal-in .15s var(--ease);
}
@keyframes srch-modal-in {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.search-input-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.search-icon-sm { flex-shrink: 0; color: var(--muted); }

.search-input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text); font: inherit; font-size: 16px;
  -webkit-appearance: none;
}
.search-input::placeholder { color: var(--muted); }
.search-input::-webkit-search-cancel-button { display: none; }

.search-clear {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 6px; color: var(--text-2);
  cursor: pointer; padding: 0;
  transition: color .12s, background .12s;
}
.search-clear:hover { color: var(--text); background: var(--panel-2); }
.search-clear[hidden] { display: none !important; }

.search-status {
  margin: 0; padding: 10px 16px;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}
.search-status:empty { display: none; }

.search-results {
  list-style: none; margin: 0; padding: 0;
  max-height: 336px; overflow: hidden;
}
.search-result-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background .1s;
}
.search-result-item:first-child { border-top: none; }
.search-result-item:hover,
.search-result-item.is-active { background: var(--panel-2); }
.search-result-name {
  font-weight: 600; font-size: 14px; color: var(--text);
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-cat {
  flex-shrink: 0;
  padding: 2px 8px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}

@media (max-width: 700px) {
  .search-overlay { padding: 0; align-items: flex-start; }
  .search-modal {
    max-width: 100%; width: 100%; border-radius: 0;
    border-left: none; border-right: none; border-top: none;
    min-height: 100dvh; min-height: 100vh;
  }
  .search-input-wrap { position: sticky; top: 0; background: var(--panel); z-index: 1; }
  .search-results { max-height: none; }
}
