:root {
    --ink: #17120d;
    --muted: #746b5f;
    --paper: #fbf8f1;
    --surface: #ffffff;
    --line: #e5dccd;
    --dark: #100d0a;
    --bronze: #b8874c;
    --bronze-dark: #845a2d;
    --success: #2f7a54;
    --danger: #ad3f35;
    --shadow: 0 18px 50px rgba(25, 18, 12, .12);
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--site-page-bg, var(--paper));
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--site-header-text, #f9efe1);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--site-header-bg, #100d0a) 88%, transparent), color-mix(in srgb, var(--site-header-bg, #100d0a) 74%, transparent));
    border-bottom: 1px solid color-mix(in srgb, var(--site-accent, #b8874c) 28%, transparent);
    box-shadow: 0 10px 34px rgba(8, 6, 4, .18);
    backdrop-filter: blur(14px);
    transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.site-header.is-scrolled {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--site-header-bg, #100d0a) 96%, transparent), color-mix(in srgb, var(--site-header-bg, #100d0a) 90%, transparent));
    border-bottom-color: color-mix(in srgb, var(--site-accent, #b8874c) 45%, transparent);
    box-shadow: 0 18px 46px rgba(8, 6, 4, .32);
}

.header-shell {
    width: min(100%, 1180px);
    min-height: 88px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 0 0 auto;
    transition: transform .22s ease, opacity .22s ease;
}

.brand:hover {
    transform: scale(1.025);
    opacity: .94;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--site-button-bg, #f9d99e);
    background: #1d1711;
    border: 1px solid color-mix(in srgb, var(--site-accent, #b8874c) 62%, transparent);
    font-weight: 900;
}

.site-logo {
    width: var(--logo-w, 136px);
    height: var(--logo-h, 78px);
    min-width: 112px;
    min-height: 76px;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(184, 135, 76, .16));
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
    letter-spacing: 0;
}

.brand small {
    color: color-mix(in srgb, var(--site-header-text, #f9efe1) 70%, var(--site-accent, #b8874c));
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: color-mix(in srgb, var(--site-header-text, #f9efe1) 88%, transparent);
    font-size: 13px;
    font-weight: 800;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    white-space: nowrap;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--site-accent, #b8874c), transparent);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #ffffff;
    background: color-mix(in srgb, var(--site-accent, #b8874c) 13%, transparent);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-cta {
    margin-left: 10px;
    min-height: 44px !important;
    padding: 0 18px !important;
    color: #18110a !important;
    background: linear-gradient(135deg, #f7d58f, var(--site-button-bg, #f5c879) 44%, var(--site-accent, #b8874c)) !important;
    border: 1px solid color-mix(in srgb, var(--site-button-bg, #f5c879) 70%, #ffffff);
    box-shadow: 0 10px 26px rgba(184, 135, 76, .28), inset 0 1px 0 rgba(255, 255, 255, .46);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(184, 135, 76, .36), 0 0 22px color-mix(in srgb, var(--site-accent, #b8874c) 30%, transparent);
}

.nav-toggle,
.mobile-nav-head {
    display: none;
}

.nav-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--site-accent, #b8874c) 42%, transparent);
    border-radius: 999px;
    color: var(--site-header-text, #f9efe1);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .22s ease, opacity .22s ease;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
}

section[id] {
    scroll-margin-top: 92px;
}

.hero {
    min-height: calc(100vh - 74px);
    display: grid;
    align-items: end;
    color: #fff8ec;
    background-position: center;
    background-size: cover;
}

.hero-slider {
    position: relative;
    display: block;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    opacity: 0;
    background-position: calc(50% + var(--parallax-x, 0px)) calc(50% + var(--parallax-y, 0px) + var(--scroll-parallax, 0px));
    background-size: cover;
    transition: opacity .55s ease, background-position .18s ease-out;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.hero-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(78px, 10vw, 150px) clamp(18px, 5vw, 34px) clamp(46px, 7vw, 70px);
}

.eyebrow {
    display: inline-block;
    color: var(--site-accent, var(--bronze));
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 900;
}

.hero h1 {
    margin: 12px 0 12px;
    font-size: clamp(54px, 11vw, 132px);
    line-height: .9;
    letter-spacing: 0;
}

.hero p {
    max-width: 670px;
    margin: 0;
    color: #efe0ca;
    font-size: clamp(18px, 2.6vw, 26px);
    line-height: 1.35;
}

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

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 900;
}

.btn-primary {
    color: #17120d;
    background: var(--site-button-bg, #f5c879);
    border-color: var(--site-button-bg, #f5c879);
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--site-button-bg, #f5c879) 78%, #ffffff);
}

.btn-light {
    color: #fff7e8;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .28);
}

.btn-outline {
    color: var(--ink);
    background: #fffaf1;
    border-color: var(--line);
}

.text-link {
    color: var(--site-accent, var(--bronze-dark));
    font-weight: 900;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 42px 0 0;
}

.hero-metrics div {
    min-width: 120px;
}

.hero-metrics dt {
    font-size: 32px;
    font-weight: 900;
}

.hero-metrics dd {
    margin: 2px 0 0;
    color: #cfb995;
    font-weight: 700;
}

.slider-dots {
    position: absolute;
    left: clamp(18px, 5vw, 58px);
    bottom: 22px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.slider-dots button {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, .32);
}

.slider-dots button.is-active {
    background: var(--site-button-bg, #f5c879);
}

.section {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(54px, 8vw, 88px) clamp(18px, 5vw, 34px);
}

.section.alt {
    width: 100%;
    max-width: none;
    background: var(--site-alt-bg, #fff);
}

.section.alt > * {
    width: min(100%, 1180px);
    margin-right: auto;
    margin-left: auto;
}

.section-head {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-head.split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.02;
    letter-spacing: 0;
}

.intro-grid,
.feature-grid,
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.platform-panel {
    padding: 26px;
    color: #fff8ec;
    background: #15110d;
    border: 1px solid color-mix(in srgb, var(--site-accent, #b8874c) 42%, transparent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.platform-panel span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #17120d;
    background: var(--site-button-bg, #f5c879);
    font-weight: 900;
}

.platform-panel h3 {
    margin: 20px 0 8px;
    font-size: 24px;
}

.platform-panel p {
    margin: 0;
    color: #d8c5aa;
    line-height: 1.55;
}

.intro-grid article,
.feature-card,
.plan,
.lead-form,
.faq-list details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.intro-grid article {
    padding: 22px;
}

.intro-grid strong {
    display: block;
    font-size: 20px;
}

.intro-grid p,
.feature-card p,
.plan p,
.workflow p,
.cta p,
.faq-list p {
    color: var(--muted);
    line-height: 1.55;
}

.feature-card {
    padding: 24px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #21170f;
    background: var(--site-button-bg, #f3d59e);
    font-weight: 900;
}

.feature-card h3 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.plan {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 26px;
}

.plan.is-featured {
    color: #fff8ec;
    background: #15110d;
    border-color: color-mix(in srgb, var(--site-accent, #b8874c) 58%, transparent);
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #17120d;
    background: var(--site-button-bg, #f5c879);
    font-size: 12px;
    font-weight: 900;
}

.plan h3 {
    margin: 0;
    font-size: 26px;
}

.plan > strong {
    display: block;
    color: var(--site-accent, var(--bronze-dark));
    font-size: 34px;
}

.plan.is-featured > strong {
    color: var(--site-button-bg, #f5c879);
}

.plan.is-featured p,
.plan.is-featured li {
    color: #d8c5aa;
}

.plan ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
}

.plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--site-accent, var(--bronze));
}

.workflow {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 34px;
    align-items: start;
}

.workflow ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.workflow li span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    color: #fff8ec;
    background: var(--site-header-bg, #15110d);
    border-radius: 50%;
    font-weight: 900;
}

.workflow li strong {
    font-size: 20px;
}

.workflow li p {
    margin: 0;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.cta {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: 26px;
    align-items: start;
}

.revenue-band {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.revenue-band ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.revenue-band li {
    padding: 16px 18px;
    background: #fffaf3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 800;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.contact-links a {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-weight: 900;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 22px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

label span {
    color: var(--muted);
    font-size: 13px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf3;
    color: var(--ink);
    outline: 0;
    padding: 12px 13px;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--site-accent, var(--bronze));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-accent, #b8874c) 22%, transparent);
}

.span-2 {
    grid-column: span 2;
}

.alert {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-weight: 800;
}

.alert-success {
    color: var(--success);
    background: #eefaf3;
    border-color: #bbdfc9;
}

.alert-error {
    color: var(--danger);
    background: #fff2ef;
    border-color: #edc3bc;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 26px clamp(18px, 5vw, 58px);
    color: var(--site-footer-text, #d8c5aa);
    background: var(--site-footer-bg, #100d0a);
    border-top: 1px solid color-mix(in srgb, var(--site-accent, #b8874c) 28%, transparent);
}

.site-footer strong {
    color: color-mix(in srgb, var(--site-footer-text, #d8c5aa) 70%, #ffffff);
}

.footer-logo {
    width: var(--footer-logo-w, 120px);
    height: var(--footer-logo-h, 42px);
    object-fit: contain;
}

@media (max-width: 980px) {
    body.nav-open {
        overflow: hidden;
    }

    .header-shell {
        min-height: 78px;
        padding: 0 16px;
    }

    .nav-toggle {
        display: inline-flex;
        z-index: 130;
    }

    .main-nav {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 120;
        width: min(420px, calc(100vw - 24px));
        max-height: calc(100vh - 24px);
        display: grid;
        align-content: start;
        gap: 8px;
        padding: 20px;
        overflow-y: auto;
        color: var(--site-header-text, #f9efe1);
        background:
            radial-gradient(circle at top right, color-mix(in srgb, var(--site-accent, #b8874c) 22%, transparent), transparent 34%),
            color-mix(in srgb, var(--site-header-bg, #100d0a) 96%, #000000);
        border: 1px solid color-mix(in srgb, var(--site-accent, #b8874c) 36%, transparent);
        border-radius: 8px;
        box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
        backdrop-filter: blur(22px);
        opacity: 0;
        pointer-events: none;
        transform: translateX(22px) scale(.98);
        transition: opacity .22s ease, transform .22s ease;
    }

    body.nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0) scale(1);
    }

    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 2px 14px;
        margin-bottom: 6px;
        border-bottom: 1px solid color-mix(in srgb, var(--site-accent, #b8874c) 22%, transparent);
    }

    .mobile-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-weight: 900;
    }

    .mobile-brand .site-logo {
        min-width: 86px;
        min-height: 58px;
        max-width: none;
        max-height: none;
    }

    .main-nav a {
        width: 100%;
        justify-content: flex-start;
        min-height: 48px;
        padding: 0 14px;
        border: 1px solid transparent;
        background: rgba(255, 255, 255, .03);
    }

    .main-nav a::after {
        left: 14px;
        right: auto;
        bottom: 9px;
        width: 42px;
    }

    .main-nav a:hover,
    .main-nav a.is-active {
        border-color: color-mix(in srgb, var(--site-accent, #b8874c) 30%, transparent);
    }

    .nav-cta {
        justify-content: center !important;
        margin: 12px 0 0;
        min-height: 52px !important;
    }

    .intro-grid,
    .feature-grid,
    .plans,
    .platform-grid,
    .revenue-band,
    .workflow,
    .cta {
        grid-template-columns: 1fr;
    }

    .section-head.split {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 680px;
        background-position: 62% center;
    }

    .hero h1 {
        font-size: clamp(48px, 18vw, 82px);
    }

    .hero-actions,
    .hero-actions .btn,
    .contact-links,
    .site-footer {
        width: 100%;
    }

    .hero-actions .btn,
    .contact-links a {
        width: 100%;
    }

    .lead-form {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: auto;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
