:root {
  --ink: #162a2b;
  --muted: #4b6261;
  --line: #cbd8d2;
  --deep: #0c2a2b;
  --lime: #d3ef81;
  --paper: #fbfcf8;
  --wash: #eaf0e8;
  font: 100%/1.55 "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 1rem;
}
* {box-sizing: border-box}
body, figure, dl, dd {margin: 0}
a {color: inherit; text-underline-offset: .23em}
a:hover {text-decoration-thickness: .13em}
button {font: inherit; cursor: pointer; color: inherit}
:focus-visible {outline: 3px solid #b46b15; outline-offset: 4px}
[hidden] {display: none !important}
.wrap {width: min(90%, 76rem); margin-inline: auto}
.mast, .hero, footer {background: var(--deep); color: white}
.top, .foot, nav, .hero-actions, .project-actions, .choices {display: flex; align-items: center}
.top, .foot {justify-content: space-between; padding-block: 1.05rem}
.mast {border-bottom: 1px solid #355054}
.wordmark {font-weight: 740; font-size: 1.8rem; letter-spacing: -.065em; line-height: 1; text-decoration: none}
.wordmark span {font-size: .9rem; margin-left: .2rem; font-weight: 500; letter-spacing: -.02em}
.navlinks, .foot nav {display: flex; align-items: center; gap: 1.7rem}
.navlinks a, .foot nav a {text-decoration: none; font-size: .94rem}
.navlinks a:hover, .foot nav a:hover {text-decoration: underline}
.account {border: 1px solid #88a29d; border-radius: .35rem; padding: .48rem .95rem}
.hero-layout {display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4.5%; padding-block: clamp(2.5rem,5.8vw,5.4rem)}
.hero-copy {padding-block: .25rem}
.eyebrow {font-size: .8rem; letter-spacing: .095em; text-transform: uppercase; font-weight: 680; display: flex; align-items: center; gap: .65rem; margin: 0 0 .95rem}
.rule {display: inline-block; width: 1.8rem; height: .18rem; background: #42745b}
.hero .eyebrow {color: #c6dbcc}
.hero .rule {background: var(--lime)}
h1, h2, h3, p {overflow-wrap: break-word}
h1, h2, h3 {line-height: 1.06; letter-spacing: -.052em; margin: 0; font-weight: 610}
h1 {font-size: clamp(2.7rem,5vw,4.5rem); max-width: 9.5em}
h1 em {color: var(--lime); font-style: normal}
h2 {font-size: clamp(2.15rem,3.7vw,3.3rem)}
h3 {font-size: clamp(1.45rem,2.4vw,2.15rem)}
.intro, .lede {font-size: clamp(1rem,1.45vw,1.16rem); max-width: 45rem; line-height: 1.55}
.intro {color: #e0eae3; margin: 1.35rem 0 1.7rem; max-width: 37rem}
.hero-actions, .project-actions, .choices {flex-wrap: wrap; gap: .85rem 1.3rem}
.button, .choices button {display: inline-block; border-radius: .35rem; font-weight: 650; text-decoration: none; padding: .7rem 1.1rem; line-height: 1.4; font-size: 1rem}
.primary {background: var(--lime); color: var(--deep)}
.primary:hover {background: #e1f7a4}
.hero-link, .text-link {font-weight: 600}
.hero-image {position: relative; overflow: hidden; border-radius: 1rem .25rem 1rem .25rem; min-width: 0; background: #335347}
.hero-image img {display: block; width: 100%; height: clamp(18rem,28vw,25rem); object-fit: cover}
.hero-image figcaption {position: absolute; inset: auto 0 0; padding: 2rem 1rem .75rem; font-size: .84rem; background: linear-gradient(transparent, #112624df)}
.section {padding-block: clamp(3rem,6vw,5.4rem)}
.choices {gap: .4rem; margin: 1.65rem 0 1.1rem}
.choices button {border: 1px solid #a9bcb1; background: transparent; padding: .56rem .92rem}
.choices button[aria-pressed=true], .action {background: var(--deep); color: white; border-color: var(--deep)}
.choices button:hover {box-shadow: inset 0 0 0 1px currentColor}
.project-panel {display: grid; grid-template-columns: 1.12fr 1fr; gap: 2.5rem; padding: clamp(1.3rem,3.4vw,2.6rem); border: 1px solid var(--line); border-radius: .6rem; background: white}
.project-panel p {color: var(--muted); margin: .85rem 0 1.1rem; max-width: 40rem}
.project-panel h4, .example h4 {font-size: 1rem; margin: 0}
.inputs {border-left: 1px solid var(--line); padding-left: 2rem}
.inputs ul, details ul {padding-left: 1.2rem; margin: .5rem 0 1rem}
.inputs li, details li {margin: .3rem 0}
.download {border: none; padding: .25rem 0; background: none; color: #1e604d; text-decoration: underline; text-underline-offset: .22em; font-weight: 650}
.project-actions {gap: .65rem 1rem}
.project-actions a:not(.button) {font-weight: 600}
.other-uses {margin-top: 1.1rem}
.other-uses p {max-width: 48rem; color: var(--muted)}
.example {background: var(--wash); border-block: 1px solid var(--line)}
.lede {color: var(--muted); margin: .95rem 0 1.4rem}
.sample-body {max-width: 64rem}
.sample-body p {margin: .9rem 0}
.sample-body details {margin-top: 1rem}
details summary {cursor: pointer; font-weight: 600; padding-block: .35rem}
.data-table {width: 100%; border-collapse: collapse; background: var(--paper); font-variant-numeric: tabular-nums}
.data-table th, .data-table td {text-align: right; padding: .85rem 1rem; border-bottom: 1px solid var(--line)}
.data-table :is(th, td):first-child {text-align: left}
.data-table thead th {color: var(--muted); font-size: .9rem; font-weight: 600}
.data-table tbody th {font-weight: 650}
.evidence {display: grid; grid-template-columns: 1fr 1.05fr; gap: 9%; align-items: start}
.gates div {border-top: 1px solid var(--line); padding: .83rem 0}
.gates dt {font-weight: 690}
.gates dd {color: var(--muted)}
.foot {padding-block: 1.6rem}
.skip {position: absolute; top: .5rem; left: .5rem; transform: translateY(-170%); z-index: 5; padding: .5rem; color: var(--ink); background: white}
.skip:focus {transform: none}
@media (max-width: 760px) {
  .hero-layout, .project-panel, .evidence {grid-template-columns: 1fr; gap: 1.5rem}
  .hero-image img {height: clamp(12rem,45vw,19rem)}
  .inputs {border: 0; border-top: 1px solid var(--line); padding: 1.2rem 0 0}
  .navlinks a:not(.account) {display: none}
  .foot {flex-wrap: wrap; gap: 1.3rem}
  .foot nav {flex-wrap: wrap; gap: .9rem}
  .data-table th, .data-table td {padding: .6rem .45rem; font-size: .93rem}
  .choices {gap: .45rem}
}
@media (prefers-reduced-motion: no-preference) {html {scroll-behavior: smooth}}
