@import url("../fonts/inter/inter.css");

:root {
    color-scheme: light;
    --background: #ffffff;
    --surface: #f7f7f8;
    --surface-hover: #eeeeef;
    --text: #18181b;
    --muted: #71717a;
    --border: #e4e4e7;
    --accent: #18181b;
    --accent-text: #ffffff;
    --shadow: 0 20px 70px rgba(0,0,0,.06);
    --radius: 16px;
}

[data-theme="dark"] {
    color-scheme: dark;
    --background: #111112;
    --surface: #19191b;
    --surface-hover: #242426;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --border: #303033;
    --accent: #f4f4f5;
    --accent-text: #18181b;
    --shadow: 0 20px 70px rgba(0,0,0,.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 5px;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -.8px;
}

.brand img {
    width: 30px;
    height: 30px;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

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

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

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

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-button {
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 9px;
    width: 38px;
    height: 38px;
    color: var(--text);
}

.icon-button:hover {
    background: var(--surface);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 550;
    border: 1px solid var(--border);
    transition: opacity .15s, background .15s;
}

.button-primary {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

.button-primary:hover {
    opacity: .85;
}

.button-secondary:hover {
    background: var(--surface);
}

.button svg {
    width: 17px;
    height: 17px;
}

.hero {
    padding: 110px 0 75px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 13px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22a06b;
    border-radius: 50%;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    line-height: 1.2;
    letter-spacing: -.035em;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 650;
    letter-spacing: -.065em;
    margin: 24px 0;
}

.hero p {
    max-width: 580px;
    margin: 0 auto;
    font-size: clamp(16px, 2vw, 20px);
    color: var(--muted);
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-meta {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
}

.product-preview {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 20px;
    min-height: 420px;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    text-align: center;
}

.product-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.preview-placeholder {
    padding: 60px 24px;
}

.preview-placeholder img {
    width: 84px;
    margin: 0 auto 24px;
}

.preview-placeholder p {
    color: var(--muted);
    max-width: 390px;
    margin: auto;
}

.section {
    padding: 100px 0;
}

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

.section-heading h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.feature > svg {
    width: 25px;
    height: 25px;
    margin-bottom: 24px;
}

.feature h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 14px;
}

.callout {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 65px 30px;
    text-align: center;
}

.callout h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.callout p {
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 25px;
}

.page {
    max-width: 780px;
    min-height: 65vh;
    padding: 85px 0 100px;
}

.page h1 {
    font-size: clamp(36px, 5vw, 54px);
    margin-bottom: 18px;
}

.page h2 {
    font-size: 24px;
    margin-top: 38px;
}

.page h3 {
    font-size: 19px;
    margin-top: 25px;
}

.page p, .page li {
    color: var(--muted);
}

.page a:not(.button) {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.page-intro {
    font-size: 18px;
    margin-bottom: 36px;
}

.info-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    margin: 25px 0;
}

.info-card h2 {
    margin-top: 0;
}

.legal-content {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer-grid p,
.footer-grid a {
    color: var(--muted);
    font-size: 13px;
}

.footer-grid a {
    display: block;
    margin-bottom: 8px;
}

.footer-grid h3 {
    font-size: 14px;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 760px) {
    .navigation {
        gap: 12px;
        min-height: 65px;
    }

    .nav-links {
        display: none;
    }

    .container {
        width: calc(100% - 32px);
    }

    .hero {
        padding: 70px 0 45px;
    }

    .section {
        padding: 65px 0;
    }

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

    .product-preview {
        min-height: 280px;
    }

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

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    .page {
        padding-top: 50px;
    }
}

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

    * {
        transition: none !important;
    }
}

/* FOLIO VISUAL FINALIZATION */

.product-preview {
    min-height: 0;
    display: block;
    border-radius: 20px;
    overflow: hidden;
}

.product-showcase {
    width: 100%;
    line-height: 0;
}

.product-showcase img {
    width: 100%;
    height: auto;
    display: block;
}

.product-showcase .preview-dark {
    display: none;
}

[data-theme="dark"] .product-showcase .preview-light {
    display: none;
}

[data-theme="dark"] .product-showcase .preview-dark {
    display: block;
}

.preview-caption {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    margin-top: 12px;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none !important;
}

[data-theme="dark"] .logo-light {
    display: none !important;
}

[data-theme="dark"] .logo-dark {
    display: block !important;
}

.final-cta {
    padding-top: 20px;
}

.footer-grid .brand {
    display: inline-flex;
    color: var(--text);
    font-size: 21px;
    margin-bottom: 12px;
}

.footer-grid .brand img {
    width: 28px;
    height: 28px;
}

@media (max-width: 760px) {
    .product-preview {
        min-height: 0;
        border-radius: 12px;
    }

    .final-cta {
        padding-top: 0;
    }
}