:root {
    --black: #08070b;
    --ink: #22172d;
    --plum: #5c2a72;
    --violet: #7f4aa4;
    --lavender: #f5eef8;
    --white: #ffffff;
    --muted: #685c70;
    --line: #e8dbea;
    --shadow: 0 18px 42px rgba(37, 19, 47, 0.14);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
    scroll-snap-type: y mandatory;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: 'Poppins', sans-serif;
    line-height: 1.65;
}

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

img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

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

.section {
    padding: 76px 0;
}

.page-panel {
    min-height: calc(100vh - 76px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.legacy-hero {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(8, 7, 11, 0.88), rgba(92, 42, 114, 0.58)),
        url("https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.legacy-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 7, 11, 0.94);
    color: var(--white);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 207, 245, 0.18);
}

.ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.brand {
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
}

.nav-links a {
    opacity: 0.86;
}

.nav-links a:hover {
    opacity: 1;
}

.hero-inner {
    display: grid;
    align-content: center;
    min-height: calc(100vh - 76px);
    padding: 48px 0 92px;
}

.eyebrow,
.label {
    color: #e8cff5;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    max-width: 850px;
    margin-top: 14px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6.7rem);
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 0.98;
}

h2 {
    margin-bottom: 24px;
    color: var(--black);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.05;
    text-align: center;
}

h3 {
    color: var(--black);
    font-size: 1.22rem;
    line-height: 1.25;
}

.subtitle {
    max-width: 760px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

.intro-grid,
.intake-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 42px;
    align-items: center;
}

.page-panel > .container,
.page-panel .intro-grid {
    min-height: calc(100vh - 228px);
}

.page-panel > .container {
    display: grid;
    align-content: center;
}

.intro-grid h2 {
    text-align: left;
}

.intro-grid p + p {
    margin-top: 16px;
}

.intro-grid p,
.card p,
.step p,
.note-panel p,
.price-card p,
.section-intro {
    color: var(--muted);
}

.soft-band {
    background: var(--lavender);
}

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

.card,
.step,
.price-card,
.note-panel,
.legacy-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.card,
.price-card,
.note-panel,
.legacy-form {
    padding: 28px;
}

.card h3,
.price-card h3,
.note-panel h3 {
    margin-bottom: 12px;
}

.steps {
    display: grid;
    gap: 18px;
}

.step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border-left: 6px solid var(--violet);
}

.step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--plum);
    color: var(--white);
    font-weight: 700;
}

.pricing {
    background: var(--black);
}

.pricing h2,
.pricing h3,
.pricing .price {
    color: var(--white);
}

.pricing .section-intro,
.pricing .price-card p {
    color: rgba(255, 255, 255, 0.74);
}

.section-intro {
    max-width: 720px;
    margin: -8px auto 30px;
    text-align: center;
}

.price-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #17101d;
    border-color: rgba(232, 207, 245, 0.24);
}

.price-card.featured {
    outline: 2px solid #e8cff5;
}

.price {
    font-size: 2.3rem;
    font-weight: 700;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: auto;
    padding: 14px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--violet);
    color: var(--white);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover,
button:hover {
    background: var(--plum);
    transform: translateY(-2px);
}

.intake-layout {
    align-items: start;
}

.legacy-form,
.legacy-form fieldset {
    display: grid;
    gap: 10px;
}

.legacy-form fieldset {
    border: 0;
}

.legacy-form fieldset:disabled {
    opacity: 0.55;
}

label {
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 15px;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--violet);
    outline: 3px solid rgba(127, 74, 164, 0.16);
}

#formFeedback {
    min-height: 28px;
    color: var(--plum);
    font-weight: 700;
}

footer {
    background: var(--black);
    color: var(--white);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.footer-content a {
    color: #e8cff5;
    font-weight: 700;
}

@media (max-width: 820px) {
    .footer-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 18px 0;
    }

    .ribbon-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        min-height: auto;
        padding: 14px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 10px 14px;
        font-size: 0.82rem;
    }

    html {
        scroll-padding-top: 132px;
        scroll-snap-type: y proximity;
    }

    .hero-inner {
        min-height: calc(100vh - 132px);
        padding-top: 70px;
    }

    .intro-grid,
    .intake-layout,
    .cards,
    .price-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .page-panel,
    .page-panel > .container,
    .page-panel .intro-grid {
        min-height: auto;
    }
}
