/* Critical CSS for home above-the-fold rendering */
:root {
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #0b1220;
    color: #e5e7eb;
    line-height: 1.4;
}

.et-page-shell {
    min-height: 100vh;
}

.et-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 10, 18, .95);
    border-bottom: 1px solid rgba(148, 163, 184, .25);
    backdrop-filter: saturate(120%) blur(6px);
}

.et-navbar-inner {
    width: min(1200px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.et-nav-actions .et-login-btn,
.et-login-btn {
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid #1e293b;
    border-radius: 999px;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: 700;
}

.et-home-v2 {
    width: min(1200px, calc(100% - 24px));
    margin: 14px auto 24px;
}

.et-home-v2-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: #0b1220;
}

.et-home-v2-hero-bg {
    position: absolute;
    inset: 0;
}

.et-home-v2-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.et-home-v2-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, .85), rgba(2, 6, 23, .5));
}

.et-home-v2-shell,
.et-home-v2-hero-inner {
    position: relative;
    z-index: 2;
}

.et-home-v2-hero-inner {
    padding: 24px;
}

.et-home-v2-kicker {
    color: #fde68a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.et-home-v2-hero-copy h1 {
    margin: 8px 0 8px;
    color: #f8fafc;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.04;
}

.et-home-v2-hero-copy p {
    margin: 0 0 14px;
    color: #e5e7eb;
    max-width: 760px;
}

.et-home-v2-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 0 0 14px;
}

.et-home-v2-search input {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .45);
    background: rgba(255, 255, 255, .96);
    color: #0f172a;
    padding: 0 12px;
}

.et-home-v2-search button,
.et-home-v2-btn,
.et-home-v2-link-btn,
.et-home-v2-btn-primary,
.et-home-v2-btn-soft {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    background: #0f172a;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 800;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .et-home-v2-hero {
        min-height: 340px;
    }

    .et-home-v2-hero-inner {
        padding: 16px;
    }

    .et-home-v2-search {
        grid-template-columns: minmax(0, 1fr);
    }
}
