/* ResortStrata Marketing — SupportLayer-inspired clean design layer */

/* ── Tokens & overrides ─────────────────────────────────────── */
.marketing-page {
    --m-max: 1140px;
    --m-section-y: 5.5rem;
    --m-card-radius: 12px;
    --m-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --m-card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --m-card-border: #e5e7eb;
    --m-bg: #ffffff;
    --m-bg-alt: #fafbfc;
}

/* ── Shared marketing background ────────────────────────────── */
.marketing-page,
.marketing-footer {
    background: var(--m-bg);
}

/* ── Header ─────────────────────────────────────────────────── */
.marketing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #ebebeb;
    transition: box-shadow 0.2s ease;
}

.marketing-header.is-scrolled {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.marketing-inner {
    max-width: var(--m-max, 1140px);
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.marketing-logo {
    line-height: 1.2;
    flex-shrink: 0;
}

.marketing-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.marketing-nav a:not(.btn) {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--rs-color-muted);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.marketing-nav a:not(.btn):hover {
    color: var(--rs-color-text);
    background: var(--m-bg-alt);
}

.marketing-nav .btn {
    font-size: 0.88rem;
    padding: 0.45rem 1rem;
}

.marketing-nav .btn + .btn {
    margin-left: 0.25rem;
}

/* Hamburger toggle (hidden on desktop) */
.marketing-hamburger {
    display: none;
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.35rem;
    color: var(--rs-color-text);
}

.marketing-hamburger svg {
    display: block;
}

@media (max-width: 768px) {
    .marketing-hamburger {
        display: block;
    }

    .marketing-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.15rem;
        padding: 0.5rem 0 0.85rem;
        order: 10;
    }

    .marketing-nav.is-open {
        display: flex;
    }

    .marketing-nav a:not(.btn) {
        width: 100%;
        padding: 0.65rem 0.75rem;
        font-size: 1rem;
    }

    .marketing-nav .btn {
        width: 100%;
        text-align: center;
        margin: 0.15rem 0 0;
    }

    .marketing-inner {
        flex-wrap: wrap;
    }
}

/* ── Main content area ──────────────────────────────────────── */
.marketing-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.marketing-main.wide {
    max-width: var(--m-max, 1140px);
}

/* ── Hero ────────────────────────────────────────────────────── */
.marketing-hero {
    position: relative;
    padding: 5rem 2rem 4.5rem;
    background: linear-gradient(170deg, #f0f6ff 0%, #f8fafb 40%, #ffffff 100%);
    color: var(--rs-color-text);
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

.marketing-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 111, 190, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.marketing-hero::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 138, 92, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.marketing-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 42rem;
}

.marketing-hero h1 {
    font-family: var(--rs-font-display);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.25rem;
    letter-spacing: -0.03em;
    color: #111827;
}

.marketing-hero .lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 2rem;
    max-width: 38rem;
}

.marketing-hero .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.marketing-hero .btn-primary {
    background: var(--rs-color-primary);
    color: #fff;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    box-shadow: none;
    transition: background 0.15s ease;
}

.marketing-hero .btn-primary:hover {
    background: var(--rs-color-primary-hover);
    color: #fff;
    transform: none;
    box-shadow: none;
}

.marketing-hero .btn-outline {
    border-color: var(--m-card-border);
    color: var(--rs-color-text);
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.marketing-hero .btn-outline:hover {
    background: transparent;
    border-color: var(--rs-color-primary);
    color: var(--rs-color-primary);
}

.marketing-hero .trust {
    font-size: 0.875rem;
    color: #6b7280;
    letter-spacing: 0.01em;
    font-weight: 500;
}

/* ── Screenshot mockup ──────────────────────────────────────── */
.marketing-screenshot {
    max-width: 56rem;
    margin: 0 auto;
    border-radius: var(--m-card-radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--m-card-border);
    background: #fff;
    position: relative;
    z-index: 1;
}

.marketing-screenshot img {
    display: block;
    width: 100%;
    border-radius: var(--m-card-radius);
    border: 1px solid var(--m-card-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.screenshot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--m-card-border);
    border-radius: var(--m-card-radius) var(--m-card-radius) 0 0;
}

.screenshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.screenshot-dot:first-child { background: #fca5a5; }
.screenshot-dot:nth-child(2) { background: #fcd34d; }
.screenshot-dot:nth-child(3) { background: #6ee7b7; }

.screenshot-bar-title {
    margin-left: auto;
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 500;
}

/* App layout inside screenshot */
.screenshot-app {
    display: flex;
    min-height: 340px;
}

/* Sidebar */
.screenshot-sidebar {
    width: 170px;
    flex-shrink: 0;
    background: #1e293b;
    padding: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.screenshot-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem 0.75rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0.35rem;
}

.screenshot-sidebar-brand svg { color: rgba(255,255,255,0.7); }

.screenshot-nav-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    cursor: default;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s;
}

.screenshot-nav-item.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-left-color: var(--rs-color-accent);
}

.screenshot-nav-item svg { flex-shrink: 0; color: inherit; }

/* Main content area */
.screenshot-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.screenshot-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--m-card-border);
    font-size: 0.8rem;
    color: var(--rs-color-text);
    background: #fff;
}

.screenshot-org-badge {
    background: var(--rs-color-primary-soft);
    color: var(--rs-color-primary);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 600;
}

.screenshot-body {
    padding: 1rem;
    background: #f9fafb;
    flex: 1;
}

/* Stat cards grid */
.screenshot-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .screenshot-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 500px) {
    .screenshot-stats { grid-template-columns: repeat(2, 1fr); }
    .screenshot-sidebar { display: none; }
}

.screenshot-stat {
    background: #fff;
    border: 1px solid var(--m-card-border);
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    text-align: left;
}

.screenshot-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--rs-color-text);
}

.screenshot-stat--blue .screenshot-stat-value { color: #2a6fbe; }
.screenshot-stat--teal .screenshot-stat-value { color: #0d9488; }
.screenshot-stat--amber .screenshot-stat-value { color: #d97706; }
.screenshot-stat--red .screenshot-stat-value { color: #c94a3d; }
.screenshot-stat--purple .screenshot-stat-value { color: #7c3aed; }
.screenshot-stat--green .screenshot-stat-value { color: #16a34a; }

.screenshot-stat-label {
    display: block;
    font-size: 0.65rem;
    color: #6b7280;
    margin-top: 0.1rem;
    font-weight: 500;
}

.screenshot-stat-sub {
    display: block;
    font-size: 0.6rem;
    color: #9ca3af;
    margin-top: 0.1rem;
}

/* Panels (tables) */
.screenshot-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .screenshot-panels { grid-template-columns: 1fr; }
}

.screenshot-panel {
    background: #fff;
    border: 1px solid var(--m-card-border);
    border-radius: 8px;
    overflow: hidden;
}

.screenshot-panel-head {
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--rs-color-text);
    border-bottom: 1px solid var(--m-card-border);
}

.screenshot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.65rem;
    color: #374151;
}

.screenshot-table th {
    text-align: left;
    padding: 0.35rem 0.6rem;
    font-weight: 600;
    font-size: 0.6rem;
    color: #6b7280;
    background: #f9fafb;
    border-bottom: 1px solid var(--m-card-border);
}

.screenshot-table td {
    padding: 0.35rem 0.6rem;
    border-bottom: 1px solid #f3f4f6;
}

/* Status badges inside screenshot */
.ss-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: capitalize;
}

.ss-badge--normal { background: #f0f4f8; color: #5a6d80; }
.ss-badge--high { background: #fef3c7; color: #92400e; }
.ss-badge--urgent { background: #fde8e8; color: #991b1b; }

/* ── Screen-reader only utility ────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Sections ────────────────────────────────────────────────── */
.marketing-section {
    padding: var(--m-section-y) 0;
}

.marketing-section + .marketing-section {
    border-top: 1px solid #f0f0f0;
}

.marketing-section h2 {
    font-family: var(--rs-font-display);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    color: #111827;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.marketing-section .section-intro {
    color: var(--rs-color-muted);
    font-size: 1.05rem;
    max-width: 40rem;
    margin: 0 0 2.5rem;
    line-height: 1.65;
}

/* ── Problem / solution split ────────────────────────────────── */
.marketing-split {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .marketing-split {
        grid-template-columns: 1fr 1fr;
    }
}

.marketing-pain {
    background: #fff;
    border-radius: var(--m-card-radius);
    padding: 1.75rem;
    border: 1px solid var(--m-card-border);
    border-left: 3px solid var(--rs-color-primary);
    box-shadow: var(--m-card-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.marketing-pain:hover {
    box-shadow: var(--m-card-shadow-hover);
    transform: translateY(-1px);
}

.marketing-pain h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: var(--rs-color-text);
}

.marketing-pain ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--rs-color-muted);
    line-height: 1.7;
}

/* ── Feature grid ────────────────────────────────────────────── */
.marketing-feature-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .marketing-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .marketing-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.marketing-feature {
    background: #fff;
    border-radius: var(--m-card-radius);
    padding: 1.5rem 1.35rem;
    border: 1px solid var(--m-card-border);
    box-shadow: var(--m-card-shadow);
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.marketing-feature:hover {
    box-shadow: var(--m-card-shadow-hover);
    transform: translateY(-2px);
}

.marketing-feature .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: var(--rs-color-primary);
    background: var(--rs-color-primary-soft);
}

.marketing-feature .feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.8;
}

.marketing-feature h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--rs-color-text);
}

.marketing-feature p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--rs-color-muted);
    line-height: 1.55;
}

/* ── How-it-works steps ──────────────────────────────────────── */
.marketing-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .marketing-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.marketing-steps li {
    background: #fff;
    border-radius: var(--m-card-radius);
    padding: 1.5rem 1.35rem;
    padding-top: 3.25rem;
    border: 1px solid var(--m-card-border);
    box-shadow: var(--m-card-shadow);
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.marketing-steps li:hover {
    box-shadow: var(--m-card-shadow-hover);
    transform: translateY(-1px);
}

.marketing-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 1.15rem;
    left: 1.35rem;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--rs-color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketing-steps h3 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    font-weight: 700;
}

.marketing-steps p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--rs-color-muted);
    line-height: 1.55;
}

/* ── Audience pills ──────────────────────────────────────────── */
.marketing-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.marketing-audience span {
    background: #fff;
    border: 1px solid var(--m-card-border);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--rs-color-text);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.marketing-audience span:hover {
    border-color: var(--rs-color-primary);
    background: var(--rs-color-primary-soft);
}

/* ── Metrics / social proof ──────────────────────────────────── */
.marketing-metrics {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 600px) {
    .marketing-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

.marketing-metric {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--m-card-radius);
    border: 1px solid var(--m-card-border);
    box-shadow: var(--m-card-shadow);
}

.marketing-metric .metric-value {
    font-family: var(--rs-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--rs-color-primary);
    line-height: 1.1;
    margin: 0 0 0.35rem;
}

.marketing-metric .metric-label {
    font-size: 0.88rem;
    color: var(--rs-color-muted);
    margin: 0;
}

/* ── Security / trust panel ──────────────────────────────────── */
.marketing-security {
    background: var(--m-bg-alt);
    border-radius: var(--m-card-radius);
    padding: 1.75rem 2rem;
    border: 1px solid var(--m-card-border);
}

.marketing-security ul {
    margin: 0.65rem 0 0;
    padding-left: 1.2rem;
    color: var(--rs-color-muted);
    line-height: 1.7;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.marketing-faq details {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0.4rem;
    border: 1px solid var(--m-card-border);
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.marketing-faq details:hover {
    border-color: #d0d5dd;
}

.marketing-faq details[open] {
    border-color: #d0d5dd;
    box-shadow: var(--m-card-shadow);
}

.marketing-faq summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--rs-color-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.marketing-faq summary:hover {
    color: var(--rs-color-primary);
}

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

.marketing-faq summary::after {
    content: "";
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235a6d80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.marketing-faq details[open] summary::after {
    transform: rotate(45deg);
}

.marketing-faq .faq-a {
    padding: 0 1.25rem 1.15rem;
    color: var(--rs-color-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    border-top: 1px solid #f0f0f0;
    margin: 0;
    padding-top: 0.85rem;
}

/* ── CTA band ────────────────────────────────────────────────── */
.marketing-cta-band {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--m-card-radius);
    background: var(--rs-color-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.marketing-cta-band::before {
    display: none;
}

.marketing-cta-band h2 {
    font-family: var(--rs-font-display);
    color: #fff;
    margin: 0 0 0.65rem;
    position: relative;
}

.marketing-cta-band p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.75rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    line-height: 1.6;
}

.marketing-cta-band .btn-primary {
    background: #fff;
    color: var(--rs-color-primary);
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    position: relative;
    box-shadow: none;
    font-weight: 700;
    transition: background 0.15s ease, transform 0.15s ease;
}

.marketing-cta-band .btn-primary:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

.marketing-cta-band .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    position: relative;
    border-radius: 8px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.marketing-cta-band .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ── Legal pages (terms, privacy, GDPR) ──────────────────────── */
.marketing-legal {
    max-width: 42rem;
    margin: 0 auto;
}

.marketing-legal > h1 {
    font-family: var(--rs-font-display);
    font-size: clamp(1.65rem, 3vw, 2rem);
    color: var(--rs-color-text);
    font-weight: 400;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.marketing-legal .legal-meta {
    font-size: 0.88rem;
    color: var(--rs-color-muted);
    margin: 0 0 2rem;
    line-height: 1.5;
}

.marketing-legal h2 {
    font-family: var(--rs-font-display);
    font-size: 1.2rem;
    color: var(--rs-color-text);
    font-weight: 400;
    margin: 2rem 0 0.65rem;
}

.marketing-legal h3 {
    font-size: 1.02rem;
    color: var(--rs-color-text);
    margin: 1.35rem 0 0.45rem;
    font-weight: 700;
}

.marketing-legal p,
.marketing-legal li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--rs-color-muted);
    margin: 0 0 0.85rem;
}

.marketing-legal ul,
.marketing-legal ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.marketing-legal li {
    margin-bottom: 0.35rem;
}

.marketing-legal strong {
    color: var(--rs-color-text);
}

.marketing-legal .legal-box {
    background: var(--m-bg-alt);
    border: 1px solid var(--m-card-border);
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--rs-color-muted);
}

.marketing-legal .legal-nav {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ebebeb;
    font-size: 0.92rem;
    color: var(--rs-color-muted);
}

.marketing-legal .legal-nav a {
    font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────────────── */
.marketing-footer {
    border-top: 1px solid #ebebeb;
    padding: 3.5rem 0 2rem;
    color: var(--rs-color-muted);
    font-size: 0.9rem;
    background: var(--m-bg-alt);
}

.marketing-footer-logo {
    text-decoration: none;
}

.marketing-footer .marketing-inner.marketing-footer-grid {
    display: grid;
    gap: 2rem;
    text-align: left;
    align-items: start;
}

@media (min-width: 600px) {
    .marketing-footer .marketing-inner.marketing-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .marketing-footer .marketing-inner.marketing-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.marketing-footer .marketing-inner.marketing-footer-grid h4 {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rs-color-text);
    font-weight: 700;
}

.marketing-footer .marketing-inner.marketing-footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marketing-footer .marketing-inner.marketing-footer-grid a {
    color: var(--rs-color-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: color 0.15s ease;
}

.marketing-footer .marketing-inner.marketing-footer-grid a:hover {
    color: var(--rs-color-primary);
}

.marketing-footer-legal {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.82rem;
    color: var(--rs-color-muted);
}

.marketing-footer-legal a {
    color: var(--rs-color-muted);
    text-decoration: none;
    font-weight: 600;
}

.marketing-footer-legal a:hover {
    color: var(--rs-color-primary);
}

/* ── Pricing page ────────────────────────────────────────────── */
.marketing-pricing-hero-price {
    background: #fff;
    border: 1px solid var(--m-card-border);
    border-radius: var(--m-card-radius);
    padding: 2rem 1.5rem 1.75rem;
    margin: 0 auto 2.5rem;
    text-align: center;
    box-shadow: var(--m-card-shadow);
    max-width: 42rem;
}

.marketing-pricing-hero-price .marketing-currency-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 auto 1.25rem;
    padding: 0.2rem;
    background: var(--m-bg-alt);
    border-radius: 8px;
    border: 1px solid var(--m-card-border);
}

.marketing-pricing-hero-price .marketing-currency-toggle button {
    appearance: none;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.95rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--rs-color-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.marketing-pricing-hero-price .marketing-currency-toggle button:hover {
    color: var(--rs-color-text);
}

.marketing-pricing-hero-price .marketing-currency-toggle button[aria-pressed="true"] {
    background: var(--rs-color-primary);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.marketing-pricing-hero-price .marketing-price-big {
    font-family: var(--rs-font-display);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 400;
    color: var(--rs-color-text);
    line-height: 1.1;
    margin: 0 0 0.4rem;
    letter-spacing: -0.03em;
}

.marketing-pricing-hero-price .marketing-price-big .per {
    font-family: var(--rs-font-body);
    font-size: 0.35em;
    font-weight: 600;
    color: var(--rs-color-muted);
    letter-spacing: 0;
}

.marketing-pricing-hero-price .marketing-price-sub {
    margin: 0;
    font-size: 0.95rem;
    color: var(--rs-color-muted);
    line-height: 1.55;
}

.marketing-pricing-hero-price .marketing-price-fx-note {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    color: var(--rs-color-muted);
    line-height: 1.5;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.marketing-price-cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.marketing-price-cards--single {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .marketing-price-cards:not(.marketing-price-cards--single) {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
}

.marketing-price-card {
    background: #fff;
    border-radius: var(--m-card-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--m-card-shadow);
    border: 1px solid var(--m-card-border);
    transition: box-shadow 0.2s ease;
}

.marketing-price-card:hover {
    box-shadow: var(--m-card-shadow-hover);
}

.marketing-price-card.featured {
    border-color: var(--rs-color-primary);
    border-width: 2px;
    position: relative;
}

.marketing-price-card.featured::before {
    content: "All-in-one";
    position: absolute;
    top: -0.65rem;
    left: 1.25rem;
    background: var(--rs-color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.marketing-price-card h3 {
    margin: 0 0 0.5rem;
    font-family: var(--rs-font-display);
    font-size: 1.35rem;
    color: var(--rs-color-text);
}

.marketing-price-card .price-note {
    font-size: 0.92rem;
    color: var(--rs-color-muted);
    margin: 0 0 1.15rem;
    line-height: 1.55;
}

.marketing-price-card ul {
    margin: 0 0 1.5rem;
    padding-left: 0;
    list-style: none;
    color: var(--rs-color-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.marketing-price-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.35rem;
}

.marketing-price-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 1rem;
    height: 1rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232a6fbe' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.marketing-includes-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--m-card-shadow);
    font-size: 0.92rem;
    border: 1px solid var(--m-card-border);
}

.marketing-includes-table th,
.marketing-includes-table td {
    padding: 0.75rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.marketing-includes-table th {
    background: var(--m-bg-alt);
    font-weight: 700;
    color: var(--rs-color-text);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marketing-includes-table tbody tr {
    transition: background 0.15s ease;
}

.marketing-includes-table tbody tr:hover {
    background: var(--m-bg-alt);
}

/* ── Contact ─────────────────────────────────────────────────── */
.marketing-contact-options {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .marketing-contact-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.marketing-contact-card {
    background: #fff;
    padding: 1.75rem 1.5rem;
    border-radius: var(--m-card-radius);
    box-shadow: var(--m-card-shadow);
    border: 1px solid var(--m-card-border);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.marketing-contact-card:hover {
    box-shadow: var(--m-card-shadow-hover);
    transform: translateY(-1px);
}

.marketing-contact-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--rs-color-text);
    font-weight: 700;
}

.marketing-contact-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--rs-color-muted);
    line-height: 1.55;
}

/* ── Documentation pages ─────────────────────────────────────── */
.marketing-docs {
    display: grid;
    gap: 2.5rem;
    max-width: var(--m-max, 1140px);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

@media (min-width: 768px) {
    .marketing-docs {
        grid-template-columns: 240px 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .marketing-docs {
        grid-template-columns: 260px 1fr;
    }
}

.marketing-docs-sidebar {
    position: sticky;
    top: 5rem;
    align-self: start;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding-right: 0.5rem;
}

@media (max-width: 767px) {
    .marketing-docs-sidebar {
        position: static;
        max-height: none;
        border-bottom: 1px solid var(--m-card-border);
        padding-bottom: 1.5rem;
    }
}

.marketing-docs-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.marketing-docs-sidebar h4 {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rs-color-muted);
    font-weight: 700;
    padding: 0 0.5rem;
}

.marketing-docs-sidebar h4:not(:first-child) {
    margin-top: 1.25rem;
}

.marketing-docs-sidebar a {
    display: block;
    text-decoration: none;
    font-size: 0.88rem;
    color: var(--rs-color-muted);
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    line-height: 1.4;
    transition: color 0.15s ease, background 0.15s ease;
}

.marketing-docs-sidebar a:hover {
    color: var(--rs-color-text);
    background: var(--m-bg-alt);
}

.marketing-docs-sidebar a.is-active {
    color: var(--rs-color-primary);
    background: var(--rs-color-primary-soft);
    font-weight: 600;
}

.marketing-docs-content {
    min-width: 0;
    max-width: 48rem;
}

.marketing-docs-content > h1 {
    font-family: var(--rs-font-display);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 400;
    color: var(--rs-color-text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.marketing-docs-content > .docs-lead {
    font-size: 1.05rem;
    color: var(--rs-color-muted);
    margin: 0 0 2rem;
    line-height: 1.65;
}

.marketing-docs-content h2 {
    font-family: var(--rs-font-display);
    font-size: 1.35rem;
    color: var(--rs-color-text);
    font-weight: 400;
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.marketing-docs-content h3 {
    font-size: 1.05rem;
    color: var(--rs-color-text);
    margin: 1.75rem 0 0.5rem;
    font-weight: 700;
}

.marketing-docs-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--rs-color-muted);
    margin: 0 0 1rem;
}

.marketing-docs-content ul,
.marketing-docs-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: var(--rs-color-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.marketing-docs-content li {
    margin-bottom: 0.35rem;
}

.marketing-docs-content code {
    font-size: 0.88em;
    background: var(--m-bg-alt);
    border: 1px solid var(--m-card-border);
    padding: 0.15em 0.35em;
    border-radius: 4px;
    color: var(--rs-color-text);
}

.marketing-docs-content pre {
    background: #1e2d2f;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.marketing-docs-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.marketing-docs-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
    border: 1px solid var(--m-card-border);
    border-radius: 8px;
    overflow: hidden;
}

.marketing-docs-content th,
.marketing-docs-content td {
    padding: 0.65rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.marketing-docs-content th {
    background: var(--m-bg-alt);
    font-weight: 700;
    color: var(--rs-color-text);
    font-size: 0.82rem;
}

.marketing-docs-content blockquote {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1.15rem;
    border-left: 3px solid var(--rs-color-primary);
    background: var(--rs-color-primary-soft);
    border-radius: 0 6px 6px 0;
    color: var(--rs-color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.marketing-docs-content blockquote p:last-child {
    margin-bottom: 0;
}

.marketing-docs-content img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--m-card-border);
    margin: 0.5rem 0 1.25rem;
}

/* ── Entrance animations ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .marketing-hero {
        animation: m-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .m-fade-up {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .m-fade-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    @keyframes m-rise {
        from {
            opacity: 0;
            transform: translateY(24px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
