/* OmniX branding API palette. Aurora adapted from BEDOLAGA-DEV/bedolaga-cabinet; see README.md. */
:root {
    color-scheme: dark;
    --bg: #0c1222;
    --surface: #1e293b;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #0ea5e9;
    --line: #364154;
    --panel: rgba(30, 41, 59, .65);
    --soft: rgba(14, 165, 233, .12)
}

:root.light {
    color-scheme: light;
    --bg: #e0f2fe;
    --surface: #f0f9ff;
    --text: #0c4a6e;
    --muted: #0369a1;
    --line: #b4d7eb;
    --panel: rgba(240, 249, 255, .87)
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.65 Manrope, system-ui, sans-serif;
    isolation: isolate
}

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

button {
    font: inherit;
    cursor: pointer
}

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

.shell {
    max-width: 1200px;
    margin: auto;
    padding-inline: 32px
}

.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    contain: strict;
    backface-visibility: hidden
}

.aurora > div {
    position: absolute;
    inset: -10px;
    opacity: .5;
    background-image: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%), repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #a5b4fc 25%, #3b82f6 30%);
    background-size: 300%, 200%;
    mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
    animation: aurora 60s linear infinite
}

@keyframes aurora {
    from {
        background-position: 50% 50%, 50% 50%
    }
    to {
        background-position: 350% 50%, 350% 50%
    }
}

.nav {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.5px;
    white-space: nowrap
}

.brand img {
    width: 37px;
    height: 37px;
    object-fit: contain
}

.nav nav {
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted)
}

.nav nav a:hover, .text-link:hover {
    color: var(--accent)
}

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

.theme-toggle {
    width: 42px;
    height: 42px;
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 25px;
    line-height: 1
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 14px 23px;
    font-size: 14px;
    font-weight: 400;
    transition: background .2s, transform .2s
}

.button:hover {
    transform: translateY(-2px)
}

.primary {
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 6px 24px #0ea5e919
}

.primary:hover {
    background: #38bdf8
}

.secondary {
    background: var(--panel);
    border-color: var(--line)
}

.small {
    padding: 9px 17px;
    border-radius: 12px
}

.hero {
    display: grid;
    grid-template-columns:1.45fr 1fr;
    gap: 55px;
    align-items: center;
    padding-block: 76px 90px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--accent)
}

h1, h2, h3, p {
    margin: 0
}

h1 {
    font-size: clamp(36px, 4.1vw, 53px);
    font-weight: 800;
    letter-spacing: -2.2px;
    line-height: 1.16;
    margin-top: 22px
}

h1 em {
    font-style: normal;
    color: var(--accent)
}

.lead {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.85;
    margin-top: 26px;
    max-width: 510px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 31px
}

.text-link {
    font-size: 13px;
    font-weight: 700
}

.hero-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px
}

.section {
    padding-block: 55px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 28px
}

h2 {
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -1px;
    font-weight: 800;
    margin-top: 12px
}

.section-heading > p {
    max-width: 310px;
    font-size: 13px;
    color: var(--muted)
}

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

.card {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    backdrop-filter: blur(12px)
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: var(--accent);
    background: var(--soft);
    font-size: 23px;
    margin-bottom: 24px
}

h3 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.3px
}

.card p, .steps p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--muted);
    margin-top: 10px
}

.steps {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 36px;
    padding-top: 32px
}

.steps article {
    border-top: 1px solid var(--line);
    padding-top: 24px
}

.step-number {
    display: block;
    font-size: 12px;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px
}

.faq-section {
    display: grid;
    grid-template-columns:1fr 1.5fr;
    gap: 55px
}

.faq details {
    border-bottom: 1px solid var(--line)
}

.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    font-size: 14px;
    font-weight: 700
}

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

.faq summary span {
    color: var(--accent);
    font-size: 22px;
    font-weight: 400
}

.faq details[open] summary span {
    transform: rotate(45deg)
}

.faq p {
    font-size: 13px;
    color: var(--muted);
    padding: 0 20px 22px 0
}

.faq p a {
    color: var(--accent);
    text-decoration: underline
}

.final-section {
    padding-block: 35px 65px
}

.cta-panel {
    padding: 38px 42px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px
}

.footer .brand {
    font-size: 15px;
    color: var(--text)
}

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

.stub-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px
}

.stub-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 45px;
    max-width: 460px;
    text-align: center
}

.stub-card > img {
    width: 80px;
    height: 80px;
    object-fit: contain
}

.stub-card h1 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 18px 0 12px
}

.stub-card p {
    color: var(--muted);
    font-size: 14px
}

.stub-card .button {
    margin-top: 25px
}

.stub-page .theme-toggle {
    position: fixed;
    right: 24px;
    top: 24px
}

@media (max-width: 950px) {
    .hero {
        gap: 28px
    }

    .hero-actions {
        gap: 15px;
        flex-wrap: wrap
    }

    .hero-logo {
        width: 155px;
        height: 155px
    }

    .panel-caption {
        font-size: 7px
    }

    .brand-panel {
        padding-inline: 22px
    }

    .nav nav {
        gap: 18px
    }

    .card {
        padding: 22px
    }

    .faq-section {
        gap: 30px
    }

    h1 {
        font-size: 40px
    }
}

@media (max-width: 767px) {
    .aurora > div {
        animation: none;
        background-size: 100%, 100%
    }

    .shell {
        padding-inline: 22px
    }

    .nav {
        height: 80px
    }

    .nav nav {
        display: none
    }

    .brand {
        font-size: 16px
    }

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

    .nav-actions {
        gap: 8px
    }

    .hero {
        grid-template-columns:1fr;
        padding-block: 35px;
        gap: 36px
    }

    h1 {
        font-size: clamp(32px, 8vw, 48px);
        letter-spacing: -1.4px
    }

    .lead {
        font-size: 14px
    }

    .hero-actions {
        gap: 22px
    }

    .hero-note {
        font-size: 10px
    }

    .brand-panel {
        max-width: 480px;
        width: 100%;
        margin: auto
    }

    .hero-logo {
        width: 155px;
        height: 155px;
        margin-block: 22px 10px
    }

    .panel-title {
        font-size: 23px;
        margin-bottom: 24px
    }

    .section {
        padding-block: 32px
    }

    .section-heading {
        display: block
    }

    .section-heading > p {
        margin-top: 16px;
        max-width: none
    }

    h2 {
        font-size: 26px
    }

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

    .card {
        padding: 23px
    }

    .feature-icon {
        margin-bottom: 16px
    }

    .steps {
        grid-template-columns:1fr;
        gap: 24px
    }

    .steps article {
        padding-top: 18px
    }

    .step-number {
        margin-bottom: 9px
    }

    .faq-section {
        grid-template-columns:1fr;
        gap: 8px
    }

    .cta-panel {
        align-items: start;
        flex-direction: column;
        padding: 28px
    }

    .final-section {
        padding-block: 24px 36px
    }

    .footer {
        flex-wrap: wrap;
        padding-block: 24px
    }

    .footer > span:nth-child(2) {
        display: none
    }
}

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

    .aurora {
        display: none
    }

    *, *::before, *::after {
        transition: none !important;
        animation: none !important
    }
}

/* Product preview and plans; retain the approved cabinet palette. */
.product-preview {
    position: relative;
    margin: 0;
    justify-self: center;
    width: min(100%, 310px);
    padding: 0;
    isolation: isolate;
    transform: rotate(2deg)
}

.product-preview > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 30px 65px #02061750;
    border: 1px solid var(--line)
}

.preview-halo {
    position: absolute;
    inset: 10% -20%;
    z-index: -1;
    background: radial-gradient(ellipse, #0ea5e922, transparent 68%);
    filter: blur(20px)
}

.product-preview figcaption {
    color: var(--muted);
    font-size: 11px;
    text-align: center;
    margin-top: 17px;
    transform: rotate(-2deg)
}

.trial-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 6px;
    vertical-align: middle
}

.hero-note {
    font-size: 12px
}

.pricing-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px
}

.price-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px
}

.price {
    font-size: 43px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 17px 0 8px
}

.price > span, .price small {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0
}

.price-description {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 22px
}

.price-card .text-link {
    color: var(--accent)
}

@media (max-width: 950px) {
    .nav nav {
        gap: 14px
    }

    .hero {
        gap: 30px
    }

    .product-preview {
        width: min(100%, 280px)
    }
}

@media (max-width: 767px) {
    .product-preview {
        width: min(80%, 310px);
        margin-block: 8px 0;
        transform: none
    }

    .product-preview figcaption {
        transform: none
    }

    .pricing-grid {
        grid-template-columns:1fr;
        gap: 12px
    }

    .price-card {
        padding: 25px
    }

    .hero-note {
        font-size: 11px
    }
}
