:root {
    --brand: #508fe9;
    --brand-dark: #1f395d;
    --brand-light: #7fb0f2;
    --ink: #101828;
    --muted: #5b6779;
    --bg: #ffffff;
    --bg-alt: #f4f7fc;
    --border: #e6ebf4;
    --radius: 18px;
    --shadow: 0 24px 60px rgba(31, 57, 93, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

.nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 11px; object-fit: cover;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; gap: 10px; margin-left: 26px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
    border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), #3f78cf); color: #fff; box-shadow: 0 12px 26px rgba(80, 143, 233, .32); }
.btn-outline { border-color: var(--border); background: #fff; color: var(--ink); }
.btn-ghost { color: var(--muted); }

.hero { padding: 84px 0 64px; background: radial-gradient(1100px 520px at 80% -10%, #e8f0fd 0%, #fff 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badge {
    display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
    background: rgba(80, 143, 233, .12); color: var(--brand-dark);
}
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.06; margin: 20px 0 16px; letter-spacing: -1.4px; }
.hero h1 span { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; margin: 28px 0 22px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.hero-points li::before { content: '✓'; color: var(--brand); font-weight: 800; margin-right: 10px; }

.hero-visual { display: grid; place-items: center; }
.phone {
    width: 288px; padding: 14px; border-radius: 38px;
    background: linear-gradient(160deg, var(--brand-dark), #16283f);
    box-shadow: var(--shadow);
}
.phone-screen { background: #fff; border-radius: 28px; padding: 20px; display: grid; gap: 12px; }
.phone-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.phone-top strong { display: block; font-size: 15px; }
.phone-top small { color: var(--muted); font-size: 13px; }
.dot { width: 38px; height: 38px; border-radius: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-light)); }
.phone-card {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); font-size: 14px; color: var(--muted);
}
.phone-card strong { color: var(--ink); font-size: 16px; }
.phone-card.accent { background: rgba(80, 143, 233, .12); color: var(--brand-dark); }

.strip { border-block: 1px solid var(--border); background: var(--bg-alt); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0; text-align: center; }
.strip-inner strong { display: block; font-size: 26px; }
.strip-inner span { color: var(--muted); font-size: 14px; }

.section { padding: 82px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 10px; letter-spacing: -0.8px; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 42px; max-width: 620px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; box-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.icon {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px;
    background: rgba(80, 143, 233, .12); color: var(--brand-dark);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step span {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--brand); color: #fff; font-weight: 700;
}
.step h3 { margin: 14px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }

.plan { display: flex; flex-direction: column; gap: 12px; }
.plan .plan-name { font-size: 18px; font-weight: 700; }
.plan .plan-price { font-size: 32px; font-weight: 800; letter-spacing: -1px; }
.plan .plan-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.plan ul li::before { content: '•'; color: var(--brand); margin-right: 8px; }
.plan.skeleton { color: var(--muted); text-align: center; }

.cta { padding: 66px 0; background: linear-gradient(135deg, var(--brand-dark), #2f5a97); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); }
.cta p { margin: 0; opacity: .8; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }

.faq { max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 12px 0 0; line-height: 1.6; }

.footer { padding: 48px 0 26px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { color: var(--muted); margin: 12px 0 0; }
.footer-links { display: grid; gap: 10px; color: var(--muted); }
.footer-links a:hover { color: var(--brand); }
.copyright { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
    .hero-inner, .grid, .steps, .strip-inner { grid-template-columns: 1fr; }
    .strip-inner { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .hero { padding-top: 54px; }
}

/* Legal pages (privacy policy, terms of service) */
.legal { max-width: 760px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p { color: var(--muted); line-height: 1.7; }
.legal a { color: var(--brand); }
