:root { color-scheme: light; font: 16px/1.5 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; color:#18211e; background:#f7f8f5; }
* { box-sizing:border-box; }
body { margin:0; }
a { color:inherit; }
header, main, footer { width:min(1320px,92%); margin-inline:auto; }
header, nav, footer, .brand, .menubar { display:flex; align-items:center; }
header { min-height:78px; gap:clamp(14px,3vw,38px); border-bottom:1px solid #cbd3c9; }
.brand { gap:8px; font-size:23px; font-weight:720; letter-spacing:-.04em; text-decoration:none; }
nav { margin-left:auto; gap:clamp(15px,3vw,38px); font-size:14px; font-weight:550; }
nav a, footer a { text-decoration:none; }
nav a:hover, footer a:hover, .install a:hover { text-decoration:underline; }
.desktop { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); align-items:center; gap:clamp(26px,5vw,90px); padding-block:clamp(32px,4vw,64px); }
.hero-copy { padding-bottom:38px; }
h1,h2,p,figure { margin:0; }
h1 { max-width:11ch; font-size:clamp(54px,5.8vw,86px); line-height:1; letter-spacing:-.04em; font-weight:670; text-wrap:balance; }
.hero-copy p { max-width:37ch; margin:22px 0 28px; font-size:clamp(17px,1.4vw,21px); line-height:1.48; color:#394a40; }
.scene { overflow:hidden; border:1px solid #183d312e; border-radius:14px; background:#19332c url(media/forest.webp) center/cover no-repeat; }
.menubar { min-height:30px; padding:6px 16px; color:#f2f5f1; background:#1a2823eb; font-size:12px; font-weight:600; }
.menubar img { margin-left:auto; height:20px; width:auto; mix-blend-mode:lighten; }
.download { display:inline-flex; align-items:center; justify-content:center; gap:20px; border-radius:10px; background:#f1fff7; color:#13372b; padding:12px 19px; font-weight:670; box-shadow:0 2px 5px #0002; text-decoration:none; }
.download:hover { background:#d9fce7; }
.hero-copy small { display:block; color:#495a50; font-size:13px; line-height:1.65; }
.hero-copy small a { text-underline-offset:3px; }
.meter { min-width:0; width:100%; }
#meter { display:block; width:auto; height:auto; max-width:100%; max-height:100%; border-radius:8px; box-shadow:0 6px 25px #0c1b1966; }
#meter-link { display:flex; justify-content:flex-end; align-items:flex-start; padding:4px clamp(10px,2vw,32px) 16px; height:clamp(380px,34vw,500px); cursor:zoom-in; }
#meter-link:focus-visible { outline-offset:-4px; }
.meter figcaption { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding-top:10px; }
#surface { font:inherit; font-weight:600; font-size:13px; color:#273a30; border:1px solid #a9b6ab; border-radius:6px; padding:7px; background:#f7f8f5; }
fieldset { display:inline-flex; padding:4px; margin:0; gap:1px; border:1px solid #b7c1b8; background:#e8ede7; border-radius:8px; font-size:13px; }
legend,input { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
label { cursor:pointer; }
label span { display:block; padding:5px 9px; border-radius:5px; }
input:checked+span { background:#263e31; color:white; }
input:focus-visible+span, a:focus-visible, #surface:focus-visible { outline:3px solid #187ccc; outline-offset:2px; }
.features { border-top:1px solid #b6c3b8; }
.features section { display:grid; grid-template-columns:minmax(230px, .8fr) minmax(0, 1.65fr); gap:clamp(24px,5vw,80px); align-items:center; padding:clamp(38px,5vw,72px) 0; }
.features section + section { border-top:1px solid #cbd3c9; }
h2 { font-size:clamp(28px,3.2vw,48px); font-weight:650; line-height:1.06; letter-spacing:-.04em; text-wrap:balance; }
.features p, .install p { margin:14px 0 0; max-width:58ch; color:#44524b; font-size:16px; }
.detail { display:grid; place-items:center; background:#dfe6dc; padding:clamp(15px,3vw,44px); border-radius:11px; cursor:zoom-in; }
.detail img { width:100%; max-width:610px; height:auto; display:block; border-radius:6px; box-shadow:0 5px 16px #273f342b; }
.ideas { background:#263830; }
@media(min-width:781px) {
  .features section:nth-child(2) { grid-template-columns:minmax(0,1.65fr) minmax(230px,.8fr); }
  .features section:nth-child(2) .detail { grid-column:1; grid-row:1; }
  .features section:nth-child(2) > div { grid-column:2; }
}
dialog { border:1px solid #ffffff38; border-radius:14px; padding:0; width:max-content; max-width:94vw; max-height:94dvh; background:#232725; color:white; box-shadow:0 20px 72px #0006; }
dialog:not([open]) { display:none; }
dialog::backdrop { background:#101b18bd; }
.preview-bar { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:10px 14px; font-size:14px; }
.preview-bar button { font:inherit; border:0; border-radius:6px; padding:6px 12px; background:#eef2ef; color:#172b20; cursor:pointer; }
.preview-bar button:focus-visible { outline:3px solid #68b5ff; outline-offset:2px; }
#preview-image { display:block; max-width:100%; max-height:calc(90dvh - 60px); width:auto; height:auto; object-fit:contain; margin:auto; }
.install { margin:0; border-top:1px solid #cbd3c9; padding:43px 0 37px; display:flex; gap:45px; align-items:center; justify-content:space-between; }
.install .notice { font-size:13px; max-width:76ch; }
.install-links { display:grid; justify-items:center; gap:9px; flex-shrink:0; font-size:14px; }
header .download, .install .download { background:#1e4836; color:white; }
header .download { font-size:14px; gap:10px; white-space:nowrap; }
header .download:hover, .install .download:hover { background:#143927; }
.install .download { font-size:16px; }
footer { border-top:1px solid #cbd3c9; justify-content:space-between; gap:16px; padding:20px 0 24px; font-size:12px; color:#506158; }
@media(max-width:780px) {
  header, main, footer { width:94%; }
  header { min-height:62px; } nav { font-size:13px; }
  .desktop { grid-template-columns:1fr; gap:20px; padding:24px 0 30px; }
  .hero-copy { padding:0; }
  h1 { max-width:16ch; font-size:clamp(42px,7vw,60px); }
  .hero-copy p { max-width:52ch; margin:12px 0; }
  .hero-copy small br { display:none; }
  .hero-copy small a { margin-left:8px; }
  #meter-link { height:clamp(315px,85vw,430px); }
  .features { margin:0; } .features section { grid-template-columns:1fr; gap:16px; padding:30px 0; }
  .install { display:block; margin:0 2%; padding:30px 0; } .install-links { justify-items:start; margin-top:20px; }
  footer { flex-wrap:wrap; }
}
@media(max-width:620px) {
  header { display:grid; grid-template-columns:1fr auto; gap:5px 8px; padding:9px 0; }
  header .download { grid-column:2; grid-row:1; padding:10px 12px; }
  header nav { grid-column:1 / -1; grid-row:2; margin-left:0; }
}
@media(max-width:480px) { .brand {font-size:20px;} .brand img {width:32px;height:32px;} .source {display:none;} .menubar {padding-inline:15px;} .meter figcaption {justify-content:center;} h1 {font-size:clamp(40px,10vw,48px);} fieldset {font-size:12px;} label span {padding:5px 7px;} }

@media(max-width:365px) {
  .brand { gap:5px; font-size:18px; }
  .brand img { width:28px; height:28px; }
  header .download { font-size:13px; gap:6px; padding-inline:8px; }
}
