/* mads-machine.com: the green ground of the logo study, the chrome badge on it */
:root{--ground:#0f2c1e;--deep:#0a1f15;--lit:#1c4a33;--cream:#f4efe2;--muted:#b9c4b8;--orange:#e2601a;--code:#0b2418;
  color-scheme:dark}
*{box-sizing:border-box}
html{background:var(--ground)}
body{margin:0;min-height:100vh;color:var(--cream);font:400 1.0625rem/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:radial-gradient(ellipse at 50% 40%,var(--lit),var(--ground) 70%,var(--deep)) fixed}
body::after{content:"";position:fixed;inset:0;pointer-events:none;opacity:.5;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
a{color:var(--cream);text-decoration-color:var(--orange);text-underline-offset:.2em;text-decoration-thickness:.08em}
a:hover{color:#fff}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* the front page: the badge, large, in the middle */
.badge{min-height:100vh;display:grid;place-items:center;padding:16px}
.badge img{width:min(88vw,1200px);height:auto;display:block}

/* a text page */
.page{max-width:40rem;margin:0 auto;padding:2rem 16px 4rem;position:relative;z-index:1}
.page header{margin-bottom:3rem}
.page header img{width:min(60vw,15rem);height:auto;display:block}
.page h1{font-size:clamp(1.9rem,6vw,2.6rem);line-height:1.15;margin:0 0 1rem;font-weight:800;letter-spacing:-.01em}
.page h2{font-size:1.25rem;margin:2.4rem 0 .6rem;font-weight:700}
.page ul{padding-left:1.2rem}
.page li{margin:.35rem 0}
.page li::marker{color:var(--orange)}
.page pre{background:var(--code);border:1px solid #234d38;border-radius:8px;padding:.9rem 1rem;overflow-x:auto;
  font:500 .95rem/1.5 ui-monospace,"SF Mono",Menlo,Consolas,monospace}
.page em{color:var(--muted)}
