/* ============================================
   Kobu brand layer, loaded after styles.css on every page.

   The app's rules (DESIGN.md §1.1), on the web:
   - a black canvas, with depth from lightness and never from outlines;
   - the primary action is the white button;
   - Kobu orange (#FF6A1A) is a spark for live state, never a link or a
     button colour;
   - a heavy, tight heading and a wide-tracked uppercase micro-label.
   ============================================ */

:root {
    --bg: #000000;
    --bg-card: #171717;
    --bg-card-hover: #1F1F20;
    --bg-elevated: #262628;
    --border: #1C1C1E;
    --border-light: #2A2A2C;
    --text: #F5F5F7;
    --text-secondary: #A1A1A6;
    --text-muted: #6E6E73;
    --accent: #FF6A1A;
    --accent-hover: #FF7D38;
    --gradient-start: #FFFFFF;
    --gradient-end: #A1A1A6;
    --spark: #FF6A1A;
}

body {
    background: var(--bg);
}

/* The logo: the gorilla tile beside the white wordmark. */
.nav-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-logo::before,
.footer-logo::before {
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: url("favicon-192.png?v=kobu") center / cover no-repeat;
    flex: none;
}

.footer-logo::before {
    width: 26px;
    height: 26px;
    border-radius: 7px;
}

.wordmark,
.wordmark-footer {
    color: #FFFFFF;
}

.wordmark-nav {
    font-size: 24px;
}

.nav {
    background: rgba(0, 0, 0, 0.72);
}

.nav-links a,
.nav-mobile a {
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-mobile a:hover,
.nav-links a.active,
.nav-mobile a.active {
    color: #FFFFFF;
}

/* The menu links sit on the same line as the Coach login pill. */
.nav-links {
    align-items: center;
}

/* Coach login: a small white pill at the end of the menu. */
.nav-links a.nav-cta {
    background: #FFFFFF;
    color: #000000;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
}

.nav-links a.nav-cta:hover {
    background: #E8E8EA;
    color: #000000;
}

.nav-mobile a.nav-cta {
    color: #FFFFFF;
    font-weight: 600;
}

/* Buttons: white is the primary action, a dark card is the second. */
.btn-primary {
    background: #FFFFFF;
    color: #000000;
    box-shadow: none;
}

.btn-primary:hover {
    background: #E8E8EA;
    color: #000000;
    box-shadow: none;
}

.btn-secondary {
    background: var(--bg-elevated);
    color: #FFFFFF;
    border: none;
}

.btn-secondary:hover {
    background: #303032;
    border: none;
}

/* The micro-label above a heading. */
.section-tag {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Links inside a policy page: white and underlined, not orange. */
.policy-meta a,
.policy-article a,
.policy-section a {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 3px;
}

.policy-meta a:hover,
.policy-article a:hover,
.policy-section a:hover {
    text-decoration-color: #FFFFFF;
}

.policy-section li::before {
    background: var(--text-muted);
}

.gradient-text {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #FFFFFF;
}

.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-column a {
    color: var(--text-secondary);
}

.footer-column a:hover {
    color: #FFFFFF;
}
