/* Calebsthetics brand system — shared by home, apply, and privacy pages.
   Brand palette: Blue #4C87F5 + Black #000000 (see brand details.pdf).
   Brand type: QType Square (display) and Argentum Sans (text). Web stand-ins:
   Saira Semi Condensed (squared display) and Montserrat (Argentum Sans is Montserrat-derived). */

:root {
    color-scheme: dark;
    --blue: #4c87f5;
    --blue-hi: #7aa6ff;
    --blue-lo: #2f63c9;
    --blue-wash: rgb(76 135 245 / .1);
    --blue-line: rgb(76 135 245 / .35);
    --black: #000;
    --ink-1: #06070a;
    --ink-2: #0d0f14;
    --ink-3: #141821;
    --line: #232834;
    --line-2: #343b4b;
    --text: #f4f6fb;
    --text-2: #b9c1d0;
    --text-3: #8b94a6;
    --font-display: 'Saira Semi Condensed', 'Arial Narrow', system-ui, sans-serif;
    --font-text: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --slant: 14px;
    --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.brand {
    margin: 0;
    background: var(--black);
    color: var(--text-2);
    font: 400 16px/1.65 var(--font-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.brand ::selection { background: var(--blue); color: var(--black); }
.brand img { max-width: 100%; display: block; }
.brand a { color: var(--blue-hi); text-underline-offset: 4px; }
.brand [hidden] { display: none !important; }
.brand :focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 4px; }
.brand h1, .brand h2, .brand h3, .brand h4 {
    font-family: var(--font-display);
    color: var(--text);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.005em;
    margin: 0;
    text-transform: uppercase;
}

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* Eyebrow echoes the spaced "C O A C H I N G" lockup line. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--blue);
    font: 600 11px/1.2 var(--font-text);
    letter-spacing: .32em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 3px;
    background: var(--blue);
    transform: skewX(-38deg);
}

/* Buttons are parallelograms that follow the mark's slant. */
.btn {
    --c: var(--blue);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 34px;
    border: 0;
    background: var(--c);
    color: var(--black) !important;
    font: 700 15px/1 var(--font-display);
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
    transition: background .2s, transform .2s;
}
.btn:hover { --c: var(--blue-hi); transform: translateY(-1px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost {
    background: transparent;
    color: var(--text) !important;
    box-shadow: inset 0 0 0 1px var(--line-2);
    clip-path: none;
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-wash); }
.btn-lg { min-height: 60px; padding-inline: 44px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 10px 22px; font-size: 13px; --slant: 10px; }
.btn:focus-visible { outline-offset: 6px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(0 0 0 / .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: block; flex-shrink: 0; line-height: 0; }
.logo img { height: 34px; width: auto; }
.site-nav { display: flex; gap: 34px; }
.site-nav a {
    color: var(--text-2);
    text-decoration: none;
    font: 600 12px/1 var(--font-text);
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .2s;
}
.site-nav a:hover { color: var(--text); }
.back-link {
    color: var(--text-2) !important;
    font: 600 12px/1 var(--font-text);
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.back-link:hover { color: var(--text) !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-1); padding: 48px 0 40px; }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: auto 1fr auto; align-items: center; }
.site-footer .logo img { height: 28px; }
.site-footer p { margin: 0; font-size: 12px; color: var(--text-3); text-align: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a, .footer-links button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--text-2);
    font: 600 11px/1.4 var(--font-text);
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.footer-links a:hover, .footer-links button:hover { color: var(--blue-hi); }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; background: var(--blue); color: var(--black) !important; font-weight: 700; }
.skip-link:focus { top: 8px; }

@media (max-width: 860px) {
    .site-nav { display: none; }
    .site-footer .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .footer-links { justify-content: center; }
}
@media (max-width: 420px) {
    .site-header .wrap { height: 64px; }
    .logo img { height: 26px; }
    .btn-sm { padding-inline: 16px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .brand *, .brand *::before, .brand *::after { transition: none !important; animation: none !important; }
}
