/* ============ reset & globals ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
font-family: 'Nunito', sans-serif;
background: var(--cr);
color: var(--ink);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: var(--y); color: var(--ink); }

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.02em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 84px 32px; }

/* ============ section headers ============ */
.sec-head { text-align: center; margin-bottom: 44px; }

.sec-tag {
display: inline-block;
font-family: 'Space Mono', monospace;
font-weight: 700;
font-size: 13px;
padding: 6px 16px;
border: var(--bw) solid var(--ink);
border-radius: 100px;
background: var(--wh);
margin-bottom: 16px;
}
.sec-tag.on-dark { border-color: #000; }

.sec-title {
font-size: clamp(32px, 5vw, 46px);
line-height: 1.1;
letter-spacing: -0.5px;
}

.sec-sub {
margin-top: 12px;
font-size: 17px;
font-weight: 700;
color: var(--soft);
}

/* ============ shared button base ============ */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-family: 'Space Grotesk', sans-serif;
font-weight: 600;
font-size: 16px;
letter-spacing: -0.01em;
padding: 12px 26px;
border: var(--bw) solid var(--ink);
border-radius: 100px; /* all buttons pill-shaped */
background: var(--wh);
color: var(--ink);
box-shadow: var(--sh);
transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shb); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.pk { background: var(--pk); color: var(--wh); }
.btn.y { background: var(--y); }
.btn.mt { background: var(--mt); }

/* ============ confetti canvas ============ */
#confetti-canvas {
position: fixed;
inset: 0;
z-index: 9999;
pointer-events: none;
display: none;
}

/* ============ toasts ============ */
#toast-container {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 10000;
display: flex;
flex-direction: column;
gap: 10px;
align-items: flex-end;
}

.toast {
display: flex;
align-items: center;
gap: 10px;
background: var(--wh);
border: var(--bw) solid var(--ink);
border-radius: 12px;
box-shadow: var(--sh);
padding: 12px 18px;
font-weight: 800;
font-size: 15px;
animation: toast-in .3s ease both;
}
.toast.out { animation: toast-out .4s ease both; }
.toast .toast-emoji { font-size: 20px; }

/* ============ responsive ============ */
@media (max-width: 900px) {
.nav-links { display: none; }
.wrap { padding: 48px 18px; }
}
