:root {
    --ink: #0f172a;
    --muted: #ffffff;
    --sub: #475569;
    --link: #0c7dff;
    --border: #e2e8f0;
    --blue: #0c7dff;
    --blue-dark: #095ec4;
    --green: #16a34a;
    --green-dark: #12823f;
    --bg: #ffffff;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.label {
    background: var(--muted);
    border-bottom: 1px solid var(--border);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brandname {
    display: none;
}

.sponsored {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--sub);
    letter-spacing: .35px;
}

.logo {
    height: clamp(42px, 6.5vw, 64px);
    width: auto;
    display: block;
}

/* === BODY === */
main {
    padding: 28px 0 40px;
}

h1 {
    font-size: 28px;
    line-height: 1.25;
    margin: 14px 0 18px;
}

.kicker,
.dek {
    color: var(--sub);
}

.kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 0 0 10px;
}

.dek {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.hero {
    width: 100%;
    max-width: 860px;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
    object-fit: cover;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin: 14px 0;
}

h2 {
    font-size: 18px;
    margin: 28px 0 12px;
}

a {
    color: var(--link);
    text-decoration: none;
}

.cta {
    display: inline-block;
    margin: 12px 0;
    font-weight: 800;
}

/* Age buttons */
.age-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 10px 0 20px;
}

@media(min-width:720px) {
    .age-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.btn-age {
    display: block;
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: var(--blue);
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s ease, transform .05s ease;
}

.btn-age:hover {
    background: var(--blue-dark);
}

.btn-age:active {
    transform: translateY(1px);
}

/* Full-width green CTA */
.btn-cta {
    display: block;
    width: 100%;
    padding: 16px;
    margin: 20px 0 32px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .2px;
    color: #fff;
    background: var(--green);
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s ease, transform .05s ease;
}

.btn-cta:hover {
    background: var(--green-dark);
}

.btn-cta:active {
    transform: translateY(1px);
}

/* Sticky bottom CTA */
.sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--ink);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
}

.sticky .inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0 20px;
}

.sticky .txt {
    font-size: 14px;
    line-height: 1.3;
    opacity: .9;
}

.sticky .go {
    margin-left: auto;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    padding: 12px 18px;
    white-space: nowrap;
    transition: background .2s ease;
}

.sticky .go:hover {
    background: var(--green-dark);
}

.sticky .go:active {
    transform: translateY(1px);
}

@media(min-width:640px) {
    .sticky .txt {
        font-size: 15px;
    }

    .sticky .go {
        padding: 12px 20px;
    }
}

footer {
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

footer .wrap {
    padding: 22px 20px 36px;
    font-size: 12px;
    color: #475569;
}

.footlinks a {
    color: #0f172a;
    text-decoration: none;
}