:root {
  color-scheme: light;
  --pine: #103d31;
  --deep: #092f26;
  --grass: #d3f27c;
  --paper: #fbf9ef;
  --stroke: #d1dac9;
  font: 110%/1.55 "Avenir Next", "DM Sans", system-ui, sans-serif;
  color: var(--pine);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(92%, 75rem); margin-inline: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b55414; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 2; background: white; padding: .7rem; }
.skip:focus { top: .3rem; }
header { border-bottom: 1px solid var(--stroke); }
.mast, nav, .brand, .action, .beta { display: flex; align-items: center; }
.mast { justify-content: space-between; gap: .75rem; padding-block: .85rem; flex-wrap: wrap; }
.brand { gap: .6rem; font-size: 1.14rem; font-weight: 850; letter-spacing: -.045em; text-decoration: none; }
.brand img { border-radius: 11px; }
nav { gap: .2rem; }
nav a { padding: .5rem .82rem; font-size: .89rem; font-weight: 700; text-decoration: none; border-radius: 2rem; }
nav a:hover, nav a[aria-current] { background: #e2ebd6; }
.hero, .dochead { position: relative; isolation: isolate; overflow: hidden; background: var(--pine); color: var(--paper); border-radius: 2rem; margin-top: 1.4rem; }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; padding: clamp(1.5rem,4.5vw,4.4rem); }
.hero::before, .dochead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 8%, #ffffff05 8% 16%); }
h1,h2,summary { line-height: 1.08; text-wrap: balance; }
h1,h2 { margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem,6.4vw,6.3rem); font-weight: 900; }
h1 em { font-style: normal; color: var(--grass); }
h2 { font-size: clamp(1.45rem,2.2vw,2.15rem); }
p { margin: .7em 0 0; }
.intro p { max-width: 34ch; color: #e3ecdb; font-size: 1.06rem; }
.action { display: inline-flex; gap: 1rem; background: var(--grass); color: var(--deep); padding: .75rem 1.15rem; border-radius: 2rem; text-decoration: none; font-weight: 800; margin-top: 1.5rem; }
.action:hover { background: #e5ff9a; }
.ground img { display: block; width: 112%; margin-left: -3%; height: auto; filter: drop-shadow(0 14px 12px #001c1966); }
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; padding-block: 1.3rem; }
.features article, .reading { background: #fffef8; border: 1px solid var(--stroke); border-radius: 1.4rem; }
.features article { padding: 1.1rem; }
.features h2 { margin-top: 1rem; }
.features p { margin-bottom: .45rem; color: #385447; }
.art { height: 7rem; display: flex; align-items: center; justify-content: center; border-radius: .85rem; }
.art img { height: 82%; max-width: 90%; object-fit: contain; width: auto; filter: drop-shadow(0 5px 3px #28442320); }
.gold { background: #f8df96; } .fern { background: #cce4ae; } .peach { background: #f1cfb4; }
.beta { justify-content: space-between; gap: 1.5rem; padding: 1.5rem 2rem; background: #e8eedb; border-radius: 1.4rem; }
.beta a { font-weight: 750; flex-shrink: 0; }
.document { max-width: 54rem; }
.dochead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: clamp(1.4rem,4vw,3rem); }
.dochead h1 { font-size: clamp(2.3rem,5.2vw,4.5rem); }
.dochead img { width: clamp(4rem,10vw,7rem); height: auto; }
.reading { margin-top: 1rem; padding: .5rem clamp(1.2rem,4vw,3rem); }
.reading section, details { padding-block: 1.35rem; border-top: 1px solid var(--stroke); }
details:first-child { border-top: 0; }
summary { cursor: pointer; font-weight: 750; font-size: 1.22rem; line-height: 1.35; }
.reading p { max-width: 67ch; } .date { padding-block: .6rem; }
footer { margin-top: 2.4rem; background: var(--deep); color: var(--paper); }
footer .mast { padding-block: 1.35rem; }
@media(max-width: 48rem) {
  .hero { grid-template-columns: 1fr; } .ground img { width: 100%; max-width: 29rem; margin: 0 auto; }
  .features { grid-template-columns: 1fr; } .art { float: right; height: 4.8rem; width: 4.8rem; margin: 0 0 .5rem 1rem; }
  .features h2 { margin-top: .25rem; } .beta { align-items: flex-start; flex-direction: column; }
}
@media(max-width: 25rem) { nav a { padding-inline: .48rem; } .art { float: none; margin: 0 0 .8rem; } }

nav { flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,19rem),1fr)); gap: 1rem; margin-block: 1.4rem; }
.gallery article { background: #fffef8; border: 1px solid var(--stroke); padding: 1.15rem; border-radius: 1.4rem; }
.screen { display: block; }
.screen img { display: block; width: 100%; height: auto; border-radius: .8rem; }
.gallery h2 { margin-top: 1rem; }
.guide { max-width: 52rem; margin-inline: auto; }
.guide section:first-child { border: 0; }
.dochead p { max-width: 60ch; }
.firstmatch { display: grid; grid-template-columns: 1fr minmax(12rem,19rem); align-items: center; gap: 2rem; background: #e1edd3; padding: clamp(1.5rem,5vw,4rem); margin-bottom: 1.4rem; border-radius: 1.4rem; }
.firstmatch h2 { font-size: clamp(2rem,4vw,4rem); }
@media(max-width: 38rem) {
  nav { gap: .25rem 0; }
  nav a { padding: .5rem; }
  .firstmatch { grid-template-columns: 1fr; }
  .firstmatch .screen { max-width: 20rem; margin-inline: auto; }
}
