*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --fg: #111;
    --muted: #888;
    --border: #e5e5e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: #fff;
    color: var(--fg);
    font-size: 16px;
    line-height: 1.6;
}

/* ── LINKS ── */
a {
    color: var(--fg);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}

a:hover {
    color: var(--muted);
    border-color: var(--muted);
}

/* ── MORE INFO BUTTON (DESKTOP) ── */
.more-info {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    z-index: 10;
}

.more-info:hover {
    color: var(--fg);
}

/* ── HERO ── */
#hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.logo {
    width: 296px;
    height: 296px;
    object-fit: contain;
    border-radius: 18px;
    flex-shrink: 0;
}

/* ── SECTIONS ── */
.sections-row {
    display: flex;
    border-top: 1px solid var(--border);
}

section {
    flex: 1;
    padding: 4rem 2rem;
    border-right: 1px solid var(--border);
}

section:last-child {
    border-right: none;
}

section h2 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
}

section p {
    color: var(--fg);
    margin-bottom: 1rem;
}

section p:last-child {
    margin-bottom: 0;
}

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.75rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

/* ── SUBPAGES ── */
.page {
    max-width: 520px;
    margin: 0 auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem;
}

.back {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    border: none;
    padding: 0;
    transition: color 0.2s;
    z-index: 10;
}

.back:hover {
    color: var(--fg);
    border-color: transparent;
}

.page h1 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
}

.page h2 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.page p {
    margin-bottom: 1rem;
}

.not-found-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(4rem, 8vw, 8rem) 2rem 6rem;
    text-align: center;
}

.not-found-page p {
    max-width: 36rem;
    margin: 0 auto 1rem;
    color: var(--fg);
}

.not-found-page a {
    color: var(--fg);
    text-decoration: underline;
}

.updated {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

@media (max-width: 600px) {
    .page {
        padding: 5rem 1.5rem;
    }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 100;
    font-size: 0.8rem;
    color: var(--muted);
}

#cookie-banner p {
    margin: 0;
    line-height: 1.5;
}

#cookie-banner a {
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

#cookie-banner a:hover {
    color: var(--fg);
    border-color: var(--muted);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner-actions button {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

#cookie-decline {
    background: none;
    color: var(--muted);
    border: 1px solid var(--border);
}

#cookie-decline:hover {
    border-color: var(--muted);
    color: var(--fg);
}

#cookie-accept {
    background: var(--fg);
    color: #fff;
    border: 1px solid var(--fg);
}

#cookie-accept:hover {
    background: #333;
    border-color: #333;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {

    #hero {
        padding: 0 2.5rem;
    }

    .logo {
        width: 160px;
        height: 160px;
    }

    /* KEY CHANGE: no fixed positioning on mobile */
    .more-info {
        position: static;
        display: block;
        width: 100%;
        text-align: right;
        padding: 1rem 1.5rem 0 1.5rem;
        background: none;
        border: none;
        z-index: auto;
    }

    .sections-row {
        flex-direction: column;
    }

    section {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    section:last-child {
        border-bottom: none;
    }
}