/* =========================================================
   lottoeifle.com  —  Mackenzie Health Foundation Raffle
   Premium charitable healthcare design system
   ========================================================= */

:root {
    /* Brand palette */
    --c-ink:        #0a2540;
    --c-navy:       #0b3d6b;
    --c-navy-deep:  #072a4a;
    --c-navy-soft:  #0e4d83;
    --c-teal:       #1f8a8a;
    --c-teal-soft:  #cfe6e3;
    --c-gold:       #c9961f;
    --c-gold-soft:  #f3e2b3;
    --c-bg:         #ffffff;
    --c-bg-soft:    #f6f9fc;
    --c-bg-warm:    #f8f5ec;
    --c-line:       #e3eaf2;
    --c-muted:      #5b6b7e;
    --c-text:       #1a2b40;

    /* Typography */
    --f-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --f-body:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Shape */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Shadow */
    --sh-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 1px rgba(10, 37, 64, 0.04);
    --sh-md: 0 8px 24px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.04);
    --sh-lg: 0 24px 60px rgba(10, 37, 64, 0.14), 0 4px 12px rgba(10, 37, 64, 0.06);

    /* Layout */
    --max: 1200px;
    --gut: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--f-body);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-teal); }

h1, h2, h3, h4 {
    font-family: var(--f-display);
    color: var(--c-ink);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 .6em;
    line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; }
p  { margin: 0 0 1em; }

.eyebrow {
    display: inline-block;
    font-family: var(--f-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-teal);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--c-teal);
    vertical-align: middle;
    margin-right: 12px;
    transform: translateY(-2px);
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gut);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--c-navy-soft) 0%, var(--c-navy) 100%);
    color: #fff;
    box-shadow: var(--sh-md);
}
.btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--sh-lg);
}
.btn-gold {
    background: linear-gradient(135deg, #e0b240 0%, var(--c-gold) 100%);
    color: #2a1f08;
    box-shadow: 0 6px 20px rgba(201, 150, 31, 0.32);
}
.btn-gold:hover { color: #2a1f08; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(201, 150, 31, 0.42); }

.btn-ghost {
    background: transparent;
    color: var(--c-navy);
    border-color: var(--c-line);
}
.btn-ghost:hover {
    border-color: var(--c-navy);
    background: var(--c-bg-soft);
    color: var(--c-navy);
}
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--c-line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 78px;
}
.brand {
    display: flex;
    align-items: center;
    font-family: var(--f-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--c-ink);
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.brand-name {
    display: inline-block;
}
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
    display: grid; place-items: center;
    color: #fff; font-family: var(--f-display);
    font-weight: 700; font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
    position: relative;
}
.brand-mark::after {
    content: "";
    position: absolute; inset: 4px;
    border: 1px solid rgba(212, 164, 55, 0.55);
    border-radius: 7px;
}
.brand span.tld { color: var(--c-teal); font-weight: 500; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    font-size: .92rem;
    color: var(--c-ink);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}
.nav-links a:hover { color: var(--c-teal); }
.nav-links a.active::after,
.nav-links a:hover::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 20px; height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    position: relative;
    transition: transform .25s ease, top .25s ease;
}
.menu-toggle span::before { content: ""; position: absolute; top: -6px; left: 0; }
.menu-toggle span::after  { content: ""; position: absolute; top:  6px; left: 0; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 9vw, 110px) 0 clamp(60px, 9vw, 100px);
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(31, 138, 138, 0.10), transparent 60%),
        radial-gradient(700px 400px at -10% 110%, rgba(201, 150, 31, 0.10), transparent 60%),
        linear-gradient(180deg, #fbfcfe 0%, #f5f9fc 100%);
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(11, 61, 107, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 61, 107, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.licence-pill {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--c-line);
    box-shadow: var(--sh-sm);
    font-size: .78rem;
    color: var(--c-muted);
    margin-bottom: 1.3rem;
}
.licence-pill .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-teal);
    box-shadow: 0 0 0 4px rgba(31, 138, 138, 0.15);
}
.licence-pill strong { color: var(--c-ink); font-weight: 600; }

.hero h1 .accent {
    color: var(--c-navy);
    font-style: italic;
    position: relative;
}
.hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 8px;
    background: linear-gradient(90deg, var(--c-gold-soft), transparent);
    z-index: -1;
    border-radius: 8px;
}

.hero-lead {
    font-size: clamp(1rem, 1.3vw, 1.13rem);
    color: var(--c-muted);
    max-width: 56ch;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex; flex-wrap: wrap; gap: .7rem;
    margin-bottom: 1.8rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: .85rem;
    color: var(--c-muted);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .45rem .95rem .45rem .5rem;
    background: #fff;
    border: 2px solid var(--c-gold);
    border-radius: 999px;
    font-weight: 600;
    color: var(--c-ink);
    font-size: .95rem;
    box-shadow: 0 6px 16px rgba(10, 37, 64, 0.12);
}
.age-badge .age-num {
    display: inline-grid;
    place-items: center;
    width: 48px; height: 48px;
    background: linear-gradient(145deg, #d13a3a 0%, #9f1f1f 100%);
    color: #fff;
    border-radius: 12px;
    clip-path: polygon(28% 0%, 72% 0%, 100% 28%, 100% 72%, 72% 100%, 28% 100%, 0% 72%, 0% 28%);
    font-family: var(--f-body);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 8px 18px rgba(159, 31, 31, 0.34);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* Hero visual */
.hero-visual {
    position: relative;
}
.prize-card {
    position: relative;
    background: #fff;
    border-radius: var(--r-xl);
    padding: 14px;
    box-shadow: var(--sh-lg);
    transform: rotate(0.5deg);
}
.prize-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--r-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 150, 31, 0.45), rgba(31, 138, 138, 0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.prize-card img {
    border-radius: var(--r-lg);
    width: 100%;
    height: auto;
}
.prize-card .prize-tag {
    position: absolute;
    top: 24px; left: -14px;
    background: linear-gradient(135deg, var(--c-navy-soft), var(--c-navy));
    color: #fff;
    padding: .6rem 1.1rem;
    border-radius: 8px;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: var(--sh-md);
}
.prize-card .prize-tag::after {
    content: "";
    position: absolute;
    left: 0; bottom: -8px;
    border-style: solid;
    border-width: 8px 8px 0 0;
    border-color: var(--c-navy-deep) transparent transparent transparent;
}
.prize-floater {
    position: absolute;
    background: #fff;
    border-radius: var(--r-md);
    padding: 12px 16px;
    box-shadow: var(--sh-md);
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .85rem;
}
.prize-floater-1 {
    right: -10px; bottom: 28px;
}
.prize-floater-2 {
    left: -16px; bottom: -16px;
}
.prize-floater .ic {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--c-teal-soft); color: var(--c-teal);
    flex-shrink: 0;
}
.prize-floater-2 .ic { background: var(--c-gold-soft); color: var(--c-gold); }
.prize-floater strong { color: var(--c-ink); display: block; font-size: .9rem; }
.prize-floater small { color: var(--c-muted); }

/* =========================================================
   Section base
   ========================================================= */
section { padding: clamp(60px, 8vw, 100px) 0; }
.section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-head p { color: var(--c-muted); font-size: 1.05rem; }
.section-alt { background: var(--c-bg-soft); }
.section-warm {
    background:
        radial-gradient(700px 400px at 0% 0%, rgba(31, 138, 138, 0.06), transparent 60%),
        radial-gradient(600px 400px at 100% 100%, rgba(201, 150, 31, 0.06), transparent 60%),
        var(--c-bg-warm);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}
.about-stat-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 2rem;
    box-shadow: var(--sh-sm);
}
.about-stat-card + .about-stat-card { margin-top: 1.2rem; }
.about-stat-card .label {
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-teal);
    font-weight: 600;
    margin-bottom: .5rem;
}
.about-stat-card .value {
    font-family: var(--f-display);
    font-size: 1.6rem;
    color: var(--c-ink);
    font-weight: 600;
    margin-bottom: .25rem;
}
.about-stat-card .meta { color: var(--c-muted); font-size: .92rem; margin: 0; }

/* =========================================================
   Cards grid – How Funds Are Used
   ========================================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}
.fund-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 2rem;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}
.fund-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--c-teal), var(--c-navy));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.fund-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: transparent;
}
.fund-card:hover::before { transform: scaleX(1); }

.fund-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c-teal-soft), #e6f3f2);
    color: var(--c-teal);
    display: grid; place-items: center;
    margin-bottom: 1.2rem;
}
.fund-card:nth-child(2) .fund-icon { background: linear-gradient(135deg, #e5edf7, #d9e6f4); color: var(--c-navy); }
.fund-card:nth-child(3) .fund-icon { background: linear-gradient(135deg, var(--c-gold-soft), #f9ecc9); color: var(--c-gold); }
.fund-card:nth-child(4) .fund-icon { background: linear-gradient(135deg, var(--c-teal-soft), #e6f3f2); color: var(--c-teal); }
.fund-card:nth-child(5) .fund-icon { background: linear-gradient(135deg, #e5edf7, #d9e6f4); color: var(--c-navy); }

.fund-card h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.fund-card p  { margin: 0; color: var(--c-muted); font-size: .95rem; }

/* =========================================================
   Prize / Raffle Section
   ========================================================= */
.prize-section .container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}
.prize-callout {
    background: #fff;
    border-radius: var(--r-xl);
    padding: 16px;
    box-shadow: var(--sh-lg);
    border: 1px solid var(--c-line);
}
.prize-callout img { border-radius: var(--r-lg); width: 100%; height: auto; }

.prize-details .licence-block {
    display: inline-flex;
    flex-direction: column;
    gap: .25rem;
    margin-top: 1.5rem;
    padding: 1.1rem 1.4rem;
    background: #fff;
    border: 1px solid var(--c-line);
    border-left: 3px solid var(--c-gold);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
}
.prize-details .licence-block .label {
    font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--c-muted); font-weight: 600;
}
.prize-details .licence-block strong { color: var(--c-ink); font-size: 1.05rem; }
.prize-details .licence-block .period { color: var(--c-muted); font-size: .88rem; }

/* =========================================================
   How It Works – timeline
   ========================================================= */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 32px; left: 8%; right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-line) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    z-index: 1;
}
.step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--c-gold);
    color: var(--c-navy);
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: grid; place-items: center;
    margin: -52px auto 1.2rem;
    box-shadow: var(--sh-sm);
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p  { font-size: .92rem; color: var(--c-muted); margin: 0; }

/* =========================================================
   Responsible Gaming Section
   ========================================================= */
.responsible-wrap {
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
    border-radius: var(--r-xl);
    padding: clamp(40px, 6vw, 64px);
    color: #d8e4f1;
    position: relative;
    overflow: hidden;
}
.responsible-wrap::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(600px 300px at 100% 0%, rgba(201, 150, 31, 0.18), transparent 60%),
        radial-gradient(600px 300px at 0% 100%, rgba(31, 138, 138, 0.22), transparent 60%);
    pointer-events: none;
}
.responsible-wrap > * { position: relative; }
.responsible-wrap h2 { color: #fff; }
.responsible-wrap .eyebrow { color: var(--c-gold-soft); }
.responsible-wrap .eyebrow::before { background: var(--c-gold-soft); }
.responsible-wrap p { color: #c4d2e3; }
.rg-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .8rem;
    margin-top: 1.8rem;
    list-style: none;
    padding: 0;
}
.rg-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .95rem 1.2rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-md);
    color: #fff;
    font-weight: 500;
    font-size: .92rem;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.rg-links a:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(201, 150, 31, 0.6);
    transform: translateY(-1px);
}
.rg-links a svg { flex-shrink: 0; opacity: .7; }

.age-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1.15rem .75rem .65rem;
    background: rgba(255, 255, 255, 0.10);
    border: 2px solid rgba(201, 150, 31, 0.45);
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 8px 20px rgba(6, 31, 58, 0.28);
}
.age-badge-lg .age-num {
    width: 58px; height: 58px;
    background: linear-gradient(145deg, #e14747 0%, #a32424 100%);
    color: #fff;
    border-radius: 14px;
    clip-path: polygon(28% 0%, 72% 0%, 100% 28%, 100% 72%, 72% 100%, 28% 100%, 0% 72%, 0% 28%);
    display: grid; place-items: center;
    font-family: var(--f-body);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 10px 22px rgba(125, 25, 25, 0.38);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: #061f3a;
    color: #b9c8d8;
    padding: 70px 0 28px;
    font-size: .93rem;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.foot-brand {
    font-family: var(--f-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: .6rem;
    display: flex; align-items: center; gap: .6rem;
}
.foot-brand .brand-mark { background: linear-gradient(135deg, var(--c-teal), var(--c-navy-soft)); }
.foot-licence {
    margin-top: 1.2rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--c-gold);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-size: .85rem;
}
.foot-licence strong { color: #fff; display: block; margin-bottom: .25rem; }
.foot-licence .period { color: #889aac; }

.foot-col h4 {
    color: #fff;
    font-family: var(--f-body);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 600;
    margin-bottom: 1.1rem;
}
.foot-col ul {
    list-style: none;
    padding: 0; margin: 0;
}
.foot-col li { margin-bottom: .55rem; }
.foot-col a {
    color: #b9c8d8;
    font-size: .92rem;
    display: inline-flex; align-items: center; gap: .35rem;
}
.foot-col a:hover { color: var(--c-gold); }

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #7e90a3;
}
.foot-bottom a { color: #b9c8d8; }
.foot-bottom .foot-disc {
    max-width: 70ch;
    line-height: 1.6;
}

/* =========================================================
   Legal pages
   ========================================================= */
.page-header {
    background:
        radial-gradient(700px 300px at 100% 0%, rgba(31, 138, 138, 0.10), transparent 60%),
        linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
    padding: clamp(70px, 9vw, 110px) 0 clamp(40px, 5vw, 60px);
    border-bottom: 1px solid var(--c-line);
}
.page-header h1 { margin-bottom: .4rem; }
.page-header p  { color: var(--c-muted); margin: 0; }
.crumbs {
    display: flex; gap: .5rem; align-items: center;
    font-size: .82rem; color: var(--c-muted);
    margin-bottom: 1.2rem;
}
.crumbs a { color: var(--c-teal); }

.legal-body {
    padding: clamp(50px, 7vw, 80px) 0 clamp(60px, 8vw, 100px);
}
.legal-body .container {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}
.legal-body h2 {
    font-size: 1.55rem;
    margin-top: 2.5rem;
    margin-bottom: .6rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--c-line);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.18rem; margin-top: 1.6rem; }
.legal-body p, .legal-body li {
    color: var(--c-text);
    font-size: 1rem;
    line-height: 1.75;
}
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-body .notice {
    background: var(--c-bg-warm);
    border: 1px solid #e9dfbe;
    border-left: 3px solid var(--c-gold);
    padding: 1.3rem 1.4rem;
    border-radius: var(--r-md);
    margin: 1.5rem 0;
}
.legal-body .notice strong { color: var(--c-ink); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
    .hero-grid,
    .about-grid,
    .prize-section .container { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .foot-grid .foot-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav-links,
    .nav .nav-cta .btn:not(.btn-primary) { display: none; }
    .menu-toggle { display: inline-flex; }
    .nav-links {
        position: fixed;
        top: 78px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1.4rem var(--gut);
        gap: 0;
        border-bottom: 1px solid var(--c-line);
        box-shadow: var(--sh-md);
        transform: translateY(-110%);
        transition: transform .3s ease;
        z-index: 50;
    }
    .nav-links li { border-bottom: 1px solid var(--c-line); }
    .nav-links li:last-child { border-bottom: 0; }
    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }
    .nav-links a.active::after,
    .nav-links a:hover::after { display: none; }
    body.menu-open .nav-links { transform: translateY(0); }
    body.menu-open { overflow: hidden; }

    .brand { font-size: 1.15rem; max-width: 62vw; }

    .nav-cta .btn-primary { padding: .7rem 1.1rem; font-size: .85rem; }

    .steps { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
