/* Cropsicles - Legal Pages (Terms, Privacy, Cookies) - matches the bright landing theme */

:root {
    --sky: #37c6ff;
    --grape: #7b2ff7;
    --grape-deep: #3a0f88;
    --lime: #a6f34a;
    --lime-deep: #4e9c12;
    --magenta: #ff4fa3;
    --magenta-deep: #c11f6e;
    --corn: #ffd23f;
    --tangerine: #ff9f1c;
    --berry: #b34fff;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.82);
    --card: rgba(255, 255, 255, 0.12);
    --card-line: rgba(255, 255, 255, 0.30);
}

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

body {
    font-family: 'Fredoka', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -8%, rgba(200, 206, 216, 0.20) 0%, transparent 45%),
        radial-gradient(circle at 100% 25%, rgba(255, 79, 163, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 0% 55%, rgba(166, 243, 74, 0.22) 0%, transparent 42%),
        linear-gradient(180deg, #2b2f38 0%, #22242c 48%, #14161b 100%);
    background-attachment: fixed;
}

/* Press Start 2P - retro candy display for the main title, matching the landing */
main h1 { font-family: 'Press Start 2P', monospace; }

/* Nav */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(26, 28, 35, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(166, 243, 74, 0.4);
}
.nav-inner {
    max-width: 960px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 1.5rem;
}
.logo {
    text-decoration: none; color: var(--text);
    display: flex; align-items: center; gap: 0.5rem;
}
.logo-img {
    display: block; height: 30px; width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.breadcrumb {
    font-size: 0.95rem; color: var(--text-dim); font-weight: 500;
    display: flex; align-items: center; gap: 0.5rem;
}
.breadcrumb a { color: var(--lime); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--magenta); }
.breadcrumb .sep { opacity: 0.4; }

/* Content */
main {
    max-width: 760px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
}

main h1 {
    font-size: 1.9rem;
    color: var(--corn);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-shadow: 3px 3px 0 var(--magenta-deep), 0 0 30px rgba(255, 210, 63, 0.35);
}

.updated {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

section {
    margin-bottom: 1.6rem;
    background: var(--card);
    border: 1px solid var(--card-line);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
}

section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.7rem;
}

section p {
    font-size: 1.02rem;
    color: var(--text-dim);
    margin-bottom: 0.7rem;
    line-height: 1.7;
}
section p:last-child { margin-bottom: 0; }

section p strong { color: var(--text); font-weight: 600; }

/* Table (cookies page) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.6rem 0;
    font-size: 0.95rem;
}
th, td {
    text-align: left;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
th {
    color: var(--lime);
    font-weight: 700;
}
td { color: var(--text-dim); }

/* Footer */
footer {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}
footer a { color: var(--lime); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--magenta); }

.sep { margin: 0 0.5rem; opacity: 0.4; }

/* Mobile */
@media (max-width: 768px) {
    main h1 { font-size: 1.35rem; }
    section h2 { font-size: 1.15rem; }
    section p { font-size: 0.98rem; }
}
