:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --primary-light: #ffe4e6;
  --primary-ring: rgba(225, 29, 72, 0.22);

  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --success: #7c3aed;
  --success-light: #ede9fe;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --warning: #ea580c;
  --warning-light: #ffedd5;

  --ink: #2d1b2e;
  --ink-soft: #5b4a5c;
  --ink-muted: #9c8ea0;

  --surface: #ffffff;
  --surface-soft: #fff8f6;
  --surface-tint: #ffeede;
  --border: #f0d9d2;
  --border-strong: #e0c0b8;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(45, 27, 46, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(45, 27, 46, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(45, 27, 46, 0.14);
  --shadow-lg: 0 24px 60px -20px rgba(45, 27, 46, 0.22);
  --shadow-glow: 0 12px 40px -12px rgba(225, 29, 72, 0.45);

  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }

body {
  background-color: #fff5f2;
  font-family: var(--font);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
}

body::before {
  width: 620px; height: 620px;
  top: -240px; left: -180px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.32), transparent 65%);
}

body::after {
  width: 560px; height: 560px;
  top: 120px; right: -220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.30), transparent 65%);
}

main, nav.site-nav, footer.site-footer { position: relative; z-index: 1; }
main { flex-grow: 1; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }

/* NAVBAR */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.9rem 0;
  background: transparent;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  padding: 0.4rem;
  box-shadow: 0 12px 32px -14px rgba(45, 27, 46, 0.22), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  position: relative;
  overflow: hidden;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%);
  pointer-events: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.32rem 1rem 0.32rem 0.4rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(240, 217, 210, 0.9);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  min-width: 0;
  transform: translateY(-1px);
}

.nav-brand:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(225, 29, 72, 0.35);
  transform: translateY(-1px);
  color: var(--ink);
}

.nav-brand .brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px -4px rgba(225, 29, 72, 0.55);
  flex-shrink: 0;
}

.nav-brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand .brand-text strong {
  font-size: 0.95rem; font-weight: 800;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-brand .brand-text small { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff; font-weight: 800; font-size: 0.82rem; text-decoration: none; padding: 0.55rem 1.1rem; border-radius: var(--radius-pill); box-shadow: 0 8px 20px -8px rgba(225, 29, 72, 0.65); transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-left: auto;
}
.nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(225, 29, 72, 0.7); }

/* ARTICLE STYLES */
.article-wrap { max-width: 860px; margin: 0 auto; background: var(--surface); padding: 3rem; border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.article-kicker { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.28); padding: 0.36rem 0.8rem; border-radius: var(--radius-pill); margin-bottom: 1rem; }
.article-body h1.article-title { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); margin: 0 0 1rem; }
.article-body h2 { font-weight: 800; color: var(--ink); font-size: 1.38rem; letter-spacing: -0.028em; margin: 2.5rem 0 0.85rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.article-body h3 { font-weight: 700; color: var(--ink); font-size: 1.15rem; margin: 1.5rem 0 0.55rem; }
.article-body p, .article-body li { margin-bottom: 1.1rem; line-height: 1.75; color: var(--ink-soft); font-size: 1.05rem; }
.article-body ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.article-body a:hover { color: var(--primary-hover); }

/* FOOTER */
footer.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2.6rem 0 1.6rem; margin-top: 4rem; }
footer.site-footer .brand-mark { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #fff; box-shadow: 0 4px 12px -4px rgba(225, 29, 72, 0.55); flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 1.8rem; }
.footer-brandline { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--ink); margin-bottom: 0.55rem; font-size: 1rem; }
.footer-tag { font-size: 0.85rem; line-height: 1.6; color: var(--ink-muted); max-width: 320px; margin: 0; }
.footer-col-title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); margin-bottom: 0.7rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.footer-links a { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; transition: color 0.16s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--ink-muted); }

@media (max-width: 767.98px) {
  .article-wrap { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  body::before, body::after { display: none; }
  .nav-cta { display: none; }
}