.site-body {
    --bg: #f8f7fc;
    --accent: #4d39c2;
    --accent-dark: #352391;
}

.site-body :focus-visible {
    outline: 3px solid #7a67ec;
    outline-offset: 3px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem max(clamp(1rem, 3vw, 2rem), calc((100% - 1500px) / 2));
    background: rgb(255 255 255 / 94%);
    border-bottom: 1px solid #e9e6f5;
    backdrop-filter: blur(14px);
}

.brand { display: inline-flex; flex: none; border-radius: 10px; }
.brand img { display: block; }
.nav { display: flex; align-items: center; gap: 0.25rem 0.6rem; flex-wrap: wrap; }
.nav > a:not(.button), .nav .link-button {
    display: inline-flex;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    color: #383252;
    font-size: 0.9rem;
    font-weight: 675;
}
.nav > a:not(.button):hover, .nav .link-button:hover, .nav > a:not(.button)[aria-current="page"] {
    color: var(--accent-dark);
    background: #f0ecfe;
    text-decoration: none;
}

.landing { max-width: 1320px; margin-inline: auto; }
.launch-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding: clamp(2rem, 6vw, 5rem);
    border-radius: clamp(20px, 4vw, 32px);
    background:
        radial-gradient(ellipse at 100% 0%, #5033a9 0, transparent 56%),
        linear-gradient(132deg, #181230, #261852 75%, #29205e);
    color: #fff;
    box-shadow: 0 28px 55px -36px #211345b0;
}

.launch-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0.4rem 0.72rem;
    border: 1px solid #8170ac;
    border-radius: 999px;
    color: #eee7fe;
    background: #ffffff0c;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.launch-label span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #7ff5ce; }
.launch-copy h1 {
    max-width: 12ch;
    margin: 0.85rem 0 1rem;
    font-size: clamp(2.6rem, 5.6vw, 5.35rem);
    font-weight: 820;
    line-height: 0.99;
    letter-spacing: -0.048em;
    text-wrap: balance;
}
.launch-copy h1 span { color: #c8baff; }
.launch-description { max-width: 40ch; margin: 0; color: #e6ddf7; font-size: clamp(1rem, 1.65vw, 1.2rem); }
.launch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.launch-actions .button { min-height: 46px; padding: 0.65rem 1.1rem; box-shadow: none; }
.launch-primary.button { color: #1b1a37; border-color: #8cf5d3; background: #8cf5d3; }
.launch-primary.button:hover { border-color: #bcfbe8; background: #bcfbe8; }
.launch-secondary.button { color: #fff; border-color: #9180b8; background: #ffffff0b; }
.launch-secondary.button:hover { background: #ffffff24; }

.launch-demo { min-width: 0; }
.demo-window {
    overflow: hidden;
    border: 1px solid #f0ebff;
    border-radius: 19px;
    color: #231a3c;
    background: #f7f5fd;
    box-shadow: 0 22px 48px #150f35aa;
}
.demo-topline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem;
    border-bottom: 1px solid #ece7f7;
    background: #fff;
    font-size: 0.88rem;
}
.demo-topline img { flex: none; }
.demo-live {
    margin-inline-start: auto;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    background: #e0f8ee;
    color: #1f6a4d;
    font-size: 0.71rem;
    font-weight: 800;
    white-space: nowrap;
}
.demo-body { display: grid; gap: 0.75rem; padding: 0.85rem; }
.demo-question, .demo-report { padding: 0.9rem; border: 1px solid #ebe6f6; border-radius: 13px; background: #fff; }
.demo-question > strong { display: block; font-size: clamp(0.93rem, 1.6vw, 1.2rem); }
.demo-label { margin: 0 0 0.25rem; color: #625a77; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.demo-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; margin-top: 0.6rem; }
.demo-scale span { display: grid; place-items: center; min-height: 34px; border-radius: 7px; color: #4c3e69; background: #f3effa; font-size: 0.82rem; font-weight: 700; }
.demo-scale span:nth-child(4) { color: #fff; background: #5542c9; }
.demo-rule { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.65rem; color: #4d39a1; font-size: 0.76rem; font-weight: 700; }
.demo-rule svg { flex: none; }
.demo-report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(52px, 0.85fr); align-items: end; gap: 0.45rem; }
.demo-report strong { display: block; font-size: 1.8rem; line-height: 1.05; }
.demo-report small { color: #1c6e54; font-size: 0.72rem; font-weight: 700; }
.demo-chart { display: block; width: 100%; }
.demo-caption { margin: 0.75rem 0 0; color: #dacdf8; font-size: 0.8rem; text-align: center; }

.launch-features { margin-top: clamp(1.75rem, 4vw, 3.2rem); }
.launch-features h2 { margin: 0 0 1rem; color: #221a3f; font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -0.025em; }
.launch-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.launch-feature-grid article { padding: clamp(1rem, 2.6vw, 1.6rem); border: 1px solid #e9e5f5; border-radius: 17px; background: #fff; }
.launch-feature-grid svg { display: block; width: 44px; height: 44px; padding: 9px; border-radius: 11px; color: #5240ba; background: #eee9ff; }
.launch-feature-grid article:nth-child(2) svg { color: #156448; background: #e2f7ee; }
.launch-feature-grid article:nth-child(3) svg { color: #265a96; background: #e7f1fc; }
.launch-feature-grid h3 { margin: 0.8rem 0 0.3rem; color: #2a2143; font-size: 1.08rem; }
.launch-feature-grid p { margin: 0; color: #615973; font-size: 0.94rem; }
.launch-credit { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid #e9e5f4; color: #68607b; font-size: 0.86rem; }

@media (max-width: 860px) {
    .launch-hero { grid-template-columns: 1fr; }
    .launch-copy h1 { max-width: 16ch; }
    .launch-demo { width: min(100%, 540px); }
}

@media (max-width: 620px) {
    .topbar { position: static; flex-wrap: wrap; gap: 0.55rem; }
    .nav { gap: 0.22rem; }
    .nav-account { flex-basis: 100%; }
    .nav > a:not(.button), .nav .link-button { padding-inline: 0.5rem; }
    .launch-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    .launch-hero { padding: 1.3rem; }
    .launch-copy h1 { font-size: clamp(2.15rem, 10vw, 2.6rem); }
    .demo-topline { gap: 0.4rem; font-size: 0.8rem; }
    .demo-live { padding-inline: 0.38rem; }
}

@media (max-width: 350px) {
    .brand img { width: 136px; height: 34px; }
}
