:root {
    --ink: #111111;
    --ink-soft: #4a4a4a;
    --muted: #77736d;
    --line: #e5e5e5;
    --surface: #ffffff;
    --surface-alt: #f6f5f2;
    --accent: #d4a574;
    --accent-ink: #2a1f14;
    --success: #1e7f4f;
    --shadow: 0 24px 64px rgba(17, 17, 17, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Roboto, Arial, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
}

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

:focus-visible {
    outline: 3px solid rgba(212, 165, 116, .55);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 76px;
    padding: 0 clamp(20px, 5vw, 64px);
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand img,
.footer-brand img {
    border-radius: 8px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a,
.language-menu button,
.language-panel a {
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 8px;
}

.site-nav a:hover,
.language-panel a:hover {
    background: var(--surface-alt);
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-menu {
    position: relative;
}

.language-menu button {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.language-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 112px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: .18s ease;
}

.language-menu:hover .language-panel,
.language-menu:focus-within .language-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(17, 17, 17, .16);
}

.store-link:hover {
    transform: translateY(-2px);
}

.store-link--small {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
}

.store-link--secondary {
    background: var(--surface);
    color: var(--ink);
    box-shadow: none;
}

.store-link--large {
    min-height: 56px;
    padding: 0 22px;
}

.store-link img {
    border-radius: 6px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--accent-ink);
    font-weight: 800;
    border-bottom: 2px solid var(--accent);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    gap: 4px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
    gap: clamp(34px, 6vw, 88px);
    align-items: center;
    min-height: calc(100vh - 76px);
    padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 86px);
    background:
        linear-gradient(135deg, #fff 0%, #fff 54%, var(--surface-alt) 54%, var(--surface-alt) 100%);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid rgba(212, 165, 116, .42);
    border-radius: 8px;
    background: rgba(212, 165, 116, .12);
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 820px;
    margin: 22px 0 18px;
    font-size: clamp(42px, 7vw, 88px);
    line-height: .98;
    letter-spacing: 0;
}

h2 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.2;
}

.lead {
    max-width: 690px;
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 32px;
}

.hero-actions--secondary {
    margin-top: 12px;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-copy .download-actions {
    justify-content: flex-start;
}

.hero-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 660px;
    margin-top: 34px;
}

.stats div {
    min-height: 108px;
    padding: 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.stats strong {
    display: block;
    margin-bottom: 6px;
    font-size: 24px;
    line-height: 1;
}

.stats span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 620px;
}

.phone {
    position: absolute;
    width: min(300px, 46vw);
    min-width: 230px;
    aspect-ratio: 9 / 18.6;
    padding: 14px;
    background: #171717;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.phone--main {
    top: 12px;
    left: 8%;
    z-index: 2;
}

.phone--side {
    right: 3%;
    bottom: 8px;
    transform: rotate(4deg);
}

.phone-top {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 84px;
    height: 22px;
    border-radius: 99px;
    background: #050505;
    transform: translateX(-50%);
    z-index: 4;
}

.screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 50px 16px 18px;
    border-radius: 24px;
    background: var(--surface);
    overflow: hidden;
}

.screen span {
    font-weight: 800;
}

.closet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.closet-grid i {
    min-height: 92px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, #fff, var(--surface-alt));
}

.closet-grid i:nth-child(2),
.closet-grid i:nth-child(5) {
    background: linear-gradient(145deg, rgba(212, 165, 116, .22), #fff);
}

.screen--tryon {
    background: #111;
    color: #fff;
}

.avatar {
    width: 118px;
    height: 260px;
    margin: 34px auto 22px;
    border-radius: 60px 60px 18px 18px;
    background:
        linear-gradient(#f2d7c2 0 18%, transparent 18%),
        linear-gradient(90deg, transparent 0 15%, var(--accent) 15% 85%, transparent 85%),
        linear-gradient(#fff 0 100%);
}

.result-bars {
    display: grid;
    gap: 8px;
}

.result-bars i {
    display: block;
    height: 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .22);
}

.result-bars i:nth-child(2) {
    width: 76%;
}

.result-bars i:nth-child(3) {
    width: 54%;
}

.section {
    padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.section--tight {
    padding-top: clamp(52px, 7vw, 86px);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

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

.section-heading p:not(.eyebrow) {
    margin: 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.tour-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tour-card {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 22px;
    min-height: 260px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
}

.tour-card span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.tour-card p {
    margin: 0;
    color: var(--ink-soft);
}

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

.feature-card {
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.feature-card span {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--accent-ink);
    font-size: 13px;
    font-weight: 800;
}

.feature-card p,
.step p,
.privacy-band p,
.final-cta p,
.legal-content p,
.legal-hero p,
.site-footer p {
    margin: 0;
    color: var(--ink-soft);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 74px);
    background: var(--ink);
    color: #fff;
}

.split-section .eyebrow {
    background: rgba(212, 165, 116, .16);
    color: #f3d7b8;
}

.split-section .section-heading p:not(.eyebrow),
.split-section .step p {
    color: rgba(255, 255, 255, .72);
}

.steps {
    display: grid;
    gap: 14px;
}

.step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.step strong {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
}

.gallery-section {
    background: var(--surface-alt);
}

.gallery {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr 1.2fr;
    gap: 14px;
}

.screenshot-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 430px;
    padding: 20px;
    border: 1px dashed rgba(17, 17, 17, .28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .58)),
        repeating-linear-gradient(135deg, rgba(212, 165, 116, .16) 0 12px, transparent 12px 24px);
    color: var(--muted);
    font-weight: 800;
    overflow: hidden;
}

.screenshot-placeholder--wide {
    min-height: 330px;
}

.screenshot-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-placeholder img + span {
    position: relative;
    z-index: 1;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid var(--line);
}

.screenshot-placeholder.has-image span {
    display: none;
}

.privacy-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.privacy-band div {
    max-width: 760px;
}

.final-cta {
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(60px, 9vw, 116px) 20px;
}

.final-cta img:first-child {
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(17, 17, 17, .12);
}

.final-cta p {
    max-width: 620px;
    margin-bottom: 26px;
    font-size: 18px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 42px clamp(20px, 6vw, 86px);
    border-top: 1px solid var(--line);
    background: var(--surface-alt);
}

.site-footer p {
    max-width: 420px;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
    color: var(--ink-soft);
    font-weight: 700;
}

.legal-hero {
    padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 86px) 42px;
    background: var(--surface-alt);
}

.legal-hero h1 {
    max-width: 920px;
}

.legal-hero p {
    max-width: 840px;
    font-size: 19px;
}

.legal-hero span {
    display: inline-flex;
    margin-top: 22px;
    margin-right: 10px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.legal-content {
    display: grid;
    gap: 14px;
    max-width: 920px;
    padding: 42px clamp(20px, 6vw, 86px) 86px;
}

.legal-content article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.legal-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.legal-content a {
    color: var(--accent-ink);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
}

@media (max-width: 1040px) {
    .site-header {
        grid-template-columns: auto auto 1fr;
    }

    .menu-button {
        display: grid;
    }

    .site-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        justify-content: flex-start;
        padding: 12px 20px 18px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    .header-actions {
        justify-self: end;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 560px;
    }

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

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

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

@media (max-width: 720px) {
    .site-header {
        gap: 12px;
        min-height: 68px;
        padding: 0 16px;
    }

    .brand span {
        display: none;
    }

    .site-nav {
        top: 68px;
        flex-direction: column;
        align-items: stretch;
    }

    .store-link--small {
        padding: 0 12px;
    }

    .hero {
        min-height: auto;
        padding: 38px 16px 52px;
        background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--surface-alt) 60%, var(--surface-alt) 100%);
    }

    h1 {
        font-size: 44px;
    }

    .stats,
    .tour-grid,
    .feature-grid,
    .split-section,
    .gallery {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
    }

    .phone {
        width: 238px;
        min-width: 0;
    }

    .phone--main {
        left: 0;
    }

    .phone--side {
        right: 0;
    }

    .section,
    .legal-hero,
    .legal-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .privacy-band,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .header-actions .store-link--small {
        display: none;
    }

    .hero-visual {
        min-height: 470px;
    }

    .phone {
        width: 212px;
    }

    .closet-grid i {
        min-height: 72px;
    }

    .screenshot-placeholder,
    .screenshot-placeholder--wide {
        min-height: 260px;
    }
}
