/* 
 * Executive Minimal Theme
 * Derived from @repo/ui for static landing pages.
 * Incorporates design tokens from the main application.
 */

/* Core Variables */
:root {
    /* Colors - Light Mode Default */
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #7c3aed;
    --color-secondary-light: #8b5cf6;
    --color-background: #ffffff;
    --color-foreground: #0a0a0a;
    --color-muted: #f5f5f5;
    --color-muted-foreground: #737373;
    --color-border: #e5e5e5;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', serif;
    /* Optional for Variant B style alignment */

    /* Spacing & Radius */
    --radius: 0.5rem;
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-foreground);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: white;
    /* Ensure text stays white */
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-foreground);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-muted);
    border-color: var(--color-muted-foreground);
}

/* Container & Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 60px 0;
}

/* Card Component */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: white;
    border: 1px solid var(--color-border);
    padding: 32px;
    border-radius: var(--radius);
    transition: border-color 0.2s, background-color 0.2s;
    cursor: pointer;
}

.card:hover {
    border-color: var(--color-primary-light);
    background-color: #f8fafc;
    /* Subtle hover bg */
}

.card.selected {
    border-color: var(--color-primary);
    background-color: #eff6ff;
    /* Light blue tint */
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--color-muted-foreground);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* Utilities */
.text-muted {
    color: var(--color-muted-foreground);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Chain Visualization (Common Pattern) */
.chain {
    font-family: monospace;
    background: var(--color-muted);
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
}