/* Website Downloader — MDSantos Design inspired studio UI
 * Type: Archivo / JetBrains Mono / Righteous
 * Palette: studio green accent, light + dark themes
 * ------------------------------------------------------------------ */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../assets/fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 300 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../assets/fonts/archivo-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Righteous';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/righteous-latin.woff2') format('woff2');
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: oklch(96.8% 0.006 248);
  --surface: #ffffff;
  --fg: oklch(18% 0.018 248);
  --fg-soft: oklch(32% 0.016 248);
  --muted: oklch(52% 0.016 248);
  --faint: oklch(66% 0.012 248);
  --border: oklch(90% 0.006 250);
  --border-hair: oklch(93.5% 0.004 250);
  --accent: oklch(58% 0.16 145);
  --accent-dark: oklch(50% 0.145 145);
  --accent-soft: oklch(72% 0.10 145);
  --accent-very-soft: oklch(98.4% 0.018 145);
  --danger: oklch(56% 0.17 25);
  --danger-soft: oklch(96% 0.03 25);
  --warn: oklch(62% 0.13 75);
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .10);
  --shadow-sm: 0 14px 30px -22px rgba(0, 0, 0, .22);
  --radius: 6px;
  --radius-md: 18px;
  --radius-lg: 40px;
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --font-brand: 'Righteous', 'Archivo', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(17% 0.018 250);
  --bg-alt: oklch(21% 0.019 250);
  --surface: oklch(22% 0.020 250);
  --fg: oklch(95% 0.008 250);
  --fg-soft: oklch(86% 0.012 250);
  --muted: oklch(70% 0.015 250);
  --faint: oklch(56% 0.015 250);
  --border: oklch(31% 0.015 250);
  --border-hair: oklch(27% 0.014 250);
  --accent: oklch(70% 0.15 145);
  --accent-dark: oklch(62% 0.14 145);
  --accent-soft: oklch(52% 0.11 145);
  --accent-very-soft: oklch(26% 0.05 145);
  --danger: oklch(68% 0.17 25);
  --danger-soft: oklch(26% 0.05 25);
  --warn: oklch(75% 0.13 75);
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .65);
  --shadow-sm: 0 14px 30px -22px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg-soft);
  font: 400 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ── App shell — always capped at 1600px even with long content ── */
.app {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 26px 40px 0;
}

/* ── Brand bar ── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--fg);
  transition: color .25s ease;
}
.brand:hover { color: var(--accent); }
.brand-text {
  font-family: var(--font-brand);
  font-size: 24px; font-weight: 400; letter-spacing: .01em; line-height: 1;
}
.brand-text i { font-style: italic; color: var(--accent); transition: color .25s ease; }
.brand:hover .brand-text i { color: var(--fg); }
.topbar-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.topbar-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.topbar-link:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.topbar-controls { display: flex; align-items: center; gap: 10px; }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .6fr);
  align-items: end;
  gap: clamp(32px, 5vw, 88px);
  padding: clamp(38px, 5.2vw, 68px) 0 clamp(32px, 4vw, 50px);
}
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--accent);
}
.label::before { content: "{"; opacity: .85; }
.label::after { content: "}"; opacity: .85; }
.label--plain::before, .label--plain::after { content: none; }
.label .spark { width: 15px; height: 15px; fill: currentColor; flex: none; }
.hero-copy .label { margin-bottom: 18px; }
.display {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800; line-height: .95; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--fg);
}
.display em { font-style: italic; font-weight: 600; color: var(--accent); white-space: nowrap; }
.dot { color: var(--accent); }
.hero-copy h1 { margin: 0; max-width: 18ch; }
.hero-lead {
  margin: 20px 0 0; max-width: 54ch;
  font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--muted);
}
.hero-aside {
  display: flex; flex-direction: column; gap: 12px;
  padding-left: clamp(22px, 3vw, 40px);
  border-left: 1px solid var(--border);
}
.hero-aside .label { font-size: 12.5px; }
.hero-aside p { margin: 0; font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--muted); }
.formats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.formats span {
  padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; color: var(--fg-soft);
}
.compat-note {
  display: flex; flex-direction: column; gap: 7px;
  margin-top: 4px; padding: 12px 14px;
  background: var(--accent-very-soft);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-md);
}
.compat-note > span:last-child { font-size: 11.5px; font-weight: 300; line-height: 1.5; color: var(--muted); }
.compat-badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .04em;
}
.compat-badge svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── Two-column layout ── */
.layout {
  display: grid;
  grid-template-columns: 348px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* ── Sticky settings panel ── */
.panel {
  position: sticky; top: 20px;
  background: var(--surface);
  border: 1px solid var(--border-hair);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-body {
  padding: 26px;
  display: flex; flex-direction: column; gap: 26px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  transition: opacity .2s;
}
.panel-actions {
  padding: 20px 26px 24px;
  border-top: 1px solid var(--border-hair);
  background: var(--bg-alt);
  display: flex; flex-direction: column; gap: 10px;
}

.sec { display: flex; flex-direction: column; gap: 12px; }
.sec h2, .sec-title {
  margin: 0 0 2px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent);
}
.sec h2::before { content: "{ "; opacity: .85; font-weight: 500; }
.sec h2::after { content: " }"; opacity: .85; font-weight: 500; }

/* ── Fields ── */
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--muted); }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.field .value {
  color: var(--fg); font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums;
}
input[type="number"], input[type="text"], input[type="url"], select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: var(--radius);
  padding: 10px 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input[type="number"]:focus, input[type="text"]:focus, input[type="url"]:focus, select:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-very-soft);
}
input::placeholder { color: var(--faint); }
input:disabled, select:disabled { opacity: .55; cursor: not-allowed; background: var(--bg-alt); }
input[type="number"] { font-variant-numeric: tabular-nums; }
input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; cursor: pointer; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.settings-checks { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--fg-soft); cursor: pointer; user-select: none; }

.help { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.55; }

/* ── Buttons ── */
.btn {
  appearance: none; border: 1px solid transparent; border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease, opacity .2s ease;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -16px var(--accent); }
.btn.primary::after { content: "→"; font-size: 15px; line-height: 1; }
.btn.primary:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-2px); }
.btn.ghost { background: var(--surface); border-color: var(--border); color: var(--fg); }
.btn.ghost:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn.success { background: var(--fg); color: var(--bg); }
.btn.success::after { content: "↓"; font-size: 15px; line-height: 1; }
.btn.success:hover:not(:disabled) { background: var(--accent); color: #fff; transform: translateY(-2px); }
.topbar-btn { padding: 8px 14px; font-size: 12px; }
.topbar-btn svg { width: 16px; height: 16px; }
.btn-mini {
  padding: 5px 10px; font-size: 11px; font-weight: 500;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--muted); cursor: pointer;
}
.btn-mini:hover { color: var(--accent); border-color: var(--accent); }

.mode-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em;
  white-space: nowrap; border: 1px solid var(--border); color: var(--muted);
}
.mode-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.mode-chip.bridged { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-very-soft); }
.mode-chip.bridged::before { background: var(--accent); }
.mode-chip.plain::before { background: var(--warn); }
.build-badge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em;
  color: var(--faint); white-space: nowrap;
}

/* ── Progress ── */
.progress {
  height: 6px; background: var(--bg-alt);
  border: 1px solid var(--border-hair); border-radius: 999px; overflow: hidden;
}
#progressBar { height: 100%; width: 0%; background: var(--accent); border-radius: 999px; transition: width .2s ease; }
.progress-meta {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 7px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .02em; color: var(--muted);
}
#progressText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress-pct { font-variant-numeric: tabular-nums; flex: none; }
.hint { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.hint.is-error { color: var(--danger); }

/* ── Content surfaces ── */
.content { min-width: 0; }
.drop {
  display: flex; flex-direction: column; gap: 24px;
  padding: 38px 38px 34px; text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 260px at 84% 8%, var(--accent-very-soft), transparent 70%),
    linear-gradient(180deg, var(--accent-very-soft), transparent 78%);
  box-shadow: var(--shadow-sm);
}
.drop-main { display: flex; align-items: center; gap: 20px; }
.drop-icon {
  width: 64px; height: 64px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--accent);
  box-shadow: 0 14px 26px -14px var(--accent);
}
.drop-text { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.drop-text strong {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.6vw, 34px); font-weight: 800; line-height: .95;
  letter-spacing: -.015em; text-transform: uppercase; color: var(--fg);
}
.drop-text span { font-size: 12.5px; color: var(--muted); }

.surface {
  margin-top: 24px; padding: 26px;
  background: var(--surface); border: 1px solid var(--border-hair);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.surface-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

.banner {
  margin-bottom: 14px; padding: 12px 16px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-left: 4px solid var(--warn); border-radius: var(--radius);
  color: var(--muted); font-size: 13px;
}
.banner-important { border-left-color: var(--danger); color: var(--fg); }
.status-msg { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius); font-size: 13px; }
.status-msg.ok { background: var(--accent-very-soft); color: var(--accent); border: 1px solid var(--accent-soft); }
.status-msg.warn { background: var(--danger-soft); color: var(--warn); border: 1px solid var(--warn); }
.status-msg.error { background: var(--danger-soft); color: var(--danger); border: 1px solid var(--danger); }

.currently { margin: 14px 0 4px; }
.cur-label { margin: 2px 0; font-size: 12.5px; color: var(--muted); }
.cur-value {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--fg);
  word-break: break-all;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin-top: 14px;
}
.stat { background: var(--bg-alt); border: 1px solid var(--border-hair); border-radius: var(--radius-md); padding: 10px 12px; }
.stat-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: var(--faint); }
.stat-value {
  display: block; margin-top: 2px; font-size: 1.02rem; font-weight: 650;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.complete-head { display: flex; align-items: center; gap: 14px; }
.complete-badge {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--accent);
  background: var(--accent-very-soft); border: 1px solid var(--accent-soft);
}
.complete-badge svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result-title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--fg); line-height: 1.35; }
.micro-note { color: var(--faint); font-size: 11.5px; margin: 8px 0 0; }

.tech-info { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.tech-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tech-item { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.tech-name { font-weight: 650; }
.tech-evidence { color: var(--muted); font-size: 11.5px; flex: 1; min-width: 200px; }
.confidence-badge {
  flex: none; font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px; padding: 2px 8px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--bg-alt); color: var(--faint);
}
.confidence-badge.conf-high { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-very-soft); }
.confidence-badge.conf-medium { color: var(--warn); border-color: var(--warn); background: var(--danger-soft); }
.tech-run { margin-top: 16px; }
.tech-code {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; margin: 10px 0 0; overflow-x: auto; white-space: pre; color: var(--fg);
}

/* ── Log & history ── */
.panel { border: 1px solid var(--border-hair); border-radius: 12px; background: var(--surface); overflow: hidden; }
.panel-summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .6px; cursor: pointer; user-select: none;
}
.panel-summary::-webkit-details-marker { display: none; }
.panel-summary::after { content: "▾"; color: var(--faint); transition: transform .15s; }
details[open] > summary::after { transform: rotate(180deg); }
.static-panel { cursor: default; }
.static-panel::after { content: none; }
.panel-summary .panel-actions { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; margin-left: auto; flex: none; white-space: nowrap; }

.log-list, .history-list {
  list-style: none; margin: 0; padding: 4px 0; max-height: 320px; overflow-y: auto;
  border-top: 1px solid var(--border); font-size: 11.5px;
}
.log-entry { display: flex; gap: 10px; padding: 4px 14px; align-items: baseline; font-family: var(--font-mono); white-space: nowrap; }
.log-entry:hover { background: var(--bg-alt); }
.log-glyph { width: 16px; flex: none; text-align: center; font-weight: 700; }
.log-entry.good .log-glyph { color: var(--accent); }
.log-entry.warn .log-glyph { color: var(--warn); }
.log-entry.bad .log-glyph { color: var(--danger); }
.log-entry.skip .log-glyph { color: var(--faint); }
.log-entry.note .log-glyph { color: var(--faint); }
.log-msg { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.log-detail { color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
.history-entry { padding: 8px 14px; border-bottom: 1px solid var(--border); }
.history-entry:last-child { border-bottom: none; }
.history-host { display: block; font-size: 12.5px; font-weight: 600; word-break: break-all; }
.history-meta { display: block; font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.history-empty { padding: 12px 14px; color: var(--faint); font-size: 11.5px; }

.footnote {
  margin: 30px 2px 0; padding-top: 18px; border-top: 1px solid var(--border-hair);
  font-size: 11.5px; color: var(--muted); line-height: 1.65;
}

/* ── Footer ── */
.site-footer { margin-top: 88px; background: var(--bg-alt); border-top: 1px solid var(--border); padding: 66px 0 84px; }
.foot-inner { max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.foot-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 42px; border-bottom: 1px solid var(--border);
}
.foot-copy { display: flex; flex-direction: column; gap: 12px; max-width: 52ch; }
.foot-copy p { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--muted); }
.foot-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--fg); text-decoration: none;
  transition: color .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.foot-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .3s var(--ease); }
.foot-cta:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.foot-cta:hover svg { transform: translate(2px, -2px); }
.foot-mega { padding: 42px 0 16px; overflow: hidden; }
.foot-word {
  display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 26px); max-width: 100%;
  font-family: var(--font-brand); font-weight: 400;
  font-size: clamp(26px, 7.4vw, 104px); line-height: .95; letter-spacing: -.01em;
  color: var(--fg); text-decoration: none; white-space: nowrap;
  transition: color .3s ease;
}
.foot-word em { font-style: italic; color: var(--accent); transition: color .3s ease; }
.foot-word svg { width: .32em; height: .32em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.4; transition: transform .4s var(--ease); }
.foot-word:hover { color: var(--accent); }
.foot-word:hover em { color: var(--fg); }
.foot-word:hover svg { transform: translate(.08em, -.08em); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
}
.foot-bottom .right { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.foot-bottom a { color: var(--fg-soft); text-decoration: none; transition: color .2s ease; }
.foot-bottom a:hover { color: var(--accent); }
.foot-heart { width: 12px; height: 12px; fill: var(--accent); flex: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }

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