/* ==========================================================
   Shankev LLC — Modern Base
   CSS custom properties, reset, and foundational typography.
   Palette anchored to the Shankev logo: black, silver, cyan.
   ========================================================== */

/* ── Custom Properties ──────────────────────────────────── */

:root {
    /* Backgrounds */
    --color-bg:              #0a0e1a;
    --color-bg-alt:          #111827;
    --color-surface-dark:    #1a1f2e;
    --color-surface-light:   #faf8f5;
    --color-surface-card:    #ffffff;

    /* Text */
    --color-text:            #e2e8f0;
    --color-text-dark:       #1e293b;
    --color-text-muted:      #94a3b8;
    --color-text-muted-dark: #64748b;

    /* Accent — logo cyan */
    --color-accent:          #00c6e7;
    --color-accent-dim:      #008fa8;
    --color-accent-glow:     rgba(0, 198, 231, 0.12);

    /* CTA — safety orange */
    --color-cta:             #f47920;
    --color-cta-hover:       #e06810;
    --color-cta-glow:        rgba(244, 121, 32, 0.18);

    /* Borders */
    --color-border-light:    rgba(0, 0, 0, 0.08);
    --color-border-dark:     rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-sans:             'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono:             'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;

    /* Spacing */
    --space-section:         5rem;
    --space-container:       90%;
    --container-max:         1100px;
    --card-gap:              1.5rem;

    /* Shadows */
    --shadow-card:           0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-card-hover:     0 2px 6px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);

    /* Radii */
    --radius-sm:             4px;
    --radius-md:             6px;
    --radius-lg:             10px;

    /* Transitions */
    --ease-out:              cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast:       180ms var(--ease-out);
    --transition-base:       280ms var(--ease-out);
}

/* ── Reset ──────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background: var(--color-surface-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-dim);
}

ul, ol {
    list-style: none;
}

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: #ffffff;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    color: var(--color-text-dark);
}

h3 {
    font-size: 1.125rem;
    color: var(--color-accent-dim);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: inherit;
}

/* ── Container ──────────────────────────────────────────── */

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

/* ── Focus ring ─────────────────────────────────────────── */

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ── Selection ──────────────────────────────────────────── */

::selection {
    background: var(--color-accent);
    color: #0a0e1a;
}