/* ═══════════════════════════════════════════════
   DashStyle — Coming Soon
   Minimal dark landing page
   ═══════════════════════════════════════════════ */

/* --- Font Face --- */
@font-face {
    font-family: 'Geist';
    src: url('assets/Geist-Regular.woff2') format('woff2');
    font-weight: 300 500;
    font-style: normal;
    font-display: swap;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Custom Properties --- */
:root {
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-text: #ffffff;
    --color-text-secondary: #d9d9d9;
    --color-text-muted: #a7a7a7;
    --color-line: #ffffff75;
    --color-dot: #ffffff;

    --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.8125rem;
    --font-size-xs: 0.75rem;
    --font-size-logo: 1.8rem;
    --font-size-tagline: 0.75rem;

    --max-width: 1120px;
    --padding-x: clamp(1.5rem, 5vw, 4rem);
    --padding-y: clamp(2rem, 5vh, 3.5rem);

    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
}

/* --- Page Layout --- */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--padding-x) * 3) var(--padding-x) 0 var(--padding-x);
}

/* --- Divider --- */
.divider {
    border: none;
    height: 1px;
    background-color: var(--color-line);
    width: 100%;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.header {
    padding-top: var(--padding-y);
}

.header-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
}

.brand {
    display: flex;
    align-items: center;
}

svg {
    position: relative;
    top: -0.05em;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-base);
}

.logo-link:hover {
    opacity: 0.75;
}

.logo-link:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 4px;
    border-radius: 2px;
}

.logo-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.logo-text {
    font-size: var(--font-size-logo);
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.tagline {
    font-size: var(--font-size-tagline);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   MAIN
   ═══════════════════════════════════════════════ */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1.25rem;
}

/* --- Status Indicator --- */
.status {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-dot);
    flex-shrink: 0;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.status-text {
    font-size: var(--font-size-m);
    font-weight: 300;
    white-space: nowrap;

    /* ── Shimmer sweep ──
       400% wide gradient with a narrow highlight band (42%–58%).
       At position 0% and 100% the highlight is fully off-screen,
       so the text looks like solid #d9d9d9 during the pause
       and the loop restart is invisible. */
    background: linear-gradient(90deg,
            #d9d9d9 0%, #d9d9d9 42%,
            #eee 46%, #fff 50%, #eee 54%,
            #d9d9d9 58%, #d9d9d9 100%) 0% / 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0%
    }

    30%,
    100% {
        background-position: 100%
    }
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    padding-bottom: var(--padding-y);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.copyright,
.coming-soon {
    font-size: var(--font-size-m);
    font-weight: 300;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   ACCESSIBILITY — Screen Reader Only
   ═══════════════════════════════════════════════ */
.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;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {

    .page {
        padding-top: calc(var(--padding-x) * 7);
    }

    .header-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-inner {
        gap: 0;
    }

    .tagline {
        margin-top: 0.3rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .status-dot {
        animation: none;
    }

    .status-text {
        animation: none;
        background: none;
        color: var(--color-text-secondary);
    }
}