@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-300.woff2") format("woff2"),
        url("../fonts/Inter-300.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-400.woff2") format("woff2"),
        url("../fonts/Inter-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-500.woff2") format("woff2"),
        url("../fonts/Inter-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-600.woff2") format("woff2"),
        url("../fonts/Inter-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #010707;
    --bg-soft: #021212;
    --paper: rgba(10, 18, 17, 0.78);
    --ink: #ffffff;
    --ink-soft: #edf2f1;
    --line: rgba(255, 255, 255, 0.3);
    --accent: #ffffff;
    --accent-dark: #f8fcfb;
    --radius: 18px;
    --shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background-color: #010707;
    background:
    linear-gradient(130deg, rgba(0, 8, 8, 0.5) 0%, rgba(0, 0, 0, 0.68) 58%, rgba(1, 12, 10, 0.56) 100%),
    url("../images/sfondo.jpg") center center / cover no-repeat fixed;
}

a {
    color: inherit;
}

main,
.site-footer {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    width: min(1120px, 92vw);
    margin: 0.72rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.42rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    position: sticky;
    top: 0.6rem;
    z-index: 40;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.94);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-hidden {
    transform: translateY(-130%);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.brand-logo {
    height: clamp(30px, 3.1vw, 38px);
    width: auto;
    display: block;
}

.menu-toggle {
    border: 1px solid rgba(18, 30, 27, 0.2);
    background: rgba(255, 255, 255, 0.98);
    color: #131818;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.1;
    display: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.88rem;
    color: #19201f;
    font-weight: 600;
    line-height: 1.15;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #000000;
}

.section {
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--line);
}

.hero {
    padding-top: 6rem;
    padding-bottom: 5.5rem;
    border-bottom: 1px solid var(--line);
}

.kicker {
    display: inline-block;
    margin-bottom: 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.hero h1 {
    max-width: 980px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 6.2vw, 4.65rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 1.7rem;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.hero h1 span {
    display: block;
    margin-top: 0.35rem;
    color: var(--accent-dark);
}

.lead {
    max-width: 860px;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    color: var(--ink-soft);
}

.actions {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.72);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 14px 26px rgba(255, 255, 255, 0.22);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--ink);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.15fr);
    gap: 2.4rem;
    align-items: start;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--accent-dark);
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.section-title h2 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.section-body {
    color: var(--ink-soft);
    font-size: 1.03rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.42);
}

.section-body p + p,
.section-body p + ul,
.section-body ul + p {
    margin-top: 1rem;
}

.bullet-list,
.download-list {
    padding-left: 1.2rem;
    display: grid;
    gap: 0.7rem;
}

.bullet-list li,
.download-list li {
    padding-left: 0.2rem;
}

.cta-section {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(150deg, rgba(7, 18, 17, 0.86), rgba(2, 10, 9, 0.9));
    box-shadow: var(--shadow);
    margin: 4.5rem 0;
}

.cta-section h2 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 1.6rem;
    color: var(--ink-soft);
}

.accordion {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    overflow: clip;
}

.accordion + .accordion {
    margin-top: 1rem;
}

.accordion summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    padding: 1rem 1.1rem;
    background: rgba(8, 30, 27, 0.76);
    position: relative;
}

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

.accordion summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    line-height: 1;
    color: var(--accent-dark);
}

.accordion[open] summary::after {
    content: "-";
}

.accordion-content {
    padding: 1rem 1.1rem 1.2rem;
    color: var(--ink-soft);
}

.download-list a {
    color: var(--ink);
    font-weight: 600;
}

.download-list a:hover,
.download-list a:focus-visible {
    text-decoration: underline;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0 2.8rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.footer-links {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
}

.legal-page {
    padding: 4.5rem 0 5rem;
}

.legal-content {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3.6vw, 3rem);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.legal-content p,
.legal-content li {
    color: var(--ink-soft);
}

.legal-list {
    padding-left: 1.3rem;
    margin-top: 0.6rem;
    display: grid;
    gap: 0.5rem;
}

.site-footer p + p {
    margin-top: 0.45rem;
}

@media (max-width: 900px) {
    body {
        background-attachment: scroll;
    }

    .site-header {
        align-items: center;
        padding: 0.4rem 0.72rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.97);
        padding: 0.9rem;
        box-shadow: var(--shadow);
        flex-direction: column;
    }

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

    .split-section {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .hero {
        padding-top: 5.1rem;
    }

    .section {
        padding: 3.4rem 0;
    }
}

@media (max-width: 600px) {
    main,
    .site-footer,
    .site-header {
        width: 94vw;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 10.2vw, 3rem);
    }

    .btn {
        width: 100%;
    }

    .brand-logo {
        height: clamp(28px, 7.2vw, 34px);
        width: auto;
    }
}