:root {
  color-scheme: light;
  --ink: #102f30;
  --dim: #405e5c;
  --accent: #116650;
  --rule: #b7c9be;
  --paper: #f6f6eb;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
.wrap { width: min(92%, 950px); margin-inline: auto; }
header { border-bottom: 1px solid var(--rule); }
.mast, nav { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.mast { padding-block: 1rem; }
.brand { color: var(--ink); font-weight: 750; text-decoration: none; letter-spacing: -.035em; }
.brand::before { content: "◉"; margin-right: .45em; color: var(--accent); }
a { color: var(--accent); text-underline-offset: .2em; }
.hero { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1rem,6vw,6rem); align-items: center; padding-block: clamp(2rem,6vw,5rem); }
h1, h2, p { margin: 0; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(3.5rem,8vw,6.4rem); letter-spacing: -.065em; line-height: .96; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(1.75rem,4vw,2.75rem); line-height: 1.15; letter-spacing: -.035em; }
p { max-width: 72ch; }
.hero p, .section > p, footer p { margin-top: .85rem; }
.action { display: inline-block; border: 0; border-radius: .25rem; margin-top: 1.2rem; padding: .65rem 1.1rem; background: var(--ink); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.action span { margin-left: .7em; }
aside { padding: 1.5rem; background: #e6eee1; border-top: 3px solid var(--accent); }
aside h2 { font-size: 1.55rem; margin-bottom: .7rem; }
aside a { display: block; padding: .42rem 0; border-bottom: 1px solid var(--rule); }
aside a:last-child { border-bottom: none; }
.section, footer { border-top: 1px solid var(--rule); padding-block: clamp(1.75rem,5vw,3rem); }
table { width: 100%; border-collapse: collapse; margin: 1.3rem 0 .6rem; }
td, th { text-align: left; border-bottom: 1px solid var(--rule); padding: .58rem .3rem; }
thead th, small, .minor { font: inherit; font-size: .875rem; color: var(--dim); }
code { font-family: "IBM Plex Mono", ui-monospace, monospace; }
form { margin-top: 1.4rem; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 1.4rem; }
label, legend { font-weight: 600; }
label small { display: inline-block; }
select, textarea { display: block; width: 100%; font: inherit; color: var(--ink); background: #fffef6; border: 1px solid #718c80; border-radius: 4px; padding: .6rem; margin: .35rem 0; }
textarea { resize: vertical; }
fieldset { margin: 1.35rem 0; border: 0; padding: 0; }
legend { padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .45rem .6rem; margin-top: .45rem; }
.checks label { border: 1px solid var(--rule); border-radius: 4px; padding: .25rem .5rem; font-weight: 450; cursor: pointer; }
.checks input { accent-color: var(--accent); margin: 0 .4em 0 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
footer h2 { font-size: 1.5rem; }
footer p { font-size: .9rem; color: var(--dim); }
@media (max-width: 640px) {
  .hero, .fields { grid-template-columns: 1fr; }
  nav { gap: .65rem; }
  .mast { gap: .45rem; font-size: .93rem; }
}
