.kaspi-hero .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); }
.kaspi-hero-report { display: block; min-width: 0; padding: clamp(14px, 3vw, 22px); border: 1px solid #cab796; border-radius: 8px; background: #fbf8f2; text-decoration: none; }
.kaspi-hero-report h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 3vw, 2rem); }
.kaspi-hero-report .kaspi-sheet-preview { height: auto; max-height: 290px; margin-bottom: 8px; }
.kaspi-demo-label { display: inline-block; color: #76542b; text-transform: uppercase; font-size: .73rem; font-weight: 700; letter-spacing: .13em; }
.kaspi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kaspi-card-number { display: block; color: #76542b; font-size: .82rem; margin-bottom: 9px; }
.kaspi-demos { margin-top: 24px; }
#demonstration { scroll-margin-top: 16px; }
.kaspi-demo-card { display: grid; align-content: start; }
.kaspi-demo-open { display: grid; gap: 10px; padding: 17px; min-width: 0; text-decoration: none; background: #fbf8f2; border: 1px solid #cfbfa8; border-radius: 6px; }
.kaspi-demo-open:hover { border-color: #98754a; }
.kaspi-demo-open strong { font-family: var(--serif); font-size: 1.18rem; }
.kaspi-zoom { color: #684821; font-size: .84rem; text-decoration: underline; text-underline-offset: 4px; }
.kaspi-expanded { position: relative; display: none; padding: 20px; margin-top: 12px; border: 1px solid #b59c75; border-radius: 6px; background: #fffdf8; scroll-margin-top: 12px; }
.kaspi-expanded:target { display: block; }
.kaspi-demo-card:has(.kaspi-expanded:target) { grid-column: 1 / -1; }
.kaspi-expanded h3 { margin: 10px 26px 15px 0; font-size: 1.45rem; }
.kaspi-sheet-preview { height: 140px; overflow: hidden; border: 1px solid #d5c9ae; }
.kaspi-sheet-preview .kaspi-sheet { zoom: .65; }
.kaspi-sheet-preview .kaspi-sheet-wide { zoom: .47; }
.kaspi-sheet-scroll { overflow: auto; border: 1px solid #c8baa0; }
.kaspi-sheet { color: #1f1f1f; background: #fff; font: 13px/1.35 Arial, sans-serif; min-width: 570px; }
.kaspi-sheet-wide { min-width: 1050px; }
.kaspi-sheet-bar { padding: 8px 10px; background: #222; color: white; font-weight: 700; }
.kaspi-sheet-meta { padding: 6px 10px; background: #f4efe4; color: #665d4c; }
.kaspi-sheet table { width: 100%; border-collapse: collapse; }
.kaspi-sheet table + table { margin-top: 14px; }
.kaspi-sheet thead { color: #f3cb4f; background: #222; }
.kaspi-sheet th, .kaspi-sheet td { padding: 4px 7px; border-bottom: 1px solid #e2dccc; }
.kaspi-sheet thead th { text-align: start; line-height: 1.3; }
.kaspi-sheet tbody th { text-align: start; font-weight: 400; }
.kaspi-sheet td { text-align: end; white-space: nowrap; }
.kaspi-sheet .sheet-subtotal, .kaspi-sheet .sheet-highlight { font-weight: 700; }
.kaspi-sheet .sheet-subtotal th, .kaspi-sheet .sheet-highlight th { font-weight: 700; }
.kaspi-sheet .sheet-subtotal { background: #e8dfca; }
.kaspi-sheet .sheet-highlight { background: #f0ca4b; }
.kaspi-sheet .sheet-loss { background: #f9eaea; color: #8b2424; }
.kaspi-close { position: absolute; top: 8px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; color: var(--brown); text-decoration: none; font-size: 1.65rem; }
.kaspi-pair { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(22px, 6vw, 72px); align-items: center; }
.kaspi-phone { justify-self: center; width: min(100%, 320px); border: 6px solid var(--ink); border-radius: 24px; overflow: hidden; background: #fbf8f2; }
.kaspi-phone-header { display: flex; justify-content: space-between; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }
.kaspi-commands { margin: 0; padding: 8px 15px 14px; }
.kaspi-commands div { margin: 7px 0; padding: 8px 9px; border-radius: 8px; background: #eee7db; }
.kaspi-commands code { color: var(--brown); font-weight: 700; }
.kaspi-commands dd { margin: 0; font-size: .9rem; }
.kaspi-indicators { margin-top: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kaspi-calculator { padding: clamp(22px, 5vw, 48px); border: 1px solid #c6ab7d; border-radius: 8px; background: #eee5d4; }
.kaspi-calculator-image img { display: block; width: 100%; height: auto; }
.kaspi-price { padding-top: 0; }
.kaspi-expert-photo { display: block; width: min(100%, 350px); height: auto; max-height: 315px; justify-self: center; object-fit: cover; object-position: 50% 82%; border-radius: 6px; }
.kaspi-independent { font-size: .83rem; }
@media (max-width: 760px) {
  .kaspi-hero .hero-grid, .kaspi-pair { grid-template-columns: 1fr; }
  .kaspi-grid, .kaspi-indicators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
  .kaspi-grid { grid-template-columns: 1fr; }
}
