:root {
    --orange: #f97316;
    --orange-dark: #d95f0b;
    --orange-soft: #fff3e8;
    --ink: #172033;
    --muted: #647085;
    --line: #e9edf3;
    --surface: #ffffff;
    --background: #f8fafc;
    --shadow: 0 24px 70px rgba(23, 32, 51, 0.10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(233, 237, 243, 0.85);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #ff9b42, var(--orange));
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.28);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #4d586b;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--orange);
}

.main-nav .nav-cta {
    padding: 10px 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--orange);
}

.main-nav .nav-cta:hover {
    color: #fff;
    background: var(--orange-dark);
}

.hero {
    padding: 96px 0 78px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.18), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fffaf6 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.hero h1,
.auth-card h1,
.error-card h1 {
    margin: 0;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.hero-copy > p {
    max-width: 700px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 13px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: 160ms ease;
}

.button-primary {
    color: #fff;
    background: var(--orange);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.22);
}

.button-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.button-secondary {
    border: 1px solid var(--line);
    background: #fff;
}

.hero-card,
.preview-card,
.auth-card,
.error-card {
    border: 1px solid rgba(233, 237, 243, 0.95);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 32px;
}

.hero-card > span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 750;
}

.hero-card strong {
    display: block;
    margin: 10px 0 24px;
    font-size: 28px;
}

.status-dot {
    width: 12px;
    height: 12px;
    margin-bottom: 18px;
    border: 3px solid #d6f8e7;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px #eafbf2;
}

.hero-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-card li::before {
    margin-right: 10px;
    color: var(--orange);
    content: "✓";
    font-weight: 900;
}

.products-preview {
    padding: 86px 0 104px;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.preview-card {
    padding: 28px;
    box-shadow: 0 18px 50px rgba(23, 32, 51, 0.06);
}

.preview-card.muted {
    opacity: 0.72;
}

.preview-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: var(--orange-dark);
    background: var(--orange-soft);
    font-size: 13px;
    font-weight: 900;
}

.preview-card h3 {
    margin: 22px 0 9px;
    font-size: 20px;
}

.preview-card p,
.auth-card p,
.error-card p {
    margin: 0;
    color: var(--muted);
}

.auth-section,
.error-section {
    display: grid;
    min-height: calc(100vh - 154px);
    padding: 70px 20px;
    place-items: center;
    background:
        radial-gradient(circle at 50% 10%, rgba(249, 115, 22, 0.14), transparent 30%),
        var(--background);
}

.auth-card,
.error-card {
    width: min(100%, 520px);
    padding: 38px;
}

.auth-card h1,
.error-card h1 {
    font-size: 38px;
}

.auth-card > p,
.error-card > p {
    margin-top: 13px;
}

.auth-form {
    display: grid;
    gap: 17px;
    margin-top: 30px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
}

.auth-form input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #f8fafc;
    font: inherit;
}

.button:disabled,
.auth-form input:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

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

.error-code {
    display: block;
    color: var(--orange);
    font-size: 90px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.07em;
}

.error-card .button {
    margin-top: 26px;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #fff;
    font-size: 13px;
}

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

    .hero {
        padding-top: 68px;
    }

    .hero-grid {
        gap: 40px;
    }

    .main-nav > a:not(.nav-cta) {
        display: none;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        min-height: 68px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-copy > p {
        font-size: 17px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .auth-card,
    .error-card {
        padding: 28px 22px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        text-align: center;
    }
}

