:root {
    --ink: #1c1819;
    --ink-soft: #63595c;
    --ink-faint: #8c7f83;
    --line: rgba(46, 32, 37, 0.12);
    --paper: rgba(255, 252, 249, 0.78);
    --rose: #a7657d;
    --font-title: Didot, "Didot LT STD", Bodoni, "Bodoni MT", "Playfair Display", Georgia, serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 25%, rgba(223, 188, 196, 0.3), transparent 30%),
        radial-gradient(circle at 82% 72%, rgba(220, 205, 188, 0.38), transparent 32%),
        linear-gradient(135deg, #f8f3ef 0%, #eee9e4 52%, #edf0ea 100%);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

.page-shell {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding: clamp(1.1rem, 2.4vw, 2rem);
}

.page-shell::before {
    position: fixed;
    inset: clamp(0.7rem, 1.4vw, 1.25rem);
    border: 1px solid rgba(46, 32, 37, 0.08);
    content: "";
    pointer-events: none;
}

.header,
.main-content,
.footer {
    position: relative;
    z-index: 1;
}

.header {
    display: flex;
    justify-content: center;
    padding: 0.35rem 0;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    color: var(--ink);
    text-decoration: none;
    transition: opacity 220ms ease, transform 220ms ease;
}

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

.logo-glossi,
.logo-digital {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 600;
    line-height: 0.95;
}

.logo-digital {
    margin-left: 0.08em;
    color: rgba(28, 24, 25, 0.42);
}

.lang-switch {
    position: fixed;
    top: clamp(1.1rem, 2.4vw, 2rem);
    right: clamp(1.1rem, 2.4vw, 2rem);
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.28rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 252, 249, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(65, 45, 52, 0.07);
}

.lang-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.34rem 0.72rem;
    background: transparent;
    color: var(--ink-faint);
    font: 700 0.72rem/1 var(--font-body);
    letter-spacing: 0.12em;
    cursor: pointer;
}

.lang-btn.is-active {
    background: var(--ink);
    color: #faf6f2;
}

.lang-switch__sep {
    width: 1px;
    height: 0.9rem;
    background: var(--line);
}

.main-content {
    display: grid;
    width: min(100%, 980px);
    flex: 1;
    place-items: center;
    margin: 0 auto;
    padding: clamp(2rem, 7vw, 5.5rem) 0;
}

.beauty-card {
    position: relative;
    width: min(100%, 820px);
    overflow: hidden;
    padding: clamp(2.6rem, 8vw, 6.5rem) clamp(1.5rem, 7vw, 5.5rem);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    box-shadow: 0 30px 90px rgba(65, 45, 52, 0.12);
    text-align: center;
    animation: enter 700ms ease both;
}

.beauty-card::before,
.beauty-card::after {
    position: absolute;
    border: 1px solid rgba(167, 101, 125, 0.16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.beauty-card::before {
    top: -10rem;
    right: -7rem;
    width: 20rem;
    height: 20rem;
}

.beauty-card::after {
    bottom: -13rem;
    left: -9rem;
    width: 25rem;
    height: 25rem;
}

.beauty-card__glow {
    position: absolute;
    top: 12%;
    left: 50%;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(215, 171, 184, 0.18);
    filter: blur(60px);
    pointer-events: none;
    transform: translateX(-50%);
}

.eyebrow,
.lead,
.description,
.home-link {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 1.2rem;
    color: var(--rose);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    position: relative;
    z-index: 1;
    font-family: var(--font-title);
    font-size: clamp(3.4rem, 9vw, 7.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.88;
}

.lead {
    margin-top: 1.6rem;
    color: var(--ink);
    font-family: var(--font-title);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.2;
}

.description {
    max-width: 580px;
    margin: 1rem auto 0;
    color: var(--ink-soft);
    font-size: clamp(0.95rem, 1.6vw, 1.06rem);
    line-height: 1.75;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding: 0.82rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 253, 250, 0.7);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 680;
    text-decoration: none;
    transition: background 220ms ease, gap 220ms ease, transform 220ms ease;
}

.home-link:hover {
    gap: 0.82rem;
    background: #fffdfa;
    transform: translateY(-2px);
}

.home-link svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.footer {
    padding: 0.7rem 0 0.1rem;
    color: var(--ink-faint);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.13em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .header {
        justify-content: flex-start;
        padding-left: 0.35rem;
    }

    .logo-glossi,
    .logo-digital {
        font-size: 1.9rem;
    }

    .lang-switch {
        top: 1rem;
        right: 1rem;
    }

    .beauty-card {
        padding-top: 4.2rem;
        padding-bottom: 4.2rem;
    }

    .eyebrow {
        max-width: 15rem;
        margin-right: auto;
        margin-left: auto;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
    }
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
