/* CSS Variables — Quoteroo brand */
:root {
    --qr-yellow: #fbc02d;
    --qr-yellow-soft: #fff3c4;
    --qr-teal: #2aa7a5;
    --qr-teal-soft: #dff7f5;
    --qr-navy: #0f172a;
    --qr-muted: #5b6b82;
    --qr-bg: #f8f6f1;
    --qr-card: #ffffff;

    /* Legacy aliases (shared pages) */
    --bg-page: var(--qr-bg);
    --bg-card: var(--qr-card);
    --text-primary: var(--qr-navy);
    --text-secondary: var(--qr-muted);
    --accent-yellow: var(--qr-yellow);
    --accent-yellow-hover: #e6a800;
    --accent-teal: var(--qr-teal);
    --accent-teal-soft: rgba(42, 167, 165, 0.14);
    --border-light: rgba(15, 23, 42, 0.09);
    --border-input: #d1d5db;
    --border-focus: var(--qr-yellow);
    --shadow-soft: 0 20px 48px rgba(15, 23, 42, 0.07);
    --shadow-hero: 0 24px 64px rgba(15, 23, 42, 0.14);
    --shadow-card: 0 8px 22px rgba(15, 23, 42, 0.07);
    --radius-card: 20px;
    --section-gap: clamp(2.25rem, 4.5vw, 3.25rem);
    --container-max: 1080px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    background-color: var(--qr-bg);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.home-page {
    background-color: var(--qr-bg);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    width: 100%;
}

.container {
    width: min(var(--container-max), calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
    order: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.heading {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.subheading {
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 400px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefits-list li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
    opacity: 0.9;
}

.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1;
}

.target-audience {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 400px;
}

.input-group {
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--bg-page);
    border: 1px solid var(--border-input);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.email-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(249, 217, 102, 0.1);
}

.email-input.error {
    border-color: #EF4444;
}

.email-input.error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Right Column */
.right-column {
    display: block;
    order: 2;
}

.footer {
    padding: 2rem 1rem 2.25rem;
    border-top: 1px solid var(--border-light);
    background-color: rgba(255, 255, 255, 0.72);
}

.footer.footer--home {
    background-color: var(--qr-bg);
}

.footer-inner,
.footer-content {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.footer--home .copyright {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner,
    .footer-content {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .footer--home .copyright {
        text-align: left;
    }
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 20rem;
}

.footer-links {
    display: flex;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-end;
    }
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--qr-teal);
}

/* Homepage */
.home-page {
    overflow-x: hidden;
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) {
    .home-page {
        padding-bottom: 0;
    }
}

.main-content--home {
    display: block;
    flex: 1;
    width: 100%;
    padding: 1rem 0 2.5rem;
}

.home-stack {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.site-header {
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header .container.header-inner {
    margin-top: 1rem;
    padding: 0.55rem 1rem 0.55rem 1.15rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 999px;
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-content {
    min-width: 0;
}

.menu-toggle {
    display: none;
    line-height: 1;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    display: block;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--qr-teal);
    outline-offset: 3px;
    border-radius: 6px;
}

.menu-backdrop {
    display: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: var(--qr-teal-soft);
    color: var(--qr-navy);
}

@media (max-width: 700px) {
    .site-header {
        width: calc(100% - 24px);
        max-width: none;
        margin: 12px auto 0;
        padding: 0;
        position: relative;
        z-index: 1001;
        border-radius: 20px;
    }

    .site-header .container.header-inner {
        margin-top: 0;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        border-radius: 20px;
        overflow: visible;
        padding: 0;
    }

    .header-content {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        flex-wrap: nowrap;
        position: relative;
        box-sizing: border-box;
    }

    .logo-section {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1;
        white-space: normal;
    }

    .site-header .logo {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 18px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.06);
        color: #0f172a;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }

    .menu-backdrop.open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: transparent;
        cursor: default;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        width: min(260px, calc(100vw - 24px));
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
        border: 1px solid rgba(15, 23, 42, 0.08);
        padding: 12px;
        display: none;
        flex-direction: column;
        gap: 4px;
        z-index: 1;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        box-sizing: border-box;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav .nav-link {
        display: block;
        padding: 12px 14px;
        border-radius: 12px;
        text-align: left;
        text-decoration: none;
        color: #0f172a;
        font-weight: 600;
        white-space: nowrap;
    }

    .site-nav .nav-link:hover {
        background: rgba(42, 167, 165, 0.08);
        color: var(--qr-navy);
    }

    .hero-visual-card,
    .hero-image-wrapper {
        padding: 16px;
    }

    .hero-visual {
        padding: 0.25rem 0;
    }
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--qr-yellow-soft), rgba(223, 247, 245, 0.85));
    border: 1px solid rgba(42, 167, 165, 0.12);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: 2.5rem 0 2.25rem;
    position: relative;
    background:
        radial-gradient(ellipse 75% 60% at 92% 22%, rgba(251, 192, 45, 0.13), transparent 58%),
        radial-gradient(ellipse 60% 48% at 4% 78%, rgba(42, 167, 165, 0.09), transparent 52%),
        var(--qr-bg);
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-copy {
    min-width: 0;
    max-width: 32rem;
    position: relative;
    z-index: 1;
}

.hero-headline {
    margin: 0 0 1.15rem;
    font-size: clamp(1.75rem, 4.2vw, 2.85rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.hero-sub {
    margin: 0 0 1rem;
    font-size: 1.03125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 26rem;
}

.audience-eyebrow--inline {
    display: inline-block;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--qr-teal);
    background: transparent;
    border: 1px solid rgba(42, 167, 165, 0.28);
}

.problem-context {
    margin: 1rem auto 0;
    max-width: 28rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
    font-weight: 500;
}

.download-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.download-buttons--hero {
    justify-content: flex-start;
    margin-bottom: 12px;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

.store-badge-link:focus-visible {
    outline: 2px solid var(--qr-teal);
    outline-offset: 4px;
    border-radius: 4px;
}

.store-badge-link:hover {
    opacity: 0.92;
}

.store-button img {
    transition: transform 0.15s ease;
}

.store-button:hover img {
    transform: scale(1.05);
}

.store-badge-frame {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-badge-frame img {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

.trust-line {
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 0.5rem;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -12px -8px -20px -12px;
    background: linear-gradient(135deg, rgba(251, 192, 45, 0.2), rgba(42, 167, 165, 0.14));
    border-radius: 28px;
    transform: rotate(-1.5deg);
    z-index: 0;
}

.hero-visual-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 580px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-hero);
    background: var(--qr-card);
    transform: rotate(1.5deg);
}

.hero-product-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.section {
    padding: 0;
}

.section-intro {
    margin-bottom: 1.5rem;
}

.section-intro--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 34rem;
}

.section-title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.022em;
    color: var(--text-primary);
}

.section-title--accent {
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title--accent::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 3px;
    margin-top: 0.55rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--qr-teal), var(--qr-yellow));
}

.section-intro--center .section-title--accent::after {
    margin-left: auto;
    margin-right: auto;
}

.quote-example-intro .section-title--accent::after {
    margin-left: 0;
    margin-right: auto;
}

.testimonial-section-title.section-title--accent::after {
    margin-left: auto;
    margin-right: auto;
}

.section-title--in-card {
    margin-bottom: 0.75rem;
}

.section-lead {
    margin: 0 auto;
    font-size: 1.03125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 32rem;
}

.problem-section .section-intro--center {
    max-width: 34rem;
}

.value-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.value-card {
    position: relative;
    background: var(--qr-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 1.2rem 1.15rem;
    box-shadow: var(--shadow-card);
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 0.95rem;
    align-items: start;
}

.value-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
    grid-row: span 2;
}

.value-card-icon--yellow {
    background: var(--qr-yellow-soft);
    border: 2px solid rgba(251, 192, 45, 0.35);
    color: var(--qr-navy);
}

.value-card-icon--teal {
    background: var(--qr-teal-soft);
    border: 2px solid rgba(42, 167, 165, 0.3);
    color: var(--qr-teal);
}

.value-card-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    grid-column: 2;
}

.value-card-title::after {
    display: none;
}

.value-card-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
    grid-column: 2;
}

.problem-section {
    margin-bottom: 0;
}

.workflow-section {
    border-top: none;
    padding-top: 0;
    position: relative;
}

.workflow-section::before {
    content: "";
    display: block;
    width: 100%;
    max-width: 6rem;
    height: 3px;
    margin: 0 auto 2.5rem;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--qr-teal), var(--qr-yellow), transparent);
    opacity: 0.45;
}

.workflow-section .section-intro--center {
    max-width: 31rem;
}

.workflow-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 22rem;
    position: relative;
}

.workflow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1rem 1.25rem 0;
    padding-left: 0.25rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.35;
    box-shadow: none;
}

.workflow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 2.75rem;
    bottom: -0.35rem;
    width: 2px;
    background: linear-gradient(180deg, var(--qr-teal), var(--qr-yellow-soft));
    border-radius: 2px;
    opacity: 0.55;
}

.workflow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 50%;
    background: var(--qr-yellow);
    color: var(--qr-navy);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(251, 192, 45, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.trial-section {
    margin-top: 0;
}

.trial-strip {
    text-align: center;
    padding: 1rem 0.5rem;
    max-width: 32rem;
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

.trial-title {
    margin: 0 0 0.25rem;
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.trial-body {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.quote-example-section {
    margin-top: 0;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
}

.quote-example-section .container {
    position: relative;
    z-index: 1;
}

.quote-example-split {
    display: grid;
    gap: 2.25rem;
    align-items: start;
}

.quote-example-intro {
    text-align: center;
}

.quote-example-intro .section-title {
    margin-bottom: 0.65rem;
}

.quote-example-lead {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-secondary);
    font-weight: 500;
}

.quote-example-blurb {
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 30rem;
}

.quote-example-preview {
    width: 100%;
    max-width: 100%;
}

.quote-view-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--qr-teal);
    margin: 0 0 2px;
}

.quote-label {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 10px;
}

.quote-meta {
    font-size: 12px;
    color: var(--qr-muted);
    margin-top: 4px;
}

.quote-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: var(--qr-card);
    border-radius: 12px;
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--qr-navy);
    position: relative;
}

.quote-card--document {
    background: #faf8f5;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-top: 3px solid var(--qr-teal);
    padding-top: 2.5rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 6px 22px rgba(15, 23, 42, 0.055);
}

.quote-status-badge {
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 0.2rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--qr-teal);
    background: var(--qr-teal-soft);
    border: 1px solid rgba(42, 167, 165, 0.25);
    border-radius: 6px;
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0;
}

.quote-header > div:first-child p {
    margin: 4px 0 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.quote-company {
    text-align: right;
}

.quote-customer {
    margin-top: 14px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 0.9375rem;
}

.quote-customer p {
    margin: 0.35rem 0 0;
}

.quote-customer p:first-child {
    margin-top: 0;
}

.quote-items {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.quote-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 6px 0;
    font-size: 0.9375rem;
}

.quote-row span:last-child {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.quote-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 18px;
    margin-top: 12px;
}

.quote-total strong {
    font-size: 22px;
    color: var(--qr-navy);
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.quote-example-section .quote-card .btn-primary {
    flex: 1;
    min-width: 8rem;
    background: var(--qr-yellow);
    border: none;
    padding: 10px 14px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--qr-navy);
    cursor: default;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(251, 192, 45, 0.28);
}

.quote-example-section .quote-card .btn-secondary {
    flex: 1;
    min-width: 8rem;
    background: var(--qr-bg);
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--qr-muted);
    cursor: default;
    font-family: inherit;
}

.testimonial-section {
    padding: 44px 16px 52px;
    position: relative;
}

.testimonial-section-title {
    text-align: center;
    margin-bottom: 0;
}

.testimonial-sub {
    text-align: center;
    color: var(--qr-muted);
    margin-top: 6px;
    margin-bottom: 24px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    margin: 0;
    background: var(--qr-card);
    border-radius: 14px;
    padding: 1.3rem 1.15rem;
    text-align: left;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.068);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-top: 3px solid var(--qr-yellow);
}

.testimonial-card:nth-child(2) {
    border-top-color: var(--qr-teal);
    box-shadow: 0 9px 24px rgba(15, 23, 42, 0.076);
}

.testimonial-card:nth-child(3) {
    border-top-color: var(--qr-teal);
    box-shadow: 0 6px 19px rgba(15, 23, 42, 0.064);
}

.testimonial-card:nth-child(4) {
    border-top-color: var(--qr-yellow);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.078);
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 6px;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--qr-navy);
    background: var(--qr-yellow-soft);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.testimonial-card:nth-child(2) .testimonial-avatar,
.testimonial-card:nth-child(3) .testimonial-avatar {
    background: var(--qr-teal-soft);
}

.testimonial-stars {
    color: var(--qr-yellow);
    font-size: 13px;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

.testimonial-stars--45 {
    letter-spacing: 0.01em;
    opacity: 0.95;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.55;
    color: var(--qr-navy);
    margin: 0;
    font-weight: 500;
}

.testimonial-author {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--qr-muted);
}

.final-cta {
    max-width: min(980px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fdd54a 0%, var(--qr-yellow) 42%, #ffe566 100%);
    border: 1px solid rgba(180, 130, 0, 0.2);
    border-radius: 22px;
    padding: 44px 26px;
    box-shadow:
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.final-cta-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.45rem, 3.6vw, 1.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--qr-navy);
}

.final-cta-text {
    margin: 0 0 1.2rem;
    font-size: 1.03125rem;
    line-height: 1.55;
    color: rgba(15, 23, 42, 0.78);
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

.final-cta::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: min(55vw, 320px);
    height: min(55vw, 320px);
    background: radial-gradient(circle, rgba(42, 167, 165, 0.35), transparent 65%);
    pointer-events: none;
}

.final-cta::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 62%);
    pointer-events: none;
}

.final-cta-title,
.final-cta-text,
.final-cta .download-buttons,
.final-trust-line {
    position: relative;
    z-index: 1;
}

.final-cta .download-buttons {
    margin-top: 0;
}

.final-trust-line {
    margin: 1.35rem 0 0;
    color: rgba(15, 23, 42, 0.58);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
}

.mobile-download-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-download-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-download-bar a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.mobile-download-bar a:active {
    opacity: 0.88;
}

.mobile-download-bar a:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.mobile-download-bar img {
    max-height: 56px;
    width: auto;
    display: block;
}

@media (min-width: 900px) {
    .quote-example-split {
        grid-template-columns: minmax(300px, 1fr) minmax(260px, 400px);
        gap: clamp(2.75rem, 5vw, 4rem);
        align-items: center;
    }

    .quote-example-intro {
        text-align: left;
        position: relative;
        padding-left: 1.15rem;
    }

    .quote-example-intro::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.2rem;
        bottom: 0.15rem;
        width: 3px;
        border-radius: 2px;
        background: linear-gradient(180deg, var(--qr-teal), rgba(42, 167, 165, 0.25));
    }

    .quote-example-intro .section-title--accent::after {
        margin-left: 0;
        margin-right: auto;
    }

    .quote-example-blurb {
        margin-left: 0;
        margin-right: 0;
        max-width: 38rem;
    }

    .quote-view-label,
    .quote-label {
        text-align: right;
        padding-right: 2px;
    }

    .workflow-steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem 0.15rem;
        max-width: 920px;
        padding-top: 0.5rem;
    }

    .workflow-steps::before {
        content: "";
        position: absolute;
        top: 1.35rem;
        left: 9%;
        right: 9%;
        height: 3px;
        border-radius: 99px;
        background: linear-gradient(90deg, rgba(251, 192, 45, 0.65), var(--qr-teal), rgba(251, 192, 45, 0.55));
        z-index: 0;
    }

    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.25rem 0.35rem 0;
        gap: 0.65rem;
    }

    .workflow-step:not(:last-child)::after {
        display: none;
    }

    .workflow-step-num {
        margin-bottom: 0.15rem;
    }
}

/* Testimonial stagger: desktop grid only — intentional tilt + offset */
@media (min-width: 901px) {
    .testimonial-card {
        transform-origin: center center;
    }

    .testimonial-card:nth-child(1) {
        transform: translateY(0) rotate(-1.5deg);
    }

    .testimonial-card:nth-child(2) {
        transform: translateY(8px) rotate(1deg);
    }

    .testimonial-card:nth-child(3) {
        transform: translateY(4px) rotate(1deg);
    }

    .testimonial-card:nth-child(4) {
        transform: translateY(10px) rotate(-1.5deg);
    }
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 0 2.25rem;
    }

    .hero-copy {
        max-width: none;
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-visual::before,
    .hero-visual-card {
        transform: none;
    }

    .workflow-steps {
        max-width: 28rem;
        margin: 0 auto;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:nth-child(1),
    .testimonial-card:nth-child(2),
    .testimonial-card:nth-child(3),
    .testimonial-card:nth-child(4) {
        transform: none;
    }
}

@media (max-width: 599px) {
    .main-content--home {
        padding-top: 0.75rem;
        padding-bottom: 2rem;
    }

    .hero-section {
        padding: 1rem 0 1.75rem;
    }

    .home-stack {
        gap: 1.75rem;
    }

    .site-header {
        padding-top: 0;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .download-buttons {
        gap: 0.625rem;
    }

    .testimonial-section {
        padding: 40px 12px;
    }

    .testimonial-card {
        padding: 22px;
    }

    .testimonial-quote {
        font-size: 16px;
    }

    .value-card {
        padding: 1.1rem 0.95rem;
    }

    .final-cta {
        padding: 2rem 1.25rem;
    }

    .final-cta-title {
        font-size: 1.45rem;
    }
}

@media (min-width: 600px) {
    .value-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.125rem;
    }

    .value-card {
        text-align: left;
    }

    .final-cta .download-buttons {
        flex-wrap: nowrap;
    }
}

@media (min-width: 768px) {
    .main-content:not(.main-content--home) {
        padding: 48px 32px;
    }

    .heading {
        font-size: 48px;
        margin-bottom: 24px;
    }

    .subheading {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .benefits-list {
        margin-bottom: 32px;
        gap: 12px;
    }

    .target-audience {
        margin-bottom: 32px;
    }

    .trial-strip {
        padding: 1rem 0;
    }

    .trial-title {
        font-size: 1.125rem;
    }

    .final-cta-title {
        font-size: 1.85rem;
        margin-bottom: 0.75rem;
    }
}

.scroll-top-button {
    position: fixed;
    right: 18px;
    bottom: 92px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 999;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.scroll-top-button.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-button:focus-visible {
    outline: 2px solid var(--qr-teal);
    outline-offset: 3px;
}

@media (min-width: 701px) {
    .mobile-download-bar {
        display: none !important;
    }

    .scroll-top-button {
        bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .main-content:not(.main-content--home) {
        padding: 96px 48px;
    }

    .content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .left-column {
        order: 1;
    }

    .right-column {
        order: 2;
    }

    .site-header {
        padding: 1.25rem 0 0;
    }

    .main-content--home {
        padding: 1.25rem 0 4rem;
    }

    .hero-section {
        padding: 4.5rem 0 5rem;
    }
}

/* Privacy Page Styles */
.privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.privacy-header {
    margin-bottom: 32px;
}

.privacy-header .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.privacy-card {
    background-color: var(--bg-card);
    border-radius: 32px;
    padding: 48px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.privacy-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.privacy-updated {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.privacy-heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.privacy-subheading {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0 0 0;
}

.privacy-list {
    margin: 8px 0 0 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.privacy-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.privacy-list li:last-child {
    margin-bottom: 0;
}

.privacy-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.privacy-link {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.privacy-link:hover {
    color: var(--accent-yellow);
}

.privacy-back {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.privacy-back-link {
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privacy-back-link:hover {
    color: var(--accent-yellow);
}

.privacy-link-small {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.privacy-link-small:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .privacy-card {
        padding: 48px;
    }
    
    .privacy-title {
        font-size: 48px;
    }
}