:root {
    --ink: #162033;
    --muted: #5f6b7c;
    --line: #dfe5ee;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --violet: #5546e8;
    --violet-dark: #4033bd;
    --green: #0f9f72;
    --navy: #111827;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(31, 41, 55, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.65;
}
a { color: var(--violet); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.topbar .wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    margin-right: auto;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { color: var(--violet); }
.navlinks { display: flex; gap: 22px; align-items: center; }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 650; }
.navlinks a:hover { color: var(--violet); }
.language {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.language a {
    padding: 5px 10px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
}
.language a.active { color: var(--ink); background: var(--paper); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.hero {
    overflow: hidden;
    padding: 88px 0 72px;
    background:
        radial-gradient(circle at 15% 5%, rgba(85,70,232,.14), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(15,159,114,.12), transparent 30%),
        linear-gradient(180deg, #fbfbff, #fff);
}
.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--violet);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.14; letter-spacing: -.025em; }
h1 { max-width: 900px; margin: 0 0 22px; font-size: clamp(2.35rem, 6vw, 4.7rem); }
h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.28rem; }
.lead { max-width: 760px; margin: 0 0 28px; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 19px;
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,41,55,.15); }
.button.windows { color: white; background: var(--violet); }
.button.mac { color: white; background: var(--navy); }
.button.ghost { color: var(--violet); border-color: var(--violet); background: transparent; }

.section { padding: 76px 0; }
.section.soft { background: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(31,41,55,.04);
}
.card h3 { margin-top: 0; }
.card p, .card li { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding: 7px 0 7px 28px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.price { font-size: 2.4rem; font-weight: 900; letter-spacing: -.04em; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.featured { border: 2px solid var(--violet); box-shadow: var(--shadow); }
.tag { display: inline-block; padding: 5px 10px; background: rgba(85,70,232,.10); color: var(--violet); border-radius: 999px; font-size: .75rem; font-weight: 850; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 52px; }
.prose h3 { margin-top: 34px; }
.prose p, .prose li { color: #465367; }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.prose th, .prose td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }

details {
    margin-bottom: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
}
summary { cursor: pointer; padding: 18px 20px; font-weight: 800; }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.cta {
    padding: 58px 0;
    color: white;
    background: linear-gradient(135deg, #30258f, #5546e8 55%, #087e61);
}
.cta h2 { color: white; }
.cta p { max-width: 700px; color: rgba(255,255,255,.82); }

footer { padding: 36px 0; color: var(--muted); background: #0d1320; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer a { color: #d8dcff; }

@media (max-width: 860px) {
    .navlinks { display: none; }
    .grid, .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .wrap { width: min(100% - 24px, 1120px); }
    .brand strong { display: none; }
    .topbar .wrap { gap: 10px; }
    .hero { padding-top: 60px; }
    .actions .button { width: 100%; }
}
