:root {
    color-scheme: light;
    --ink: #1d1a1d;
    --muted: #75666e;
    --line: #ead9dd;
    --paper: #fff7f4;
    --surface: #ffffff;
    --accent: #c03f68;
    --accent-dark: #71263f;
    --sage: #536f65;
    --gold: #b58236;
    --plum: #2a1824;
    --powder: #f7dce3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 82% 12%, rgba(192, 63, 104, 0.12), transparent 28rem),
        linear-gradient(180deg, #fff7f4 0%, #fff 48%, #f8f1ec 100%);
}

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

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

.site-header,
.site-footer,
.hero,
.section,
.roadmap,
.page-hero,
.product-page,
.price-placeholder {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--plum), var(--accent));
    color: #fff;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small,
.site-footer p,
.eyebrow,
.product-card p,
.category-tile p {
    color: var(--muted);
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    font-size: 0.95rem;
    font-weight: 650;
}

nav a {
    position: relative;
    padding: 10px 0;
}

nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 32px;
    align-items: center;
    padding: 44px 0 28px;
}

.hero-copy h1,
.page-hero h1 {
    max-width: 840px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5.8vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-copy p,
.page-hero p {
    max-width: 690px;
    font-size: 1.16rem;
    line-height: 1.75;
}

.compact-hero {
    border-bottom: 1px solid var(--line);
}

.hero-luxe {
    border-bottom: 1px solid rgba(113, 38, 63, 0.18);
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-weight: 750;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 18px 36px rgba(192, 63, 104, 0.22);
}

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

.beauty-stage {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(113, 38, 63, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 220, 227, 0.62)),
        linear-gradient(160deg, #fff 0%, #f6e0d7 48%, #e8ede4 100%);
    box-shadow: 0 30px 80px rgba(42, 24, 36, 0.12);
}

.beauty-stage::before {
    position: absolute;
    inset: 34px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 8px;
}

.beauty-stage img {
    position: absolute;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 34px rgba(42, 24, 36, 0.22));
}

.stage-main {
    right: 118px;
    bottom: 36px;
    height: 312px;
    transform: rotate(-4deg);
}

.stage-side.top {
    top: 34px;
    left: 38px;
    height: 184px;
    transform: rotate(5deg);
}

.stage-side.bottom {
    right: 32px;
    bottom: 170px;
    height: 172px;
    transform: rotate(8deg);
}

.stage-note {
    position: absolute;
    bottom: 26px;
    left: 28px;
    width: min(260px, calc(100% - 56px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 250, 244, 0.82);
    box-shadow: 0 18px 34px rgba(42, 24, 36, 0.11);
}

.stage-note strong,
.stage-note span {
    display: block;
}

.stage-note span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.92rem;
}

.section {
    padding: 64px 0;
}

.category-section {
    padding-top: 34px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading h2,
.roadmap h2,
.price-placeholder h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: 0;
}

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

.category-tile,
.product-card,
.price-placeholder,
.roadmap {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.category-tile {
    position: relative;
    overflow: hidden;
    padding: 16px 16px 22px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 18px 42px rgba(42, 24, 36, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-tile:hover {
    border-color: rgba(192, 63, 104, 0.48);
    box-shadow: 0 28px 64px rgba(42, 24, 36, 0.13);
    transform: translateY(-4px);
}

.category-tile img {
    width: 100%;
    aspect-ratio: 4 / 2.55;
    margin-bottom: 18px;
    border-radius: 7px;
    object-fit: cover;
    background: var(--powder);
}

.category-tile span,
.product-card span,
.breadcrumb {
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-tile h3,
.product-card h3 {
    margin: 14px 0 10px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.category-tile p {
    margin-bottom: 0;
}

.product-card {
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(42, 24, 36, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    box-shadow: 0 24px 54px rgba(42, 24, 36, 0.12);
    transform: translateY(-3px);
}

.product-card a {
    display: grid;
    gap: 12px;
    height: 100%;
    padding: 14px;
}

.product-card img,
.product-media img {
    width: 100%;
    border-radius: 7px;
    background: #f3e8dd;
    object-fit: cover;
}

.product-card img {
    aspect-ratio: 4 / 3;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--sage);
    font-weight: 850;
}

.rating small {
    color: var(--muted);
    font-weight: 650;
}

.roadmap {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 24px;
    margin-bottom: 72px;
    padding: 30px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(192, 63, 104, 0.72), rgba(83, 111, 101, 0.68)),
        var(--plum);
}

.roadmap p,
.roadmap .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.roadmap p {
    margin: 0 0 14px;
    line-height: 1.65;
}

.page-hero {
    padding: 62px 0 32px;
}

.product-page {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
    padding: 58px 0 36px;
}

.product-detail h1 {
    margin: 12px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

.brand-name {
    color: var(--gold);
    font-weight: 850;
}

.lede {
    font-size: 1.2rem;
    line-height: 1.65;
}

.score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    padding: 18px;
    border-radius: 8px;
    background: #f8efe8;
}

.score strong {
    font-size: 2rem;
}

.score small,
.score span {
    color: var(--muted);
}

.highlights {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.highlights li {
    padding: 13px 14px;
    border-left: 4px solid var(--accent);
    background: #fff;
}

.price-placeholder {
    margin-bottom: 72px;
    padding: 26px;
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 620px;
    margin-top: 18px;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    border-top: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0 44px;
    border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
    .site-header,
    .site-footer,
    .hero,
    .roadmap,
    .product-page {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-header {
        justify-items: start;
        padding: 18px 0;
    }

    nav {
        justify-content: start;
    }

    .hero {
        min-height: auto;
        padding-top: 42px;
    }

    .beauty-stage {
        min-height: 360px;
    }

    .stage-main {
        right: 48px;
        bottom: 34px;
        height: 250px;
    }

    .stage-side.top {
        height: 148px;
    }

    .stage-side.bottom {
        right: 18px;
        bottom: 150px;
        height: 138px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }
}
