:root {
    --ink: #2c2422;
    --text-color: #3f3532;
    --muted: #6d605b;
    --paper: #fffdfb;
    --cream: #f7f1ea;
    --blush: #f3e4dc;
    --rose: #974f81;
    --rose-deep: #682d57;
    --rose-soft: #c989a8;
    --sand: #d9c4b0;
    --focus: #8a4d3b;
    --heading-font: 'Cormorant Garamond', Georgia, serif;
    --body-font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --shadow-soft: 0 12px 40px rgba(44, 36, 34, 0.08);
    --radius: 18px;
    --header-height: 8.8rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 2.4rem);
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--paper);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rose-deep);
    text-decoration: none;
}

a:hover {
    color: var(--rose);
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 1.6rem;
}

p {
    margin: 0 0 1.6rem;
}

.skip-link {
    position: absolute;
    left: 1.6rem;
    top: 0;
    z-index: 2000;
    padding: 1rem 1.6rem;
    background: var(--ink);
    color: #fff;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    overflow: visible;
    top: 1.6rem;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 1.6rem 0;
    background: rgba(255, 253, 251, 0.62);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-light,
.site-header.scrolled,
.site-header.is-inner {
    background: rgba(255, 253, 251, 0.94);
    box-shadow: 0 2px 16px rgba(44, 36, 34, 0.08);
}

.site-header.scrolled,
.site-header.is-inner {
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.site-header .logo,
.site-header .logo a {
    display: block;
    overflow: hidden;
    line-height: 0;
    background: transparent;
}

.site-header .logo img {
    height: 5rem;
    width: auto;
    max-width: min(22rem, 48vw);
    object-fit: contain;
    background: transparent;
    /* White wordmark: force dark from first paint on the cream header */
    filter: brightness(0);
    transition: height 0.3s ease;
}

.site-header.scrolled .logo img,
.site-header.is-inner .logo img {
    height: 4rem;
}

.inner-page main {
    padding-top: var(--header-height);
}

.logo-on-dark {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.6rem;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 2.4rem;
    height: 0.2rem;
    margin: 0.5rem 0;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(0.7rem) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-0.7rem) rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3.2rem;
}

.nav-menu a {
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 0;
    height: 1px;
    background: var(--rose);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after {
    width: 100%;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--ink);
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 253, 251, 0.18) 0%, rgba(255, 253, 251, 0.08) 45%, rgba(255, 253, 251, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 90%);
    padding: 12rem 0 8rem;
}

.hero-kicker {
    font-size: 1.2rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 1.6rem;
}

.artist-name {
    font-size: clamp(5.2rem, 8vw, 8.4rem);
    margin-bottom: 1.2rem;
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.72);
}

.artist-tagline {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    color: var(--text-color);
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.7);
    margin-bottom: 3.2rem;
}

.hero-actions,
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
}

.btn,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 1.2rem 2.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary,
.cta-button {
    background: var(--rose-deep);
    color: #fff;
}

.btn-primary:hover,
.cta-button:hover {
    background: var(--rose);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-ghost {
    background: rgba(255, 253, 251, 0.72);
    border-color: rgba(44, 36, 34, 0.18);
    color: var(--ink);
}

.btn-ghost:hover {
    background: #fff;
    color: var(--ink);
}

.btn-outline {
    background: transparent;
    border-color: var(--rose-deep);
    color: var(--rose-deep);
}

.btn-outline:hover {
    background: var(--rose-deep);
    color: #fff;
}

.section {
    padding: 9rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(3.4rem, 5vw, 5rem);
    margin-bottom: 1.2rem;
}

.section-description {
    text-align: center;
    max-width: 68rem;
    margin: 0 auto 4.8rem;
    color: var(--muted);
    font-size: 1.8rem;
}

.about-section {
    background: var(--cream);
}

.about-content {
    max-width: 76rem;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.7rem;
}

.features-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}

.feature-item,
.step-item {
    background: #fff;
    border: 1px solid rgba(44, 36, 34, 0.06);
    border-radius: var(--radius);
    padding: 3.2rem 2.4rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.feature-icon,
.step-number {
    width: 5.6rem;
    height: 5.6rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blush);
    color: var(--rose-deep);
    font-size: 2rem;
}

.step-number {
    font-family: var(--heading-font);
    font-size: 2.4rem;
}

.feature-title,
.step-item h3 {
    font-size: 2.6rem;
}

.example-section {
    background:
        radial-gradient(circle at top left, rgba(201, 137, 168, 0.12), transparent 28rem),
        var(--paper);
}

.example-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.2rem;
    align-items: stretch;
}

.example-card,
.example-result-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(44, 36, 34, 0.07);
    box-shadow: var(--shadow-soft);
    padding: 3.2rem;
}

.example-card h3,
.example-result-card h3 {
    font-size: 3rem;
}

.example-intro {
    color: var(--muted);
}

.example-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0 0 2.4rem;
}

.chip,
.month-option {
    border: 1px solid rgba(44, 36, 34, 0.12);
    background: var(--cream);
    color: var(--ink);
    border-radius: 999px;
    min-height: 4rem;
    padding: 0.8rem 1.6rem;
    font-family: inherit;
    font-size: 1.3rem;
    cursor: pointer;
}

.chip.is-active,
.month-option.is-active {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: #fff;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.2rem;
}

.field label {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.field-hint {
    font-size: 1.3rem;
    color: var(--muted);
}

.currency-field {
    display: flex;
    align-items: center;
    border: 1px solid rgba(44, 36, 34, 0.12);
    border-radius: 12px;
    background: var(--cream);
    overflow: hidden;
}

.currency-field span {
    padding: 0 0 0 1.6rem;
    font-weight: 600;
}

.currency-field input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1.4rem 1.6rem;
    font: inherit;
    font-size: 2rem;
    color: var(--ink);
}

.currency-field input:focus,
.chip:focus-visible,
.month-option:focus-visible,
.btn:focus-visible,
.cta-button:focus-visible,
.menu-toggle:focus-visible,
.legal-toc a:focus-visible,
input[type="range"]:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.months-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.month-option {
    flex: 1 1 calc(20% - 0.8rem);
    min-width: 8.8rem;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sand), var(--rose-soft));
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--rose-deep);
    box-shadow: 0 2px 8px rgba(44, 36, 34, 0.18);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: var(--muted);
}

.example-result-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, rgba(255, 253, 251, 0.92), rgba(247, 241, 234, 0.96)),
        #fff;
}

.result-hero {
    text-align: center;
    padding: 1.2rem 0 2.4rem;
}

.result-hero .amount {
    font-family: var(--heading-font);
    font-size: clamp(4.4rem, 6vw, 6.4rem);
    line-height: 1;
    color: var(--ink);
}

.result-hero .period {
    display: block;
    margin-top: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.result-rows {
    display: grid;
    gap: 1.2rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(44, 36, 34, 0.08);
    font-size: 1.5rem;
}

.result-row strong {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 500;
}

.result-row.total {
    border-bottom: 1px solid rgba(44, 36, 34, 0.08);
}

.interest-pill {
    display: inline-flex;
    align-self: center;
    margin: 2rem 0 0;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    background: #efe7d6;
    color: #5c4a2f;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.example-note,
.leftover-note {
    margin-top: 2rem;
    font-size: 1.4rem;
    color: var(--muted);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cta-section {
    background: var(--cream);
    text-align: center;
}

.cta-content {
    max-width: 70rem;
    margin: 0 auto;
}

.page-hero {
    position: relative;
    padding: 5.6rem 0 6.4rem;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(201, 137, 168, 0.14), transparent 32rem),
        radial-gradient(circle at bottom right, rgba(217, 196, 176, 0.28), transparent 24rem),
        var(--cream);
}

.page-hero h1 {
    font-size: clamp(4rem, 6vw, 6.4rem);
    margin-bottom: 1.2rem;
}

.page-hero p {
    max-width: 56rem;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--muted);
}

.legal-page {
    background: var(--paper);
    padding: 6.4rem 0 10rem;
}

.legal-article {
    max-width: 78rem;
    margin: 0 auto;
}

.last-updated {
    font-style: italic;
    color: var(--muted);
    text-align: right;
    margin-bottom: 3.2rem;
}

.legal-toc {
    background: #fff;
    border: 1px solid rgba(44, 36, 34, 0.07);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 2.8rem 3.2rem;
    margin-bottom: 4.8rem;
}

.legal-toc-title {
    font-family: var(--heading-font);
    font-size: 2.6rem;
    color: var(--ink);
    margin-bottom: 1.6rem;
}

.legal-toc ol {
    margin: 0;
    padding-left: 2.2rem;
}

.legal-toc li {
    margin-bottom: 0.8rem;
}

.legal-toc a {
    color: var(--ink);
}

.legal-toc a:hover {
    color: var(--rose);
}

.legal-section {
    margin-bottom: 4.8rem;
    scroll-margin-top: 10rem;
}

.legal-section h2 {
    font-size: clamp(2.6rem, 3.4vw, 3.4rem);
    color: var(--rose-deep);
    margin-bottom: 2rem;
}

.legal-section h3 {
    font-size: 2.4rem;
    margin: 3.2rem 0 1.6rem;
}

.legal-section p {
    font-size: 1.65rem;
}

.legal-section ul,
.legal-section ol {
    margin: 0 0 2rem 2.4rem;
    padding: 0;
}

.legal-section li {
    margin-bottom: 1rem;
}

.legal-section li::marker {
    color: var(--rose);
}

.site-footer {
    background: #231c1a;
    color: #efe7e2;
    padding: 7rem 0 2.4rem;
}

.site-footer h3,
.site-footer a,
.site-footer p,
.site-footer strong,
.site-footer span {
    color: inherit;
}

.site-footer a:hover {
    color: #f3d6c8;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr;
    gap: 3.2rem;
    margin-bottom: 4rem;
}

.site-footer .footer-logo {
    max-width: 16rem;
    margin-bottom: 1.6rem;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    font-size: 2.4rem;
    color: #fff;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 4.8rem;
    height: 1px;
    margin-top: 1rem;
    background: var(--sand);
}

.quick-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-links li {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.contact-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.6rem;
}

.social-links a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
    font-size: 1.3rem;
}

.footer-additional-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
}

@media (max-width: 992px) {
    .features-grid,
    .steps-grid,
    .example-layout,
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 2rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1101;
    }

    .main-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(36rem, 88vw);
        background: #2b201d;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 10rem 3rem;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 2.4rem;
    }

    .nav-menu a,
    .scrolled .nav-menu a {
        color: #fff;
        font-size: 1.8rem;
    }

    .scrolled .menu-toggle .bar {
        background: var(--ink);
    }

    .menu-toggle.active .bar {
        background: #fff;
    }

    .menu-toggle.active {
        position: relative;
        z-index: 1102;
    }

    .features-grid,
    .steps-grid,
    .example-layout,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-background {
        background-attachment: scroll;
    }

    :root {
        --header-height: 7.6rem;
    }

    .page-hero {
        padding: 4.8rem 0;
    }

    .legal-page {
        padding: 4.8rem 0 8rem;
    }

    .legal-toc {
        padding: 2.4rem 2rem;
    }
}

@media (max-width: 576px) {
    .example-card,
    .example-result-card {
        padding: 2.4rem 2rem;
    }

    .month-option {
        flex-basis: calc(50% - 0.8rem);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
