/* Aianna base styles - design tokens, reset and components shared by the
 * public website (site.css) and the studio (studio.css). Load this first.
 */

@import url('markdown.css');

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    --bg-body: #F8FAFC;
    --bg-card: #fff;
    --bg-card-hover: #F1F5F9;
    --bg-input: #fff;
    --bg-input-dark: #F1F5F9;
    --bg-input-disabled: #F1F5F9;
    --border-color: #E2E8F0;
    --border-color-dark: #F1F5F9;
    --line: rgb(30 41 59 / 0.08);

    --ink: #0F172A;
    --text-primary: #1E293B;
    --text-muted: #64748B;
    --text-dim: #94A3B8;
    --text-label: #475569;

    --accent: #4F46E5;
    --accent-hover: #4338CA;
    --accent-bg: #EEF0FF;
    --grad: linear-gradient(100deg, #4F46E5, #3FA9D6);
    --success: #16A34A;
    --success-bg: #DCFCE7;
    --accent-blue: #2563EB;
    --accent-blue-bg: #DBEAFE;
    --accent-red: #DC2626;
    --accent-red-hover: #B91C1C;
    --accent-red-bg: #FEE2E2;
    --accent-red-text: #B91C1C;
    --accent-yellow: #F59E0B;
    --accent-yellow-hover: #D97706;
    --accent-yellow-bg: #FEF3C7;
    --accent-yellow-text: #B45309;
    --accent-purple-bg: #F3E8FF;

    --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 18px 48px -18px rgb(37 64 175 / 0.18);
    --shadow-lg: 0 1px 2px rgb(15 23 42 / 0.04), 0 30px 70px -24px rgb(37 64 175 / 0.28);
    --chat-bg: rgb(255 255 255 / 0.7);
    --chat-bar-bg: rgb(255 255 255 / 0.5);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: monospace;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    background: radial-gradient(40% 50% at 85% 10%, rgb(191 219 254 / 0.5), transparent 70%), radial-gradient(35% 45% at 5% 30%, rgb(224 231 255 / 0.55), transparent 70%), #fff;
    background-attachment: fixed;
}

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

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- Pill button (public CTAs, studio header) --- */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
    transition: transform 0.2s, filter 0.2s;
    text-decoration: none;
}

.cta:hover { transform: translateY(-2px); text-decoration: none; }
.cta.primary { border-color: transparent; color: #fff; background: var(--grad); box-shadow: 0 10px 30px -10px rgb(79 70 229 / 0.6); }
.cta.primary:hover { filter: brightness(1.06); }
.cta.lg { height: 60px; padding: 0 32px; font-size: 1.1rem; }
