/* ============================================================
   Go Lash — Надежды Преображенской
   Design system: cream / ink / rose / gold / mauve / soft / dark
   Serif: Cormorant Garamond · Sans: Inter
   ============================================================ */

:root {
    --cream: #faf7f4;
    --ink: #1a1a1a;
    --rose: #e8b4b8;
    --gold: #c9a66b;
    --mauve: #8b6f7c;
    --soft: #f0e9e4;
    --dark: #0f0f0f;

    --line: #e8e0d9;
    --muted: #77716b;
    --ink-soft: #45403b;

    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;

    --shadow-soft: 0 24px 60px -28px rgba(26, 26, 26, 0.28);

    --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 400 16px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: 0.01em;
}

h1 em,
h2 em,
h3 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--rose);
    color: var(--ink);
}

/* ---------- Layout ---------- */

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: clamp(20px, 4vw, 48px);
}

.section {
    position: relative;
    padding: clamp(72px, 9vw, 120px) 0;
}

.section--soft {
    background: var(--soft);
}

.section--dark {
    background: var(--dark);
    color: var(--cream);
}

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(48px, 6vw, 72px);
    text-align: center;
}

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

.section-head--full {
    max-width: none;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: 0.005em;
}

.section-title em {
    background: linear-gradient(120deg, var(--gold) 0%, var(--rose) 55%, var(--mauve) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-lead {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 0.95rem/1 var(--sans);
    letter-spacing: 0.02em;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease,
        background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.btn > span[aria-hidden] {
    font-size: 0.9em;
}

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

.btn:active {
    transform: translateY(0);
}

.btn--ink {
    background: linear-gradient(180deg, #2b2b2b 0%, #151515 100%);
    color: var(--cream);
}

.btn--ink:hover {
    box-shadow: 0 14px 34px -12px rgba(201, 166, 107, 0.55);
}

.btn--ink::after,
.btn--gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(250, 247, 244, 0.22) 50%, transparent 70%);
    transform: translateX(-110%);
    transition: transform 0.6s ease;
}

.btn--ink:hover::after,
.btn--gold:hover::after {
    transform: translateX(110%);
}

.btn--gold {
    background: linear-gradient(120deg, var(--gold) 0%, var(--rose) 100%);
    color: var(--ink);
}

.btn--gold:hover {
    box-shadow: 0 16px 38px -14px rgba(201, 166, 107, 0.75);
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--cream {
    background: var(--cream);
    color: var(--ink);
}

.btn--cream:hover {
    box-shadow: 0 16px 38px -14px rgba(201, 166, 107, 0.55);
}

.btn--light {
    background: var(--cream);
    color: var(--ink);
}

.btn--lg {
    padding: 18px 38px;
    font-size: 1.02rem;
}

.btn--sm {
    padding: 11px 22px;
    font-size: 0.86rem;
}

/* ---------- Header / nav ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    padding: 26px 0;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    padding: 14px 0;
    background: rgba(250, 247, 244, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-color: var(--line);
    box-shadow: 0 10px 30px -18px rgba(26, 26, 26, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    transition: color 0.3s ease;
}

.nav-logo-img {
    display: block;
    height: 88px;
    width: auto;
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover .nav-logo-img {
    opacity: 0.82;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 38px);
}

.nav-links a:not(.btn) {
    position: relative;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: color 0.25s ease;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--gold);
}

.nav-links a:not(.btn):hover::after {
    transform: scaleX(1);
}

.nav-cta.btn {
    padding: 12px 24px;
    font-size: 0.86rem;
    background: var(--gold);
    color: var(--ink);
}

.nav.is-scrolled .nav-cta.btn:hover {
    box-shadow: 0 14px 34px -12px rgba(201, 166, 107, 0.7);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    padding: 0 10px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 24px 26px;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 30px 40px -24px rgba(26, 26, 26, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links a:not(.btn),
    .nav.is-scrolled .nav-links a:not(.btn),
    .nav-links a:not(.btn):hover {
        color: var(--ink);
    }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        width: 100%;
    }

    .nav-links .nav-cta {
        margin-top: 18px;
        border-bottom: 0;
        width: auto;
    }
}

/* ---------- Flash ---------- */

.flash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    padding: 15px 0;
    font-size: 14.5px;
    box-shadow: 0 18px 40px -20px rgba(26, 26, 26, 0.35);
}

.flash-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.flash--success-type,
.flash-success {
    background: #e7f0dc;
    color: #33401f;
}

.flash-error {
    background: #f3e0dc;
    color: #6d2820;
}

.flash-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.08);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Landing hero ---------- */

.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(150px, 15vh, 200px) 0 64px;
    overflow: hidden;
}

.landing-hero::before,
.landing-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.landing-hero::before {
    top: -10%;
    right: -6%;
    width: 560px;
    height: 560px;
    background: rgba(232, 180, 184, 0.4);
    animation: blob-a 14s ease-in-out infinite alternate;
}

.landing-hero::after {
    bottom: -22%;
    left: -8%;
    width: 520px;
    height: 520px;
    background: rgba(201, 166, 107, 0.34);
    animation: blob-b 16s ease-in-out infinite alternate;
}

@keyframes blob-a {
    to {
        transform: translate(6%, 4%) scale(1.08);
    }
}

@keyframes blob-b {
    to {
        transform: translate(-5%, -6%) scale(1.1);
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 999px;
    background: rgba(250, 247, 244, 0.7);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mauve);
    margin-bottom: 28px;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7fbf63;
    box-shadow: 0 0 0 0 rgba(127, 191, 99, 0.5);
    animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
    70% {
        box-shadow: 0 0 0 12px rgba(127, 191, 99, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(127, 191, 99, 0);
    }
}

.hero-title {
    font-size: clamp(44px, 6vw, 82px);
    line-height: 0.98;
}

.hero-title em {
    background: linear-gradient(120deg, var(--gold) 0%, var(--rose) 60%, var(--mauve) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 520px;
    margin-top: 26px;
    font-size: 17.5px;
    line-height: 1.7;
    color: var(--muted);
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 30px;
}

.hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--ink-soft);
}

.hero-bullets .hero-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--cream);
    font-size: 11px;
}

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

/* Hero card */

.hero-card {
    position: relative;
    justify-self: end;
    width: min(420px, 100%);
    border-radius: var(--radius-lg);
    background: var(--cream);
    box-shadow: var(--shadow-soft);
    transform: rotate(2deg);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-6px);
}

.hero-card-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: radial-gradient(120% 160% at 20% 10%, var(--mauve) 0%, #3b2b36 48%, var(--dark) 100%);
    color: var(--cream);
}

.hero-card-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 85% 20%, rgba(232, 180, 184, 0.55) 0%, transparent 60%),
        radial-gradient(50% 60% at 10% 90%, rgba(201, 166, 107, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

.hero-card-cover-rule {
    position: absolute;
    inset: auto 24px 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(250, 247, 244, 0.35), transparent);
}

.hero-card-cover-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(46px, 7vw, 68px);
    letter-spacing: 0.04em;
    line-height: 1;
    z-index: 1;
}

.hero-card-cover-text span {
    font-style: normal;
    font-size: 0.45em;
    display: block;
    letter-spacing: 0.5em;
    margin-top: 14px;
    text-transform: uppercase;
    color: var(--rose);
}

.hero-card-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--gold), var(--rose));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}

.hero-card-icon {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(250, 247, 244, 0.14);
    border: 1px solid rgba(250, 247, 244, 0.4);
    color: var(--cream);
    font-size: 20px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-card-body {
    padding: 28px 28px 0;
}

.hero-card-body h3 {
    font-size: 26px;
}

.hero-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-card-meta span {
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--soft);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 26px;
    padding: 20px 28px 24px;
    border-top: 1px solid var(--line);
}

.hero-card-stats b {
    display: block;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 24px;
    color: var(--gold);
}

.hero-card-stats small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Pains (dark) ---------- */

.pains-intro {
    max-width: 560px;
    margin-bottom: clamp(44px, 6vw, 72px);
}

.pains-intro .section-tag {
    color: var(--rose);
}

.pains-intro .section-title em {
    background: linear-gradient(120deg, var(--rose), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.pain-card {
    position: relative;
    padding: 34px 30px 40px;
    border: 1px solid rgba(250, 247, 244, 0.12);
    border-radius: var(--radius-md);
    background: rgba(250, 247, 244, 0.03);
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
}

.pain-card:hover {
    border-color: rgba(201, 166, 107, 0.6);
    background: rgba(250, 247, 244, 0.05);
    transform: translateY(-4px);
}

.pain-sym {
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 22px;
    color: rgba(250, 247, 244, 0.18);
}

.pain-key {
    font-family: var(--serif);
    font-style: italic;
    font-size: 44px;
    line-height: 1;
    color: var(--gold);
}

.pain-num {
    display: block;
    margin-top: 26px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--rose);
}

.pain-card h3 {
    margin-top: 10px;
    font-size: 21px;
    color: var(--cream);
}

.pain-card p {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(250, 247, 244, 0.62);
}

/* ---------- Modules ---------- */

.modules {
    max-width: 900px;
    margin: 0 auto;
}

.module-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: start;
    gap: 20px;
    padding: 30px 10px;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.3s ease, background-color 0.3s ease;
}

.module-row:first-child {
    border-top: 1px solid var(--line);
}

.module-row:hover {
    padding-left: 22px;
    background: rgba(201, 166, 107, 0.06);
}

.module-index {
    font-family: var(--serif);
    font-style: italic;
    font-size: 40px;
    line-height: 1;
    color: var(--rose);
}

.module-row h3 {
    font-size: 23px;
}

.module-row p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

.module-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 20px;
    color: var(--gold);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.module-row:hover .module-plus {
    transform: rotate(45deg);
    background: var(--gold);
    color: var(--cream);
}

/* ---------- Plans ---------- */

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 26px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--cream);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.plan:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(201, 166, 107, 0.55);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--gold), var(--rose));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}

.plan-level {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
}

.plan-name {
    margin-top: 14px;
    font-size: 30px;
}

.plan-name a:hover {
    color: var(--mauve);
}

.plan-desc {
    flex: 1;
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.66;
    color: var(--muted);
}

.plan-features {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.plan-features li {
    position: relative;
    padding: 6px 0 6px 30px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--cream);
    font-size: 10px;
}

.plan-cta {
    margin-top: 28px;
}

.plan-cta .btn {
    width: 100%;
    justify-content: center;
}

/* Featured plan */

.plan--featured {
    background: var(--dark);
    color: var(--cream);
    border-color: var(--dark);
    transform: scale(1.03);
}

.plan--featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 40px 80px -36px rgba(15, 15, 15, 0.65);
}

.plan--featured .plan-level {
    color: var(--rose);
}

.plan--featured .plan-name em,
.plan--featured .plan-name span {
    color: var(--gold);
}

.plan--featured .plan-desc {
    color: rgba(250, 247, 244, 0.62);
}

.plan--featured .plan-features {
    border-color: rgba(250, 247, 244, 0.14);
}

.plan--featured .plan-features li {
    color: rgba(250, 247, 244, 0.86);
}

.plan--featured .plan-features li::before {
    background: linear-gradient(120deg, var(--gold), var(--rose));
    color: var(--ink);
}

@media (max-width: 900px) {
    .plan--featured {
        transform: none;
    }

    .plan--featured:hover {
        transform: translateY(-6px);
    }
}

/* ---------- Outcomes ---------- */

.outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
}

.outcome {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: var(--cream);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.outcome:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.outcome-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    color: var(--cream);
    font-family: var(--serif);
    font-style: italic;
    font-size: 40px;
    letter-spacing: 0.02em;
    overflow: hidden;
}

.outcome-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 90% at 85% 15%, rgba(250, 247, 244, 0.22) 0%, transparent 55%);
}

.outcome-cover span {
    position: relative;
    z-index: 1;
}

.outcome-cover--rose {
    background: linear-gradient(140deg, var(--rose) 0%, var(--mauve) 100%);
}

.outcome-cover--gold {
    background: linear-gradient(140deg, var(--gold) 0%, #c08a62 100%);
    color: var(--ink);
}

.outcome-cover--mauve {
    background: linear-gradient(140deg, var(--mauve) 0%, var(--dark) 100%);
}

.outcome-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 28px 32px;
}

.outcome-pill {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--soft);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mauve);
}

.outcome-body h3 {
    margin-top: 16px;
    font-size: 23px;
}

.outcome-body p {
    flex: 1;
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.66;
    color: var(--muted);
}

.outcome-link {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gold);
}

.outcome-link:hover {
    color: var(--mauve);
}

/* ---------- Teacher ---------- */

.teacher-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
}

.teacher-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    width: 100%;
    border-radius: 48% 48% 26px 26px / 34% 34% 26px 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    color: var(--cream);
}

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

.teacher-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.02) 55%, rgba(15, 15, 15, 0.5) 100%);
    pointer-events: none;
}

.monogram {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 168px;
    border: 1px solid rgba(250, 247, 244, 0.4);
    border-radius: 50%;
    background: rgba(250, 247, 244, 0.08);
    font-family: var(--serif);
    font-size: 54px;
    font-weight: 600;
    letter-spacing: 0.05em;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.teacher-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 2;
    padding: 0 18px;
    text-align: center;
}

.teacher-photo figcaption strong {
    display: block;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.teacher-photo figcaption small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rose);
}

.teacher-copy .section-tag {
    color: var(--gold);
}

.teacher-copy h2 {
    font-size: clamp(38px, 4.6vw, 56px);
}

.teacher-copy h2 em {
    color: var(--mauve);
}

.teacher-copy > p {
    margin-top: 22px;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
}

.teacher-copy > p + p {
    margin-top: 14px;
}

.teacher-sign {
    margin-top: 28px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 34px;
    color: var(--ink);
}

.teacher-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: clamp(26px, 4vw, 46px);
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.teacher-stats b {
    display: block;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 36px;
    line-height: 1;
    color: var(--gold);
}

.teacher-stats small {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Spotlight (dark rounded CTA) ---------- */

.spotlight {
    position: relative;
    padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 80px);
    border-radius: calc(var(--radius-lg) + 8px);
    background: var(--dark);
    color: var(--cream);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    overflow: hidden;
    text-align: left;
}

.spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 120% at 80% 0%, rgba(201, 166, 107, 0.35) 0%, transparent 55%),
        radial-gradient(60% 110% at 10% 100%, rgba(139, 111, 124, 0.4) 0%, transparent 55%);
    pointer-events: none;
}

.spotlight-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border: 1px solid rgba(250, 247, 244, 0.22);
    border-radius: 50%;
    background: rgba(250, 247, 244, 0.06);
    font-size: 34px;
    box-shadow: 0 0 70px -12px rgba(201, 166, 107, 0.85);
}

.spotlight-copy {
    position: relative;
    z-index: 1;
}

.spotlight-copy .section-tag {
    color: var(--rose);
}

.spotlight-copy h2 {
    font-size: clamp(32px, 4vw, 52px);
}

.spotlight-copy h2 em {
    background: linear-gradient(120deg, var(--gold), var(--rose));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spotlight-copy p {
    max-width: 560px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(250, 247, 244, 0.66);
}

.spotlight-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* ---------- FAQ ---------- */

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

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 26px 6px;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 22px;
    color: var(--gold);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
    background: var(--gold);
    color: var(--cream);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 30px 26px 56px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted);
}

/* ---------- Final CTA ---------- */

.final-cta {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 166, 107, 0.28) 0%, rgba(232, 180, 184, 0.16) 45%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.final-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.final-inner h2 {
    font-size: clamp(40px, 5.4vw, 68px);
}

.final-inner h2 em {
    background: linear-gradient(120deg, var(--gold) 0%, var(--rose) 60%, var(--mauve) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.final-inner p {
    margin: 0 auto;
    max-width: 520px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 38px;
}

/* ---------- Footer ---------- */

.footer {
    padding: clamp(60px, 8vw, 100px) 0 34px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-brand {
    justify-content: center;
    color: var(--ink);
}

.footer .nav-logo {
    color: var(--ink);
}

.footer-tagline {
    max-width: 460px;
    margin: 18px auto 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 30px;
    margin-top: 34px;
}

.footer-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}

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

.footer-legal {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

.footer-legal p {
    margin: 0;
}

.footer-legal .footer-law-links {
    margin-top: 10px;
}

.footer-legal .footer-law-links a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.footer-legal .footer-law-links a + a::before {
    content: '·';
    margin: 0 10px;
    color: var(--gold);
}

/* ---------- Inner pages ---------- */

.page-hero {
    position: relative;
    padding: clamp(140px, 18vh, 190px) 0 clamp(36px, 5vw, 60px);
    background: var(--cream);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 180, 184, 0.32) 0%, transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.page-hero--compact::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 166, 107, 0.28) 0%, transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.page-hero .wrap {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: clamp(38px, 5vw, 62px);
    max-width: 720px;
}

.page-hero-title em {
    background: linear-gradient(120deg, var(--gold) 0%, var(--rose) 60%, var(--mauve) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero-lead {
    max-width: 560px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .breadcrumb-current {
    color: var(--ink-soft);
}

/* Story (about) */

.story-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
}

.story-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 4.4;
}

.story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-photo-caption {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(15, 15, 15, 0.55);
    color: var(--cream);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.story-copy h2 {
    font-size: clamp(34px, 4.6vw, 54px);
}

.story-copy h2 em {
    color: var(--mauve);
}

.story-copy > p {
    margin-top: 20px;
    max-width: 540px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
}

.story-copy > .story-lead {
    font-size: 19px;
    color: var(--ink-soft);
    font-family: var(--serif);
    line-height: 1.5;
}

.story-signoff {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.story-signoff .monogram {
    width: 76px;
    height: 76px;
    font-size: 30px;
    border: 1px solid rgba(139, 111, 124, 0.4);
    background: var(--soft);
    color: var(--mauve);
}

.story-signoff span:last-child {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.6;
    color: var(--muted);
}

.story-signoff strong {
    display: block;
    color: var(--ink);
}

/* Catalog toolbar */

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.catalog-toolbar a {
    color: var(--gold);
}

/* Course detail */

.detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.detail-head h1 {
    margin-top: 16px;
    font-size: clamp(38px, 4.6vw, 56px);
}

.detail-head em {
    color: var(--gold);
}

.detail-lead {
    max-width: 540px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.detail-meta span {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--soft);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.detail-outcome {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.detail-outcome p {
    margin-top: 16px;
    max-width: 520px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
    gap: clamp(32px, 5vw, 64px);
}

.contact-copy {
    position: sticky;
    top: 132px;
}

.contact-card {
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--cream);
    box-shadow: var(--shadow-soft);
}

.side-card {
    position: sticky;
    top: 132px;
    padding: 36px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--cream);
}

.side-card h3 {
    margin-top: 12px;
    font-size: 26px;
    color: var(--ink);
}

.side-card .check-item {
    position: relative;
    padding: 7px 0 7px 30px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.side-card .check-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--cream);
    font-size: 10px;
}

.side-card .check-list {
    margin-top: 18px;
}

.side-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 26px;
}

.aside-note {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: var(--muted);
}

.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.related-links a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.related-links a:hover {
    border-color: rgba(201, 166, 107, 0.6);
    background: rgba(201, 166, 107, 0.06);
    transform: translateY(-4px);
}

.related-links small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.related-links strong {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
}

.related-links span {
    font-size: 12px;
    color: var(--muted);
}

/* Legal */

.legal-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    margin-bottom: 44px;
    border: 1px solid rgba(201, 166, 107, 0.5);
    border-radius: var(--radius-md);
    background: rgba(201, 166, 107, 0.1);
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.legal-notice span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--cream);
    font-weight: 700;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 40px;
    font-size: 32px;
    color: var(--ink);
}

.legal-content h3 {
    margin-top: 30px;
    font-size: 20px;
    color: var(--ink-soft);
}

.legal-content p {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--muted);
}

.legal-back {
    display: inline-block;
    margin-top: 48px;
    font-weight: 600;
    color: var(--gold);
}

/* ---------- Lead form ---------- */

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field > span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.field input,
.field select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-size: 15px;
    color: var(--ink);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
}

.field select {
    padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
        linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.field input::placeholder {
    color: #b3aca5;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.18);
}

.consent-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.consent-line input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--gold);
}

.consent-line a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.form-note {
    max-width: 320px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--muted);
}

.field input[data-invalid] {
    border-color: #c96a5f;
}

/* Honeypot */

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.demo-success-message {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: #e7f0dc;
    color: #33401f;
    font-size: 14px;
}

/* ---------- Reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        justify-self: center;
        width: min(400px, 100%);
    }

    .teacher-grid,
    .story-grid,
    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .side-card,
    .contact-copy {
        position: static;
    }

    .teacher-photo {
        max-width: 420px;
        margin: 0 auto;
    }

    .spotlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .spotlight-icon {
        margin: 0 auto;
    }

    .spotlight-actions {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 150px;
    }

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .module-row {
        grid-template-columns: 48px 1fr;
    }

    .module-plus {
        display: none;
    }

    .pain-grid,
    .outcomes {
        grid-template-columns: 1fr;
    }

    .teacher-stats,
    .hero-card-stats {
        gap: 16px;
    }

    .hero-actions .btn,
    .final-actions .btn,
    .detail-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}