/* All About Audio — main stylesheet */
:root {
  --bg: #0d0c0b;
  --bg-2: #13110f;
  --surface: #1a1714;
  --surface-2: #221e1a;
  --line: #2f2a24;
  --line-2: #3d362e;
  --text: #ece6dc;
  --text-2: #c9c0b3;
  --muted: #968c7e;
  --accent: #d9a54e;
  --accent-2: #c26f3c;
  --accent-soft: rgba(217, 165, 78, .12);
  --good: #7fb77e;
  --bad: #d97a6c;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --read: 740px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #f0c173; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: #f6f0e6; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); margin-top: 2.2em; }
h3 { font-size: 1.28rem; margin-top: 1.7em; font-family: var(--font-body); font-weight: 650; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--accent); }
strong { color: #f6f0e6; font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
small { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #111; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 12, 11, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; white-space: nowrap; }
.logo:hover { color: var(--text); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span em { font-style: normal; color: var(--accent); }

.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav li { margin: 0; position: relative; }
.nav a, .nav button {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-2); text-decoration: none; font: 500 .95rem/1 var(--font-body);
  padding: 10px 13px; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button:hover, .nav li:focus-within > button { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .chev { width: 10px; height: 10px; opacity: .7; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 250px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s ease;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav li:hover > button .chev, .nav li:focus-within > button .chev { transform: rotate(180deg); }
.dropdown a { padding: 10px 12px; font-size: .93rem; display: block; line-height: 1.3; }
.dropdown a small { display: block; font-size: .8rem; margin-top: 3px; color: var(--muted); }

.menu-toggle { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 0 0; background: var(--bg); overflow-y: auto;
    padding: 12px 16px 40px; display: none; margin: 0;
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button { padding: 15px 4px; font-size: 1.05rem; width: 100%; }
  .nav button { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; padding-bottom: 4px; pointer-events: none; }
  .nav .chev { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px; min-width: 0; }
  .dropdown a { padding: 11px 4px; font-size: 1rem; }
  .dropdown a small { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Topic tab strip ---------- */
.tabstrip { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.tabstrip ul { position: relative; list-style: none; display: flex; gap: 6px; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.tabstrip ul::-webkit-scrollbar { display: none; }
.tabstrip ul { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 40px; }
.tabstrip li { margin: 0; flex: none; }
.tabstrip a { display: block; padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--text-2); text-decoration: none; border: 1px solid var(--line); white-space: nowrap; }
.tabstrip a:hover { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.tabstrip a[aria-current="page"] { background: var(--accent); color: #17130d; border-color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; transition: .18s; }
.btn-primary { background: var(--accent); color: #17130d; }
.btn-primary:hover { background: #e8b965; color: #17130d; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Home hero ---------- */
.home-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.home-hero .bg { position: absolute; inset: 0; }
.home-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.home-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,12,11,.95) 0%, rgba(13,12,11,.72) 45%, rgba(13,12,11,.1) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.home-hero .wrap { position: relative; padding-top: clamp(70px, 12vw, 140px); padding-bottom: clamp(70px, 11vw, 130px); }
.home-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 13ch; margin-bottom: .35em; }
.home-hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.home-hero p.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-2); max-width: 36em; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 40em; }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.topic-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: .2s; position: relative;
}
.topic-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); background: var(--surface-2); }
.topic-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.topic-card .ico svg { width: 26px; height: 26px; }
.topic-card h3 { margin: 6px 0 0; font-size: 1.12rem; }
.topic-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.topic-card .go { margin-top: auto; padding-top: 6px; font-size: .88rem; font-weight: 600; color: var(--accent); }

.feature-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature-split.rev > :first-child { order: 2; }
@media (max-width: 820px) { .feature-split { grid-template-columns: 1fr; } .feature-split.rev > :first-child { order: 0; } }

.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 26px; }
.chain span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: .9rem; font-weight: 500; }
.chain i { color: var(--accent); font-style: normal; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--bg-2); padding: 24px; }
.stats b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--accent); font-weight: 600; line-height: 1.1; }
.stats span { color: var(--muted); font-size: .9rem; }

/* ---------- Page hero ---------- */
.page-hero { border-bottom: 1px solid var(--line); background: radial-gradient(1200px 400px at 85% -10%, rgba(217,165,78,.10), transparent 60%), var(--bg); }
.page-hero .wrap { padding-top: 36px; padding-bottom: 44px; }
.page-hero.has-img .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.page-hero.has-img figure { margin: 0; }
.page-hero.has-img img { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 900px) { .page-hero.has-img .wrap { grid-template-columns: 1fr; gap: 28px; } }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lede { font-size: 1.17rem; color: var(--text-2); max-width: 38em; }
.hero-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.hero-icon svg { width: 36px; height: 36px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .88rem; margin-top: 18px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }

.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Article layout ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, var(--read)) 260px; gap: 64px; justify-content: space-between; padding-top: 48px; padding-bottom: 80px; }
@media (max-width: 1060px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc-aside { display: none; } }
.prose { min-width: 0; }
.prose > h2:first-child, .prose > .ad-slot:first-child + h2 { margin-top: 0; }
.prose h2 { padding-top: .3em; }
.prose h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 18px; }
.prose p, .prose li { color: var(--text-2); }
.prose .lead-p { font-size: 1.12rem; color: var(--text); }

.toc-aside { position: relative; }
.toc { position: sticky; top: 100px; font-size: .88rem; border-left: 1px solid var(--line); padding-left: 18px; max-height: calc(100vh - 130px); overflow-y: auto; }
.toc b { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .15s; }
.toc a:hover, .toc a.active { color: var(--accent); }

.toc-inline { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 36px; }
@media (max-width: 1060px) { .toc-inline { display: block; } }
.toc-inline summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.toc-inline[open] summary::after { content: "–"; }
.toc-inline ol { margin: 0; padding: 0 20px 18px 40px; }
.toc-inline a { color: var(--text-2); text-decoration: none; }
.toc-inline a:hover { color: var(--accent); }

/* ---------- Content components ---------- */
.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.6em 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout .t { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.callout.warn { border-left-color: var(--accent-2); }
.callout.warn .t { color: var(--accent-2); }

.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 1.4em 0 1.8em; }
.type { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.type h4 { margin: 0 0 6px; color: #f6f0e6; }
.type p { font-size: .93rem; margin: 0; color: var(--muted); line-height: 1.55; }
.type .tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); margin-bottom: 10px; }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.2em 0 1.8em; }
@media (max-width: 600px) { .pc { grid-template-columns: 1fr; } }
.pc > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.pc h4 { margin: 0 0 8px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.pc .pros h4 { color: var(--good); }
.pc .cons h4 { color: var(--bad); }
.pc ul { margin: 0; padding-left: 1.1em; }
.pc li { font-size: .94rem; }
.pc .pros li::marker { color: var(--good); content: "+  "; }
.pc .cons li::marker { color: var(--bad); content: "–  "; }

.table-wrap { overflow-x: auto; margin: 1.4em 0 2em; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); color: #f6f0e6; font-weight: 600; font-size: .84rem; letter-spacing: .02em; white-space: nowrap; }
td { color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }
td strong { color: var(--text); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.4em 0 1.8em; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 56px; margin: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: .95rem; border: 1px solid rgba(217,165,78,.35); }
.steps > li::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 1px; background: var(--line-2); }
.steps > li:last-child::after { display: none; }
.steps h4 { margin: 5px 0 4px; color: #f6f0e6; }
.steps p { margin: 0; }

.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 1.4em 0 2em; }
.kit > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.kit .price { font-family: var(--font-head); font-size: 1.5rem; color: var(--accent); margin: 2px 0 10px; font-weight: 600; }
.kit h4 { margin: 0; }
.kit ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.kit li { margin-bottom: .3em; }

.figure { margin: 1.8em 0; }
.figure svg, .figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

.brand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 1.2em 0 2em; }
.brand { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.brand h4 { margin: 0 0 2px; font-size: 1.02rem; color: #f6f0e6; }
.brand .origin { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.brand p { margin: 8px 0 0; font-size: .9rem; line-height: 1.5; color: var(--text-2); }
.brand .best { display: block; margin-top: 8px; font-size: .8rem; color: var(--accent); }

.event { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event .when { text-align: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 6px; align-self: start; }
.event .when b { display: block; font-family: var(--font-head); color: var(--accent); font-size: 1.25rem; line-height: 1.1; }
.event .when span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.event h4 { margin: 0 0 2px; font-size: 1.1rem; color: #f6f0e6; }
.event .where { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.event p { margin: 0; font-size: .95rem; }
.event .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: .74rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
@media (max-width: 520px) { .event { grid-template-columns: 1fr; gap: 10px; } .event .when { display: inline-flex; gap: 8px; align-items: baseline; justify-self: start; padding: 6px 12px; } }

.gloss dt { font-weight: 650; color: #f6f0e6; margin-top: 1.1em; }
.gloss dd { margin: .25em 0 0; color: var(--text-2); padding-left: 0; }
.letter-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 2em; }
.letter-nav a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--text-2); }
.letter-nav a:hover { border-color: var(--accent); color: var(--accent); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; color: #f6f0e6; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--accent); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 14px; }

/* ---------- Related ---------- */
.related { border-top: 1px solid var(--line); background: var(--bg-2); }
.related .wrap { padding-top: 56px; padding-bottom: 64px; }
.related h2 { margin-top: 0; font-size: 1.5rem; }

/* ---------- Ads ---------- */
.ad-slot { margin: 2.2em 0; min-height: 100px; text-align: center; }
.ad-slot::before { content: "Advertisement"; display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #5f574d; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h5 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo { margin-bottom: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }

/* ---------- Simple pages ---------- */
.narrow { max-width: var(--read); margin: 0 auto; padding-top: 48px; padding-bottom: 80px; }
.notfound { text-align: center; padding: 120px 0; }
.notfound b { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); color: var(--accent); line-height: 1; display: block; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--accent); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .2s; z-index: 40; cursor: pointer; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }
