:root {
  --bg: #f3f0e8;
  --bg-soft: #e8e5dc;
  --ink: #18211d;
  --ink-soft: #5e655f;
  --line: rgba(24, 33, 29, .15);
  --dark: #18211d;
  --dark-ink: #f3f0e8;
  --accent: #42594d;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

button, input, textarea, select { font: inherit; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--dark);
  color: white;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 214px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-nav a:hover,
.footer-links a:hover { color: var(--ink); }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
}

.section { padding: 118px 0; }
.section-border { border-top: 1px solid var(--line); }

.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 650;
  color: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(54px, 7vw, 94px);
  line-height: .98;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 620;
}

.hero { padding-top: 86px; padding-bottom: 138px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 90px;
  align-items: center;
}
.hero-copy { max-width: 810px; }
.hero-lede {
  max-width: 710px;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.35;
  color: #27312c;
  margin-bottom: 22px;
}
.hero-support {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 18px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.button-primary {
  background: var(--ink);
  color: var(--bg);
}
.button-primary:hover { background: #29332f; }

.text-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.text-link:hover { opacity: .65; }

.hero-mark {
  color: var(--accent);
  width: min(100%, 430px);
  justify-self: end;
}
.hero-mark svg { width: 100%; height: auto; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 110px;
  align-items: start;
}

.prose { color: var(--ink-soft); }
.prose-large {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.46;
}
.prose p:last-child { margin-bottom: 0; }

.section-heading {
  margin-bottom: 58px;
}
.section-heading-wide {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  gap: 64px;
  align-items: end;
}
.intro-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.principle {
  min-height: 250px;
  padding: 34px 34px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle .index,
.interest-row > span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 54px;
}
.principle p {
  max-width: 430px;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.muted { background: var(--bg-soft); }

.interest-list {
  border-top: 1px solid var(--line);
}
.interest-row {
  display: grid;
  grid-template-columns: 50px 230px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.interest-row > span { margin: 0; }
.interest-row h3, .interest-row p { margin: 0; }
.interest-row p {
  color: var(--ink-soft);
  max-width: 680px;
}
.fine-print {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.access-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 110px;
}
.access-intro {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -.025em;
  margin-bottom: 54px;
}
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.criteria-grid > div {
  background: var(--bg);
  padding: 28px;
}
.criteria-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.dark {
  background: var(--dark);
  color: var(--dark-ink);
}
.dark .eyebrow,
.dark .intro-note { color: rgba(243,240,232,.68); }
.dark .section-heading { margin-bottom: 66px; }

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(243,240,232,.18);
  border-left: 1px solid rgba(243,240,232,.18);
}
.framework-grid > div {
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid rgba(243,240,232,.18);
  border-bottom: 1px solid rgba(243,240,232,.18);
}
.framework-grid span {
  display: block;
  color: rgba(243,240,232,.48);
  font-size: 12px;
  margin-bottom: 58px;
}
.framework-grid p {
  font-size: 18px;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 110px;
}
.contact-card {
  padding-top: 6px;
  max-width: 640px;
}
.contact-card p {
  color: var(--ink-soft);
  font-size: 19px;
  margin-bottom: 28px;
}
.email-link {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.email-link:hover { opacity: .7; }

.site-footer {
  padding: 48px 0 34px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
}
.footer-top img { width: 190px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 50px;
  color: var(--ink-soft);
  font-size: 12px;
}
.footer-bottom p { margin-bottom: 0; }
.disclaimer { max-width: 870px; }

.privacy-main { padding: 80px 0 120px; }
.privacy-content {
  max-width: 760px;
}
.privacy-content h1 {
  font-size: clamp(48px, 6vw, 76px);
}
.privacy-content h2 {
  font-size: 28px;
  margin: 42px 0 12px;
}
.privacy-content p, .privacy-content li { color: var(--ink-soft); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 760px); }

  .header-inner { min-height: 72px; }
  .brand img { width: 190px; }

  .menu-button { display: block; }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 18px;
    background: var(--bg);
    border: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: 0; }

  .section { padding: 82px 0; }
  .hero { padding-top: 56px; padding-bottom: 90px; }

  .hero-grid,
  .split,
  .access-grid,
  .contact-grid,
  .section-heading-wide {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-mark {
    width: min(60vw, 340px);
    justify-self: start;
  }

  .principles-grid { grid-template-columns: 1fr; }
  .principle { min-height: auto; }
  .principle .index { margin-bottom: 32px; }

  .interest-row {
    grid-template-columns: 42px 1fr;
  }
  .interest-row p {
    grid-column: 2;
  }

  .framework-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  :root { --shell: min(100% - 28px, 520px); }

  h1 { font-size: clamp(48px, 15vw, 70px); }
  h2 { font-size: 39px; }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-mark { width: min(78vw, 320px); }

  .principle { padding: 26px; }

  .interest-row {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }

  .criteria-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr; }
  .framework-grid > div { min-height: 120px; }
  .framework-grid span { margin-bottom: 34px; }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
