/* ── Shared site styles ─────────────────────────────────────────── */

:root {
    --green-deep: #1f3d2b;
    --green-mid:  #2e7d5b;
    --green-dark: #256749;
    --green-soft: #e6f0ea;
    --bg:         #f4f7f6;
    --card:       #ffffff;
    --text:       #333333;
    --text-muted: #6b7570;
    --border:     #d8dcd9;
    --shadow:     0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg:  0 4px 14px rgba(0, 0, 0, 0.10);
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* ── Header & nav ────────────────────────────────────────────────── */

.site-header {
    background: var(--green-deep);
    color: white;
    padding: 1.75rem 1rem 1.25rem;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-header .tagline {
    margin: 0.5rem auto 0;
    font-size: 0.95rem;
    opacity: 0.85;
    max-width: 600px;
}

.site-nav {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.site-nav a {
    color: white;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    opacity: 0.85;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.site-nav a.active {
    background: rgba(255, 255, 255, 0.18);
    opacity: 1;
    font-weight: 500;
}

/* ── Container & sections ────────────────────────────────────────── */

.container {
    max-width: 1000px;
    margin: 2.5rem auto;
    padding: 0 1.25rem;
}

.section {
    margin-bottom: 2.5rem;
}

.section h2 {
    color: var(--green-deep);
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.section h3 {
    color: var(--green-deep);
    font-size: 1.1rem;
    margin: 1.25rem 0 0.5rem;
    font-weight: 600;
}

.section p {
    margin: 0 0 0.75rem;
}

.section ul {
    margin: 0 0 0.75rem;
    padding-left: 1.4rem;
}

.section ul li {
    margin-bottom: 0.4rem;
}

/* ── Cards ───────────────────────────────────────────────────────── */

.card {
    background: var(--card);
    padding: 1.25rem 1.4rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.card h3 {
    color: var(--green-deep);
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.card p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

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

.feature-card .icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.6rem;
    display: block;
}

/* ── Platform cards ──────────────────────────────────────────────── */

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

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

.platform-card .icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0.6rem;
    display: block;
}

.platform-card .qr-code {
    display: block;
    margin: 0.8rem 0;
    border-radius: 6px;
    max-width: 100%;
    height: auto;
}

.platform-card--soon {
    opacity: 0.75;
}

.post-platforms {
    margin-top: 1.4rem;
}

/* ── Buttons & links ─────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: var(--green-mid);
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: var(--green-dark);
}

a.text-link {
    color: var(--green-mid);
    text-decoration: none;
    border-bottom: 1px solid rgba(46, 125, 91, 0.3);
    transition: border-color 0.15s ease;
}

a.text-link:hover {
    border-bottom-color: var(--green-mid);
}

/* ── Privacy page tables ─────────────────────────────────────────── */

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0 1rem;
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 0.92rem;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.data-table th {
    background: var(--green-soft);
    color: var(--green-deep);
    font-weight: 600;
}

.data-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 700px) {
    .data-table {
        font-size: 0.85rem;
    }
    .data-table th,
    .data-table td {
        padding: 0.55rem 0.7rem;
    }
}

/* ── Footer ──────────────────────────────────────────────────────── */

.site-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 2rem 1rem 2.5rem;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

.site-footer a {
    color: var(--green-mid);
    text-decoration: none;
    margin: 0 0.5rem;
}

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

/* ── Utilities ───────────────────────────────────────────────────── */

.lead {
    font-size: 1.05rem;
    color: var(--text);
}

.muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.callout {
    background: var(--green-soft);
    border-left: 3px solid var(--green-mid);
    padding: 0.85rem 1rem;
    border-radius: 0 6px 6px 0;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.callout strong {
    color: var(--green-deep);
}
