:root {
  --ink: #22201d;
  --muted: #6f6a63;
  --paper: #f7f4ee;
  --paper-strong: #fffdf8;
  --line: #d8d1c7;
  --accent: #233f57;
  --accent-soft: #e9eef2;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: Garamond, "Adobe Garamond Pro", "Times New Roman", serif;
  font-size: 1.42rem;
  letter-spacing: 0.20em;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: Calibri, Aptos, Arial, sans-serif;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover, .nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 90px 28px 70px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 900px;
  text-align: center;
}

.eyebrow {
  font-family: Calibri, Aptos, Arial, sans-serif;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}

h1, h2, h3 {
  font-family: Calibri, Aptos, Arial, sans-serif;
  line-height: 1.16;
  font-weight: 500;
  margin-top: 0;
}

.hero h1 {
  font-family: Garamond, "Adobe Garamond Pro", "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.hero-tagline {
  font-family: Calibri, Aptos, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
  max-width: 780px;
  margin: 0 auto 22px;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 12px 19px;
  border: 1px solid var(--accent);
  font-family: Calibri, Aptos, Arial, sans-serif;
  text-decoration: none;
  font-size: 0.94rem;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

main section {
  padding: 82px 28px;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-kicker {
  font-family: Calibri, Aptos, Arial, sans-serif;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 790px;
  margin-bottom: 24px;
}

.lead {
  font-size: 1.22rem;
  max-width: 820px;
  color: #37332f;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  padding: 26px;
  min-height: 230px;
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature {
  background: var(--accent-soft);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.document-panel {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  padding: 28px;
}

.document-panel .doc-title {
  font-family: Garamond, "Times New Roman", serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.document-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.page-hero {
  padding: 88px 28px 58px;
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  max-width: 900px;
  margin-left: max(28px, calc((100vw - var(--max)) / 2));
}

.page-hero h1 {
  font-family: Garamond, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.6rem);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.content {
  max-width: 850px;
}

.content h2 {
  margin-top: 2.6rem;
  font-size: 1.8rem;
}

.content p, .content li {
  color: #37332f;
}

.site-footer {
  padding: 34px 28px 46px;
  font-family: Calibri, Aptos, Arial, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.note {
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--paper-strong);
  color: var(--muted);
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav { gap: 13px 17px; }

  .grid, .feature-layout {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 5rem);
    letter-spacing: 0.08em;
  }
}
.framework-section {
  overflow: hidden;
}

.framework-inner {
  width: min(96%, 1700px);
  margin: 0 auto;
  padding: 70px 0;
}

.framework-figure {
  margin: 45px auto 0;
}

.framework-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 900px) {

  .framework-inner {
    width: 100%;
    padding: 50px 0;
  }

  .framework-figure {
    margin-top: 35px;
    overflow-x: auto;
  }

  .framework-figure img {
    width: 1400px;
    max-width: none;
  }

}