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

:root {
    /* AI palette: indigo → purple with cyan accent */
    --primary: #4f46e5; /* indigo-600 */
    --primary-2: #9333ea; /* purple-600 */
    --accent: #06b6d4; /* cyan-500 */
    --bg: #f3f4fa; /* light, not white */
    --bg-alt-1: #f6f7ff; /* very light tint */
    --ink: #0b0f1a;
    --muted: #5a6678;
    --radius: 12px;
    --hairline: rgba(79, 70, 229, .16);
    /* Form tokens */
    --form-font-size: 13px;
    --form-line-height: 1.25;
    --form-control-padding-y: 12px;
    --form-control-padding-x: 12px;
    --form-border: 1px solid rgba(79, 70, 229, .18);
    --form-border-focus: rgba(79, 70, 229, .45);
    --form-shadow-focus: 0 0 0 3px rgba(79, 70, 229, .12);
    --form-bg: #ffffff;
    --form-fg: #1a2233;
    --form-muted: #a9a9a9; /* placeholder override */
    --select-arrow-size: 12px;
    --select-arrow-right: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
}

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

.container {
    width: min(1200px, 94vw);
    margin: 0 auto;
}

.section {
    padding: clamp(36px, 4vw, 72px) 0;
    position: relative;
}

.section + .section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

.headline {
    font-family: Outfit, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.06;
}

.headline.gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sub {
    font-size: clamp(14px, 1.8vw, 18px);
    color: #2a3342;
    max-width: 62ch;
    letter-spacing: .1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease;
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}

.btn.ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, .3);
}

/* Nav */
nav {
    position: sticky;
    top: 0;
    background: rgba(243, 244, 250, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 70, 229, .15);
    z-index: 50;
}

nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--primary);
    font-family: Outfit, Inter, sans-serif;
    font-size: clamp(16px, 1.6vw, 20px);
    letter-spacing: 0.2px;
}

.brand img {
    height: 1.15em;
    width: auto;
    display: block;
    aspect-ratio: auto;
}

.brand span {
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.nav-links a {
    padding: 6px 8px;
    border-radius: 6px;
    color: #2a3342;
}

.nav-links a:hover {
    background: #e9e7ff;
}

/* Hero */
.hero-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, #e4e6ff 0%, var(--bg) 100%);
    border: 1px solid rgba(79, 70, 229, .08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

footer {
    padding: 28px 0;
    color: #5a6678;
    font-size: 15px;
    text-align: center;
    border-top: 1px solid rgba(79, 70, 229, .1);
    background: #ecefff;
}
