@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;700;800&display=swap");

/* CrashFinder prototype shell */

:root {
    --shell-bg-start: #fff7ef;
    --shell-bg-end: #eef3ff;
    --shell-tint-a: rgba(255, 90, 31, 0.18);
    --shell-tint-b: rgba(71, 85, 255, 0.15);
    --shell-tint-c: rgba(0, 209, 178, 0.15);
    --shell-ink: #15202b;
    --shell-muted: rgba(21, 32, 43, 0.72);
    --shell-line: rgba(21, 32, 43, 0.12);
    --shell-card: rgba(255, 255, 255, 0.86);
    --shell-card-strong: rgba(255, 255, 255, 0.96);
    --shell-accent: #ff5a1f;
    --shell-accent-strong: #d61c7a;
    --shell-accent-soft: rgba(255, 90, 31, 0.14);
    --shell-visual-start: #111827;
    --shell-visual-mid: #1b2640;
    --shell-visual-end: #2b3555;
    --shell-shadow: 0 28px 84px rgba(21, 32, 43, 0.14);
    --shell-radius-xl: 28px;
    --shell-radius-lg: 22px;
    --shell-radius-md: 16px;
    --shell-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Space Grotesk",
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--shell-ink);
    background:
        radial-gradient(1100px 700px at 10% 8%, var(--shell-tint-a), transparent 62%),
        radial-gradient(900px 600px at 92% 14%, var(--shell-tint-b), transparent 64%),
        radial-gradient(760px 620px at 28% 98%, var(--shell-tint-c), transparent 64%),
        linear-gradient(180deg, var(--shell-bg-start) 0%, var(--shell-bg-end) 100%);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input {
    font: inherit;
}

.wrap {
    width: min(100% - 32px, var(--shell-max));
    margin: 0 auto;
}

.shell-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(248, 246, 241, 0.82);
    border-bottom: 1px solid var(--shell-line);
}

.shell-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.shell-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.shell-pill,
.shell-variant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 36, 48, 0.06);
    border: 1px solid rgba(26, 36, 48, 0.08);
    color: var(--shell-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.shell-variant {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.shell-callbtn,
.shell-ghostbtn,
.shell-primarybtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        background 0.14s ease;
}

.shell-callbtn,
.shell-primarybtn {
    background: linear-gradient(180deg, var(--shell-accent), var(--shell-accent-strong));
    color: #17202a;
    box-shadow: 0 14px 32px rgba(198, 148, 69, 0.18);
}

.shell-ghostbtn {
    background: rgba(26, 36, 48, 0.06);
    border: 1px solid rgba(26, 36, 48, 0.12);
}

.shell-callbtn:hover,
.shell-callbtn:focus-visible,
.shell-primarybtn:hover,
.shell-primarybtn:focus-visible,
.shell-ghostbtn:hover,
.shell-ghostbtn:focus-visible {
    transform: translateY(-1px);
}

.shell-main {
    padding: 22px 0 34px;
}

.shell-hero {
    overflow: hidden;
    border: 1px solid rgba(26, 36, 48, 0.1);
    border-radius: var(--shell-radius-xl);
    background: var(--shell-card);
    box-shadow: var(--shell-shadow);
}

.shell-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    min-height: 620px;
}

.shell-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 46px 46px 40px;
}

.shell-kicker {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--shell-accent-soft);
    color: var(--shell-accent-strong);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shell-title {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.shell-subtitle {
    margin: 0;
    max-width: 52ch;
    color: var(--shell-muted);
    font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.shell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shell-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.shell-trust {
    padding: 14px;
    border-radius: var(--shell-radius-md);
    background: rgba(26, 36, 48, 0.04);
    border: 1px solid rgba(26, 36, 48, 0.08);
}

.shell-trust b,
.shell-trust span {
    display: block;
}

.shell-trust b {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.shell-trust span {
    color: var(--shell-muted);
    font-size: 0.85rem;
}

.shell-visual,
.shell-panel {
    position: relative;
    min-height: 100%;
}

.shell-visual {
    overflow: hidden;
    border-left: 1px solid rgba(26, 36, 48, 0.08);
    background:
        linear-gradient(180deg, rgba(22, 29, 39, 0.1), rgba(22, 29, 39, 0.02)),
        linear-gradient(135deg, var(--shell-visual-start) 0%, var(--shell-visual-mid) 48%, var(--shell-visual-end) 100%);
}

.shell-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(300px 300px at 80% 18%, rgba(250, 204, 21, 0.1), transparent 70%),
        linear-gradient(90deg, rgba(10, 15, 28, 0.08), rgba(10, 15, 28, 0.48));
    pointer-events: none;
}

.shell-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shell-visual-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(8, 13, 22, 0.62);
    color: #f9fafb;
    backdrop-filter: blur(10px);
}

.shell-visual-copy b {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.shell-visual-copy span {
    color: rgba(248, 250, 252, 0.76);
    font-size: 0.9rem;
}

.shell-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
}

.shell-card {
    width: 100%;
    max-width: 440px;
    padding: 22px;
    border-radius: var(--shell-radius-lg);
    border: 1px solid rgba(26, 36, 48, 0.1);
    background: var(--shell-card-strong);
    box-shadow: 0 18px 44px rgba(18, 27, 37, 0.11);
}

.shell-card h2 {
    margin: 10px 0 6px;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.shell-card p {
    margin: 0 0 16px;
    color: var(--shell-muted);
    font-size: 0.96rem;
}

.shell-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--shell-muted);
    font-size: 0.9rem;
}

.shell-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.shell-list li::before {
    content: "•";
    color: var(--shell-accent-strong);
    font-weight: 900;
}

.shell-form {
    display: grid;
    gap: 14px;
}

.shell-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--shell-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.shell-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(26, 36, 48, 0.16);
    background: rgba(250, 250, 248, 0.92);
    color: var(--shell-ink);
    outline: none;
    transition:
        border-color 0.14s ease,
        box-shadow 0.14s ease,
        background 0.14s ease;
}

.shell-field input::placeholder {
    color: rgba(26, 36, 48, 0.35);
}

.shell-field input:focus {
    border-color: rgba(198, 148, 69, 0.68);
    box-shadow: 0 0 0 4px rgba(216, 179, 106, 0.16);
    background: #fff;
}

.shell-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #e3c078, #cf9a42);
    color: #16202c;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        opacity 0.14s ease;
    box-shadow: 0 18px 40px rgba(198, 148, 69, 0.2);
}

.shell-submit:hover,
.shell-submit:focus-visible {
    transform: translateY(-1px);
}

.shell-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.shell-status {
    display: none;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(26, 36, 48, 0.12);
    background: rgba(26, 36, 48, 0.05);
    font-size: 0.88rem;
}

.shell-status.ok {
    border-color: rgba(34, 197, 94, 0.38);
    background: rgba(34, 197, 94, 0.12);
}

.shell-status.err {
    border-color: rgba(239, 68, 68, 0.32);
    background: rgba(239, 68, 68, 0.08);
}

.shell-fine {
    color: rgba(26, 36, 48, 0.62);
    font-size: 0.76rem;
    line-height: 1.5;
}

.shell-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.shell-gallery-card {
    overflow: hidden;
    border-radius: var(--shell-radius-md);
    border: 1px solid rgba(26, 36, 48, 0.08);
    background: var(--shell-card);
    box-shadow: 0 16px 34px rgba(18, 27, 37, 0.08);
}

.shell-gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.shell-gallery-card .shell-caption {
    padding: 15px 16px 16px;
}

.shell-gallery-card b {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.shell-gallery-card span {
    color: var(--shell-muted);
    font-size: 0.85rem;
}

.shell-footer {
    margin: 24px 0 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(26, 36, 48, 0.12);
    color: rgba(26, 36, 48, 0.78);
    font-size: 0.82rem;
    line-height: 1.6;
}

.shell-build-info {
    margin-top: 8px;
    color: rgba(26, 36, 48, 0.56);
    font-size: 0.72rem;
}

.prototype-index .shell-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
}

.prototype-index .shell-hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
}

.prototype-index .shell-copy {
    padding-bottom: 24px;
}

.prototype-index .shell-title {
    max-width: 14ch;
}

.prototype-index .shell-gallery {
    margin-top: 0;
}

.prototype-direct .shell-visual {
    background:
        linear-gradient(180deg, rgba(10, 15, 28, 0.04), rgba(10, 15, 28, 0.14)),
        linear-gradient(135deg, #101826 0%, #1a2330 48%, #243042 100%);
}

.prototype-editorial .shell-hero,
.prototype-form-first .shell-hero {
    background: rgba(255, 255, 255, 0.88);
}

.prototype-editorial .shell-copy,
.prototype-form-first .shell-copy {
    padding-right: 36px;
}

.prototype-form-first .shell-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
}

.prototype-form-first .shell-card {
    max-width: 480px;
}

.prototype-form-first .shell-title {
    max-width: 10ch;
}

.prototype-index {
    --shell-bg-start: #fff5eb;
    --shell-bg-end: #eef4ff;
    --shell-tint-a: rgba(255, 85, 58, 0.18);
    --shell-tint-b: rgba(88, 72, 255, 0.16);
    --shell-tint-c: rgba(0, 194, 167, 0.14);
    --shell-accent: #ff5a1f;
    --shell-accent-strong: #6d28d9;
    --shell-accent-soft: rgba(255, 90, 31, 0.14);
    --shell-visual-start: #101827;
    --shell-visual-mid: #1c2741;
    --shell-visual-end: #2b3655;
}

.prototype-direct {
    --shell-bg-start: #fff3e8;
    --shell-bg-end: #ffeef4;
    --shell-tint-a: rgba(255, 66, 133, 0.18);
    --shell-tint-b: rgba(255, 138, 0, 0.16);
    --shell-tint-c: rgba(168, 85, 247, 0.12);
    --shell-accent: #ff4d6d;
    --shell-accent-strong: #ff7a00;
    --shell-accent-soft: rgba(255, 77, 109, 0.14);
    --shell-visual-start: #0f172a;
    --shell-visual-mid: #221b35;
    --shell-visual-end: #4a1f2b;
}

.prototype-editorial {
    --shell-bg-start: #eef7ff;
    --shell-bg-end: #f7f4ff;
    --shell-tint-a: rgba(37, 99, 235, 0.16);
    --shell-tint-b: rgba(20, 184, 166, 0.14);
    --shell-tint-c: rgba(168, 85, 247, 0.12);
    --shell-accent: #2563eb;
    --shell-accent-strong: #0f766e;
    --shell-accent-soft: rgba(37, 99, 235, 0.13);
    --shell-visual-start: #0f172a;
    --shell-visual-mid: #14304f;
    --shell-visual-end: #1f4a69;
}

.prototype-form-first {
    --shell-bg-start: #effffd;
    --shell-bg-end: #fff5ea;
    --shell-tint-a: rgba(6, 182, 212, 0.18);
    --shell-tint-b: rgba(255, 92, 31, 0.16);
    --shell-tint-c: rgba(14, 165, 233, 0.12);
    --shell-accent: #06b6d4;
    --shell-accent-strong: #ff5a1f;
    --shell-accent-soft: rgba(6, 182, 212, 0.14);
    --shell-visual-start: #0b1220;
    --shell-visual-mid: #123048;
    --shell-visual-end: #155e75;
}

@media (max-width: 1024px) {
    .shell-grid,
    .prototype-form-first .shell-grid {
        grid-template-columns: 1fr;
    }

    .shell-visual {
        min-height: 420px;
        border-left: 0;
        border-top: 1px solid rgba(26, 36, 48, 0.08);
    }

    .shell-copy,
    .prototype-editorial .shell-copy,
    .prototype-form-first .shell-copy {
        padding: 38px 34px 30px;
    }

    .shell-panel {
        padding: 24px;
    }
}

@media (max-width: 820px) {
    .shell-trust-grid,
    .shell-gallery {
        grid-template-columns: 1fr;
    }

    .shell-brand {
        justify-content: center;
        text-align: center;
    }

    .shell-topbar-inner {
        justify-content: center;
    }

    .shell-callbtn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: min(100% - 20px, var(--shell-max));
    }

    .shell-main {
        padding-top: 16px;
    }

    .shell-hero {
        border-radius: 20px;
    }

    .shell-visual {
        min-height: 280px;
    }

    .shell-copy,
    .prototype-editorial .shell-copy,
    .prototype-form-first .shell-copy,
    .shell-panel,
    .shell-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .shell-title {
        font-size: clamp(2rem, 10vw, 3rem);
        max-width: 100%;
    }

    .shell-actions {
        flex-direction: column;
    }

    .shell-primarybtn,
    .shell-ghostbtn,
    .shell-submit {
        width: 100%;
    }
}
