/* card #1334: cost guides in the how-it-works visual language
   (/how-much-does-a-business-website-cost/, /de/was-kostet-eine-website/,
   /website-cost-comparison-2026/, /website-maintenance-cost/, /website-redesign-cost/).
   Builds on /assets/hiw.css (read-only) and only adds .hcost-* rules plus restyles of the
   guides' own table / pros-cons / steps / sources markup, all scoped under .hcost.
   Every price, label and paragraph is real text, fully visible in the BASE frame: loops
   only add highlights on top, so a paused, reduced-motion or JS-off page shows the whole
   diagram. Decorative diagrams are aria-hidden and repeat text that the page states
   in full below them. Looping parts have fixed boxes so nothing shifts layout. */

.hcost { --hcost-amber: #f59e0b; }
.hcost svg:not([width]) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hcost .hcost-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: -18px 0 30px; font-size: 13px; color: var(--text-muted); }
.hcost .hcost-meta span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 14px 2px 0; border-radius: 50%;
    background: rgba(16,185,129,0.6); vertical-align: middle; }

/* ================= HERO DIAGRAM: the price ladder ================= */
.hcost .hcost-ladder { position: relative; border-radius: 22px; border: 1px solid rgba(255,255,255,0.1); padding: 22px 22px 18px;
    background: linear-gradient(165deg, rgba(16,185,129,0.08), #0a0c0b 55%);
    box-shadow: 0 40px 120px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(16,185,129,0.06) inset; }
.hcost .hcost-ladder::before { content: ''; position: absolute; inset: 10% 8% -8%; z-index: -1; border-radius: 32px;
    background: radial-gradient(ellipse at 50% 60%, rgba(16,185,129,0.22), transparent 70%); filter: blur(30px); }
.hcost .hcost-cap { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk'; font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; line-height: 14px; }
.hcost .hcost-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); animation: hiwPing 2.4s ease-out infinite; }
.hcost .hcost-rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hcost .hcost-rung { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline;
    padding: 10px 14px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.025);
    animation: hcostRung 9s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
@keyframes hcostRung { 0%, 100% { border-color: rgba(255,255,255,0.06); box-shadow: none; }
    4%, 11% { border-color: rgba(16,185,129,0.5); box-shadow: 0 0 22px -6px rgba(16,185,129,0.55); }
    16% { border-color: rgba(255,255,255,0.06); box-shadow: none; } }
.hcost .hcost-rung-n { min-width: 0; font-family: 'Space Grotesk'; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.hcost .hcost-rung-p { font-family: 'Space Grotesk'; font-size: 13px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.hcost .hcost-bar { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.05); overflow: hidden; }
.hcost .hcost-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 6px;
    background: linear-gradient(90deg, rgba(235,235,235,0.18), rgba(235,235,235,0.38)); }
.hcost .hcost-bar i::after { content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent); background-size: 40% 100%; background-repeat: no-repeat;
    background-position: -60% 0; animation: hcostShine 9s linear infinite; animation-delay: calc(var(--i) * 1.2s); }
@keyframes hcostShine { 0% { background-position: -60% 0; } 12%, 100% { background-position: 160% 0; } }
.hcost .hcost-rung.us { border-color: rgba(16,185,129,0.42); background: rgba(16,185,129,0.09); }
.hcost .hcost-rung.us .hcost-rung-n, .hcost .hcost-rung.us .hcost-rung-p { color: var(--emerald); }
.hcost .hcost-rung.us .hcost-bar i { background: linear-gradient(90deg, #10b981, #6ee7b7); box-shadow: 0 0 14px rgba(16,185,129,0.6); }
.hcost .hcost-foot { margin: 12px 2px 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }

/* ================= INTRO + CALLOUT ================= */
.hcost .hcost-intro { max-width: 880px; font-size: 18px; line-height: 1.8; color: var(--text-dim); margin: 0 0 28px; }
.hcost .hcost-intro strong { color: var(--text); }
.hcost .hcost-callout { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; max-width: 880px;
    padding: 22px 26px; border-radius: 20px; border: 1px solid rgba(16,185,129,0.3); overflow: hidden;
    background: radial-gradient(ellipse 60% 120% at 0% 50%, rgba(16,185,129,0.16), transparent 70%), #0b0d0c; }
.hcost .hcost-callout p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text); }
.hcost .hcost-callout .hiw-ico { width: 48px; height: 48px; border-radius: 14px; }
.hcost .hcost-callout .hiw-ico svg { width: 24px; height: 24px; }

/* ================= HUB CARDS ================= */
.hcost .hcost-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hcost .hcost-hubcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: 20px;
    border: 1px solid var(--hiw-line); background: var(--hiw-card); color: var(--text); text-decoration: none; overflow: hidden; }
.hcost .hcost-hubcard::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6;
    background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(16,185,129,0.1), transparent 70%); }
.hcost .hcost-hubcard:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); }
.hcost .hcost-hubcard .hub-kind { position: relative; font-family: 'Space Grotesk'; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald); }
.hcost .hcost-hubcard .hub-title { position: relative; font-family: 'Newsreader', Georgia, serif; font-size: 21px; font-weight: 700; line-height: 1.25; }
.hcost .hcost-hubcard .hub-desc { position: relative; font-size: 14px; line-height: 1.65; color: var(--text-dim); }
.hcost .hcost-hubnote { margin-top: 22px; font-size: 15px; line-height: 1.75; color: var(--text-dim); max-width: 880px; }

/* ================= PRICE STAIRS (ordered tier list) ================= */
.hcost .hcost-stairs { list-style: none; margin: 0; padding: 0; counter-reset: hcost; display: grid; gap: 12px; }
.hcost .hcost-stairs > li { counter-increment: hcost; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start;
    margin-left: calc(var(--i, 0) * 28px); padding: 18px 22px; border-radius: 18px; border: 1px solid var(--hiw-line); background: var(--hiw-card);
    font-size: 15.5px; line-height: 1.7; color: var(--text-dim); overflow: hidden; }
.hcost .hcost-stairs > li::before { content: counter(hcost, decimal-leading-zero); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); background: #0b0d0c; font-family: 'Space Grotesk'; font-weight: 700; font-size: 14px; color: var(--text-dim); }
.hcost .hcost-stairs > li::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #34d399, #10b981);
    opacity: 0; animation: hcostStep 12s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 2s); }
@keyframes hcostStep { 0%, 100% { opacity: 0; } 3%, 14% { opacity: 1; } 18% { opacity: 0; } }
.hcost .hcost-stairs > li > div > strong:first-child { display: block; font-family: 'Space Grotesk'; font-size: 17px; color: var(--text); margin-bottom: 2px; }
.hcost .hcost-stairs > li.us { border-color: rgba(16,185,129,0.38); background: linear-gradient(165deg, rgba(16,185,129,0.12), rgba(16,185,129,0.02) 55%, #0b0d0c); }
.hcost .hcost-stairs > li.us::before { background: var(--emerald); border-color: var(--emerald); color: var(--bg); box-shadow: 0 0 0 6px rgba(16,185,129,0.14); }
.hcost .hcost-stairs > li.us > div > strong:first-child { color: var(--emerald); }

/* ================= CARD GRIDS (tiers, recommendations, leaks) ================= */
.hcost .hcost-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hcost .hcost-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hcost .hcost-card { position: relative; border-radius: 22px; border: 1px solid var(--hiw-line); background: var(--hiw-card); padding: 26px 26px 24px; overflow: hidden; }
.hcost .hcost-card::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(16,185,129,0.08), transparent 70%); }
.hcost .hcost-card > * { position: relative; }
.hcost .hcost-card .hiw-card-head { margin-bottom: 12px; }
.hcost .hcost-card h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--text); margin: 0 0 10px; }
.hcost .hcost-card .hiw-card-head h3 { margin: 0; }
.hcost .hcost-card p { font-size: 15px; line-height: 1.75; color: var(--text-dim); margin: 0 0 12px; }
.hcost .hcost-card p:last-child { margin-bottom: 0; }
.hcost .hcost-card ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.hcost .hcost-card ul li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.65; color: var(--text-dim); }
.hcost .hcost-card ul li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.hcost .hcost-card.us { border-color: rgba(16,185,129,0.38); background: linear-gradient(165deg, rgba(16,185,129,0.12), rgba(16,185,129,0.02) 50%, #0b0d0c); }
.hcost .hcost-card.us::after { content: ''; position: absolute; top: -110px; right: -110px; width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.25), transparent 70%); pointer-events: none; }
.hcost .hcost-card.wide { grid-column: 1 / -1; }
.hcost .hcost-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
    font-family: 'Space Grotesk'; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--emerald);
    border: 1px solid rgba(16,185,129,0.3); background: rgba(16,185,129,0.08); }
.hcost .hcost-card.leak { border-color: rgba(245,158,11,0.2); background: linear-gradient(165deg, rgba(245,158,11,0.06), #0b0d0c 60%); }
.hcost .hcost-card.leak::before { display: none; }
.hcost .hcost-card.leak .hiw-ico { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.25); color: var(--hcost-amber); }
.hcost .hcost-card.leak h3 { font-family: 'Space Grotesk'; font-size: 16px; line-height: 1.35; }

/* ================= RECEIPT DIAGRAM (hidden costs) ================= */
.hcost .hcost-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin-bottom: 48px; }
.hcost .hcost-split .hiw-head { margin-bottom: 0; }
.hcost .hcost-receipt { position: relative; max-width: 420px; justify-self: end; width: 100%; border-radius: 18px; padding: 20px 22px 18px;
    border: 1px solid rgba(255,255,255,0.1); background: #0a0c0b; box-shadow: 0 30px 90px -30px rgba(0,0,0,0.9); }
.hcost .hcost-receipt::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -7px; height: 14px;
    background: radial-gradient(circle at 7px 0, transparent 6px, #0a0c0b 6.5px) 0 0 / 14px 14px repeat-x; }
.hcost .hcost-receipt-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 10px;
    border-bottom: 1px dashed rgba(255,255,255,0.14); font-family: 'Space Grotesk'; font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--text-dim); }
.hcost .hcost-receipt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hcost .hcost-receipt li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 8px;
    font-size: 13px; color: var(--text-dim); animation: hcostLine 10.5s ease-in-out infinite; animation-delay: calc(var(--i) * 1.3s); }
.hcost .hcost-receipt li b { flex: none; font-family: 'Space Grotesk'; font-size: 13px; color: var(--hcost-amber); }
.hcost .hcost-receipt li.base b { color: var(--emerald); }
@keyframes hcostLine { 0%, 100% { background: transparent; color: var(--text-dim); } 4%, 10% { background: rgba(245,158,11,0.1); color: var(--text); } 14% { background: transparent; color: var(--text-dim); } }
.hcost .hcost-receipt li.base { animation: none; color: var(--text); }
.hcost .hcost-receipt-total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px;
    border-top: 1px dashed rgba(255,255,255,0.14); font-family: 'Space Grotesk'; font-size: 14px; font-weight: 700; color: var(--text); }
.hcost .hcost-receipt-total b { color: var(--hcost-amber); }

/* ================= NEXT STEP ================= */
.hcost .hcost-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 34px 38px; border-radius: 24px;
    border: 1px solid rgba(16,185,129,0.25); background: radial-gradient(ellipse at 100% 0%, rgba(16,185,129,0.18), transparent 60%), #0b0d0c; }
.hcost .hcost-next h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.hcost .hcost-next p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text-dim); max-width: 680px; }

/* ================= GUIDE MARKUP RESTYLED (tables, notes, pros/cons, steps, sources) ================= */
.hcost .table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 14px; border-radius: 22px;
    border: 1px solid var(--hiw-line); background: var(--hiw-card); }
.hcost .table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hcost .table-wrap th, .hcost .table-wrap td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--hiw-line);
    color: var(--text-dim); line-height: 1.6; }
.hcost .table-wrap th { font-family: 'Space Grotesk'; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted); background: rgba(255,255,255,0.02); }
.hcost .table-wrap tr:last-child td { border-bottom: 0; }
.hcost .table-wrap td:first-child { color: var(--text); font-weight: 600; }
.hcost .table-wrap tbody tr { transition: background .3s; }
.hcost .table-wrap tbody tr:hover { background: rgba(16,185,129,0.04); }
.hcost .table-wrap tr.us td { background: rgba(16,185,129,0.08); color: var(--text); }
.hcost .table-wrap tr.us td:first-child { color: var(--emerald); box-shadow: inset 3px 0 0 var(--emerald); }
.hcost .table-note { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin: 0 0 8px; max-width: 880px; }
.hcost .hcost-body { max-width: 880px; }
.hcost .hcost-body > p, .hcost .hcost-prose p { font-size: 16px; line-height: 1.8; color: var(--text-dim); margin: 0 0 18px; }
.hcost .hcost-body > ul, .hcost .hcost-prose ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.hcost .hcost-body > ul > li, .hcost .hcost-prose ul > li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.75; color: var(--text-dim); }
.hcost .hcost-body > ul > li::before, .hcost .hcost-prose ul > li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.hcost .hcost-body > h3, .hcost .hcost-prose h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: 23px; line-height: 1.3; color: var(--text); margin: 30px 0 12px; }
.hcost .pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px; }
.hcost .pros-cons > div { border-radius: 22px; border: 1px solid rgba(16,185,129,0.3); padding: 26px 26px 20px;
    background: linear-gradient(165deg, rgba(16,185,129,0.1), #0b0d0c 60%); }
.hcost .pros-cons > div.cons { border-color: rgba(245,158,11,0.24); background: linear-gradient(165deg, rgba(245,158,11,0.07), #0b0d0c 60%); }
.hcost .pros-cons h3, .hcost .pros-cons h4 { font-family: 'Space Grotesk'; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--emerald); margin: 0 0 14px; }
.hcost .pros-cons .cons h3, .hcost .pros-cons .cons h4 { color: var(--hcost-amber); }
.hcost .pros-cons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hcost .pros-cons li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.65; color: var(--text-dim); }
.hcost .pros-cons li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(16,185,129,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.hcost .pros-cons .cons li::before { background: rgba(245,158,11,0.13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.hcost .sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: hsrc; }
.hcost .sources li { counter-increment: hsrc; position: relative; padding: 12px 16px 12px 52px; border-radius: 12px; border: 1px solid var(--hiw-line);
    background: rgba(255,255,255,0.015); font-size: 14px; line-height: 1.6; color: var(--text-dim); overflow-wrap: anywhere; }
.hcost .sources li::before { content: counter(hsrc); position: absolute; left: 14px; top: 11px; width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-size: 12px; font-weight: 700;
    color: var(--emerald); background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); }
.hcost .hcost-sources-wrap { max-width: 980px; }


/* ================= GUIDE BODY: shared by the four companion guides ================= */
.hcost .hiw-answer-in.solo { grid-template-columns: minmax(0, 1fr); }
.hcost .hiw-answer-in.solo .answer-box { max-width: 900px; }
.hcost .hcost-lede { padding-bottom: 0; }
.hcost .hcost-lede .hcost-intro:last-child, .hcost .hcost-lede .hcost-callout:last-child { margin-bottom: 0; }
.hcost .hcost-lede > .hiw-wrap > p:not([class]) { max-width: 880px; font-size: 16px; line-height: 1.8; color: var(--text-dim); margin: 0 0 18px; }
.hcost .hcost-body.wide { max-width: none; }
.hcost .hcost-body.wide > p, .hcost .hcost-body.wide > ul, .hcost .hcost-body.wide > ol, .hcost .hcost-body.wide > h3 { max-width: 880px; }
.hcost .hcost-body > p strong, .hcost .hcost-body li strong { color: var(--text); }
.hcost .hcost-body a, .hcost .hcost-lede a, .hcost .hiw-faq a, .hcost .table-wrap a, .hcost .sources a, .hcost .table-note a {
    color: var(--emerald); text-decoration: underline; text-decoration-color: rgba(16,185,129,0.4); text-underline-offset: 3px; }
.hcost .hcost-body a:hover, .hcost .hcost-lede a:hover, .hcost .hiw-faq a:hover { text-decoration-color: var(--emerald); }
.hcost .hcost-body > .table-wrap + .table-note, .hcost .hcost-body > .table-note { margin-bottom: 18px; }
.hcost .hcost-body > .table-wrap:not(:first-child) { margin-top: 6px; }
.hcost .hcost-body > ol { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; counter-reset: hol; }
.hcost .hcost-body > ol > li { counter-increment: hol; position: relative; padding: 16px 20px 16px 64px; border-radius: 16px;
    border: 1px solid var(--hiw-line); background: var(--hiw-card); font-size: 15.5px; line-height: 1.7; color: var(--text-dim); }
.hcost .hcost-body > ol > li::before { content: counter(hol, decimal-leading-zero); position: absolute; left: 18px; top: 15px; width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-size: 12px; font-weight: 700;
    color: var(--emerald); background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.28); }
.hcost .hcost-body > h3:first-child { margin-top: 0; }
.hcost .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 6px 0 24px; counter-reset: hstep; }
.hcost .step { counter-increment: hstep; position: relative; padding: 26px 24px 22px; border-radius: 22px; border: 1px solid var(--hiw-line);
    background: linear-gradient(165deg, rgba(16,185,129,0.07), #0b0d0c 60%); }
.hcost .step::before { content: counter(hstep, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border-radius: 50%; margin-bottom: 14px; font-family: 'Space Grotesk'; font-size: 13px; font-weight: 700; color: var(--emerald);
    background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.32); }
.hcost .step h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--text); margin: 0 0 8px; }
.hcost .step p { font-size: 15px; line-height: 1.7; color: var(--text-dim); margin: 0; }
.hcost .hiw-faq details p + p { padding-top: 0; }
.hcost .hcost-body > .hcost-grid { margin: 8px 0 24px; }
.hcost .hcost-body > .hcost-grid .hcost-card h3 { margin-top: 0; }
.hcost .hcost-body > ul.hcost-cardlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hcost .hcost-body > ul.hcost-cardlist > li { padding: 20px 22px 20px 22px; border-radius: 18px; border: 1px solid var(--hiw-line); background: var(--hiw-card); font-size: 15px; line-height: 1.7; }
.hcost .hcost-body > ul.hcost-cardlist > li::before { display: none; }
.hcost .hcost-body > ul.hcost-cardlist > li > strong:first-child { display: block; font-family: 'Space Grotesk'; font-size: 15.5px; margin-bottom: 6px; color: var(--text); }


/* ================= RESPONSIVE ================= */
.hcost .hcost-head-gap { margin-top: 96px; }

@media (max-width: 1024px) {
    .hcost .hcost-hub, .hcost .hcost-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcost .hcost-split { grid-template-columns: 1fr; gap: 32px; }
    .hcost .hcost-receipt { justify-self: start; }
    .hcost .hcost-stairs > li { margin-left: calc(var(--i, 0) * 14px); }
}
@media (max-width: 768px) {
    .hcost .hcost-hub, .hcost .hcost-grid, .hcost .hcost-grid.three, .hcost .pros-cons { grid-template-columns: 1fr; }
    .hcost .hcost-ladder { padding: 18px 16px 14px; }
    .hcost .hcost-rung { padding: 9px 12px 11px; }
    .hcost .hcost-rung-n { font-size: 13px; }
    .hcost .hcost-intro { font-size: 16.5px; }
    .hcost .hcost-callout { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
    .hcost .hcost-stairs > li { margin-left: 0; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px 16px; }
    .hcost .hcost-stairs > li::before { width: 36px; height: 36px; font-size: 13px; }
    .hcost .hcost-card { padding: 22px 20px 20px; }
    .hcost .hcost-card h3 { font-size: 20px; }
    .hcost .hcost-next { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
    .hcost .hcost-next .hiw-btn { justify-content: center; }
    .hcost .table-wrap.stack { border: 0; background: none; overflow: visible; border-radius: 0; }
    .hcost .table-wrap.stack table, .hcost .table-wrap.stack tbody, .hcost .table-wrap.stack tr, .hcost .table-wrap.stack td { display: block; width: 100%; }
    .hcost .table-wrap.stack thead { display: none; }
    .hcost .table-wrap.stack tr { border: 1px solid var(--hiw-line); border-radius: 16px; margin-bottom: 12px; padding: 8px 0; background: var(--hiw-card); }
    .hcost .table-wrap.stack tr.us { border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.06); }
    .hcost .table-wrap.stack tr.us td { background: none; }
    .hcost .table-wrap.stack tr.us td:first-child { box-shadow: none; }
    .hcost .table-wrap.stack td { border-bottom: 0; padding: 6px 18px; }
    .hcost .table-wrap.stack td:first-child { font-family: 'Space Grotesk'; font-size: 16px; padding-top: 10px; }
    .hcost .table-wrap.stack td:not(:first-child)::before { content: attr(data-label); display: block; font-family: 'Space Grotesk';
        font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
    .hcost .sources li { padding-left: 46px; }
    .hcost .steps, .hcost .hcost-body > ul.hcost-cardlist { grid-template-columns: 1fr; }
    .hcost .hcost-body > ol > li { padding: 14px 16px 14px 58px; }
    .hcost .hcost-body > ol > li::before { left: 14px; }
}

/* reduced motion: hiw.css already stops every animation under .hiw; this keeps the
   diagrams on their complete base frame (no highlight frozen half way). */
@media (prefers-reduced-motion: reduce) {
    .hcost .hcost-stairs > li::after { opacity: 0; }
    .hcost .hcost-bar i::after { display: none; }
}
