@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
    --color-bg: #f7f2ea;
    --color-surface: #fffaf4;
    --color-primary: #e8ddcf;
    --color-brown: #5a463a;
    --color-brown-soft: #7a6355;
    --color-gold: #c8a44d;
    --color-blue: #1e4ed8;
    --color-border: rgba(90, 70, 58, 0.12);
    --shadow-soft: 0 14px 40px rgba(90, 70, 58, 0.12);
    --shadow-card: 0 10px 30px rgba(90, 70, 58, 0.1);
    --container: 1100px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    color: var(--color-brown);
    background:
        radial-gradient(circle at top left, rgba(200, 164, 77, 0.18), transparent 28%),
        linear-gradient(180deg, #fbf7f1 0%, var(--color-bg) 100%);
    line-height: 1.5;
}

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

a {
    color: var(--color-blue);
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0 0 var(--space-2);
    font-family: "Playfair Display", Georgia, serif;
    color: var(--color-brown);
    line-height: 1.1;
    text-wrap: balance;
}

p,
li {
    font-size: 1rem;
}

p {
    margin: 0 0 var(--space-2);
}

main {
    width: min(calc(100% - 24px), var(--container));
    margin: 0 auto;
    padding: var(--space-4) 0 var(--space-5);
}

main > * + * {
    margin-top: var(--space-4);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 16px;
    background: rgba(255, 250, 244, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(90, 70, 58, 0.08);
}

.site-header > div,
.nav-shell {
    width: min(100%, var(--container));
    min-height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-link img,
.site-header img {
    width: 72px;
    max-width: 72px;
    height: auto;
}

.site-nav,
.site-header > div > div:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
}

.site-nav a,
.site-header a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    color: var(--color-brown);
    font-weight: 600;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-header a:hover,
.site-nav a.is-active,
.site-header a.is-active {
    color: var(--color-blue);
    background: rgba(30, 78, 216, 0.08);
}

.menu-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    padding: 0;
    margin-left: auto;
    border: 1px solid rgba(90, 70, 58, 0.12);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.menu-toggle__icon {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--color-brown);
    border-radius: 99px;
    transition: background-color 0.2s ease;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--color-brown);
    border-radius: 99px;
    transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle__icon::before {
    top: -6px;
}

.menu-toggle__icon::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    width: 100vw;
    margin-top: calc(-1 * var(--space-4));
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 24px 20px 28px;
    background:
        radial-gradient(circle at 22% 26%, rgba(200, 164, 77, 0.18), transparent 24%),
        linear-gradient(135deg, #211a16 0%, #3a2d25 36%, #5a463a 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
}

.intro-slider img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(130%, 860px);
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: translateX(-50%);
    opacity: 0;
    filter: saturate(1.02) drop-shadow(0 36px 64px rgba(0, 0, 0, 0.28));
    animation: heroFade 16s infinite;
}

.intro-slider img:first-child {
    opacity: 1;
}

.intro-slider img:nth-child(1) {
    animation-delay: 0s;
}

.intro-slider img:nth-child(2) {
    animation-delay: 4s;
}

.intro-slider img:nth-child(3) {
    animation-delay: 8s;
}

.intro-slider img:nth-child(4) {
    animation-delay: 12s;
}

@keyframes heroFade {
    0% {
        opacity: 0.55;
        transform: translateX(-50%) scale(1.02);
    }
    22% {
        opacity: 0.55;
        transform: translateX(-50%) scale(1);
    }
    28% {
        opacity: 0;
        transform: translateX(-50%) scale(1.02);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1.02);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 12, 0.34) 0%, rgba(20, 15, 12, 0.68) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    margin: 0 auto;
    text-align: center;
    padding-bottom: 24px;
}

.hero-kicker {
    margin-bottom: 10px;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-title {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    font-size: clamp(2rem, 9vw, 3.2rem);
    color: #fff8f0;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    margin: 0 auto;
    max-width: 26ch;
    color: rgba(255, 248, 240, 0.92);
    font-size: 1rem;
}

.hero-cta {
    margin-top: var(--space-3);
}

.hero-note {
    margin-top: 12px;
    color: rgba(255, 248, 240, 0.82);
    font-size: 0.92rem;
}

.hero-scroll {
    display: none;
}

.content-section,
.final-cta {
    display: grid;
    gap: var(--space-3);
}

.compact-section {
    gap: var(--space-2);
}

.section-heading {
    width: min(100%, 680px);
}

.section-heading--center {
    margin: 0 auto;
    text-align: center;
}

.section-kicker {
    margin-bottom: 8px;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-heading > p:last-child {
    color: var(--color-brown-soft);
}

.content-card,
.step-card,
.preorder-panel,
.bullet-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.content-card,
.step-card,
.bullet-card,
.preorder-panel {
    padding: var(--space-3);
}

.section-grid,
.solution-grid,
.steps-grid {
    display: grid;
    gap: var(--space-3);
}

.design-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 82%);
    gap: var(--space-2);
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.design-slide {
    display: grid;
    gap: var(--space-2);
    padding: var(--space-2);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
}

.design-slide img {
    width: 100%;
    border-radius: 18px;
}

.design-slide__body p {
    color: var(--color-brown-soft);
}

.bullet-list {
    margin: 0;
    padding-left: 20px;
    color: var(--color-brown-soft);
}

.bullet-list li + li {
    margin-top: 10px;
}

.compact-card p,
.step-card p,
.event-highlight__text,
.final-cta p {
    color: var(--color-brown-soft);
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: var(--space-2);
    border-radius: 999px;
    background: rgba(30, 78, 216, 0.1);
    color: var(--color-blue);
    font-weight: 800;
}

.event-highlight {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: linear-gradient(135deg, rgba(30, 78, 216, 0.08), rgba(255, 250, 244, 0.96));
    border: 1px solid rgba(30, 78, 216, 0.12);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
}

.event-highlight__logo {
    width: 88px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(30, 78, 216, 0.18);
}

.event-highlight__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-highlight__eyebrow {
    margin-bottom: 6px;
    color: var(--color-blue);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.event-highlight__meta {
    margin-bottom: 8px;
    font-weight: 700;
}

.event-highlight__cta {
    margin-top: var(--space-2);
}

.preorder-panel {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.preorder-form {
    display: grid;
    gap: 16px;
}

.preorder-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.preorder-actions button {
    width: 100%;
}

.preorder-status {
    min-height: 24px;
    margin: 0;
    font-weight: 600;
}

.preorder-status.is-loading {
    color: var(--color-brown-soft);
}

.preorder-status.is-success {
    color: #1f7a42;
}

.preorder-status.is-error {
    color: #b42318;
}

button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-gold), #d7b467);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(200, 164, 77, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
.button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(200, 164, 77, 0.26);
    color: #fff;
}

label {
    display: inline-block;
    margin-bottom: var(--space-1);
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(90, 70, 58, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-brown);
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(30, 78, 216, 0.18);
    border-color: var(--color-blue);
}

.designs-desktop,
.designs-mobile,
.stats-grid,
.page-main,
.page-hero,
.detail-layout,
.footer-note {
    display: none;
}

.site-nav,
.site-header > div > div:last-child {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-2);
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid rgba(90, 70, 58, 0.12);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    z-index: 10;
}

.site-header.is-open .site-nav,
.site-header.is-open > div > div:last-child {
    display: flex !important;
}

.site-nav a,
.site-header > div > div:last-child a {
    width: 100%;
    justify-content: flex-start;
}

@media (min-width: 769px) {
    :root {
        --header-height: 88px;
    }

    main {
        width: min(calc(100% - 48px), var(--container));
        padding: calc(var(--space-5) + var(--space-2)) 0 var(--space-6);
    }

    main > * + * {
        margin-top: var(--space-5);
    }

    .site-header {
        padding: var(--space-2) 24px;
    }

    .site-header > div,
    .nav-shell {
        gap: var(--space-3);
        min-height: 56px;
    }

    .brand-link img,
    .site-header img {
        width: 110px;
        max-width: 110px;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav,
    .site-header > div > div:last-child {
        display: flex !important;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        box-shadow: none;
        border: 0;
        padding: 0;
        left: auto;
        right: auto;
        top: auto;
        width: auto;
    }

    .site-nav a,
    .site-header > div > div:last-child a {
        width: auto;
        justify-content: center;
        white-space: nowrap;
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        align-items: flex-end;
        padding: 0 clamp(24px, 4vw, 40px) clamp(32px, 5vw, 48px);
    }

    .hero-content {
        width: min(100%, 620px);
        margin: 0;
        text-align: left;
        padding: 0 0 56px;
    }

    .hero-title {
        margin-left: 0;
        margin-right: 0;
        font-size: clamp(3rem, 7vw, 5rem);
    }

    .hero-subtitle,
    .hero-note {
        margin-left: 0;
        margin-right: 0;
    }

    .intro-slider img {
        left: 50%;
        bottom: 0;
        width: min(88%, 1400px);
        height: calc(100% - 20px);
        transform: translateX(-50%);
        opacity: 0;
    }

    .intro-slider img:first-child {
        opacity: 1;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(20, 15, 12, 0.9) 0%, rgba(20, 15, 12, 0.78) 28%, rgba(20, 15, 12, 0.42) 54%, rgba(20, 15, 12, 0.08) 78%, rgba(20, 15, 12, 0.12) 100%),
            linear-gradient(180deg, rgba(20, 15, 12, 0.08) 0%, rgba(20, 15, 12, 0.22) 100%);
    }

    .hero-scroll {
        display: inline-flex;
        position: absolute;
        left: 50%;
        bottom: 24px;
        z-index: 1;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        transform: translateX(-50%);
        color: #fff8f0;
    }

    .hero-scroll:hover {
        color: var(--color-blue);
    }

    .hero-scroll__mouse {
        width: 28px;
        height: 44px;
        border: 2px solid rgba(255, 248, 240, 0.55);
        border-radius: 999px;
        position: relative;
        background: rgba(255, 255, 255, 0.08);
    }

    .hero-scroll__mouse::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 4px;
        height: 9px;
        border-radius: 999px;
        background: #fff8f0;
        transform: translateX(-50%);
        animation: scrollPulse 1.8s infinite;
    }

    .hero-scroll__arrow {
        width: 12px;
        height: 12px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        animation: arrowBounce 1.8s infinite;
    }

    .section-grid,
    .solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-grid--three,
    .steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .design-slider {
        grid-auto-columns: minmax(260px, 1fr);
        grid-template-columns: repeat(4, minmax(260px, 1fr));
    }

    .event-highlight {
        grid-template-columns: auto 1fr;
        text-align: left;
        padding: var(--space-4);
    }

    .event-highlight__logo {
        margin: 0;
        width: 92px;
    }

    .preorder-actions button {
        width: auto;
    }
}
