:root {
  --paper: #f4f0e8;
  --paper-soft: #f8f5ef;
  --paper-deep: #e9e1d5;
  --ink: #171513;
  --muted: #625c56;
  --accent: #8d2f2a;
  --line: #d8cfc2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248,245,239,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #4f4944; font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta { padding: 10px 16px; border-radius: 4px; background: var(--accent); color: #fff !important; font-weight: 700; }

.article-hero {
  padding: 92px 24px 72px;
  border-bottom: 1px solid var(--line);
}
.article-hero-inner { max-width: 960px; margin: 0 auto; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3, .serif { font-family: 'Newsreader', Georgia, serif; font-weight: 400; }
h1 {
  margin: 18px 0 24px;
  font-size: clamp(52px, 6.2vw, 82px);
  line-height: 0.99;
  letter-spacing: 0.008em;
  word-spacing: 0.07em;
}
.dek { max-width: 820px; margin: 0; color: var(--muted); font-size: 21px; line-height: 1.6; }
.byline { margin-top: 34px; color: #756e68; font-size: 13px; }
.back-link { display: inline-flex; margin-bottom: 30px; color: var(--accent); font-size: 13px; font-weight: 700; }

.article-main { padding: 70px 24px 94px; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p, .article-body li { color: #3f3a36; font-size: 18px; line-height: 1.75; }
.article-body p { margin: 0 0 24px; }
.article-body .lead { color: var(--ink); font-family: 'Newsreader', Georgia, serif; font-size: 30px; line-height: 1.4; }
.article-body h2 { margin: 62px 0 20px; font-size: 44px; line-height: 1.08; }
.article-body h3 { margin: 34px 0 10px; font-size: 29px; line-height: 1.15; }
.article-body ul { margin: 0 0 28px; padding-left: 24px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wide-figure { max-width: 1040px; margin: 56px auto; padding: 0 24px; }
.wide-figure img { width: 100%; border: 1px solid var(--line); border-radius: 10px; }
.figure-caption { margin-top: 12px; color: #786f68; font-size: 12px; line-height: 1.5; }

.framework {
  margin: 44px 0;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}
.framework-label { margin-bottom: 20px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.framework-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.framework-step { padding: 18px; border-top: 2px solid var(--accent); background: rgba(248,245,239,0.7); }
.framework-step span { display: block; margin-bottom: 22px; color: var(--accent); font-size: 12px; font-weight: 700; }
.framework-step strong { font-family: 'Newsreader', Georgia, serif; font-size: 23px; font-weight: 400; }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 44px; }
.role-card { padding: 22px; border: 1px solid var(--line); background: var(--paper-soft); }
.role-card .number { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.role-card h3 { margin: 18px 0 9px; font-size: 25px; }
.role-card p { margin: 0; font-size: 14px; line-height: 1.6; }

.document-panel { max-width: 980px; margin: 50px auto; padding: 0 24px; display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 36px; align-items: center; }
.document-preview { max-height: 570px; overflow: hidden; padding: 22px 22px 0; border: 1px solid var(--line); background: var(--paper-deep); }
.document-preview img { box-shadow: 0 12px 34px rgba(45,35,26,0.13); }
.document-copy h2 { margin: 12px 0 15px; font-size: 40px; line-height: 1.05; }
.document-copy p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.button { display: inline-flex; margin-top: 14px; padding: 13px 18px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; }

.callout { margin: 42px 0; padding: 28px 30px; border-left: 3px solid var(--accent); background: var(--paper-deep); }
.callout p { margin: 0; color: var(--ink); font-family: 'Newsreader', Georgia, serif; font-size: 27px; line-height: 1.4; }
.disclaimer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: #766f68; font-size: 12px; line-height: 1.6; }

.article-cta { padding: 56px 24px; border-top: 1px solid var(--line); background: var(--paper-deep); }
.article-cta-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.article-cta-copy { max-width: 620px; }
.article-cta .eyebrow { display: block; margin-bottom: 12px; }
.article-cta h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; letter-spacing: -0.005em; }
.article-cta p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.article-cta .button { flex-shrink: 0; }

footer { border-top: 1px solid var(--line); background: #e9e1d5; }
.footer-inner { max-width: 1180px; min-height: 108px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #6e665f; font-size: 12px; }
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 22px; width: auto; opacity: 0.72; }
.footer-links { display: flex; gap: 22px; }

@media (max-width: 800px) {
  .nav-links a:not(.nav-cta):not(.language-toggle):not([aria-current="page"]) { display: none; }
  .article-hero { padding-top: 66px; }
  .framework-flow, .role-grid, .document-panel { grid-template-columns: 1fr; }
  .document-preview { max-height: 480px; }
  .article-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .logo { height: 23px; }
  .nav-inner { min-height: 62px; }
  .nav-links { gap: 12px; font-size: 12px; }
  .nav-cta { padding: 8px 10px; }
  h1 { font-size: 48px; }
  .dek { font-size: 18px; }
  .article-body p, .article-body li { font-size: 17px; }
  .article-body h2 { font-size: 37px; }
  .article-body .lead { font-size: 26px; }
  .footer-inner { padding-top: 28px; padding-bottom: 28px; align-items: flex-start; flex-direction: column; }
}
