/* INNOZONA Tools — design system
   Brand: violeta #6437D9 · tinta #111116 · papel #F5F3FA · lila #BBA5F4 */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --violet: #6437D9;
  --violet-strong: #4F25B7;
  --violet-soft: #EDE7FC;
  --lilac: #BBA5F4;
  --ink: #111116;
  --ink-2: #3D3949;
  --muted: #6B6578;
  --paper: #F5F3FA;
  --surface: #FFFFFF;
  --line: #E3DDEF;
  --line-strong: #CFC6E2;
  --ok: #17803D;
  --ok-soft: #E6F5EB;
  --warn: #9A5B00;
  --warn-soft: #FFF4DE;
  --err: #B42318;
  --err-soft: #FDECEA;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(17, 17, 22, .04), 0 8px 24px -12px rgba(45, 24, 95, .18);
  --shadow-lg: 0 2px 4px rgba(17, 17, 22, .04), 0 24px 48px -20px rgba(45, 24, 95, .28);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--lilac); color: var(--ink); }
[hidden] { display: none !important; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245, 243, 250, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 22px; width: auto; }
.brand-tag { font: 600 13px/1 var(--font-body); letter-spacing: .02em; color: var(--violet); background: var(--violet-soft); padding: 5px 8px; border-radius: 999px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(100, 55, 217, .08); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; border-radius: var(--r-sm); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: var(--r-sm); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 6px 16px -8px rgba(100, 55, 217, .7); }
.btn-primary:hover { background: var(--violet-strong); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2733; color: #fff; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-icon { width: 36px; min-height: 36px; padding: 0; border-radius: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--violet); margin-bottom: 18px; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.hero h1 { font-size: clamp(40px, 7.4vw, 84px); font-weight: 800; letter-spacing: -.045em; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--violet); }
.hero-lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 56ch; margin-top: 20px; }
.finder { margin-top: 32px; max-width: 640px; position: relative; }
.finder input { width: 100%; height: 60px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--surface); padding: 0 20px 0 54px; font-size: 17px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.finder input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft), var(--shadow); }
.finder .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.finder kbd { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 600 12px var(--font-mono); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 3px 7px; background: var(--paper); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--ink-2); font-size: 14.5px; font-weight: 550; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: var(--ok); width: 18px; height: 18px; }

/* Spotlight: the image optimizer as the primary call to action */
.spotlight { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; margin-top: 8px; box-shadow: var(--shadow-lg); }
.spotlight-copy { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.spotlight-copy .kicker { color: var(--lilac); font-weight: 650; font-size: 14px; letter-spacing: .02em; }
.spotlight-copy h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.spotlight-copy p { color: #CFC9DD; max-width: 46ch; }
.spotlight-copy .btn-primary { align-self: flex-start; margin-top: 6px; }
.spotlight-visual { background: radial-gradient(120% 90% at 80% 10%, #3A1F8F 0%, #1A1430 55%, #111116 100%); padding: 28px; display: grid; place-items: center; }
.format-flow { display: grid; gap: 10px; width: 100%; max-width: 320px; }
.format-row { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(187, 165, 244, .22); border-radius: 12px; padding: 12px 14px; font: 600 14px var(--font-mono); }
.format-row .from { color: #E9E4F7; }
.format-row .icon { color: var(--lilac); width: 18px; height: 18px; }
.format-row .to { color: var(--lilac); }
.format-row .save { margin-left: auto; color: #8EE3A8; font-family: var(--font-body); font-weight: 650; }
@media (max-width: 760px) { .spotlight { grid-template-columns: 1fr; } .spotlight-visual { padding: 20px; } }

/* ---------- Sections & tool grid ---------- */
.section { padding: clamp(36px, 6vw, 72px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); display: flex; align-items: center; gap: 12px; }
.section-head h2 .badge-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.section-head p { color: var(--muted); max-width: 56ch; }
.section-head a { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; min-height: 148px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tool-card:hover { border-color: var(--lilac); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tool-card .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--paper); color: var(--violet); border: 1px solid var(--line); transition: background .15s, color .15s; }
.tool-card:hover .ico { background: var(--violet); color: #fff; border-color: var(--violet); }
.tool-card h3 { font-size: 18px; letter-spacing: -.01em; }
.tool-card p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tool-card .new { position: absolute; top: 16px; right: 16px; font: 700 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); background: var(--violet-soft); padding: 5px 8px; border-radius: 999px; }
.no-results { padding: 28px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.why-item { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.why-item .icon { color: var(--violet); width: 26px; height: 26px; margin-bottom: 12px; }
.why-item h3 { font-size: 18px; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 15px; }

/* ---------- Tool page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--violet); }
.crumbs .sep { opacity: .5; }
.tool-head { padding: 18px 0 24px; display: grid; gap: 12px; }
.tool-head h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -.035em; }
.tool-head .lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-2); max-width: 68ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.chip .icon { width: 16px; height: 16px; color: var(--violet); }
.chip-ok .icon { color: var(--ok); }

.workspace { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(16px, 3vw, 28px); }
.workspace + .workspace { margin-top: 16px; }

/* Layout helpers for tool UIs */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.split > aside { position: sticky; top: 88px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > aside { position: static; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row-end { justify-content: flex-end; }
.spacer { flex: 1; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.panel-title { font: 700 15px var(--font-body); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.divider { height: 1px; background: var(--line); margin: 6px 0; border: 0; }

/* Forms */
.field { display: grid; gap: 6px; }
.field > label, .label { font-weight: 650; font-size: 14px; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.label output, .field > label output { color: var(--violet); font-weight: 700; }
.hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 44px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); padding: 9px 12px; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6578' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 36px; }
.textarea { min-height: 220px; resize: vertical; font: 14px/1.55 var(--font-mono); }
.textarea.prose-input { font: 16px/1.6 var(--font-body); }
input[type="range"] { width: 100%; accent-color: var(--violet); height: 28px; }
.check, .field > label.check { display: flex; align-items: flex-start; justify-content: flex-start; gap: 10px; font-size: 15px; font-weight: 400; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); flex: none; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--paper); border: 1px solid var(--line); padding: 4px; border-radius: 12px; }
.seg label { position: relative; cursor: pointer; }
.seg button, .seg label > span { display: block; border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; font-weight: 650; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg button[aria-pressed="true"], .seg input:checked + span { background: var(--surface); color: var(--violet); box-shadow: 0 1px 3px rgba(17, 17, 22, .12); }
.seg input:focus-visible + span { outline: 3px solid var(--lilac); border-radius: 6px; }

/* Dropzone */
.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: 10px; padding: clamp(28px, 6vw, 56px) 20px; border: 2px dashed var(--line-strong); border-radius: var(--r); background: linear-gradient(180deg, #FBFAFE, var(--paper)); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--violet); background: var(--violet-soft); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone .dz-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--violet); color: #fff; box-shadow: 0 10px 24px -10px rgba(100, 55, 217, .8); }
.dropzone .dz-ico .icon { width: 28px; height: 28px; }
.dropzone strong { font: 700 clamp(18px, 2.2vw, 22px) var(--font-display); letter-spacing: -.01em; }
.dropzone .hint { max-width: 48ch; }
.dropzone.is-compact { padding: 18px; grid-template-columns: auto 1fr; text-align: left; justify-items: start; }
.dropzone.is-compact .dz-ico { width: 44px; height: 44px; border-radius: 12px; }

/* Results list (files) */
.results-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 0 10px; }
.results-bar .summary { font-weight: 650; }
.results-bar .summary .save { color: var(--ok); }
.files { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.file { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.file .thumb { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; background: var(--paper) repeating-conic-gradient(#E8E3F3 0 25%, transparent 0 50%) 0 0 / 12px 12px; border: 1px solid var(--line); }
.file .name { font-weight: 650; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 2px; }
.file .meta .save { color: var(--ok); font-weight: 700; }
.file .meta .grow { color: var(--warn); font-weight: 700; }
.file .meta .err { color: var(--err); font-weight: 650; }
.file .actions { display: flex; gap: 6px; align-items: center; }
.file .bar { height: 4px; background: var(--paper); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.file .bar span { display: block; height: 100%; width: 35%; background: var(--violet); border-radius: 4px; animation: indet 1.1s ease-in-out infinite; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (max-width: 560px) { .file { grid-template-columns: 48px minmax(0, 1fr); } .file .thumb { width: 48px; height: 48px; } .file .actions { grid-column: 1 / -1; justify-content: flex-end; } }

/* Output blocks */
.output { position: relative; }
.output pre, .code { margin: 0; padding: 14px; border-radius: 10px; background: #15121F; color: #EDE9F7; font: 13.5px/1.6 var(--font-mono); overflow: auto; max-height: 460px; white-space: pre-wrap; word-break: break-word; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.stat b { display: block; font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); }

/* Notices & toast */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); font-size: 14.5px; background: var(--violet-soft); color: var(--ink-2); }
.notice .icon { color: var(--violet); margin-top: 2px; }
.notice-ok { background: var(--ok-soft); } .notice-ok .icon { color: var(--ok); }
.notice-warn { background: var(--warn-soft); } .notice-warn .icon { color: var(--warn); }
.notice-err { background: var(--err-soft); } .notice-err .icon { color: var(--err); }
.toast-host { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 550; font-size: 15px; animation: toast-in .2s ease-out; }
.toast.is-err { background: var(--err); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Content (SEO) ---------- */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: clamp(36px, 5vw, 60px) 0; align-items: start; }
@media (max-width: 960px) { .content { grid-template-columns: 1fr; } }
.prose h2 { font-size: clamp(24px, 2.8vw, 30px); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--violet); color: #fff; font: 800 16px var(--font-display); }
.steps li strong { display: block; color: var(--ink); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.feature h3 .icon { color: var(--violet); }
.feature p { font-size: 15px; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 650 17px/1.35 var(--font-body); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: sticky; top: 88px; }
.side-card h2 { font-size: 17px; margin-bottom: 10px; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-list a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.side-list a:hover { background: var(--paper); color: var(--violet); }
.side-list .icon { color: var(--violet); }
.updated { font-size: 13.5px; color: var(--muted); margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; background: var(--ink); color: #CFC9DD; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 24px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; }
.site-footer h2 { color: #fff; font: 700 14px var(--font-body); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #CFC9DD; text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: var(--lilac); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #9C95AE; }
.footer-bottom a { font-size: 13px; color: #9C95AE; }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; }
.consent p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound { padding: 80px 0; display: grid; gap: 16px; justify-items: start; }
.notfound h1 { font-size: clamp(36px, 6vw, 64px); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
