:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --surface: #fffefb;
  --ink: #171715;
  --muted: #66635d;
  --faint: #8b877f;
  --line: #dcd8cf;
  --line-soft: #e8e4dc;
  --orange: #f04b17;
  --cyan: #087f8c;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, summary { font: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.page-frame { width: min(720px, calc(100vw - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.public-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}
.public-brand img {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}
.open-app, .button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #c9c5bc;
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}
.open-app:hover, .button:hover { border-color: #979188; background: #faf8f3; }
.button.secondary { background: transparent; }

.page-hero {
  max-width: 700px;
  padding: clamp(64px, 10svh, 92px) 0 clamp(44px, 7svh, 64px);
}
.page-hero > p:first-child, .section-kicker {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 6.8vw, 52px);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero-description {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  letter-spacing: -.012em;
  line-height: 1.52;
}

.prose { max-width: 690px; }
.prose p, .prose li, .story-band p, .split-section p, .question-list p,
.process-list p, .sequence-grid p, .evidence-list p, .three-stage p,
.plan-row p, .plan-row li, .strategy-group-heading > p:last-child,
.strategy-detail p, .strategy-facts dd, .strategy-legs li {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.68;
}
.prose strong { color: var(--ink); }
.prose a, .text-link {
  color: var(--ink);
  font-weight: 650;
  text-decoration-color: #aaa59c;
  text-underline-offset: 4px;
}
.lead-prose { margin-bottom: 50px; }
.lead-prose p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 3.1vw, 23px);
  line-height: 1.52;
  letter-spacing: -.018em;
}
.section-block { margin: 72px 0; }
.compact-section { margin-top: 52px; }
.section-block h2, .question-section > h2, .workflow-section > h2,
.tool-sequence > h2, .evidence-section > h2, .strategy-group-heading h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(27px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.section-block h2:not(:first-child) { margin-top: 48px; }
.section-block h3, .legal-copy h3 {
  margin: 30px 0 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.section-block p { margin: 0 0 20px; }
.section-kicker-spaced { margin-top: 52px; }

.story-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 66px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-band > div { padding: 28px 22px 30px 0; }
.story-band > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.story-band span, .sequence-grid span, .evidence-list article > span,
.question-list li > span, .process-list li > span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-band h2, .split-section h2, .three-stage h2, .plan-body h3 {
  margin: 12px 0 9px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.22;
}
.story-band p { margin: 0; font-size: 14.5px; line-height: 1.58; }

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin: 70px 0;
}
.split-section > div { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split-section p { margin: 0 0 18px; }
.split-section .text-link { font-size: 14px; }

.question-section, .workflow-section, .tool-sequence, .evidence-section { margin: 76px 0; }
.question-list, .process-list, .evidence-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.question-list li, .process-list li, .evidence-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.question-list h3, .process-list h3, .evidence-list h3, .sequence-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.024em;
  line-height: 1.24;
}
.question-list p, .process-list p, .evidence-list p { margin: 8px 0 0; }
.evidence-list p + p { margin-top: 12px; }
.section-intro { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.62; }

.tool-sequence { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sequence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.sequence-grid > div { padding-right: 24px; }
.sequence-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.sequence-grid h3 { margin-top: 11px; font-size: 18px; }
.sequence-grid p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.56; }

.three-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 76px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.three-stage article { padding: 30px 22px 32px 0; }
.three-stage article + article { padding-left: 22px; border-left: 1px solid var(--line); }
.three-stage h2 { font-size: 20px; }
.three-stage p { margin: 0; font-size: 14.5px; line-height: 1.6; }

.library-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 48px 0 78px;
}
.library-map a {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.35);
  text-decoration: none;
}
.library-map a:hover { border-color: #aaa59c; background: rgba(255,255,255,.7); }
.library-map strong { color: var(--ink); font-size: 18px; line-height: 1.25; }
.library-map span { margin-top: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.48; }
.strategy-group { margin: 0 0 82px; scroll-margin-top: 24px; }
.strategy-group-heading { max-width: 650px; margin-bottom: 26px; }
.strategy-group-heading > p:last-child { margin: 0; }
.strategy-list { border-top: 1px solid var(--line); }
.strategy-row { border-bottom: 1px solid var(--line); }
.strategy-row summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 2px;
  cursor: pointer;
  list-style: none;
}
.strategy-row summary::-webkit-details-marker { display: none; }
.strategy-row summary > span:first-child { min-width: 0; display: grid; gap: 5px; }
.strategy-row summary strong { color: var(--ink); font-size: 17px; font-weight: 680; letter-spacing: -.018em; }
.strategy-row summary small { color: var(--muted); font-size: 12px; }
.detail-mark { flex: 0 0 auto; color: var(--faint); font-size: 22px; transition: transform 140ms ease; }
.strategy-row[open] .detail-mark { transform: rotate(45deg); }
.strategy-detail { padding: 0 2px 28px; }
.strategy-detail > p { max-width: 620px; margin: 0 0 23px; }
.strategy-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 0; }
.strategy-facts div { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.strategy-facts dt, .strategy-legs > span {
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.strategy-facts dd { margin: 6px 0 0; font-size: 14.5px; }
.strategy-legs { margin-top: 8px; padding-top: 17px; border-top: 1px solid var(--line-soft); }
.strategy-legs ul { display: flex; flex-wrap: wrap; gap: 7px 20px; margin: 10px 0 0; padding: 0; list-style: none; }
.strategy-legs li { font-size: 14px; }

.plan-list { margin-top: 52px; border-top: 1px solid var(--line); }
.plan-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.plan-heading h2 { margin: 0; color: var(--ink); font-size: 42px; font-weight: 720; letter-spacing: -.05em; }
.plan-heading h2 span { color: var(--muted); font-size: 14px; font-weight: 550; letter-spacing: 0; }
.plan-body h3 { margin-top: 0; font-size: 22px; }
.plan-body > p { margin: 0; }
.plan-body ul { margin: 20px 0 24px; padding-left: 20px; }
.plan-body li + li { margin-top: 5px; }
.plan-body .button { width: fit-content; }

.updated { margin: 0 0 30px !important; color: var(--faint) !important; font-size: 13px !important; }
.legal-copy { margin-bottom: 84px; }
.legal-copy > p:first-of-type + p { margin-top: 0; }
.legal-copy section { scroll-margin-top: 24px; }
.legal-copy h2 { margin-top: 52px; }
.legal-copy ul { padding-left: 22px; }
.legal-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 42px 0 58px;
  border-top: 1px solid var(--line);
}
.legal-toc a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }

.site-footer {
  width: min(720px, calc(100vw - 40px));
  margin: auto auto 0;
  padding: 34px 0 max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 19px; margin-bottom: 24px; }
.footer-links a { color: var(--muted); font-size: 12.5px; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.risk-copy { max-width: 690px; margin: 0; color: var(--faint); font-size: 11px; line-height: 1.6; }
.risk-copy a { color: var(--muted); text-underline-offset: 2px; }

@media (max-width: 700px) {
  .page-frame, .site-footer { width: min(100% - 30px, 720px); }
  .public-header { min-height: 66px; }
  .public-brand { font-size: 14px; }
  .public-brand img { width: 34px; height: 34px; }
  .page-hero { padding-top: 56px; padding-bottom: 42px; }
  .page-hero h1 { font-size: clamp(34px, 9.7vw, 41px); line-height: 1.07; }
  .hero-description { margin-top: 18px; font-size: 17px; }
  .prose p, .prose li, .question-list p, .process-list p,
  .evidence-list p, .strategy-group-heading > p:last-child,
  .strategy-detail p { font-size: 16px; }
  .lead-prose p { font-size: 20px; }
  .section-block { margin: 62px 0; }
  .story-band, .three-stage { grid-template-columns: 1fr; }
  .story-band > div, .three-stage article { padding: 25px 0; }
  .story-band > div + div, .three-stage article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .split-section, .sequence-grid { grid-template-columns: 1fr; gap: 0; }
  .sequence-grid > div { padding: 22px 0; }
  .sequence-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .question-list li, .process-list li, .evidence-list article { grid-template-columns: 32px minmax(0, 1fr); gap: 11px; }
  .library-map { grid-template-columns: 1fr; margin-bottom: 66px; }
  .library-map a { min-height: 112px; }
  .plan-row { grid-template-columns: 1fr; gap: 22px; }
  .legal-toc { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .open-app { min-height: 36px; padding-inline: 11px; font-size: 12px; }
  .strategy-facts { grid-template-columns: 1fr; }
  .strategy-facts div + div { margin-top: -1px; }
  .footer-links { gap: 9px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
