﻿:root {
    --paper: #EEF2EA;
    --paper-line: #C9D6C3;
    --ink: #1E2A22;
    --ink-soft: #4C5A50;
    --brass: #A9791F;
    --forest: #1F6F4E;
    --brick: #9A3B2E;
    --card: #FFFFFF;
    --card-border: #D9E1D3;
    --shadow: 0 1px 2px rgba(30,42,34,0.06), 0 4px 14px rgba(30,42,34,0.05);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    /* background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, var(--paper-line) 28px); */
    background-attachment: local;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

header.top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

    header.top .brandmark {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    header.top h1 {
        font-family: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
        font-size: 26px;
        margin: 0;
        letter-spacing: 0.2px;
        font-weight: 600;
    }

    header.top .eyebrow {
        font-family: 'SF Mono','Roboto Mono',Consolas,monospace;
        font-size: 11px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--brass);
        font-weight: 700;
    }

    header.top .tag {
        font-size: 12.5px;
        color: var(--ink-soft);
        max-width: 360px;
    }

.grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 22px;
    align-items: start;
}

@media (max-width:920px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.panel {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    padding: 22px 24px;
    margin-bottom: 20px;
}

    .panel h2 {
        font-family: Georgia, 'Iowan Old Style', serif;
        font-size: 16px;
        margin: 0 0 4px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .panel h2 .line-no {
            font-family: 'SF Mono','Roboto Mono',Consolas,monospace;
            font-size: 11px;
            color: #fff;
            background: var(--ink);
            border-radius: 3px;
            padding: 2px 7px;
            font-weight: 700;
        }

    .panel .sub {
        font-size: 12.5px;
        color: var(--ink-soft);
        margin: 0 0 16px;
    }

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
}

    .field-row.single {
        grid-template-columns: 1fr;
    }

@media (max-width:560px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 5px;
}

select, input[type=number], input[type=text] {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #C7CFC3;
    border-radius: 4px;
    font-size: 14.5px;
    font-family: inherit;
    background: #FCFDFB;
    color: var(--ink);
}

input[type=number] {
    font-family: 'SF Mono','Roboto Mono',Consolas,monospace;
}

select:focus, input:focus {
    outline: 2px solid var(--brass);
    outline-offset: 1px;
}

.field {
    margin-bottom: 14px;
}

.hint {
    font-size: 11.5px;
    color: #7C877D;
    margin-top: 3px;
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.chk {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
}

    .chk input {
        width: 15px;
        height: 15px;
    }

/* Receipt / summary panel */
.receipt {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    padding: 0;
    position: sticky;
    top: 20px;
    overflow: hidden;
}

    .receipt .rhead {
        background: var(--ink);
        color: #fff;
        padding: 16px 22px;
    }

        .receipt .rhead .eyebrow {
            color: #C9D6C3;
            font-family: 'SF Mono','Roboto Mono',Consolas,monospace;
            font-size: 10.5px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .receipt .rhead h3 {
            margin: 4px 0 0;
            font-family: Georgia,serif;
            font-size: 19px;
        }

    .receipt .rbody {
        padding: 18px 22px 8px;
    }

.rline {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'SF Mono','Roboto Mono',Consolas,monospace;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px dashed #DCE4D6;
}

    .rline .lab {
        color: var(--ink-soft);
        font-family: -apple-system,sans-serif;
        font-size: 13px;
    }

    .rline .val {
        font-weight: 600;
    }

    .rline.total {
        border-bottom: none;
        border-top: 2px solid var(--ink);
        margin-top: 6px;
        padding-top: 12px;
        font-size: 15px;
    }

    .rline.sub .lab {
        padding-left: 12px;
        font-size: 12px;
    }

.verdict {
    margin: 16px 22px 20px;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    border: 1px dashed currentColor;
}

    .verdict.refund {
        background: #EAF6EF;
        color: var(--forest);
    }

    .verdict.owe {
        background: #FBEDEA;
        color: var(--brick);
    }

    .verdict .amt {
        font-family: 'SF Mono','Roboto Mono',Consolas,monospace;
        font-size: 26px;
        font-weight: 700;
        display: block;
        margin-top: 2px;
    }

    .verdict .label {
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }

.perforation {
    height: 0;
    border-top: 2px dashed #C9D6C3;
    margin: 0 22px;
    position: relative;
}

.tier-badge {
    display: block;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 14px auto;
}

    .tier-badge a {
        font-weight: 700;
        color: rgb(255, 255, 255);
    }

.tier-Simple {
    background: rgb(15, 118, 110);
    color: var(--forest);
}

.tier-Moderate {
    background: #FDF3E2;
    color: var(--brass);
}

.tier-Complex {
    background: #FBEDEA;
    color: var(--brick);
}

.tier-note {
    margin: 0 22px 18px;
    font-size: 12.5px;
    color: var(--ink-soft);
}

/* insight cards */
.cards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

@media (max-width:640px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    background: #FCFDFB;
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--brass);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 12.8px;
    color: var(--ink);
}

    .card b {
        display: block;
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: var(--brass);
        margin-bottom: 3px;
    }

ul.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

    ul.checklist li {
        padding: 8px 0 8px 26px;
        border-bottom: 1px solid #EEF2EA;
        font-size: 13.5px;
        position: relative;
    }

        ul.checklist li:last-child {
            border-bottom: none;
        }

        ul.checklist li:before {
            content: "▢";
            position: absolute;
            left: 0;
            top: 8px;
            color: var(--brass);
            font-size: 15px;
        }

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1F6F4E, #17573D);
    color: #fff;
    border-radius: 6px;
    padding: 18px 22px;
    margin-top: 6px;
}

    .cta .msg strong {
        display: block;
        font-size: 15.5px;
        margin-bottom: 2px;
    }

    .cta .msg span {
        font-size: 12.5px;
        opacity: 0.85;
    }

    .cta button {
        background: #fff;
        color: var(--forest);
        border: none;
        border-radius: 4px;
        padding: 11px 18px;
        font-weight: 700;
        font-size: 13.5px;
        cursor: pointer;
        white-space: nowrap;
    }

        .cta button:hover {
            background: #EAF6EF;
        }

.disclaimer {
    font-size: 11.5px;
    color: var(--ink-soft);
    border-top: 1px solid var(--card-border);
    margin-top: 24px;
    padding-top: 14px;
    line-height: 1.6;
}

    .disclaimer b {
        color: var(--ink);
    }

.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--ink);
    color: #fff;
    padding: 11px 18px;
    border-radius: 6px;
    font-size: 13px;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
    z-index: 50;
}

    .toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    .toast {
        transition: none;
    }
}

/* ============ Provider listing section ============ */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 6px;
}

@media (max-width: 920px) {
    .provider-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .provider-grid {
        grid-template-columns: 1fr;
    }
}

.p-card {
    background: #fcfdfb;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 18px 18px 16px;
}

    .p-card .top-row {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 9px;
    }

.p-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    font-family: Georgia, serif;
    flex-shrink: 0;
}

.p-name-block .p-name {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.25;
}

.p-name-block .p-meta {
    font-size: 12.3px;
    color: var(--ink-soft);
    margin-top: 2px;
}

.p-stars {
    color: var(--brass);
    letter-spacing: 1px;
}

.p-location {
    font-size: 12px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 2px 0 11px;
}

    .p-location:before {
        content: "📍";
        font-size: 10.5px;
    }

.p-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 11px;
}

.p-tag {
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.p-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--forest);
    font-weight: 600;
    margin-bottom: 12px;
}

    .p-verified:before {
        content: "✓";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 1.5px solid var(--forest);
        font-size: 9px;
    }

.p-request {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--ink);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
}

    .p-request:hover {
        background: var(--ink);
        color: #fff;
    }

/* ============ Guide / content section ============ */
.guide-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 0;
    margin: -22px -24px;
}

@media (max-width: 800px) {
    .guide-grid {
        grid-template-columns: 1fr;
        margin: 0;
    }
}

.toc {
    position: sticky;
    top: 0;
    align-self: start;
    max-height: 80vh;
    overflow-y: auto;
    padding: 22px 14px 30px 24px;
    border-right: 1px solid var(--card-border);
}

@media (max-width: 800px) {
    .toc {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding: 18px 24px;
    }
}

.toc a {
    display: block;
    padding: 8px 11px;
    font-size: 12.8px;
    color: var(--forest);
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 2px;
    line-height: 1.35;
    border-left: 3px solid transparent;
}

    .toc a:hover {
        background: var(--paper);
    }

    .toc a.active {
        color: var(--ink);
        font-weight: 700;
        background: var(--paper);
        border-left: 3px solid var(--brass);
    }

.guide-content {
    padding: 22px 26px 10px 26px;
}

    .guide-content section {
        margin-bottom: 30px;
        scroll-margin-top: 16px;
    }

        .guide-content section:last-child {
            margin-bottom: 6px;
        }

    .guide-content h3 {
        font-family: Georgia, "Iowan Old Style", serif;
        font-size: 18.5px;
        margin: 0 0 10px;
        color: var(--ink);
    }

    .guide-content p {
        margin: 0 0 12px;
        color: #33403a;
        font-size: 14px;
    }

    .guide-content ul {
        margin: 0 0 12px;
        padding-left: 20px;
    }

    .guide-content li {
        margin-bottom: 5px;
        color: #33403a;
        font-size: 14px;
    }

.guide-note {
    background: var(--paper);
    border-left: 4px solid var(--brass);
    border-radius: 4px;
    padding: 11px 15px;
    font-size: 13px;
    color: var(--ink-soft);
    margin: 14px 0;
}

/* ============ Inline connect (mid-content provider strip) ============ */
.inline-connect {
    border: 1px solid var(--card-border);
    background: #fcfdfb;
    border-radius: 6px;
    padding: 16px 18px;
    margin: 6px 0 28px;
}

.ic-head {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brass);
    font-weight: 700;
    margin-bottom: 11px;
}

.ic-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ic-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--card-border);
    flex-wrap: wrap;
}

    .ic-row:last-child {
        border-bottom: none;
    }

.ic-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ic-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: Georgia, serif;
    flex-shrink: 0;
}

.ic-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.ic-meta {
    font-size: 11.5px;
    color: var(--ink-soft);
}

.ic-btn {
    padding: 6px 13px;
    border: 1px solid var(--ink);
    background: #fff;
    color: var(--ink);
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

    .ic-btn:hover {
        background: var(--ink);
        color: #fff;
    }

.ic-foot {
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-top: 10px;
    text-align: right;
}

    .ic-foot a {
        color: var(--forest);
        text-decoration: none;
        font-weight: 600;
    }


/* ============ FAQ accordion ============ */
.faq-list {
    margin-top: 4px;
}

.faq-item {
    border-bottom: 1px solid var(--card-border);
}

    .faq-item:first-child {
        border-top: 1px solid var(--card-border);
    }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 2px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    user-select: none;
}

    .faq-q .icon {
        flex-shrink: 0;
        color: var(--brass);
        font-size: 19px;
        font-weight: 400;
        line-height: 1;
        transition: transform 0.2s ease;
    }

.faq-item.open .faq-q .icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

    .faq-a p {
        font-size: 13.5px;
        color: #33403a;
        padding: 0 2px 16px;
        margin: 0;
        line-height: 1.55;
    }

/* ============ Blog carousel ============ */
.blog-carousel-wrap {
    position: relative;
    margin-top: 4px;
}

.blog-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
}

    .blog-track::-webkit-scrollbar {
        height: 6px;
    }

    .blog-track::-webkit-scrollbar-thumb {
        background: var(--card-border);
        border-radius: 3px;
    }

.blog-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
    background: #fcfdfb;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.blog-thumb {
    height: 120px;
    background: linear-gradient(135deg, var(--forest), #173f2d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 12.5px;
    padding: 10px;
    text-align: center;
    line-height: 1.3;
}

.blog-body {
    padding: 13px 14px 16px;
}

.blog-cat {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brass);
    font-weight: 700;
    margin-bottom: 6px;
}

.blog-title {
    font-size: 13.8px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 9px;
}

.blog-meta {
    font-size: 11.3px;
    color: var(--ink-soft);
}

.carousel-btn {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 6px rgba(30, 42, 34, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--ink);
    z-index: 2;
    line-height: 0;
}

    .carousel-btn:hover {
        background: var(--paper);
    }

    .carousel-btn.prev {
        left: -14px;
    }

    .carousel-btn.next {
        right: -14px;
    }

@media (max-width: 680px) {
    .carousel-btn {
        display: none;
    }
}
