:root {
    color-scheme: dark;
    --bg: #0a0b0c;
    --bg-raised: #111315;
    --bg-soft: #171a1d;
    --text: #f5f1ea;
    --muted: #b8b0a6;
    --subtle: #827a72;
    --line: rgba(245, 241, 234, 0.16);
    --line-strong: rgba(245, 241, 234, 0.28);
    --teal: #49d5c4;
    --copper: #d99555;
    --rose: #e66f8a;
    --ink: #050607;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --header-h: 76px;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    transform: translateY(-140%);
    padding: 10px 14px;
    background: var(--text);
    color: var(--ink);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(10, 11, 12, 0.84);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
}

.brand-mark {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.08rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.language-button,
.nav-toggle {
    font: inherit;
}

.language-button {
    min-width: 46px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    font-weight: 800;
}

.language-button:hover,
.language-button:focus-visible {
    border-color: var(--teal);
}

.nav-cta {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: var(--ink) !important;
    background: var(--teal);
    border: 1px solid rgba(73, 213, 196, 0.65);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(73, 213, 196, 0.18);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    transform-origin: center;
    transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 60px) 0 70px;
    overflow: hidden;
    background: #070809;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("hero.png");
    background-size: cover;
    background-position: center top;
    opacity: 0.82;
    transform: scale(1.01);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.75) 42%, rgba(5, 6, 7, 0.18) 100%),
        linear-gradient(0deg, rgba(10, 11, 12, 0.98) 0%, rgba(10, 11, 12, 0.08) 34%, rgba(10, 11, 12, 0.44) 100%);
}

.hero-inner {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow,
.section-kicker,
.plan-label {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: 8.4rem;
    line-height: 0.88;
}

.hero-copy {
    max-width: 630px;
    margin: 28px 0 0;
    color: var(--text);
    font-size: 1.28rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--line);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    white-space: nowrap;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink);
    background: var(--teal);
    border-color: rgba(73, 213, 196, 0.72);
    box-shadow: 0 14px 36px rgba(73, 213, 196, 0.18);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--copper);
}

.hero-facts {
    width: min(760px, 100%);
    margin: 48px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(5, 6, 7, 0.58);
    backdrop-filter: blur(16px);
}

.hero-facts div {
    padding: 16px;
    min-width: 0;
}

.hero-facts div + div {
    border-left: 1px solid var(--line);
}

.hero-facts dt,
.requirements-list dt {
    margin: 0 0 4px;
    color: var(--subtle);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hero-facts dd,
.requirements-list dd {
    margin: 0;
    color: var(--text);
    font-weight: 750;
}

.section {
    padding: 96px 0;
}

.intro-band {
    padding: 54px 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.section-grid,
.section-heading,
.feature-grid,
.pricing-grid,
.faq-list,
.footer-inner,
.copyright {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 58px;
    align-items: center;
}

.section-grid-tight {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section-copy > *:last-child,
.section-heading > *:last-child {
    margin-bottom: 0;
}

h2 {
    margin: 0;
    font-size: 3.7rem;
    line-height: 1.02;
}

h3 {
    margin: 0;
    font-size: 1.28rem;
}

.section-lead,
.section-copy p,
.feature-card p,
.price-card li,
.faq-list p,
.site-footer p {
    color: var(--muted);
}

.section-lead {
    margin: 0;
    font-size: 1.24rem;
}

.section-copy p {
    margin: 22px 0 0;
    font-size: 1.04rem;
}

.visual-workflow {
    background: var(--bg-raised);
}

.product-shot {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg);
}

.product-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.check-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    color: var(--text);
    border-top: 1px solid var(--line);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--copper);
    box-shadow: inset 0 0 0 4px var(--bg-raised);
}

.feature-band {
    background: var(--bg);
}

.section-heading {
    margin-bottom: 42px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-card,
.price-card,
.faq-list details,
.compare-table,
.requirements-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-raised);
}

.feature-card {
    min-height: 245px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--copper);
    border-radius: var(--radius);
    font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--teal);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--rose);
}

.feature-card:nth-child(4) .feature-icon {
    background: var(--text);
}

.feature-card p {
    margin: 0;
}

.comparison-band,
.requirements-band {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.compare-table {
    overflow: hidden;
}

.compare-table [role="row"] {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
}

.compare-table [role="row"] + [role="row"] {
    border-top: 1px solid var(--line);
}

.compare-table span {
    padding: 18px;
}

.compare-table span + span {
    border-left: 1px solid var(--line);
    color: var(--text);
    font-weight: 750;
}

.compare-table [role="columnheader"] {
    color: var(--teal);
    background: rgba(73, 213, 196, 0.08);
    font-weight: 900;
}

.compare-table [role="cell"]:first-child {
    color: var(--muted);
}

.editions-band {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.price-card {
    position: relative;
    min-height: 520px;
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.price-card-featured {
    border-color: rgba(73, 213, 196, 0.72);
    background: linear-gradient(180deg, rgba(73, 213, 196, 0.09), rgba(17, 19, 21, 1) 42%);
}

.price {
    margin: 18px 0 24px;
    font-size: clamp(2.65rem, 4vw, 3.7rem);
    line-height: 1;
    font-weight: 900;
}

.price-card ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.price-card li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.price-card .button {
    width: 100%;
}

.requirements-list {
    padding: 10px 24px;
}

.requirements-list dl {
    margin: 0;
}

.requirements-list div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 20px 0;
}

.requirements-list div + div {
    border-top: 1px solid var(--line);
}

.faq-band {
    background: var(--bg);
}

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

.faq-list details {
    padding: 0 22px;
}

.faq-list summary {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-weight: 850;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--teal);
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list p {
    margin: 0;
    padding: 0 0 22px;
    max-width: 760px;
}

.site-footer {
    padding: 64px 0 34px;
    border-top: 1px solid var(--line);
    background: #070809;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
}

.footer-brand {
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 520px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--teal);
}

.copyright {
    margin-top: 42px;
    color: var(--subtle);
    font-size: 0.86rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-h));
        padding: 22px 20px 40px;
        display: grid;
        align-content: start;
        gap: 8px;
        background: rgba(10, 11, 12, 0.98);
        border-top: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform 180ms ease;
    }

    .nav-links.is-open {
        transform: translateX(0);
    }

    .nav-links a,
    .language-button {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 0 6px;
    }

    .nav-cta {
        justify-content: center !important;
        margin-top: 8px;
    }

    .language-button {
        text-align: left;
        padding: 0 14px;
    }

    .section-grid,
    .section-grid-tight {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 6.2rem;
    }

    h2 {
        font-size: 3rem;
    }
}

@media (max-width: 720px) {
    :root {
        --header-h: 66px;
    }

    .nav-shell,
    .hero-inner,
    .section-grid,
    .section-heading,
    .feature-grid,
    .pricing-grid,
    .faq-list,
    .footer-inner,
    .copyright {
        width: min(100% - 28px, 1180px);
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: 92vh;
        padding-top: calc(var(--header-h) + 40px);
        padding-bottom: 36px;
    }

    .hero-media {
        background-position: 58% top;
        opacity: 0.68;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(5, 6, 7, 0.94), rgba(5, 6, 7, 0.62)),
            linear-gradient(0deg, rgba(10, 11, 12, 0.98) 0%, rgba(10, 11, 12, 0.2) 55%, rgba(10, 11, 12, 0.52) 100%);
    }

    .hero h1 {
        font-size: 4.7rem;
    }

    .hero-copy {
        font-size: 1.02rem;
    }

    h2 {
        font-size: 2.35rem;
    }

    .section-lead {
        font-size: 1.08rem;
    }

    .price {
        font-size: 3.15rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .hero-facts {
        grid-template-columns: 1fr;
    }

    .hero-facts div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .section {
        padding: 70px 0;
    }

    .intro-band {
        padding: 40px 0;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .price-card {
        min-height: auto;
    }

    .compare-table [role="row"],
    .requirements-list div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .compare-table span + span {
        border-left: 0;
        padding-top: 0;
    }

    .requirements-list {
        padding: 8px 18px;
    }

    .footer-inner {
        flex-direction: column;
    }
}
