﻿
        :root {
            --ink: #152433;
            --ink-soft: #4d5c66;
            --paper: #eef1ec;
            --paper-raised: #ffffff;
            --redline: #b23a2e;
            --brass: #a8823c;
            --verified: #3f6b4a;
            --line: #c9cdc2;
            --line-soft: #e2e5dc;
            --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
            --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
            --font-hand: 'Caveat', cursive;
            --max: 1180px;
        }

        /* ---------- buttons ---------- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-family: var(--font-body);
            font-size: 15px;
            font-weight: 600;
            letter-spacing: .02em;
            padding: 16px 28px;
            border-radius: 4px;
            border: 1.5px solid transparent;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .btn:active { transform: translateY(2px); }
        
        .btn-primary {
            background: var(--ink);
            color: var(--paper-raised);
            box-shadow: 0 4px 14px rgba(21, 36, 51, 0.15);
        }
        .btn-primary:hover {
            background: #0d1822;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(21, 36, 51, 0.25);
        }
        
        .btn-ghost {
            background: transparent;
            color: var(--ink);
            border-color: var(--ink);
        }
        .btn-ghost:hover {
            background: var(--ink);
            color: var(--paper-raised);
        }
        
        .btn-onbrass {
            background: var(--brass);
            color: #241b09;
            box-shadow: 0 4px 14px rgba(168, 130, 60, 0.25);
        }
        .btn-onbrass:hover {
            background: #b58d41;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(168, 130, 60, 0.4);
        }
        a.btn:focus-visible, button.btn:focus-visible, summary:focus-visible {
            outline: 2px solid var(--redline);
            outline-offset: 3px;
        }
        
        /* ---------- ledger card (signature element) ---------- */
        .ledger-card {
            background: var(--paper-raised);
            border: 1px solid var(--line-soft);
            border-radius: 8px;
            box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4), 0 2px 0 var(--line-soft);
            padding: 32px 32px 28px;
            transform: rotate(-1.5deg);
            max-width: 480px;
            margin: 0 auto;
            position: relative;
            color: var(--ink);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
        }
        .ledger-card:hover {
            transform: rotate(0deg) translateY(-8px);
            box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
        }
        .ledger-card::before {
            content: "";
            position: absolute;
            top: -12px;
            left: 40px;
            width: 70px;
            height: 24px;
            background: rgba(168, 130, 60, 0.35);
            transform: rotate(-4deg);
            border-radius: 2px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .ledger-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 24px;
        }
        .file-no {
            font-family: var(--font-mono);
            font-size: 12.5px;
            color: var(--ink-soft);
            line-height: 1.6;
        }
        .file-no b { color: var(--ink); font-size: 13.5px; }
        .stamp {
            font-family: var(--font-mono);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.1em;
            color: var(--brass);
            border: 2px double var(--brass);
            border-radius: 50%;
            width: 82px;
            height: 82px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            text-transform: uppercase;
            transform: rotate(12deg);
            line-height: 1.3;
            flex: none;
            opacity: 0.9;
        }
        .ledger-table {
            width: 100%;
            border-collapse: collapse;
            font-family: var(--font-mono);
            font-size: 13px;
        }
        .ledger-table th {
            text-align: left;
            font-weight: 600;
            color: var(--ink-soft);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 11px;
            border-bottom: 1px solid var(--line);
            padding: 0 8px 10px 0;
        }
        .ledger-table td {
            padding: 14px 8px;
            border-bottom: 1px solid var(--line-soft);
            vertical-align: middle;
        }
        .ledger-table tr:last-child td { border-bottom: none; }
        .metric { color: var(--ink-soft); }
        .flagged {
            display: inline-block;
            border: 2px solid var(--redline);
            color: var(--ink);
            font-weight: 600;
            border-radius: 60% 40% 55% 45%/45% 55% 40% 60%;
            padding: 2px 10px;
            transform: rotate(-3deg) scale(0.8);
            opacity: 0;
            transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
        }
        .is-visible .flagged {
            transform: rotate(-3deg) scale(1);
            opacity: 1;
        }
        .flagged.f2 { transition-delay: 0.2s; }
        .flagged.f3 { transition-delay: 0.4s; }
        .icon { width: 16px; height: 16px; vertical-align: middle; }
        .note {
            margin-top: 20px;
            padding: 12px 16px;
            border-left: 3px solid var(--redline);
            font-family: var(--font-hand);
            font-size: 21px;
            line-height: 1.3;
            color: var(--redline);
            background: rgba(178, 58, 46, 0.06);
            border-radius: 0 4px 4px 0;
        }
        
        /* ---------- sample report (full ledger) ---------- */
        .report-panel {
            background: var(--paper-raised);
            border: 1px solid var(--line-soft);
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 20px 40px -15px rgba(21, 36, 51, 0.08);
            overflow: hidden;
        }
        .report-panel table {
            width: 100%;
            border-collapse: collapse;
            font-family: var(--font-mono);
            font-size: 14px;
        }
        .report-panel thead th {
            text-align: left;
            padding: 20px 24px;
            font-size: 11.5px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--ink-soft);
            border-bottom: 1px solid var(--line);
            background: rgba(249, 250, 247, 0.5);
        }
        .report-panel td {
            padding: 20px 24px;
            border-bottom: 1px solid var(--line-soft);
        }
        .report-panel tr:last-child td { border-bottom: none; }
        .report-panel td.metric-name {
            font-family: var(--font-body);
            color: var(--ink);
            font-weight: 600;
        }
        .report-panel tbody tr { transition: background 0.2s ease; }
        .report-panel tbody tr:hover { background: rgba(0,0,0,0.015); }
        .tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.04em;
            padding: 6px 12px;
            border-radius: 30px;
            text-transform: uppercase;
        }
        .tag-flag {
            background: rgba(178, 58, 46, 0.12);
            color: var(--redline);
            border: 1px solid rgba(178, 58, 46, 0.2);
        }
        .tag-clear {
            background: rgba(63, 107, 74, 0.12);
            color: var(--verified);
            border: 1px solid rgba(63, 107, 74, 0.2);
        }
        @media(max-width:720px) {
            .report-panel thead { display: none; }
            .report-panel td { display: block; padding: 10px 20px; }
            .report-panel td.metric-name { padding-top: 20px; font-weight: 600; font-size: 16px; }
            .report-panel tr { display: block; border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; }
        }
        
        .compare {
            border: 1px solid var(--line-soft);
            border-radius: 12px;
            overflow: hidden;
            background: var(--paper-raised);
            box-shadow: 0 15px 35px -10px rgba(21, 36, 51, 0.1);
        }
        .compare-row {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            transition: background 0.2s ease;
        }
        .compare-row:hover { background: rgba(0,0,0,0.015); }
        .compare-row + .compare-row { border-top: 1px solid var(--line-soft); }
        .compare-row div { padding: 20px 24px; font-size: 15px; line-height: 1.5; }
        .compare-row .them { color: var(--ink-soft); border-right: 1px solid var(--line-soft); }
        .compare-row .us { color: var(--ink); font-weight: 600; }
        .compare-head {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            background: var(--ink);
            color: var(--paper-raised);
        }
        .compare-head div {
            padding: 16px 24px;
            font-family: var(--font-mono);
            font-size: 12px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            font-weight: 600;
        }
        .compare-head .them { border-right: 1px solid rgba(255, 255, 255, 0.15); }
        
        /* ---------- pricing ---------- */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
            margin-top: 60px;
        }
        @media(max-width:940px) {
            .pricing-grid {
                grid-template-columns: 1fr;
                max-width: 460px;
                margin-left: auto;
                margin-right: auto;
            }
        }
        .price-card {
            background: var(--paper-raised);
            border: 1px solid var(--line-soft);
            border-radius: 12px;
            padding: 40px 32px;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .price-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px -15px rgba(21, 36, 51, 0.1);
        }
        .price-card.featured {
            background: linear-gradient(150deg, var(--ink) 0%, #0a111a 100%);
            border: 1px solid rgba(168, 130, 60, 0.5);
            color: var(--paper-raised);
            position: relative;
            box-shadow: 0 30px 60px -20px rgba(21, 36, 51, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
            transform: scale(1.03);
            z-index: 2;
        }
        @media(max-width:940px) {
            .price-card.featured { transform: scale(1); z-index: 1; }
        }
        .price-card.featured:hover {
            transform: scale(1.03) translateY(-5px);
            box-shadow: 0 40px 70px -20px rgba(21, 36, 51, 0.6), inset 0 1px 0 rgba(255,255,255,0.1);
        }
        @media(max-width:940px) {
            .price-card.featured:hover { transform: translateY(-5px); }
        }
        .featured-tag {
            position: absolute;
            top: -14px;
            left: 32px;
            background: linear-gradient(90deg, var(--brass), #c2994c);
            color: #1a1407;
            font-family: var(--font-mono);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.1em;
            padding: 6px 14px;
            border-radius: 4px;
            text-transform: uppercase;
            box-shadow: 0 4px 10px rgba(168, 130, 60, 0.3);
        }
        .price-card h3 {
            font-size: 24px;
            margin-bottom: 8px;
            color: inherit;
        }
        .price-card .price {
            font-family: var(--font-mono);
            font-size: 40px;
            color: inherit;
            margin: 12px 0 8px;
            font-weight: 500;
        }
        .price-card .price span {
            font-size: 15px;
            color: var(--ink-soft);
            font-family: var(--font-body);
        }
        .price-card.featured .price span { color: rgba(255,255,255,0.6); }
        .price-card .tagline {
            color: var(--ink-soft);
            font-size: 15px;
            margin-bottom: 24px;
            line-height: 1.5;
        }
        .price-card.featured .tagline { color: rgba(255,255,255,0.7); }
        .price-card ul {
            list-style: none;
            padding: 0;
            margin: 0 0 32px;
            flex: 1;
        }
        .price-card li {
            font-size: 15px;
            color: inherit;
            padding: 12px 0 12px 28px;
            position: relative;
            border-top: 1px solid var(--line-soft);
        }
        .price-card.featured li { border-top: 1px solid rgba(255,255,255,0.1); }
        .price-card li:first-child { border-top: none; }
        .price-card li::before {
            content: "âœ“";
            position: absolute;
            left: 0;
            color: var(--brass);
            font-weight: bold;
        }
        .price-card .btn { width: 100%; }
        
        /* ---------- faq ---------- */
        .faq { max-width: 820px; margin: 0 auto; }
        details {
            border-bottom: 1px solid var(--line);
            padding: 24px 0;
        }
        summary {
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 600;
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            color: var(--ink);
            transition: color 0.2s ease;
        }
        summary:hover { color: var(--brass); }
        summary::-webkit-details-marker { display: none; }
        summary::after {
            content: "+";
            font-family: var(--font-mono);
            font-size: 24px;
            color: var(--brass);
            flex: none;
            font-weight: 400;
        }
        details[open] summary::after { content: "â€“"; }
        details p {
            color: var(--ink-soft);
            margin: 16px 0 8px;
            font-size: 16px;
            line-height: 1.7;
            max-width: 68ch;
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
    
.ledger-card { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(0); }
.ledger-card.enable-hover:hover { transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) translateZ(30px); box-shadow: -15px 25px 40px rgba(0,0,0,0.15); }
.ledger-card.has-pin::before { display: none !important; }
.ledger-pin { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 24px; height: 60px; color: var(--accent); z-index: 10; }
.ledger-card:not(.enable-hover):hover { transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(0) !important; box-shadow: 0px 4px 20px rgba(0,0,0,0.08) !important; }
.price-card.equal-height { height: 100%; display: flex; flex-direction: column; }
.price-card.equal-height .btn { margin-top: auto; }
.faq details summary { font-family: 'Inter Tight', sans-serif !important; }
.price-card ul li { display: flex; align-items: flex-start; }
.pricing-icon { display: flex; align-items: center; justify-content: center; min-width: 20px; min-height: 20px; }
.pricing-icon svg { width: 14px; height: 14px; fill: currentColor; }
.report-panel {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.report-panel tr:last-child td {
    border-bottom: 1px solid var(--line-soft);
}
.price-card ul li::before { display: none !important; content: none !important; }
.price-card ul li { padding-left: 0 !important; }
.ledger-card:not(.enable-hover) {
    transform: rotate(2deg) !important;
}
.ledger-card:not(.enable-hover):hover {
    transform: rotate(2deg) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}
.report-panel tr:last-child td {
    border-bottom: 1px solid var(--line-soft) !important;
}

details[open] summary::after { content: "-" !important; }
