@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    color-scheme: dark;
    font-family: 'DM Sans', sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fffdf8;
    background: #17251e;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.hero {
    position: relative;
    display: flex;
    min-height: 720px;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #263a31 url('pexels-rahimegul-39479255.jpg') center 55% / cover no-repeat;
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    pointer-events: none;
}

.hero::before {
    background: linear-gradient(180deg, rgb(9 17 13 / 47%) 0%, transparent 28%, transparent 45%, rgb(9 17 13 / 64%) 100%);
}

.hero::after {
    background: linear-gradient(90deg, rgb(9 17 13 / 28%) 0%, transparent 72%);
}

.site-header {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    display: grid;
    width: min(100% - 112px, 1440px);
    height: 104px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    transform: translateX(-50%);
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3.2vw, 52px);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.navigation a,
.mobile-menu a {
    transition: opacity 180ms ease;
}

.navigation a {
    padding: 10px 0;
}

.navigation a:hover,
.mobile-menu a:hover {
    opacity: 0.7;
}

.navigation--right {
    justify-content: flex-end;
}

.join-link span,
.mobile-menu a span {
    display: inline-block;
    margin-left: 6px;
    transition: transform 180ms ease;
}

.join-link:hover span,
.mobile-menu a:hover span {
    transform: translate(3px, -3px);
}

.brand {
    display: grid;
    width: 102px;
    height: 48px;
    place-items: center;
}

.brand img {
    display: block;
    width: 100%;
    max-height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.menu-toggle,
.mobile-menu {
    display: none;
}

.hero-content {
    position: absolute;
    bottom: clamp(90px, 14vh, 156px);
    left: max(8%, calc((100% - 1440px) / 2));
    width: min(760px, 78%);
}

.hero-content h1 {
    max-width: 760px;
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 4.6vw, 66px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.99;
    text-wrap: balance;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    gap: 12px;
    margin-top: 32px;
    padding: 8px 16px;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 8px;
    color: #fff;
    background: #101010;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.hero-cta:hover {
    border-color: rgb(255 255 255 / 48%);
    background: #252525;
}

.site-footer {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 18px 24px;
    color: rgb(255 253 248 / 72%);
    background: #17251e;
    font-size: 12px;
}

.site-footer a:hover {
    color: #fffdf8;
}

.legal-page {
    min-height: 100vh;
    padding: 0 24px;
    background: radial-gradient(ellipse at top, rgb(71 99 79 / 28%), transparent 50%), #17251e;
}

.legal-header {
    display: flex;
    width: min(100%, 1120px);
    height: 96px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    border-bottom: 1px solid rgb(255 253 248 / 14%);
}

.legal-brand {
    display: inline-flex;
    align-items: center;
}

.legal-brand img {
    display: block;
    width: 86px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.legal-header a:last-child,
.legal-back {
    color: rgb(255 253 248 / 78%);
    font-size: 13px;
}

.legal-content {
    width: min(100%, 800px);
    margin: 0 auto;
    padding: 76px 0 100px;
}

.legal-kicker {
    margin: 0 0 14px;
    color: #d3b786;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-content h1 {
    margin: 0 0 14px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(42px, 7vw, 64px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.legal-meta {
    margin: 0 0 30px;
    color: rgb(255 253 248 / 62%);
    font-size: 13px;
}

.legal-notice {
    margin: 0 0 46px;
    padding: 16px 18px;
    border: 1px solid rgb(211 183 134 / 34%);
    border-radius: 10px;
    color: rgb(255 253 248 / 86%);
    background: rgb(211 183 134 / 8%);
    font-size: 13px;
    line-height: 1.7;
}

.legal-content section + section {
    margin-top: 34px;
}

.legal-content h2 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
}

.legal-content p,
.legal-content li {
    color: rgb(255 253 248 / 78%);
    font-size: 15px;
    line-height: 1.8;
}

.legal-content p {
    margin: 0;
}

.legal-content ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 22px;
}

.legal-content a:not(.legal-back) {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 24px;
    border-top: 1px solid rgb(255 253 248 / 14%);
    color: rgb(255 253 248 / 72%);
    font-size: 12px;
}

.hero-cta > img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.store-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-eyebrow {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1;
}

.store-name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

@media (max-width: 760px) {
    .hero {
        min-height: 640px;
        height: 100svh;
        background-position: 58% center;
    }

    .hero::before {
        background: linear-gradient(180deg, rgb(9 17 13 / 45%) 0%, transparent 20%, rgb(9 17 13 / 8%) 38%, rgb(9 17 13 / 74%) 100%);
    }

    .hero::after {
        background: linear-gradient(90deg, rgb(9 17 13 / 20%) 0%, transparent 100%);
    }

    .site-header {
        width: calc(100% - 40px);
        height: 82px;
        grid-template-columns: 1fr auto 1fr;
    }

    .navigation {
        display: none;
    }

    .brand {
        width: 86px;
        height: 42px;
    }

    .brand img {
        max-height: 34px;
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        grid-column: 3;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        justify-self: end;
        padding: 0;
        border: 1px solid rgb(255 255 255 / 42%);
        border-radius: 50%;
        color: inherit;
        background: linear-gradient(145deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 6%)), rgb(20 30 25 / 25%);
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 8px 24px rgb(0 0 0 / 12%);
        -webkit-backdrop-filter: blur(10px) saturate(160%);
        backdrop-filter: blur(10px) saturate(160%);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 15px;
        height: 1px;
        background: currentColor;
        transition: transform 180ms ease;
    }

    .menu-toggle[aria-expanded='true'] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded='true'] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .mobile-menu:not([hidden]) {
        position: absolute;
        z-index: 2;
        top: 70px;
        right: 20px;
        left: 20px;
        display: flex;
        padding: 16px 22px;
        border: 1px solid rgb(255 255 255 / 30%);
        border-radius: 22px;
        flex-direction: column;
        gap: 4px;
        background: linear-gradient(145deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 7%)), rgb(20 30 25 / 38%);
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 18px 48px rgb(0 0 0 / 22%);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
        backdrop-filter: blur(14px) saturate(160%);
    }

    .mobile-menu a {
        padding: 13px 0;
        font-size: 14px;
    }

    .mobile-menu a + a {
        border-top: 1px solid rgb(255 255 255 / 16%);
    }

    .hero-content {
        bottom: 15%;
        left: 24px;
        width: calc(100% - 48px);
    }

    .hero-content h1 {
        font-size: clamp(34px, 8vw, 48px);
    }

    .hero-cta {
        margin-top: 25px;
    }

    .site-footer {
        gap: 16px;
        flex-wrap: wrap;
        font-size: 11px;
    }

    .legal-page {
        padding: 0 20px;
    }

    .legal-header {
        height: 78px;
    }

    .legal-content {
        padding: 52px 0 72px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 14px;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}