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

:root {
    --ink: #191513;
    --muted: #6f6660;
    --soft: #fff9f6;
    --surface: #ffffff;
    --line: #eadfd8;
    --rose: #bd826e;
    --sage: #dce9e0;
    --cream: #f6eee7;
    --shadow: 0 22px 60px rgba(39, 30, 25, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: linear-gradient(135deg, #fffaf7 0%, #f7f1ec 45%, #eef5f0 100%);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at 8% 12%, rgba(189, 130, 110, 0.18), transparent 28%),
        radial-gradient(circle at 88% 6%, rgba(152, 183, 164, 0.16), transparent 30%),
        linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.34));
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(234, 223, 216, 0.84);
    background: rgba(255, 250, 247, 0.86);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: 0;
}

.logo img,
.footer-logo img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-logo img {
    width: 48px;
    height: 48px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.header-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-dropdown--lang {
    position: relative;
}

.nav-link.nav-lang-toggle {
    min-width: 72px;
    justify-content: center;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(53, 42, 35, 0.08);
}

.nav-lang-code {
    min-width: 1.6rem;
    text-align: center;
    letter-spacing: 0.04em;
}

.nav-dropdown-menu--lang {
    right: 0;
    left: auto;
    min-width: 180px;
}

.nav-lang-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--ink);
    text-decoration: none;
}

.nav-lang-link:hover,
.nav-lang-link.is-active {
    background: rgba(255, 244, 239, 0.92);
}

.nav-lang-link-code {
    min-width: 2rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #173f3a;
}

.nav-lang-link-name {
    font-size: 0.92rem;
    font-weight: 650;
}

.google-translate-host {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

body.is-translating:not(.is-translation-ready) main {
    opacity: 0.98;
}

html.is-auto-translated body {
    top: 0 !important;
}

.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.skiptranslate {
    display: none !important;
}

.notranslate,
.notranslate * {
    translate: no;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
}

.nav-link,
.site-nav .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    color: #5d544e;
    text-decoration: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 720;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-link .baa-icon,
.nav-dropdown-toggle .baa-icon:last-child {
    flex-shrink: 0;
    opacity: 0.82;
}

.nav-link:hover,
.nav-link.is-active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown.is-active-group > .nav-dropdown-toggle {
    outline: none;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(53, 42, 35, 0.08);
}

.nav-link.nav-cta {
    color: #fff;
    background: var(--ink);
    box-shadow: 0 10px 28px rgba(25, 21, 19, 0.16);
}

.nav-link.nav-cta:hover {
    color: #fff;
    background: #342820;
}

.nav-link.nav-install {
    color: #173f3a;
    background: linear-gradient(135deg, rgba(236, 255, 250, 0.96), rgba(255, 244, 239, 0.96));
    box-shadow: 0 10px 28px rgba(32, 212, 182, 0.14);
}

.nav-link.nav-install:hover,
.nav-link.nav-install:focus-visible {
    color: var(--ink);
    background: #fff;
}

.nav-link.nav-auth {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
}

.nav-dropdown {
    position: relative;
}

@media (min-width: 961px) {
    .nav-dropdown::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 14px;
    }
}

.nav-dropdown-toggle .baa-icon:last-child {
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle .baa-icon:last-child {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 40;
    display: none;
    min-width: 220px;
    padding: 8px;
    border: 1px solid rgba(234, 223, 216, 0.96);
    border-radius: 14px;
    background: rgba(255, 253, 251, 0.98);
    box-shadow: 0 22px 60px rgba(39, 30, 25, 0.14);
}

.nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    gap: 4px;
}

@media (min-width: 961px) {
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: grid;
        gap: 4px;
    }
}

.nav-dropdown-section {
    padding: 10px 12px 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
    background: rgba(236, 255, 250, 0.72);
}

.nav-dropdown-label {
    padding: 8px 12px 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.nav-dropdown-danger {
    color: #8b3f35 !important;
}

.nav-user-name {
    max-width: 108px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-scroll-lock {
    overflow: hidden;
}

@media (display-mode: standalone), (display-mode: fullscreen) {
    .nav-link.nav-install {
        display: none;
    }
}

.is-installed-app .nav-link.nav-install {
    display: none;
}

.hero,
.product-hero,
.diagnosis-section {
    position: relative;
    overflow: hidden;
}

.hero {
    padding: 72px 0 84px;
}

.hero-grid,
.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 52px;
    align-items: center;
}

.hero-copy,
.product-copy {
    max-width: 650px;
}

.eyebrow,
.card-label,
.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rose);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 16px;
}

h1,
h2,
h3 {
    line-height: 1.05;
    letter-spacing: 0;
}

.hero h1,
.product-hero h1,
.diagnosis-intro h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 6vw, 5rem);
    font-weight: 880;
}

.product-hero h1,
.diagnosis-intro h1 {
    font-size: clamp(2.25rem, 5vw, 4.45rem);
}

.hero p,
.product-hero p,
.diagnosis-intro p,
.section-heading p {
    color: var(--muted);
    font-size: 1.08rem;
}

.hero p,
.product-hero p {
    max-width: 620px;
    margin-top: 22px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 14px 34px rgba(25, 21, 19, 0.16);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 820;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: #352a24;
    box-shadow: 0 18px 42px rgba(25, 21, 19, 0.2);
}

.secondary-btn {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(25, 21, 19, 0.08);
}

.secondary-btn:hover {
    color: var(--ink);
    background: #fff;
}

.hero-visual,
.product-visual,
.diagnosis-panel {
    min-height: 560px;
    overflow: hidden;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow);
}

.hero-visual {
    position: relative;
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.08), rgba(25, 21, 19, 0.58));
}

.hero-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-metric {
    position: absolute;
    right: 24px;
    left: 24px;
    bottom: 24px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.hero-metric span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    font-weight: 720;
}

.hero-metric strong {
    font-size: 1.45rem;
}

.hero-metric--offset {
    bottom: 92px;
}

.hero-metric--offset-2 {
    bottom: 160px;
}

.hero-metric--offset-3 {
    bottom: 228px;
}

.feature-card--media {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.feature-card-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(39, 30, 25, 0.12);
}

.feature-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-body {
    min-width: 0;
}

.trust-grid--visual {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
}

.trust-visual {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(39, 30, 25, 0.12);
}

.trust-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.trust-copy {
    min-width: 0;
}

.product-visual {
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.06), rgba(25, 21, 19, 0.62));
}

.product-visual--skin-ai {
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.06), rgba(25, 21, 19, 0.62)), url("/assets/img/marketing/product-skin.png?v=1");
}

.product-visual--hair-ai {
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.06), rgba(25, 21, 19, 0.62)), url("/assets/img/marketing/product-hair.png?v=1");
}

.product-visual--makeup-advisor {
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.06), rgba(25, 21, 19, 0.62)), url("/assets/img/marketing/product-makeup.png?v=1");
}

.product-visual--beauty-coach-ai {
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.06), rgba(25, 21, 19, 0.62)), url("/assets/img/marketing/product-coach.png?v=1");
}

.product-visual--ai-eyelashes-extensions {
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.06), rgba(25, 21, 19, 0.62)), url("/assets/img/marketing/product-lashes.png?v=1");
}

.product-visual--ai-eyebrows {
    background-image: linear-gradient(180deg, rgba(25, 21, 19, 0.06), rgba(25, 21, 19, 0.62)), url("/assets/img/marketing/product-eyebrows.png?v=1");
}
.products,
.how-it-works,
.benefits,
.trust-section,
.cta-section {
    padding: 82px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.trust-grid h2,
.cta-section h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
}

.product-card,
.step-card,
.benefits-grid > div,
.hero-card,
.trust-list > div {
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 48px rgba(39, 30, 25, 0.08);
}

.feature-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
}

.product-card h3,
.step-card h3,
.benefits-grid h3,
.hero-card h3 {
    margin: 10px 0 12px;
    font-size: 1.35rem;
}

.product-card p,
.step-card p,
.benefits-grid p,
.trust-list p,
.site-footer p {
    color: var(--muted);
}

.trust-section {
    background: rgba(255, 255, 255, 0.42);
}

.trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 42px;
    align-items: start;
}

.trust-list {
    display: grid;
    gap: 14px;
}

.trust-list > div {
    padding: 24px;
}

.trust-list strong {
    display: block;
    margin-bottom: 6px;
}

.product-hero {
    padding: 74px 0 86px;
}

.hero-card {
    width: min(100%, 420px);
    padding: 26px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(25, 21, 19, 0.46);
    backdrop-filter: blur(16px);
}

.hero-card .card-label {
    color: #f7cdbf;
}

.hero-card ul {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.82);
}

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

.step-card {
    padding: 28px;
}

.step-card span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
    font-weight: 850;
}

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

.benefits-grid > div {
    padding: 28px;
}

.disclaimer-section {
    padding: 24px 0;
    color: #5d453b;
    text-align: center;
    background: #fff3df;
}

.cta-section {
    text-align: center;
    background:
        linear-gradient(rgba(25, 21, 19, 0.62), rgba(25, 21, 19, 0.72)),
        url("/assets/img/marketing/hero-home.png?v=1");
    background-position: center;
    background-size: cover;
}

.cta-section h2,
.cta-section p {
    color: #fff;
}

.cta-section p {
    max-width: 620px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer {
    padding: 48px 0 26px;
    border-top: 1px solid rgba(234, 223, 216, 0.92);
    background: rgba(255, 250, 247, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: start;
}

.footer-grid p {
    max-width: 480px;
    margin-top: 12px;
}

.footer-links {
    display: grid;
    gap: 10px;
    text-align: right;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 720;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(234, 223, 216, 0.88);
    font-size: 0.92rem;
}

.diagnosis-section {
    min-height: calc(100vh - 78px);
    padding: 44px 0 64px;
}

.diagnosis-container {
    max-width: 1120px;
}

.diagnosis-intro {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.diagnosis-intro p {
    max-width: 680px;
    margin: 18px auto 0;
}

.diagnosis-form {
    position: relative;
    background: transparent;
}

.diagnosis-form.is-processing .diagnosis-shell {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

.diagnosis-shell {
    display: grid;
    grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.38fr);
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.diagnosis-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    min-height: auto;
    padding: 38px;
    color: #fff;
    border-radius: 0;
    background-image:
        linear-gradient(rgba(40, 31, 27, 0.7), rgba(40, 31, 27, 0.82)),
        url("/assets/img/marketing/product-skin.png?v=1");
}

.diagnosis-panel h2 {
    max-width: 360px;
    margin: 18px 0 16px;
    font-size: 2rem;
}

.diagnosis-panel p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.78);
}

.diagnosis-note {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.diagnosis-note span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
}

.question-stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.progress-wrapper {
    width: 100%;
    margin: 34px 0 0;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 760;
}

.progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #f8c9bc, #fff2d7);
    transition: width 0.3s ease;
}

.step {
    display: none;
    min-height: 340px;
    justify-content: center;
    animation: questionFade 0.28s ease;
}

.form-group.step:not(.is-active),
.consent-box.step:not(.is-active) {
    display: none;
}

.step.is-active {
    display: flex;
}

.form-group,
.form-group.step,
.consent-box.step {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.question-number {
    margin-bottom: 18px;
    color: var(--rose);
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: 1.4px;
}

.step label {
    max-width: 640px;
    color: var(--ink);
    font-size: 2.15rem;
    font-weight: 850;
    line-height: 1.12;
}

.question-help {
    max-width: 590px;
    margin: 14px 0 28px;
    color: var(--muted);
    font-size: 1.04rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 620px;
    padding: 18px 20px;
    border: 1px solid #e4d7cf;
    border-radius: 8px;
    color: var(--ink);
    background: #fffdfb;
    box-shadow: 0 12px 34px rgba(53, 42, 35, 0.06);
    font: inherit;
    font-size: 1.08rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(189, 130, 110, 0.16), 0 18px 40px rgba(53, 42, 35, 0.1);
    transform: translateY(-1px);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 680px;
}

.choice-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-option {
    position: relative;
    display: block;
    min-height: 92px;
    padding: 0;
    border: 2px solid #e4d7cf;
    border-radius: 14px;
    color: var(--ink);
    background: #fffdfb;
    box-shadow: 0 12px 30px rgba(53, 42, 35, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.step .choice-option {
    max-width: none;
}

.choice-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-option-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 92px;
    padding: 18px 16px;
    text-align: center;
}

.choice-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(246, 238, 231, 0.92);
    font-size: 1.35rem;
    line-height: 1;
}

.choice-label {
    font-size: 1rem;
    font-weight: 820;
    line-height: 1.25;
}

.choice-option:hover,
.choice-option:has(input:focus-visible) {
    border-color: rgba(189, 130, 110, 0.7);
    box-shadow: 0 16px 36px rgba(53, 42, 35, 0.1);
    transform: translateY(-2px);
}

.choice-option:has(input:checked) {
    border-color: rgba(32, 212, 182, 0.92);
    background: linear-gradient(135deg, rgba(255, 248, 245, 0.98), rgba(236, 255, 250, 0.98));
    box-shadow: 0 18px 42px rgba(32, 212, 182, 0.18);
}

.choice-option:has(input:checked) .choice-icon {
    background: rgba(32, 212, 182, 0.18);
    box-shadow: inset 0 0 0 2px rgba(32, 212, 182, 0.42);
}

.choice-option.is-picked {
    transform: translateY(-2px);
}

.upload-box {
    max-width: 620px;
    padding: 30px;
    border: 1px dashed #caa997;
    border-radius: 8px;
    text-align: center;
    background: #fffdfb;
    box-shadow: 0 18px 44px rgba(53, 42, 35, 0.08);
}

.photo-guidelines,
.photo-check {
    width: 100%;
    max-width: 620px;
    padding: 16px 18px;
    border: 1px solid rgba(234, 223, 216, 0.9);
    border-radius: 8px;
    background: rgba(255, 253, 251, 0.78);
}

.photo-guidelines {
    margin-bottom: 8px;
}

.photo-guidelines strong,
.photo-check strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 0.96rem;
}

.photo-guidelines ul,
.photo-check ul {
    display: grid;
    gap: 7px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.photo-check {
    margin-top: 12px;
    background: #fffdfb;
}

.photo-check.is-good {
    border-color: rgba(32, 212, 182, 0.48);
    background: rgba(236, 255, 250, 0.72);
}

.photo-check.is-warning {
    border-color: rgba(255, 200, 87, 0.7);
    background: rgba(255, 248, 226, 0.78);
}

.photo-check.is-error {
    border-color: rgba(255, 91, 126, 0.52);
    background: rgba(255, 242, 246, 0.78);
}

.upload-box input[type="file"] {
    display: none;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.upload-label span {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 999px;
    color: #fff;
    background: var(--ink);
    font-weight: 820;
}

.upload-label small {
    max-width: 340px;
    color: var(--muted);
}

.diagnosis-loading {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(25, 21, 19, 0.38);
    backdrop-filter: blur(10px);
}

.diagnosis-loading.is-visible {
    display: grid;
}

.loading-card {
    width: min(100%, 460px);
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 34px 30px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 253, 251, 0.96);
    box-shadow: 0 28px 80px rgba(25, 21, 19, 0.24);
}

.loading-card h2 {
    max-width: 360px;
    font-size: 1.58rem;
}

.loading-card p {
    max-width: 360px;
    color: var(--muted);
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(32, 212, 182, 0.16);
    border-top-color: #20d4b6;
    border-right-color: #ff5b7e;
    border-radius: 999px;
    animation: loadingSpin 0.85s linear infinite;
}

.result-processing-stream {
    min-height: calc(100vh - 86px);
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 249, 246, 0.96), rgba(220, 233, 224, 0.58));
}

.result-stream-wrap {
    display: grid;
    place-items: center;
}

.result-processing-stream .loading-card h1 {
    max-width: 390px;
    font-size: 1.68rem;
}

.photo-preview {
    display: block;
    width: 100%;
    max-width: 260px;
    max-height: 260px;
    object-fit: cover;
    margin: 22px auto 0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(25, 21, 19, 0.14);
}

.consent-box {
    max-width: 650px;
}

.consent-box label {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: var(--ink);
    font-size: 1.55rem;
    font-weight: 820;
    line-height: 1.25;
}

.consent-box input {
    width: 22px;
    height: 22px;
    margin-top: 7px;
    accent-color: var(--ink);
}

.consent-box p {
    max-width: 560px;
    margin-top: 18px;
    color: var(--muted);
}

.step-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 22px;
}

.nav-btn,
#submitBtn {
    flex: 0 1 auto;
}

.form-submit {
    width: auto;
    background: linear-gradient(135deg, var(--ink), #5a4037);
}

#submitBtn:not([hidden]) {
    display: inline-flex;
}

.result-section {
    padding: 58px 0 82px;
}

.result-empty {
    max-width: 760px;
    padding: 64px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow);
    text-align: center;
}

.result-empty h1 {
    margin: 12px 0 16px;
    font-size: clamp(2rem, 5vw, 3.7rem);
}

.result-empty p {
    max-width: 560px;
    margin: 0 auto 26px;
    color: var(--muted);
}

.result-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 32px;
    align-items: end;
    margin-bottom: 34px;
}

.result-copy h1 {
    max-width: 820px;
    margin-top: 12px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.result-copy p {
    max-width: 680px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.08rem;
}

.result-score-card,
.profile-card,
.result-card,
.result-warning {
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 48px rgba(39, 30, 25, 0.08);
}

.result-score-card {
    padding: 24px;
}

.result-score-card > span:not(.card-label) {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 760;
}

.skin-score-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 16px;
    align-items: center;
    margin: 10px 0 12px;
}

.skin-score-main strong {
    display: block;
    font-size: clamp(3rem, 6vw, 4.45rem);
    line-height: 1;
}

.skin-score-main small {
    margin-left: 3px;
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 850;
}

.skin-score-ring {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fffdfb 0 54%, transparent 55%),
        conic-gradient(#20d4b6 var(--score-progress, 0%), rgba(234, 223, 216, 0.9) 0);
    box-shadow: inset 0 0 0 1px rgba(234, 223, 216, 0.92), 0 14px 30px rgba(32, 212, 182, 0.18);
    transition: background 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.skin-score-ring span {
    max-width: 48px;
    color: var(--muted);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
}

.result-score-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.result-score-card p strong {
    color: var(--ink);
    font-size: inherit;
    line-height: inherit;
}

.skin-score-metrics {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.skin-score-row {
    display: grid;
    gap: 7px;
}

.skin-score-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 760;
}

.skin-score-label strong {
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1;
}

.skin-score-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 91, 126, 0.14), rgba(32, 212, 182, 0.14));
}

.skin-score-track i {
    display: block;
    width: var(--score-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff5b7e 0%, #ffc857 48%, #20d4b6 100%);
    box-shadow: 0 8px 20px rgba(32, 212, 182, 0.26);
    transition: width 1.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.result-layout {
    display: grid;
    grid-template-columns: minmax(380px, 430px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.result-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
}

.result-photo,
.result-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.result-photo {
    display: block;
    object-fit: cover;
}

.result-photo-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    background:
        linear-gradient(rgba(25, 21, 19, 0.08), rgba(25, 21, 19, 0.16)),
        #f3ebe5;
    font-weight: 760;
}

.profile-card {
    padding: 24px;
}

.profile-card h2 {
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.profile-card dl {
    display: grid;
    gap: 14px;
}

.profile-card div {
    display: grid;
    gap: 3px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(234, 223, 216, 0.8);
}

.profile-card div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.profile-card dt {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 760;
    text-transform: uppercase;
}

.profile-card dd {
    font-weight: 780;
}

.result-content {
    display: grid;
    gap: 18px;
}

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

.result-card {
    padding: 28px;
}

.result-card h2 {
    margin: 10px 0 16px;
    font-size: 1.55rem;
}

.result-card p {
    color: var(--muted);
}

.result-card p + p {
    margin-top: 12px;
}

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

.routine-columns > div {
    padding: 18px;
    border: 1px solid rgba(234, 223, 216, 0.86);
    border-radius: 8px;
    background: rgba(255, 253, 251, 0.72);
}

.routine-columns h3 {
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.result-summary {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 238, 231, 0.86));
}

.result-debug-card {
    border-color: rgba(185, 83, 62, 0.34);
    background: rgba(255, 247, 243, 0.9);
}

.result-debug-card h2 {
    margin: 8px 0 10px;
    font-size: 1.22rem;
}

.result-debug-card p {
    color: var(--muted);
}

.result-debug-card code {
    display: block;
    max-width: 100%;
    margin-top: 14px;
    padding: 14px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    border: 1px solid rgba(185, 83, 62, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #6d3329;
    font-size: 0.86rem;
    line-height: 1.5;
}

.result-projection-card {
    display: grid;
    gap: 18px;
}

.result-sidebar .result-projection-card {
    padding: 22px;
}

.result-sidebar .result-projection-card h2 {
    font-size: 1.32rem;
}

.result-sidebar .result-projection-card p {
    font-size: 0.94rem;
}

.projection-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.projection-compare figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 8px;
    background: #fffdfb;
}

.projection-ai-stage {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.projection-compare .image-zoom-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(320px, 42vw, 480px);
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.projection-compare img,
.projection-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.projection-compare figure:last-child img,
.projection-compare figure:last-child .image-zoom-trigger img {
    object-position: center 24%;
}

.projection-teaser-image {
    filter: blur(18px) brightness(1.16) saturate(0.82);
    transform: scale(1.08);
}

.projection-teaser-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    text-align: center;
    background: rgba(28, 24, 22, 0.26);
    color: #fffdfb;
}

.projection-teaser-overlay span {
    font-size: 0.72rem;
    font-weight: 860;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.projection-teaser-overlay strong {
    max-width: 210px;
    font-size: 1.08rem;
    line-height: 1.18;
}

.projection-teaser-overlay small {
    max-width: 230px;
    color: rgba(255, 253, 251, 0.82);
    font-size: 0.76rem;
    line-height: 1.45;
}

.projection-generate-btn {
    width: 100%;
    max-width: 220px;
    padding: 12px 14px;
    font-size: 0.84rem;
}

.projection-generate-btn:disabled {
    cursor: wait;
    opacity: 0.82;
}

.projection-ai-figure.is-generating .projection-teaser-image {
    filter: blur(22px) brightness(1.22) saturate(0.72);
}

.projection-ai-figure.is-ready [data-projection-result] {
    animation: projectionReveal 520ms ease both;
}

@keyframes projectionReveal {
    from {
        opacity: 0;
        filter: blur(10px) brightness(1.08);
    }

    to {
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

.projection-placeholder {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px;
    color: var(--muted);
    text-align: center;
    background: #f3eee9;
    font-weight: 760;
}

.projection-compare figcaption {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 820;
}

.result-sidebar .projection-compare {
    gap: 10px;
}

.result-sidebar .projection-compare .image-zoom-trigger {
    height: clamp(250px, 24vw, 330px);
}

.result-sidebar .projection-compare img,
.result-sidebar .projection-placeholder {
    height: 100%;
}

.result-sidebar .projection-compare figcaption {
    padding: 10px;
    font-size: 0.84rem;
}

.result-card ol {
    display: grid;
    gap: 12px;
    padding-left: 20px;
    color: var(--muted);
}

.result-card li::marker {
    color: var(--rose);
    font-weight: 850;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list span,
.pill-list button {
    display: inline-flex;
    padding: 9px 12px;
    border: 1px solid rgba(189, 130, 110, 0.32);
    border-radius: 999px;
    color: #6b3f33;
    background: #fff4ef;
    font-size: 0.94rem;
    font-weight: 760;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pill-list button:hover,
.pill-list button:focus-visible {
    outline: none;
    border-color: rgba(255, 91, 126, 0.58);
    box-shadow: 0 10px 24px rgba(255, 91, 126, 0.12);
    transform: translateY(-1px);
}

.muted-pills span,
.muted-pills button {
    color: #5c504a;
    border-color: rgba(25, 21, 19, 0.12);
    background: #f3eee9;
}

.muted-pills button:hover,
.muted-pills button:focus-visible {
    border-color: rgba(25, 21, 19, 0.24);
    box-shadow: 0 10px 24px rgba(25, 21, 19, 0.08);
}

.empty-pill-note {
    padding: 14px 16px;
    border: 1px solid rgba(234, 223, 216, 0.86);
    border-radius: 8px;
    background: rgba(255, 248, 245, 0.62);
}

.ingredient-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 22px;
}

.ingredient-modal[hidden] {
    display: none;
}

.ingredient-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 21, 19, 0.46);
    backdrop-filter: blur(10px);
}

.ingredient-modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(720px, calc(100vh - 44px));
    overflow: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 253, 251, 0.98);
    box-shadow: 0 30px 90px rgba(25, 21, 19, 0.28);
}

.ingredient-modal-card h2 {
    margin: 10px 42px 18px 0;
    font-size: 1.72rem;
}

.ingredient-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(25, 21, 19, 0.12);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.ingredient-modal-content {
    display: grid;
    gap: 16px;
}

.ingredient-modal-content section {
    padding: 16px;
    border: 1px solid rgba(234, 223, 216, 0.86);
    border-radius: 8px;
    background: rgba(255, 248, 245, 0.62);
}

.ingredient-modal-content h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.ingredient-modal-content p {
    color: var(--muted);
}

.pwa-install-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 22px;
}

.pwa-install-modal[hidden] {
    display: none;
}

.pwa-install-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 21, 19, 0.46);
    backdrop-filter: blur(10px);
}

.pwa-install-card {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 253, 251, 0.98);
    box-shadow: 0 30px 90px rgba(25, 21, 19, 0.28);
}

.pwa-install-card h2 {
    margin: 10px 42px 12px 0;
    font-size: 1.78rem;
}

.pwa-install-card > p {
    max-width: 540px;
    color: var(--muted);
}

.pwa-install-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(25, 21, 19, 0.12);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.pwa-native-install {
    width: fit-content;
    margin: 18px 0 4px;
}

.pwa-install-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.pwa-install-steps section {
    padding: 18px;
    border: 1px solid rgba(234, 223, 216, 0.86);
    border-radius: 8px;
    background: rgba(255, 248, 245, 0.62);
}

.pwa-install-steps h3 {
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.pwa-install-steps ol {
    display: grid;
    gap: 10px;
    padding-left: 20px;
    color: var(--muted);
}

.pwa-install-steps li::marker {
    color: var(--rose);
    font-weight: 850;
}

.product-recommendations {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(234, 223, 216, 0.86);
}

.product-recommendations h3 {
    font-size: 1.18rem;
}

.product-recommendation-list {
    display: grid;
    gap: 12px;
}

.product-empty-note {
    padding: 16px 18px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 253, 251, 0.82);
}

.product-recommendation {
    display: grid;
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 8px;
    background: rgba(255, 253, 251, 0.82);
}

.product-recommendation-body {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.product-recommendation span {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--rose);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-recommendation h4 {
    font-size: 1.05rem;
    line-height: 1.25;
}

.product-recommendation small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 780;
}

.product-recommendation p {
    font-size: 0.94rem;
}

.product-recommendation p strong {
    color: var(--ink);
}

.product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.product-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #fff;
    background: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 820;
}

.product-links a:first-child {
    color: var(--ink);
    background: #f3eee9;
}

.result-warning {
    padding: 18px 20px;
    color: #62493e;
    background: #fff3df;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

[hidden] {
    display: none !important;
}

@keyframes questionFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 960px) {
    .hero-grid,
    .product-hero-grid,
    .trust-grid,
    .diagnosis-shell,
    .result-hero,
    .result-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .product-visual {
        min-height: 460px;
    }

    .diagnosis-panel {
        min-height: 300px;
    }

    .steps-grid,
    .benefits-grid,
    .result-grid:not(.simulation-options-grid),
    .routine-columns {
        grid-template-columns: 1fr;
    }

    .result-sidebar {
        position: static;
    }

    .result-photo,
    .result-photo-placeholder {
        max-height: 440px;
    }

    .projection-compare .image-zoom-trigger,
    .projection-placeholder {
        height: clamp(280px, 58vw, 420px);
    }

    .projection-compare img {
        height: 100%;
    }

}

@media (max-width: 700px) {
    .container {
        width: 90%;
    }

    .header-inner {
        min-height: 58px;
        gap: 10px;
        padding: 8px 0;
    }

    .header-toolbar {
        margin-left: auto;
        gap: 6px;
    }

    .header-toolbar .nav-install {
        width: 44px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
    }

    .header-toolbar .nav-install span {
        display: none;
    }

    .header-toolbar .nav-lang-toggle {
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .header-toolbar .nav-lang-toggle .baa-icon:last-child {
        display: none;
    }

    .logo {
        min-width: 0;
        gap: 8px;
        font-size: 0.92rem;
    }

    .logo img {
        width: 34px;
        height: 34px;
    }

    .logo span {
        max-width: 118px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-nav {
        position: fixed;
        top: 78px;
        right: 0;
        left: 0;
        z-index: 30;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        max-height: calc(100vh - 78px);
        margin-left: 0;
        padding: 14px;
        overflow: auto;
        border-top: 1px solid rgba(234, 223, 216, 0.92);
        background: rgba(255, 250, 247, 0.98);
        backdrop-filter: blur(18px);
    }

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

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

    .nav-link,
    .site-nav .nav-dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 4px;
        box-shadow: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: grid;
    }

    .nav-user-name {
        max-width: none;
    }

    .pwa-install-steps {
        grid-template-columns: 1fr;
    }

    .hero,
    .product-hero,
    .products,
    .how-it-works,
    .benefits,
    .trust-section,
    .cta-section,
    .result-section {
        padding: 54px 0;
    }

    .hero-actions,
    .feature-card,
    .footer-grid {
        flex-direction: column;
        display: flex;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-visual,
    .product-visual {
        min-height: 360px;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .feature-card,
    .step-card,
    .benefits-grid > div,
    .trust-list > div,
    .result-card,
    .profile-card,
    .result-score-card {
        padding: 22px;
    }

    .result-empty {
        padding: 36px 22px;
    }

    .result-actions {
        flex-direction: column;
    }

    .projection-compare {
        gap: 10px;
    }

    .projection-compare .image-zoom-trigger,
    .projection-placeholder {
        height: clamp(240px, 54vw, 340px);
    }

    .projection-compare img {
        height: 100%;
    }

    .projection-compare figcaption {
        padding: 10px;
        font-size: 0.84rem;
    }

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

    .diagnosis-section {
        min-height: calc(100vh - 116px);
        padding: 30px 0 48px;
    }

    .diagnosis-intro {
        margin-bottom: 20px;
    }

    .diagnosis-intro p {
        font-size: 0.98rem;
    }

    .diagnosis-panel {
        min-height: auto;
        padding: 22px;
    }

    .diagnosis-panel h2,
    .diagnosis-panel p,
    .diagnosis-note {
        display: none;
    }

    .question-stage {
        padding: 28px 20px;
    }

    .progress-wrapper {
        margin-top: 18px;
    }

    .step {
        min-height: 320px;
    }

    .step label {
        font-size: 1.55rem;
    }

    .question-help {
        font-size: 0.98rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px;
        font-size: 1rem;
    }

    .choice-grid,
    .choice-grid-three {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .choice-option {
        min-height: 84px;
    }

    .choice-option-body {
        min-height: 84px;
        padding: 16px 14px;
    }

    .step-navigation {
        flex-direction: column-reverse;
    }

    .nav-btn,
    #submitBtn,
    .form-submit {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .projection-compare {
        grid-template-columns: 1fr;
    }

    .projection-compare .image-zoom-trigger,
    .projection-placeholder {
        height: clamp(300px, 84vw, 430px);
    }

    .result-sidebar .projection-compare .image-zoom-trigger,
    .result-sidebar .projection-placeholder {
        height: clamp(300px, 84vw, 430px);
    }

    .projection-compare img {
        height: 100%;
    }
}

.auth-section {
    min-height: calc(100vh - 78px);
    padding: 44px 0 64px;
}

.auth-container {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(100%, 520px);
    padding: 36px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin-top: 10px;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.1;
}

.auth-card > p {
    margin-top: 14px;
    color: var(--muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form label {
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font: inherit;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(189, 130, 110, 0.14);
}

.auth-submit {
    width: 100%;
    margin-top: 8px;
}

.auth-alert {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(189, 130, 110, 0.35);
    border-radius: 16px;
    background: rgba(255, 244, 239, 0.92);
    color: #7a3f2f;
}

.auth-switch {
    margin-top: 22px;
    color: var(--muted);
    text-align: center;
}

.auth-switch a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(176, 106, 90, 0.16), rgba(255, 214, 196, 0.42));
    color: var(--rose);
    font-size: 0.72rem;
    font-weight: 860;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.premium-upsell-banner,
.premium-generating-banner {
    margin-top: -8px;
    margin-bottom: 28px;
}

.premium-upsell-card,
.premium-checkout-card,
.premium-generating-card {
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 220, 205, 0.42), transparent 34%),
        linear-gradient(180deg, rgba(255, 253, 251, 0.98), rgba(248, 241, 236, 0.94));
    box-shadow: 0 18px 40px rgba(48, 34, 28, 0.08);
}

.premium-upsell-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
}

.premium-upsell-content h2,
.premium-checkout-copy h1,
.premium-checkout-card h2 {
    margin-top: 10px;
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    line-height: 1.08;
}

.premium-upsell-content p,
.premium-checkout-lead {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.premium-upsell-points,
.premium-benefits-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.premium-upsell-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    color: var(--ink);
    font-weight: 760;
}

.premium-upsell-points li::before {
    content: none;
}

.premium-benefits-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    font-weight: 760;
}

.premium-benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rose);
}

.premium-upsell-action {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.premium-upsell-action small,
.premium-checkout-note {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.premium-cta-btn {
    min-width: 220px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #2d2622, #171311);
    box-shadow: 0 14px 28px rgba(23, 19, 17, 0.18);
}

.premium-cta-btn:hover {
    transform: translateY(-1px);
}

.premium-generating-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
}

.premium-generating-card--error {
    display: block;
}

.premium-checkout-section {
    padding: 56px 0 72px;
}

.premium-checkout-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.premium-checkout-card {
    display: grid;
    gap: 16px;
    padding: 28px;
}

.premium-checkout-steps {
    display: grid;
    gap: 12px;
}

.premium-checkout-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.premium-checkout-step span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(176, 106, 90, 0.14);
    color: var(--rose);
    font-weight: 850;
}

.premium-checkout-step p,
.premium-benefits-list li span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.premium-benefits-list li strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
}

.premium-confirm-btn,
.premium-back-link {
    width: 100%;
    text-align: center;
}

.premium-back-link {
    display: inline-block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.premium-price-tag {
    margin-top: 8px;
    font-size: 1.55rem;
    font-weight: 860;
    color: var(--ink);
}

.premium-payment-notice {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(189, 130, 110, 0.28);
    background: rgba(255, 244, 238, 0.92);
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.5;
}

.product-locked-stage {
    position: relative;
    margin-top: 8px;
}

.product-recommendation-list--blurred {
    filter: blur(7px);
    opacity: 0.72;
    pointer-events: none;
    user-select: none;
}

.product-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    background: rgba(255, 253, 251, 0.42);
    backdrop-filter: blur(2px);
}

.product-locked-overlay span {
    font-size: 0.72rem;
    font-weight: 860;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rose);
}

.product-locked-overlay strong {
    max-width: 360px;
    font-size: 1.28rem;
    line-height: 1.15;
}

.product-locked-overlay p {
    max-width: 420px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.product-recommendations.is-locked {
    position: relative;
}

@media (max-width: 960px) {
    .premium-upsell-card,
    .premium-checkout-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .logo span {
        display: none;
    }

    .hero h1,
    .product-hero h1,
    .diagnosis-intro h1 {
        font-size: 2.05rem;
    }

    .hero-visual,
    .product-visual {
        min-height: 300px;
    }
}

/* Image lightbox */
.image-zoom-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.image-zoom-trigger:focus-visible {
    outline: 3px solid rgba(32, 212, 182, 0.72);
    outline-offset: 3px;
}

.image-zoom-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(25, 21, 19, 0.72);
    backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 760;
    pointer-events: none;
}

.photo-preview-trigger {
    width: 100%;
    max-width: 320px;
    margin: 18px auto 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(53, 42, 35, 0.12);
}

.photo-preview-wrap {
    display: grid;
    gap: 12px;
    max-width: 320px;
    margin: 18px auto 0;
}

.photo-preview-wrap .photo-preview,
.photo-preview-trigger .photo-preview {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(53, 42, 35, 0.12);
}

.photo-preview-zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.upload-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 22px;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 10, 0.82);
    backdrop-filter: blur(12px);
}

.image-lightbox-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: min(100%, 920px);
    max-height: calc(100vh - 44px);
    margin: 0;
}

.image-lightbox-card img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.image-lightbox-card figcaption {
    color: #fffdfb;
    text-align: center;
    font-size: 0.96rem;
    font-weight: 760;
}

.image-lightbox-close {
    position: absolute;
    top: -6px;
    right: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(25, 21, 19, 0.72);
    backdrop-filter: blur(8px);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.image-lightbox-nav:hover,
.image-lightbox-nav:focus-visible {
    background: rgba(25, 21, 19, 0.88);
    outline: none;
}

.image-lightbox-nav--prev {
    left: 12px;
}

.image-lightbox-nav--next {
    right: 12px;
}

/* Result page visuals */
.result-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.result-quick-stats li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 760;
}

.result-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    border-radius: 14px;
    color: #6b3f33;
    background: linear-gradient(135deg, rgba(255, 244, 239, 0.96), rgba(236, 255, 250, 0.92));
    box-shadow: 0 10px 24px rgba(53, 42, 35, 0.08);
    flex-shrink: 0;
}

.result-score-card .result-card-icon {
    color: #173f3a;
}

.routine-block h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.routine-block {
    padding: 16px;
    border: 1px solid rgba(234, 223, 216, 0.86);
    border-radius: 12px;
    background: rgba(255, 248, 245, 0.52);
}

.result-routine-card .routine-columns {
    gap: 14px;
}

.result-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.result-card-head-copy {
    flex: 1;
    min-width: 0;
}

.result-card-head-copy .card-label {
    display: block;
    margin-bottom: 4px;
}

.result-card-title {
    margin: 0;
    line-height: 1.25;
}

.result-layout--full .result-content {
    width: 100%;
}

.coach-tip-list {
    margin: 0;
    padding-left: 1.1rem;
}

.coach-tip-list li + li {
    margin-top: 8px;
}

.nav-dropdown-menu--wide {
    min-width: 320px;
}

.nav-dropdown-toggle--cta {
    color: #fff;
    background: var(--ink);
    box-shadow: 0 10px 28px rgba(25, 21, 19, 0.16);
}

.nav-dropdown-toggle--cta:hover,
.nav-dropdown.is-open .nav-dropdown-toggle--cta,
.nav-dropdown.is-active-group > .nav-dropdown-toggle--cta {
    color: #fff;
    background: #342820;
}

.nav-product-link,
.nav-diagnosis-link {
    align-items: flex-start;
    gap: 12px;
}

.nav-product-copy {
    display: grid;
    gap: 2px;
    flex: 1;
}

.nav-product-copy strong {
    font-size: 0.92rem;
    font-weight: 780;
}

.nav-product-copy small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.nav-diagnosis-action {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    color: #173f3a;
    background: rgba(236, 255, 250, 0.92);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.projection-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(25, 21, 19, 0.48);
    backdrop-filter: blur(10px);
}

.projection-loading-card {
    width: min(460px, 100%);
    padding: 28px 24px;
    border: 1px solid rgba(234, 223, 216, 0.96);
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 253, 251, 0.98);
    box-shadow: var(--shadow);
}

.projection-loading-card h2 {
    margin: 16px 0 8px;
    font-size: 1.25rem;
}

.projection-loading-card p {
    color: var(--muted);
}

.projection-loading-note {
    margin-top: 12px;
    color: var(--ink) !important;
}

body.projection-loading-active {
    overflow: hidden;
}

body.projection-loading-active main,
body.projection-loading-active .site-header {
    filter: blur(4px);
}

a.is-projection-loading-disabled {
    pointer-events: none;
    opacity: 0.55;
}

.projection-quad-layout {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.projection-quad-original img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    aspect-ratio: 1;
}

.projection-quad-main {
    min-width: 0;
}

.projection-quad-main .projection-ai-stage img,
.projection-quad-main [data-projection-result] {
    width: 100%;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
}

.simulation-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.result-content > .simulation-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simulation-option-card {
    padding: 16px;
    border: 1px solid rgba(234, 223, 216, 0.96);
    border-radius: 16px;
    background: rgba(255, 253, 251, 0.92);
    min-width: 0;
}

@media (max-width: 640px) {
    .simulation-options-grid,
    .result-content > .simulation-options-grid {
        grid-template-columns: 1fr;
    }
}

.projection-compare--dual .projection-ai-figure.is-ready img,
.projection-compare--dual [data-projection-result] {
    object-fit: contain;
    object-position: center center;
    background: #fff;
    aspect-ratio: 2 / 3;
    width: 100%;
    max-height: min(72vh, 720px);
}

.projection-compare--dual .image-zoom-trigger,
.projection-compare--dual .projection-placeholder {
    height: clamp(320px, 48vw, 560px);
    aspect-ratio: 2 / 3;
}

.result-sidebar .projection-compare--dual .image-zoom-trigger,
.result-sidebar .projection-compare--dual .projection-placeholder {
    height: clamp(280px, 58vw, 480px);
}

@media (max-width: 960px) {
    .result-sidebar .projection-compare--dual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.projection-compare--quad .projection-ai-figure.is-ready img,
.projection-compare--quad [data-projection-result] {
    object-fit: contain;
    object-position: center center;
    background: #fff;
}

.projection-compare--quad .image-zoom-trigger,
.projection-compare--quad .projection-placeholder {
    height: clamp(240px, 34vw, 380px);
}

.result-sidebar .projection-compare--quad .image-zoom-trigger,
.result-sidebar .projection-compare--quad .projection-placeholder {
    height: clamp(220px, 52vw, 340px);
}

@media (max-width: 960px) {
    .result-sidebar .projection-compare--quad {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.simulation-option-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.simulation-option-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.simulation-option-card .option-why {
    margin-top: 10px;
    color: var(--ink);
    font-size: 0.88rem;
}

@media (max-width: 860px) {
    .projection-quad-layout {
        grid-template-columns: 1fr;
    }
}

.nav-dropdown-empty {
    padding: 12px 14px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.nav-profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-top: 1px solid rgba(234, 223, 216, 0.8);
    margin-top: 4px;
    padding-top: 14px;
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.nav-profile-link:hover {
    background: rgba(236, 255, 250, 0.72);
}

.profile-section {
    padding: 72px 0 88px;
}

.profile-shell {
    display: grid;
    gap: 34px;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    align-items: start;
}

.profile-summary-card {
    padding: 24px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 48px rgba(39, 30, 25, 0.08);
}

.profile-summary-list {
    display: grid;
    gap: 14px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.profile-summary-list li {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(234, 223, 216, 0.8);
}

.profile-summary-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.profile-summary-list span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 760;
    text-transform: uppercase;
}

.profile-panel {
    padding: 28px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 48px rgba(39, 30, 25, 0.08);
}

.profile-diagnosis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-diagnosis-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 14px;
    background: rgba(255, 253, 251, 0.92);
}

.profile-diagnosis-card.is-complete {
    border-color: rgba(32, 212, 182, 0.34);
    background: rgba(236, 255, 250, 0.42);
}

.profile-diagnosis-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.profile-diagnosis-head h3 {
    margin: 6px 0 0;
    font-size: 1.08rem;
}

.profile-diagnosis-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.profile-status-badge {
    padding: 6px 10px;
    border-radius: 999px;
    color: #5d544e;
    background: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.profile-status-badge--saved {
    color: #173f3a;
    background: rgba(236, 255, 250, 0.92);
}

@media (max-width: 960px) {
    .feature-card--media {
        grid-template-columns: 1fr;
    }

    .feature-card--media .btn {
        width: 100%;
    }

    .trust-grid--visual {
        grid-template-columns: 1fr;
    }

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

    .hero-metric--offset,
    .hero-metric--offset-2,
    .hero-metric--offset-3 {
        display: none;
    }
}

/* Home demo showcase */
.demo-showcase {
    padding: 82px 0;
    background:
        linear-gradient(180deg, rgba(255, 253, 251, 0.45) 0%, rgba(236, 255, 250, 0.28) 100%);
}

.demo-showcase-heading {
    max-width: 820px;
}

.demo-showcase-disclaimer {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #62493e;
    background: rgba(255, 243, 223, 0.82);
    font-size: 0.92rem;
}

.demo-showcase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
    gap: 22px;
    align-items: start;
    margin-bottom: 24px;
}

.demo-showcase-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.demo-photo-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(39, 30, 25, 0.1);
}

.demo-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 22%;
}

.demo-photo-card figcaption {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    color: var(--muted);
    background: rgba(255, 253, 251, 0.96);
    font-size: 0.84rem;
    font-weight: 760;
}

.demo-photo-card--ai {
    border-color: rgba(32, 212, 182, 0.34);
}

.demo-ai-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #173f3a;
    background: rgba(236, 255, 250, 0.94);
    box-shadow: 0 10px 24px rgba(25, 21, 19, 0.12);
    font-size: 0.72rem;
    font-weight: 820;
}

.demo-score-card {
    position: sticky;
    top: 104px;
}

.demo-carousel {
    padding: 24px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(39, 30, 25, 0.08);
}

.demo-carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.demo-carousel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-carousel-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 999px;
    color: #5d544e;
    background: rgba(255, 255, 255, 0.88);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 740;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.demo-carousel-tab.is-active,
.demo-carousel-tab:hover,
.demo-carousel-tab:focus-visible {
    outline: none;
    color: var(--ink);
    border-color: rgba(32, 212, 182, 0.42);
    background: rgba(236, 255, 250, 0.82);
}

.demo-carousel-nav {
    display: flex;
    gap: 8px;
}

.demo-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.demo-carousel-arrow:hover,
.demo-carousel-arrow:focus-visible {
    outline: none;
    border-color: rgba(32, 212, 182, 0.42);
    background: rgba(236, 255, 250, 0.82);
}

.demo-carousel-viewport {
    position: relative;
    min-height: 260px;
}

.demo-carousel-slide {
    animation: questionFade 0.35s ease;
}

.demo-slide-head h3 {
    margin: 8px 0 18px;
    font-size: 1.35rem;
}

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

.demo-ingredient-column {
    padding: 18px;
    border-radius: 14px;
}

.demo-ingredient-column--avoid {
    background: rgba(255, 243, 243, 0.82);
    border: 1px solid rgba(185, 83, 62, 0.16);
}

.demo-ingredient-column--seek {
    background: rgba(236, 255, 250, 0.72);
    border: 1px solid rgba(32, 212, 182, 0.22);
}

.demo-ingredient-column h4 {
    margin: 0 0 10px;
    font-size: 0.98rem;
}

.demo-ingredient-column ul,
.demo-routine-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    line-height: 1.55;
}

.demo-ingredient-column li + li,
.demo-routine-list li + li {
    margin-top: 8px;
}

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

.demo-product-card {
    padding: 16px;
    border: 1px solid rgba(234, 223, 216, 0.92);
    border-radius: 14px;
    background: rgba(255, 253, 251, 0.92);
}

.demo-product-card span {
    display: block;
    color: var(--rose);
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.demo-product-card h4 {
    margin: 8px 0 4px;
    font-size: 1rem;
}

.demo-product-card small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.demo-product-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.demo-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.demo-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(93, 84, 78, 0.24);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.demo-carousel-dot.is-active {
    background: var(--ink);
    transform: scale(1.15);
}

.demo-showcase-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 960px) {
    .demo-showcase-layout,
    .demo-ingredient-grid,
    .demo-product-list {
        grid-template-columns: 1fr;
    }

    .demo-showcase-visual {
        grid-template-columns: 1fr;
    }

    .demo-score-card {
        position: static;
    }

    .demo-carousel-head {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-carousel-nav {
        justify-content: flex-end;
    }
}
