:root {
    --bg: #ffffff;
    --bg-tint: #f4f8ff;
    --bg-soft: #f8fbff;
    --text: #12213f;
    --muted: #60708d;
    --accent: #0f63db;
    --accent-light: #6daaf6;
    --line: rgba(18, 33, 63, 0.08);
    --shadow-lg: 0 36px 90px rgba(15, 99, 219, 0.18);
    --shadow-md: 0 18px 48px rgba(18, 33, 63, 0.1);
    --shadow-sm: 0 12px 28px rgba(18, 33, 63, 0.08);
    --radius-xl: 42px;
    --radius-lg: 30px;
    --radius-md: 22px;
    --font-display: "Sora", sans-serif;
    --font-body: "Manrope", sans-serif;
    --transition: 220ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(15, 99, 219, 0.06), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

section {
    scroll-margin-top: 96px;
}

.container {
    max-width: 1180px;
}

.site-nav {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 28px rgba(18, 33, 63, 0.06);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text) !important;
}

.brand-mark {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #39b8ff);
    color: #fff;
    box-shadow: 0 14px 32px rgba(15, 99, 219, 0.2);
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.navbar-toggle-icon {
    color: var(--text);
    font-size: 1.15rem;
}

.nav-link {
    padding: 0.65rem 1rem !important;
    color: var(--muted) !important;
    font-weight: 700;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text) !important;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.8rem;
    padding: 0.78rem 1.18rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff !important;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(15, 99, 219, 0.18);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: #0b55bf;
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(15, 99, 219, 0.24);
}

.hero-section {
    padding: 7.5rem 0 3rem;
}

.hero-panel,
.screen-stage,
.support-card,
.cta-panel,
.document-card,
.contact-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.hero-panel {
    padding: clamp(1.5rem, 1rem + 2vw, 3rem);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #78aff6 0%, #0f63db 100%);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-lg);
}

.hero-grid,
.product-row,
.footer-shell,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 1rem + 2vw, 3rem);
    align-items: center;
}

.reverse-row .section-copy-block {
    order: 1;
}

.reverse-row .screen-stage {
    order: 2;
}

.hero-copy-block {
    max-width: 36rem;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.58rem 0.94rem;
    border: 1px solid rgba(15, 99, 219, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.hero-panel .eyebrow {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-title,
.section-title,
.document-card h1,
.support-copy h3 {
    margin: 1rem 0 0.85rem;
    font-family: var(--font-display);
    letter-spacing: -0.05em;
}

.hero-title {
    font-size: clamp(2.65rem, 1.9rem + 3vw, 5rem);
    line-height: 0.98;
}

.section-title,
.document-card h1 {
    font-size: clamp(2rem, 1.45rem + 2vw, 3.45rem);
    line-height: 1.03;
}

.support-copy h3 {
    font-size: 1.45rem;
    line-height: 1.08;
}

.hero-copy,
.section-copy,
.footer-copy,
.document-card p,
.support-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.hero-copy {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.04rem, 0.97rem + 0.45vw, 1.18rem);
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.7rem;
}

.hero-notes span {
    padding: 0.62rem 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.store-row-centered {
    justify-content: center;
}

.store-link {
    display: inline-flex;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.store-link:hover,
.store-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.store-link img {
    height: 56px;
}

.hero-image-wrap,
.screen-stage {
    display: flex;
    justify-content: center;
    padding: 0.9rem;
    border-radius: 36px;
}

.hero-image-wrap {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-stage {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.screen-image {
    width: min(100%, 420px);
    border-radius: 28px;
}

.screen-image-hero {
    box-shadow: 0 30px 70px rgba(5, 32, 76, 0.28);
}

.section-block,
.cta-section {
    padding: 4.6rem 0;
}

.section-tint {
    background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}

.section-copy-block {
    max-width: 34rem;
}

.collections-header {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.collections-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 1.4rem;
    align-items: start;
}

.screen-stage-large {
    height: 100%;
}

.collections-side {
    display: grid;
    gap: 1.4rem;
}

.support-card {
    padding: 0.9rem;
    border-radius: var(--radius-lg);
}

.support-copy {
    padding: 1.05rem 0.4rem 0.2rem;
}

.cta-panel {
    padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem);
    border-radius: var(--radius-xl);
    text-align: center;
}

.site-footer {
    padding: 2.8rem 0 3rem;
}

.footer-shell {
    align-items: start;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

.footer-title {
    margin: 0 0 0.8rem;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.footer-links {
    display: grid;
    gap: 0.62rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

.footer-bottom {
    margin-top: 1.6rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.document-page {
    min-height: 100vh;
    padding: 3rem 0;
}

.document-back {
    margin-bottom: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.document-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.contact-grid {
    margin-top: 1.6rem;
}

.contact-card {
    padding: 1.2rem;
    border-radius: var(--radius-md);
}

.contact-card h2 {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.04rem;
    letter-spacing: -0.03em;
}

.contact-card p,
.contact-card a {
    color: var(--muted);
    font-weight: 700;
}

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal="left"] {
    transform: translate3d(-24px, 0, 0);
}

[data-reveal="right"] {
    transform: translate3d(24px, 0, 0);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 991px) {
    .hero-grid,
    .product-row,
    .reverse-row,
    .collections-layout,
    .footer-shell,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-md);
    }

    .nav-cta {
        margin-top: 0.7rem;
        margin-left: 0;
    }

    .hero-section {
        padding-top: 6.6rem;
    }

    .reverse-row .section-copy-block,
    .reverse-row .screen-stage {
        order: initial;
    }
}

@media (max-width: 767px) {
    .hero-section,
    .section-block,
    .cta-section {
        padding: 3.6rem 0;
    }

    .hero-section {
        padding-top: 6rem;
    }

    .hero-panel,
    .cta-panel,
    .document-card,
    .support-card,
    .screen-stage {
        padding: 0.8rem;
    }

    .hero-panel,
    .cta-panel,
    .document-card {
        padding: 1.3rem;
    }

    .screen-image {
        width: 100%;
    }

    .store-link img {
        height: 50px;
    }

    .document-page {
        padding: 2rem 0;
    }
}

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

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
