* {
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-soft: #f7faf8;

    --text: #2f2a26;
    --text-soft: #6a615a;
    --heading: #2f3e37;

    --sage-deep: #2f5d50;
    --sage: #5f8f7d;
    --sage-soft: #dde7e1;

    --rose: #a86471;
    --rose-soft: #ead7db;

    --blue-soft: #e4ecef;

    --surface: rgba(255, 255, 255, 0.97);

    --border: #e8ecea;

    --shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);

    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 16px;

    --container: 1140px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

main {
    overflow: hidden;
}

/* Topbar + Header */

.topbar {
    background: #2f5d50; /* deep sage */
    color: #ffffff;
    font-size: 16px;
    border-bottom: none;
}

.topbar a {
    color: #ffffff;
}

.topbar a:hover {
    opacity: 0.85;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eceff1;
    padding: 4px 0;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 0; /* 🔥 remove vertical padding */
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0; /* 🔥 removes extra vertical whitespace */
}

.logo img {
    height: 80px;
    width: auto;
    display: block; /* 🔥 prevents inline spacing issues */
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-soft);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover {
    color: var(--sage-deep);
}

.site-nav .nav-cta {
    background: var(--sage-deep);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.site-nav .nav-cta:hover {
    color: #ffffff;
    background: #2c4f45;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
    transform: translateY(-1px);
}

/* Typography */

h1, h2, h3, h4, h5, h6 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--heading);
    margin-top: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose);
    opacity: 0.9;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--sage-deep);
    color: #fff;
    border: none;
    box-shadow: 0 10px 22px rgba(47, 93, 80, 0.18);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #254c41;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(47, 93, 80, 0.22);
}

.btn-secondary {
    background: #ffffff;
    color: var(--sage-deep);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-soft);
}

.btn-outline-dark {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid rgba(53, 93, 81, 0.2);
    color: var(--sage-deep);
    background: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-outline-dark:hover {
    background: var(--sage-deep);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero */

.hero {
    position: relative;
    padding: 96px 0 78px;
    min-height: 700px;
    background-image:
        linear-gradient(
            90deg,
            rgba(248, 251, 249, 0.92) 0%,
            rgba(248, 251, 249, 0.84) 42%,
            rgba(248, 251, 249, 0.48) 68%,
            rgba(248, 251, 249, 0.26) 100%
        ),
        url("/buynsellwithjen/assets/images/hero.jpg");
    background-position: left top, center right;
    background-size: auto, cover;
    background-repeat: repeat, no-repeat;
    color: var(--text);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: start;
}

.hero h1 {
    font-size: 68px;
    line-height: 0.94;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    max-width: 680px;
    color: #34463e;
}

.hero-text {
    font-size: 21px;
    line-height: 1.55;
    max-width: 640px;
    color: #3f3a35;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 34px 0 16px;
}

.hero-note {
    margin: 0 0 28px;
    font-size: 16px;
    color: var(--rose);
    font-weight: 500;
}

.hero-points {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
}

.hero-points li {
    margin-bottom: 8px;
}

.hero-proof {
    margin-top: 18px;
    font-weight: 600;
    color: var(--sage-deep);
}

.hero-content {
    max-width: 720px;
    padding-top: 24px;
}

/* Card surfaces */

.card,
.info-card,
.highlight-box,
.contact-card,
.sidebar-card,
.result-card,
.calculator-next-step,
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.card,
.contact-card,
.result-card {
    border-radius: var(--radius-lg);
}

.info-card,
.highlight-box,
.sidebar-card,
.faq-item,
.calculator-next-step {
    border-radius: var(--radius-md);
}

.card {
    padding: 34px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 32px;
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.card h3 {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.05;
    color: var(--heading);
}

.mini-list {
    display: grid;
    gap: 12px;
}

.mini-list a {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--text);
    background: #ffffff;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mini-list a:hover {
    border-color: rgba(127, 165, 143, 0.40);
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* Sections */

.section {
    padding: 88px 0;
}

.section-alt {
    background: #f3f7f5;
}

.section-soft {
    background: #f8faf9;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading h2,
.two-col h2,
.cta-box h2,
.page-hero h1 {
    margin: 0 0 14px;
    font-size: 52px;
    line-height: 1.02;
    color: var(--heading);
}

.section-heading p,
.two-col p,
.cta-box p,
.page-intro,
.info-card p,
.faq-item p {
    color: var(--text-soft);
    font-size: 19px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card {
    display: block; /* makes full card clickable when it's an <a> */
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(95, 143, 125, 0.22);
}

.info-card h3 {
    margin-bottom: 8px;
    font-size: 34px;
    color: var(--heading);
}

.info-card p {
    margin: 0;
}

.info-card p + p {
    margin-top: 16px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
}

.highlight-box {
    padding: 28px;
    border: 1px solid #e9edeb;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.highlight-box h3 {
    margin-bottom: 14px;
    font-size: 34px;
    color: var(--heading);
}

.highlight-box ul,
.guide-page-list,
.sidebar-list,
.cost-help-list {
    margin: 0;
    padding-left: 20px;
}

.highlight-box li,
.sidebar-list li,
.guide-page-list li,
.cost-help-list li {
    margin-bottom: 10px;
    color: var(--text-soft);
}

.text-link {
    font-weight: 700;
    color: var(--rose);
}

.text-link:hover {
    text-decoration: underline;
}



.county-market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.county-market-card {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e9edeb;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.county-market-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(127, 165, 143, 0.32);
}

.county-market-card-top {
    margin-bottom: 18px;
}

.county-market-card-top h3 {
    margin: 0 0 6px;
    font-size: 32px;
    color: var(--heading);
}

.county-market-updated {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
}

.county-market-stats {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.county-market-stat {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #efe7df;
}

.county-market-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.county-market-label {
    color: var(--text-soft);
    font-size: 15px;
}

.county-market-stat strong {
    color: var(--heading);
    font-size: 16px;
}

.county-market-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.county-market-link {
    margin: 0;
    font-weight: 700;
    color: var(--rose);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.county-market-link .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Hover effect on entire card */
.county-market-card:hover .county-market-link {
    color: var(--sage-deep);
}

.county-market-card:hover .county-market-link .arrow {
    transform: translateX(8px);
}

.county-market-pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
}

/* Positive (green) */
.county-market-pill.positive {
    background: #e6f4ec;
    border-color: #c8e7d7;
    color: #2e6f54;
}

/* Warning (amber) */
.county-market-pill.warning {
    background: #fbf3e6;
    border-color: #f1ddba;
    color: #8a6a2f;
}

/* Negative (soft red) */
.county-market-pill.negative {
    background: #f8e9e9;
    border-color: #ebcaca;
    color: #8a3a3a;
}

/* Neutral */
.county-market-pill.neutral {
    background: #f3f6f5;
    border-color: #dde6e2;
    color: var(--sage-deep);
}

@media (max-width: 1024px) {
    .county-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .county-market-grid {
        grid-template-columns: 1fr;
    }
}

.market-section-stack {
    display: grid;
    gap: 24px;
}

.market-summary-box,
.market-detail-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.market-summary-box {
    padding: 28px;
}

.market-summary-header {
    margin-bottom: 22px;
}

.market-summary-header h3 {
    margin: 0 0 10px;
    font-size: 34px;
    color: var(--heading);
}

.market-stats-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.market-stat-card {
    background: #ffffff;
    border: 1px solid #e9edeb;
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.market-stat-title {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.market-stat-value {
    margin: 0;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 700;
    color: var(--heading);
    font-family: "Cormorant Garamond", Georgia, serif;
}

.market-stat-note {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--sage-deep);
}

.market-detail-box {
    padding: 0;
    overflow: hidden;
}

.market-chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

.market-chart-block {
    margin: 0;
    padding: 28px 28px 22px;
    background: #ffffff;
}

.market-chart-block + .market-chart-block {
    border-left: 1px solid #e8ecea;
}

.market-chart-block h4 {
    margin: 0 0 14px;
    font-size: 28px;
    color: var(--heading);
}

.market-insight-box {
    margin: 0;
    background: #f5f8f7;
    border-top: 1px solid #e8ecea;
    padding: 24px 28px 28px;
}

.market-insight-box h4 {
    margin: 0 0 12px;
    font-size: 30px;
    color: var(--heading);
}

.market-insight-box > p {
    margin: 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.6;
}

.market-insight-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
}

.market-insight-item {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #e8ecea;
}

.market-insight-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--heading);
}

.market-insight-item p {
    margin: 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.55;
}

@media (max-width: 950px) {
    .market-stats-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .market-stats-cards {
        grid-template-columns: 1fr;
    }

    .market-chart-grid {
        grid-template-columns: 1fr;
    }

    .market-chart-block + .market-chart-block {
        border-left: none;
        border-top: 1px solid #e7e2db;
    }

    .market-stat-value {
        font-size: 32px;
    }

    .market-chart-block h4,
    .market-insight-box h4 {
        font-size: 26px;
    }
}

@media (min-width: 768px) {
    .market-insight-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.market-meta {
    margin-bottom: 18px;
}

.market-updated {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
}

.market-source {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-soft);
    opacity: 0.85;
}

/* CTA */

.cta-box {
    background: #f1f6f4;
    border: 1px solid rgba(111, 101, 93, 0.10);
    border-radius: 32px;
    padding: 38px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
}

.cta-box h2,
.cta-box p {
    color: inherit;
}

/* Footer */

.site-footer {
    background: #f7faf8;
    color: var(--text-soft);
    padding-top: 56px;
    border-top: 1px solid rgba(111, 101, 93, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .9fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    width: 220px;
    margin-bottom: 16px;
}

.site-footer h3,
.site-footer h4 {
    color: var(--heading);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover,
.site-footer a:hover {
    color: var(--sage-deep);
}

.footer-bottom {
    border-top: 1px solid rgba(111, 101, 93, 0.12);
    margin-top: 32px;
    padding: 18px 0;
    font-size: 14px;
}

.footer-social a {
    display: inline-block;
    margin-top: 0;
}

/* Page hero */

.page-hero {
    padding: 82px 0 38px;
    background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
}

.page-hero-sm {
    padding-bottom: 24px;
}

.page-intro {
    max-width: 780px;
}

.legal-page-wrap {
    max-width: 1140px;
}

.legal-page-wrap .highlight-box {
    padding: 40px;
}

.legal-page-wrap .highlight-box h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 36px;
}

.legal-page-wrap .highlight-box h3:first-child {
    margin-top: 0;
}

.legal-page-wrap .highlight-box p,
.legal-page-wrap .highlight-box li {
    font-size: 18px;
    line-height: 1.75;
}

.legal-page-wrap .highlight-box ul {
    margin-top: 12px;
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    .legal-page-wrap .highlight-box {
        padding: 24px;
    }

    .legal-page-wrap .highlight-box h3 {
        font-size: 30px;
    }

    .legal-page-wrap .highlight-box p,
    .legal-page-wrap .highlight-box li {
        font-size: 17px;
    }
}

/* Contact + forms */

.contact-layout,
.calculator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.contact-card {
    padding: 30px;
}

.sidebar-card {
    padding: 24px;
    margin-bottom: 22px;
}

.contact-card h2,
.sidebar-card h3,
.cost-help-box h3 {
    color: var(--heading);
    font-size: 38px;
}

.contact-form {
    margin-top: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(127, 165, 143, 0.24);
    border-radius: 14px;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.86);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(127, 165, 143, 0.12);
}

.form-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin: 18px 0;
    font-weight: 600;
}

.form-alert-success {
    background: #edf7f0;
    color: #2f5d50;
    border: 1px solid #cfe1d5;
}

.form-alert-error {
    background: #fbf0f2;
    color: #8a4859;
    border: 1px solid #ebcdd5;
}

.consent-check {
    margin-top: 18px;
    margin-bottom: 18px;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    text-align: left;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    cursor: pointer;
}

.checkbox-text {
    display: inline;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-soft);
}

.checkbox-required-line {
    display: inline;
}

.required-label {
    color: #c0392b;
    margin-right: 6px;
}

.checkbox-detail-text {
    display: inline;
}

.consent-check.has-error {
    background: #fff5f5;
    border: 1px solid #e0b4b4;
    border-radius: 8px;
    padding: 10px;
}

.consent-check.has-error .checkbox-label input[type="checkbox"] {
    outline: 2px solid #c0392b;
    outline-offset: 2px;
}

.consent-check.has-error .checkbox-text {
    color: #8a3a3a;
}

.field-error {
    margin-top: 6px;
    font-size: 13px;
    color: #c0392b;
    font-weight: 600;
}



/* Tables + tags */

.leads-table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.leads-table th,
.leads-table td {
    padding: 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.leads-table th {
    background: #f7f2ed;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-soft);
}

.leads-table td {
    color: var(--text);
    font-size: 15px;
}

.lead-tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--bg-rose);
    color: var(--rose);
    font-size: 13px;
    font-weight: 700;
}

/* FAQ */

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    padding: 24px;
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 32px;
    color: var(--heading);
}

.faq-item p {
    margin: 0;
}

/* Utility sections already in use */

.seller-cta-link {
    margin-top: 16px;
}

.seller-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.seller-cta-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.seller-cta-box h3 {
    margin-bottom: 14px;
}

.seller-cta-box p {
    margin-bottom: 14px;
}

.section.about-preview-section {
    padding-top: 30px;
}

.guide-note,
.field-help {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.5;
}

.market-disclaimer {
    margin-top: 18px;
}

.guide-benefits {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.guide-benefit {
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.result-card {
    padding: 28px;
}

.result-card-highlight {
    background: linear-gradient(135deg, #46675d, #789787);
    color: #ffffff;
}

.result-card-highlight h3,
.result-card-highlight p {
    color: #ffffff;
}

.result-amount {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 800;
    margin: 12px 0;
}

.result-amount.positive {
    color: #d6b16e;
}

.result-amount.negative {
    color: #c9929f;
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.result-row:last-child {
    border-bottom: none;
}

.result-total {
    font-weight: 800;
}

.cost-help-box {
    padding: 28px;
}

.cost-help-box p {
    margin-bottom: 0;
}

.closing-cost-help-section {
    padding-top: 32px;
    padding-bottom: 48px;
}

.calculator-next-step {
    margin-top: 24px;
    padding: 24px;
    grid-column: 1 / 2;
}

/* Responsive */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 56px;
    }

    .section-heading h2,
    .two-col h2,
    .cta-box h2,
    .page-hero h1 {
        font-size: 44px;
    }

    .info-card h3,
    .highlight-box h3,
    .faq-item h3 {
        font-size: 30px;
    }
}

@media (max-width: 950px) {
    .hero-grid,
    .card-grid,
    .two-col,
    .footer-grid,
    .contact-layout,
    .calculator-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        gap: 16px;
    }

    .hero {
        background-image:
            linear-gradient(180deg, rgba(248, 251, 249, 0.85) 0%, rgba(248, 251, 249, 0.70) 45%, rgba(248, 251, 249, 0.45) .35%),
            url("/buynsellwithjen/assets/images/hero.jpg");
        background-position: left top, center center;
        background-size: auto, cover;
        background-repeat: repeat, no-repeat;
    }

    .hero-content {
        padding-top: 0;
    }

    .card {
        padding: 26px;
    }

    .hero h1 {
        font-size: 52px;
        line-height: 0.98;
    }

    .section-heading h2,
    .two-col h2,
    .cta-box h2,
    .page-hero h1 {
        font-size: 38px;
    }

    .logo img {
        height: 70px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 22px));
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 68px 0 56px;
    }

    .section {
        padding: 62px 0;
    }

    .hero h1 {
    font-size: 42px;
    }

    .hero-text {
    font-size: 19px;
    }

    .hero-note {
    font-size: 16px;
    }

    .section-heading h2,
    .two-col h2,
    .cta-box h2,
    .page-hero h1 {
        font-size: 34px;
    }

    .hero-buttons,
    .seller-cta-buttons {
        flex-direction: column;
    }

    .btn,
    .seller-cta-buttons .btn,
    .seller-cta-buttons .btn-outline-dark,
    .site-nav .nav-cta {
        width: 100%;
        text-align: center;
    }

    .card,
    .info-card,
    .highlight-box,
    .cta-box,
    .contact-card,
    .sidebar-card,
    .faq-item {
        padding: 22px;
    }

    .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .logo img {
        height: 60px;
    }
}

.cta-button-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-button-stack p {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

/* =========================
   QUIZ STYLING
========================= */

#decision-quiz .info-card {
    cursor: pointer;
    transition: all 0.18s ease;
    border: 1px solid var(--border);
    background: #ffffff;
    position: relative;
}

/* Hover effect */
#decision-quiz .info-card:hover {
    transform: translateY(-4px);
    border-color: var(--sage);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Click feedback */
#decision-quiz .info-card:active {
    transform: translateY(-1px) scale(0.99);
}

/* Add arrow indicator */
#decision-quiz .info-card::after {
    content: "→";
    position: absolute;
    right: 18px;
    bottom: 18px;
    font-size: 18px;
    color: var(--sage-deep);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
}

/* Show arrow on hover */
#decision-quiz .info-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Question spacing */
#decision-quiz h3 {
    margin-bottom: 8px;
}

/* Step label */
#quiz-step-label {
    color: var(--sage-deep);
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* Result box animation */
#quiz-result {
    animation: fadeInUp 0.3s ease;
}

/* Smooth fade */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Restart link styling */
#quiz-restart {
    font-weight: 600;
    color: var(--sage-deep);
}

/* Make quiz cards tighter on mobile */
@media (max-width: 640px) {
    #decision-quiz .card-grid {
        gap: 12px;
    }

    #decision-quiz .info-card {
        padding: 18px;
    }
}

#fast-options,
#creative-options,
#browse-options {
    scroll-margin-top: 100px;
}
