/* GymCrush — shared stylesheet.
   One file for every page so the brand can't drift between them.

   Fonts are self-hosted on purpose. Loading them from the Google Fonts CDN
   sends every visitor's IP address to Google, which needs a legal basis under
   GDPR and would contradict the "no third-party tracking" claim in the privacy
   policy. Self-hosting removes the third-party request entirely, so the site
   sets no cookies and needs no consent banner. */

@font-face {
    font-family: 'Rubik';
    src: url('fonts/rubik-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('fonts/rubik-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('fonts/rubik-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('fonts/rubik-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('fonts/rubik-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #FFF8EF;
    --surface: #FFFCF7;
    --surface-soft: #FFF0E4;
    --border: #EFDCCB;
    --text: #14213A;
    --text-body: #4B5563;
    --text-muted: #8F8178;
    --primary: #F66F7D;
    --primary-dark: #D94F5F;
    --accent: #EC7591;
    --mint: #7BCBB8;
    --gold: #F7C95D;
    --radius: 16px;
    --shadow-sm: 0 4px 12px rgba(20, 33, 58, 0.08);
    --shadow-md: 0 6px 18px rgba(20, 33, 58, 0.10);
    --shadow-lg: 0 18px 42px rgba(20, 33, 58, 0.14);
    --font: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

/* Keyboard users must be able to see where they are. */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--text);
    color: #FFF;
    padding: 12px 20px;
    border-radius: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    left: 0;
}

/* ── Header ── */

header {
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.brand-link img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.brand-link span {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--primary-dark);
}

/* ── Document pages (privacy / terms / support) ── */

.content {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 24px 90px;
}

.content h1 {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.content .subtitle {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 8px;
}

.last-updated {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 44px;
}

.content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 44px;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
    scroll-margin-top: 24px;
}

.content h3 {
    font-size: 15.5px;
    font-weight: 600;
    margin-top: 26px;
    margin-bottom: 8px;
    color: #374151;
}

.content p {
    color: var(--text-body);
    font-size: 15.5px;
    margin-bottom: 14px;
}

.content ul,
.content ol {
    margin-left: 20px;
    margin-bottom: 14px;
}

.content li {
    color: var(--text-body);
    font-size: 15.5px;
    margin-bottom: 7px;
}

.content a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content a:hover {
    color: var(--primary);
}

.content strong {
    color: var(--text);
    font-weight: 600;
}

.callout {
    background: var(--surface-soft);
    border-left: 3px solid var(--primary);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
}

.callout h3 {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 6px;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* Visible only to screen readers — used for table captions that would be
   redundant on screen next to the heading above them. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Data-practice table — the clearest way to show what is collected and why. */
.table-wrap {
    overflow-x: auto;
    margin: 18px 0 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 520px;
    font-size: 14.5px;
}

th, td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
    vertical-align: top;
    line-height: 1.6;
}

th {
    background: var(--surface-soft);
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}

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

.faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-of-type {
    border-bottom: none;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--text);
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.contact-box {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 40px;
    text-align: center;
}

.contact-box h2 {
    margin-top: 0;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.email-btn {
    display: inline-block;
    margin-top: 8px;
    background: var(--primary);
    color: #FFF !important;
    padding: 13px 26px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s, background 0.2s;
}

.email-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #FFF !important;
}

/* ── Footer ── */

footer {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

@media (max-width: 600px) {
    header {
        padding: 14px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-links {
        gap: 18px;
    }

    .content {
        padding: 36px 20px 60px;
    }

    .content h1 {
        font-size: 30px;
    }

    .content h2 {
        font-size: 18px;
        margin-top: 36px;
    }

    .contact-box {
        padding: 22px 18px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 20px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
