/* Comparison */
.compare { --first: clamp(1.75rem,3.3vw,3rem); --sec: clamp(2.5rem,5vw,4.5rem); --blk: clamp(1.25rem,2.2vw,2rem); --colgap: clamp(1.25rem,3.2vw,3.7rem); padding-block: var(--first) var(--sec); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.compare-head { display: grid; gap: 1rem var(--colgap); margin-bottom: var(--blk); align-items: end; }
.compare-head h2 { font: 440 clamp(1.75rem, 3vw, 2.75rem)/1.05 var(--display); letter-spacing: -.035em; margin-top: .55rem; text-wrap: balance; }
.compare-head p:not(.eyebrow) { color: var(--muted); line-height: 1.52; font-size: clamp(1rem, 1.15vw, 1.18rem); }
.ind-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.ind-tabs a { display:inline-flex; align-items:center; text-decoration:none; min-height: 44px; padding: .55rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: .9rem; font-weight: 540; }
.ind-tabs a:hover { border-color: var(--primary); }
.ind-tabs a[aria-current="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-dark); }
.compare-grid { display: grid; gap: 1.6rem 1.1rem; }
.cmp-col { display: grid; gap: .6rem; align-content: start; min-width: 0; }
.col-label { display: flex; align-items: center; gap: .55rem; font-size: .84rem; font-weight: 650; }
.col-label::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); }
.col-kf .col-label { color: var(--primary); }
.col-kf .col-label::before { background: var(--primary); }
.col-mail .cmp-mail { align-self: start; }
.cmp-gets { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.cmp-gets b { font: 560 1.3rem var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.02em; }
.cmp-gets span { color: var(--muted); font-size: .88rem; line-height: 1.45; flex: 1 1 14rem; }
.col-kf .cmp-gets span { color: var(--ink); }

/* Email: plain and credible, like a real mail client */
.cmp-mail { background: #fff; border: 1px solid var(--line); border-radius: .3rem; font: 15px/1.55 var(--sans); color: #222; overflow: hidden; }
.mail-head { padding: .85rem 1rem; border-bottom: 1px solid #ece7de; display: grid; gap: .15rem; font-size: .8rem; color: #555; }
.mail-head b { color: #222; font-weight: 600; }
.mail-subject { font-size: 1rem; color: #111; font-weight: 600; margin-bottom: .3rem; }
.mail-body { padding: 1rem; display: grid; gap: .75rem; }
.mail-body p { margin: 0; }
.cmp-attach { display: flex; align-items: center; gap: .6rem; margin: 0 1rem 1rem; padding: .55rem .7rem; border: 1px solid #e2ddd3; border-radius: .3rem; font-size: .8rem; color: #444; width: max-content; max-width: calc(100% - 2rem); }
.cmp-attach i { width: 1.5rem; height: 1.8rem; border-radius: .15rem; background: #1f7244; color: #fff; font: 700 .55rem/1.8rem var(--sans); text-align: center; font-style: normal; flex: none; }
.cmp-attach i.PDF { background: #b3382c; }
.cmp-sheet { margin: 0 1rem 1rem; border: 1px solid #d4d4d4; font: 12.5px/1.3 var(--sans); color: #111; }
.cmp-sheet table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.sheet-index { width: 2em; }
.sheet-quantity { width: 5.3em; }
.sheet-amount { width: 4.8em; }
.cmp-sheet th, .cmp-sheet td { border: 1px solid #e1e1e1; padding: .28em .42em; text-align: left; overflow-wrap: anywhere; }
.cmp-sheet thead th { background: #f3f3f3; color: #666; font-weight: 400; text-align: center; font-size: 11px; }
.cmp-sheet .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmp-sheet .rn { background: #f3f3f3; color: #777; text-align: center; font-size: 11px; }
.cmp-sheet .sheet-group td:not(.rn) { font-weight: 700; }
.cmp-sheet .sheet-total td:not(.rn) { font-weight: 700; border-top: 2px solid #999; }

/* Krefolio client review (values from src/client-review.css) */
.rv { --rv-bg: #fafaf7; --rv-surface: #fffefa; --rv-line: #d7dcd3; --rv-ink: #20251f; --rv-muted: #5f665c; --rv-accent: #203e36;
  container: rv / inline-size; display: grid; gap: .7rem; padding: .8rem; background: var(--rv-bg); color: var(--rv-ink); border: 1px solid var(--line); border-radius: .625rem; line-height: 1.5; font-family: var(--sans); }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .1rem .2rem; }
.rv-brand { font-size: 1.12rem; font-weight: 580; letter-spacing: -.06em; }
.rv-lang { font-size: .78rem; color: var(--rv-muted); }
.rv-hero { display: grid; overflow: hidden; border-radius: .625rem; }
.rv-cover { position: relative; isolation: isolate; min-height: 11rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; color: #fffefa; }
.rv-cover img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rv-cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b151de0, #0b151d45 35%, #0b151dcf 86%); }
.rv-meta, .rv-title, .rv-details { text-shadow: 0 1px 5px #0b151d, 0 0 .4rem #0b151dcf; }
.rv-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8rem; }
.rv-pill { border: 1px solid #ffffff70; border-radius: 999px; padding: .15rem .6rem; }
.rv-title { margin: 0; font-size: clamp(1.8rem, 9cqi, 3.2rem); font-weight: 450; letter-spacing: -.065em; line-height: 1; text-wrap: balance; }
.rv-details { display: flex; flex-wrap: wrap; gap: .1rem 1.2rem; margin: .55rem 0 0; font-size: .8rem; }
.rv-details div { display: flex; gap: .35em; }
.rv-details dt { color: #e2e9f5; }
.rv-details dd { margin: 0; }
.rv-est { display: flex; flex-direction: column; justify-content: end; gap: .2rem; padding: 1rem 1.1rem; background: var(--rv-accent); color: #fff; }
.rv-est p { margin: 0; }
.rv-est > :first-child { font-weight: 550; font-size: .9rem; }
.rv-amount { font-size: clamp(2.2rem, 8cqi, 3.3rem); font-weight: 450; letter-spacing: -.06em; line-height: 1.06; font-variant-numeric: tabular-nums; }
.rv-unit { font-size: .84rem; }
.rv-date { font-size: .78rem; padding-top: .3rem; opacity: .88; }
.rv-cols, .rv-stack { display: grid; gap: .7rem; align-content: start; }
.rv-sec { display: grid; gap: .6rem; align-content: start; padding: .9rem 1rem; background: var(--rv-surface); border: 1px solid var(--rv-line); border-radius: .625rem; min-width: 0; }
.rv-sec h4 { margin: 0; font-size: 1.08rem; font-weight: 560; letter-spacing: -.035em; line-height: 1.2; }
.rv-rows { margin: 0; font-size: .84rem; }
.rv-rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; border-bottom: 1px solid var(--rv-line); }
.rv-rows dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rv-rows .i { padding-left: .8rem; color: var(--rv-muted); font-size: .8rem; }
.rv-groups { border-left: 3px solid #dfe5da; padding-left: .75rem; }
.rv-ref { display: grid; gap: .8rem; }
.rv-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.rv-photos figure { margin: 0; min-width: 0; }
.rv-photos figure:first-child { grid-column: 1 / -1; }
.rv-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .25rem; background: #e7e3da; }
.rv-photos figure:first-child img { aspect-ratio: 16 / 10; }
.rv-photos figcaption { margin-top: .3rem; font-size: .78rem; color: var(--rv-muted); line-height: 1.35; }
.rv-ref-copy h5 { margin: 0; font-size: 1.2rem; font-weight: 450; letter-spacing: -.03em; line-height: 1.16; }
.rv-ref-copy p { margin: .4rem 0; font-size: .88rem; }
.rv-ref-copy a { font-size: .86rem; color: inherit; }
.rv-callout { margin: 0; padding: .65rem .8rem; border-radius: .375rem; background: #eef1ea; font-weight: 600; font-size: .92rem; }
.rv-list { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.rv-list li { padding: .42rem 0; border-bottom: 1px solid var(--rv-line); }
.rv-note { display: flex; gap: .5rem; align-items: flex-start; margin: 0; color: #724316; font-weight: 580; font-size: .85rem; line-height: 1.4; }
.rv-note svg { flex: none; margin-top: .1rem; }
.rv-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.rv-btn { flex: 1 1 11rem; min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem 1rem; border: 1px solid var(--rv-line); border-radius: 6px; background: transparent; color: var(--rv-ink); font: 400 .95rem var(--sans); text-decoration: none; cursor: pointer; }
.rv-btn:hover { border-color: var(--rv-ink); }
.rv-btn.primary { background: var(--rv-accent); border-color: var(--rv-accent); color: #fff; }
.rv-btn.primary:hover { box-shadow: inset 0 0 0 1px #fff; }
.rv a:focus-visible, .rv button:focus-visible, .rv textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@container rv (min-width: 34rem) {
  .rv-hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .rv-cover { min-height: 13rem; }
  .rv-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Demo prompt: a slim strip under the comparison instead of another headline section */
.demo-strip { display: grid; gap: 1rem var(--colgap); align-items: center; margin-top: var(--blk); padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2.2vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: .3rem; }
.demo-strip p { margin: 0; color: var(--muted); line-height: 1.5; max-width: 60ch; }
.demo-strip .demo-strip-title { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .3rem; color: var(--ink); font: 440 clamp(1.3rem, 1.9vw, 1.6rem)/1.15 var(--display); letter-spacing: -.025em; }
.rv-list-grid { display: grid; column-gap: 1.2rem; }
.rv-gridgroups { display: grid; gap: .3rem 1.4rem; align-items: start; }
.rv-gridgroups .g { font-weight: 560; }
.rv-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: .2rem 0 0; }
.rv-sum div { padding: .5rem .65rem; border-radius: .375rem; background: #f1f3ed; min-width: 0; }
.rv-sum dt { font-size: .75rem; color: var(--rv-muted); }
.rv-sum dd { margin: 0; font-size: .95rem; font-weight: 560; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@container rv (min-width: 34rem) {
  .rv-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-gridgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rv-sec h2 { margin: 0; font: 560 clamp(1.3rem, 2.4vw, 1.65rem)/1.18 var(--sans); letter-spacing: -.035em; }
.compare h3.rv-title, .rv-expanded h1.rv-title { font-family: var(--sans); }
.compare p, .rv { overflow-wrap: anywhere; }
.compare .compare-head > p { max-width: 44ch; }
.compare-panel[hidden] { display: none; }
.mail-lines { margin: 0; }
.mail-lines div { display: flex; justify-content: space-between; gap: .5rem; }
.mail-lines dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv-plan { padding-inline-start: 1.3rem; margin: 0; }
.rv-plan li { padding: .45rem 0; border-bottom: 1px solid var(--rv-line); }
.rv-plan p { margin: .2rem 0 0; font-size: .88rem; color: var(--rv-muted); }
.compare .col-label { margin: 0; }
.rv-retail { --rv-accent: #82513e; }
.rv-exhibition { --rv-accent: #526958; }
.rv-rows dt, .rv-rows dd { min-width: 0; }
.rv-expanded .rv-changes p { margin: .35rem 0 0; }
@media (min-width: 48rem) {
  .compare-head { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .compare-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); align-items: start; }
  .demo-strip { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 30rem) {
  .ind-tabs { gap: .35rem; }
  .ind-tabs a { padding: .5rem .75rem; font-size: .85rem; }
  .rv-sum { grid-template-columns: repeat(auto-fit,minmax(6.5rem,1fr)); }
}
.rv-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.rv-caption { background: #0b151d80; border-color: transparent; }
