@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@800&display=swap');

:root {
    --orange: #e65c00;
    --orange-light: #ff9933;
    --orange-soft: #fff2e6;
    --ink: #1a1a1a;
    --cream: #f8f6f3;
    --white: #ffffff;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--cream);
    background-image: radial-gradient(rgba(230, 92, 0, 0.14) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    color: var(--ink);
    font-family: 'Outfit', sans-serif;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 12px 12px 0;
    padding: 6px 20px;
    background: linear-gradient(135deg, #f26a10 0%, var(--orange) 100%);
    border: 3px solid #000000;
    border-radius: 20px;
    box-shadow: 5px 5px 0 #000000;
}

.navleft {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#logo {
    height: 56px;
    width: auto;
    margin: 6px 10px 6px 0;
}

#sitename {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-back {
    padding: 8px 16px;
    background: var(--white);
    color: var(--orange);
    border: 2px solid #000000;
    border-radius: 10px;
    box-shadow: 3px 3px 0 #000000;
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.nav-back:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 #000000;
}

/* Document */
.legal-wrap {
    flex: 1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 18px 60px;
}

.legal-card {
    padding: 38px 40px;
    background: var(--white);
    border: 4px solid #000000;
    border-radius: 24px;
    box-shadow: 8px 8px 0 var(--orange);
}

.legal-card h1 {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.05;
    text-shadow: 3px 3px 0 var(--orange-light);
}

.updated {
    margin: 8px 0 22px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b6b6b;
}

.summary-box {
    margin-bottom: 26px;
    padding: 16px 18px;
    background: var(--orange-soft);
    border: 3px solid #000000;
    border-radius: 14px;
    font-weight: 600;
}

.summary-box strong {
    color: var(--orange);
}

.legal-card h2 {
    margin: 30px 0 8px;
    padding-top: 6px;
    font-family: 'Bangers', cursive;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--orange);
    -webkit-text-stroke: 0.6px #000000;
}

.legal-card h3 {
    margin: 16px 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
}

.legal-card p {
    margin-bottom: 10px;
    font-weight: 500;
}

.legal-card ul {
    margin: 0 0 12px 22px;
}

.legal-card li {
    margin-bottom: 5px;
    font-weight: 500;
}

.legal-card a {
    color: var(--orange);
    font-weight: 700;
}

.toc {
    margin: 0 0 8px 20px;
    font-weight: 600;
}

.placeholder {
    padding: 0 5px;
    background: #fff3a8;
    border-radius: 4px;
    font-weight: 700;
}

/* Footer */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 26px;
    padding: 18px 30px;
    background: var(--orange);
    border-top: 4px solid #000000;
    color: var(--white);
    font-weight: 700;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    #sitename {
        font-size: 1.5rem;
    }
}

/* ---------- About / Contact extras ---------- */
.lead {
    margin: 4px 0 18px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #3a3a3a;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 12px 0 8px;
}

.mini-card {
    padding: 16px 18px;
    background: var(--orange-soft);
    border: 3px solid #000000;
    border-radius: 14px;
    box-shadow: 4px 4px 0 #000000;
}

.mini-card h3 {
    margin: 0 0 4px;
    font-family: 'Bangers', cursive;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--orange);
    -webkit-text-stroke: 0.5px #000000;
}

.mini-card p {
    margin: 0;
    font-size: 0.97rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.cta-btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--orange);
    color: var(--white) !important;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #000000;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-decoration: none;
    -webkit-text-stroke: 0.8px #000000;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-btn.ghost {
    background: var(--white);
    color: var(--orange) !important;
    -webkit-text-stroke: 0;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #000000;
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--white);
    border: 3px solid var(--orange);
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    outline: none;
    text-transform: none;
    letter-spacing: normal;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--orange-light);
    box-shadow: 4px 4px 0 #000000;
}

.form-note {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b6b6b;
}

.form-error {
    min-height: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff3333;
}

.contact-form button {
    align-self: flex-start;
    padding: 10px 28px;
    background: var(--orange);
    color: var(--white);
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #000000;
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    letter-spacing: 1px;
    cursor: pointer;
    -webkit-text-stroke: 0.8px #000000;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #000000;
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}
