:root {
  color-scheme: light;
  --bg: #f4fff8;
  --bg-soft: #ffffff;
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --text: #0f2a1d;
  --text-strong: #071a12;
  --muted: #607467;
  --muted-soft: #8aa091;
  --line: rgba(16, 83, 51, 0.12);
  --line-strong: rgba(16, 83, 51, 0.22);
  --accent: #0f8a4d;
  --accent-dark: #056338;
  --accent-2: #62c887;
  --accent-3: #d9fbe5;
  --accent-soft: rgba(18, 154, 87, 0.10);
  --green-glow: rgba(38, 184, 105, 0.18);
  --shadow: 0 26px 70px rgba(15, 93, 54, 0.14);
  --shadow-soft: 0 16px 42px rgba(15, 93, 54, 0.09);
  --radius-xl: 34px;
  --radius-lg: 25px;
  --radius-md: 18px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(128, 238, 167, 0.36), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(7, 122, 65, 0.16), transparent 26rem),
    radial-gradient(circle at 50% 98%, rgba(201, 255, 222, 0.74), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #f1fff7 42%, #e9fff2 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  z-index: -1;
}

body::before {
  width: 430px;
  height: 430px;
  right: -150px;
  top: 90px;
  background: radial-gradient(circle, rgba(76, 205, 123, 0.22), transparent 68%);
}

body::after {
  width: 520px;
  height: 520px;
  left: -190px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(194, 255, 218, 0.34) 42%, transparent 70%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-shell {
  width: min(1180px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.45), transparent 24%),
    linear-gradient(145deg, #0b5f38 0%, #13a75d 54%, #87e8a8 100%);
  font-family: var(--font-display);
  font-size: 25px;
  box-shadow: 0 14px 26px rgba(11, 112, 62, 0.22);
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(16,83,51,.10);
  border-radius: 999px;
  background: rgba(244, 255, 249, 0.76);
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent-dark);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 138, 77, 0.10), 0 8px 20px rgba(14, 118, 68, 0.07);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--accent-dark);
  border-radius: 999px;
}

.app {
  flex: 1;
  padding: 48px 0 26px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.panel,
.article-card,
.reader,
.empty-state,
.category-board {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.hero-copy {
  min-height: 386px;
  padding: clamp(26px, 4vw, 50px);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(244,255,249,.34)),
    radial-gradient(circle at 88% 18%, rgba(99, 219, 143, .22), transparent 34%),
    radial-gradient(circle at 76% 86%, rgba(12, 143, 78, .10), transparent 32%);
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 190, 106, 0.20), transparent 66%);
  pointer-events: none;
}

.hero-copy > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 138, 77, 0.14);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  box-shadow: 0 10px 28px rgba(16, 119, 68, 0.07);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(15, 138, 77, 0.11);
}

h1, h2, h3 { margin: 0; letter-spacing: -0.035em; }

.hero h1 {
  max-width: 820px;
  margin-top: 20px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(32px, 5.8vw, 58px);
  line-height: 1.05;
}

.hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.72;
}

.searchbar {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 780px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 12px 30px rgba(9, 105, 57, .06);
}

.searchbar input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 14px 14px;
}
.searchbar input::placeholder { color: #8aa091; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #087344, #14aa61 58%, #35c979);
  box-shadow: 0 15px 34px rgba(8, 123, 70, 0.22);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 20px 42px rgba(8, 123, 70, 0.26); filter: saturate(1.04); }

.button-soft {
  color: var(--accent-dark);
  background: rgba(255,255,255,.80);
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(14, 110, 64, .06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 620px;
}

.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.58);
}
.stat strong { display: block; color: var(--accent-dark); font-size: 24px; letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  backdrop-filter: blur(10px);
}

.chip-dark {
  color: var(--accent-dark);
  border: 1px solid var(--line);
  background: rgba(237, 255, 244, 0.72);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 46px 0 18px;
}
.section-head h2 { color: var(--text-strong); font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); }
.section-head p { margin: 8px 0 0; max-width: 590px; color: var(--muted); line-height: 1.7; }

.label-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.label-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  cursor: pointer;
  transition: .18s ease;
}
.label-button:hover,
.label-button.is-active {
  color: var(--accent-dark);
  background: #ffffff;
  border-color: rgba(15, 138, 77, 0.28);
  box-shadow: 0 10px 24px rgba(12, 125, 70, .07);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.article-thumb {
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(4, 68, 39, .04), rgba(4, 68, 39, .36)),
    var(--thumb, linear-gradient(135deg, #dffbea 0%, #58c783 56%, #0f8a4d 100%));
  background-size: cover;
  background-position: center;
}

.article-body { display: flex; flex: 1; flex-direction: column; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.58)); }
.meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-2); }
.article-card h3 { margin-top: 14px; color: var(--text-strong); font-size: 21px; line-height: 1.22; }
.article-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.card-link { margin-top: auto; padding-top: 20px; color: var(--accent-dark); font-weight: 700; font-size: 13px; }

.reader {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.84);
}
.reader-cover {
  min-height: clamp(260px, 38vw, 470px);
  display: flex;
  align-items: flex-end;
  padding: clamp(26px, 5vw, 58px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(4, 73, 41, 0.12), rgba(3, 57, 34, 0.84)),
    var(--thumb, linear-gradient(135deg, #0a5b38 0%, #12a35d 68%, #caffd9 100%));
  background-size: cover;
  background-position: center;
}
.reader-cover h1 { max-width: 880px; margin-top: 16px; color: #fff; font-family: var(--font-display); font-size: clamp(42px, 7vw, 76px); line-height: 0.98; }
.reader-content { width: min(820px, calc(100% - 36px)); margin: 0 auto; padding: clamp(34px, 6vw, 72px) 0; }
.reader-content .source-link { display: inline-flex; margin-bottom: 22px; }

.prose { color: #183225; font-size: 18px; line-height: 1.86; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.45em; }
.prose img { max-width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-soft); }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose h2, .prose h3 { margin: 1.6em 0 .7em; color: var(--text-strong); line-height: 1.15; }
.prose blockquote { padding: 18px 22px; border-left: 4px solid var(--accent); background: rgba(235,255,243,.72); border-radius: 0 18px 18px 0; }

.empty-state {
  text-align: center;
  padding: clamp(34px, 7vw, 86px) clamp(20px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.76);
}
.empty-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 28px;
  color: var(--accent-dark);
  background: linear-gradient(145deg, #ecfff4, #ccfadd);
  font-size: 42px;
}
.empty-state h2 { color: var(--text-strong); font-family: var(--font-display); font-size: clamp(30px, 5vw, 48px); }
.empty-state p { max-width: 620px; margin: 14px auto 24px; color: var(--muted); line-height: 1.75; }

.category-board {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255,255,255,.78);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.category-card {
  padding: 18px;
  min-height: 124px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(238,255,245,.70));
  transition: .18s ease;
}
.category-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.category-card strong { color: var(--accent-dark); }
.category-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 28px; border-radius: var(--radius-lg); }
.panel h3 { color: var(--text-strong); font-size: 22px; margin-bottom: 10px; }
.panel p { margin: 0; color: var(--muted); line-height: 1.75; }

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed rgba(15, 138, 77, 0.30);
  border-radius: 18px;
  background: rgba(237, 255, 244, 0.82);
  color: #246744;
  line-height: 1.65;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 13px;
}
.footer strong { color: var(--text); margin-right: 8px; }
.footer a { color: var(--accent-dark); }

.skeleton-hero .line {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(219,255,233,.90), rgba(255,255,255,.45));
  background-size: 220% 100%;
  animation: shimmer 1.4s infinite linear;
}
.skeleton-hero .line { height: 16px; margin: 18px 0; }
.skeleton-hero .line.big { height: 64px; border-radius: 20px; }
.skeleton-hero .w-30 { width: 30%; }
.skeleton-hero .w-90 { width: 90%; }
.skeleton-hero .w-70 { width: 70%; }
@keyframes shimmer { to { background-position: -220% 0; } }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 18px, 1180px); }
  .topbar { top: 8px; margin-top: 8px; border-radius: 24px; align-items: flex-start; flex-wrap: wrap; }
  .brand-mark { width: 42px; height: 42px; border-radius: 16px; }
  .menu-button { display: inline-block; margin-left: auto; }
  .nav {
    order: 3;
    width: 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-radius: 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { text-align: center; }
  .app { padding-top: 28px; }
  .hero-copy { min-height: auto; padding: 26px 20px; border-radius: 26px; }
  .hero h1 { font-size: clamp(28px, 9vw, 42px); line-height: 1.08; }
  .hero p { font-size: 14px; line-height: 1.68; }
  .stats { grid-template-columns: 1fr; margin-top: 24px; }
  .searchbar { flex-direction: column; align-items: stretch; border-radius: 20px; }
  .button { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .article-thumb { min-height: 168px; }
  .article-body { padding: 16px; }
  .article-card h3 { font-size: 19px; }
  .section-head { display: block; }
  .footer { display: block; text-align: center; line-height: 1.8; }
  .footer strong, .footer span, .footer a { display: block; margin: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .reader-content { width: min(100% - 28px, 820px); }
  .reader-content .source-link { margin-left: 0 !important; }
  .prose { font-size: 16px; }
}

@media (max-width: 520px) {
  body {
    background:
      radial-gradient(circle at 8% 0%, rgba(128, 238, 167, 0.30), transparent 22rem),
      linear-gradient(135deg, #ffffff 0%, #f2fff8 58%, #eafff3 100%);
  }
  .topbar { padding: 9px; gap: 10px; }
  .brand { gap: 9px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 10px; }
  .brand-mark { width: 38px; height: 38px; font-size: 22px; }
  .menu-button { width: 40px; height: 40px; border-radius: 14px; }
  .app { padding-top: 20px; }
  .hero-copy { padding: 24px 18px; }
  .eyebrow { font-size: 11px; padding: 7px 10px; }
  .searchbar { margin-top: 22px; padding: 7px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .stat { padding: 13px 14px; border-radius: 17px; }
  .stat strong { font-size: 21px; }
  .section-head { margin-top: 32px; }
  .section-head h2 { font-size: clamp(28px, 9vw, 38px); }
  .section-head p { font-size: 14px; line-height: 1.65; }
  .empty-state { border-radius: 26px; }
}

/* Production editorial polish */
:root {
  --bg: #f7fff9;
  --card: rgba(255, 255, 255, 0.86);
  --text: #10251a;
  --text-strong: #07180f;
  --muted: #5e7266;
  --accent: #0a8d4d;
  --accent-dark: #045c34;
  --accent-2: #6bd795;
  --shadow: 0 28px 80px rgba(5, 82, 45, 0.13);
  --shadow-soft: 0 18px 46px rgba(5, 82, 45, 0.08);
}

body {
  background:
    radial-gradient(circle at 4% 0%, rgba(104, 222, 147, 0.26), transparent 26rem),
    radial-gradient(circle at 96% 4%, rgba(11, 141, 78, 0.13), transparent 30rem),
    linear-gradient(135deg, #ffffff 0%, #f7fff9 48%, #eafff2 100%);
}

.topbar {
  padding: 10px 12px;
  border-color: rgba(12, 107, 62, 0.10);
  background: rgba(255, 255, 255, 0.82);
}

.brand-mark {
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
}

.nav a {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app { padding-top: 42px; }

.hero-copy {
  min-height: 420px;
  border-radius: 40px;
  border-color: rgba(14, 115, 66, 0.10);
  background: rgba(255,255,255,.84);
}

.hero-copy::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(245,255,249,.54)),
    radial-gradient(circle at 90% 10%, rgba(97, 221, 140, .22), transparent 32%),
    radial-gradient(circle at 78% 88%, rgba(4, 119, 66, .10), transparent 30%);
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(34px, 5.2vw, 64px);
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 650px;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.78;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 700;
}

.searchbar {
  max-width: 680px;
  border-radius: 999px;
  padding: 7px;
}

.searchbar input { padding: 13px 16px; font-size: 14px; }
.button { border-radius: 999px; font-size: 13px; font-weight: 700; }

.hero-actions .button-soft {
  background: rgba(255,255,255,.74);
}

.stats {
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  max-width: 520px;
}

.stat {
  background: rgba(255,255,255,.64);
  border-radius: 19px;
}

.stat strong { font-size: 22px; }

.section-head {
  align-items: center;
  margin-top: 42px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.section-head p { font-size: 14px; max-width: 540px; }

.grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}

.article-card {
  border-radius: 28px;
  background: rgba(255,255,255,.88);
}

.article-thumb {
  min-height: 205px;
  border-bottom: 1px solid rgba(11, 108, 62, 0.08);
}

.article-body { padding: 20px; }
.article-card h3 { font-size: 22px; letter-spacing: -0.035em; }
.article-card p { font-size: 14px; }
.card-link { font-weight: 800; }

.category-board,
.empty-state,
.reader {
  border-color: rgba(14, 115, 66, 0.10);
}

.category-card {
  min-height: 118px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,255,246,.78));
}

.reader-cover h1 {
  max-width: 920px;
  font-size: clamp(34px, 6.2vw, 74px);
}

.prose {
  color: #13271c;
  font-size: 17px;
  line-height: 1.9;
}

.footer {
  border-top: 1px solid rgba(14, 115, 66, 0.08);
  margin-top: 12px;
}

@media (max-width: 980px) {
  .site-shell { width: min(100% - 22px, 1180px); }
  .hero-copy { min-height: 360px; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { border-radius: 24px; }
  .app { padding-top: 24px; }
  .hero-copy { border-radius: 28px; padding: 26px 20px; }
  .hero h1 { font-size: clamp(30px, 10vw, 44px); }
  .hero p { max-width: 100%; font-size: 13px; }
  .searchbar { border-radius: 22px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px 10px; text-align: center; }
  .stat strong { font-size: 18px; }
  .stat span { font-size: 10px; }
  .section-head { margin-top: 30px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .article-thumb { min-height: 160px; }
  .reader-cover { min-height: 300px; }
  .reader-cover h1 { font-size: clamp(32px, 10vw, 48px); }
}

@media (max-width: 430px) {
  .site-shell { width: min(100% - 14px, 1180px); }
  .topbar { padding: 8px; }
  .brand small { display: none; }
  .hero-copy { padding: 22px 16px; }
  .stats { grid-template-columns: 1fr; }
  .searchbar input { padding: 12px 10px; }
  .section-head h2 { font-size: 30px; }
  .empty-icon { width: 64px; height: 64px; font-size: 34px; }
  .empty-state h2 { font-size: 30px; }
}


/* Hero image production patch */
.home-hero {
  min-height: clamp(430px, 53vw, 570px);
  isolation: isolate;
  color: #f3fff7;
  border-color: rgba(178, 255, 204, 0.24);
  background:
    linear-gradient(102deg, rgba(2, 11, 8, 0.94) 0%, rgba(2, 32, 18, 0.82) 42%, rgba(4, 54, 32, 0.34) 72%, rgba(0, 0, 0, 0.16) 100%),
    url('/assets/hero-cuanpustaka.webp') center right / cover no-repeat;
  box-shadow: 0 34px 96px rgba(2, 45, 26, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: -28%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.78;
  background:
    radial-gradient(circle at 18% 30%, rgba(98, 255, 156, 0.20), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(196, 255, 218, 0.12), transparent 20%),
    linear-gradient(115deg, transparent 0%, rgba(111, 255, 167, 0.10) 42%, transparent 62%);
  transform: translate3d(0,0,0) rotate(0deg);
  animation: heroAura 12s ease-in-out infinite alternate;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: -12%;
  bottom: -24%;
  width: min(62vw, 720px);
  height: min(34vw, 380px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.85;
  background:
    radial-gradient(ellipse at center, rgba(142, 255, 178, 0.26), transparent 62%),
    linear-gradient(90deg, transparent, rgba(91, 255, 151, 0.24), transparent);
  filter: blur(1px);
  animation: heroWave 8.5s ease-in-out infinite alternate;
}

.home-hero > * { position: relative; z-index: 1; }

.home-hero .eyebrow {
  color: #dfffe9;
  border-color: rgba(201, 255, 218, 0.26);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 36px rgba(16, 255, 132, 0.12);
}

.home-hero .eyebrow::before {
  background: #88ffae;
  box-shadow: 0 0 0 6px rgba(136, 255, 174, 0.14), 0 0 26px rgba(136, 255, 174, 0.42);
}

.home-hero h1 {
  max-width: 620px;
  color: #ffffff;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.home-hero p {
  max-width: 560px;
  color: rgba(236, 255, 243, 0.82);
}

.home-hero .searchbar {
  max-width: 620px;
  border-color: rgba(207, 255, 222, 0.22);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 22px 55px rgba(0, 0, 0, .20);
  backdrop-filter: blur(20px);
}

.home-hero .searchbar input {
  color: #ffffff;
}

.home-hero .searchbar input::placeholder {
  color: rgba(232, 255, 239, 0.62);
}

.home-hero .hero-actions .button-soft {
  color: #effff5;
  border-color: rgba(207, 255, 222, 0.22);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.home-hero .hero-actions .button-soft:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-hero .stats {
  max-width: 500px;
}

.home-hero .stat {
  border-color: rgba(207, 255, 222, 0.19);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
}

.home-hero .stat strong {
  color: #bdffd1;
}

.home-hero .stat span {
  color: rgba(236, 255, 243, 0.72);
}

@keyframes heroAura {
  0% { transform: translate3d(-1.5%, -1%, 0) rotate(-2deg) scale(1); }
  100% { transform: translate3d(1.5%, 1%, 0) rotate(2deg) scale(1.04); }
}

@keyframes heroWave {
  0% { transform: translate3d(-2%, 0, 0) rotate(-4deg) scale(0.98); opacity: 0.58; }
  100% { transform: translate3d(4%, -4%, 0) rotate(3deg) scale(1.06); opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero::before,
  .home-hero::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .home-hero {
    min-height: 430px;
    background-position: center right;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    padding: 28px 20px 24px;
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(2, 12, 8, 0.92) 0%, rgba(2, 34, 19, 0.84) 58%, rgba(4, 62, 36, 0.42) 100%),
      url('/assets/hero-cuanpustaka.webp') 68% center / cover no-repeat;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 44px);
  }

  .home-hero p,
  .home-hero .searchbar {
    max-width: 100%;
  }

  .home-hero .stats {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .home-hero {
    padding: 24px 16px 20px;
    border-radius: 26px;
    background-position: 70% center;
  }
}

/* Article detail standardization v3 */
.reader-standard {
  display: grid;
  gap: 16px;
}

.reader-back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(14, 115, 66, 0.11);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(5, 82, 45, 0.07);
  backdrop-filter: blur(18px);
  font-size: 13px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.reader-back:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(5, 82, 45, 0.10);
}

.reader-back span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(10, 141, 77, 0.10);
}

.article-detail {
  overflow: hidden;
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(250,255,252,.94)),
    #ffffff;
  box-shadow: 0 32px 86px rgba(5, 82, 45, 0.12);
}

.article-hero-standard {
  position: relative;
  min-height: clamp(360px, 50vw, 600px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 6%, rgba(126, 255, 171, 0.24), transparent 28rem),
    linear-gradient(135deg, #03140c 0%, #084728 54%, #0fa15d 100%);
}

.article-hero-standard.has-cover {
  background:
    radial-gradient(circle at 24% 10%, rgba(151, 255, 188, 0.34), transparent 28rem),
    linear-gradient(110deg, rgba(2, 14, 8, 0.92) 0%, rgba(2, 35, 21, 0.78) 48%, rgba(5, 104, 59, 0.32) 100%),
    var(--article-cover) center / cover no-repeat;
}

.article-hero-standard::before,
.article-hero-standard::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.article-hero-standard::before {
  width: 560px;
  height: 560px;
  right: -160px;
  top: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(95, 233, 139, 0.24), transparent 68%);
}

.article-hero-standard::after {
  inset: auto -5% -20% -5%;
  height: 260px;
  background:
    radial-gradient(ellipse at 35% 100%, rgba(139, 255, 177, 0.32), transparent 56%),
    linear-gradient(90deg, transparent, rgba(168, 255, 196, 0.14), transparent);
  filter: blur(2px);
  opacity: .86;
}

.article-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(1, 15, 8, .28) 44%, rgba(1, 15, 8, .78) 100%),
    linear-gradient(90deg, rgba(1, 14, 8, .82) 0%, rgba(1, 14, 8, .42) 55%, rgba(1, 14, 8, .10) 100%);
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100% - 44px));
  padding: clamp(32px, 6vw, 74px);
}

.article-kicker {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(211, 255, 224, 0.22);
  border-radius: 999px;
  color: #c8ffd9;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 800;
}

.article-chip-row { margin-bottom: 16px; }
.article-chip-row .chip {
  border-color: rgba(223, 255, 233, 0.23);
  color: rgba(240, 255, 245, 0.92);
  background: rgba(255, 255, 255, 0.10);
}

.article-hero-standard h1 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.6vw, 82px);
  line-height: .98;
  letter-spacing: -0.062em;
  text-shadow: 0 24px 54px rgba(0,0,0,.36);
}

.article-dek {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(239, 255, 244, 0.82);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.78;
}

.article-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(211, 255, 224, 0.18);
  border-radius: 999px;
  color: rgba(239, 255, 244, 0.78);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  font-size: 12px;
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  width: min(1100px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(32px, 5.5vw, 70px) 0 clamp(38px, 6vw, 82px);
}

.reader-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.reader-card {
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,255,246,.76));
  box-shadow: 0 16px 42px rgba(5, 82, 45, 0.07);
  backdrop-filter: blur(18px);
}

.reader-summary-card {
  padding: 20px;
}

.reader-card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.reader-summary-card strong {
  display: block;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.reader-summary-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.reader-meta-card {
  padding: 8px;
}

.reader-meta-card span {
  display: block;
  padding: 12px;
  color: var(--text);
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.45;
}

.reader-meta-card span + span {
  border-top: 1px solid rgba(14, 115, 66, 0.08);
}

.reader-meta-card b {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.reader-toc {
  padding: 16px;
}

.reader-toc a {
  display: block;
  padding: 9px 0;
  color: var(--accent-dark);
  font-size: 13px;
  line-height: 1.45;
  border-top: 1px solid rgba(14, 115, 66, 0.08);
}

.reader-toc a:first-of-type { border-top: 0; }
.reader-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }

.article-share-button {
  width: 100%;
  min-height: 44px;
}

.reader-main {
  min-width: 0;
}

.article-standard-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(10, 141, 77, 0.08);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.prose-standard {
  color: #13271c;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.92;
  overflow-wrap: anywhere;
}

.prose-standard > *:first-child { margin-top: 0; }
.prose-standard > *:last-child { margin-bottom: 0; }

.prose-standard p {
  margin: 0 0 1.45em;
}

.prose-standard > p:first-of-type {
  color: #173121;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.85;
}

.prose-standard > p:first-of-type::first-letter {
  float: left;
  padding: 8px 9px 0 0;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 4.25em;
  line-height: .78;
}

.prose-standard h2,
.prose-standard h3,
.prose-standard h4 {
  scroll-margin-top: 110px;
  margin: 2.1em 0 .72em;
  color: var(--text-strong);
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.prose-standard h2 {
  position: relative;
  padding-top: 18px;
  font-size: clamp(28px, 3.5vw, 44px);
}

.prose-standard h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(107, 215, 149, 0.34));
}

.prose-standard h3 { font-size: clamp(23px, 2.6vw, 32px); }
.prose-standard h4 { font-size: clamp(20px, 2vw, 25px); }

.prose-standard ul,
.prose-standard ol {
  margin: 0 0 1.55em;
  padding-left: 1.25em;
}

.prose-standard li {
  margin: .48em 0;
  padding-left: .18em;
}

.prose-standard li::marker {
  color: var(--accent);
  font-weight: 800;
}

.prose-standard blockquote {
  position: relative;
  margin: 2em 0;
  padding: 24px 26px 24px 28px;
  border: 1px solid rgba(14, 115, 66, 0.11);
  border-left: 5px solid var(--accent);
  border-radius: 24px;
  color: #183225;
  background:
    radial-gradient(circle at 92% 10%, rgba(110, 230, 151, 0.22), transparent 16rem),
    linear-gradient(145deg, rgba(244, 255, 249, 0.94), rgba(255,255,255,.86));
  box-shadow: 0 18px 46px rgba(5, 82, 45, 0.07);
}

.prose-standard blockquote p:last-child { margin-bottom: 0; }

.prose-standard figure {
  margin: 2.2em 0;
}

.prose-standard img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(14, 115, 66, 0.10);
  box-shadow: 0 24px 62px rgba(5, 82, 45, 0.12);
  background: #f4fff8;
}

.prose-standard figcaption {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.prose-standard a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.prose-standard hr {
  height: 1px;
  margin: 2.4em 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(14, 115, 66, 0.20), transparent);
}

.prose-standard table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(5, 82, 45, 0.06);
}

.prose-standard th,
.prose-standard td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(14, 115, 66, 0.08);
  text-align: left;
  vertical-align: top;
}

.prose-standard th {
  color: var(--accent-dark);
  background: rgba(10, 141, 77, 0.07);
}

.prose-standard code {
  padding: 3px 6px;
  border-radius: 8px;
  color: #064127;
  background: rgba(10, 141, 77, 0.09);
  font-size: .92em;
}

.prose-standard pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 22px;
  color: #eafff2;
  background: #06170f;
  box-shadow: 0 18px 46px rgba(5, 82, 45, 0.14);
}

.prose-standard pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.article-signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(34px, 5vw, 62px);
  padding: 20px;
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(93, 221, 139, 0.18), transparent 16rem),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,255,246,.78));
  box-shadow: 0 18px 46px rgba(5, 82, 45, 0.07);
}

.article-signoff span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.article-signoff strong {
  display: block;
  margin-top: 4px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.04em;
}

@media (max-width: 980px) {
  .reader-layout {
    grid-template-columns: 1fr;
    width: min(860px, calc(100% - 36px));
  }

  .reader-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reader-toc,
  .article-share-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .reader-standard { gap: 12px; }
  .reader-back { width: 100%; justify-content: center; }
  .article-detail { border-radius: 30px; }
  .article-hero-standard { min-height: auto; }
  .article-hero-inner {
    width: 100%;
    padding: 32px 20px 28px;
  }
  .article-hero-standard h1 {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.04;
  }
  .article-dek { font-size: 14px; line-height: 1.72; }
  .article-meta-strip {
    width: 100%;
    justify-content: center;
    border-radius: 22px;
  }
  .reader-layout {
    width: min(100% - 28px, 860px);
    padding-top: 26px;
  }
  .reader-sidebar { grid-template-columns: 1fr; }
  .prose-standard {
    font-size: 16px;
    line-height: 1.86;
  }
  .prose-standard > p:first-of-type {
    font-size: 17px;
  }
  .prose-standard > p:first-of-type::first-letter {
    font-size: 3.4em;
    padding-top: 6px;
  }
  .prose-standard h2 { font-size: clamp(27px, 8vw, 36px); }
  .prose-standard h3 { font-size: clamp(22px, 7vw, 29px); }
  .prose-standard blockquote { padding: 20px; border-radius: 22px; }
  .prose-standard img { border-radius: 22px; }
  .article-signoff {
    display: grid;
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .article-detail { border-radius: 26px; }
  .article-hero-inner { padding: 28px 16px 24px; }
  .article-kicker { font-size: 9px; letter-spacing: .11em; }
  .article-meta-strip { font-size: 11px; gap: 8px; }
  .reader-layout { width: min(100% - 22px, 860px); }
  .reader-card { border-radius: 21px; }
  .prose-standard figure { margin: 1.8em 0; }
  .prose-standard blockquote { margin: 1.65em 0; }
}

.reader-toc button {
  display: block;
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid rgba(14, 115, 66, 0.08);
  color: var(--accent-dark);
  background: transparent;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.reader-toc button:first-of-type { border-top: 0; }
.reader-toc button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Production polish v4: remove hero counters and refine article reading page */
.home-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: clamp(440px, 52vw, 640px);
  padding-top: clamp(46px, 7vw, 86px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.home-hero .stats,
.stats[aria-label="Statistik artikel"] {
  display: none !important;
}

.home-hero h1 {
  margin-top: 18px;
  max-width: 680px;
}

.home-hero p {
  margin-top: 16px;
  max-width: 610px;
  font-size: clamp(13px, 1.25vw, 15px);
}

.home-hero .searchbar {
  margin-top: 26px;
}

.home-hero .hero-actions {
  margin-top: 16px;
}

.article-detail {
  border-radius: 38px;
  background:
    radial-gradient(circle at 8% 0%, rgba(105, 231, 147, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,255,251,.96));
}

.article-hero-standard {
  min-height: clamp(330px, 46vw, 560px);
}

.article-hero-standard::before {
  animation: articleGlowFloat 8s ease-in-out infinite alternate;
}

.article-hero-inner {
  width: min(980px, calc(100% - 44px));
  padding-left: clamp(30px, 5.5vw, 68px);
  padding-right: clamp(30px, 5.5vw, 68px);
}

.article-kicker {
  color: #d7ffe3;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(216, 255, 228, 0.18);
  font-weight: 700;
}

.article-chip-row {
  margin-bottom: 14px;
}

.article-hero-standard h1 {
  max-width: 960px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
}

.article-dek {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(243, 255, 247, 0.84);
}

.article-meta-strip {
  margin-top: 22px;
  padding: 10px 13px;
  border-radius: 18px;
  color: rgba(242, 255, 246, 0.80);
}

.reader-layout {
  grid-template-columns: minmax(190px, 255px) minmax(0, 1fr);
  gap: clamp(24px, 4.4vw, 58px);
  width: min(1120px, calc(100% - 44px));
}

.reader-sidebar {
  gap: 14px;
}

.reader-meta-card-polished {
  padding: 10px;
  background:
    radial-gradient(circle at 88% 10%, rgba(103, 225, 145, 0.16), transparent 12rem),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(240,255,247,.80));
}

.reader-meta-card-polished span {
  padding: 13px 12px;
  border-radius: 16px;
}

.reader-meta-card-polished span:hover {
  background: rgba(10, 141, 77, 0.055);
}

.reader-toc {
  padding: 18px;
}

.reader-toc .reader-card-label {
  margin-bottom: 8px;
}

.reader-toc button {
  padding: 10px 0;
  color: #0a633a;
}

.article-share-button {
  min-height: 42px;
  border-radius: 16px;
  font-size: 12px;
  box-shadow: 0 12px 28px rgba(5, 82, 45, 0.06);
}

.article-reading-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.article-reading-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(10, 141, 77, 0.06);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-reading-head span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(10, 141, 77, 0.10);
}

.article-reading-head i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(10, 141, 77, 0.24), transparent);
}

.prose-standard {
  max-width: 780px;
}

.prose-standard p {
  color: #173121;
}

.prose-standard > p:first-of-type {
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(10, 141, 77, 0.28);
}

.prose-standard > p:first-of-type::first-letter {
  float: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.article-signoff {
  max-width: 780px;
  border-radius: 24px;
}

@keyframes articleGlowFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .72; }
  100% { transform: translate3d(-22px, 18px, 0) scale(1.05); opacity: .96; }
}

@media (prefers-reduced-motion: reduce) {
  .article-hero-standard::before { animation: none; }
}

@media (max-width: 980px) {
  .reader-layout {
    grid-template-columns: 1fr;
    width: min(880px, calc(100% - 34px));
  }

  .reader-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .reader-meta-card-polished {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reader-meta-card-polished span + span {
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    padding: 30px 20px 26px;
  }

  .home-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-detail {
    border-radius: 28px;
  }

  .article-hero-inner {
    width: 100%;
    padding: 30px 20px 26px;
  }

  .article-chip-row .chip:nth-child(n+3) {
    display: none;
  }

  .article-meta-strip {
    justify-content: flex-start;
    border-radius: 18px;
  }

  .reader-meta-card-polished {
    grid-template-columns: 1fr;
  }

  .reader-layout {
    width: min(100% - 24px, 880px);
    padding-top: 24px;
  }

  .reader-toc {
    display: none;
  }

  .prose-standard {
    max-width: 100%;
  }

  .article-signoff {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .article-meta-strip .dot,
  .article-meta-strip span:last-child {
    display: none;
  }

  .reader-back {
    padding: 9px 12px;
  }
}


/* Disclaimer page — production editorial / hacker-clean style */
.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent-dark);
}

.disclaimer-page {
  position: relative;
  display: grid;
  gap: 24px;
}

.disclaimer-page::before {
  content: "";
  position: absolute;
  inset: -22px -18px auto -18px;
  height: 520px;
  pointer-events: none;
  border-radius: 42px;
  opacity: .2;
  background-image:
    linear-gradient(rgba(7, 95, 62, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 95, 62, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  z-index: -1;
}

.disclaimer-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(236,255,244,.78)),
    radial-gradient(circle at 82% 18%, rgba(19,164,99,.24), transparent 25rem),
    radial-gradient(circle at 8% 88%, rgba(7,95,62,.12), transparent 22rem),
    linear-gradient(145deg, rgba(7,95,62,.08), transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.disclaimer-hero::after {
  content: "0101  DISCLAIMER  /  SAFE_READ  /  EDITORIAL_MODE  /  2026";
  position: absolute;
  right: -116px;
  bottom: 34px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .22em;
  white-space: nowrap;
  color: rgba(7, 95, 62, .28);
  transform: rotate(-8deg);
}

.disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(19,164,99,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.disclaimer-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(19,164,99,.55);
  animation: disclaimerPulse 1.9s infinite;
}

@keyframes disclaimerPulse {
  0% { box-shadow: 0 0 0 0 rgba(19,164,99,.52); }
  70% { box-shadow: 0 0 0 13px rgba(19,164,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(19,164,99,0); }
}

.disclaimer-hero h1 {
  max-width: 830px;
  margin: 24px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(46px, 8vw, 94px);
  line-height: .92;
  letter-spacing: -.075em;
  color: var(--text-strong);
}

.disclaimer-hero p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.75;
}

.disclaimer-terminal {
  margin-top: 30px;
  max-width: 760px;
  border: 1px solid rgba(7,95,62,.16);
  border-radius: 22px;
  background: #07150f;
  color: #c8ffe1;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(7,21,15,.22);
}

.disclaimer-terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.disclaimer-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(200,255,225,.45);
}

.disclaimer-terminal pre {
  margin: 0;
  padding: 18px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  color: rgba(219,255,234,.92);
}

.disclaimer-terminal pre span { color: #50f5a7; }

.disclaimer-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.disclaimer-toc,
.disclaimer-article,
.disclaimer-footer-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: 0 22px 68px rgba(7,95,62,.10);
  backdrop-filter: blur(16px);
}

.disclaimer-toc {
  position: sticky;
  top: 96px;
  border-radius: 26px;
  padding: 20px;
}

.disclaimer-toc p {
  margin: 0 0 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent-dark);
  text-transform: uppercase;
}

.disclaimer-toc button {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(7,95,62,.09);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.disclaimer-toc button:hover {
  color: var(--accent-dark);
  transform: translateX(4px);
}

.disclaimer-article {
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
}

.disclaimer-article section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(7,95,62,.11);
}

.disclaimer-article h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #082118;
}

.disclaimer-article p {
  margin: 0 0 15px;
  color: #33453d;
  font-size: 16px;
  line-height: 1.82;
}

.disclaimer-article ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.disclaimer-article li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(7,95,62,.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236,255,244,.62), rgba(255,255,255,.82));
  color: #33453d;
}

.disclaimer-article li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--accent);
  font-weight: 700;
}

.disclaimer-notice {
  margin-top: 24px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(19,164,99,.22);
  background:
    linear-gradient(135deg, rgba(7,95,62,.92), rgba(10,124,75,.88)),
    radial-gradient(circle at top right, rgba(80,245,167,.34), transparent 14rem);
  color: #eafff3;
}

.disclaimer-notice strong {
  display: block;
  margin-bottom: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b8ffd9;
}

.disclaimer-notice p {
  margin-bottom: 0;
  color: rgba(234,255,243,.9);
}

.disclaimer-footer-card {
  padding: 22px;
  border-radius: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.disclaimer-footer-card b {
  color: var(--accent-dark);
  font-weight: 650;
}

@media (max-width: 860px) {
  .disclaimer-grid { grid-template-columns: 1fr; }
  .disclaimer-toc { position: static; border-radius: 22px; }
  .disclaimer-toc button { display: inline-flex; margin-right: 12px; border-bottom: 0; }
}

@media (max-width: 520px) {
  .disclaimer-page { gap: 18px; }
  .disclaimer-hero { min-height: auto; padding: 24px 20px; border-radius: 24px; }
  .disclaimer-hero::after { display: none; }
  .disclaimer-badge { font-size: 10px; padding: 7px 11px; }
  .disclaimer-hero h1 { margin-top: 20px; font-size: 46px; letter-spacing: -.06em; }
  .disclaimer-terminal pre { font-size: 11px; padding: 15px; }
  .disclaimer-article { padding: 22px 18px; border-radius: 24px; }
  .disclaimer-article p,
  .disclaimer-article li { font-size: 14.5px; }
}

/* Article detail readability patch v5 — editorial formatter */
.reader-redesign {
  gap: 18px;
}

.reader-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-share-button-top {
  width: auto;
  min-width: 118px;
  min-height: 42px;
  padding-inline: 16px;
}

.article-detail-redesign {
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 6% 0%, rgba(93, 221, 139, 0.10), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,255,251,.98));
  box-shadow: 0 30px 82px rgba(5, 82, 45, 0.12);
}

.article-hero-redesign {
  min-height: clamp(300px, 40vw, 480px);
}

.article-hero-redesign.has-cover {
  background:
    linear-gradient(180deg, rgba(1, 12, 7, .20) 0%, rgba(1, 12, 7, .72) 100%),
    linear-gradient(100deg, rgba(2, 16, 9, 0.92) 0%, rgba(3, 44, 25, 0.78) 52%, rgba(10, 141, 77, 0.28) 100%),
    var(--article-cover) center / cover no-repeat;
}

.article-hero-inner-redesign {
  width: min(940px, calc(100% - 40px));
  padding: clamp(30px, 5.4vw, 62px);
}

.article-hero-redesign h1 {
  max-width: 860px;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.article-meta-strip-redesign {
  margin-top: 20px;
  border-radius: 999px;
}

.article-reading-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) 0 clamp(36px, 6vw, 76px);
}

.article-lead-card {
  margin: 0 0 clamp(20px, 3vw, 30px);
  padding: clamp(20px, 3.2vw, 30px);
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 6%, rgba(110, 230, 151, 0.18), transparent 15rem),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,255,247,.82));
  box-shadow: 0 18px 46px rgba(5, 82, 45, 0.07);
}

.article-lead-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-lead-card p {
  margin: 0;
  color: #153321;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.82;
}

.article-toc-inline {
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: 14px;
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(5, 82, 45, 0.05);
}

.article-toc-inline > span {
  display: block;
  margin: 2px 4px 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-toc-inline div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-toc-inline button {
  border: 1px solid rgba(14, 115, 66, 0.10);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--accent-dark);
  background: rgba(244, 255, 249, 0.86);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
}

.article-toc-inline button:hover {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(5, 82, 45, 0.07);
}

.reader-main-centered {
  max-width: 820px;
  margin: 0 auto;
}

.article-reading-head-redesign {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.prose-clean {
  max-width: 100%;
  color: #142b1d;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.88;
  letter-spacing: -0.004em;
}

.prose-clean p {
  margin: 0 0 1.28em;
  max-width: 72ch;
  color: #173121;
}

.prose-clean p + p {
  margin-top: -0.18em;
}

.prose-clean > p:first-of-type {
  padding: 0;
  border-left: 0;
  color: #122d1d;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.82;
}

.prose-clean > p:first-of-type::first-letter {
  float: left;
  padding: 7px 10px 0 0;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 4em;
  line-height: .82;
}

.prose-clean h2,
.prose-clean h3,
.prose-clean h4 {
  max-width: 70ch;
  scroll-margin-top: 110px;
}

.prose-clean h2 {
  margin-top: 2.15em;
  margin-bottom: .72em;
  padding-top: 20px;
  font-size: clamp(28px, 3.3vw, 42px);
}

.prose-clean h3 {
  margin-top: 1.85em;
  margin-bottom: .65em;
}

.prose-clean ul,
.prose-clean ol {
  max-width: 70ch;
  margin: 0 0 1.5em;
  padding-left: 1.3em;
}

.prose-clean li {
  margin: .52em 0;
  padding-left: .15em;
}

.prose-clean blockquote {
  max-width: 76ch;
  margin: 2em 0;
}

.prose-clean figure {
  width: min(100%, 940px);
  margin: 2.2em auto;
}

.prose-clean img {
  object-fit: cover;
  max-height: 560px;
}

.prose-clean table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.prose-clean p:empty,
.prose-clean div:empty,
.prose-clean span:empty {
  display: none;
}

.article-signoff-redesign {
  max-width: 100%;
  margin-top: clamp(34px, 5vw, 60px);
}

@media (max-width: 760px) {
  .reader-top-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-share-button-top {
    width: 100%;
  }

  .article-detail-redesign {
    border-radius: 28px;
  }

  .article-hero-redesign {
    min-height: auto;
  }

  .article-hero-inner-redesign {
    width: 100%;
    padding: 30px 20px 26px;
  }

  .article-hero-redesign h1 {
    font-size: clamp(31px, 10vw, 46px);
    line-height: 1.06;
  }

  .article-reading-shell {
    width: min(100% - 24px, 900px);
    padding-top: 24px;
  }

  .article-toc-inline {
    display: none;
  }

  .prose-clean {
    font-size: 16px;
    line-height: 1.82;
  }

  .prose-clean p {
    margin-bottom: 1.18em;
  }

  .prose-clean > p:first-of-type {
    font-size: 17px;
  }

  .prose-clean > p:first-of-type::first-letter {
    float: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
  }

  .prose-clean h2 {
    margin-top: 1.75em;
    font-size: clamp(26px, 8vw, 35px);
  }

  .article-lead-card {
    border-radius: 22px;
    padding: 18px;
  }

  .article-lead-card p {
    font-size: 15px;
    line-height: 1.72;
  }
}

@media (max-width: 430px) {
  .article-meta-strip-redesign {
    width: 100%;
    justify-content: flex-start;
  }

  .article-reading-shell {
    width: min(100% - 18px, 900px);
  }

  .prose-clean blockquote {
    padding: 18px;
  }
}
