/* ==========================================================================
   Vitalii Bokhin — Software Engineer — site footer stylesheet
   Shares the design tokens with home.css / header.css (ink-navy surface,
   amber signal accent). Kept standalone so the footer can be included
   on any page.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens (mirrors home.css — keep in sync if you update one)
   ------------------------------------------------------------------------- */
:root {
    --bg: #0b1220;
    --bg-raised: #101b2d;

    --ink: #edeef0;
    --ink-dim: #c7cbd6;
    --ink-muted: #8b93a7;
    --ink-faint: #5b6376;

    --amber: #f5a623;
    --teal: #4fd1c5;

    --line: rgba(237, 238, 240, 0.09);
    --line-strong: rgba(237, 238, 240, 0.16);

    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

    --container-w: 1080px;
    --radius-sm: 6px;
}

/* -------------------------------------------------------------------------
   2. Footer shell
   ------------------------------------------------------------------------- */
.site-footer {
    background: var(--bg-raised);
    border-top: 1px solid var(--line);
}

.footer-inner {
    padding: 64px 32px 32px;
}

@media (max-width: 640px) {
    .footer-inner {
        padding: 48px 20px 24px;
    }
}

/* -------------------------------------------------------------------------
   3. Top row — logo + tagline
   ------------------------------------------------------------------------- */
.footer-top {
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.footer-logo::before {
    content: '~/';
    color: var(--amber);
}

.footer-tagline {
    margin-top: 10px;
    font-size: 14px;
    color: var(--ink-muted);
    max-width: 48ch;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------
   4. Nav row
   ------------------------------------------------------------------------- */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.footer-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-dim);
    transition: color 0.15s ease;
}

.footer-nav-link:hover {
    color: var(--amber);
}

/* -------------------------------------------------------------------------
   5. Links row (contact channels)
   ------------------------------------------------------------------------- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-dim);
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.footer-link:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(79, 209, 197, 0.06);
}

/* -------------------------------------------------------------------------
   6. Bottom row — copyright
   ------------------------------------------------------------------------- */
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-faint);
}

@media (max-width: 640px) {

    .footer-nav,
    .footer-links {
        gap: 12px;
    }
}