/* CDBurner10 — Fluent-inspired Mica Dark/Light Static Stylesheet */
:root {
  color-scheme: dark light;
  --bg: #0c0f14;
  --bg-elevated: #141923;
  --bg-card: rgba(25, 32, 46, 0.78);
  --bg-card-hover: rgba(33, 42, 60, 0.9);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(96, 205, 255, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #60cdff;
  --accent-strong: #0078d4;
  --accent-hover: #1a86d9;
  --badge-bg: rgba(96, 205, 255, 0.12);
  --badge-text: #7dd3fc;
  --code-bg: #0f141d;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f6fb;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.86);
    --bg-card-hover: #ffffff;
    --border: rgba(15, 23, 42, 0.1);
    --border-strong: rgba(0, 120, 212, 0.35);
    --text: #0f172a;
    --text-muted: #475569;
    --accent: #0067b8;
    --accent-strong: #0078d4;
    --accent-hover: #005a9e;
    --badge-bg: rgba(0, 120, 212, 0.1);
    --badge-text: #005a9e;
    --code-bg: #eef2f7;
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(0, 120, 212, 0.18), transparent 60%),
    radial-gradient(700px 420px at 85% 0%, rgba(96, 205, 255, 0.11), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 6px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.nav-links a { color: var(--text-muted); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent-strong);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.32);
}
.btn-primary:hover { background: var(--accent-hover); color: #ffffff; }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.88rem; }

/* Hero */
.hero {
  padding: 4rem 0 2.75rem;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  margin-bottom: 1.15rem;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 auto 1rem;
  max-width: 22ch;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-muted);
  max-width: 64ch;
  margin: 0 auto 1.75rem;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.showcase-wrap {
  margin: 2.25rem auto 0;
  max-width: 980px;
}
.showcase-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
}
.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.showcase-caption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections & Cards */
section { padding: 2.75rem 0; }

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.015em;
  margin: 0 0 0.65rem;
}
h3 {
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 66ch;
  margin: 0 0 1.75rem;
}

.grid {
  display: grid;
  gap: 1.15rem;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.card:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.card .card-link { display: inline-block; margin-top: 0.75rem; font-weight: 600; font-size: 0.92rem; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th { font-weight: 600; background: color-mix(in srgb, var(--bg-elevated) 60%, transparent); }
tr:last-child td { border-bottom: none; }

/* Code & Steps */
pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.5;
}
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
}
p code, li code {
  background: var(--code-bg);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

.article-header {
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
.article-header h1 {
  max-width: 28ch;
  margin-left: 0;
  text-align: left;
}
.article-header .hero-lead {
  margin-left: 0;
  text-align: left;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.15rem 3.5rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(96, 205, 255, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.75rem;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}
