:root {
    --orange: #f8aa15;
    --blue: #0e8ec9;
    --navy: #172554;
    --white: #ffffff;
    --bg: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --font-h: 'Baloo 2', cursive;
    --font-b: 'Nunito', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--bg); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAVBAR */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    border-bottom: 2px solid #f1f5f9;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.nav-inner {
    max-width: 900px; margin: 0 auto; padding: .9rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-wordmark { height: 48px; width: auto; }
.back-link {
    font-family: var(--font-h); font-weight: 700; font-size: 1rem;
    color: var(--blue); padding: .4rem 1.2rem; border-radius: 50px;
    border: 2px solid var(--blue); transition: all .2s;
}
.back-link:hover {
    background: var(--blue); color: var(--white); text-decoration: none;
}

/* HERO */
.legal-hero {
    background: linear-gradient(135deg, #172554 0%, #1e40af 60%, #0e8ec9 100%);
    color: var(--white); text-align: center;
    padding: 4rem 2rem 5rem;
}
.legal-hero-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.legal-hero h1 {
    font-family: var(--font-h); font-size: 3rem; font-weight: 800;
    margin-bottom: .5rem;
}
.legal-meta { font-size: 1rem; opacity: .75; margin-bottom: 1.5rem; }
.legal-intro {
    font-size: 1.15rem; font-weight: 600; opacity: .9;
    max-width: 650px; margin: 0 auto; line-height: 1.7;
}

/* BODY */
.legal-page { max-width: 860px; margin: 0 auto; }
.legal-body { padding: 3rem 2rem 5rem; }

/* SECTIONS */
.legal-section {
    margin-bottom: 3rem; padding-bottom: 3rem;
    border-bottom: 2px dashed #e2e8f0;
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
    font-family: var(--font-h); font-size: 1.7rem; font-weight: 800;
    color: var(--navy); margin-bottom: 1.2rem;
    display: flex; align-items: center; gap: .75rem;
}
.sec-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--orange); color: #78350f;
    font-size: 1rem; font-weight: 800; flex-shrink: 0;
}
.legal-section p {
    font-size: 1.05rem; color: var(--muted); line-height: 1.8;
    font-weight: 600; margin-bottom: 1rem;
}

/* LISTS */
.legal-list { list-style: none; margin: .5rem 0 1rem; }
.legal-list li {
    padding: .6rem 0 .6rem 2rem; position: relative;
    font-size: 1.05rem; font-weight: 600; color: var(--text);
    border-bottom: 1px solid #f1f5f9;
}
.legal-list li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--blue); font-weight: 800;
}

/* INFO GRID */
.info-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; margin: 1.5rem 0;
}
.info-card {
    background: var(--white); border-radius: 20px;
    padding: 1.5rem; border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
    transition: transform .25s, box-shadow .25s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.info-icon { font-size: 2rem; margin-bottom: .75rem; }
.info-card h4 {
    font-family: var(--font-h); font-size: 1.15rem; font-weight: 700;
    color: var(--navy); margin-bottom: .4rem;
}
.info-card p { font-size: .95rem; margin: 0; }

/* HIGHLIGHT BOXES */
.highlight-box {
    border-radius: 16px; padding: 1.2rem 1.5rem;
    font-size: 1rem; font-weight: 700; margin: 1.5rem 0;
    line-height: 1.6;
}
.box-blue  { background: #eff6ff; border-left: 5px solid var(--blue); color: #1e40af; }
.box-yellow{ background: #fffbeb; border-left: 5px solid var(--orange); color: #92400e; }
.box-red   { background: #fff1f2; border-left: 5px solid #f43f5e; color: #9f1239; }

/* CONTACT CARD */
.contact-card {
    background: var(--white); border-radius: 20px;
    padding: 2rem; border: 2px solid #e2e8f0;
    display: flex; flex-direction: column; gap: .8rem;
}
.contact-card p { font-size: 1.05rem; margin: 0; color: var(--text); }
.contact-card a { color: var(--blue); font-weight: 700; }

/* FOOTER */
.legal-footer {
    background: #0f172a; color: #94a3b8;
    text-align: center; padding: 2rem;
    font-size: .95rem; font-weight: 600;
    display: flex; flex-direction: column;
    align-items: center; gap: .8rem;
}
.legal-footer a { color: var(--orange); }
.legal-footer a:hover { text-decoration: underline; }
.footer-legal-links { display: flex; gap: .8rem; align-items: center; }
.footer-legal-links span { opacity: .4; }

/* RESPONSIVE */
@media (max-width: 640px) {
    .legal-hero h1 { font-size: 2.2rem; }
    .info-grid { grid-template-columns: 1fr; }
    .legal-body { padding: 2rem 1.2rem 3rem; }
    .legal-section h2 { font-size: 1.4rem; }
}
