:root {
    --white: #ffffff;
    --black: #111111;
    --ink: #252525;
    --muted: #666666;
    --dusty-pink: #8a8580;
    --warm-beige: #efe8df;
    --soft-stone: #ddd6cb;
    --cream: #faf8f5;
    --light-grey: #f4f4f2;
    --border: #e5e2dc;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --max-width: 1240px;
    --article-width: 760px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 999px;
    border: 1px solid var(--black);
    background: var(--black);
    color: var(--white);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.btn:hover {
    background: transparent;
    color: var(--black);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    text-transform: uppercase;
    font-weight: 400;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
}

.menu-toggle-lines {
    display: grid;
    gap: 4px;
}

.menu-toggle-lines span {
    width: 16px;
    height: 1.5px;
    background: var(--black);
}

.nav-bar {
    border-top: 1px solid var(--border);
    padding: 0;
    height: 60px;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 0;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    height: 100%;
    text-transform: uppercase;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    min-height: 0;
    padding: 0 0.5rem;
    position: relative;
}

header .header-top {
    padding: 2rem 0;
}

header .logo {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1;
    text-indent: 0.3em;
}

header .nav-links {
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    gap: 4rem;
    letter-spacing: 0.15em;
}

.nav-links li:has(a[href*="beauty-scan-preview"]),
.nav-links li:has(a[href="#scan-experience"]) {
    display: none;
}

.article-page {
    padding: 0 0 6rem;
    background:
        linear-gradient(180deg, #ffffff 0%, #fcfaf7 42%, #ffffff 100%);
}

.article-hero-wrap {
    padding: 0 0 4rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.article-hero-band {
    background: linear-gradient(135deg, var(--warm-beige) 0%, #f4e4dd 100%);
    overflow: hidden;
}

.article-hero-band--text-only {
    background: linear-gradient(135deg, var(--warm-beige) 0%, #f4e4dd 100%);
}

.article-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1fr);
    align-items: stretch;
}

.article-hero-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.article-hero-media {
    padding: 0 2rem;
    display: flex;
    align-items: stretch;
}

.article-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 520px;
}

.article-hero-content {
    padding: 4rem 4rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-hero-grid--single .article-hero-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.article-hero-content--body-align {
    max-width: var(--article-width);
    margin: 0 auto;
    padding: 5rem 0;
}

.article-hero-band--text-only .article-hero-grid--single .article-hero-content {
    min-height: clamp(520px, 62vh, 720px);
}

.article-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.article-dek {
    font-size: 1rem;
    line-height: 1.9;
    color: #4f4f4f;
    max-width: 48ch;
    margin-bottom: 1.5rem;
}

.article-byline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4e4e4e;
}

.article-layout {
    display: grid;
    gap: 2.5rem;
}

.faq-shell {
    max-width: 1020px;
    margin: 0 auto;
}

.faq-list {
    display: block;
    margin: 1rem auto 0;
    max-width: 1020px;
}

.faq-item {
    border: 0;
    border-bottom: 1px solid #111111;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 5.4rem;
    padding: 0;
    color: #111111;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    color: #111111;
}

.faq-item[open] {
    padding-top: 0;
}

.faq-item[open] summary {
    min-height: 3.4rem;
    margin: 0 0 1.9rem;
    padding: 0.8rem 1.1rem;
    border: 2px solid #1463ff;
    border-radius: 4px;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-answer {
    max-width: 760px;
    padding: 0 0 4rem;
    color: #111111;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
}

.article-body {
    max-width: var(--article-width);
    margin: 0 auto;
}

.article-intro {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #343434;
    margin-bottom: 2.5rem;
}

.article-body section + section {
    margin-top: 2.75rem;
}

.article-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 1.8rem 0 0.55rem;
}

.article-body h4 {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 1.35rem 0 0.45rem;
    color: #262626;
}

.article-body p {
    font-size: 1rem;
    line-height: 1.95;
    color: #444;
    margin-bottom: 1rem;
}

.article-body ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.article-body li {
    color: #444;
    line-height: 1.85;
}

.article-pullquote {
    margin: 2.5rem 0;
    padding: 1.6rem 1.8rem;
    border-left: 4px solid var(--dusty-pink);
    background: var(--cream);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.35;
}

.more-guides {
    max-width: 1050px;
    margin: 0 auto;
}

.more-guides-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.more-guides-title {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.more-guides-copy {
    color: var(--muted);
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.more-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.guide-card {
    display: block;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.guide-card img {
    width: 100%;
    aspect-ratio: 4 / 4.3;
    object-fit: cover;
}

.guide-card-content {
    padding: 1.2rem 1.15rem 1.3rem;
}

.guide-card-category {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dusty-pink);
    margin-bottom: 0.7rem;
}

.guide-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.08;
    margin-bottom: 0.65rem;
}

.guide-card-excerpt {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 5.5rem 0 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.7fr));
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
}

.footer-signup h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
    letter-spacing: 0.06em;
}

.footer-signup p {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.signup-form {
    display: flex;
    max-width: 520px;
    gap: 0.8rem;
}

.signup-form input {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 1.2rem;
    color: var(--white);
    font-family: inherit;
    min-width: 0;
}

.signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.signup-form button {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0 1.8rem;
    background: transparent;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    cursor: pointer;
}

.footer-column-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.95rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 960px) {
    .article-hero-content {
        padding: 3rem 2rem 3rem 1.25rem;
    }

    .more-guides-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header-top {
        justify-content: space-between;
        padding: 1.2rem 0;
    }

    .logo {
        font-size: 1.9rem;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        height: auto;
        width: 100%;
        padding: 0;
        letter-spacing: 0.08em;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-container {
        align-items: stretch;
        height: auto;
        min-height: 0;
    }

    .nav-bar {
        border-top: 0;
        height: auto;
    }

    .nav-links li {
        border-top: 1px solid var(--border);
        height: auto;
        width: 100%;
    }

    .nav-links a {
        height: auto;
        min-height: auto;
        width: 100%;
        padding: 0.9rem 0 0.9rem 0.65rem;
    }

    header .header-top {
        padding: 1.25rem 0;
    }

    header .logo {
        font-size: 1.9rem;
        letter-spacing: 0.12em;
        text-indent: 0.12em;
    }

    header .nav-links {
        gap: 1.2rem;
        letter-spacing: 0.15em;
        padding: 0 0 1.2rem;
    }

    header .nav-links a {
        padding: 1rem 0;
    }

    .article-page {
        padding-top: 0;
    }

    .article-hero-wrap {
        padding: 0 0 3rem;
    }

    .article-hero-band {
        background: linear-gradient(135deg, var(--warm-beige) 0%, #f4e4dd 100%);
        border-radius: 0;
    }

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

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

    .article-hero-media {
        padding: 0;
    }

    .article-hero-media img {
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .article-hero-content {
        padding: 1.5rem 1.5rem 0;
    }

    .article-hero-grid--single .article-hero-content {
        padding: 4rem 1.5rem;
    }

    .article-hero-content--body-align {
        padding: 4rem 1.5rem;
    }

    .article-hero-band--text-only .article-hero-grid--single .article-hero-content {
        min-height: 520px;
    }

    .article-title {
        font-size: clamp(3rem, 16vw, 4.4rem);
    }

    .article-section-title,
    .more-guides-title {
        font-size: 1.7rem;
    }

    .faq-list {
        margin-top: 0;
    }

    .faq-item summary {
        gap: 1rem;
        min-height: 4.8rem;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .faq-item[open] summary {
        margin-bottom: 1.4rem;
        padding: 0.75rem 0.85rem;
    }

    .faq-answer {
        padding-bottom: 2.6rem;
        font-size: 0.95rem;
    }

    .footer-top,
    .signup-form,
    .footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
        gap: 1rem;
    }

    .footer-bottom {
        text-align: left;
    }
}
