/* Den of Dronn — Fluent 2 inspired public styles */
:root {
  --accent: #0067b8;
  --accent-strong: color-mix(in srgb, var(--accent) 82%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, #fff);
  --accent-softer: color-mix(in srgb, var(--accent) 5%, #fff);
  --violet: #7f5af0;
  --teal: #00a3b4;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --text-2: #3b4250;
  --muted: #646b78;
  --line: #e7e9ee;
  --line-strong: #d6d9e0;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
  --sh-2: 0 10px 28px -10px rgba(16, 24, 40, .16), 0 3px 8px -2px rgba(16, 24, 40, .06);
  --sh-3: 0 28px 60px -18px rgba(16, 24, 40, .28), 0 8px 18px -6px rgba(16, 24, 40, .08);
  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, #fff); }
.ic { flex-shrink: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--sh-2); }
.skip:focus { left: 8px; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 48px); }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inline-form { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- Nav */
.topnav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(15, 23, 42, .06); transition: box-shadow .3s var(--ease), background .3s;
}
.topnav.scrolled { box-shadow: 0 6px 24px -12px rgba(16, 24, 40, .2); background: rgba(255, 255, 255, .85); }
.topnav-inner { width: min(1280px, 100% - 40px); margin: auto; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, var(--violet)));
  box-shadow: 0 4px 12px -3px color-mix(in srgb, var(--accent) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand-logo { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
.navlinks { display: flex; gap: 4px; align-items: center; }
.navlinks a { position: relative; color: var(--text-2); font-size: 14.5px; padding: 8px 12px; border-radius: 8px; transition: background .2s, color .2s; }
.navlinks a:hover { background: rgba(15, 23, 42, .05); text-decoration: none; color: var(--text); }
.navlinks a.active { color: var(--text); font-weight: 600; }
.navlinks a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--accent); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.member-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle:hover { background: rgba(15, 23, 42, .06); }

/* ------------------------------------------------------------ Buttons */
.btn {
  --bh: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--bh); padding: 0 20px;
  border-radius: 8px; border: 1px solid transparent; font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; text-decoration: none !important;
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { --bh: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { --bh: 52px; padding: 0 26px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 6px 16px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 12px 24px -10px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn-primary .ic:last-child:not(:first-child) { transition: transform .25s var(--ease); }
.btn-primary:hover .ic:last-child:not(:first-child) { transform: translateX(3px); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line-strong); box-shadow: var(--sh-1); }
.btn-secondary:hover { background: var(--bg-alt); transform: translateY(-1px); }
.btn-glass { background: rgba(255, 255, 255, .55); color: var(--text); border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--sh-1); }
.btn-glass:hover { background: rgba(255, 255, 255, .85); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--accent-strong); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .4); }
.btn-support { background: linear-gradient(135deg, #ff5f6d, #ffc371); color: #fff; box-shadow: 0 6px 16px -8px rgba(255, 95, 109, .8); }
.btn-support:hover { transform: translateY(-1px); filter: saturate(1.1); }
.btn-support .ic { animation: beat 2.4s infinite; }
@keyframes beat { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.22); } 86% { transform: scale(.96); } }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text-2); display: inline-grid; place-items: center; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn.copied { background: #e9f8ef; color: #0f7b3f; border-color: #a7e3bd; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14.5px; color: var(--accent); }
.link-arrow .ic { transition: transform .25s var(--ease); }
a:hover .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow:hover { text-decoration: none; }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 136px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 85%); }
.hero-bg--soft { background: linear-gradient(180deg, #f4f7fd 0%, #fff 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob.b1 { width: 560px; height: 560px; left: -140px; top: -180px; background: color-mix(in srgb, var(--accent) 70%, #fff); animation: float1 22s ease-in-out infinite; }
.blob.b2 { width: 480px; height: 480px; right: -120px; top: -60px; background: color-mix(in srgb, var(--violet) 55%, #fff); animation: float2 26s ease-in-out infinite; }
.blob.b3 { width: 420px; height: 420px; left: 38%; bottom: -260px; background: color-mix(in srgb, var(--teal) 55%, #fff); animation: float3 24s ease-in-out infinite; }
.hero-bg--soft .blob { opacity: .32; }
@keyframes float1 { 50% { transform: translate(120px, 80px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-100px, 90px) scale(.92); } }
@keyframes float3 { 50% { transform: translate(-80px, -60px) scale(1.12); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-inner--solo { grid-template-columns: 1fr; max-width: 860px; text-align: center; }
.hero-inner--solo .hero-actions { justify-content: center; }
.hero-inner--solo .lead { margin-inline: auto; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--accent-strong);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 22px;
}
.display { font-size: clamp(40px, 6.2vw, 74px); font-weight: 650; letter-spacing: -.035em; line-height: 1.03; margin-bottom: 22px; text-wrap: balance;
  background: linear-gradient(120deg, var(--text) 30%, color-mix(in srgb, var(--accent) 80%, var(--text)) 75%, color-mix(in srgb, var(--violet) 70%, var(--text)));
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.display-sm { font-size: clamp(34px, 4.6vw, 54px); font-weight: 650; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 14px; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 620px; line-height: 1.55; margin-bottom: 32px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-panel { perspective: 1200px; }
.glass-window {
  border-radius: var(--r-lg); padding: 18px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%); box-shadow: var(--sh-3), inset 0 1px 0 rgba(255, 255, 255, .9);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); animation: bob 9s ease-in-out infinite;
}
.hero-panel:hover .glass-window { transform: rotateY(0) rotateX(0); }
@keyframes bob { 50% { translate: 0 -10px; } }
.gw-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.gw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.gw-bar i:nth-child(2) { background: #febc2e; } .gw-bar i:nth-child(3) { background: #28c840; }
.gw-bar span { margin-left: 8px; }
.gw-stats { display: grid; gap: 10px; }
.glass-stat { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .78); box-shadow: var(--sh-1); transition: transform .3s var(--ease); }
.glass-stat:hover { transform: translateX(4px); }
.gs-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--violet))); }
.glass-stat:nth-child(2) .gs-icon { background: linear-gradient(135deg, var(--violet), #c05cf0); }
.glass-stat:nth-child(3) .gs-icon { background: linear-gradient(135deg, var(--teal), #3bd1a0); }
.gs-n { font: 650 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.gs-l { font-size: 13px; color: var(--muted); }
.gw-foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 14px 4px 2px; }
.gw-foot .ic { color: #0f7b3f; }

/* ------------------------------------------------------------ Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section + .section:not(.section--flow) { padding-top: 0; }
.section--tight { padding-top: 32px; }
.section--flow { padding: 28px 0; }
.section--flow + .section--flow { padding-top: 0; }
.section--overlap { margin-top: -64px; position: relative; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-title h2, .section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.025em; font-weight: 650; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero--compact { padding: 40px 0 96px; }
.page-hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero-inner .lead { margin-bottom: 24px; }
.search { display: flex; align-items: center; gap: 10px; width: min(520px, 100%); height: 52px; padding: 0 18px; border-radius: 99px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--sh-2); color: var(--muted); backdrop-filter: blur(12px); transition: box-shadow .25s, border-color .25s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent), var(--sh-2); }
.search input { flex: 1; border: 0; background: transparent; font: 16px var(--font); color: var(--text); outline: none; min-width: 0; }
.no-results { text-align: center; color: var(--muted); padding: 40px 0; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }

/* --------------------------------------------------------------- Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
a.card, .feature, .distro-card, .latest-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
a.card:hover, .feature:hover, .distro-card:hover, .latest-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; text-decoration: none; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { display: flex; flex-direction: column; padding: 28px; color: var(--text); position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.feature:hover::before { transform: scaleX(1); }
.feature h3 { font-size: 20px; margin: 18px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; flex: 1; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--violet) 10%, #fff)); border: 1px solid color-mix(in srgb, var(--accent) 12%, #fff); transition: transform .4s var(--ease); flex-shrink: 0; }
.feature:hover .feature-icon { transform: rotate(-6deg) scale(1.06); }

.latest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.latest-card { display: flex; align-items: center; gap: 16px; padding: 14px; color: var(--text); }
.latest-thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--bg-alt); }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.latest-body strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.latest-body span { font-size: 13.5px; color: var(--muted); }
.latest-go { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.latest-card:hover .latest-go { color: var(--accent); transform: translateX(4px); }
.mono { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font: 700 26px var(--font-display);
  background: linear-gradient(135deg, hsl(var(--h) 72% 52%), hsl(calc(var(--h) + 50) 70% 42%)); text-shadow: 0 2px 6px rgba(0, 0, 0, .2); }

.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, var(--accent-strong), var(--accent) 45%, color-mix(in srgb, var(--accent) 40%, var(--violet))); box-shadow: var(--sh-3); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; position: relative; }
.cta-band p { opacity: .88; margin: 0; position: relative; }
.cta-band .btn { position: relative; }
.cta-glow { position: absolute; width: 420px; height: 420px; right: -80px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); animation: float2 18s ease-in-out infinite; }

/* -------------------------------------------------------------- Distros */
.distro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.distro-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.distro-head { display: flex; gap: 16px; align-items: center; }
.distro-head h2 { font-size: 21px; margin: 0 0 6px; }
.distro-logo { width: 60px; height: 60px; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: var(--bg-alt); box-shadow: var(--sh-1); }
.distro-logo img { width: 100%; height: 100%; object-fit: cover; }
.distro-logo--lg { width: 84px; height: 84px; border-radius: 22px; }
.distro-desc { color: var(--text-2); font-size: 15px; margin: 0; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--text-2); border: 1px solid var(--line); }
.chip--accent { background: var(--accent-soft); color: var(--accent-strong); border-color: color-mix(in srgb, var(--accent) 18%, #fff); }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.meta--wide { grid-template-columns: repeat(2, 1fr); }
.meta dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.meta dd { margin: 0; font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.mono-txt { font-family: var(--mono); font-size: 13px !important; }
.hashbox { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); min-width: 0; }
.hash-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.hashbox code { flex: 1; min-width: 0; font: 12.5px var(--mono); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hashbox--pending code { color: var(--muted); font-style: italic; font-family: var(--font); }
.hashbox--full code { white-space: normal; overflow-wrap: anywhere; }
.verify { margin-top: 4px; font-size: 14.5px; }
.verify summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); list-style: none; padding: 6px 0; }
.verify summary::-webkit-details-marker { display: none; }
.verify pre { background: #0f1420; color: #d6e2ff; padding: 12px 14px; border-radius: 10px; overflow-x: auto; font: 13px var(--mono); }

.dl-card { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; box-shadow: var(--sh-3); }
.dl-head { display: flex; gap: 20px; align-items: center; }
.dl-head h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.dl-desc { color: var(--text-2); margin: 0; }
.dl-button { animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 14px 34px -10px color-mix(in srgb, var(--accent) 90%, transparent); } }
.fine { font-size: 13px; color: var(--muted); margin: -6px 0 0; text-align: center; }

/* ---------------------------------------------------------------- Files */
.file-list { overflow: hidden; padding: 6px; }
.file-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; color: var(--text); transition: background .2s, transform .3s var(--ease); }
.file-row + .file-row { border-top: 1px solid var(--line); }
.file-row:hover { background: var(--accent-softer); text-decoration: none; }
.file-row:hover + .file-row, .file-row:hover { border-color: transparent; }
.file-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.file-ic--lg { width: 84px; height: 84px; border-radius: 22px; }
.file-ic.ext-pdf { background: #fdecec; color: #c4314b; }
.file-ic.ext-zip, .file-ic.ext-7z, .file-ic.ext-rar, .file-ic.ext-tar, .file-ic.ext-gz { background: #fff4e0; color: #b4690e; }
.file-ic.ext-docx, .file-ic.ext-doc { background: #e8f0fe; color: #185abd; }
.file-ic.ext-xlsx, .file-ic.ext-xls, .file-ic.ext-csv { background: #e7f6ec; color: #107c41; }
.file-ic.ext-pptx, .file-ic.ext-ppt { background: #fdeee8; color: #c43e1c; }
.file-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-main strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-sub { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.file-dl { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); transition: transform .3s var(--ease), background .2s, color .2s; }
.file-row:hover .file-dl { background: var(--accent); color: #fff; transform: translateY(2px); }

/* ---------------------------------------------------------------- Prose */
.prose-wrap { max-width: 780px; }
.prose { font-size: 17px; color: var(--text-2); line-height: 1.75; }
.prose h2 { font-size: 26px; color: var(--text); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 20px; color: var(--text); margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .25em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--text); font-style: italic; }
.prose--page { padding: clamp(24px, 4vw, 48px); margin-top: -64px; position: relative; box-shadow: var(--sh-2); }
.blk-h { margin: .6em 0 .4em; }
h1.blk-h { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.03em; }
h2.blk-h { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
h3.blk-h { font-size: 22px; }
.blk-img { margin: 1.2em 0; }
.blk-img img { width: 100%; border-radius: var(--r); box-shadow: var(--sh-2); }
.blk-img--full img { border-radius: 0; }
.blk-img figcaption, .blk-video figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.blk-video { margin: 1.2em 0; }
.ratio { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); background: #000; }
.ratio iframe, .ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blk-btn { margin: 1em 0; }
.spacer--s { height: 16px; } .spacer--m { height: 40px; } .spacer--l { height: 88px; }

/* ------------------------------------------------------------- Contact */
.contact { margin-top: 24px; padding: clamp(24px, 4vw, 40px); }
.contact-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.contact-head h2 { font-size: 24px; margin: 0; }
.contact-head p { margin: 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { font: 16px var(--font); padding: 12px 14px; border: 1px solid var(--line-strong); border-bottom-color: #8a8f99; border-radius: 8px; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 16px; }
.notice--ok { background: #e9f8ef; color: #0f6a37; }
.notice--err { background: #fdecec; color: #a4262c; }

/* ---------------------------------------------------------------- Empty */
.empty { text-align: center; padding: clamp(40px, 8vw, 88px) 20px; max-width: 520px; margin: 0 auto; }
.empty h3 { font-size: 24px; margin: 28px 0 8px; }
.empty p { color: var(--muted); margin-bottom: 24px; }
.empty-art { position: relative; width: 140px; height: 140px; margin: 0 auto; display: grid; place-items: center; }
.empty-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); animation: pulse 3.6s var(--ease) infinite; }
.empty-art .r2 { animation-delay: 1.2s; } .empty-art .r3 { animation-delay: 2.4s; }
@keyframes pulse { 0% { transform: scale(.55); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.empty-icon { position: relative; width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--violet))); box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--accent) 80%, transparent); animation: bob 6s ease-in-out infinite; }

/* ------------------------------------------------------------------ Ads */
.ad-slot { margin: 28px auto; text-align: center; min-height: 0; }
.ad-slot--wide { width: min(1200px, 100% - 48px); }
.ad-slot--grid { grid-column: 1 / -1; margin: 4px 0; padding: 16px; border-radius: var(--r-lg); background: var(--bg-alt); }
.ad-label { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9aa0aa; margin-bottom: 6px; }
.ad-body { overflow: hidden; }
.dl-card .ad-slot { margin: 0; padding: 14px; border-radius: 14px; background: var(--bg-alt); }

/* --------------------------------------------------------------- Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); margin-top: 48px; font-size: 14.5px; }
.footer-inner { width: min(1200px, 100% - 48px); margin: auto; padding: 56px 0 36px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 360px; margin: 14px 0 18px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.footer-col a { color: var(--text-2); }
.footer-bottom { width: min(1200px, 100% - 48px); margin: auto; padding: 20px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; }
.signin-subtle { color: var(--muted); display: inline-flex; align-items: center; gap: 5px; opacity: .8; }
.signin-subtle:hover { opacity: 1; }

/* --------------------------------------------------------------- Cookie */
.cookie { position: fixed; z-index: 80; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 18px 20px;
  border-radius: 18px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-3); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  animation: rise .6s var(--ease); font-size: 14.5px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--text-2); }
.cookie-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); grid-row: span 2; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* --------------------------------------------------------------- Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.is-preview .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .glass-window { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .navlinks { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2);
    transform-origin: top; transform: scaleY(.96); opacity: 0; pointer-events: none; transition: all .25s var(--ease); }
  .navlinks.open { opacity: 1; transform: none; pointer-events: auto; }
  .navlinks a { padding: 13px 14px; font-size: 16px; }
  .navlinks a.active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav-right .btn-support span { display: none; }
  .nav-right .btn-support { padding: 0 10px; }
  .member-chip { display: none; }
}
@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .distro-grid { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .file-meta .chip { display: none; }
  .file-row { padding: 12px 10px; gap: 12px; }
  .dl-head { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .latest-grid { grid-template-columns: 1fr; }
}
