@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/roboto-var.woff2) format('woff2'); }
@font-face { font-family: 'Roboto Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/roboto-slab-700.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/lato-400.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/lato-700.woff2) format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/oswald-500.woff2) format('woff2'); }

/* ============================================================
   TOKENS (terang & gelap)
   ============================================================ */
:root {
  --bg: #fff;
  --surface: #f6f8fa;
  --line: #e6e9ed;
  --text: #333;
  --heading: #111;
  --muted: #666;
  --accent: #2f71aa;
  --accent-strong: #23527c;
  --on-accent: #fff;
  --gold: #f5b83d;
  --shadow: 0 10px 28px rgba(17, 30, 45, .1);
  --radius: 8px;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Roboto Slab', Georgia, serif;
  --font-ui: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'Oswald', 'Arial Narrow', sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #12161b;
  --surface: #1b2128;
  --line: #2c343d;
  --text: #d5dae0;
  --heading: #f4f6f8;
  --muted: #a0a9b3;
  --accent: #7ab6e8;
  --accent-strong: #a5cff2;
  --on-accent: #0e1a25;
  --shadow: 0 10px 28px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s, color .2s;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--on-accent); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s, background-color .2s;
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  white-space: nowrap;
}
.logo:hover { color: var(--accent); }
.logo img { width: 40px; height: 40px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 18px; }
.main-nav a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: var(--radius);
  color: var(--heading);
}
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: none; }
.icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ============================================================
   HERO & FILTER
   ============================================================ */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(32px, 6vw, 60px) 0; }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.2;
  color: var(--heading);
  max-width: 760px;
  margin-bottom: 12px;
}
.hero p { font-family: var(--font-ui); font-size: 17px; max-width: 680px; }
.search { position: relative; max-width: 560px; margin-top: 24px; }
.search input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.search input:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.search svg {
  position: absolute;
  left: 15px;
  top: 15px;
  width: 20px;
  height: 20px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  min-height: 38px;
  padding: 6px 14px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ============================================================
   LAYOUT (konten + sidebar)
   ============================================================ */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  padding-top: 44px;
  padding-bottom: 60px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
}
.results-status { font-family: var(--font-ui); font-size: 14px; color: var(--muted); margin: -16px 0 20px; }
.results-status:empty { margin: 0; }

/* ============================================================
   POST CARDS
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.post-card { display: flex; flex-direction: column; }
.post-card.is-featured { grid-column: 1 / -1; }
.post-thumbnail { display: block; overflow: hidden; border-radius: var(--radius); margin-bottom: 16px; background: var(--surface); }
.post-thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-thumbnail img { transform: scale(1.03); }
.post-topic {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.post-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.is-featured .post-title { font-size: clamp(22px, 3vw, 28px); }
.post-title a { color: var(--heading); }
.post-title a:hover { color: var(--accent); }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.post-excerpt { font-family: var(--font-ui); font-size: 15px; margin-bottom: 12px; }
.read-more { margin-top: auto; font-family: var(--font-ui); font-size: 14px; font-weight: 700; }
.empty-state { padding: 40px 24px; text-align: center; background: var(--surface); border-radius: var(--radius); }
.empty-state p { margin-bottom: 14px; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.widget { margin-bottom: 36px; }
.widget-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--heading); margin-bottom: 16px; }
.mini-post { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; }
.mini-post + .mini-post { border-top: 1px solid var(--line); }
.mini-post img { width: 92px; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 6px; }
.mini-post a { font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--heading); }
.mini-post a:hover { color: var(--accent); }
.mini-post span { display: block; margin-top: 4px; font-family: var(--font-ui); font-size: 12px; color: var(--muted); }
.topic-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.topic-list a:hover { color: var(--accent); }
.topic-list a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.topic-list span { color: var(--muted); font-size: 13px; }
.partner-list { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-list a {
  padding: 6px 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.partner-list a:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   HALAMAN KATEGORI / ARTIKEL / LEGAL
   ============================================================ */
.breadcrumb { font-family: var(--font-ui); font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.article-title { font-family: var(--font-head); font-size: clamp(27px, 4vw, 38px); line-height: 1.25; color: var(--heading); margin-bottom: 12px; }
.article-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 18px 0 26px; }
.prose { font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-family: var(--font-head); font-size: 24px; line-height: 1.3; color: var(--heading); margin-top: 34px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.article-tags a {
  padding: 5px 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
.btn-ghost { color: var(--accent); background: transparent; }
.btn-ghost:hover { color: var(--on-accent); }
.share-bar a { min-height: 42px; display: inline-flex; align-items: center; }
.related { margin-top: 44px; }
.legal { max-width: 760px; margin: 0 auto; padding-top: 44px; padding-bottom: 60px; }
.not-found { padding: 80px 20px; text-align: center; }
.not-found strong { display: block; font-family: var(--font-head); font-size: 76px; line-height: 1; color: var(--accent); }
.not-found h1 { font-family: var(--font-head); color: var(--heading); margin: 10px 0; }
.not-found .btn { margin-top: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #1d2126; color: #b4bac1; padding: 56px 0 22px; font-family: var(--font-ui); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr .8fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.footer-logo:hover { color: #fff; }
.footer-logo img { width: 40px; height: 40px; }
.logo-text { display: grid; line-height: 1.15; }
.logo-sub { font-family: var(--font-label); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.footer-logo .logo-sub { color: var(--gold); }
.footer-col h2 { font-family: var(--font-label); color: #fff; font-size: 17px; font-weight: 500; text-transform: uppercase; margin-bottom: 16px; }
.footer-col p { font-size: 14px; }
.footer-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.footer-col li a { display: inline-block; padding: 5px 0; color: #b4bac1; font-size: 14px; }
.footer-col li a:hover { color: #fff; }
.social-icons { display: flex; gap: 6px; }
.social-icons a { display: inline-grid; place-items: center; width: 42px; height: 42px; color: #b4bac1; border-radius: var(--radius); }
.social-icons a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #3a4047; font-size: 14px; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--on-accent);
  background: var(--accent);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---------- Kartu Happiness (portrait, selalu muat satu layar) ---------- */
.happy-page { height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: clamp(8px, 2vh, 20px) 16px; background: var(--surface); overflow: hidden; }
.happy-card { display: flex; flex-direction: column; width: 100%; max-width: 420px; max-height: 100%; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.happy-logo { display: flex; flex: none; justify-content: center; padding: clamp(8px, 1.6vh, 16px) 20px; }
.happy-logo:hover { color: var(--heading); }
/* Banner satu-satunya bagian yang menyusut saat layar pendek */
.happy-banner { display: block; flex: 0 1 auto; width: 100%; min-height: 0; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.happy-body { flex: none; padding: clamp(10px, 2vh, 20px) 24px 0; text-align: center; }
.happy-body h1 { font-family: var(--font-head); font-size: clamp(20px, 3.2vh, 26px); line-height: 1.25; color: var(--heading); margin-bottom: 4px; }
.rating-star { color: var(--gold); }
.static-meta strong, .happy-rating strong { color: var(--heading); }
.happy-rating { font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
.happy-price { font-family: var(--font-head); font-size: clamp(22px, 3.6vh, 28px); font-weight: 700; line-height: 1.3; color: var(--heading); margin: 2px 0 6px; }
.happy-body p { font-size: 15px; line-height: 1.5; color: var(--text); }
.happy-actions { display: grid; flex: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: clamp(10px, 2vh, 18px) 24px clamp(12px, 2.4vh, 24px); }
.happy-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px; border: 2px solid var(--heading); border-radius: 10px; background: var(--heading); color: var(--bg); font-family: var(--font-ui); font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; transition: opacity .2s; }
.happy-btn:hover { opacity: .85; color: var(--bg); }
.happy-btn-alt { background: transparent; color: var(--heading); }
.happy-btn-alt:hover { color: var(--heading); }
.happy-btn.is-disabled { opacity: .45; cursor: not-allowed; }
/* HP landscape: banner di kiri, isi di kanan */
@media (max-height: 480px) and (min-width: 560px) {
  .happy-card { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; max-width: 720px; height: 100%; }
  .happy-banner { grid-column: 1; grid-row: 1 / -1; height: 100%; aspect-ratio: auto; }
  .happy-logo { grid-column: 2; padding: 8px 12px; }
  .happy-body { grid-column: 2; padding: 0 16px; }
  .happy-actions { grid-column: 2; padding: 8px 16px 10px; }
}

/* ---------- Halaman Daily Bonus (layout dua kolom) ---------- */
.static-notice { background: #fffbe6; border-bottom: 2px solid #ffe58f; padding: 10px 20px; text-align: center; font-size: 13px; color: #874d00; }
.static-notice strong { font-weight: 800; }
.static-notice a { color: #874d00; text-decoration: underline; }
.static-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.static-header-inner { max-width: 1440px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.static-nav { display: flex; gap: 25px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.static-nav a { color: var(--heading); }
.static-nav a:hover { color: var(--accent); }
.static-breadcrumb { max-width: 1440px; margin: 0 auto; padding: 15px 20px; font-size: 12px; color: var(--muted); }
.static-breadcrumb a { color: var(--muted); }
.static-breadcrumb a:hover { color: var(--heading); }
.static-main { max-width: 1440px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; }
.static-gallery img.main { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--surface); border-radius: 8px; }
.static-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.static-thumb { flex: 0 0 70px; width: 70px; height: 70px; padding: 0; overflow: hidden; background: var(--surface); border: 2px solid transparent; border-radius: 6px; cursor: pointer; transition: border-color .2s; }
.static-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.static-thumb:hover { border-color: var(--muted); }
.static-thumb.active { border-color: var(--heading); }
.static-brand { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; letter-spacing: .5px; }
.static-brand a { color: inherit; }
.static-title { font-size: 26px; font-weight: 900; line-height: 1.2; margin-bottom: 12px; text-transform: uppercase; color: var(--heading); }
.static-meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.static-price { font-size: 24px; font-weight: 800; margin: 20px 0; color: var(--heading); letter-spacing: -.5px; }
.static-desc { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.static-emi { background: var(--surface); padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 22px; color: var(--text); }
.static-emi strong { font-weight: 800; }
.static-section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; color: var(--heading); }
.static-size-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 22px; }
.static-size-list a { display: block; text-align: center; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .2s; color: var(--heading); font-family: inherit; }
.static-size-list a:hover { border-color: var(--heading); color: var(--heading); }
.static-cta { display: block; width: 100%; padding: 16px; background: var(--heading); color: var(--bg); text-align: center; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; border-radius: 8px; transition: opacity .2s; margin-bottom: 8px; }
.static-cta:hover { opacity: .85; color: var(--bg); }
.static-cta-note { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 22px; }
.static-badge { display: flex; gap: 12px; padding: 14px; border-radius: 8px; font-size: 12px; line-height: 1.5; margin-bottom: 10px; color: var(--text); background: var(--surface); }
.static-badge .icon { font-size: 18px; line-height: 1; flex: 0 0 auto; }
.static-badge strong { display: block; margin-bottom: 2px; font-weight: 800; color: var(--heading); }
.static-tabs-section { max-width: 1440px; margin: 0 auto; padding: 40px 20px; border-top: 1px solid var(--line); }
.static-tab-nav { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.static-tab-btn { padding: 12px 0; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; font-family: inherit; transition: color .2s, border-color .2s; }
.static-tab-btn.active { color: var(--heading); border-bottom-color: var(--heading); }
.static-panel { display: none; }
.static-panel.active { display: block; }
.static-panel h2 { font-size: 16px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; color: var(--heading); }
.static-panel p { font-size: 14px; color: var(--text); line-height: 1.8; margin-bottom: 12px; }
.static-panel ol { padding-left: 20px; font-size: 14px; color: var(--text); line-height: 1.8; }
.static-panel a { color: var(--accent); text-decoration: underline; }
.static-footer { background: #111; color: #aaa; padding: 50px 20px 20px; margin-top: 40px; }
.static-footer-inner { max-width: 1440px; margin: 0 auto; }
.static-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.static-footer-grid h2 { color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.static-footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 2; }
.static-footer-grid li { margin-bottom: 4px; }
.static-footer-grid a { color: #aaa; }
.static-footer-grid a:hover { color: #fff; }
.static-social { display: flex; gap: 12px; margin-top: 10px; }
.static-footer-grid .static-social a { width: 38px; height: 38px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; color: #aaa; }
.static-social svg { width: 16px; height: 16px; fill: currentColor; }
.static-footer-grid .static-social a:hover { background: #fff; color: #111; }
.static-footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 12px; color: #999; line-height: 1.6; }
.static-footer-bottom p + p { margin-top: 6px; }
@media (max-width: 900px) {
  .static-nav { display: none; }
  .static-header-inner { justify-content: center; }
  .static-main { grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 10px 15px; }
  .static-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .static-title { font-size: 20px; }
  .static-size-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 500px) {
  .static-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .header-inner { position: relative; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.active { display: block; }
  .main-nav ul { display: block; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { padding: 14px 20px; font-size: 15px; border-bottom: none; }
  .main-nav a[aria-current="page"] { background: var(--surface); }
}
@media (max-width: 992px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .post-grid, .sidebar { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 16px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .logo { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .sidebar, .to-top, .share-bar, .related { display: none; }
  .layout { display: block; padding: 0; }
}
