:root {
    --bg: #f6fbff;
    --bg-strong: #ffffff;
    --text: #08111f;
    --muted: #5b6b83;
    --line: rgba(15, 34, 63, 0.12);
    --primary: #2583ff;
    --primary-dark: #195fca;
    --accent: #20c6a7;
    --gradient: linear-gradient(135deg, #2583ff 0%, #20c6a7 100%);
    --shadow: 0 24px 60px rgba(29, 76, 135, 0.12);
    --radius: 24px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 131, 255, 0.16), transparent 30%),
        radial-gradient(circle at 100% 20%, rgba(32, 198, 167, 0.18), transparent 24%),
        linear-gradient(180deg, #fbfdff 0%, #f6fbff 45%, #eef7fb 100%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 38px 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(246, 251, 255, 0.82);
    border-bottom: 1px solid rgba(8, 17, 31, 0.04);
}

.header-row {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 12px 26px rgba(37, 131, 255, 0.24);
}

.desktop-nav,
.header-actions,
.hero-actions,
.angle-row,
.pill-grid,
.card-grid,
.split-grid,
.footer-grid,
.footer-links {
    display: flex;
}

.desktop-nav {
    display: none;
    gap: 22px;
    color: var(--muted);
}

.header-actions { align-items: center; gap: 12px; }

.menu-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255,255,255,.9);
}

.menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.mobile-nav {
    display: grid;
    gap: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 16px;
    transition: all .3s ease;
}

.site-header.menu-open .mobile-nav {
    max-height: 320px;
    opacity: 1;
    padding-bottom: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 17px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 18px 38px rgba(37, 131, 255, 0.2);
}

.button-secondary {
    background: rgba(255,255,255,.86);
    border-color: var(--line);
}

.button-inline { margin-top: 14px; }

.hero-grid,
.split-grid,
.footer-grid {
    display: grid;
    gap: 20px;
}

.eyebrow {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(37, 131, 255, 0.1);
    color: var(--primary-dark);
    font-weight: 600;
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 7vw, 4.9rem); max-width: 12ch; margin-top: 18px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 14ch; }
h3 { font-size: 1.18rem; }

.lead,
.section-head p,
.card p,
.footer-copy,
.faq-item p,
.faq-mini p {
    color: var(--muted);
    line-height: 1.65;
}

.lead { max-width: 58ch; font-size: 1.08rem; margin: 18px 0 0; }
.hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill-grid { flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill {
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(37, 131, 255, 0.1);
    font-weight: 600;
}

.phone-card {
    padding: 22px;
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(237,247,255,.92));
    border: 1px solid rgba(37, 131, 255, 0.12);
    box-shadow: var(--shadow);
}

.phone-frame {
    width: min(100%, 320px);
    margin: 0 auto;
    padding: 14px;
    border-radius: 34px;
    background: #0d1528;
    box-shadow: 0 20px 54px rgba(8, 17, 31, 0.24);
}

.phone-top,
.chat-body {
    background: linear-gradient(180deg, #e9f5ff 0%, #f9fcff 100%);
}

.phone-top {
    padding: 14px 16px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    border-bottom: 1px solid rgba(8, 17, 31, 0.06);
}

.chat-meta { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gradient);
}

.chat-meta div div { color: var(--muted); font-size: .92rem; margin-top: 2px; }

.chat-body {
    padding: 16px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    display: grid;
    gap: 12px;
}

.message {
    max-width: 86%;
    padding: 13px 14px;
    border-radius: 18px;
    line-height: 1.45;
    box-shadow: 0 10px 20px rgba(17, 43, 79, 0.08);
}

.message.user {
    margin-left: auto;
    color: #fff;
    background: linear-gradient(135deg, #2583ff 0%, #4695ff 100%);
}

.message.bot {
    color: var(--text);
    background: rgba(255,255,255,.95);
}

.feature-floats {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.float-chip {
    width: fit-content;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(8, 17, 31, 0.08);
    color: var(--muted);
    box-shadow: 0 10px 24px rgba(8, 17, 31, 0.06);
}

.float-chip:nth-child(2) { margin-left: auto; }
.float-chip.full { width: 100%; }

.section-head { display: grid; gap: 10px; margin-bottom: 20px; }
.section-head.compact { margin-bottom: 14px; }

.card-grid {
    display: grid;
    gap: 14px;
}

.card {
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(21, 58, 99, 0.05);
}

.card-accent {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(232,250,245,.94));
    border-color: rgba(32, 198, 167, 0.28);
}

.steps-grid .card { position: relative; padding-top: 62px; }
.step-index {
    position: absolute;
    left: 22px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    background: var(--gradient);
}

.plain-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plain-list li::before {
    content: "•";
    color: var(--primary);
    margin-right: 8px;
}

.faq-mini { display: grid; gap: 12px; }
.faq-mini p { margin: 6px 0 0; }

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 12px 0 0; }

.final-cta {
    padding: 30px;
    border-radius: 32px;
    color: #fff;
    background: linear-gradient(135deg, #08111f 0%, #12345c 50%, #15716f 100%);
    box-shadow: 0 30px 80px rgba(8, 17, 31, 0.22);
}

.final-cta p { color: rgba(255,255,255,.82); }
.angle-row { flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.angle-row span {
    padding: 11px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.88);
}

.site-footer { padding: 36px 0 44px; }
.footer-grid {
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,.84);
    border: 1px solid var(--line);
}

.footer-brand { margin-bottom: 12px; }
.footer-copy { margin: 4px 0; }
.footer-links {
    display: grid;
    gap: 10px;
    align-content: start;
}

@media (min-width: 720px) {
    .section { padding: 48px 0; }
    .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-grid,
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
    .desktop-nav { display: flex; }
    .menu-toggle,
    .mobile-nav { display: none; }
    .hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); align-items: center; }
    .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split-grid { grid-template-columns: 1.08fr .92fr; }
    .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .button { transition: none; }
}
