/* ==========================================================================
   GEXPIT - QUANTITATIVE DESIGN SYSTEM (Full Dark Premium)
   Base: Near-black / OLED-inspired
   Accents: Emerald Green, Crimson Red, Graphite
   Typography: Inter (UI), JetBrains Mono (Data/Tech)
   ========================================================================== */

/* Fonts hosted on the site (no request to Google on page load). Latin subset,
   woff2 from @fontsource 5.3.0, SIL OFL 1.1: licences in assets/fonts/. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/inter-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }

:root {
    /* Color Palette - 100% Dark Theme */
    --bg-oled: #000000;
    --bg-dark: #05070a;
    --bg-card-dark: #0a0c10;
    
    /* Instead of white, we use deep slate/graphite for alternating sections */
    --bg-light: #0d1117; 
    --bg-card-light: #161b22;
    
    --text-primary-dark: #ffffff;
    --text-secondary-dark: #ffffff;
    --text-muted-dark: #ffffff;
    
    --text-primary-light: #ffffff;
    --text-secondary-light: #ffffff;
    --text-muted-light: #ffffff;
    
    --accent-green: #00E676;
    --accent-green-glow: rgba(0, 230, 118, 0.15);
    --accent-red: #FF0000; /* YouTube Red */
    --accent-red-glow: rgba(255, 0, 0, 0.15);
    
    --border-dark: #27272a;
    --border-light: #30363d;
    
    /* Typography */
    --font-ui: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 2rem;
    --space-l: 4rem;
    --space-xl: 6rem;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-ui);
    background-color: var(--bg-oled);
    color: var(--text-primary-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    overflow-wrap: break-word;
}

:where(a), :where(a:visited) { color: inherit; }

/* Text links stay visible on every dark surface, including after a visit. */
main p a:not(.btn), .details-body li a, .faq-answer a {
    color: #fff;
    background-color: transparent;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}
main p a:not(.btn):visited, .details-body li a:visited, .faq-answer a:visited { color: #fff; }
main p a:not(.btn):hover, .details-body li a:hover, .faq-answer a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}

h1, h2, h3, h4 { font-family: var(--font-ui); text-wrap: balance; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 481px) {
    .container {
        padding: 0 1.75rem;
    }
}

@media (min-width: 769px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1025px) {
    .container {
        max-width: 1320px;
        padding: 0 2.5rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1540px;
        padding: 0 3rem;
    }
}

@media (min-width: 1800px) {
    .container {
        max-width: 1680px;
        padding: 0 3.5rem;
    }
}

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

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

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

.mb-m { margin-bottom: var(--space-m); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */
section {
    padding: var(--space-xl) 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-primary-dark);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}
.section-dark .section-heading { color: var(--text-primary-dark); }
.section-dark .section-desc { color: var(--text-secondary-dark); }

.section-light {
    background-color: var(--bg-light);
    color: var(--text-primary-light);
}
.section-light .section-heading { color: var(--text-primary-light); }
.section-light .section-desc { color: var(--text-secondary-light); }
.section-light h3, .section-light h4 { color: var(--text-primary-light); }
.section-light p { color: var(--text-secondary-light); }

.section-heading {
    font-size: clamp(1.75rem, 3.8vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.section-desc {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #05070a;
    border: 1px solid var(--accent-green);
    font-weight: 700;
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
    background-color: #00ff88;
    color: #05070a;
    border-color: #00ff88;
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.45);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background-color: var(--accent-green);
    color: #05070a;
    border-color: var(--accent-green);
    cursor: default;
    opacity: 0.95;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary-dark);
    border: 1px solid var(--border-dark);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(255, 0, 0, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: 6px;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-youtube:hover {
    background-color: rgba(255, 0, 0, 0.25);
    border-color: rgba(255, 0, 0, 0.65);
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.3);
    color: #fff;
}

.yt-box-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.28);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.yt-box-link:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.55);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.25);
    color: #fff;
}
.yt-box-link .yt-svg,
.btn-youtube .yt-svg {
    flex-shrink: 0;
}

.btn-nav {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-primary-dark);
}
.btn-nav:hover {
    border-color: var(--text-secondary-dark);
}

.link-action {
    display: inline-block;
    color: var(--accent-green);
    font-family: var(--font-mono);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}
.link-action:hover {
    opacity: 0.8;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.main-nav a:not(.btn) {
    color: var(--text-secondary-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.main-nav a:not(.btn):hover {
    color: var(--text-primary-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 150px;
    padding-bottom: var(--space-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1200px) {
    .hero-grid {
        grid-template-columns: minmax(460px, 520px) 1fr;
        gap: 5rem;
    }
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-green);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-supporting {
    font-size: 1rem;
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.app-frame {
    position: relative;
    border-radius: 8px;
    border: 1px solid #1f2937;
    background: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-bar {
    background: #111;
    border-bottom: 1px solid #333;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}
.terminal-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.close { background: #ff5f56; }
.dot.min { background: #ffbd2e; }
.dot.max { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #fff;
    margin: 0 auto;
    padding-right: 2rem; /* offset for centering */
}

/* ==========================================================================
   FEATURE SECTIONS (Alternating)
   ========================================================================== */
.feature-section {
    background-color: var(--bg-oled);
    border-top: 1px solid var(--border-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(380px, 480px) 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1400px) {
    .feature-grid {
        grid-template-columns: 480px 1fr;
        gap: 5rem;
    }
}

.feature-reverse .feature-grid {
    direction: rtl;
}
.feature-reverse .feature-grid > * {
    direction: ltr;
}

.feature-grid + .feature-grid {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-text {
    max-width: 520px;
}

.feature-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
}

.feature-desc {
    font-size: 1.25rem;
    color: var(--text-secondary-dark);
    margin-bottom: 1.5rem;
}

.feature-visual {
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    overflow: hidden;
}

.screenshot-header {
    background: #111;
    border-bottom: 1px solid var(--border-dark);
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-visual img {
    width: 100%;
    display: block;
}

/* ==========================================================================
   SPECIFIC COMPONENTS
   ========================================================================== */

/* FAQ Accordion (the +/− button and the green outline are in "Dropdown menus" below) */
.faq-item {
    margin-bottom: 1rem !important;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-card-light);
    overflow: hidden;
}
.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary-light);
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* ==========================================================================
   Dropdown menus (FAQ and "details" sections), 2026-09-27: green button with
   + / − on the right; light green outline around the whole row, always
   visible (also on touch screens), stronger on hover, solid when open.
   ========================================================================== */
.faq-question,
.feature-details > summary {
    list-style: none;
    --dropdown-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    --dropdown-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.faq-question::-webkit-details-marker,
.feature-details > summary::-webkit-details-marker {
    display: none;
}
.faq-question::marker,
.feature-details > summary::marker {
    content: "";
}
/* the green button */
.faq-question::before,
.feature-details > summary::before {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: 8px;
    background: var(--accent-green);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
/* the + / − sign on the button */
.faq-question::after,
.feature-details > summary::after {
    content: "";
    position: absolute;
    right: calc(1rem + 8px);
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: #05070a;
    -webkit-mask: var(--dropdown-plus) center / contain no-repeat;
    mask: var(--dropdown-plus) center / contain no-repeat;
}
details[open] > .faq-question::after,
.feature-details[open] > summary::after {
    -webkit-mask-image: var(--dropdown-minus);
    mask-image: var(--dropdown-minus);
}
/* the outline of the whole row */
.faq-item {
    border-color: rgba(0, 230, 118, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
    border-color: var(--accent-green);
}
@media (hover: hover) {
    .faq-item:hover {
        border-color: rgba(0, 230, 118, 0.7);
        box-shadow: 0 0 14px rgba(0, 230, 118, 0.15);
    }
    .faq-question:hover::before,
    .feature-details > summary:hover::before {
        background: #00ff88;
        box-shadow: 0 0 16px rgba(0, 230, 118, 0.45);
    }
}
.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form System */
.access-form {
    width: 100%;
    max-width: 480px;
}

.hero-form-group {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.form-input {
    flex: 1;
    min-width: 0;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-dark);
    background: #111;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-submit {
    white-space: nowrap;
}

/* Header Action & Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-primary-dark);
    padding: 0.5rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary-dark);
    transition: all 0.2s ease;
}

.btn-mobile-cta {
    display: none;
}

/* Lightbox Modal & Zoomable Visuals */
.feature-visual {
    position: relative;
    cursor: zoom-in;
}

.feature-visual:hover img {
    opacity: 0.96;
}

.feature-visual::after {
    content: "TAP TO EXPAND";
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.feature-visual:hover::after {
    opacity: 1;
}

.gexpit-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gexpit-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-wrapper {
    position: relative;
    max-width: 96vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-wrapper img {
    max-width: 96vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary-dark);
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* ==========================================================================
   PRIVACY & COMPLIANCE STYLING (GDPR / Institutional Data Governance)
   ========================================================================== */
.cf-turnstile-wrapper {
    margin-top: 0.75rem;
    display: flex;
    justify-content: flex-start;
    min-height: 65px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#bottom-form .cf-turnstile-wrapper {
    justify-content: center;
}

.cf-turnstile {
    max-width: 100%;
}

.cf-turnstile-wrapper.highlight-turnstile {
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.45);
    outline: 1px solid var(--accent-green);
    animation: turnstilePulse 1.5s infinite alternate;
}

@keyframes turnstilePulse {
    0% {
        box-shadow: 0 0 8px rgba(0, 230, 118, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 230, 118, 0.6);
    }
}

.form-privacy-micro {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted-dark);
    margin-top: 0.65rem;
    line-height: 1.4;
}

#bottom-form .form-privacy-micro {
    justify-content: center;
}

/* Optional launch announcement consent (never pre-ticked) */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-secondary-dark);
    text-align: left;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0.1rem 0 0;
    accent-color: var(--accent-green);
    cursor: pointer;
}

.privacy-lock-icon {
    display: inline-block;
    flex-shrink: 0;
    color: var(--accent-green);
    vertical-align: middle;
}

.form-privacy-micro a,
.form-privacy-micro .privacy-modal-trigger {
    color: var(--text-secondary-dark);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.form-privacy-micro a:hover,
.form-privacy-micro .privacy-modal-trigger:hover {
    color: var(--accent-green);
}

/* Footer Privacy Box */
.footer-privacy-box {
    max-width: 840px;
    margin: 3rem auto 1.75rem;
    padding: 1.5rem 1.75rem;
    background: #090c12;
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
}

.footer-privacy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--accent-green);
    font-weight: 600;
}

.footer-privacy-desc {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--text-secondary-dark);
    margin-bottom: 1.1rem;
}

.footer-privacy-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.btn-privacy-link {
    background: transparent;
    border: none;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-green);
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.btn-privacy-link:hover {
    opacity: 0.8;
}

/* Institutional Privacy Modal (Pure Vanilla, High-Speed) */
.gexpit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.gexpit-modal.active {
    display: flex;
}

.gexpit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.gexpit-modal-content {
    position: relative;
    z-index: 1;
    background: #0d1117;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    max-width: 740px;
    width: 100%;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 230, 118, 0.05);
    overflow: hidden;
}

.gexpit-modal-header {
    padding: 1.5rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border-dark);
    background: #080b10;
    position: relative;
}

.gexpit-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary-dark);
    margin-top: 0.4rem;
    letter-spacing: 0.02em;
}

.modal-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted-dark);
    margin-top: 0.25rem;
}

.gexpit-modal-body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary-dark);
}

/* The global `section` padding (page sections) must not reach the notice's sections. */
.privacy-section {
    padding: 0;
}

.privacy-section:not(:last-child) {
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.privacy-section h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary-dark);
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
}

.privacy-section p {
    margin-bottom: 0.5rem;
}

.privacy-section ul {
    padding-left: 1.25rem;
    margin-top: 0.35rem;
}

.privacy-section li {
    margin-bottom: 0.35rem;
}

.privacy-section code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-green);
    background: rgba(0, 230, 118, 0.08);
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
}

.privacy-section a {
    color: var(--text-primary-dark);
    text-decoration: underline;
}

.privacy-table-wrap {
    overflow-x: auto;
    margin: 0.35rem 0 0.75rem;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    line-height: 1.5;
}

.privacy-table th,
.privacy-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.5rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-table th {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-primary-dark);
    background: rgba(255, 255, 255, 0.03);
}

/* Legal lines of the footer (texts from BUROCRAZIA/10_TESTI_PER_IL_SITO_EN.md §3, §5) */
.footer-legal {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer-legal p {
    margin: 0 0 0.4rem;
}

.footer-legal a {
    color: #fff;
    text-decoration: underline;
}

.footer-legal .footer-operator {
    color: var(--text-muted-dark);
    margin-top: 0.8rem;
}

.footer-legal .security-notice {
    font-size: inherit;
    margin-top: 0.8rem;
}

.gexpit-modal-footer {
    padding: 1rem 1.75rem;
    border-top: 1px solid var(--border-dark);
    background: #080b10;
    display: flex;
    justify-content: flex-end;
}

.gexpit-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted-dark);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.gexpit-modal-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Registration Confirmation Pop-up Modal (Institutional Glassmorphism) */
.confirmation-modal-content {
    max-width: 560px;
    border-color: rgba(0, 230, 118, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 230, 118, 0.15);
}

.confirmation-modal-hero {
    padding: 2.25rem 2rem 1.25rem;
    background: linear-gradient(180deg, rgba(0, 230, 118, 0.09) 0%, rgba(8, 11, 16, 0.98) 100%);
    border-bottom: 1px solid var(--border-dark);
    text-align: center;
    position: relative;
}

.confirmation-icon-ring {
    width: 62px;
    height: 62px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.12);
    border: 2px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.4);
    animation: confirmationPulse 2.5s infinite ease-in-out;
}

@keyframes confirmationPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(0, 230, 118, 0.55);
    }
}

.confirmation-status-pill {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 9999px;
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
}

.confirmation-modal-body {
    padding: 1.5rem 2rem;
    font-size: 0.92rem;
}

.confirmation-email-card {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 6px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.confirmation-email-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.confirmation-email-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--accent-green);
    font-weight: 600;
    word-break: break-all;
}

.confirmation-notice p {
    margin-bottom: 0.85rem;
    line-height: 1.65;
    color: var(--text-secondary-dark);
}

.confirmation-notice p strong {
    color: var(--text-primary-dark);
}

.confirmation-notice p:last-child {
    margin-bottom: 0;
}

.confirmation-modal-footer {
    padding: 1.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.confirmation-btn-video {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    padding: 0.6rem 1.1rem;
}

@media (max-width: 640px) {
    .confirmation-modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    .confirmation-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Universal Device Support)
   ========================================================================== */

/* TABLET & INTERMEDIATE VIEWPORTS (<= 1024px) */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .feature-text {
        max-width: 100%;
    }
    .feature-reverse .feature-grid {
        direction: ltr;
    }
    .main-nav {
        gap: 0.85rem;
    }
    .main-nav a:not(.btn) {
        font-size: 0.82rem;
    }
}

/* SMARTPHONES & COMPACT TABLETS (<= 768px) */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-content,
    .feature-text {
        text-align: center;
    }
    .feature-text {
        margin-left: auto;
        margin-right: auto;
    }
    .access-form {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .form-input {
        width: 100%;
        text-align: center;
    }
    .cf-turnstile-wrapper {
        width: 100%;
        justify-content: center;
    }
    .form-privacy-micro {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
    .footer-privacy-box,
    .footer-privacy-desc {
        text-align: center;
    }
    .footer-privacy-header,
    .footer-privacy-actions {
        justify-content: center;
    }
    .feature-grid + .feature-grid {
        margin-top: 3.5rem;
        padding-top: 3.5rem;
    }
    
    /* Header & Mobile Nav */
    .nav-toggle {
        display: flex;
    }
    .btn-mobile-cta {
        display: inline-flex;
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 7, 10, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-dark);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        display: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }
    
    .main-nav.is-open {
        display: flex;
    }
    
    .main-nav a {
        font-size: 1.05rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn, .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-form-group {
        flex-direction: column;
    }
    .hero-form-group .btn {
        width: 100%;
    }
    

    .feature-visual::after {
        opacity: 0.85; /* Always show hint on mobile */
    }
}

/* COMPACT MOBILE (<= 480px — 4.5" to 5" devices) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .pricing-box {
        padding: 2rem 1.25rem !important;
    }
}

@media (max-width: 360px) {
    .cf-turnstile-wrapper {
        min-height: 59px;
    }
    .cf-turnstile {
        transform: scale(0.9);
        transform-origin: top center;
    }
}

/* Early Access: editorial hierarchy and responsive product demonstrations. */
:root {
    --accent-put: #ff4d4d;
    --accent-spot: #ffd700;
}

[id] { scroll-margin-top: 94px; }
#bottom-form { scroll-margin-top: calc(50vh - 140px); }
#bottom-form-email { scroll-margin-top: calc(50vh - 90px); }
@keyframes inputGlowPulse {
    0% {
        box-shadow: 0 0 0 rgba(0, 230, 118, 0);
        border-color: var(--border-dark);
    }
    30% {
        box-shadow: 0 0 20px rgba(0, 230, 118, 0.6);
        border-color: var(--accent-green);
    }
    100% {
        box-shadow: 0 0 0 rgba(0, 230, 118, 0);
        border-color: var(--border-dark);
    }
}
.input-highlight-pulse {
    animation: inputGlowPulse 1.6s ease-out;
}
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 5px;
}
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 11000; padding: 1rem; background: #00e676; color: #05070a; }
.skip-link:focus { top: 1rem; }
.header-actions { display: none; align-items: center; gap: 0.75rem; }
.brand-logo { flex-shrink: 0; }
.header-container { gap: 1.5rem; }
.nav-toggle { min-width: 44px; min-height: 44px; }
.main-nav .nav-link { padding: 0.75rem 0; }
.main-nav .nav-menu-cta { font-size: 0.75rem; }
.hero-section { padding-top: 130px; min-height: auto; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 3rem; row-gap: 0; }
.hero-content { grid-column: 1; grid-row: 1; }
.hero-conversion { grid-column: 1; grid-row: 2; min-width: 0; }
.hero-visual { grid-column: 2; grid-row: 1 / span 2; }
.hero-title { max-width: 17ch; font-size: clamp(2.5rem, 4.1vw, 3.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-transform: none; }
.hero-subtitle { max-width: 46ch; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; margin-top: 1.5rem; }
.hero-supporting { max-width: 58ch; font-size: 1rem; line-height: 1.7; margin-top: 1rem; }
.hero-visual { min-width: 0; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 1.5rem; }
.hero-showcase-video, .terminal-video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.terminal-title { letter-spacing: 0.02em; }
.media-caption { font-size: 0.85rem; margin-top: 1rem; line-height: 1.6; }
.access-badge { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; margin-top: 1.5rem; color: var(--accent-green); font: 0.75rem/1.6 var(--font-mono); }
.access-badge span { color: #fff; font-family: var(--font-ui); font-size: 0.85rem; }
.hero-form-group { flex-direction: column; }
.form-group { gap: 0.65rem; }
.form-label { display: block; color: #fff; font-size: 0.875rem; text-align: left; }
.form-input::placeholder { color: #fff; opacity: 1; }
.form-note { font-size: 0.8rem; line-height: 1.6; margin-top: 1rem; }
.form-note a { color: #fff; text-underline-offset: 4px; }
.form-submit { white-space: normal; min-height: 52px; padding: 0.9rem 1rem; }
.section-intro { max-width: 820px; margin: 0 auto 3rem; }
.section-heading { font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.section-intro .eyebrow { margin-bottom: 1rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillar-card { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--border-dark); border-radius: 8px; background: var(--bg-card-dark); color: #fff; text-decoration: none; }
.pillar-card:hover { border-color: var(--accent-green); }
.pillar-card h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 1rem; }
.pillar-card .eyebrow { font-size: 0.72rem; margin-bottom: 1rem; }
.pillar-card p { font-size: 0.95rem; }
.card-link { display: block; margin-top: auto; padding-top: 1.5rem; font-size: 0.85rem; color: var(--accent-green); }
.feature-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); gap: 3rem; }
.feature-grid > *, .access-grid > *, .audience-grid > * { min-width: 0; }
.feature-title { font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.feature-desc { font-size: 1.15rem; }
.feature-visual { margin: 0; }
.feature-visual img { object-fit: contain; height: auto; }
.feature-visual::after { pointer-events: none; }
.feature-more { margin-top: 2rem; }
.feature-details { margin-top: 1.5rem; text-align: left; }
/* The row is outlined like a button (see "Dropdown menus"): no separate top/bottom lines any more. */
.feature-details > summary { position: relative; cursor: pointer; padding: 1rem 4.25rem 1rem 1rem; font-size: 0.95rem; font-weight: 600; color: #fff; border: 1px solid rgba(0, 230, 118, 0.3); border-radius: 8px; background: rgba(0, 230, 118, 0.03); transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.feature-details[open] > summary { border-color: var(--accent-green); background: rgba(0, 230, 118, 0.06); }
@media (hover: hover) {
    .feature-details > summary:hover { border-color: rgba(0, 230, 118, 0.7); background: rgba(0, 230, 118, 0.07); box-shadow: 0 0 14px rgba(0, 230, 118, 0.15); }
}
.details-body { padding: 0.5rem 0 1.5rem; }
.details-body p + p { margin-top: 1rem; }
.details-body ol, .details-body ul { padding-left: 1.5rem; margin: 1rem 0; }
.details-body li + li { margin-top: 0.65rem; }
.replay-frame { max-width: 1100px; margin: auto; }
#replay > .container > .feature-details { max-width: 1100px; margin: 2rem auto 0; }
.youtube-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid var(--border-dark); padding: 2rem; margin-top: 3rem; border-radius: 8px; }
.youtube-panel > div { max-width: 700px; }
.youtube-panel .eyebrow { margin-bottom: 0.75rem; }
.youtube-panel h3 { margin-bottom: 0.75rem; }
.youtube-panel .btn { flex-shrink: 0; }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.audience-card { padding: 2rem; border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-card-light); }
.audience-card h3 { margin-bottom: 1rem; }
.method-note { max-width: 950px; margin: 2rem auto 0; padding: 1.5rem 0; }
.method-note h3 { margin-bottom: 0.75rem; }
.method-note p { font-size: 0.95rem; }
.onboarding-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; }
.step-number { display: block; color: var(--accent-green); font: 1.5rem var(--font-mono); margin-bottom: 1rem; }
.onboarding-grid h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.onboarding-grid p { font-size: 0.95rem; }
.setup-note { margin: 2.5rem auto 0; max-width: 900px; border-top: 1px solid var(--border-dark); padding-top: 1.5rem; font-size: 0.9rem; text-align: center; }
.access-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: 4rem; align-items: start; }
.access-terms { padding-left: 1.25rem; margin-top: 1rem; }
.access-terms li { padding-left: 0.25rem; margin-bottom: 1rem; }
.community-note { font-size: 0.9rem; margin-top: 1.5rem; }
.security-notice { font-size: 0.9rem; margin-top: 1rem; }
.security-notice a { color: inherit; text-decoration: underline; }
.pricing-box { background: var(--bg-card-light); border: 1px solid var(--border-light); border-radius: 12px; padding: 2rem; text-align: center; }
.pricing-box .access-form { margin: auto; }
.access-duration { font-size: 4rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1.2; margin-bottom: 1.5rem; }
.access-duration span { display: block; font-size: 1.125rem; letter-spacing: 0; margin-top: 0.5rem; }
.pricing-box h3 { margin-bottom: 0.75rem; }
.faq-container { max-width: 1000px; }
.faq-question { padding-right: 4.25rem; }
.final-cta { margin-top: 3rem; padding-top: 2rem; }
.final-cta p { margin: 1rem 0 1.5rem; }
.gexpit-modal-content { max-height: calc(100dvh - 2rem); }
.lightbox-close { width: 44px; height: 44px; }

@media (max-width: 1180px) {
    .hero-grid { column-gap: 2rem; }
    .pillar-grid { grid-template-columns: 1fr; }
    .onboarding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature-text { max-width: 760px; }
    .feature-reverse .feature-grid { direction: ltr; }
    .access-grid { gap: 2rem; }
    .youtube-panel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 960px) {
    .header-actions { display: flex; }
    .hero-grid { grid-template-columns: 1fr; row-gap: 2rem; }
    .hero-content { max-width: 740px; }
    .hero-visual { max-width: 900px; grid-column: 1; grid-row: 2; }
    .hero-conversion { grid-column: 1; grid-row: 3; }
    .access-grid { grid-template-columns: 1fr; }
    .pricing-box { width: 100%; max-width: 540px; margin: 0 auto; }
    .main-nav .nav-menu-cta { display: none; }
    .header-actions .btn-mobile-cta { display: inline-flex; }
}
@media (max-width: 768px) {
    section { padding: 3.5rem 0; }
    .hero-section { padding-top: 108px; }
    .hero-title { max-width: 17ch; margin-left: auto; margin-right: auto; font-size: clamp(2.25rem, 8.5vw, 3.25rem); }
    .hero-subtitle, .hero-supporting { margin-left: auto; margin-right: auto; }
    .hero-actions { align-items: center; }
    .hero-conversion { text-align: center; }
    .access-badge { justify-content: center; }
    .main-nav .nav-menu-cta { display: inline-flex; }
    .header-actions .btn-mobile-cta { display: none; }
    .header-container { gap: 1rem; }
    .main-nav { max-height: calc(100dvh - 70px); overflow-y: auto; }
    .hero-form-group { gap: 0.75rem; }
    .form-label { text-align: center; }
    .section-intro { margin-bottom: 2rem; }
    .audience-grid { grid-template-columns: 1fr; }
    .pillar-card, .onboarding-grid li, .audience-card, .youtube-panel { text-align: center; }
    .youtube-panel { align-items: stretch; padding: 1.5rem; }
    .access-explainer > .eyebrow, .access-explainer > h2, .access-explainer > .feature-desc { text-align: center; }
    .feature-details, .method-note, .access-terms, .community-note, .access-explainer .security-notice { text-align: left; }
    .footer-privacy-desc { text-align: left; }
    .screenshot-header { font-size: 0.68rem; letter-spacing: 0.03em; }
    .terminal-title { font-size: 0.65rem; }
    .form-submit { font-size: 0.8rem; letter-spacing: 0.025em; }
}
@media (max-width: 340px) {
    #bottom-form .cf-turnstile { transform: scale(0.8); }
}
@media (max-width: 480px) {
    .pillar-grid, .onboarding-grid { grid-template-columns: 1fr; }
    .pillar-card { padding: 1.5rem; }
    .onboarding-grid { gap: 2rem; }
    .section-heading { font-size: 1.75rem; }
    .eyebrow { font-size: 0.7rem; }
    .gexpit-lightbox { padding: 0.75rem; }
    .lightbox-caption { font-size: 0.65rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Current platform screenshots: manual galleries, full frames, no autoplay. */
.screenshot-gallery { margin: 2.5rem 0 0; padding: 0; min-width: 0; }
.gallery-intro { max-width: 850px; margin-bottom: 1.5rem; }
.gallery-intro h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.3; margin: 0.5rem 0 0.75rem; }
.gallery-intro p { color: #fff; margin: 0.5rem 0; }
.gallery-hint { display: none; font-size: 0.85rem; }
.gallery-ready .gallery-hint { display: block; }
.gallery-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.gallery-choices button, .gallery-controls button { min-height: 44px; border: 1px solid #454545; border-radius: 5px; background: #101010; color: #fff; padding: 0.65rem 1rem; font: inherit; font-size: 0.85rem; cursor: pointer; }
.gallery-choices button[aria-pressed="true"] { border-color: var(--accent-green); color: #05070a; background: var(--accent-green); font-weight: 700; }
.gallery-choices button:hover, .gallery-controls button:hover { border-color: var(--accent-green); }
.gallery-choices button:focus-visible, .gallery-controls button:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 3px; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.gallery-status { font-family: var(--font-mono); font-size: 0.8rem; color: #fff; text-align: center; }
.gallery-copy { max-width: 900px; min-height: 7.5rem; padding: 0.5rem 0 1.2rem; text-align: left; }
.gallery-copy h4, .gallery-copy h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 0.5rem; }
.gallery-copy p { font-size: 0.95rem; line-height: 1.7; margin: 0; }
.gallery-slide { margin-bottom: 2rem; }
.gallery-slide[hidden] { display: none; }
.screenshot-gallery .feature-visual { max-width: 1200px; margin: 0 auto; }
.gallery-ready .gallery-slide { margin-bottom: 0; }
@media (max-width: 768px) {
    .gallery-intro { text-align: center; }
    .gallery-choices { justify-content: center; }
    .gallery-choices button { flex: 1 1 140px; }
    .gallery-copy { min-height: 0; }
    .gallery-controls { flex-wrap: wrap; gap: 0.5rem; }
    .gallery-status { flex: 1 0 100%; order: -1; }
    .gallery-controls button { flex: 1; }
    .screenshot-gallery { margin-top: 1.5rem; }
}

/* Hero composition: centred introduction, restrained video size, then application. */
#hero { padding-top: 112px; }
#hero .hero-grid { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
#hero .hero-content { width: 100%; max-width: 960px; text-align: center; }
#hero .eyebrow { margin-bottom: 1rem; }
#hero .hero-title { max-width: none; margin: 0 auto; font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
#hero .hero-subtitle { max-width: 660px; margin: 1.25rem auto 0; text-wrap: balance; }
#hero .hero-metric { white-space: nowrap; }
#hero .hero-visual { width: 100%; max-width: 720px; margin: 0; }
#hero .terminal-frame { border: 1px solid #34423c; box-shadow: 0 0 24px rgba(0, 230, 118, 0.045); }
#hero .media-caption { text-align: center; }
#hero .hero-conversion { width: 100%; max-width: 560px; text-align: center; }
#hero .hero-supporting { margin: 0 auto 1.25rem; }
#hero .access-badge { justify-content: center; margin-top: 0; }
#hero .access-form { margin-left: auto; margin-right: auto; }
#hero .form-label { text-align: center; }
#hero .hero-actions { align-items: center; }
@media (max-width: 768px) {
    #hero { padding-top: 104px; }
    #hero .hero-grid { gap: 1.5rem; }
    #hero .hero-title { max-width: 17ch; font-size: clamp(2.25rem, 8.5vw, 3.25rem); }
    #hero .hero-subtitle { max-width: 36ch; }
}

/* ==========================================================================
   STYLES FORMERLY INLINE IN index.html (moved 2026-09-27)
   The CSP no longer allows 'unsafe-inline' for styles: no style="" attributes
   in the HTML. Selectors are specific enough to win as the inline styles did.
   ========================================================================== */
.hp-trap { position: absolute; left: -9999px; }
#bottom-form .form-group { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; }
.site-footer { background: #05070a; border-top: 1px solid var(--border-dark); padding: 4rem 0 2rem; }
.site-footer .footer-logo { margin: 0 auto; display: block; filter: grayscale(100%) brightness(1.5); opacity: 0.8; }
.site-footer .footer-tagline { color: #fff; font-family: var(--font-mono); letter-spacing: 1px; margin-top: 1rem; display: block; }
.site-footer .footer-links { font-size: 0.9rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.site-footer .footer-links a { color: #fff; text-decoration: none; }
.site-footer .footer-links a.footer-yt-link { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .footer-yt-link .yt-svg { vertical-align: middle; }
.site-footer .footer-legal { color: #fff; font-size: 0.8rem; }
.confirmation-btn-video svg { color: #ff0000; margin-right: 6px; }

/* Login: apre l'area clienti (account). Stessa famiglia dei pulsanti della barra, con il verde del marchio. */
.nav-login { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--accent-green); border-color: rgba(0, 230, 118, 0.45); }
.nav-login:hover { border-color: var(--accent-green); color: var(--accent-green); background: var(--accent-green-glow); box-shadow: 0 0 14px rgba(0, 230, 118, 0.25); }
.login-ico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 768px) {
    .main-nav .nav-login { width: 100%; justify-content: center; padding: 0.8rem 1rem; font-size: 0.9rem; }
}

/* Avviso se JavaScript e' spento. */
.noscript-note { margin: 0; padding: 0.75rem 1rem; text-align: center; font-size: 0.85rem; background: var(--bg-card-light); border-bottom: 1px solid var(--border-light); color: var(--text-primary-dark); }
