:root {
  color-scheme: light;
  --ink: #182b28;
  --body: #43534e;
  --paper: #f7f4ed;
  --line: #d8dcd3;
  --green: #175946;
  --forest: #103b32;
  --soft: #edf2eb;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: var(--green); text-underline-offset: 0.23em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #a34f1f; outline-offset: 4px; }
.skip { position: fixed; z-index: 2; top: 0.5rem; left: 0.5rem; padding: 0.6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.shell { width: min(100% - 3rem, 69rem); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); }
.bar { display: flex; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; min-height: 4.45rem; }
.bar nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
.bar nav a { padding-block: 0.3rem; }
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 0.45rem; display: block; }
.hero { display: grid; grid-template-columns: 1.06fr 0.94fr; align-items: center; gap: clamp(2.3rem, 6vw, 6rem); padding-block: clamp(3rem, 8vw, 7rem); }
.eyebrow { color: var(--green); font-weight: 680; font-size: 0.88rem; margin: 0 0 0.8rem; }
h1, h2 { font-family: var(--serif); line-height: 1.04; font-weight: 500; letter-spacing: -0.035em; margin: 0; }
.hero h1 { font-size: clamp(3.25rem, 6.85vw, 6.1rem); text-wrap: balance; }
.lede { margin: 1.35rem 0; color: var(--body); font-size: clamp(1.08rem, 2.1vw, 1.35rem); line-height: 1.55; max-width: 40ch; }
.button { display: inline-flex; gap: 0.65rem; align-items: center; margin-top: 0.4rem; background: var(--forest); color: white; text-decoration: none; font-weight: 650; padding: 0.7rem 1.12rem; border-radius: 0.35rem; }
.button:hover { background: var(--green); text-decoration: underline; }
.preview { margin: 0; padding: clamp(1rem, 3.5vw, 2.5rem); background: var(--forest); border-radius: 0.7rem; }
.casebook { border: 1px solid #f1eee3; overflow: hidden; background: white; border-radius: 0.5rem; }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.7rem 1rem; background: #eaf1ea; font-weight: 690; }
.case-pill { font-size: 0.75rem; font-weight: 600; padding: 0.08rem 0.55rem; border: 1px solid #96ad9d; border-radius: 2rem; white-space: nowrap; }
.case-id { color: var(--body); margin: 0; padding: 0.85rem 1rem 0.4rem; font-size: 0.85rem; }
.case-row { display: flex; align-items: baseline; gap: 0.65rem; padding: 0.64rem 0; margin-inline: 1rem; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.case-row:last-child { border: 0; padding-bottom: 0.95rem; }
.case-row strong, .case-row strong + span { display: block; }
.case-row strong + span { color: var(--body); }
.case-symbol { flex: 0 0 0.9rem; color: var(--green); }
figcaption { margin-top: 0.7rem; font-size: 0.75rem; color: #e2eee4; text-align: right; }
.functions { background: var(--soft); padding-block: clamp(2.8rem, 6vw, 5rem); border-block: 1px solid var(--line); }
.functions h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-block: 2rem; }
.feature-list section { border-top: 1px solid #afc0b3; }
.feature-list h3 { font-size: 1.1rem; margin: 0.9rem 0 0.35rem; }
.feature-list p { margin: 0; color: var(--body); }
.privacy-callout { margin: 1.6rem 0 0; color: var(--body); }
.footer { flex-wrap: wrap; font-size: 0.9rem; padding-block: 0.9rem; }
.document { max-width: 48rem; padding-block: clamp(2.7rem, 7vw, 5.25rem); }
.document h1 { font-size: clamp(2.65rem, 7vw, 5rem); }
.document .lede { max-width: 54ch; }
.document .date { font-size: 0.88rem; color: var(--body); margin-bottom: 2.8rem; }
.document section { margin-top: 2.5rem; }
.document h2 { font-size: clamp(1.6rem, 4.8vw, 2.25rem); }
.document section p { max-width: 67ch; margin-block: 0.85rem; }
.document + .footer { border-top: 1px solid var(--line); }
@media (max-width: 48rem) {
  .hero, .feature-list { grid-template-columns: 1fr; }
  .hero h1 { text-wrap: initial; }
  .preview { width: min(100%, 35rem); }
}
@media (max-width: 27rem) {
  .shell { width: calc(100% - 2rem); }
  .bar nav { gap: 0.1rem 0.75rem; font-size: 0.9rem; }
  .hero h1 { font-size: 2.85rem; }
}
