:root {
    --brand: #667eea;
    --brand-2: #764ba2;
    --ink: #1f2430;
    --muted: #5b6472;
    --line: #e6e8ef;
    --bg: #f7f8fc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.brand { font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: .2px; }
.brand span { color: var(--brand); }

nav.main-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
nav.main-nav a { text-decoration: none; color: var(--muted); }
nav.main-nav a:hover { color: var(--ink); }

.langs { display: flex; gap: 8px; font-size: 13px; }
.langs a {
    text-decoration: none;
    color: var(--muted);
    padding: 4px 8px;
    border-radius: 6px;
}
.langs a.active { background: #eef0ff; color: var(--brand); font-weight: 600; }

.hero {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    padding: 64px 0 80px;
}

.hero .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.25;
    max-width: 820px;
    margin-bottom: 16px;
}

.hero p.lead {
    font-size: clamp(15px, 1.6vw, 18px);
    opacity: 0.92;
    max-width: 760px;
}

.hero .breadcrumb {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 14px;
}

.hero .breadcrumb a { color: #fff; text-decoration: underline; }

.trial-card {
    background: #fff;
    color: var(--ink);
    border-radius: 16px;
    padding: 22px;
    margin-top: 32px;
    box-shadow: 0 18px 50px rgba(20, 24, 60, 0.22);
    max-width: 780px;
}

.trial-card h2 { font-size: 17px; margin-bottom: 12px; }
.trial-hint { font-size: 13px; color: var(--muted); margin-top: 12px; }

.trial-form { display: flex; gap: 10px; flex-wrap: wrap; }
.trial-form input {
    flex: 1 1 340px;
    padding: 13px 14px;
    border: 2px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
}
.trial-form input:focus { outline: none; border-color: var(--brand); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }

.guest-msg { margin-top: 12px; font-size: 13px; color: #c0392b; min-height: 0; }
.guest-results { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
}
.guest-row .meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.guest-row .btn { padding: 8px 14px; font-size: 13px; }

section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2.section-title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
p.section-desc { color: var(--muted); max-width: 720px; margin-bottom: 28px; }

.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
}
section.alt .card { background: var(--bg); }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

.platform {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
}
.platform:hover { border-color: var(--brand); color: var(--brand); }
.platform .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    flex: 0 0 auto;
}

.steps { counter-reset: step; }
.step { position: relative; padding-left: 52px; }
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

details.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
}
details.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.cta {
    text-align: center;
    padding: 56px 0;
}
.cta h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 22px; }

footer.site-footer {
    background: #141826;
    color: #aeb4c2;
    padding: 40px 0;
    font-size: 13px;
}
footer .wrap { display: flex; flex-direction: column; gap: 14px; }
footer .footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: #d5d9e3; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 720px) {
    nav.main-nav { display: none; }
    .site-header .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
    .hero { padding: 44px 0 56px; }
}
