/* PixTodo — design system v2 */
:root {
  --bg: #f7f8fb;
  --bg-glow-1: rgb(99 102 241 / 14%);
  --bg-glow-2: rgb(168 85 247 / 10%);
  --surface: #ffffff;
  --surface-2: #f1f3f8;
  --text: #10172a;
  --text-muted: #5a6478;
  --accent: #6366f1;
  --accent-2: #a855f7;
  --accent-strong: #4f46e5;
  --accent-soft: #eef0ff;
  --grad: linear-gradient(135deg, #6366f1, #a855f7);
  --ok: #16a34a;
  --danger: #dc2626;
  --border: #e3e7ef;
  --border-strong: #cdd4e0;
  --ring: rgb(99 102 241 / 35%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(16 23 42 / 5%), 0 2px 8px rgb(16 23 42 / 4%);
  --shadow-md: 0 2px 4px rgb(16 23 42 / 5%), 0 10px 28px rgb(16 23 42 / 8%);
  --shadow-accent: 0 6px 20px rgb(99 102 241 / 30%);
  --header-bg: rgb(255 255 255 / 78%);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --bg-glow-1: rgb(99 102 241 / 16%);
    --bg-glow-2: rgb(168 85 247 / 12%);
    --surface: #131b2e;
    --surface-2: #1c2740;
    --text: #e8ecf5;
    --text-muted: #93a0b8;
    --accent: #818cf8;
    --accent-2: #c084fc;
    --accent-strong: #818cf8;
    --accent-soft: #232b52;
    --grad: linear-gradient(135deg, #6d75f5, #a855f7);
    --border: #263252;
    --border-strong: #35426a;
    --ring: rgb(129 140 248 / 45%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 35%);
    --shadow-md: 0 2px 6px rgb(0 0 0 / 35%), 0 12px 32px rgb(0 0 0 / 45%);
    --shadow-accent: 0 6px 24px rgb(99 102 241 / 35%);
    --header-bg: rgb(11 17 32 / 75%);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(52rem 30rem at 12% -6rem, var(--bg-glow-1), transparent 60%),
    radial-gradient(48rem 28rem at 88% -8rem, var(--bg-glow-2), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, canvas { max-width: 100%; }
svg { display: block; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 1.4rem; }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -.02em;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; gap: .25rem; flex: 1; }
.main-nav a {
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 550;
  padding: .45rem .8rem;
  border-radius: 99px;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); }
.nav-badge {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: .4rem .9rem;
  border-radius: 99px;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.nav-badge:hover { border-color: var(--accent); color: var(--accent-strong); text-decoration: none; }
.lang-switch {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: .32rem .6rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent-strong); text-decoration: none; }

/* --------------------------------------------------------------- hero */
.hero { text-align: center; padding: 4.5rem 0 2.5rem; }
.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0 0 1.1rem;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.13rem;
  max-width: 620px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid transparent;
  font-size: .82rem;
  font-weight: 650;
  padding: .38rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.4rem;
}
.badge svg { width: 15px; height: 15px; }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-stats {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 2.4rem 0 0;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 550;
}
.hero-stats li { display: flex; align-items: center; gap: .45rem; }
.hero-stats svg { width: 16px; height: 16px; color: var(--accent); }

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -.02em;
  margin: 3rem 0 1.2rem;
  scroll-margin-top: 90px;
}

/* --------------------------------------------------------- tool cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.home-grid { padding-bottom: .5rem; }
.tool-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  display: block;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.tool-card .icon,
.tool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}
.tool-card .icon svg, .tool-badge svg { width: 22px; height: 22px; }
.tool-card h2, .tool-card h3 { margin: .85rem 0 .3rem; font-size: 1.06rem; letter-spacing: -.01em; }
.tool-card p { margin: 0; color: var(--text-muted); font-size: .89rem; line-height: 1.5; }

/* ------------------------------------------------------ features (home) */
.features { margin-top: 1rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.feature h3 { margin: 1rem 0 .4rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.home-faq { margin-bottom: 3rem; }

/* --------------------------------------------------------- tool layout */
.tool-main { padding: 1.6rem 0 3.5rem; }
.breadcrumb {
  display: flex;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-strong); }
.tool-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.tool-head h1 {
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  letter-spacing: -.025em;
  margin: 0 0 .35rem;
  line-height: 1.15;
}
.tool-sub { color: var(--text-muted); margin: 0; max-width: 640px; }
.tool-badge { width: 52px; height: 52px; border-radius: 14px; margin-top: .2rem; }
.tool-badge svg { width: 26px; height: 26px; }

/* ------------------------------------------------------------ dropzone */
.dropzone {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2.8rem 1.5rem;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.dropzone.dragover { transform: scale(1.008); box-shadow: var(--shadow-accent); }
.dz-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
  margin-bottom: .9rem;
  transition: transform .2s;
}
.dropzone:hover .dz-icon, .dropzone.dragover .dz-icon { transform: translateY(-3px); }
.dz-icon svg { width: 28px; height: 28px; }
.dz-title { margin: 0; font-size: 1.08rem; }
.dz-title strong { color: var(--accent-strong); }
.dz-hint { margin: .4rem 0 0; color: var(--text-muted); font-size: .86rem; }
.dropzone input[type="file"] { display: none; }

.privacy-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  font-size: .85rem;
  font-weight: 550;
  color: var(--text-muted);
  padding: .7rem .9rem;
  margin: .9rem 0 0;
}
.privacy-strip svg { width: 15px; height: 15px; color: var(--ok); flex-shrink: 0; }

/* ------------------------------------------------------------ controls */
.controls {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.35rem;
  margin: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: end;
}
.control { display: flex; flex-direction: column; gap: .4rem; min-width: 160px; flex: 1; }
.control label { font-size: .8rem; font-weight: 650; color: var(--text-muted); letter-spacing: .01em; }
.control output { color: var(--accent-strong); font-weight: 700; }

select, input[type="number"], input[type="text"], textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .58rem .75rem;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
select:hover, input:hover { border-color: var(--border-strong); }
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}
input[type="range"] { width: 100%; accent-color: var(--accent); height: 1.4rem; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: inherit;
  font-weight: 650;
  font-size: .93rem;
  padding: .62rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn.secondary:hover { border-color: var(--accent); color: var(--accent-strong); filter: none; }
.btn.small { padding: .38rem .9rem; font-size: .84rem; }
.btn.lg { padding: .8rem 1.7rem; font-size: 1rem; border-radius: 12px; }

/* ------------------------------------------------------------- results */
.results { display: grid; gap: .8rem; margin-top: 1.3rem; }
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: .95rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: rise .25s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.result-card .thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background:
    conic-gradient(var(--surface-2) 90deg, transparent 90deg 180deg, var(--surface-2) 180deg 270deg, transparent 270deg)
    0 0 / 16px 16px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.result-card .meta { flex: 1; min-width: 180px; }
.result-card .name { font-weight: 650; font-size: .92rem; word-break: break-all; }
.result-card .sizes { font-size: .85rem; color: var(--text-muted); }
.saving { color: var(--ok); font-weight: 750; }
.saving.negative { color: var(--danger); }
.results-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.1rem; }
.status-msg { margin-top: 1rem; color: var(--text-muted); font-size: .9rem; }
.status-msg.error { color: var(--danger); font-weight: 650; }

/* ------------------------------------------------------ stage / preview */
.stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
  text-align: center;
  margin-top: 1.3rem;
}
.stage canvas {
  max-height: 440px;
  border-radius: var(--radius-sm);
  background:
    conic-gradient(var(--surface-2) 90deg, transparent 90deg 180deg, var(--surface-2) 180deg 270deg, transparent 270deg)
    0 0 / 20px 20px;
}
.stage .preview-img { max-height: 280px; border-radius: var(--radius-sm); }

/* ------------------------------------------------------------- palette */
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .8rem; margin-top: 1.3rem; }
.swatch {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  color: var(--text);
  transition: transform .15s, box-shadow .15s;
}
.swatch:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.swatch .color { height: 76px; }
.swatch .info { padding: .55rem .75rem; font-size: .82rem; }
.swatch .hex { font-weight: 700; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.swatch .rgb { color: var(--text-muted); font-size: .75rem; }

/* ------------------------------------------------------------- favicon */
.favicon-grid { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.3rem; align-items: end; }
.favicon-item { text-align: center; }
.favicon-item img { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.favicon-item span { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .35rem; }
.snippet-box { display: block; }
.snippet-label { font-size: .8rem; font-weight: 650; color: var(--text-muted); }
.snippet-area { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .82rem; margin-top: .5rem; resize: vertical; }

/* ------------------------------------------- herramientas interactivas */
.stage.interactive canvas { touch-action: none; cursor: crosshair; max-height: none; }
.dims-badge {
  display: inline-block;
  margin-top: .7rem;
  font-size: .82rem;
  font-weight: 650;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: .25rem .8rem;
  border-radius: 99px;
  font-variant-numeric: tabular-nums;
}

input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 40px;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 6px; }

.file-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.file-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: .55rem .9rem;
  font-size: .88rem;
}
.file-list .file-name { flex: 1; font-weight: 600; word-break: break-all; }
.file-list .file-size { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }
.file-list .file-remove {
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  border: none;
  background: var(--surface-2);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 99px;
  cursor: pointer;
  flex-shrink: 0;
}
.file-list .file-remove:hover { background: var(--danger); color: #fff; }

/* ---------------------------------------------------------------- chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 1.6rem 0 0;
  font-size: .84rem;
}
.chip-row.center { justify-content: center; margin-bottom: 1rem; }
.chip-row > span { color: var(--text-muted); font-weight: 600; margin-right: .2rem; }
.chip {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  padding: .34rem .85rem;
  border-radius: 99px;
  font-weight: 550;
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); text-decoration: none; }

/* ------------------------------------------------------ artículo / SEO */
.tool-article { max-width: 760px; margin: 3.2rem auto 0; }
.tool-article h2 { font-size: 1.35rem; letter-spacing: -.015em; margin: 2.2rem 0 .7rem; }
.tool-article p, .tool-article li { color: var(--text-muted); font-size: .96rem; }
.tool-article strong { color: var(--text); }
.tool-article code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .08em .35em;
  font-size: .85em;
}

.steps { margin-top: 2rem; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.steps li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: .95rem 1.1rem;
}
.steps li p { margin: .25rem 0 0; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 99px;
  background: var(--grad);
  color: #fff;
  font-weight: 750;
  font-size: .9rem;
  flex-shrink: 0;
}

.table-wrap { overflow-x: auto; }
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .92rem;
  box-shadow: var(--shadow-sm);
}
.table-wrap th, .table-wrap td { padding: .65rem .95rem; text-align: left; border-bottom: 1px solid var(--border); }
.table-wrap th { background: var(--surface-2); font-size: .8rem; letter-spacing: .02em; color: var(--text-muted); }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap td:first-child { font-weight: 600; color: var(--text); }

details.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: .85rem 1.15rem;
  margin: .6rem 0;
}
details.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq .chev { width: 17px; height: 17px; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
details[open].faq .chev { transform: rotate(180deg); }
details.faq p { margin: .65rem 0 0; }

.related { margin-top: 3rem; }
.related h2 { font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: 1.1rem; }

/* ---------------------------------------------------------------- guías */
.guide-article { margin-top: 1rem; }
.guide-article h1 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); letter-spacing: -.025em; line-height: 1.18; margin: 0 0 .4rem; }
.guide-meta { color: var(--text-muted); font-size: .85rem; font-weight: 550; margin: 0 0 1.6rem; }
.read-time { font-size: .78rem !important; color: var(--accent-strong) !important; font-weight: 650; margin-top: .6rem !important; }

/* --------------------------------------------------------------- legal */
.legal-main { padding: 2.6rem 0 3rem; max-width: 740px; }
.legal-main h1 { font-size: 1.9rem; letter-spacing: -.02em; }
.legal-main h2 { font-size: 1.2rem; margin-top: 1.8rem; }
.legal-main p, .legal-main li { color: var(--text-muted); }

/* -------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 3.5rem;
  padding: 2.6rem 0 2rem;
  font-size: .87rem;
  color: var(--text-muted);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.2rem;
}
.brand-col p { margin: .9rem 0 0; max-width: 260px; line-height: 1.55; }
.site-footer h3 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 .7rem;
  color: var(--text);
}
.site-footer h3 + ul + h3 { margin-top: 1.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent-strong); }
.site-footer .copyright {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
}

.hidden { display: none !important; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav, .nav-badge { display: none; }
  .hero { padding-top: 3rem; }
  .tool-head { flex-direction: column; gap: .8rem; }
  .controls { gap: 1rem; padding: 1rem; }
  .control { min-width: 130px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
