:root {
  --ink: #101312;
  --paper: #f3f0e8;
  --white: #fffdf5;
  --muted: color-mix(in srgb, var(--ink) 62%, var(--paper));
  --quiet: color-mix(in srgb, var(--ink) 38%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 15%, var(--paper));
  --wash: color-mix(in srgb, var(--paper) 78%, var(--white));
  --accent: #15803d;
  --accent-2: #c2410c;
  --measure: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.68; overflow-wrap: anywhere; }
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 12px;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  padding: 0 32px;
  background: color-mix(in srgb, var(--paper) 88%, var(--white));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(var(--measure), calc(100vw - 64px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}
.brand { display: inline-flex; align-items: center; gap: 18px; min-width: 260px; }
.brand img { width: 118px; height: auto; display: block; }
.brand span { color: var(--quiet); font-size: 13px; line-height: 1.25; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--muted); font-size: 13px; font-weight: 600; }
nav a { position: relative; padding: 28px 0; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.home-hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 95%, transparent) 48%, color-mix(in srgb, var(--paper) 64%, transparent) 75%, transparent 100%), url("images/hero.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.page-hero {
  width: min(var(--measure), calc(100vw - 64px));
  margin: 0 auto;
  padding: 116px 0 76px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { width: min(var(--measure), calc(100vw - 64px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-weight: 560; letter-spacing: 0; overflow-wrap: anywhere; }
h1 { max-width: 660px; font-size: 62px; line-height: .98; }
h2 { font-size: 30px; line-height: 1.14; }
h3 { font-size: 18px; line-height: 1.25; }
.lead { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.72; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
}
.button--ghost { background: transparent; color: var(--ink); }
.hero-meta {
  max-width: 760px;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-meta span {
  min-width: 0;
  padding: 16px 18px 16px 0;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}
.content-grid, .section { width: min(var(--measure), calc(100vw - 64px)); margin: 0 auto; }
.content-grid {
  padding: 76px 0 28px;
  display: grid;
  grid-template-columns: .95fr 1fr 1fr;
  gap: 36px;
}
.text-block { min-width: 0; padding-top: 22px; border-top: 2px solid var(--accent); }
.text-block p, .tile small { color: var(--muted); line-height: 1.65; }
.text-block h2 { max-width: 11ch; }
.section { padding: 86px 0; border-bottom: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: .5fr 1fr; gap: 48px; margin-bottom: 34px; }
.section__head h2 { max-width: 560px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile {
  min-height: 218px;
  min-width: 0;
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--wash);
  border: 0;
  border-radius: 0;
}
.tile:hover, .tile:focus-visible { background: var(--white); }
.tile span { color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tile strong { font-size: 20px; line-height: 1.24; font-weight: 560; }
.site-footer {
  width: min(var(--measure), calc(100vw - 64px));
  margin: 0 auto;
  padding: 70px 0 76px;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
}
.site-footer p { max-width: 460px; color: var(--muted); }
.site-footer img { width: 146px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .site-header { padding: 0 24px; }
  .header-inner { width: 100%; align-items: flex-start; flex-direction: column; padding: 16px 0; }
  nav a { padding: 6px 0; }
  nav a::after { bottom: 0; }
  .content-grid, .section__head, .site-footer { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 46px; }
  .home-hero { min-height: 620px; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 14px; }
  .header-inner { min-height: 0; padding: 14px 0 12px; gap: 12px; }
  .brand { min-width: 0; }
  .brand img { width: 104px; }
  .brand span { display: none; }
  nav { width: 100%; gap: 8px 14px; overflow-x: auto; font-size: 12px; flex-wrap: nowrap; padding-bottom: 4px; }
  nav { min-width: 0; max-width: 100%; }
  nav a { white-space: nowrap; }
  main { overflow-x: hidden; }
  .home-hero {
    min-height: 620px;
    overflow: hidden;
    background-image: linear-gradient(90deg, color-mix(in srgb, var(--paper) 98%, var(--white)) 0%, color-mix(in srgb, var(--paper) 96%, var(--white)) 72%, color-mix(in srgb, var(--paper) 82%, transparent) 100%), url("images/hero.webp");
    background-position: center;
  }
  .page-hero, .hero-inner, .content-grid, .section, .site-footer {
    width: min(calc(100% - 28px), 360px);
    max-width: 360px;
    min-width: 0;
    margin-left: 14px;
    margin-right: auto;
  }
  .page-hero { padding: 76px 0 48px; }
  h1 { width: 100%; max-width: 360px; font-size: 32px; line-height: 1.1; overflow-wrap: break-word; word-break: normal; hyphens: none; }
  h2 { font-size: 24px; }
  .lead { max-width: 100%; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
  .actions { margin-top: 24px; }
  .button { max-width: 100%; white-space: normal; text-align: center; }
  .hero-meta { grid-template-columns: 1fr; margin-top: 36px; }
  .hero-meta span { padding: 10px 0; border-top: 1px solid var(--line); }
  .content-grid, .tiles { grid-template-columns: 1fr; }
  .content-grid { padding-top: 54px; gap: 28px; }
  .section { padding: 60px 0; }
  .tile { min-height: 170px; }
}

/* longform institute expansion 2026-09-09 */
.longform {
  width: min(760px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 28px 0 12px;
}
.longform h2 {
  margin: 42px 0 14px;
  font-size: 28px;
  max-width: none;
  line-height: 1.18;
}
.longform h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}
.longform p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}
.longform ul,
.longform ol {
  margin: 4px 0 20px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}
.longform li { margin: 0 0 8px; }
.longform a { text-decoration: underline; text-underline-offset: 3px; }
.callout {
  width: min(760px, calc(100vw - 64px));
  margin: 12px auto 28px;
  padding: 22px 24px;
  background: var(--wash);
  border: 1px solid var(--line);
}
.callout h2 { margin: 0 0 10px; font-size: 22px; }
.callout p { margin: 0; color: var(--muted); line-height: 1.7; }
.home-panel,
.track-grid,
.insight-grid,
.method-strip,
.faq-list,
.compare-wrap,
.apply-panel {
  width: min(var(--measure), calc(100vw - 64px));
  margin: 0 auto 8px;
}
.home-panel { padding: 54px 0 10px; }
.home-panel h2 { margin-bottom: 14px; }
.home-panel .lead-block { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.method-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 28px auto 36px;
}
.method-strip div {
  min-height: 148px;
  padding: 18px 16px;
  background: var(--wash);
}
.method-strip strong {
  display: block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.method-strip span { display: block; font-size: 15px; line-height: 1.4; }
.track-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 48px;
}
.faq-list { margin: 10px auto 48px; }
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 17px;
  line-height: 1.4;
}
.faq-list details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.compare-wrap { overflow-x: auto; margin: 12px auto 48px; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 14px 12px 14px 0;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.compare-table th { color: var(--ink); font-weight: 700; }
.apply-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  padding: 12px 0 48px;
}
.apply-panel h2 { margin: 0 0 12px; }
.apply-panel p, .apply-panel li { color: var(--muted); line-height: 1.7; }
.note {
  font-size: 14px;
  color: var(--quiet);
  line-height: 1.6;
}
.site-footer {
  align-items: start;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}
.footer-columns h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--quiet);
}
.footer-columns a { display: block; margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.footer-columns a:hover { color: var(--ink); }
.glossary-list dt {
  margin: 22px 0 6px;
  font-weight: 700;
}
.glossary-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 980px) {
  .method-strip,
  .track-grid,
  .insight-grid,
  .apply-panel,
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .longform,
  .callout,
  .home-panel,
  .track-grid,
  .insight-grid,
  .method-strip,
  .faq-list,
  .compare-wrap,
  .apply-panel {
    width: min(calc(100% - 28px), 360px);
    max-width: 360px;
    margin-left: 14px;
    margin-right: auto;
  }
  .method-strip,
  .track-grid,
  .insight-grid,
  .apply-panel,
  .footer-columns { grid-template-columns: 1fr; }
  .longform h2 { font-size: 24px; }
  .longform p { font-size: 16px; }
}
