@font-face {
  font-family: Rubik;
  src: url("rubik.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --ink: #172c23;
  --muted: #4c6257;
  --line: #c9d6cb;
  --forest: #122c22;
  --lime: #c4ed74;
  --paper: #f2f5ef;
  --gutter: clamp(1.15rem, 5vw, 5rem);
  font-family: Rubik, system-ui, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.5;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #549937; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100%, 85rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; z-index: 3; top: -8rem; left: 1rem; padding: .75rem; background: white; }
.skip:focus { top: 1rem; }
.mast { background: var(--forest); color: white; }
.mast-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; font-size: 1.55rem; font-weight: 650; letter-spacing: -.06em; line-height: 1; text-decoration: none; }
.brand img { flex: none; margin-right: .55rem; }
.brand span { font-weight: 400; }
.mast nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.35rem; }
.mast nav { gap: 2rem; }
.mast nav a { color: #dbe6df; text-decoration: none; }
.mast nav a:hover, .hero-link:hover { color: var(--lime); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1.25rem; min-height: 2.9rem; border: 1px solid transparent; border-radius: .48rem; font-weight: 550; text-decoration: none; }
.head-btn { border-color: #688174; color: white; }
.head-btn:hover { background: #244737; }
.hero { color: #f3f7f1; background: var(--forest); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.75rem, 5.5vw, 5.7rem); }
.hero h1 { font-size: clamp(3.1rem, 6.35vw, 6.5rem); font-weight: 530; letter-spacing: -.07em; line-height: 1.02; }
.hero h1 em { font-weight: 450; color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: clamp(1.08rem, 1.55vw, 1.35rem); color: #d7e3d9; }
.accent { background: var(--lime); color: #172c23; }
.accent:hover { background: #d9ff94; }
.hero-link { color: #e0eadc; }
.chartcard { min-width: 0; padding: clamp(1.2rem, 2.4vw, 2.1rem); background: var(--paper); color: var(--ink); border-radius: .85rem; }
.charttools, .chartfoot, .section-head, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.charttools > span, .code-label { font-size: .88rem; color: var(--muted); }
.switch { display: flex; padding: .18rem; border-radius: .45rem; background: #dce5dc; }
.switch button { padding: .3rem .65rem; border: 0; border-radius: .3rem; background: transparent; color: var(--muted); font-size: .88rem; }
.switch button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 3px #172c231c; }
.chartcard h2 { margin-top: 1.2rem; font-size: 1.42rem; line-height: 1.15; letter-spacing: -.035em; }
.reading { display: flex; align-items: center; gap: 1rem; margin-block: .45rem 1rem; }
.reading strong { font-size: clamp(2.4rem, 3.5vw, 3.8rem); line-height: 1; letter-spacing: -.065em; font-weight: 500; }
.reading strong span { font-size: .55em; margin-left: .12em; }
.reading small { font-size: .83rem; line-height: 1.35; color: var(--muted); }
.plot { display: block; width: 100%; height: auto; }
.plot line { stroke: #bcccbf; }
.plot text { fill: #455d50; }
.plot path:first-of-type { fill: #78ae6d; opacity: .2; }
.plot path:last-of-type { stroke: #2e7952; }
.plot circle { fill: #2e7952; }
.chartfoot { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.chartfoot a { color: #205d42; }
.code-label { margin: .85rem 0 .5rem; }
pre { color: #d6efc4; background: #1d392c; padding: .85rem 1rem; margin: 0; border-radius: .35rem; overflow: auto; max-height: 12rem; font: .88rem/1.45 ui-monospace, monospace; }
.catalog, .access-grid { padding-block: clamp(2.6rem, 5.65vw, 5.5rem); }
.section-head { align-items: baseline; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2, .offer h2, .receipt h1 { font-size: clamp(2.15rem, 3.8vw, 3.8rem); line-height: 1.05; font-weight: 530; letter-spacing: -.06em; }
.section-head p, .sources p, .offer > p, .hint, .receipt p { color: var(--muted); }
.sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.sources article { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.65rem clamp(1rem, 2.5vw, 2.2rem); }
.sources article:first-child { padding-left: 0; }
.sources article + article { border-left: 1px solid var(--line); }
.sources h3 { font-size: clamp(1.22rem, 2vw, 1.65rem); line-height: 1.2; font-weight: 550; letter-spacing: -.035em; }
.source-link { margin-top: auto; padding-top: .7rem; color: #205d42; font-weight: 500; }
.access-band { background: var(--paper); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.offer > p { margin-top: .8rem; }
.price { margin: 2rem 0; padding-block: 1.2rem; border-block: 1px solid var(--line); font-size: clamp(2.5rem, 4.8vw, 5.1rem); font-weight: 500; line-height: 1.1; letter-spacing: -.065em; }
.price span { font-size: 1rem; letter-spacing: normal; font-weight: 400; color: var(--muted); white-space: nowrap; }
.sample-path { display: inline-grid; gap: .35rem; text-decoration: none; }
.sample-path strong { font-weight: 450; color: var(--muted); }
.sample-path code { text-decoration: underline; text-underline-offset: .23em; font: .95rem/1.5 ui-monospace, monospace; }
#request { min-width: 0; background: white; border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1.35rem, 3vw, 2.4rem); }
#request h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 550; }
fieldset { margin: 1.2rem 0 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; font-weight: 550; margin-bottom: .3rem; }
label { display: flex; align-items: center; gap: .7rem; width: fit-content; padding-block: .3rem; cursor: pointer; }
input:not([type=hidden]) { margin: 0; width: 1.1rem; height: 1.1rem; accent-color: #2a6647; }
.hint { font-size: .9rem; margin: 1.3rem 0 1rem; }
.submit { background: #234e38; color: white; }
.submit:hover { background: #173c2a; }
.footer { min-height: 5rem; padding-block: 1rem; }
.footer > a:last-child { font-size: .9rem; color: var(--muted); }
.receipt { padding-block: 3rem; }
.receipt h1 { margin-top: 4.5rem; }
.receipt p { margin: 1.1rem 0 1.6rem; }
@media (max-width: 55rem) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 1.35rem; }
  .hero h1 { font-size: clamp(2.9rem, 6.7vw, 4.3rem); }
  .access-grid { gap: 1.5rem; }
}
@media (max-width: 43rem) {
  .mast nav { display: none; }
  .mast-inner { min-height: 4.45rem; gap: .6rem; }
  .head-btn { min-height: 2.6rem; padding: .55rem .85rem; }
  .hero-grid, .access-grid, .sources { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.1rem; }
  .hero-copy > p { margin: 1.15rem 0 1.4rem; }
  .section-head { gap: .65rem; margin-bottom: 1.25rem; }
  .sources article { padding: 1.25rem 0; }
  .sources article + article { border-left: 0; border-top: 1px solid var(--line); }
  .source-link { padding-top: 0; }
  .footer { flex-wrap: wrap; }
  .price { margin: 1.25rem 0; }
}
