:root {
    --bg: #f6f1e7;
    --panel: rgba(255, 253, 249, 0.94);
    --surface-strong: #ffffff;
    --text: #17212c;
    --muted: #5d6a78;
    --line: rgba(37, 66, 93, 0.12);
    --accent: #ff5a30;
    --accent2: #15c4d6;
    --hero-bg: #0f1820;
    --hero-text: #f2ede4;
    --hero-muted: rgba(242, 237, 228, 0.68);
    --hero-line: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    color: var(--text);
    font-family: "Manrope", sans-serif;
    background:
            radial-gradient(1200px 520px at 12% -10%, rgba(255, 192, 141, 0.28), transparent 58%),
            radial-gradient(900px 480px at 92% 4%, rgba(118, 214, 223, 0.24), transparent 55%),
            linear-gradient(180deg, #fffdfa 0%, #f8f2ea 42%, #f6f1e7 100%);
    line-height: 1.6;
}
.container { width: min(1140px, 92vw); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); background: rgba(255, 251, 244, 0.86); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-block { display: flex; flex-direction: column; gap: 0.1rem; }
.brand { color: var(--text); text-decoration: none; font-family: "Space Grotesk", sans-serif; font-weight: 700; display: inline-flex; flex-direction: column; gap: 0.1rem; letter-spacing: 0.04em; }
.brand { flex-direction: row; }
.brand-powered { font-size: 0.72rem; color: var(--muted); font-family: "Manrope", sans-serif; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.back-link { color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link:hover, .back-link:focus-visible { color: #0f1820; }
.lang-switch {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 2.25rem 0 0.95rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    font: inherit;
    height: 42px;
    line-height: 42px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 2px),
        calc(100% - 10px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.hero {
    padding: 5rem 0 3rem;
    background:
        radial-gradient(900px 500px at 80% 0%, rgba(21, 196, 214, 0.18), transparent 55%),
        radial-gradient(700px 400px at 10% 100%, rgba(255, 90, 48, 0.15), transparent 55%),
        var(--hero-bg);
    color: var(--hero-text);
}
.hero .kicker { color: var(--accent); }
.hero h1,
.hero h2 { color: var(--hero-text); }
.hero p,
.hero .focus-list,
.hero .focus-list li { color: var(--hero-muted); }
.hero .panel {
    border-color: var(--hero-line);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    color: var(--hero-text);
}
.hero .panel ul,
.hero .panel li { color: var(--hero-muted); }
.hero .panel h2 { color: var(--hero-text); }
.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--hero-text);
    background: rgba(255, 255, 255, 0.08);
}
.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; align-items: start; }
.kicker { color: #b96d35; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; font-size: 0.78rem; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 1rem; line-height: 1.2; }
h2 { line-height: 1.2; }
p { margin-top: 0; }

.focus-list {
    margin: 1rem 0 0;
    color: var(--muted);
    padding-left: 1.1rem;
}

.panel, .card, .form { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 1.1rem; box-shadow: 0 18px 40px rgba(124, 96, 62, 0.12); }
.panel ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }

.hero-image {
    width: 100%;
    display: block;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
}

.actions { margin-top: 1rem; display: flex; gap: 0.7rem; flex-wrap: wrap; }
.btn { border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.7rem 1.1rem; font-weight: 700; border: 1px solid transparent; }
.btn-primary { background: linear-gradient(125deg, var(--accent), #ffb678); color: #1d2024; box-shadow: 0 12px 24px rgba(255, 143, 90, 0.26); }
.btn-secondary { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.88); }

.section { padding: 4rem 0; }
.alt { background: linear-gradient(180deg, rgba(255, 250, 242, 0.35), rgba(241, 234, 223, 0.78)); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.card p { color: var(--muted); }

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.plan-step {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 12px;
    padding: 0.95rem;
}

.plan-step p,
.proof-lead {
    color: var(--muted);
}

.track-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.7rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.65);
}

.form { display: grid; gap: 0.55rem; max-width: 680px; }
.form input, .form select, .form textarea {
    width: 100%; padding: 0.6rem 0.7rem; border-radius: 10px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent2); outline-offset: 2px; }
.status { min-height: 1.2rem; }

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.disclaimer {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

footer { border-top: 1px solid var(--line); padding: 1rem 0 1.6rem; }
.footer { display: flex; justify-content: space-between; gap: 0.7rem; color: var(--muted); flex-wrap: wrap; }
.footer a { color: var(--muted); margin-right: 0.6rem; }
.footer a:hover, .footer a:focus-visible { color: var(--text); }

.systemflare-link {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    border-radius: 999px;
    padding: 0.08rem 0.35rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.systemflare-link:hover,
.systemflare-link:focus-visible {
    color: #0f1820;
    background: rgba(42, 166, 180, 0.08);
    border-bottom-color: transparent;
}

@media (max-width: 900px) {
    .hero-grid, .grid, .plan-grid { grid-template-columns: 1fr; }
    .nav-right { gap: 0.45rem; }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 0;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .actions .btn {
        flex: 1 1 100%;
    }

    .brand-powered {
        flex-wrap: wrap;
    }

    .hero { padding-top: 3.5rem; }
}
