:root {
  --paper: #fdfcfa;
  --paper-strong: #ffffff;
  --ink: #181716;
  --muted: #686461;
  --soft: #f3f0ec;
  --line: #ded8d2;
  --line-dark: #bdb5ae;
  --dark: #151417;
  --purple: #7b6cff;
  --cyan: #00b8d9;
  --pink: #ff6ec7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 60px rgba(38, 31, 26, .08);
  --radius: 16px;
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  transform: translateY(-160%); background: var(--dark); color: white;
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.gradient-static, .gradient-text {
  color: transparent;
  background: linear-gradient(110deg, var(--purple), var(--cyan), var(--pink), var(--purple));
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
}
.gradient-text { animation: gradient-shift 10s ease-in-out infinite; }
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,252,250,.92);
  border-bottom: 1px solid rgba(222,216,210,.72);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.wordmark {
  display: inline-flex; gap: .28em;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .91rem; }
.site-nav a { text-decoration: none; color: #34312e; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { text-decoration: underline; }
.nav-assessment {
  padding: 8px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 1px; background: var(--ink); margin: 6px 0; }

.hero {
  position: relative;
  padding: 108px 0 78px;
  text-align: center;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 380px;
  left: 50%; top: -120px; transform: translateX(-50%);
  background:
    radial-gradient(circle at 25% 50%, rgba(123,108,255,.14), transparent 42%),
    radial-gradient(circle at 65% 35%, rgba(0,184,217,.12), transparent 43%),
    radial-gradient(circle at 75% 70%, rgba(255,110,199,.10), transparent 45%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1, .page-hero h1, .article-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero h1 { font-size: clamp(3.6rem, 8.6vw, 7.8rem); }
.hero-sub {
  width: min(100%, 760px);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}
.hero-note { margin: 14px auto 0; color: var(--muted); font-size: .9rem; }
.search-wrap { position: relative; width: min(100%, 820px); margin: 42px auto 0; text-align: left; }
.search-form {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px;
  padding: 11px 12px 11px 21px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}
.search-form svg { width: 22px; fill: none; stroke: #77716c; stroke-width: 1.7; }
.search-form input {
  min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 1rem; color: var(--ink);
}
.search-form button, .button {
  border: 1px solid var(--dark);
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--dark); color: white;
  font-weight: 700; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.search-form button:hover, .button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(20,20,20,.14); }
.button-light { background: white; color: var(--dark); border-color: white; }
.button-outline { background: transparent; color: var(--dark); }
.search-results {
  position: absolute; z-index: 20;
  left: 16px; right: 16px; top: calc(100% + 10px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.search-result {
  display: block; padding: 13px 14px; border-radius: 10px; text-decoration: none;
}
.search-result:hover, .search-result:focus-visible, .search-result.is-active { background: var(--soft); outline: none; }
.search-result strong { display: block; line-height: 1.25; }
.search-result span { color: var(--muted); font-size: .88rem; }
.search-empty { padding: 15px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.chip {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.7); color: #494542; text-decoration: none; font-size: .86rem;
}
.chip:hover, .chip:focus-visible { border-color: var(--purple); outline: 2px solid rgba(123,108,255,.12); }

.section { padding: 88px 0; }
.section-tight { padding: 62px 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 30px;
  margin-bottom: 34px;
}
.section-head h2, .content-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.section-head p { width: min(100%, 530px); margin: 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  min-height: 305px;
  display: flex; flex-direction: column;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(120deg, var(--line), var(--line)) border-box;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(123,108,255,.55);
  outline: none;
}
.card-number { color: var(--muted); font-size: .72rem; letter-spacing: .13em; }
.card h3 {
  margin: auto 0 13px;
  font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.08;
}
.card p { margin: 0 0 24px; color: var(--muted); }
.text-link { font-weight: 700; text-decoration: underline; }
.method-section { background: var(--soft); border-block: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.method-step { padding: 28px 26px; border-left: 1px solid var(--line); }
.method-step:first-child { border-left: 0; }
.method-number { font-size: .77rem; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.method-step h3 { margin: 70px 0 12px; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.method-step p { color: var(--muted); }
.status-tag {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; font-size: .76rem; color: #4f4a46;
}
.status-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.featured-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.feature-card { padding: clamp(30px, 5vw, 58px); border-radius: var(--radius); border: 1px solid var(--line); }
.feature-dark { background: var(--dark); color: white; border-color: var(--dark); }
.feature-card h2 { margin: 12px 0 20px; font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.feature-card p { max-width: 600px; color: #c8c2bd; }
.feature-light p { color: var(--muted); }
.feature-card .eyebrow { color: #b9aefc; }
.mandate {
  padding: 62px 0;
  color: var(--muted);
  text-align: center;
  font-size: .92rem;
  border-top: 1px solid var(--line);
}

.page-hero { padding: 92px 0 52px; }
.page-hero h1 { font-size: clamp(3.1rem, 7vw, 6.5rem); max-width: 950px; }
.page-hero p { max-width: 760px; margin: 25px 0 0; color: var(--muted); font-size: 1.1rem; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 26px; color: var(--muted); font-size: .82rem;
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.resource-card {
  display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: white; text-decoration: none;
}
.resource-card:hover, .resource-card:focus-visible { border-color: var(--purple); box-shadow: var(--shadow); outline: none; }
.resource-card .meta { color: var(--muted); font-size: .77rem; letter-spacing: .11em; text-transform: uppercase; }
.resource-card h2, .resource-card h3 { margin: 15px 0 10px; font-family: var(--serif); font-size: 2rem; line-height: 1.06; letter-spacing: -.035em; font-weight: 500; }
.resource-card p { color: var(--muted); margin-bottom: 0; }

.article-shell {
  width: min(calc(100% - 40px), 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 720px) 240px;
  gap: 72px;
  padding: 76px 0 90px;
}
.article-header { grid-column: 1 / -1; max-width: 900px; }
.article-title { font-size: clamp(3.2rem, 6.4vw, 6.2rem); }
.article-deck { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; color: var(--muted); font-size: .84rem; margin: 24px 0 0; }
.article-body { min-width: 0; }
.article-body h2 { margin: 58px 0 16px; font-family: var(--serif); font-size: 2.25rem; line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.article-body h3 { margin: 32px 0 10px; font-size: 1.12rem; }
.article-body p, .article-body li { color: #3d3936; }
.article-body li + li { margin-top: 9px; }
.article-body a { font-weight: 650; }
.article-body .callout {
  margin: 28px 0; padding: 22px 24px; border-left: 3px solid var(--purple);
  background: var(--soft); border-radius: 0 12px 12px 0;
}
.article-body .warning { border-left-color: #9d5d22; }
.article-aside { position: relative; }
.aside-card {
  position: sticky; top: 104px;
  padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white;
}
.aside-card p { color: var(--muted); font-size: .88rem; }
.aside-card a { display: block; margin-top: 10px; font-weight: 700; }
.source-list { padding-left: 1.15rem; }
.source-list li { word-break: break-word; }
.source-list a { font-weight: 500; }
.next-steps {
  margin-top: 56px; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: white;
}
.next-steps h2 { margin-top: 0; }
.next-steps a { display: block; padding: 8px 0; }

.form-section { padding: 76px 0 96px; }
.form-shell { width: min(calc(100% - 40px), 850px); margin-inline: auto; }
.form-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.form-card h1, .form-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.form-intro { color: var(--muted); max-width: 650px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 700; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line-dark); border-radius: 10px;
  background: #fff; color: var(--ink); padding: 13px 14px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(123,108,255,.11); }
textarea { min-height: 150px; resize: vertical; }
.checkbox-row { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-weight: 500; color: #4d4844; }
.form-warning { padding: 16px 18px; border-radius: 10px; background: #f5eee8; color: #654526; font-size: .9rem; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.form-status { min-height: 1.5em; color: var(--muted); font-size: .9rem; }
.form-status.is-error { color: #9b2d2d; }
.form-status.is-success { color: #236b42; }
.bot-field { position: absolute; left: -9999px; }

.prose { padding: 72px 0 96px; }
.prose h1 { font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.prose h2 { margin: 52px 0 14px; font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: -.03em; }
.prose p, .prose li { color: #403b37; }
.prose .updated { color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); font-size: .79rem; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.site-footer { padding: 58px 0 28px; background: #ebe7e2; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-wordmark { font-size: 1.7rem; }
.footer-tagline { color: var(--muted); }
.footer-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.footer-grid > div > a:not(.wordmark) { display: block; margin: 9px 0; text-decoration: none; }
.footer-grid > div > a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: .78rem; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found h1 { font-family: var(--serif); font-size: clamp(5rem, 16vw, 12rem); margin: 0; line-height: .8; }
.notice {
  padding: 18px 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px;
}
:focus-visible { outline: 3px solid rgba(123,108,255,.42); outline-offset: 3px; }

@media (max-width: 900px) {
  .card-grid, .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .method-step:nth-child(4) { border-top: 1px solid var(--line); }
  .featured-grid { grid-template-columns: 1fr; }
  .article-shell { grid-template-columns: 1fr; gap: 20px; }
  .article-header { grid-column: auto; }
  .aside-card { position: static; margin-bottom: 20px; }
}
@media (max-width: 720px) {
  .shell, .narrow, .form-shell, .article-shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; left: 14px; right: 14px; top: 72px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; border: 1px solid var(--line); border-radius: 14px;
    background: white; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .nav-assessment { margin-top: 5px; text-align: center; }
  .hero { padding-top: 78px; }
  .hero h1 { font-size: clamp(3.4rem, 18vw, 5.6rem); }
  .search-form { grid-template-columns: 21px 1fr; border-radius: 18px; padding: 14px 16px; }
  .search-form button { grid-column: 1 / -1; width: 100%; }
  .search-results { left: 0; right: 0; }
  .section { padding: 68px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .card-grid, .list-grid, .method-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .method-step { border-left: 0; border-top: 1px solid var(--line); }
  .method-step:first-child { border-top: 0; }
  .method-step h3 { margin-top: 40px; }
  .card { min-height: 270px; }
  .field-full { grid-column: auto; }
  .article-shell { padding-top: 48px; }
  .article-title { font-size: clamp(3rem, 15vw, 4.9rem); }
  .page-hero { padding-top: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
