:root {
    /* Brand accent — the dailyAxis app's cyan, popped against black */
    --color-primary: #04ABA6;
    --color-primary-light: #05c4be;
    --color-primary-dark: #038f8b;
    --color-primary-ghost: rgba(5, 196, 190, 0.12);

    /* Neutrals — near-black base, off-white text */
    --color-bg: #000000;
    --color-surface: #111113;
    --color-text: #f5f5f7;
    --color-text-sub: #86868b;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Liquid glass */
    --glass-bg: rgba(255, 255, 255, 0.055);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-highlight: rgba(255, 255, 255, 0.18);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-full: 999px;

    /* Spacing */
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 48px;
    --space-2xl: 96px;

    /* Type */
    --font-base: 'Poppins', ui-sans-serif, system-ui, sans-serif;

    /* Layout */
    --container-width: 1180px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-base);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Ambient color fields the glass surfaces can refract */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

body::before {
    width: 60vw;
    height: 60vw;
    top: -20vw;
    right: -18vw;
    background: radial-gradient(circle, rgba(4, 171, 166, 0.16) 0%, transparent 65%);
}

body::after {
    width: 55vw;
    height: 55vw;
    bottom: -22vw;
    left: -16vw;
    background: radial-gradient(circle, rgba(48, 68, 160, 0.14) 0%, transparent 65%);
}

h1, h2, h3, h4 {
    margin: 0 0 var(--space-md);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 var(--space-md);
    color: var(--color-text-sub);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Zero-size holder for shared SVG filter definitions */
.svg-defs {
    position: absolute;
}

/* Eyebrow label */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin: 0 0 var(--space-sm);
}

.accent {
    color: var(--color-primary-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--color-primary);
    color: #00201f;
    box-shadow: 0 8px 24px -8px rgba(4, 171, 166, 0.6);
}

.btn--primary:hover {
    background: var(--color-primary-light);
}

.btn--lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Header — floating liquid-glass capsule */
.site-header {
    position: sticky;
    top: 14px;
    z-index: 50;
}

.nav-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: 8px 10px 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(12, 12, 14, 0.55);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid var(--glass-border);
    box-shadow:
        inset 0 1px 0 var(--glass-highlight),
        0 12px 40px rgba(0, 0, 0, 0.45);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.98rem;
}

.brand__mark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-capsule__links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-capsule__links a {
    color: var(--color-text-sub);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-capsule__links a:hover {
    color: var(--color-text);
}

.nav-capsule__cta {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #00201f !important;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 18px -6px rgba(4, 171, 166, 0.6);
}

@media (max-width: 640px) {
    .brand__name {
        display: none;
    }

    .nav-capsule {
        gap: var(--space-sm);
        padding: 6px 6px 6px 12px;
    }

    .nav-capsule__links {
        gap: var(--space-md);
    }

    .nav-capsule__links a {
        font-size: 0.8rem;
    }

    .nav-capsule__cta {
        padding: 7px 14px;
    }
}

.nav-capsule__cta:hover {
    background: var(--color-primary-light);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-2xl);
    padding: var(--space-xl) 0;
}

.site-footer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.site-footer__tagline {
    margin: 0;
    font-size: 0.9rem;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    .site-footer__row {
        flex-direction: column;
        text-align: center;
    }
}
