:root {
    --primary: #5cb85c;
    --primary-dark: #4cae4c;
    --secondary: #6c757d;
    --surface: #ffffff;
    --background: #f8fcfb;
    --text: #2d3436;
    --text-muted: #636e72;
    --border: #e1e8e7;
    --shadow: 0 4px 12px rgba(92, 184, 92, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

header {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid var(--background);
    padding-bottom: 20px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    /* 44px touch floor: the bare text measured 31px tall. */
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    gap: 8px;
}

.logo-link svg {
    width: 24px;
    height: 24px;
}

h1 {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

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

h2 {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary-dark);
    margin-top: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

h3 {
    color: var(--text);
    margin-top: 1.5rem;
}

p {
    margin: 1rem 0;
}

ul {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.back-link {
    display: inline-block;
    /* The grown-up's only exit door: 44px touch floor, and it sits in the
       header so it is on screen at 320px instead of below every section. */
    padding: 0.75rem 1rem;
    margin-top: 1.25rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.back-link:hover {
    transform: translateX(-4px);
}

.contact-box {
    background: var(--background);
    padding: 20px;
    border-radius: 16px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
}

.footer {
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 24px;
        border-radius: 16px;
    }
    h1 {
        font-size: 1.5rem;
    }
}

/* Bespoke return signpost: a cream plank with a green arrow bead, matching the
   playhouse controls rather than a bare text link. */
.back-link.back-link--bespoke {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
    min-height: 44px;
    padding: 0.5rem 1rem 0.5rem 0.55rem;
    color: var(--text);
    background: linear-gradient(180deg, #fffdf5 0%, #f6eccf 100%);
    border: 2px solid var(--text);
    border-radius: 0.95rem;
    box-shadow: 0 3px 0 #c9a85e, 0 6px 12px rgba(45, 52, 54, 0.12);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.back-link--bespoke .back-link-arrow {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border: 2px solid var(--text);
    border-radius: 50%;
    background: #dff3e6;
    color: var(--text);
    font-size: 1rem;
    line-height: 1;
}
.back-link.back-link--bespoke:hover {
    transform: translateY(-1px);
    color: var(--text);
}
.back-link.back-link--bespoke:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 #c9a85e;
}
