:root {
    --ink: #1e293b;
    --muted: #526277;
    --navy: #1e3a5f;
    --navy-deep: #14283f;
    --cyan: #0e7490;
    --cyan-soft: #e7f6f8;
    --line: #e2e8f0;
    --bg: #f4f7fb;
    --card: #ffffff;
    --ok: #047857;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px rgba(15, 23, 42, 0.06);
    --max: 1120px;
    --header: 112px;
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 12px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--cyan);
}

a:hover {
    color: var(--navy);
}

:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 2px;
}

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: #fff;
    color: var(--navy);
    padding: 8px 12px;
    z-index: 100;
}

.skip:focus {
    top: 12px;
}

.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 10px 0 0;
}

.brand {
    order: 1;
}

.brand img {
    height: 42px;
    width: auto;
    display: block;
}

.brand-name {
    order: 2;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--navy);
    white-space: nowrap;
}

.site-nav {
    order: 4;
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1 0 100%;
    margin: 4px 0 0;
    padding: 4px 0 6px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 8px;
    border-radius: 8px;
}

.site-nav a:hover {
    background: var(--cyan-soft);
    color: var(--navy);
}

.brand-end {
    order: 3;
    margin-left: auto;
}

.menu-btn {
    display: none;
    order: 3;
    margin-left: auto;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    border-radius: 10px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.page {
    padding: 28px 0 48px;
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 28px;
    align-items: center;
    background: linear-gradient(145deg, var(--navy-deep) 0%, #1d4f73 58%, #0e7490 100%);
    color: #fff;
    border-radius: 18px;
    padding: 36px 36px 28px;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a5f3fc;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-lead {
    margin: 0 0 20px;
    max-width: 58ch;
    color: #e2e8f0;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-editions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.hero-editions a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 10px 14px;
}

.hero-editions a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.hero-editions strong {
    font-size: 14px;
}

.hero-editions span {
    font-size: 12.5px;
    color: #dbeafe;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
}

.btn-primary {
    background: #fff;
    color: var(--navy);
}

.btn-primary:hover {
    background: #e0f2fe;
    color: var(--navy-deep);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-cyan {
    background: var(--cyan);
    color: #fff;
}

.btn-cyan:hover {
    background: #0f5f73;
    color: #fff;
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-deep);
    color: #fff;
}

.section {
    margin-top: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 28px;
}

.section h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.section h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 8px;
    border-radius: 99px;
    background: var(--cyan);
}

.lead {
    margin: 0 0 16px;
    color: var(--muted);
    max-width: 78ch;
}

.prose p {
    margin: 0;
}

.bundle {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    align-items: center;
    background: linear-gradient(180deg, #f8fafc, #fff);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
}

.bundle img {
    width: 100%;
    border-radius: 10px;
    background: #fff;
}

.bundle h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.2rem;
}

.trial {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--cyan-soft);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
}

.trial h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 1.05rem;
}

.trial p {
    margin: 0;
    color: var(--muted);
}

.trial-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.acc {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    margin-top: 10px;
}

.acc summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--navy);
}

.acc summary::-webkit-details-marker {
    display: none;
}

.acc summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--cyan);
    line-height: 1;
}

.acc[open] summary::after {
    content: "–";
}

.acc-body {
    padding: 0 16px 16px;
    border-top: 1px solid var(--line);
}

.acc-body h4 {
    margin: 14px 0 6px;
    color: var(--cyan);
    font-size: 0.95rem;
}

.steps {
    margin: 0 0 8px;
    padding-left: 1.2rem;
}

.steps li + li {
    margin-top: 4px;
}

code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.92em;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 1px 6px;
}

.shot {
    display: block;
    margin: 12px auto;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.shot-narrow {
    max-width: 420px;
}

.shot-mid {
    max-width: 560px;
}

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

.edition-grid {
    grid-template-columns: 1fr 1fr;
}

.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.support-grid {
    grid-template-columns: 1fr 1fr;
}

.edition,
.plugin,
.support-card,
.quiz-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.edition {
    border-top: 4px solid var(--cyan);
}

.edition.standard { border-top-color: #0f766e; }
.edition.advanced { border-top-color: #1d4ed8; }
.edition.expert { border-top-color: #6d28d9; }

.edition h3,
.plugin h3,
.support-card h3,
.quiz-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.15rem;
}

.video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    margin-bottom: 12px;
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.feat-label {
    margin: 12px 0 6px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.checks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checks li {
    position: relative;
    padding-left: 1.15rem;
    margin: 0 0 5px;
}

.checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--ok);
    font-weight: 700;
}

.card-action {
    margin-top: auto;
    padding-top: 14px;
}

.plugin p,
.support-card p {
    margin: 0 0 8px;
}

.compat {
    margin-top: auto;
    color: var(--muted);
    font-size: 13.5px;
}

.compat p {
    margin: 8px 0 4px;
    color: var(--ink);
    font-weight: 700;
}

.quiz {
    display: grid;
    gap: 12px;
}

.choices {
    display: grid;
    gap: 8px;
}

.choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.choice:hover {
    border-color: #99d5df;
}

.choice:has(input:checked) {
    border-color: var(--cyan);
    background: var(--cyan-soft);
}

.choice input {
    margin-top: 3px;
    accent-color: var(--cyan);
}

.quiz-submit {
    justify-self: center;
}

.result {
    border: 1px solid #99d5df;
    background: var(--cyan-soft);
    border-radius: 12px;
    padding: 16px;
}

.result h3 {
    margin: 0 0 8px;
    color: var(--navy);
}

.result p {
    margin: 0 0 12px;
}

.subhead {
    margin: 28px 0 8px;
    color: var(--navy);
    font-size: 1.2rem;
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: #fff;
}

th,
td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

thead th {
    background: var(--navy);
    color: #fff;
    font-size: 13.5px;
    position: sticky;
    top: 0;
}

thead a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

thead a:hover {
    text-decoration: underline;
    color: #fff;
}

tbody tr:nth-child(even) {
    background: #f8fafc;
}

.cmp td:first-child,
.cmp th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 220px;
    font-weight: 700;
    background: #fff;
}

.cmp thead th:first-child {
    z-index: 2;
    background: var(--navy);
}

.cmp tbody tr:nth-child(even) td:first-child {
    background: #f8fafc;
}

.cmp td {
    text-align: center;
}

.cmp td:first-child {
    text-align: left;
    color: var(--navy);
}

.yes::before {
    content: "✓";
    color: var(--ok);
    font-weight: 700;
}

.no::before {
    content: "–";
    color: #94a3b8;
    font-weight: 700;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.filters button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 7px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.filters button[aria-pressed="true"] {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.group-row td {
    background: #e8eef6;
    color: var(--navy);
    font-weight: 700;
}

.price {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}

.note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13.5px;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li + li {
    margin-top: 6px;
}

.footer {
    background: var(--navy-deep);
    color: #dbe4ee;
    padding: 28px 16px 36px;
}

.footer-inner {
    text-align: center;
}

.footer p {
    margin: 0;
}

.footer-links {
    margin-top: 8px;
    font-size: 13.5px;
}

.footer a {
    color: #dbe4ee;
}

.footer a:hover {
    color: #fff;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 16px;
}

.socials a:hover {
    background: var(--cyan);
    color: #fff;
}

.dock {
    position: fixed;
    z-index: 40;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--navy);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.dock a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 40px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.dock a i {
    width: 20px;
    text-align: center;
    flex: 0 0 20px;
}

.dock:hover a,
.dock:focus-within a {
    width: 176px;
}

.dock a:hover {
    background: var(--cyan);
    color: #fff;
}

@media (max-width: 980px) {
    .menu-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .brand-end {
        display: none;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 8px 16px 14px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 8px;
        border-bottom: 1px solid var(--line);
    }

    .hero,
    .bundle,
    .edition-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .section {
        padding: 20px 16px;
    }
}

@media (max-width: 760px) {
    .dock {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: space-between;
        border-radius: 0;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    }

    .dock a,
    .dock:hover a,
    .dock:focus-within a {
        width: auto;
        flex: 1;
        flex-direction: column;
        gap: 4px;
        font-size: 11px;
        font-weight: 600;
        padding: 6px 2px;
    }

    body {
        padding-bottom: 68px;
    }

    .footer {
        padding-bottom: 24px;
    }
}
