:root {
    --brand-ink: #0f172a;
    --brand-ink-muted: #475569;
    --brand-surface: #ffffff;
    --brand-surface-alt: #f8fafc;
    --brand-border: #e2e8f0;
    --brand-accent: #111111;
    --brand-accent-2: #000000;
    --brand-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

html {
    font-size: 16px;
}

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

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--brand-surface);
    color: var(--brand-ink);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.02em;
}

/* Full-bleed overrides: let sections span edge-to-edge */
.max-w-6xl,
.max-w-7xl,
.max-w-screen-xl,
.max-w-screen-lg,
.max-w-screen-md,
.max-w-screen-sm {
    max-width: 100% !important;
}

a, p, li, button, input, select, textarea {
    font-size: 1rem;
}

h1 { font-size: 2.75rem; line-height: 1.1; }
h2 { font-size: 2.25rem; line-height: 1.15; }
h3 { font-size: 1.75rem; line-height: 1.2; }
h4 { font-size: 1.35rem; line-height: 1.3; }
h5, h6 { font-size: 1.1rem; line-height: 1.35; }

a {
    color: inherit;
    text-decoration: none;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.05rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.btn-sm {
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-2));
    color: #ffffff;
    border-color: #000000;
    box-shadow: var(--brand-shadow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.btn-secondary {
    background: #111111;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
    background: #000000;
    border-color: #000000;
}

.btn-ghost {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
    border-color: rgba(0, 0, 0, 0.25);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.14);
    border-color: rgba(0, 0, 0, 0.35);
}

.btn-invert {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-invert:hover {
    background: #f5f5f5;
    color: #0b1224;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    padding: 0.65rem;
    border-radius: 12px;
    min-width: 2.75rem;
}

.surface {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--brand-border);
    background: var(--brand-surface-alt);
    color: var(--brand-ink-muted);
}

.muted-text {
    color: var(--brand-ink-muted);
}

.input-field {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    background: var(--brand-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}
