:root {
    color-scheme: light dark;
    --bg-muted: #f6efe7;
    --bg-soft: #fff9f3;
    --bg-contrast: #2b170f;
    --border-soft: #e4d5c6;
    --border-strong: #4a2c1b;
    --text-strong: #1f130c;
    --text-muted: #5f4130;
    --accent: #8b5e34;
    --accent-strong: #6c4521;
    --accent-light: #d7b28f;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

[v-cloak] {
    display: none;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    transition: background 150ms ease, transform 150ms ease;
}

.btn-accent:hover {
    background: var(--accent-strong);
}

.btn-accent:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.liquid-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 25% 20%, #2d170e 0%, #1a0c06 55%, #0d0502 100%),
        linear-gradient(120deg, #150a06, #1f0c07 70%);
}

.liquid-bg::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(120px);
    animation: liquid-morph 22s ease-in-out infinite;
    background: radial-gradient(circle, #6f4124 0%, #3a1f12 55%, #160904 100%);
    top: -50%;
    left: -50%;
    animation-delay: 0s;
}

.liquid-bloom {
    position: absolute;
    width: 220%;
    height: 220%;
    bottom: -60%;
    right: -60%;
    border-radius: 50%;
    opacity: 0.55;
    filter: blur(140px);
    background: radial-gradient(circle, #a06d4b 0%, #512919 50%, #180803 100%);
    animation: liquid-morph 26s ease-in-out infinite;
    animation-delay: -11s;
    pointer-events: none;
}

.liquid-bg::after {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 30% 20%, rgba(12, 6, 3, 0.4), transparent 50%),
        linear-gradient(160deg, rgba(7, 3, 2, 0.85), rgba(11, 5, 3, 0.95));
    opacity: 0.85;
    pointer-events: none;
}

@keyframes liquid-morph {
    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(20%, -20%) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(-20%, 20%) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(20%, 20%) scale(1.05) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    border-radius: 0;
    overflow: visible;
}

.hero-image-container::before {
    content: "";
    position: absolute;
    inset: 8% -10% -12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(203, 165, 128, 0.34), rgba(203, 165, 128, 0));
    filter: blur(38px);
    pointer-events: none;
    z-index: 0;
}

.hero-image-container::after {
    content: "";
    position: absolute;
    inset: -4% 12% 44% -10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}

.hero-carousel-shell {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 585 / 1024;
    margin: 0 auto;
    border-radius: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 36%),
        linear-gradient(160deg, rgba(236, 220, 205, 0.18), rgba(123, 79, 49, 0.12));
    box-shadow:
        0 34px 80px -28px rgba(0, 0, 0, 0.62),
        0 10px 30px -18px rgba(132, 87, 56, 0.34);
    isolation: isolate;
    z-index: 1;
    overflow: hidden;
}

.hero-carousel-shell::before {
    content: "";
    position: absolute;
    inset: 16px -18px -22px 32px;
    border-radius: 0;
    background: linear-gradient(145deg, rgba(63, 31, 15, 0.28), rgba(20, 8, 4, 0.04));
    opacity: 0.4;
    z-index: -1;
}

.hero-carousel-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 24%);
    pointer-events: none;
}

.hero-carousel-track {
    position: relative;
    height: 100%;
    inset: 0;
    overflow: hidden;
    background: #dfc8b1;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 600ms ease, transform 900ms ease;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-carousel-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.hero-carousel-pips {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-carousel-pip {
    height: 5px;
    width: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    appearance: none;
    transition: width 180ms ease, background 180ms ease, opacity 180ms ease;
    opacity: 0.72;
}

.hero-carousel-pip:hover {
    background: rgba(255, 255, 255, 0.52);
}

.hero-carousel-pip.is-active {
    width: 36px;
    background: #ffffff;
    opacity: 1;
}

.hero-carousel-pips-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 72px;
    background: linear-gradient(180deg, rgba(15, 7, 3, 0), rgba(15, 7, 3, 0.34));
    pointer-events: none;
}

.logo-carousel {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    flex: 1 1 auto;
    min-width: 0;
}

.logo-carousel-row {
    display: flex;
    align-items: center;
    gap: 36px;
}

.logo-carousel-copy {
    flex: 0 0 260px;
}

.logo-carousel::before,
.logo-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 88px;
    z-index: 1;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff, rgba(255, 255, 255, 0));
}

.logo-carousel-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 56px;
    animation: logo-scroll 24s linear infinite;
}

.logo-carousel:hover .logo-carousel-track {
    animation-play-state: paused;
}

.logo-carousel-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    opacity: 0.72;
    transition: opacity 180ms ease, transform 180ms ease;
}

.logo-carousel-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-carousel-item:hover {
    opacity: 1;
    transform: translateY(-1px);
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.faq-a {
    transition: max-height 300ms ease-in-out;
}

.legal-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem;
}

.muted {
    color: #6b4f3b;
}

@media (max-width: 767px) {
    .hero-image-container,
    .hero-carousel-shell {
        border-radius: 0;
    }

    .hero-carousel-pips {
        bottom: 16px;
    }

    .hero-carousel-pip {
        width: 18px;
    }

    .hero-carousel-pip.is-active {
        width: 28px;
    }

    .logo-carousel-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .logo-carousel-copy {
        flex-basis: auto;
    }

    .logo-carousel::before,
    .logo-carousel::after {
        width: 40px;
    }

    .logo-carousel-track {
        gap: 32px;
    }

    .legal-container {
        padding: 1.5rem;
    }
}
