/* ================================================================
   GET HIP QUOTES — visual redesign
   Concept: "Benefit Ledger" — hospital indemnity pays cash directly
   to you, so the design leans into a ledger/receipt/benefit-card
   language: perforated card edges, torn-receipt testimonials,
   stamped seal icons, monospace ledger labels for fine print.

   Design tokens: deep forest green + warm ivory paper + gold accent
   Type: Fraunces (display) / Work Sans (body) / IBM Plex Mono (ledger labels)

   NOTE: every original class name / ID is preserved 1:1 so the
   existing PHP + JS in this project keeps working without changes.
   Only this stylesheet changes.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    /* --- color: forest + paper + gold --- */
    --forest-950: #0a1f18;
    --forest-900: #0f2e24;
    --forest-800: #163d30;
    --forest-700: #1c4a3a;
    --sage-600:  #3f7d5c;
    --sage-500:  #4f8f6b;
    --sage-100:  #e6f0e8;
    --gold-400:  #d9a34a;
    --gold-500:  #c98a2c;
    --gold-600:  #a86f1d;
    --paper:     #f6f4ea;
    --paper-alt: #efece0;
    --card:      #fffdf7;
    --ink-900:   #1c2621;
    --ink-700:   #3a453e;
    --ink-500:   #6c766c;
    --line:      #ddd8c6;
    --line-dark: rgba(246, 244, 234, 0.16);
    --white:     #ffffff;

    /* --- shape / motion --- */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(15, 46, 36, 0.08);
    --shadow-md: 0 16px 36px rgba(15, 46, 36, 0.14);
    --shadow-lg: 0 30px 64px rgba(10, 31, 24, 0.30);
    --ease: cubic-bezier(.22, 1, .36, 1);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink-700);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    letter-spacing: -0.01em;
    font-weight: 600;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ----- LEDGER LABEL UTILITY (used throughout via ::before/::after) ----- */
.eyebrow-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ----- BUTTONS ----- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--forest-950);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 16px 34px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    font-size: 16px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(201, 138, 44, 0.38);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(201, 138, 44, 0.46);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--forest-900);
    color: var(--paper);
    font-weight: 700;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--forest-900);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    font-size: 16px;
    text-align: center;
}

.btn-secondary:hover {
    background: transparent;
    color: var(--forest-900);
    transform: translateY(-2px);
}

/* ----- HEADER / NAV ----- */
.site-header {
    background: rgba(246, 244, 234, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.brand h1 {
    font-size: 21px;
    font-weight: 700;
    color: var(--forest-900);
    line-height: 1.1;
}

.brand h1 span {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 600;
}

.nav-links a {
    color: var(--ink-700);
    font-size: 15px;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--gold-500);
    transition: width 0.25s var(--ease);
}

.nav-links a:hover {
    color: var(--forest-800);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ----- HERO SECTION ----- */
.hero {
    background-image:
        linear-gradient(120deg, rgba(10, 31, 24, 0.92) 15%, rgba(15, 46, 36, 0.82) 55%, rgba(22, 61, 48, 0.7) 100%),
        url('Hospital-insurance-843x465.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0 90px;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* faint ledger-line texture across the dark hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 38px,
        rgba(246, 244, 234, 0.05) 39px
    );
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-content .eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-400);
    background: rgba(201, 138, 44, 0.14);
    border: 1px solid rgba(201, 138, 44, 0.4);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 46px;
    font-weight: 600;
    color: #fdfbf3;
    line-height: 1.16;
    margin-bottom: 22px;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 18px;
    color: rgba(246, 244, 234, 0.82);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-content .btn-primary {
    margin-top: 6px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.trust-pill {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(246, 244, 234, 0.85);
    background: rgba(246, 244, 234, 0.08);
    border: 1px solid rgba(246, 244, 234, 0.18);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
}

/* ----- FORM CARD — styled as a "benefit card" with a perforated top edge ----- */
.form-card {
    background: var(--card);
    padding: 40px 30px 32px;
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    margin-left: auto;
    color: var(--ink-900);
    position: relative;
}

/* punch-hole perforation strip along the top of the card */
.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 10px;
    background-image: radial-gradient(circle, var(--forest-900) 0 4px, transparent 4.2px);
    background-size: 20px 20px;
    background-position: 0 -6px;
    background-repeat: repeat-x;
    opacity: 0.85;
}

.form-card::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    border-top: 2px dashed var(--line);
}

.form-card h2 {
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 6px;
    margin-top: 6px;
    color: var(--forest-900);
}

.form-card h2::after {
    content: 'FREE  ·  NO OBLIGATION  ·  60 SECONDS';
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gold-600);
    text-align: center;
    margin: 10px 0 22px;
}

.form-card input,
.form-card select {
    width: 100%;
    height: 50px;
    margin-bottom: 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    font-size: 15px;
    font-family: var(--font-body);
    box-sizing: border-box;
    background: var(--paper);
    color: var(--ink-900);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-card input::placeholder {
    color: var(--ink-500);
}

.form-card input:focus,
.form-card select:focus {
    outline: none;
    border-color: var(--sage-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 143, 107, 0.16);
}

.form-card select {
    appearance: auto;
    cursor: pointer;
}

.hip-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-700);
    font-size: 12.5px;
    line-height: 1.5;
    margin: 8px 0 14px;
}

.hip-consent input {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--sage-600);
}

.hip-disclaimer {
    /* max-height: 100px; */
    /* overflow-y: auto; */
    margin-top: 4px;
    padding: 12px 14px;
    background: var(--paper-alt);
    color: var(--ink-500);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 10.5px;
    line-height: 1.7;
    border: 1px solid var(--line);
}

.hip-disclaimer::-webkit-scrollbar {
    width: 6px;
}
.hip-disclaimer::-webkit-scrollbar-thumb {
    background: var(--gold-500);
    border-radius: 10px;
}
.hip-disclaimer::-webkit-scrollbar-track {
    background: transparent;
}

.form-card button,
.btn-submit {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--forest-950);
    font-family: var(--font-body);
    font-size: 16.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
    margin-top: 10px;
    box-shadow: 0 14px 28px rgba(201, 138, 44, 0.32);
}

.form-card button:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(201, 138, 44, 0.4);
}

#form-status {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* ----- BENEFITS SECTION — mission + itemized "ledger" benefit card
   (replaces the old image+text About section and the 3-icon Features grid) ----- */
.benefits-section {
    padding: 104px 0;
    background: var(--card);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.benefits-eyebrow {
    display: inline-block;
    color: var(--gold-600);
    background: var(--sage-100);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.benefits-copy h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--forest-900);
}

.benefits-copy > p {
    color: var(--ink-700);
    margin-bottom: 26px;
    font-size: 17px;
}

.benefits-checklist {
    list-style: none;
    margin-bottom: 32px;
}

.benefits-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--forest-900);
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
}

.benefits-checklist li:first-child {
    border-top: 1px dashed var(--line);
}

.benefits-checklist .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--sage-500);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* the itemized benefit "receipt" card */
.ledger-card {
    background: var(--forest-900);
    color: var(--paper);
    border-radius: var(--radius-lg);
    padding: 34px 32px 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.ledger-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px dashed rgba(246, 244, 234, 0.25);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.ledger-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: #fdfbf3;
}

.ledger-card-sub {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.ledger-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 11px 0;
    font-size: 14.5px;
    color: rgba(246, 244, 234, 0.85);
}

.ledger-row .ledger-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(246, 244, 234, 0.3);
    margin: 0 4px;
    transform: translateY(-4px);
}

.ledger-amount {
    font-family: var(--font-mono);
    font-weight: 600;
    color: #fdfbf3;
    white-space: nowrap;
}

.ledger-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 2px solid var(--gold-500);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.ledger-total-amount {
    font-size: 20px;
    color: var(--gold-400);
}

.ledger-disclaimer {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    line-height: 1.6;
    color: rgba(246, 244, 234, 0.45);
}

/* ----- TESTIMONIALS — torn-receipt card ----- */
.testimonials-section {
    background: var(--forest-900);
    padding: 96px 20px 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 38px,
        rgba(246, 244, 234, 0.04) 39px
    );
    pointer-events: none;
}

.testimonials-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fdfbf3;
    position: relative;
}

.testimonials-section .subtitle {
    max-width: 680px;
    margin: 0 auto 44px;
    color: rgba(246, 244, 234, 0.68);
    position: relative;
}

.testimonial-slider {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.slide {
    display: none;
    background: var(--card);
    padding: 50px 44px 60px;
    /* torn receipt bottom edge */
    clip-path: polygon(
        0 0, 100% 0,
        100% 90%,
        95% 100%, 90% 90%, 85% 100%, 80% 90%, 75% 100%,
        70% 90%, 65% 100%, 60% 90%, 55% 100%, 50% 90%,
        45% 100%, 40% 90%, 35% 100%, 30% 90%, 25% 100%,
        20% 90%, 15% 100%, 10% 90%, 5% 100%, 0% 90%
    );
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: left;
}

.slide.active {
    display: block;
    animation: fade 0.5s;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-mark {
    position: absolute;
    top: 18px;
    right: 30px;
    font-family: var(--font-display);
    font-size: 70px;
    line-height: 1;
    color: var(--sage-100);
    font-weight: 700;
    pointer-events: none;
}

.stars {
    color: var(--gold-500);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 18px;
    position: relative;
}

.slide p {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink-900);
    font-style: italic;
    position: relative;
}

.slide-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--forest-900);
    color: var(--gold-400);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.slide h4 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--sage-600);
}

.controls {
    margin-top: 32px;
    position: relative;
}

.controls button {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    background: rgba(246, 244, 234, 0.08);
    color: var(--paper);
    font-size: 18px;
    margin: 0 8px;
    cursor: pointer;
    transition: 0.25s;
}

.controls button:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--forest-950);
}

.dots {
    margin-top: 22px;
    position: relative;
}

.dot {
    width: 9px;
    height: 9px;
    background: rgba(246, 244, 234, 0.28);
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.dot.active {
    background: var(--gold-500);
    transform: scale(1.3);
}

/* ----- STEPS — itemized like a receipt line-item list ----- */
.steps-section {
    background: var(--card);
    padding: 96px 20px;
    text-align: center;
}

.steps-section .badge {
    display: inline-block;
    background: var(--sage-100);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sage-600);
    margin-bottom: 16px;
}

.steps-section h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 14px;
}

.steps-section .desc {
    max-width: 700px;
    margin: 0 auto 44px;
    color: var(--ink-500);
}

/* connected horizontal timeline */
.timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto 44px;
}

.timeline-item {
    flex: 1;
    position: relative;
    padding: 0 20px;
    text-align: center;
}

.timeline-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 18px 0 8px;
    color: var(--forest-900);
}

.timeline-item p {
    font-size: 14.5px;
    color: var(--ink-500);
    line-height: 1.6;
}

.timeline-num {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--forest-900);
    color: var(--gold-400);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 0 0 6px var(--card);
}

/* connecting line running behind the numbered stops */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 23px;
    left: -50%;
    width: 100%;
    height: 2px;
    background-image: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
    z-index: 1;
}

.timeline-item:first-child::before {
    display: none;
}

/* ----- FAQ — two column: sticky intro + accordion ----- */
.faq-section {
    padding: 100px 0;
    background: var(--paper);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.faq-side {
    position: sticky;
    top: 100px;
}

.faq-side h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 8px 0 14px;
    color: var(--forest-900);
}

.faq-side p {
    color: var(--ink-500);
    font-size: 16px;
    margin-bottom: 26px;
}

.faq-item {
    background: var(--card);
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-500);
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 22px 56px 22px 26px;
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--forest-900);
    transition: 0.2s;
    position: relative;
    font-family: var(--font-body);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold-400);
    color: var(--forest-950);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s var(--ease), background 0.25s;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(135deg);
    background: var(--sage-500);
    color: #fff;
}

.faq-question:hover {
    color: var(--sage-600);
}

.faq-answer {
    display: none;
    padding: 0 56px 24px 26px;
    line-height: 1.75;
    color: var(--ink-500);
    font-size: 15.5px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ----- LEGAL PAGES (privacy / terms / marketing partners) ----- */
.legal-page {
    padding: 70px 0 100px;
    background: var(--card);
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--forest-900);
}

.legal-content h1:not(:first-child) {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px dashed var(--line);
}

.legal-content h2 {
    font-size: 21px;
    font-weight: 700;
    font-family: var(--font-body);
    margin: 34px 0 14px;
    color: var(--forest-900);
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--ink-700);
    font-size: 16px;
}

.legal-content ul {
    margin: 4px 0 16px 22px;
    color: var(--ink-700);
}

.legal-content li {
    margin-bottom: 8px;
    font-size: 16px;
}

.legal-content strong {
    color: var(--forest-900);
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 30px 0;
}

.legal-content a {
    color: var(--sage-600);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ----- CLOSING CTA BAND ----- */
.final-cta {
    background: var(--forest-950);
    padding: 64px 20px;
}

.final-cta-inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.final-cta h2 {
    font-size: 30px;
    font-weight: 600;
    color: #fdfbf3;
    margin-bottom: 10px;
}

.final-cta p {
    color: rgba(246, 244, 234, 0.7);
    font-size: 16px;
    margin-bottom: 26px;
}

/* ----- FOOTER ----- */
.site-footer {
    background: var(--forest-950);
    color: var(--paper);
    padding: 64px 0 30px;
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 36px;
}

.footer-grid h3 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--gold-400);
}

.footer-grid p,
.footer-grid a {
    color: rgba(246, 244, 234, 0.65);
    font-size: 15px;
}

.footer-grid > div:first-child a {
    color: var(--gold-400);
    font-weight: 700;
    font-size: 17px;
    font-family: var(--font-display);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin: 18px 0 30px;
}

.footer-links a {
    background: rgba(246, 244, 234, 0.06);
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    color: rgba(246, 244, 234, 0.8);
    border: 1px solid rgba(246, 244, 234, 0.1);
    transition: 0.25s;
}

.footer-links a:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--forest-950);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(246, 244, 234, 0.12);
    padding-top: 26px;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: rgba(246, 244, 234, 0.4);
}

/* ----- FIX FOOTER TO BOTTOM ----- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wp-site-blocks,
main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .form-card {
        margin: 0 auto;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .ledger-card {
        max-width: 480px;
    }
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-side {
        position: static;
    }
    .timeline {
        flex-direction: column;
        gap: 32px;
        max-width: 380px;
    }
    .timeline-item::before {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
    }
    .hero {
        padding: 60px 0;
    }
    .hero-trust-row {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .hero-content h2 {
        font-size: 30px;
    }
    .hero-content p {
        max-width: 100%;
    }
    .benefits-copy h2,
    .testimonials-section h2,
    .faq-side h2,
    .final-cta h2 {
        font-size: 26px;
    }
    .ledger-card {
        padding: 28px 22px 24px;
    }
    .slide {
        padding: 34px 22px 50px;
    }
    .legal-content h1 {
        font-size: 28px;
    }
}