/* Maeverick Sales Force Automation product page */

.sfa-page {
    --sfa-black: #010101;
    --sfa-panel: #0b0b0b;
    --sfa-panel-soft: #11100d;
    --sfa-gold: #d6a532;
    --sfa-gold-light: #f2c75c;
    --sfa-border: rgba(214, 165, 50, 0.24);
    --sfa-text: #fff9ec;
    --sfa-muted: #c8c0b2;

    background: var(--sfa-black);
    color: var(--sfa-text);
}

.sfa-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 18px;
    color: #a79f91;
    font-size: 0.9rem;
}

.sfa-breadcrumb a {
    color: var(--sfa-gold-light);
    text-decoration: none;
}

.sfa-hero {
    padding: clamp(44px, 6vw, 92px) 0;
    background:
        radial-gradient(
            circle at 78% 28%,
            rgba(214, 165, 50, 0.10),
            transparent 34%
        ),
        #010101;
}

.sfa-hero-grid {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.sfa-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    color: #fff9ec;
    font-size: clamp(2.45rem, 6vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.sfa-hero-lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--sfa-muted);
    font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

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

.sfa-hero .button-secondary,
.sfa-price-card .button-secondary {
    border-color: rgba(214, 165, 50, 0.52);
    background: #090909;
    color: #fff8e7;
}

.sfa-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 28px 0 0;
    padding: 0;
    color: #d3ccbe;
    list-style: none;
}

.sfa-proof-list li {
    position: relative;
    padding-left: 16px;
}

.sfa-proof-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sfa-gold);
    box-shadow: 0 0 12px rgba(214, 165, 50, 0.45);
}

.sfa-hero-media {
    position: relative;
}

.sfa-hero-media::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 0;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(242, 199, 92, 0.7),
        transparent 30%,
        transparent 70%,
        rgba(214, 165, 50, 0.3)
    );
}

.sfa-hero-media img,
.sfa-image-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 27px;
    background: #050505;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
}

.sfa-hero-media img {
    height: auto;
    object-fit: contain;
}

.sfa-image-placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 32px;
    border: 1px solid var(--sfa-border);
    color: var(--sfa-muted);
    text-align: center;
}

.sfa-image-placeholder strong {
    color: var(--sfa-gold-light);
    font-size: 2rem;
}

.sfa-jump-nav {
    position: sticky;
    z-index: 70;
    top: 72px;
    border-top: 1px solid rgba(214, 165, 50, 0.14);
    border-bottom: 1px solid rgba(214, 165, 50, 0.14);
    background: rgba(1, 1, 1, 0.93);
    backdrop-filter: blur(14px);
}

.sfa-jump-nav .container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-top: 13px;
    padding-bottom: 13px;
    scrollbar-width: none;
}

.sfa-jump-nav .container::-webkit-scrollbar {
    display: none;
}

.sfa-jump-nav a {
    flex: 0 0 auto;
    color: #ddd4c3;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.sfa-jump-nav a:hover,
.sfa-jump-nav a:focus-visible {
    color: var(--sfa-gold-light);
}

.sfa-section {
    padding: clamp(68px, 8vw, 118px) 0;
    border-top: 1px solid rgba(214, 165, 50, 0.08);
    background: #010101;
}

.sfa-section-heading {
    max-width: 850px;
    margin-bottom: clamp(34px, 5vw, 56px);
}

.sfa-section-heading-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.sfa-section-heading h2,
.sfa-answer-grid h2,
.sfa-field-grid h2,
.sfa-demo-intro h2 {
    margin: 0;
    color: var(--sfa-text);
    font-size: clamp(2rem, 4.2vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.sfa-section-heading p,
.sfa-field-grid > div > p,
.sfa-demo-intro p {
    color: var(--sfa-muted);
    font-size: 1.05rem;
}

.sfa-answer-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

.sfa-answer-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--sfa-border);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(214, 165, 50, 0.055),
            rgba(255, 255, 255, 0.012)
        ),
        #090909;
}

.sfa-answer-card p {
    margin: 0;
    color: #ddd5c7;
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.sfa-answer-card strong {
    color: var(--sfa-gold-light);
}

.sfa-feature-grid {
    display: grid;
    gap: 14px;
}

.sfa-feature-grid article {
    padding: 24px;
    border: 1px solid var(--sfa-border);
    border-radius: 18px;
    background: #090909;
}

.sfa-feature-grid h3 {
    margin: 0;
    color: var(--sfa-gold-light);
    font-size: 1.08rem;
}

.sfa-feature-grid p {
    margin: 9px 0 0;
    color: #bbb3a5;
}

.sfa-field-section {
    background:
        linear-gradient(
            180deg,
            #010101,
            #090806 46%,
            #010101
        );
}

.sfa-field-grid {
    display: grid;
    gap: clamp(32px, 6vw, 80px);
}

.sfa-field-points {
    display: grid;
    gap: 1px;
    border: 1px solid var(--sfa-border);
    background: var(--sfa-border);
}

.sfa-field-points article {
    display: grid;
    gap: 7px;
    padding: 22px;
    background: #080808;
}

.sfa-field-points strong {
    color: var(--sfa-gold-light);
}

.sfa-field-points span {
    color: #bcb4a6;
}

.sfa-pricing-grid {
    display: grid;
    gap: 18px;
}

.sfa-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--sfa-border);
    border-radius: 22px;
    background: #080808;
}

.sfa-price-card.is-recommended {
    border-color: rgba(242, 199, 92, 0.82);
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(214, 165, 50, 0.15),
            transparent 32%
        ),
        #0a0907;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

.sfa-plan-badge {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 10px;
    border: 1px solid rgba(242, 199, 92, 0.52);
    border-radius: 999px;
    background: rgba(214, 165, 50, 0.11);
    color: var(--sfa-gold-light);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sfa-plan-heading h3 {
    margin: 0;
    color: #fff8e8;
    font-size: 1.5rem;
}

.sfa-plan-heading p {
    min-height: 52px;
    margin: 8px 0 0;
    color: #aea698;
}

.sfa-plan-price {
    margin-top: 26px;
}

.sfa-plan-price strong {
    display: block;
    color: var(--sfa-gold-light);
    font-size: clamp(3.1rem, 6vw, 4.6rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.sfa-plan-price span {
    display: block;
    margin-top: 8px;
    color: #d7cfbf;
    font-weight: 700;
}

.sfa-minimum {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(214, 165, 50, 0.16);
    color: #bdb5a7;
}

.sfa-minimum strong {
    color: #fff4d5;
}

.sfa-plan-highlights {
    display: grid;
    gap: 10px;
    margin: 4px 0 28px;
    padding: 0;
    color: #d7d0c4;
    list-style: none;
}

.sfa-plan-highlights li {
    position: relative;
    padding-left: 18px;
}

.sfa-plan-highlights li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sfa-gold);
}

.sfa-price-card .button {
    margin-top: auto;
}

.sfa-discount-grid {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.sfa-discount-grid article {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(214, 165, 50, 0.22);
    border-radius: 16px;
    background: #080808;
}

.sfa-discount-value {
    min-width: 74px;
    color: var(--sfa-gold-light);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.sfa-discount-grid h3 {
    margin: 0;
    color: #fff7e5;
    font-size: 1rem;
}

.sfa-discount-grid p {
    margin: 5px 0 0;
    color: #bcb4a6;
}

.sfa-annual-table-wrap,
.sfa-compare-wrap {
    overflow-x: auto;
    margin-top: 28px;
    border: 1px solid var(--sfa-border);
    border-radius: 18px;
}

.sfa-annual-table,
.sfa-compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #070707;
}

.sfa-annual-table caption {
    padding: 18px;
    color: var(--sfa-gold-light);
    font-weight: 850;
    text-align: left;
}

.sfa-annual-table th,
.sfa-annual-table td,
.sfa-compare-table th,
.sfa-compare-table td {
    padding: 16px 18px;
    border-top: 1px solid rgba(214, 165, 50, 0.13);
    color: #d6cfc2;
    text-align: left;
    vertical-align: top;
}

.sfa-annual-table thead th,
.sfa-compare-table thead th {
    border-top: 0;
    background: #100e09;
    color: var(--sfa-gold-light);
}

.sfa-annual-table tbody th,
.sfa-compare-table tbody th {
    color: #fff7e7;
    font-weight: 800;
}

.sfa-compare-table td:not(:first-child) {
    text-align: center;
}

.sfa-compare-note {
    max-width: 900px;
    margin: 20px 0 0;
    color: #aaa294;
    font-size: 0.92rem;
}

.sfa-faq-list {
    max-width: 940px;
    margin: 0 auto;
    border-top: 1px solid rgba(214, 165, 50, 0.22);
}

.sfa-faq-list details {
    border-bottom: 1px solid rgba(214, 165, 50, 0.22);
}

.sfa-faq-list summary {
    position: relative;
    padding: 22px 46px 22px 0;
    color: #fff7e5;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

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

.sfa-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    color: var(--sfa-gold-light);
    font-size: 1.6rem;
    font-weight: 400;
    transform: translateY(-50%);
}

.sfa-faq-list details[open] summary::after {
    content: "−";
}

.sfa-faq-answer {
    padding: 0 46px 22px 0;
}

.sfa-faq-answer p {
    max-width: 800px;
    margin: 0;
    color: #bdb5a7;
}

.sfa-demo-section {
    scroll-margin-top: 160px;
}

.sfa-demo-intro {
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
}

/* Reuse the existing CTA form as a normal inline section on this page. */
.sfa-demo-section .hero-demo-overlay {
    position: static !important;
    inset: auto !important;
    width: min(100%, 760px) !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.sfa-demo-section .hero-demo-card {
    width: 100%;
}

.sfa-demo-section .hero-demo-back {
    display: none;
}

.sfa-demo-section .cta-copy {
    display: none;
}

@media (min-width: 720px) {
    .sfa-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sfa-discount-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .sfa-hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    }

    .sfa-answer-grid,
    .sfa-field-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .sfa-pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}

@media (min-width: 1080px) {
    .sfa-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 699px) {
    .sfa-breadcrumb {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .sfa-hero {
        padding-top: 34px;
    }

    .sfa-hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.7rem);
    }

    .sfa-hero-actions .button {
        width: 100%;
    }

    .sfa-proof-list {
        display: grid;
        gap: 8px;
    }

    .sfa-hero-media::before {
        border-radius: 20px;
    }

    .sfa-hero-media img,
    .sfa-image-placeholder {
        border-radius: 19px;
    }

    .sfa-image-placeholder {
        min-height: 280px;
    }

    .sfa-jump-nav {
        top: 72px;
    }

    .sfa-section {
        padding: 64px 0;
    }

    .sfa-plan-heading p {
        min-height: 0;
    }

    .sfa-discount-grid article {
        align-items: flex-start;
    }

    .sfa-annual-table-wrap,
    .sfa-compare-wrap {
        margin-right: -16px;
        margin-left: -16px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }
}

/* =========================================================
   SFA HERO — HOMEPAGE-STYLE IMAGE STAGE + HERO DEMO
   ========================================================= */

.sfa-hero {
    padding: 0;
    background: #010101;
}

.sfa-hero-stage {
    position: relative;
    width: min(calc(100% - 32px), 1440px);
    aspect-ratio: 16 / 9;
    margin-inline: auto;
    overflow: hidden;
    background-color: #010101;
    background-image: url("/sales-force-automation/maeverick-sales.jpg") !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.sfa-hero-stage .hero-demo-overlay {
    position: absolute !important;
    z-index: 12;
    top: 50%;
    right: clamp(18px, 2.4vw, 34px);
    bottom: auto;
    left: auto;
    width: min(36%, 470px);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(18px, -50%);
    transition:
        opacity 240ms ease,
        visibility 240ms ease,
        transform 300ms ease;
}

.sfa-hero-stage.is-demo-open .hero-demo-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.sfa-hero-stage .hero-demo-card {
    max-height: calc(100% - 28px);
    overflow-y: auto;
}

/* =========================================================
   PRICING-ORIGIN DEMO FORM
   ========================================================= */

.sfa-pricing-demo-section {
    scroll-margin-top: 150px;
    padding: clamp(48px, 6vw, 82px) 0;
    border-top: 1px solid rgba(214, 165, 50, 0.18);
    border-bottom: 1px solid rgba(214, 165, 50, 0.12);
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(214, 165, 50, 0.10),
            transparent 38%
        ),
        #010101;
}

.sfa-pricing-demo-section[hidden] {
    display: none !important;
}

.sfa-pricing-demo-intro {
    max-width: 820px;
    margin: 0 auto 26px;
    text-align: center;
}

.sfa-pricing-demo-intro h2 {
    margin: 0;
    color: var(--sfa-text);
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.sfa-pricing-demo-intro h2 span {
    color: var(--sfa-gold-light);
}

.sfa-pricing-demo-intro p {
    color: var(--sfa-muted);
}

.sfa-pricing-demo-section .hero-demo-overlay {
    position: static !important;
    inset: auto !important;
    width: min(100%, 760px) !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.sfa-pricing-demo-section .hero-demo-card {
    width: 100%;
}

.sfa-pricing-demo-section .cta-copy {
    display: none;
}

.sfa-pricing-demo-section .hero-demo-back {
    display: none !important;
}

@media (max-width: 899px) {
    .sfa-hero-stage .hero-demo-overlay {
        width: min(42%, 430px);
    }
}

@media (max-width: 699px) {
    .sfa-hero-stage {
        width: 100%;
        min-height: min(78vh, 760px);
        aspect-ratio: auto;
        background-image: url("/sales-force-automation/maeverick-sales.jpg") !important;
        background-size: contain;
        background-position: center top;
    }

    .sfa-hero-stage .hero-demo-overlay {
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        transform: translateX(100%);
        opacity: 1;
        visibility: hidden;
    }

    .sfa-hero-stage.is-demo-open .hero-demo-overlay {
        visibility: visible;
        transform: translateX(0);
    }

    .sfa-hero-stage .hero-demo-card {
        width: min(calc(100% - 24px), 520px);
        max-height: calc(100% - 24px);
        margin: 12px auto;
    }
}

/* =========================================================
   SFA TAILORED PROPOSAL WIZARD
   ========================================================= */

.sfa-proposal-section {
    scroll-margin-top: 150px;
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(214, 165, 50, 0.09),
            transparent 32%
        ),
        #010101;
}

.sfa-proposal-layout {
    display: grid;
    gap: clamp(32px, 6vw, 78px);
    align-items: start;
}

.sfa-proposal-copy {
    max-width: 650px;
}

.sfa-proposal-copy h2 {
    margin: 0;
    color: var(--sfa-text);
    font-size: clamp(2rem, 4.4vw, 4.35rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.sfa-proposal-copy > p {
    color: var(--sfa-muted);
    font-size: 1.06rem;
}

.sfa-proposal-benefits {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    color: #d2cabb;
    list-style: none;
}

.sfa-proposal-benefits li {
    position: relative;
    padding-left: 20px;
}

.sfa-proposal-benefits li::before {
    content: "";
    position: absolute;
    top: 0.66em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sfa-gold);
    box-shadow: 0 0 12px rgba(214, 165, 50, 0.34);
}

.sfa-wizard-card {
    width: 100%;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid rgba(214, 165, 50, 0.32);
    border-radius: 24px;
    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.025),
            rgba(214, 165, 50, 0.025)
        ),
        #080808;
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.34);
}

.sfa-wizard-progress {
    margin-bottom: clamp(28px, 4vw, 42px);
}

.sfa-wizard-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    color: #b8af9f;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sfa-wizard-progress-meta span:last-child {
    color: var(--sfa-gold-light);
    text-align: right;
}

.sfa-wizard-progress-track {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #292720;
}

.sfa-wizard-progress-track span {
    width: 33.333%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #b77d0d,
        var(--sfa-gold-light)
    );
    transition: width 260ms ease;
}

.sfa-wizard-step-heading {
    margin-bottom: 30px;
    text-align: center;
}

.sfa-wizard-step-heading h3 {
    max-width: 680px;
    margin: 0 auto;
    color: #fff8e8;
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.sfa-wizard-step-heading p {
    margin: 10px auto 0;
    color: #bdb4a5;
}

.sfa-range-fieldset,
.sfa-feature-picker,
.sfa-contact-method {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.sfa-range-fieldset + .sfa-range-fieldset {
    margin-top: 46px;
}

.sfa-range-fieldset legend,
.sfa-contact-method legend {
    width: 100%;
    margin-bottom: 22px;
    color: #fff5df;
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    font-weight: 820;
    text-align: center;
}

.sfa-range-selector {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
}

.sfa-range-line,
.sfa-range-progress {
    position: absolute;
    right: calc(12.5% - 1px);
    bottom: 15px;
    left: calc(12.5% - 1px);
    height: 6px;
    border-radius: 999px;
}

.sfa-range-line {
    z-index: 0;
    background: #34322c;
}

.sfa-range-progress {
    z-index: 1;
    right: auto;
    width: 0;
    background: linear-gradient(
        90deg,
        #ad7309,
        var(--sfa-gold-light)
    );
    transition: width 240ms ease;
}

.sfa-range-option {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 18px;
    cursor: pointer;
    user-select: none;
}

.sfa-range-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.sfa-range-label {
    color: #eee5d5;
    font-size: clamp(0.82rem, 1.35vw, 1rem);
    font-weight: 820;
    white-space: nowrap;
    transition: color 180ms ease;
}

.sfa-range-node {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 6px solid #34322c;
    border-radius: 50%;
    background: #0a0a09;
    box-shadow: 0 0 0 2px #0a0a09;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.sfa-range-option:hover .sfa-range-node,
.sfa-range-option:focus-within .sfa-range-node {
    border-color: #6f5722;
}

.sfa-range-option input:checked ~ .sfa-range-label {
    color: var(--sfa-gold-light);
}

.sfa-range-option input:checked ~ .sfa-range-node {
    border-color: var(--sfa-gold-light);
    background: var(--sfa-gold);
    box-shadow:
        0 0 0 3px #0a0a09,
        0 0 22px rgba(214, 165, 50, 0.32);
    transform: scale(1.04);
}

.sfa-range-option input:checked ~ .sfa-range-node::after {
    content: "✓";
    color: #090704;
    font-size: 0.82rem;
    font-weight: 950;
}

.sfa-feature-picker-grid {
    display: grid;
    gap: 12px;
}

.sfa-feature-choice {
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 46px 14px 16px;
    border: 1px solid rgba(214, 165, 50, 0.18);
    border-radius: 10px;
    background: #11110f;
    color: #eee6d7;
    cursor: pointer;
    transition:
        border-color 170ms ease,
        background 170ms ease,
        box-shadow 170ms ease,
        transform 170ms ease;
}

.sfa-feature-choice:hover,
.sfa-feature-choice:focus-within {
    border-color: rgba(242, 199, 92, 0.52);
    background: #15130e;
}

.sfa-feature-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.sfa-feature-choice::before {
    content: "";
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border: 2px solid #5c584f;
    border-radius: 5px;
    background: #080808;
}

.sfa-feature-choice:has(input:checked) {
    border-color: var(--sfa-gold);
    background:
        linear-gradient(
            135deg,
            rgba(214, 165, 50, 0.12),
            rgba(214, 165, 50, 0.035)
        ),
        #11100d;
    box-shadow: inset 3px 0 0 var(--sfa-gold);
}

.sfa-feature-choice:has(input:checked)::before {
    content: "✓";
    border-color: var(--sfa-gold-light);
    background: var(--sfa-gold);
    color: #080604;
    font-size: 0.75rem;
    font-weight: 950;
}

.sfa-feature-choice-text {
    font-weight: 790;
}

.sfa-feature-info {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid #5d594f;
    border-radius: 50%;
    color: #aaa294;
    font-family: Georgia, serif;
    font-size: 0.78rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.sfa-feature-info:hover,
.sfa-feature-info:focus-visible {
    border-color: var(--sfa-gold);
    color: var(--sfa-gold-light);
    outline: 0;
}

.sfa-contact-grid {
    display: grid;
    gap: 14px;
}

.sfa-wizard-card .form-field label {
    color: #e4c268;
    font-weight: 800;
}

.sfa-wizard-card .form-field input,
.sfa-wizard-card .form-field select {
    width: 100%;
    min-height: 48px;
    color: #17130c;
    border: 1px solid rgba(214, 165, 50, 0.5);
    border-radius: 9px;
    background: #fffaf0;
}

.sfa-wizard-card .form-field input:focus,
.sfa-wizard-card .form-field select:focus {
    outline: 3px solid rgba(214, 165, 50, 0.17);
    border-color: var(--sfa-gold-light);
}

.sfa-contact-method {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.sfa-contact-method legend {
    margin-bottom: 10px;
    text-align: left;
}

.sfa-contact-method label {
    position: relative;
    cursor: pointer;
}

.sfa-contact-method input {
    position: absolute;
    opacity: 0;
}

.sfa-contact-method span {
    min-width: 110px;
    display: block;
    padding: 11px 16px;
    border: 1px solid rgba(214, 165, 50, 0.26);
    border-radius: 999px;
    background: #0e0e0d;
    color: #d8d0c1;
    font-weight: 760;
    text-align: center;
}

.sfa-contact-method input:checked + span {
    border-color: var(--sfa-gold-light);
    background: var(--sfa-gold);
    color: #090704;
}

.sfa-proposal-turnstile {
    margin-top: 22px;
    overflow: hidden;
    border-radius: 10px;
}

.sfa-wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.sfa-wizard-actions-end {
    justify-content: flex-end;
}

.sfa-wizard-actions .button {
    min-width: 132px;
}

.sfa-wizard-error {
    margin: 22px 0 0;
    padding: 11px 14px;
    border: 1px solid rgba(251, 113, 133, 0.35);
    border-radius: 9px;
    background: rgba(159, 18, 57, 0.18);
    color: #ffe4e6;
    font-size: 0.9rem;
}

.sfa-wizard-success {
    padding: clamp(18px, 4vw, 36px);
    text-align: center;
}

.sfa-wizard-success h3 {
    margin: 0;
    color: #fff8e8;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1.08;
}

.sfa-wizard-success p {
    max-width: 650px;
    margin: 16px auto 0;
    color: #c3baab;
}

@media (min-width: 760px) {
    .sfa-feature-picker-grid,
    .sfa-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .sfa-proposal-layout {
        grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
    }

    .sfa-proposal-copy {
        position: sticky;
        top: 160px;
    }
}

@media (max-width: 599px) {
    .sfa-wizard-card {
        padding: 20px 16px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .sfa-proposal-section .container {
        padding-right: 0;
        padding-left: 0;
    }

    .sfa-proposal-copy {
        padding-right: 16px;
        padding-left: 16px;
    }

    .sfa-range-fieldset legend {
        text-align: left;
    }

    .sfa-range-label {
        font-size: 0.73rem;
    }

    .sfa-range-node {
        width: 30px;
        height: 30px;
        border-width: 5px;
    }

    .sfa-range-line,
    .sfa-range-progress {
        bottom: 12px;
        height: 5px;
    }

    .sfa-wizard-actions {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin-right: -16px;
        margin-bottom: -20px;
        margin-left: -16px;
        padding: 14px 16px 20px;
        border-top: 1px solid rgba(214, 165, 50, 0.16);
        background: rgba(8, 8, 8, 0.96);
        backdrop-filter: blur(12px);
    }

    .sfa-wizard-actions .button {
        min-width: 0;
        flex: 1;
    }
}



/* Product Hunt + self-hosted SFA video */
.sfa-producthunt-launch { display: none !important; }

.sfa-launch-media {
    border-top: 1px solid rgba(214,165,50,.12);
    border-bottom: 1px solid rgba(214,165,50,.16);
    background:
        radial-gradient(circle at 72% 20%, rgba(214,165,50,.08), transparent 34%),
        #010101;
}

.sfa-launch-media-grid {
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding-top: clamp(38px, 5vw, 66px);
    padding-bottom: clamp(38px, 5vw, 66px);
}

.sfa-launch-media-copy { max-width: 620px; }

.sfa-launch-media-copy h2 {
    margin: 0;
    color: var(--sfa-text);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.sfa-launch-media-copy > p {
    margin: 18px 0 0;
    color: var(--sfa-muted);
    font-size: 1.04rem;
}

.sfa-launch-media-note {
    padding-left: 16px;
    border-left: 2px solid var(--sfa-gold);
    color: #b9b1a3 !important;
    font-size: .92rem !important;
}

.sfa-launch-video-shell {
    position: relative;
    width: min(100%, 390px);
    justify-self: center;
    overflow: hidden;
    border: 1px solid rgba(214,165,50,.32);
    border-radius: 22px;
    background: #050505;
    box-shadow: 0 26px 72px rgba(0,0,0,.48);
}

.sfa-launch-video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 720px;
    object-fit: cover;
    background: #000;
}

.sfa-producthunt-video-badge {
    position: absolute;
    z-index: 4;
    top: 14px;
    left: 14px;
    display: inline-flex;
    max-width: calc(100% - 28px);
    border-radius: 9px;
    line-height: 0;
    box-shadow: 0 10px 28px rgba(0,0,0,.42);
}

.sfa-producthunt-video-badge img {
    display: block;
    width: min(250px, 100%);
    height: auto;
}

@media (min-width: 900px) {
    .sfa-launch-media-grid {
        grid-template-columns: minmax(0,.9fr) minmax(320px,.7fr);
    }

    .sfa-launch-video-shell { justify-self: end; }
}

@media (max-width: 899px) {
    .sfa-launch-media-copy {
        margin-inline: auto;
        text-align: center;
    }

    .sfa-launch-media-note {
        display: inline-block;
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 480px) {
    .sfa-launch-video-shell {
        width: min(100%, 360px);
        border-radius: 18px;
    }

    .sfa-producthunt-video-badge {
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }

    .sfa-producthunt-video-badge img {
        width: min(220px, 100%);
    }
}


/* Final Product Hunt badge position: lower-left of video */
.sfa-producthunt-video-badge {
    top: auto !important;
    bottom: 62px !important;
    left: 14px !important;
}

@media (max-width: 480px) {
    .sfa-producthunt-video-badge {
        top: auto !important;
        bottom: 58px !important;
        left: 10px !important;
    }
}
