/* Fully responsive CSS - Privacy Policy & Terms & Conditions
   Mobile-first, accessible, print-friendly
*/

:root {
    --bg: #f4f7f6;
    --card: #ffffff;
    --accent: #0ea678;
    --muted: #6b7280;
    --text: #0f1724;
    --max-w: 1100px;
    --radius: 12px;
    --shadow: 0 8px 30px rgba(12, 20, 30, 0.06);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.5;
}

/* Base */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--bg), #eef4f3);
    color: var(--text);
}

/* Wrapper */
.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 28px
}

/* Header */
.site-header {
    padding: 16px 0
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.brand img {
    max-width: 150px;
    height: auto
}

.brand-text strong {
    font-size: 1.05rem;
    display: block
}

.brand-text .muted {
    display: block;
    font-size: 0.85rem;
    color: var(--muted)
}

/* Hero */
.hero {
    background: linear-gradient(90deg, #08a57a 0%, #0ea678 100%);
    color: white;
    padding: 36px 0;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px
}

.hero .wrap {
    max-width: 960px
}

.hero h1 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 700
}

.hero .lead {
    margin: 8px 0 0;
    opacity: 0.95;
    font-size: 1.05rem
}

.hero .meta {
    margin: 6px 0 0;
    font-size: 0.9rem;
    opacity: 0.9
}

/* Layout */
.content {
    min-height: 300px
}

/* Cards / Sections */
.card {
    background: var(--card);
    padding: 22px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(10, 12, 20, 0.04);
    margin-bottom: 18px;
}

.card h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #07211a;
    font-size: 1.4rem;
    font-weight: 700;
}

.card h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    color: #07382f;
    font-weight: 600;
    font-size: 1.05rem;
}

.card p {
    margin: 8px 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.card ul {
    margin: 10px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.card li {
    margin: 6px 0;
    font-size: 0.98rem;
}

/* Contact card */
.contact-card {
    background: #f3fff8;
    border-left: 4px solid var(--accent);
    padding: 12px;
    border-radius: 8px;
    color: var(--text);
    display: inline-block;
    margin-top: 8px;
}

/* Footer */
.site-footer {
    padding: 16px 0;
    margin-top: 28px;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(10, 12, 20, 0.06);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.btn.ghost {
    background: transparent;
    color: var(--accent);
    border-color: rgba(14, 166, 120, 0.2);
    cursor: pointer;
}

.btn.ghost:hover {
    background: rgba(14, 166, 120, 0.05);
}

/* Utilities */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    z-index: 9999;
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

a:focus {
    outline: 3px solid rgba(14, 166, 120, 0.14);
    outline-offset: 3px
}

/* Responsive - Tablet */
@media (max-width:768px) {
    .wrap {
        padding: 18px
    }

    .hero {
        padding: 28px 0
    }

    .hero h1 {
        font-size: 1.6rem
    }

    .hero .lead {
        font-size: 0.95rem
    }

    .card {
        padding: 18px;
        margin-bottom: 14px
    }

    .card h2 {
        font-size: 1.2rem
    }
}

/* Responsive - Mobile */
@media (max-width:480px) {
    .wrap {
        padding: 14px
    }

    .site-header .wrap {
        flex-direction: column;
        gap: 10px
    }

    .brand {
        justify-content: space-between;
        width: 100%
    }

    .top-actions {
        width: 100%
    }

    .btn.ghost {
        width: 100%;
        text-align: center
    }

    .hero {
        padding: 20px 0;
        border-radius: 12px
    }

    .hero h1 {
        font-size: 1.35rem;
        margin-bottom: 8px
    }

    .hero .lead {
        font-size: 0.9rem;
        margin: 6px 0
    }

    .hero .meta {
        font-size: 0.85rem
    }

    .card {
        padding: 14px;
        margin-bottom: 12px
    }

    .card h2 {
        font-size: 1.1rem;
        margin-bottom: 12px
    }

    .card h3 {
        font-size: 0.95rem;
        margin-top: 12px
    }

    .card p {
        font-size: 0.9rem
    }

    .card ul {
        font-size: 0.9rem;
        padding-left: 18px
    }
}

/* Accessibility */
@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important
    }
}

/* Print */
@media print {
    body {
        background: white;
        color: #111
    }

    .site-header,
    .hero,
    .site-footer {
        display: none
    }

    .wrap {
        padding: 0;
        max-width: 100%
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid
    }

    a {
        color: #000;
        text-decoration: underline
    }
}