:root {
  --bg: #f3eef8;
  --surface: rgba(255, 255, 255, 0.94);
  --ink: #24183a;
  --muted: #685b79;
  --line: rgba(36, 24, 58, 0.12);
  --accent: #5b2c83;
  --accent-deep: #3c195e;
  --highlight: #8fb8ff;
  --shadow: 0 18px 45px rgba(36, 24, 58, 0.12);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: radial-gradient(circle at top right, rgba(91, 44, 131, 0.18), transparent 34%), linear-gradient(180deg, #f7fbfb, var(--bg) 48%, #f4f7f7);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: linear-gradient(rgba(17, 50, 65, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 50, 65, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.site-header { padding: 1rem 0; }
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(17, 50, 65, 0.09);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; font-weight: 700; text-decoration: none; }
.brand-mark { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border-radius: 8px; background: #111318; box-shadow: 0 0 0 4px rgba(17, 19, 24, 0.08); }
.brand-mark img { width: 1.82rem; height: 1.82rem; filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text span { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; color: var(--muted); font-size: 0.92rem; }
.nav-links a { min-height: 2.35rem; display: inline-flex; align-items: center; padding: 0.55rem 0.8rem; border-radius: 8px; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(91, 44, 131, 0.07); }
.nav-links .button { margin-left: 0.35rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.nav-toggle { display: none; width: 2.7rem; height: 2.7rem; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.post-section { padding: clamp(2.25rem, 5vw, 4.5rem) 0 5rem; }
.post-article { max-width: 900px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(91, 44, 131, 0.13); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.post-hero { position: relative; padding: clamp(2rem, 5vw, 3.75rem); color: #fff; background: linear-gradient(135deg, #28133f, var(--accent-deep) 58%, var(--accent)); }
.post-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--highlight), rgba(143, 184, 255, 0.12), transparent); }
.eyebrow { display: inline-flex; padding: 0.36rem 0.72rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 0.75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 1rem 0 0; font-size: clamp(2.1rem, 5vw, 3.85rem); line-height: 1.05; letter-spacing: -.035em; }
.post-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin: 1.25rem 0 0; color: rgba(255,255,255,.76); font-size: .88rem; font-weight: 700; }
.post-meta span, .post-meta time { overflow-wrap: anywhere; }
.post-body { min-width: 0; padding: clamp(1.5rem, 4.5vw, 3.5rem); font-size: 1.05rem; overflow-wrap: break-word; }
.post-body > * { max-width: 740px; margin-inline: auto; }
.post-body h2 { margin-top: 2.7rem; margin-bottom: .75rem; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.22; letter-spacing: -.015em; }
.post-body h3 { margin-top: 1.8rem; margin-bottom: .5rem; font-size: 1.25rem; }
.post-body p { margin-top: 0; margin-bottom: 1.2rem; }
.post-body ul, .post-body ol { margin-top: 0; margin-bottom: 1.4rem; padding-left: 1.35rem; }
.post-body li { margin-bottom: .55rem; }
.post-body a { color: var(--accent-deep); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.post-body figure { max-width: 760px; margin-top: 2.4rem; margin-bottom: 2.6rem; }
.post-body figure img { width: 100%; height: clamp(220px, 38vw, 380px); object-fit: cover; object-position: top center; border: 1px solid var(--line); border-radius: 12px; background: #2168ad; box-shadow: 0 14px 28px rgba(36,24,58,.11); }
.post-body figcaption { max-width: 620px; margin: .8rem auto 0; color: var(--muted); font-size: .86rem; line-height: 1.5; text-align: center; }
.answer-box, .warning-box, .note-box, .cta-box { max-width: 760px; margin-top: 1.6rem; margin-bottom: 1.6rem; padding: 1.25rem 1.35rem; border-radius: 16px; }
.answer-box { border: 1px solid rgba(91,44,131,.18); background: linear-gradient(135deg, rgba(91,44,131,.08), rgba(143,184,255,.13)); }
.warning-box { border: 1px solid rgba(188,90,42,.25); background: rgba(255,235,218,.7); }
.note-box { border-left: 4px solid var(--accent); background: rgba(91,44,131,.06); }
.cta-box { border: 1px solid rgba(91,44,131,.16); background: #fff; box-shadow: 0 16px 34px rgba(36,24,58,.08); }
.cta-box .cta-title { margin: 0 0 .45rem; color: var(--accent-deep); font-size: 1.05rem; font-weight: 850; }
.cta-box .cta-link { display: inline-flex; margin-top: .25rem; color: var(--accent-deep); font-weight: 850; border-bottom: 2px solid var(--highlight); }
.answer-box p:last-child, .warning-box p:last-child, .note-box p:last-child, .cta-box p:last-child { margin-bottom: 0; }
.step-list { counter-reset: steps; padding: 0 !important; list-style: none; }
.step-list li { position: relative; min-height: 2.5rem; padding-left: 3rem; }
.step-list li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: -.15rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: .85rem; font-weight: 800; }
.sources { padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .94rem; }
.back-link { display: inline-flex; margin-top: 2rem; color: var(--accent-deep); font-weight: 800; }
.footer { padding: 0 0 1.5rem; color: rgba(255,255,255,.72); }
.footer-shell { overflow: hidden; border-radius: 24px; background: linear-gradient(180deg, #321650, #1b0b2d); box-shadow: 0 24px 55px rgba(36,24,58,.2); }
.footer-content { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 2rem; padding: clamp(1.8rem,4vw,3rem); }
.footer-brand-head { display: flex; align-items: center; gap: .75rem; }
.footer-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand-copy strong { color: #fff; }
.footer-brand-copy span { font-size: .8rem; }
.footer-brand p { max-width: 34rem; }
.footer-section { display: flex; flex-direction: column; gap: .6rem; }
.footer-section h2 { margin: 0 0 .25rem; color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-section a { width: fit-content; color: inherit; font-size: .94rem; font-weight: 600; text-decoration: none; }
.footer-section a:hover { color: var(--highlight); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.8rem,4vw,3rem) 1.15rem; border-top: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) {
  .site-header { padding: .55rem 0; }
  .nav-bar { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: .75rem; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; grid-column: 1/-1; flex-direction: column; align-items: stretch; padding-top: .5rem; border-top: 1px solid var(--line); }
  .nav-bar.is-open .nav-links { display: flex; }
  .nav-links a { width: 100%; justify-content: center; }
  .nav-links .button { margin-left: 0; }
  .brand-text span { display: none; }
  .post-section { padding-top: 2rem; }
  .post-article { border-radius: 16px; }
  .post-body { padding: 1.25rem; font-size: 1rem; }
  .post-body figure { width: calc(100% + .5rem); margin: 2rem -.25rem 2.35rem; }
  .post-body figure img { border-radius: 10px; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms !important; } }
