/* Reset, typography, buttons, reveal animations */
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:76px; }
body { margin:0; font-family:var(--font-body); font-size:1.05rem; background:var(--bg); color:var(--text); line-height:1.6; -webkit-font-smoothing:antialiased; }
img,svg { max-width:100%; display:block; }
h1,h2,h3 { font-family:var(--font-display); font-weight:400; line-height:1.08; margin:0 0 .5em; text-transform:uppercase; }
h1 { font-size:clamp(2.2rem,8.5vw,4.6rem); }
h2 { font-size:clamp(1.7rem,5.5vw,3rem); }
h3 { font-size:1.25rem; }
p { margin:0 0 1em; }
a { color:inherit; }
.wrap { max-width:var(--max); margin:0 auto; padding:0 var(--space); }
section { padding:clamp(3rem,9vw,6rem) 0; }
.skip { position:absolute; left:-999px; }
.skip:focus { left:1rem; top:1rem; background:#fff; color:#000; padding:.5rem 1rem; z-index:999; }
:focus-visible { outline:3px solid var(--green); outline-offset:3px; }

/* Graffiti marker accent word */
.marker { font-family:var(--font-marker); text-transform:none; color:var(--red); display:inline-block; transform:rotate(-3deg); }

/* Buttons: red = main action */
.btn { display:inline-flex; align-items:center; gap:.5rem; font-family:var(--font-body); font-weight:700; text-decoration:none; padding:.9rem 1.6rem; border-radius:99px; border:2px solid transparent; cursor:pointer; font-size:1rem; transition:transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform:translateY(-3px); box-shadow:0 10px 20px rgba(225,38,45,.3); }
.btn-red { background:var(--red); color:#fff; }
.btn-red:hover { background:var(--red-dark); }
.btn-green { background:var(--green-fill); color:#fff; }
.btn-line { border-color:currentColor; background:transparent; color:var(--text); }
.btn-line:hover { box-shadow:none; background:var(--text); color:var(--bg); }

/* Small labels */
.tag { display:inline-block; background:var(--green-tint); color:var(--green-text); font-weight:700; font-size:.8rem; padding:.25rem .8rem; border-radius:99px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:.8rem; }
.sec-head { max-width:40rem; margin-bottom:2.5rem; }
.sec-head p { color:var(--muted); font-size:1.15rem; }
.todo { background:#FFE98A; color:#000; padding:0 .3em; border-radius:4px; font-weight:600; }
.demo-note { display:none; }
body.demo .demo-note { display:inline-block; font-size:.75rem; font-weight:700; background:#FFE98A; color:#000; padding:.15rem .6rem; border-radius:99px; margin-left:.5rem; vertical-align:middle; }

/* Slash divider (their cover-photo style) */
.slash { height:16px; background:linear-gradient(115deg, var(--red) 0 45%, var(--green) 45% 62%, transparent 62%); }

/* Reveal on scroll (only hides things when JavaScript is running) */
.js .reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity:1; transform:none; }
.js .reveal.d1 { transition-delay:.1s; } .js .reveal.d2 { transition-delay:.2s; } .js .reveal.d3 { transition-delay:.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none !important; transition:none !important; }
  .js .reveal { opacity:1; transform:none; }
}
