/* ==========================================================================
   Ink or Walk: v2 engagement layer (Shorty). Loaded AFTER brand.css.
   Adds: open/closed chip, honest trust strip, APR cost calculator, the free
   Deal Checkup tool, guides, a single sticky CTA, reveal-on-scroll.
   No testimonials, ratings or counters: FTC 16 CFR 465 / Section 5.
   ========================================================================== */

/* ---------- small utilities ---------- */
.v2-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn, .nav-toggle { min-height: 44px; }
.iw-sheet { color: var(--ink); }

/* ---------- hours chip (truthful: computed from Mon–Sat 9–7 Central) ---------- */
.v2-hours { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; margin-bottom: 18px; }
.v2-hours .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-light); flex: none; }
.v2-hours.open .dot { background: var(--green); box-shadow: 0 0 0 0 rgba(21,128,61,.45); animation: v2-ping 2.2s infinite; }
@keyframes v2-ping { 0% { box-shadow: 0 0 0 0 rgba(21,128,61,.45); } 70% { box-shadow: 0 0 0 9px rgba(21,128,61,0); } 100% { box-shadow: 0 0 0 0 rgba(21,128,61,0); } }

/* ---------- hero tweaks ---------- */
.v2-cta-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 10px; }
.v2-cta-sub a { font-weight: 700; }
.iw-hero h1 { text-wrap: balance; }
@media (max-width: 640px) {
  .iw-hero h1 { font-size: clamp(36px, 10vw, 50px); line-height: 1.08; }
  .iw-trust { line-height: 1.6; }
}

/* ---------- trust strip ---------- */
.v2-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 8px 0 0; }
.v2-trust > div { padding: 20px 22px; border-left: 1px solid var(--border); }
.v2-trust > div:first-child { border-left: 0; }
.v2-trust b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.v2-trust span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 860px) { .v2-trust { grid-template-columns: 1fr 1fr; } .v2-trust > div:nth-child(3) { border-left: 0; } .v2-trust > div:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 480px) { .v2-trust { grid-template-columns: 1fr; } .v2-trust > div { border-left: 0; } .v2-trust > div + div { border-top: 1px solid var(--border); } }

/* ---------- APR cost calculator ---------- */
.v2-calc { background: var(--navy); color: #e8ecf3; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.v2-calc h2 { color: #fff; font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 36px); margin: 6px 0 10px; }
.v2-calc p.lead { color: #b9c3d3; margin: 0 0 22px; }
.v2-field { margin-bottom: 18px; }
.v2-field label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: #dfe5ee; margin-bottom: 8px; }
.v2-field label output { color: var(--highlight); font-variant-numeric: tabular-nums; }
.v2-field input[type=range] { width: 100%; accent-color: var(--highlight); height: 28px; }
.v2-result { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 26px; text-align: center; }
.v2-result .big { font-family: var(--font-serif); font-size: clamp(40px, 6vw, 58px); font-weight: 700; color: var(--highlight); line-height: 1; font-variant-numeric: tabular-nums; }
.v2-result .cap { font-size: 14px; color: #b9c3d3; margin-top: 8px; }
.v2-result .row { display: flex; justify-content: space-between; font-size: 14px; color: #dfe5ee; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-variant-numeric: tabular-nums; }
.v2-result .row:first-of-type { margin-top: 18px; }
.v2-result .btn { margin-top: 18px; width: 100%; }
.v2-fine-dark { font-size: 13px; color: #8fa0b8; margin-top: 14px; }
@media (max-width: 860px) { .v2-calc { grid-template-columns: 1fr; } }

/* ---------- checkup teaser ---------- */
.v2-teaser { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--green-tint); border: 1px solid #b7e4c7; border-radius: var(--radius-lg); padding: 22px 26px; }
.v2-teaser .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.v2-teaser h2 { font-size: 22px; margin: 0 0 4px; }
.v2-teaser p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 720px) { .v2-teaser { grid-template-columns: 1fr; text-align: left; } .v2-teaser .btn { width: 100%; } }

/* ---------- guides cards ---------- */
.v2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v2-card { display: block; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.v2-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.v2-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); }
.v2-card h3 { font-size: 19px; margin: 8px 0 6px; line-height: 1.3; }
.v2-card p { font-size: 15px; color: var(--muted); margin: 0; }
.v2-card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--green-dark); font-size: 14px; }
@media (max-width: 900px) { .v2-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .v2-cards { grid-template-columns: 1fr; } }

/* ---------- single sticky CTA (replaces both older bars on v2 pages) ---------- */
.v2-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(14,23,38,.97); color: #fff; display: flex; gap: 14px; align-items: center; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
.v2-sticky.show { transform: translateY(0); }
.v2-sticky .msg { font-size: 15px; font-weight: 600; }
.v2-sticky .btn { padding: 10px 22px; }
@media (max-width: 640px) { .v2-sticky .msg { display: none; } .v2-sticky .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .v2-sticky { transition: none; } }

/* ---------- reveal on scroll ---------- */
.v2-js .v2-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.v2-js .v2-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .v2-js .v2-reveal { opacity: 1; transform: none; transition: none; } .v2-hours.open .dot { animation: none; } }

/* ==========================================================================
   Deal Checkup tool
   ========================================================================== */
.v2-tool { max-width: 760px; margin: 0 auto; }
.v2-progress { height: 8px; background: var(--cream-dark); border-radius: 999px; overflow: hidden; margin: 6px 0 22px; }
.v2-progress > i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .3s ease; }
.v2-step { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow-md); }
.v2-step[hidden] { display: none; }
.v2-step h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 6px; }
.v2-step .hint { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.v2-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .v2-grid2 { grid-template-columns: 1fr; } }
.v2-input label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.v2-input .money { position: relative; }
.v2-input .money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.v2-input .pct { position: relative; }
.v2-input .pct::after { content: "%"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.v2-input input, .v2-input select { width: 100%; font-size: 17px; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: 12px; background: #fff; color: var(--ink); }
.v2-input .money input { padding-left: 28px; }
.v2-input .pct input { padding-right: 32px; }
.v2-input input:focus, .v2-input select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(21,128,61,.18); }
.v2-input small { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.v2-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-chip { position: relative; }
.v2-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.v2-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--border-strong); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; user-select: none; }
.v2-chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.v2-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.v2-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.v2-nav .btn { min-width: 130px; }
.v2-privacy { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }

.v2-score { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: var(--radius-lg); margin-bottom: 18px; }
.v2-score.red { background: var(--red-tint); border: 1px solid #f5c2bd; }
.v2-score.amber { background: #fffaeb; border: 1px solid #f3dca3; }
.v2-score.green { background: var(--green-tint); border: 1px solid #b7e4c7; }
.v2-score .stamp { font-family: var(--font-serif); font-weight: 800; font-size: 22px; letter-spacing: .06em; padding: 12px 16px; border: 3px solid currentColor; border-radius: 10px; transform: rotate(-4deg); }
.v2-score.red .stamp { color: var(--red); }
.v2-score.amber .stamp { color: #9a6700; }
.v2-score.green .stamp { color: var(--green); }
.v2-score h2 { margin: 0 0 4px; font-size: 24px; }
.v2-score p { margin: 0; color: var(--ink-soft); }
.v2-flags { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.v2-flags li { background: var(--paper); border: 1px solid var(--border); border-left: 5px solid var(--muted-light); border-radius: 12px; padding: 14px 16px; }
.v2-flags li.red { border-left-color: var(--red); }
.v2-flags li.amber { border-left-color: #d29922; }
.v2-flags li.green { border-left-color: var(--green); }
.v2-flags b { display: block; margin-bottom: 3px; }
.v2-flags .amt { float: right; font-weight: 800; font-variant-numeric: tabular-nums; margin-left: 10px; }
.v2-flags span { color: var(--ink-soft); font-size: 15px; }
.v2-asks { background: var(--paper); border: 1px dashed var(--border-strong); border-radius: 14px; padding: 18px 20px; }
.v2-asks h3 { margin: 0 0 8px; font-size: 18px; }
.v2-asks ol { margin: 0 0 12px; padding-left: 20px; }
.v2-asks li { margin: 6px 0; }
.v2-upsell { margin-top: 22px; background: var(--navy); color: #e8ecf3; border-radius: var(--radius-lg); padding: 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.v2-upsell h3 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.v2-upsell p { margin: 0; color: #b9c3d3; font-size: 15px; }
@media (max-width: 640px) { .v2-upsell { grid-template-columns: 1fr; } .v2-upsell .btn { width: 100%; } }

/* ==========================================================================
   Guides (articles)
   ========================================================================== */
.v2-article { max-width: 760px; margin: 0 auto; padding: 28px 0 40px; }
.v2-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.v2-crumbs a { color: var(--muted); }
.v2-article h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 0 0 14px; text-wrap: balance; }
.v2-byline { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 22px; }
.v2-article h2 { font-size: 26px; margin: 34px 0 10px; }
.v2-article h3 { font-size: 20px; margin: 24px 0 8px; }
.v2-article p, .v2-article li { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.v2-article ul, .v2-article ol { padding-left: 22px; }
.v2-tldr { background: var(--paper); border: 1px solid var(--border); border-left: 5px solid var(--green); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; }
.v2-tldr b { display: block; margin-bottom: 4px; }
.v2-tldr p { margin: 0; font-size: 17px; }
.v2-script { background: var(--navy); color: #e8ecf3; border-radius: 14px; padding: 18px 20px; font-size: 17px; line-height: 1.6; margin: 16px 0; }
.v2-script b { color: var(--highlight); display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.v2-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 16px; }
.v2-table th, .v2-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.v2-table th { background: var(--cream-dark); font-size: 14px; }
.v2-sources { font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); margin-top: 34px; padding-top: 14px; }
.v2-sources li { font-size: 14px; line-height: 1.5; }
.v2-inline-cta { background: var(--green-tint); border: 1px solid #b7e4c7; border-radius: 14px; padding: 18px 20px; margin: 28px 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.v2-inline-cta p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.v2-disclaimer { font-size: 14px; color: var(--muted); font-style: italic; }
body:has(.v2-sticky) .footer { padding-bottom: 84px; }
@media (max-width: 560px) { .v2-score { grid-template-columns: 1fr; text-align: left; } .v2-score .stamp { justify-self: start; } }

/* ---------- Customer reviews (real, moderated) ---------- */
.iw-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.iw-testimonial { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.iw-testimonial .stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.iw-testimonial blockquote { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; font-style: italic; }
.iw-testimonial .author { font-weight: 700; font-size: 14px; }
.iw-testimonial .detail { font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .iw-testimonials { grid-template-columns: 1fr; } }

/* Package names on pricing cards */
.pkg-name { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold, #b98a1c); margin-bottom: 6px; }

/* More-details tab on package cards */
.pkg-more { margin: 10px 0 14px; font-size: 13.5px; }
.pkg-more summary { cursor: pointer; font-weight: 700; color: var(--green, #177a46); list-style-position: inside; }
.pkg-more-body { margin: 8px 0 0; color: var(--ink-soft, #444); line-height: 1.55; text-align: left; }

/* More-details readability on dark featured cards */
.iw-price.featured .pkg-more summary { color: #7ee2a8; }
.iw-price.featured .pkg-more-body { color: #e2e8f0; }
.service-card.featured .pkg-more summary { color: #7ee2a8; }
.service-card.featured .pkg-more-body { color: #e2e8f0; }

/* Most popular stamp (same on light cards) */
.pop-stamp { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.service-card { position: relative; }
