/* KontrolPay page. Loaded on /kontrolpay/ only (site_v2.shell). Tokens follow DESIGN.md.
   Every drawing below is original HTML and CSS with an accessible name; none is a product capture. */
.kontrolpay-page {
  --kp-ink:#292d35;--kp-muted:#5b6069;--kp-quiet:#766b60;--kp-ground:#fcfaf7;--kp-edge:#f0ece7;
  --kp-rule:#f3eee8;--kp-warm:#fff4e8;--kp-orange:#ff5600;--kp-orange-ink:#c64200;
  font-variant-numeric:tabular-nums;
}

/* Hero: the published rate as an object, the platform subscription behind it as a separate sheet. */
.interior-hero--kontrolpay .interior-hero-copy h1 {max-width:17ch}
.interior-hero-note {flex:0 0 100%;display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;margin:8px 0 0;font:400 13px/1.5 var(--font-family);color:#646971}
.interior-hero-note a {display:inline-flex;align-items:center;gap:6px;min-height:32px;color:var(--kp-orange-ink);font-weight:600;text-underline-offset:4px}
.interior-hero-note a:hover {text-decoration:underline}
.interior-hero-note svg {width:14px;height:14px;transition:transform .25s}
.interior-hero-note a:hover svg {transform:translateX(3px)}
.ihero-kp-object {position:relative;width:min(100%,384px);padding:46px 0 36px;font-family:var(--font-family);color:#34383f}
.ihero-kp-back {position:absolute;z-index:0;left:26px;right:-16px;top:0;height:150px;display:flex;align-items:flex-start;gap:8px;padding:9px 18px;border-radius:16px;background:#fff1e3;border-top:1px solid #fff;border-bottom:1px solid #f0d6bf;font-size:11px;line-height:1.5;color:#7d4f2c;transform:rotate(1.2deg)}
.ihero-kp-back img {width:18px;height:18px}
.ihero-kp-back span {font-weight:600;white-space:nowrap}
.ihero-kp-back b {margin-left:auto;font-weight:500;white-space:nowrap}
.ihero-kp-sheet {position:relative;z-index:1;padding:26px 30px 30px;border-radius:18px;background:#fff;box-shadow:0 28px 50px -28px #76502b4d,0 0 0 1px #f3ebe2;transform:rotate(-1.5deg)}
.ihero-kp-top {display:flex;align-items:center;gap:11px;font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--kp-ink)}
.ihero-kp-top img {width:30px;height:30px}
.ihero-kp-top i {margin-left:auto;padding:4px 8px;border-radius:7px;background:#faf5ef;font-style:normal;font-size:10.5px;font-weight:600;color:#7d5a3d}
.ihero-kp-rate {display:flex;align-items:baseline;gap:11px;margin-top:28px}
.ihero-kp-rate strong {font-size:62px;line-height:.95;font-weight:600;letter-spacing:-.04em;color:var(--kp-ink)}
.ihero-kp-rate span {font-size:25px;line-height:1;font-weight:600;letter-spacing:-.03em;color:var(--kp-orange);white-space:nowrap}
.ihero-kp-object .ihero-kp-unit {margin:12px 0 0;font-size:12.5px;line-height:1.4;color:var(--kp-quiet)}
.ihero-kp-line {height:1px;margin:22px 0 4px;background:#eee8e1}
.ihero-kp-row {display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:11px 0;font-size:12.5px;line-height:1.4;color:#655e56}
.ihero-kp-row+.ihero-kp-row {border-top:1px solid var(--kp-rule)}
.ihero-kp-row b {font-size:13px;font-weight:600;color:var(--kp-ink);text-align:right}
.ihero-kp-line+.ihero-kp-row b {font-size:20px;line-height:1.1;letter-spacing:-.02em}
.ihero-kp-gateway {position:absolute;z-index:2;left:-28px;bottom:0;display:flex;align-items:center;gap:11px;padding:10px 16px 10px 10px;border-radius:13px;background:#fff;box-shadow:0 14px 28px -16px #6b472e66,0 0 0 1px #f0e5da;transform:rotate(1.5deg)}
.ihero-kp-gateway>span {display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:linear-gradient(160deg,#fff,#fff1e4);border-top:1px solid #fff;border-bottom:1px solid #e6c9ad;color:var(--kp-orange)}
.ihero-kp-gateway svg {width:18px;height:18px}
.ihero-kp-gateway p {display:grid;gap:3px;margin:0;font:400 10.5px/1.4 var(--font-family);color:var(--kp-quiet)}
.ihero-kp-gateway p b {font-size:12.5px;font-weight:600;color:var(--kp-ink)}
.ihero-kp-gateway p small {font-size:inherit}

/* Pricing: one sale, divided to the cent. The bar is the statement; the legend explains each part. */
.kp-pricing {scroll-margin-top:96px}
.kp-sale {position:relative;isolation:isolate;overflow:hidden;padding:38px 44px 42px;border-radius:24px;background:var(--kp-ground);border:1px solid var(--kp-edge)}
.kp-sale::before {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/assets/materials/bento-glass-orange.png') center/100% 100% no-repeat;opacity:.17}
.kp-sale-head {display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.kp-sale .kp-sale-head p {margin:0;max-width:32ch;font-size:14px;line-height:1.5;color:var(--kp-muted)}
.kp-sale-head strong {font:600 56px/1 var(--font-family);letter-spacing:-.04em;color:var(--kp-ink)}
.kp-sale-bar {display:flex;gap:5px;height:58px;margin:26px 0 34px}
.kp-seg {flex:1 1 0;position:relative;min-width:0;overflow:hidden;border-radius:11px;font:600 13px/1 var(--font-family);white-space:nowrap}
.kp-seg b {position:absolute;left:14px;top:50%;font-weight:inherit;transform:translateY(-50%)}
.kp-seg-fees {background:var(--kp-ink);color:#fff;box-shadow:inset 0 1px 0 #ffffff24,inset 0 -1px 0 #00000040}
.kp-seg-reserve {background:repeating-linear-gradient(135deg,#ffb98a 0 7px,#ffd9bf 7px 14px);color:#6a2c08;box-shadow:inset 0 0 0 1px #f5b78d}
.kp-seg-reserve b {padding:4px 6px;margin-left:-6px;border-radius:6px;background:#ffe6d2}
.kp-seg-rest {background:var(--kp-orange);color:#fff;font-size:21px;letter-spacing:-.02em;box-shadow:inset 0 1px 0 #ffffff59,inset 0 -1px 0 #0000001f}
.kp-seg-rest b {left:20px}
.kp-sale-parts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin:0}
.kp-part {min-width:0}
.kp-part dt {display:flex;align-items:center;gap:9px;font:600 13px/1.4 var(--font-family);color:#4a4640}
.kp-part dt::before {content:'';flex:0 0 12px;width:12px;height:12px;border-radius:4px}
.kp-part-fees dt::before {background:var(--kp-ink)}
.kp-part-reserve dt::before {background:repeating-linear-gradient(135deg,#ffb98a 0 3px,#ffd9bf 3px 6px);box-shadow:inset 0 0 0 1px #f5b78d}
.kp-part-rest dt::before {background:var(--kp-orange)}
.kp-part dd {margin:0}
.kp-part .kp-part-amount {margin:12px 0 10px;font:600 32px/1.05 var(--font-family);letter-spacing:-.03em;color:var(--kp-ink)}
.kp-part .kp-part-copy {max-width:38ch;font-size:13.5px;line-height:1.65;color:var(--kp-muted)}
.kp-notes {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 56px;margin-top:28px;padding-inline:4px}
.kp-pricing .kp-notes p {margin:0;max-width:60ch;font-size:13px;line-height:1.7;color:#646971}
.kp-notes .text-link {min-height:0;margin:0 0 0 4px;color:var(--kp-orange-ink);vertical-align:baseline}
.kp-notes .text-link svg {width:14px;height:14px}

/* Several sites: one business line, one application, one gateway. */
.kp-lines {display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:64px;align-items:center}
.kp-lines-copy h2 {margin:0 0 22px}
.kp-lines-copy p {max-width:44ch;margin:0}
.kp-lines-art {padding:28px 30px 32px;border-radius:24px;background:var(--kp-ground);border:1px solid var(--kp-edge);font-family:var(--font-family)}
.kp-lines-head,.kp-line-row {display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr) 26px minmax(0,1.14fr);align-items:center}
.kp-lines-head {margin-bottom:14px;padding-inline:2px;font-size:11.5px;font-weight:500;line-height:1.4;color:var(--kp-quiet)}
.kp-lines-head span:nth-child(2) {grid-column:3}
.kp-lines-head span:nth-child(3) {grid-column:5}
.kp-line-row+.kp-line-row {margin-top:12px}
.kp-line-row>i {height:1px;background:#dcc7b3}
.kp-node {display:flex;align-items:center;gap:10px;min-width:0;min-height:54px;padding:12px 14px;border-radius:12px;background:#fff;border-top:1px solid #fff;border-bottom:1px solid #eadfd3;box-shadow:0 10px 22px -18px #76502b55;font-size:12.5px;line-height:1.3;color:#3b3f47}
.kp-node b {min-width:0;font-weight:550}
.kp-node svg {flex:0 0 17px;width:17px;height:17px;color:var(--kp-orange)}
.kp-node-gateway {background:linear-gradient(160deg,#fff,#fff1e4);border-bottom-color:#e6c9ad}
.kp-node-gateway img {flex:0 0 18px;width:18px;height:18px}
.kp-node-gateway b {font-weight:600;color:var(--kp-ink)}
.kp-line-next .kp-node {background:transparent;border:1px dashed #d9c6b4;box-shadow:none;color:var(--kp-quiet)}
.kp-line-next>i {height:0;background:none;border-top:1px dashed #d9c6b4}
.kp-line-next .kp-node svg {color:#d49a72}
.kp-line-next .kp-node-gateway img {opacity:.5}
.kp-line-next .kp-node-gateway b {color:var(--kp-quiet)}

/* What to prepare: a checklist sheet on a warm field, each line mapped to its application step. */
.kp-prepare {background:linear-gradient(180deg,#fff 0,var(--kp-ground) 16%,var(--kp-ground) 84%,#fff 100%)}
.kp-prepare-grid {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:72px;align-items:center}
.kp-prepare-copy h2 {margin:0 0 30px}
.kp-facts {display:grid;margin:0}
.kp-facts>div {padding:20px 0;border-top:1px solid #ebe3da}
.kp-facts>div:last-child {padding-bottom:0}
.kp-facts dt {display:flex;align-items:center;gap:9px;font:600 13px/1.4 var(--font-family);color:#3b3f47}
.kp-facts dt svg {width:16px;height:16px;color:var(--kp-orange)}
.kp-facts dd {margin:8px 0 0;max-width:46ch;font-size:14.5px;line-height:1.65;color:var(--kp-muted)}
.kp-sheet {padding:8px 34px 12px;border-radius:20px;background:#fff;box-shadow:0 30px 56px -34px #76502b52,0 0 0 1px #f1e8de;font-family:var(--font-family)}
.kp-sheet-head {display:flex;justify-content:space-between;gap:16px;padding:16px 0 14px;border-bottom:1px solid #efe8e0;font-size:11.5px;font-weight:500;line-height:1.4;color:var(--kp-quiet)}
.kp-sheet ul {list-style:none;margin:0;padding:0}
.kp-sheet li {display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 0}
.kp-sheet li+li {border-top:1px solid var(--kp-rule)}
.kp-sheet-icon {display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(160deg,#fff,#fff1e4);border-top:1px solid #fff;border-bottom:1px solid #e6c9ad;color:var(--kp-orange)}
.kp-sheet-icon svg {width:19px;height:19px}
.kp-sheet h3 {margin:0;font:600 17px/1.3 var(--font-family);letter-spacing:-.02em;color:var(--kp-ink)}
.kp-step {padding:5px 10px;border-radius:8px;background:#faf5ef;font-size:11.5px;font-weight:500;line-height:1.4;color:#7d5a3d;white-space:nowrap}

/* The four dashboard pages. Drawings, marked as such, all following the example sale. */
.kp-pages .story-bento-art {height:284px;padding-top:46px}
.kp-pages .story-bento-card:nth-child(1) .story-bento-art>div,
.kp-pages .story-bento-card:nth-child(4) .story-bento-art>div {width:min(100%,440px)}
.kp-illustration {position:absolute;z-index:2;top:16px;right:16px;padding:4px 9px;border-radius:8px;background:#ffffffd9;box-shadow:0 0 0 1px #efe4d9;font:500 10.5px/1.4 var(--font-family);color:var(--kp-quiet)}
.kp-mini {position:relative;padding:18px 20px;border-radius:14px;background:#fff;box-shadow:0 18px 36px -24px #76502b4d,0 0 0 1px #f3ebe2;font-family:var(--font-family);color:#34383f}
.kp-mini-top {display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11.5px;line-height:1.4;color:var(--kp-quiet)}
.kp-mini-top b {font-size:13px;font-weight:600;color:var(--kp-ink)}
.kp-mini-badge {padding:3px 9px;border-radius:7px;background:#f4efe9;font-size:10.5px;font-weight:600;color:#655e56}
.kp-mini-rail {position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;margin:22px 0 18px;padding:0}
.kp-mini-rail::before,.kp-mini-rail::after {content:'';position:absolute;left:8.33%;top:11px;height:2px;border-radius:1px}
.kp-mini-rail::before {right:8.33%;background:#eee6dd}
.kp-mini-rail::after {width:calc(83.34% * var(--kp-progress,0));background:var(--kp-orange)}
.kp-mini-rail li {position:relative;z-index:1;display:grid;justify-items:center;gap:8px;font-size:9.5px;font-weight:500;line-height:1.3;color:var(--kp-quiet);text-align:center}
.kp-mini-rail i {display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1.5px #e3d8cc}
.kp-mini-rail .is-done i {background:var(--kp-orange);box-shadow:none;color:#fff}
.kp-mini-rail i svg {width:13px;height:13px;stroke-width:2.4}
.kp-mini-rail .is-current i {background:#fff4e9;box-shadow:inset 0 0 0 2px var(--kp-orange)}
.kp-mini-rail .is-current span {font-weight:600;color:var(--kp-ink)}
.kp-mini-next {display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:10px;background:#faf6f1;font-size:11.5px;line-height:1.4;color:#655e56}
.kp-mini-next b {font-weight:600;color:var(--kp-ink)}
.kp-mini-next svg {width:15px;height:15px;margin-left:auto;color:var(--kp-orange)}
.kp-mini-balance {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0;background:none;box-shadow:none}
.kp-mini-tile {padding:14px 15px 15px;border-radius:12px;background:#fff;box-shadow:0 12px 26px -20px #76502b55,0 0 0 1px #f3ebe2}
.kp-mini-tile span {display:block;font-size:10.5px;line-height:1.4;color:var(--kp-quiet)}
.kp-mini-tile b {display:block;margin-top:8px;font-size:20px;line-height:1.1;font-weight:600;letter-spacing:-.03em;color:var(--kp-ink)}
.kp-mini-tile:last-child {background:linear-gradient(160deg,#fff,#fff1e4);box-shadow:0 12px 26px -20px #76502b55,0 0 0 1px #f0dcc9}
.kp-mini-figure {display:block;margin:15px 0 14px;font-size:34px;line-height:1;font-weight:600;letter-spacing:-.035em;color:var(--kp-ink)}
.kp-mini-row {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--kp-rule);font-size:11.5px;line-height:1.4;color:#4d5058}
.kp-mini-row b {font-weight:600;color:var(--kp-ink)}
.kp-mini-reserve .kp-mini-row {padding:9px 0}
.kp-mini-row.is-quiet b {font-weight:500;color:var(--kp-quiet)}
.kp-mini-tag {padding:3px 8px;border-radius:7px;background:var(--kp-warm);font-size:10.5px;font-weight:600;color:#8f3a11}
.is-quiet .kp-mini-tag {background:#f4efe9;color:#655e56}
.kp-mini-ledger .kp-mini-top {margin-bottom:9px}
.kp-mini-row.is-total {padding-top:10px;border-top-color:#e6dacd;font-weight:600;color:var(--kp-ink)}
.kp-mini-row.is-total b {font-size:14px;color:var(--kp-orange-ink)}

/* The application band, light against the orange closing that follows it. */
.kp-apply {padding-top:30px}
.kp-apply-panel {position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:28px;padding:34px 40px;border-radius:24px;background:var(--kp-warm);border-top:1px solid #fff;border-bottom:1px solid #f0d9c5}
.kp-apply-panel::before {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/assets/materials/section-glass-orange.png') center/cover no-repeat;opacity:.16}
.kp-apply-panel>img {flex:0 0 52px;width:52px;height:52px}
.kp-apply-copy {flex:1;min-width:0}
.kp-apply-copy h2 {margin:0;font-size:clamp(24px,2.4vw,30px);line-height:1.15;letter-spacing:-.03em;color:var(--kp-ink)}
.kp-apply-copy p {margin:9px 0 0;font-size:14.5px;line-height:1.6;color:#6b5646}
.kp-apply .button {flex:0 0 auto}

/* One authored moment: the sale bar draws as the pricing panel arrives. Visible by default. */
@supports (animation-timeline:view()) {
  @media (prefers-reduced-motion:no-preference) {
    .kp-sale-bar {animation:kp-bar-draw linear both;animation-timeline:view();animation-range:entry 0% cover 30%}
  }
}
@keyframes kp-bar-draw {
  from {clip-path:inset(0 100% 0 0 round 11px)}
  to {clip-path:inset(0 0 0 0 round 11px)}
}
.motion-paused .kp-sale-bar {animation:none}

@media(max-width:1100px) {
  .ihero-kp-object {width:min(100%,348px)}
  .ihero-kp-rate strong {font-size:54px}
  .ihero-kp-gateway {left:-14px}
  .kp-lines {gap:44px}
  .kp-prepare-grid {gap:48px}
  .kp-sale {padding:34px 34px 38px}
  .kp-sale-parts {gap:30px}
}
@media(max-width:900px) {
  .kp-seg-fees b,.kp-seg-reserve b {display:none}
  .kp-lines,.kp-prepare-grid {grid-template-columns:minmax(0,1fr);gap:34px}
  .kp-lines-copy p {max-width:56ch}
  .kp-prepare-copy h2 {margin-bottom:24px}
  .kp-apply-panel {flex-wrap:wrap;gap:20px 24px;padding:30px 30px 32px}
  .kp-apply-copy {flex:1 1 300px}
}
@media(max-width:760px) {
  .kontrolpay-page .story-section-heading>p {margin-top:16px}
  .ihero-kp-object {width:min(100%,340px);margin:6px 0 8px}
  .ihero-kp-back {left:20px;right:-10px}
  .ihero-kp-gateway {left:-8px}
  .kp-seg-rest {font-size:19px}
  .kp-seg-rest b {left:15px}
  .kp-mini-rail li span {visibility:hidden}
  .kp-mini-rail .is-current span {visibility:visible;white-space:nowrap}
  .kp-sale {padding:28px 24px 30px;border-radius:20px}
  .kp-sale-head strong {font-size:46px}
  .kp-sale-bar {height:48px;margin:22px 0 26px}
  .kp-sale-parts {grid-template-columns:minmax(0,1fr);gap:0}
  .kp-part {padding:20px 0}
  .kp-part:first-child {padding-top:0}
  .kp-part:last-child {padding-bottom:0}
  .kp-part+.kp-part {border-top:1px solid #ece3d9}
  .kp-part .kp-part-amount {font-size:28px;margin:9px 0 8px}
  .kp-part .kp-part-copy {max-width:56ch}
  .kp-notes {grid-template-columns:minmax(0,1fr);gap:14px;margin-top:22px}
  .kp-pages .story-bento-art {height:264px;padding-top:42px}
}
@media(max-width:560px) {
  .interior-hero-note {margin-top:6px}
  .kp-sale-head {flex-direction:column;align-items:flex-start;gap:12px}
  .kp-lines-art {padding:20px 16px 22px;border-radius:20px}
  .kp-lines-head,.kp-line-row {grid-template-columns:minmax(0,1fr) 18px minmax(0,1.1fr)}
  .kp-lines-head span:nth-child(2),.kp-node-application,.kp-node-application+i {display:none}
  .kp-lines-head span:nth-child(3) {grid-column:3}
  .kp-node {min-height:50px;padding:10px 11px;gap:8px;font-size:12px}
  .kp-sheet {padding:4px 20px 8px;border-radius:18px}
  .kp-sheet li {grid-template-columns:34px minmax(0,1fr);gap:6px 13px;padding:16px 0}
  .kp-sheet-icon {width:34px;height:34px;border-radius:10px;grid-row:span 2;align-self:start}
  .kp-sheet h3 {font-size:16px}
  .kp-step {grid-column:2;justify-self:start}
  .kp-pages .story-bento-art {height:284px;padding-top:46px}
  .kp-apply-panel {padding:26px 22px 28px;border-radius:20px}
  .kp-apply-panel>img {flex-basis:44px;width:44px;height:44px}
  .kp-apply-copy {flex-basis:100%}
  .kp-apply .button {width:100%;justify-content:space-between}
}
@media(max-width:360px) {
  .ihero-kp-back {padding-inline:14px;gap:6px;font-size:10.5px}
  .ihero-kp-sheet {padding:22px 22px 28px}
  .ihero-kp-rate strong {font-size:48px}
  .ihero-kp-rate span {font-size:21px}
  .kp-mini {padding:15px 15px}
  .kp-mini-rail li {font-size:8.5px}
}
