/* SDZcoin – design 2026 */
:root {
  --bg: #f6f6f2;
  --surface: #ffffff;
  --surface-2: #f0f0ea;
  --ink: #0d1411;
  --muted: #5a6762;
  --line: rgba(13, 20, 17, .09);
  --brand: #0c7a57;
  --brand-ink: #075c41;
  --brand-soft: #e3f3ec;
  --gold: #e8a91e;
  --gold-soft: #fdf3d9;
  --night: #0b1713;
  --shadow: 0 1px 2px rgba(13,20,17,.04), 0 8px 24px -12px rgba(13,20,17,.12);
  --shadow-lg: 0 2px 4px rgba(13,20,17,.04), 0 24px 48px -20px rgba(13,20,17,.22);
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1200px;
  --read: 700px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f0d; --surface: #121a17; --surface-2: #18221e; --ink: #ecf1ee; --muted: #9aa8a2;
    --line: rgba(236, 241, 238, .09); --brand: #3fd19b; --brand-ink: #6ee0b5; --brand-soft: #12271f;
    --gold: #f1bb43; --gold-soft: #2a2312; --night: #050a08;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.7);
  }
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Reading progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); z-index: 40; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 750 21px/1 var(--display); letter-spacing: -.03em; margin-right: auto; }
.logo b { color: var(--gold); font-weight: 750; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 13px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .15s; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current] { background: var(--ink); color: var(--bg); }
.btn-search { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; font: 500 14.5px var(--font); cursor: pointer; box-shadow: var(--shadow); }
.btn-search:hover { color: var(--ink); }
.btn-search kbd { font: 600 11.5px var(--font); background: var(--surface-2); border-radius: 6px; padding: 2px 6px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .btn-search kbd, .btn-search .lbl { display: none; }
  .btn-search { width: 40px; padding: 0; justify-content: center; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: 74px; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
}

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; background: var(--brand); color: #fff; }
.btn:hover { background: var(--brand-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: inherit; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .15s; }
.chip:hover { background: rgba(255,255,255,.16); }

/* Hero */
.hero { padding: 20px 0 8px; }
.hero-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--night); color: #f3f6f4; padding: clamp(28px, 5vw, 64px); isolation: isolate; }
.hero-box::before { content: ""; position: absolute; inset: -30%; z-index: -1; background:
  radial-gradient(40% 40% at 85% 15%, rgba(232,169,30,.38), transparent 70%),
  radial-gradient(45% 50% at 10% 100%, rgba(16,185,129,.35), transparent 70%),
  radial-gradient(30% 30% at 55% 55%, rgba(14,165,233,.14), transparent 70%); filter: blur(10px); }
.hero-box::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #bfe9d6; background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.3); padding: 5px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; font-weight: 780; margin: 18px 0 18px; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #f7c95b, #e8a91e 50%, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: #b9c6c0; max-width: 560px; margin: 0 0 26px; }
.hero-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px; height: 56px; padding: 0 8px 0 20px; border-radius: 999px; background: #fff; color: #5a6762; border: 0; font: 500 16px var(--font); cursor: pointer; box-shadow: 0 10px 40px -10px rgba(0,0,0,.5); margin-bottom: 18px; }
.hero-search span { flex: 1; text-align: left; }
.hero-search b { background: var(--night); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.hero-side { display: grid; gap: 12px; }
.feature { position: relative; display: block; padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); text-decoration: none; color: inherit; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.feature:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.feature small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c, #f1bb43); }
.feature strong { display: block; font: 650 19px/1.3 var(--display); letter-spacing: -.02em; margin: 8px 0 6px; }
.feature span { font-size: 14.5px; color: #a7b5af; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 16px 18px; border-radius: var(--r-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font: 750 28px/1 var(--display); letter-spacing: -.03em; color: #fff; }
.stat span { font-size: 13px; color: #a7b5af; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-box { border-radius: 24px; } }

/* Sections */
.section { padding: clamp(36px, 6vw, 64px) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; margin: 0; font-weight: 750; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.link-more { white-space: nowrap; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-more:hover { gap: 9px; }

/* Bento categories */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { --c: var(--brand); position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 210px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--c); opacity: .12; transition: transform .3s; }
.tile:hover::after { transform: scale(1.25); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-size: 24px; }
.tile strong { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.tile span { font-size: 14.5px; color: var(--muted); }
.tile em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 600; color: var(--c); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { --c: var(--brand); position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cover { position: relative; aspect-ratio: 16 / 8; display: grid; place-items: center; color: var(--c); background:
  radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%),
  radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
  color-mix(in srgb, var(--c) 7%, var(--surface)); overflow: hidden; }
.cover .icon { width: 64px; height: 64px; stroke-width: 1.3; opacity: .9; transition: transform .35s; }
.cover::before { content: attr(data-n); position: absolute; left: 18px; bottom: 6px; font: 800 64px/1 var(--display); letter-spacing: -.05em; color: var(--c); opacity: .12; }
.card:hover .cover .icon { transform: scale(1.08) rotate(-3deg); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card h3 { font-size: 19px; line-height: 1.3; margin: 2px 0; font-weight: 680; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.card p.meta { display: flex; }
.grid-feature .card:first-child p { -webkit-line-clamp: 5; line-clamp: 5; }
.card .meta { margin-top: auto; padding-top: 10px; display: flex; gap: 12px; font-size: 13px; }
.tag { --c: var(--brand); position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); padding: 4px 10px; border-radius: 999px; }
.meta { color: var(--muted); font-size: 14px; }
.grid-feature { grid-template-columns: 1.4fr 1fr 1fr; }
.grid-feature .card:first-child { grid-row: span 2; }
.grid-feature .card:first-child .cover { aspect-ratio: auto; flex: 1; min-height: 220px; }
.grid-feature .card:first-child h3 { font-size: 25px; }
@media (max-width: 1000px) { .grid-feature { grid-template-columns: 1fr 1fr; } .grid-feature .card:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 640px) { .grid-feature { grid-template-columns: 1fr; } .grid-feature .card:first-child { grid-column: auto; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner { --c: var(--brand); position: relative; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.partner .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-size: 21px; }
.partner strong { font: 680 17.5px/1.3 var(--display); }
.partner p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.partner a { margin-top: auto; font-weight: 600; font-size: 14.5px; }
@media (max-width: 1000px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .partners { grid-template-columns: 1fr; } }

/* Values strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value { padding: 24px; border-radius: var(--r); background: var(--surface-2); }
.value b { display: block; font: 700 18px/1.3 var(--display); margin-bottom: 6px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* Page headers (lists, categories) */
.page-hero { --c: var(--brand); position: relative; overflow: hidden; margin-top: 20px; border-radius: 28px; padding: clamp(28px, 5vw, 56px); background:
  radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
  var(--surface); border: 1px solid var(--line); }
.page-hero .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-size: 28px; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 8px 0 10px; font-weight: 780; letter-spacing: -.035em; }
.page-hero p { margin: 0; color: var(--muted); font-size: 18.5px; max-width: 640px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs a::after { content: "/"; margin-left: 6px; opacity: .5; }

/* Article */
.article-hero { --c: var(--brand); padding: 28px 0 10px; }
.article-hero .inner { max-width: 900px; }
.article-hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; font-weight: 780; letter-spacing: -.035em; margin: 16px 0 16px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--muted); margin: 0 0 18px; max-width: 760px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #5c3d00; font: 800 15px var(--display); }
.byline b { color: var(--ink); font-weight: 600; display: block; }
.article-banner { --c: var(--brand); margin: 18px 0 8px; height: clamp(120px, 18vw, 220px); border-radius: 28px; display: grid; place-items: center; color: var(--c); overflow: hidden; position: relative; background:
  radial-gradient(50% 120% at 85% 0%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%),
  radial-gradient(40% 120% at 10% 100%, color-mix(in srgb, var(--gold) 28%, transparent), transparent 70%),
  color-mix(in srgb, var(--c) 8%, var(--surface)); border: 1px solid var(--line); }
.article-banner .icon { width: clamp(60px, 9vw, 110px); height: clamp(60px, 9vw, 110px); stroke-width: 1.1; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--read)) 260px; gap: 56px; justify-content: space-between; padding-top: 28px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc p { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--brand); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }

.points { border-radius: var(--r); background: var(--brand-soft); padding: 22px 24px; margin: 0 0 30px; }
.points p { margin: 0 0 8px; font: 700 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.points ul { margin: 0; padding: 0; list-style: none; }
.points li { position: relative; padding-left: 28px; margin: 7px 0; font-weight: 500; }
.points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

.prose { font-size: 17.5px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.2; margin: 44px 0 12px; font-weight: 720; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; font-weight: 680; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose strong { font-weight: 650; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; margin: 24px 0; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface-2); font-weight: 650; }
.callout { position: relative; background: var(--gold-soft); border-radius: var(--r-sm); padding: 18px 20px 18px 54px; margin: 28px 0; }
.callout::before { content: "!"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #3b2800; font: 800 14px/24px var(--font); text-align: center; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }
.local { position: relative; border-radius: var(--r); padding: 22px 24px; margin: 32px 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.local::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--brand), var(--gold)); }
.local > strong { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 6px; }
.local p { margin: 0; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-soft); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); padding: 0 18px; }
.faq summary { font-weight: 600; cursor: pointer; padding: 15px 28px 15px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin: 44px 0 0; padding: 22px; border-radius: var(--r); background: var(--surface-2); }
.author-box p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.related { padding-bottom: 24px; }

/* Glossary */
.glossary { display: grid; gap: 12px; margin: 0; }
.glossary div { padding: 18px 20px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.glossary dt { font: 700 18px var(--display); letter-spacing: -.01em; }
.glossary dd { margin: 6px 0 0; color: var(--muted); }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.az a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; text-decoration: none; color: var(--ink); }
.az a:hover { background: var(--ink); color: var(--bg); }

/* Simple pages */
.page { max-width: var(--read); margin: 0 auto; padding: 28px 16px 24px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-weight: 780; letter-spacing: -.035em; margin: 14px 0 14px; }

/* Search dialog */
.search-dlg { width: min(640px, calc(100% - 24px)); max-height: min(560px, 80vh); margin: 10vh auto auto; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0,0,0,.45); overflow: hidden; }
.search-dlg::backdrop { background: rgba(5,10,8,.5); backdrop-filter: blur(4px); }
.search-dlg form { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.search-dlg input { flex: 1; height: 60px; border: 0; background: none; font: 500 18px var(--font); color: var(--ink); outline: none; }
.search-dlg .esc { font: 600 11.5px var(--font); background: var(--surface-2); border-radius: 6px; padding: 3px 7px; color: var(--muted); border: 0; cursor: pointer; }
.results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; max-height: calc(min(560px, 80vh) - 61px); }
.results a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.results a:hover, .results a.sel { background: var(--surface-2); }
.results small { display: block; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.results span { display: block; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results .empty { padding: 20px 14px; color: var(--muted); }

/* Footer */
.site-footer { margin-top: 72px; background: var(--night); color: #c9d3cf; font-size: 15px; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta strong { display: block; font: 750 clamp(24px, 3vw, 32px)/1.15 var(--display); letter-spacing: -.03em; color: #fff; }
.footer-cta span { color: #93a39c; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 36px; padding-bottom: 28px; }
.footer-grid p { color: #93a39c; margin: 0 0 8px; }
.footer-logo { font: 750 21px var(--display); letter-spacing: -.03em; color: #fff !important; }
.footer-logo b { color: var(--gold); }
.footer-h { font-weight: 650; color: #fff !important; font-size: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 7px 0; }
.footer-grid a { color: #b3c0ba; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; padding-bottom: 28px; color: #7d8d86; font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: span 2; } }

/* Scroll reveal */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(24px); } }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
