/* ==========================================================================
   Seviath Kasir — product page (loaded after styles.css)
   ========================================================================== */

.k-lead { margin-top: 24px; max-width: 56ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--slate); }
.section--dark .k-lead { color: var(--soft-slate); }

/* ---------- Hero: scroll-driven 3D stage ---------- */
.k-hero { position: relative; height: 520vh; background: var(--white); }
.k-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  perspective: 1800px; perspective-origin: 50% 35%;
  contain: paint;
  background:
    radial-gradient(38% 34% at 22% 64%, rgba(156, 39, 176, .12), transparent 70%),
    radial-gradient(34% 30% at 80% 58%, rgba(255, 87, 34, .10), transparent 70%),
    radial-gradient(42% 36% at 52% 74%, rgba(0, 191, 165, .10), transparent 70%),
    radial-gradient(30% 26% at 62% 40%, rgba(115, 103, 240, .10), transparent 70%),
    var(--white);
}

.k-copy { position: absolute; z-index: 3; }
.k-copy--intro {
  top: 112px; left: var(--pad-x); right: var(--pad-x);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  will-change: transform, opacity;
}
.k-copy--intro .eyebrow { margin-bottom: 22px; }
.k-hero__title { font-size: clamp(36px, 5vw, 76px); line-height: 1; letter-spacing: -0.045em; }
.k-copy__right { max-width: 400px; }
.k-hero__lead { font-size: clamp(15px, 1.2vw, 17px); font-weight: 500; color: var(--slate); }
.k-copy__right .hero__cta { margin-top: 24px; }

.k-copy--checkout {
  top: 50%; left: var(--pad-x); max-width: 380px;
  opacity: 0; transform: translateY(-40%);
  pointer-events: none;
}
.k-copy--checkout h2 { margin: 12px 0 18px; font-size: clamp(40px, 4.6vw, 72px); letter-spacing: -0.045em; }
.k-copy--checkout > p:not(.label) { color: var(--slate); font-size: 17px; }
.k-copy__ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.k-copy__ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; }
.k-copy__ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* World + camera */
.k-world {
  position: absolute; left: 50%; top: 60%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.k-floor {
  position: absolute; left: -800px; top: -600px; width: 1600px; height: 1200px;
  transform: translateZ(-60px);
  background-image: radial-gradient(circle, rgba(16, 32, 46, .22) 1.4px, transparent 1.8px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  opacity: 0;
}

/* Device (900 × 580, all children use device-local coordinates) */
.k-device {
  position: absolute; left: -450px; top: -290px; width: 900px; height: 580px;
  transform-style: preserve-3d;
}
/* Thickness: one solid underlay + a gradient shadow (no big blurred box-shadows to re-composite) */
.k-device::before {
  content: ""; position: absolute; inset: 0; border-radius: 38px;
  background: #0B0D18; opacity: var(--body, 0);
  transform: translateZ(-14px);
}
.k-shadow {
  position: absolute; inset: 40px -40px -60px;
  background: radial-gradient(closest-side, rgba(16, 32, 46, .32), transparent);
  transform: translateZ(-50px) translateY(40px);
  opacity: var(--body, 0);
}
.k-device__body {
  position: absolute; inset: 0; border-radius: 38px;
  background: linear-gradient(150deg, #2A2F45, #151827 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  opacity: var(--body, 0);
}

/* Screen = the real Seviath Kasir web POS ("Kasir" page, theme purple #7367F0) */
.k-screen {
  position: absolute; inset: 18px; border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: 170px 1fr;
  background: #F8F7FA; color: #444050;
  font: 500 12px/1.35 var(--font-body);
}
.pos-side { display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; background: var(--white); box-shadow: 0 0 10px rgba(47, 43, 61, .08); color: #6D6B77; font-size: 13.5px; font-weight: 600; }
.pos-side span { padding: 9px 12px; border-radius: 6px; white-space: nowrap; }
.pos-side span.is-on { background: linear-gradient(270deg, rgba(115, 103, 240, .7), #7367F0); color: var(--white); box-shadow: 0 2px 6px rgba(115, 103, 240, .3); }
.pos-side .pos-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 0 6px; font: 700 19px/1 var(--font-display); color: #444050; }
.pos-logo i { width: 20px; height: 20px; border-radius: 6px; background: #7367F0; box-shadow: 7px -7px 0 -4px #FF9F43; }
.pos-main { padding: 20px 22px; min-width: 0; }
.pos-head { display: flex; justify-content: space-between; align-items: flex-start; }
.pos-head b { display: block; font: 700 19px/1.2 var(--font-display); color: #444050; }
.pos-head small { color: #6D6B77; font-size: 12px; }
.pos-saved { padding: 4px 10px; border-radius: 4px; background: rgba(40, 199, 111, .16); color: #28C76F; font-size: 11.5px; font-weight: 700; }
.pos-cols { display: grid; grid-template-columns: 1fr 210px; gap: 16px; margin-top: 16px; }
.pos-card { background: var(--white); border-radius: 10px; box-shadow: 0 2px 8px rgba(47, 43, 61, .12); padding: 14px; }
.pos-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pos-inputs label { font-size: 12px; font-weight: 600; color: #444050; }
.pos-input {
  display: flex; align-items: center; gap: 7px; height: 36px; margin-top: 6px; padding: 0 10px;
  border: 1px solid #DBDADE; border-radius: 6px;
  color: #ACAAB1; font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.pos-input svg { flex: none; width: 15px; height: 15px; fill: none; stroke: #6D6B77; stroke-width: 2; stroke-linecap: round; }
.pos-input.is-hit { border-color: #7367F0; box-shadow: 0 0 0 3px rgba(115, 103, 240, .2); }
.pos-table { margin-top: 16px; padding: 14px 0 2px; }
.pos-table__title { display: flex; justify-content: space-between; align-items: baseline; padding: 0 14px 10px; }
.pos-table__title b { font: 700 15px/1 var(--font-display); }
.pos-table__title small { color: #6D6B77; font-size: 12px; }
.pos-tr { display: grid; grid-template-columns: 1.6fr .8fr .9fr .9fr; align-items: center; height: 38px; padding: 0 14px; border-bottom: 1px solid #E6E6E8; font-size: 12.5px; white-space: nowrap; }
.pos-tr span:nth-child(n+3) { text-align: right; }
.pos-th { height: 32px; border-top: 1px solid #E6E6E8; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.k-row { opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .45s var(--ease); }
.k-row.is-on { opacity: 1; transform: none; animation: rowFlash 1.2s ease-out; }
.k-row:last-child { border-bottom: 0; }
@keyframes rowFlash { from { background: rgba(115, 103, 240, .18); } to { background: transparent; } }
.pos-pay { display: flex; flex-direction: column; gap: 8px; align-self: start; }
.pos-pay small { color: #6D6B77; font-size: 12px; }
.pos-pay small em { color: #FF4C51; font-style: normal; }
.pos-pay strong { margin-bottom: 10px; font: 700 29px/1.1 var(--font-display); color: #444050; letter-spacing: -0.02em; }
.pos-select { position: relative; display: flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid #DBDADE; border-radius: 6px; font-size: 12.5px; }
.pos-select::after { content: ""; position: absolute; right: 12px; top: 12px; width: 7px; height: 7px; border-right: 1.5px solid #6D6B77; border-bottom: 1.5px solid #6D6B77; transform: rotate(45deg); }
.pos-switch { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; font-size: 12.5px; }
.pos-switch i { position: relative; width: 28px; height: 16px; border-radius: 9px; background: #7367F0; }
.pos-switch i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); }
.pos-btn { display: grid; place-items: center; height: 40px; border-radius: 6px; background: #7367F0; color: var(--white); font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 6px rgba(115, 103, 240, .3); }
.pos-btn--outline { background: none; border: 1px solid #7367F0; color: #7367F0; box-shadow: none; }
.pos-btn--text { background: none; color: #FF4C51; box-shadow: none; }
.pos-btn.is-hit { animation: payHit .6s var(--ease); }
@keyframes payHit { 40% { transform: scale(.94); background: #5E50EE; } }

/* Receipt prints out of the top edge of the device */
.k-receipt {
  position: absolute; left: 640px; top: 30px; width: 210px;
  padding: 16px 16px 20px;
  background: #FFFEFA; color: var(--ink);
  font: 500 11px/1.5 "Consolas", "SFMono-Regular", monospace;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 10px 30px -12px rgba(16, 32, 46, .35);
  transform: translateZ(-4px);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
}
.k-receipt__brand { text-align: center; font-weight: 700; letter-spacing: .12em; }
.k-receipt__meta { text-align: center; color: var(--slate); margin-bottom: 8px; border-bottom: 1px dashed #B9C6C6; padding-bottom: 8px; }
.k-receipt__lines p, .k-receipt__total { display: flex; justify-content: space-between; gap: 8px; }
.k-receipt__total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #B9C6C6; font-weight: 700; }
.k-receipt__thanks { margin-top: 10px; text-align: center; }
.k-receipt__code { height: 26px; margin: 10px 18px 0; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); }

/* Callouts drawn in the device plane */
.k-notes { position: absolute; inset: 0; pointer-events: none; transform: translateZ(1px); }
.k-note {
  position: absolute; display: flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--font-body); color: var(--ink); white-space: nowrap;
  opacity: var(--o, 0);
}
.k-note b { font-size: 12px; color: var(--teal); letter-spacing: .08em; }
.k-note::after { content: ""; display: block; height: 1px; background: var(--ink); opacity: .45; }
.k-note--grid { left: -190px; top: 142px; }
.k-note--grid::after { width: 360px; }
.k-note--cart { left: -190px; top: 372px; }
.k-note--cart::after { width: 400px; }
.k-note--print { left: 880px; top: -230px; }
.k-note--print::after { order: -1; width: 40px; }

/* Tiles: vivid ribbon shapes that stream into the scanner or become cart rows */
.k-tiles { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.k-tile {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.k-tile__face {
  position: absolute; inset: 0; border-radius: 22px;
  background: linear-gradient(160deg, var(--c1), var(--c2));
}
.k-tile[data-k="pill"] .k-tile__face, .k-tile[data-k="slat"] .k-tile__face { border-radius: 60px; }
.k-tile[data-k="arch"] .k-tile__face { border-radius: 60px 60px 12px 12px; }
.k-tile[data-k="orb"] .k-tile__face { border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .75) 0 7%, var(--c1) 34%, var(--c2) 100%); }
.k-tile[data-k="ring"] .k-tile__face { border-radius: 50%; background: radial-gradient(closest-side, transparent 52%, var(--c1) 54%, var(--c2) 97%, transparent 100%); }
.k-tile[data-k="hex"] .k-tile__face { border-radius: 0; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.k-tile[data-k="tri"] .k-tile__face { border-radius: 0; clip-path: polygon(50% 4%, 98% 92%, 2% 92%); }
.k-tile[data-k="bars"] .k-tile__face {
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--c1) 0 9px, transparent 9px 14px, var(--c2) 14px 18px, transparent 18px 24px);
}

/* WebGL canvas with lit 3D shapes (js/kasir-gl.js); CSS shapes stay as fallback */
.k-gl { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.has-gl .k-tiles { display: none; }

/* Window light: drifting soft beams + warm sun, blended over the scene */
.k-light {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none;
  opacity: calc(var(--light, 0) * .85);
}
.k-light i { position: absolute; display: block; }
.k-light__beams {
  inset: -20% -40%;
  background: repeating-linear-gradient(112deg,
    rgba(16, 20, 40, 0) 0, rgba(16, 20, 40, .07) 50px, rgba(16, 20, 40, 0) 110px,
    rgba(255, 250, 240, 0) 200px, rgba(255, 250, 240, .55) 228px, rgba(255, 250, 240, 0) 262px,
    rgba(16, 20, 40, 0) 520px);
  mix-blend-mode: soft-light;
  animation: beams 16s var(--ease-in-out) infinite alternate;
  will-change: transform;
}
.k-light__sun {
  left: -10%; top: -20%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(255, 190, 130, .35), rgba(255, 190, 130, 0));
  mix-blend-mode: soft-light;
}
@keyframes beams { from { transform: translate3d(-140px, 0, 0); } to { transform: translate3d(140px, 0, 0); } }

/* Glare that slides across the tablet glass as the camera turns */
.k-glare { position: absolute; inset: 18px; border-radius: 24px; overflow: hidden; pointer-events: none; }
.k-glare::before {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -60%; width: 55%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .38) 45%, rgba(255, 255, 255, .08) 60%, rgba(255, 255, 255, 0));
  transform: translateX(var(--gx, 0px)) rotate(8deg);
}

/* Progress / hint */
.k-progress {
  position: absolute; z-index: 3; left: var(--pad-x); bottom: 32px;
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; font-weight: 600; color: var(--slate);
}
.k-progress__bar { position: relative; width: 120px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.k-progress__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.k-progress__step { transition: color .3s; }
.k-progress__step b { color: var(--soft-slate); margin-right: 4px; transition: color .3s; }
.k-progress__step.is-on { color: var(--ink); }
.k-progress__step.is-on b { color: var(--teal); }
.k-hint {
  position: absolute; z-index: 3; right: var(--pad-x); bottom: 32px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
  display: flex; align-items: center; gap: 10px;
}
.k-hint::after { content: ""; width: 1px; height: 28px; background: currentColor; animation: hintLine 1.8s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes hintLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 820px) {
  .k-copy--intro { top: 92px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .k-copy--intro .eyebrow { margin-bottom: 16px; }
  .k-hero__title { font-size: clamp(32px, 9vw, 52px); }
  .k-copy__right .hero__cta { margin-top: 18px; }
  .k-copy__right .btn { height: 46px; padding: 0 20px; font-size: 14px; }
  .k-copy--checkout { top: 96px; right: var(--pad-x); max-width: none; transform: none; }
  .k-copy--checkout h2 { font-size: 40px; margin: 8px 0 10px; }
  .k-copy--checkout > p:not(.label) { font-size: 15px; }
  .k-copy__ticks { display: none; }
  .k-world { top: 66%; }
  .k-hint, .k-progress__step span { display: none; }
}

/* ---------- Features bento ---------- */
.k-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.k-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px; min-height: 340px;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--white);
  transform-style: preserve-3d;
  isolation: isolate;
}
.k-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(15, 139, 141, .1), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.k-card:hover { border-color: #B8C9C9; }
.k-card:hover::before { opacity: 1; }
.k-card.is-in {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity 1s var(--ease), transform .6s var(--ease), border-color .4s;
}
.k-card--wide { grid-column: span 2; }
.k-card--tall { grid-row: span 2; }
.k-card__viz {
  flex: 1; min-height: 170px;
  display: grid; place-items: center;
  margin: -8px -8px 22px; border-radius: 16px;
  background: var(--mist);
  transform: translateZ(36px);
  overflow: hidden;
}
.k-card__text { transform: translateZ(18px); }
.k-card h3 { font-size: 22px; margin-bottom: 8px; }
.k-card p { color: var(--slate); font-size: 15px; max-width: 46ch; }
@media (max-width: 1020px) {
  .k-bento { grid-template-columns: repeat(2, 1fr); }
  .k-card--tall { grid-row: auto; }
}
@media (max-width: 640px) {
  .k-bento { grid-template-columns: 1fr; }
  .k-card--wide { grid-column: auto; }
  .k-card { min-height: 0; }
}

/* viz: scan */
.viz-scan { position: relative; width: min(340px, 90%); padding: 22px 26px 16px; border-radius: 14px; background: var(--white); box-shadow: 0 16px 30px -20px rgba(16, 32, 46, .5); }
.viz-scan__code { height: 72px; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 13px, transparent 13px 15px, var(--ink) 15px 16px, transparent 16px 20px); }
.viz-scan p.viz-scan__num { margin-top: 8px; text-align: center; font: 600 13px/1 "Consolas", monospace; letter-spacing: .2em; color: var(--ink); }
.viz-scan__laser { position: absolute; left: 12px; right: 12px; top: 22px; height: 2px; background: #E5484D; box-shadow: 0 0 12px 2px rgba(229, 72, 77, .6); animation: laser 2.4s var(--ease-in-out) infinite alternate; }
@keyframes laser { to { transform: translateY(70px); } }
.viz-scan__toast {
  position: absolute; left: 50%; top: -18px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 600;
  transform: translate(-50%, 0) scale(.9); opacity: 0;
  animation: toast 4.8s var(--ease) infinite;
}
.viz-scan__toast i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); font-style: normal; font-size: 12px; }
@keyframes toast { 0%, 40% { opacity: 0; transform: translate(-50%, 10px) scale(.9); } 50%, 88% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -6px) scale(1); } }

/* viz: printer */
.viz-print { position: relative; width: 200px; height: 100%; min-height: 330px; }
.viz-print__head { position: absolute; z-index: 2; left: 0; right: 0; top: 34px; height: 46px; border-radius: 14px; background: var(--ink); box-shadow: 0 14px 24px -14px rgba(16, 32, 46, .7); }
.viz-print__head span { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 4px; border-radius: 4px; background: #000; }
.viz-print__out { position: absolute; left: 30px; right: 30px; top: 70px; bottom: 0; overflow: hidden; }
.viz-print__paper {
  position: relative;
  padding: 24px 14px 18px; background: #FFFEFA;
  font: 500 11px/1.6 "Consolas", monospace; color: var(--ink);
  box-shadow: 0 10px 20px -14px rgba(16, 32, 46, .5);
  animation: printOut 4.8s var(--ease) infinite;
}
.viz-print__paper b { display: block; text-align: center; letter-spacing: .12em; margin-bottom: 8px; }
.viz-print__paper p { display: flex; justify-content: space-between; color: var(--ink); font-size: 11px; }
.viz-print__tot { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #B9C6C6; font-weight: 700; }
.viz-print__paper i { display: block; height: 22px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); }
@keyframes printOut { 0% { transform: translateY(-100%); } 35%, 90% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

/* viz: tiers */
.viz-tiers { width: min(300px, 88%); display: grid; gap: 8px; }
.viz-tiers p {
  display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px;
  background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600;
  animation: tierOn 6s infinite; animation-delay: calc(var(--n, 0) * 2s);
}
.viz-tiers p:nth-child(2) { --n: 1; }
.viz-tiers p:nth-child(3) { --n: 2; }
.viz-tiers b { font-family: var(--font-display); }
@keyframes tierOn { 0%, 30% { background: var(--ink); color: var(--white); } 36%, 100% { background: var(--white); color: var(--ink); } }

/* viz: units */
.viz-units { display: flex; align-items: center; gap: 12px; }
.viz-units i { font: 600 22px/1 var(--font-display); color: var(--slate); font-style: normal; }
.viz-units__box {
  display: grid; place-content: center; text-align: center;
  border-radius: 14px; background: var(--white); box-shadow: 0 12px 22px -16px rgba(16, 32, 46, .6);
  animation: bob 3.6s var(--ease-in-out) infinite;
}
.viz-units__box b { font: 600 26px/1 var(--font-display); }
.viz-units__box small { font-size: 12px; font-weight: 600; color: var(--slate); }
.viz-units__box--l { width: 92px; height: 92px; background: var(--ink); color: var(--white); }
.viz-units__box--l small { color: var(--soft-slate); }
.viz-units__box--m { width: 76px; height: 76px; background: var(--teal); color: var(--white); animation-delay: .3s; }
.viz-units__box--m small { color: rgba(255, 255, 255, .75); }
.viz-units__box--s { width: 64px; height: 64px; animation-delay: .6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* viz: purchase flow */
.viz-flow { position: relative; display: flex; justify-content: space-between; width: min(520px, 88%); }
.viz-flow__line { position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: var(--line); }
.viz-flow__line i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(242, 165, 65, .25); animation: travel 3.6s var(--ease-in-out) infinite; }
@keyframes travel { 0% { left: 0; } 45%, 55% { left: calc(50% - 6px); } 100% { left: calc(100% - 12px); } }
.viz-flow__node { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.viz-flow__node b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--white); font: 600 17px/1 var(--font-display); box-shadow: 0 12px 22px -16px rgba(16, 32, 46, .6); }
.viz-flow__node:last-child b { background: var(--teal); color: var(--white); }
.viz-flow__node small { font-size: 12px; font-weight: 600; color: var(--slate); max-width: 12ch; }

/* viz: opname */
.viz-opname { width: min(260px, 86%); display: grid; gap: 8px; }
.viz-opname p { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; }
.viz-opname b { font: 600 20px/1 var(--font-display); }
.viz-opname p.viz-opname__diff { background: #FCE9E5; }
.viz-opname__diff b { color: #B4452F; animation: blink 2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* viz: offline sync */
.viz-sync { display: grid; justify-items: center; gap: 12px; }
.viz-sync__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--ink); position: relative; }
.viz-sync__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.viz-sync__icon::after { content: ""; position: absolute; width: 2px; height: 44px; border-radius: 2px; background: #B4452F; transform: rotate(-45deg); animation: offline 5s infinite; }
@keyframes offline { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }
.viz-sync__q, .viz-sync__ok { position: absolute; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.viz-sync { position: relative; padding-bottom: 40px; }
.viz-sync__q { bottom: 0; background: var(--amber); color: var(--ink); animation: offline 5s infinite; }
.viz-sync__ok { bottom: 0; background: var(--teal); color: var(--white); animation: online 5s infinite; }
@keyframes online { 0%, 50% { opacity: 0; transform: translateY(6px); } 60%, 100% { opacity: 1; transform: none; } }

/* viz: report bars */
.viz-bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.viz-bars span { width: 22px; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: #C5D8D8; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.viz-bars span:last-of-type { background: var(--teal); }
.is-in .viz-bars span { transform: scaleY(1); }
.viz-bars span:nth-child(2) { transition-delay: .06s; } .viz-bars span:nth-child(3) { transition-delay: .12s; }
.viz-bars span:nth-child(4) { transition-delay: .18s; } .viz-bars span:nth-child(5) { transition-delay: .24s; }
.viz-bars span:nth-child(6) { transition-delay: .3s; } .viz-bars span:nth-child(7) { transition-delay: .36s; }
.viz-bars em { position: absolute; right: -18px; top: -18px; padding: 5px 10px; border-radius: 99px; background: var(--amber); font: 700 12px/1 var(--font-body); font-style: normal; }

/* viz: staff */
.viz-staff { width: min(270px, 88%); display: grid; gap: 8px; }
.viz-staff p { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; }
.viz-staff i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: var(--white); font-style: normal; font-size: 12px; }
.viz-staff span { flex: 1; }
.viz-staff em { font-style: normal; font-size: 12px; color: var(--slate); padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; }

/* ---------- Multi-outlet layers ---------- */
.k-scale__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.k-scale h2 { margin-top: 16px; font-size: clamp(38px, 5vw, 72px); letter-spacing: -0.04em; }
.k-scale__points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.k-scale__points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.k-scale__points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.k-layers { position: relative; height: 600px; perspective: 1500px; }
.k-layers__stack {
  position: absolute; left: 50%; top: 58%; width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
}
.k-layer {
  position: absolute; left: -190px; top: -130px; width: 380px; height: 260px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  transform: translateZ(calc(var(--i) * var(--gap, 18px)));
  transition: transform .1s linear;
}
.k-layer--cloud {
  background: linear-gradient(140deg, rgba(20, 163, 163, .55), rgba(15, 139, 141, .15));
  border-color: rgba(20, 163, 163, .7);
  box-shadow: 0 0 80px -10px rgba(20, 163, 163, .55);
}
.k-layer__dots {
  position: absolute; inset: 56px 22px 22px; border-radius: 14px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .45) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
}
.k-layer--new {
  border: 1.5px dashed var(--amber); background: rgba(242, 165, 65, .08);
  opacity: var(--new, 0);
}
.k-layer__tag {
  position: absolute; left: 20px; top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--font-display); color: var(--white);
}
.k-layer__tag > i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-light); }
.k-layer--new .k-layer__tag { color: var(--amber); }
.k-layer__rows { position: absolute; left: 20px; right: 20px; top: 58px; display: grid; gap: 10px; }
.k-layer__rows i { height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.k-layer__rows i:first-child { width: 70%; }
.k-layer__meta { position: absolute; right: 20px; bottom: 18px; font-size: 13px; font-weight: 600; color: var(--soft-slate); }
@media (max-width: 960px) {
  .k-scale__grid { grid-template-columns: 1fr; }
  .k-layers { height: 460px; }
  .k-layers__stack { transform: rotateX(58deg) rotateZ(-38deg) scale(.82); }
}

/* ---------- Views: real web dashboard + real Android screens ---------- */
.k-views__scene {
  position: relative; max-width: 1180px; margin: 0 auto;
  perspective: 1600px; perspective-origin: 50% 0%;
  padding-bottom: 60px;
}
.k-browser {
  width: 80%;
  border-radius: 18px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 50px 90px -50px rgba(16, 32, 46, .5);
  transform-origin: 50% 100%;
  transform: rotateX(var(--vx, 18deg)) translateY(var(--vy, 30px));
  will-change: transform;
}
.k-browser__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #F1F0F2; border-bottom: 1px solid #E6E6E8; }
.k-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #D3D1D6; }
.k-browser__bar i:nth-child(1) { background: #FF5F57; } .k-browser__bar i:nth-child(2) { background: #FEBC2E; } .k-browser__bar i:nth-child(3) { background: #28C840; }
.k-browser__bar span { margin: 0 auto; padding: 4px 16px; border-radius: 8px; background: var(--white); font-size: 12px; color: #6D6B77; }

/* Vuexy-based admin used by the real backend */
.vx { display: grid; grid-template-columns: 190px 1fr; min-height: 470px; background: #F8F7FA; color: #444050; font-size: 13px; }
.vx-side { display: flex; flex-direction: column; gap: 3px; padding: 20px 14px; background: var(--white); box-shadow: 0 0 10px rgba(47, 43, 61, .08); color: #6D6B77; font-weight: 600; font-size: 13px; }
.vx-side span { padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
.vx-side span.is-on { background: linear-gradient(270deg, rgba(115, 103, 240, .7), #7367F0); color: var(--white); box-shadow: 0 2px 6px rgba(115, 103, 240, .3); }
.vx-side .vx-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 0 6px; font: 700 19px/1 var(--font-display); color: #444050; }
.vx-logo i { width: 22px; height: 22px; border-radius: 7px; background: #7367F0; box-shadow: 8px -8px 0 -5px #FF9F43; }
.vx-main { padding: 14px 20px 20px; min-width: 0; }
.vx-nav { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 14px; border-radius: 8px; background: var(--white); box-shadow: 0 2px 8px rgba(47, 43, 61, .1); }
.vx-search { color: #ACAAB1; font-size: 12.5px; }
.vx-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(115, 103, 240, .16); color: #7367F0; font: 700 12px/1 var(--font-body); font-style: normal; }
.vx-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 18px 0 14px; }
.vx-head b { font: 700 19px/1.2 var(--font-display); }
.vx-periods { display: flex; gap: 6px; }
.vx-periods i { padding: 5px 10px; border: 1px solid #7367F0; border-radius: 6px; color: #7367F0; font: 600 11.5px/1 var(--font-body); font-style: normal; }
.vx-periods i.is-on { background: #7367F0; color: var(--white); box-shadow: 0 2px 6px rgba(115, 103, 240, .3); }
.vx-card { position: relative; padding: 14px 16px; border-radius: 10px; background: var(--white); box-shadow: 0 2px 8px rgba(47, 43, 61, .1); }
.vx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vx-kpis small { display: block; color: #444050; font-weight: 600; font-size: 12px; padding-right: 30px; }
.vx-kpis b { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 700 19px/1.2 var(--font-display); white-space: nowrap; }
.vx-ic { position: absolute; right: 14px; top: 14px; width: 28px; height: 28px; border-radius: 6px; background: color-mix(in srgb, var(--ic) 16%, white); }
.vx-ic::after { content: ""; position: absolute; inset: 8px; border-radius: 3px; background: var(--ic); }
.vx-eye { width: 14px; height: 9px; border: 1.5px solid #6D6B77; border-radius: 50% / 60%; position: relative; }
.vx-eye::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #6D6B77; }
.vx-delta { display: inline-block; margin-top: 6px; color: #28C76F; font-size: 12px; font-weight: 600; }
.vx-delta--down { color: #FF4C51; }
.vx-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; margin-top: 12px; }
.vx-chart b, .vx-hours b { display: block; font: 700 14px/1.3 var(--font-display); }
.vx-chart small, .vx-hours small { color: #6D6B77; font-size: 11.5px; }
.vx-chart svg { display: block; width: 100%; height: 150px; margin-top: 10px; }
.vx-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-top: 10px; }
.vx-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 5px; background: rgba(115, 103, 240, .2); }
.vx-bars i:nth-child(3) { background: #7367F0; }

/* Android phones */
.k-phone {
  position: absolute; bottom: 0;
  width: 260px; height: 540px; padding: 10px;
  border-radius: 40px; background: #17121B;
  box-shadow: 0 50px 80px -30px rgba(16, 32, 46, .6), inset 0 0 0 2px #2E2733;
  transform: translateY(var(--py, 60px)) rotate(var(--pr, 6deg));
  will-change: transform;
}
.k-phone--home { right: 17%; bottom: 30px; z-index: 1; }
.k-phone--trx { right: 0; bottom: -20px; z-index: 2; }
.k-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 31px; background: #FAF8FB; color: #1F1A22; font-size: 11px; }
.k-phone__screen::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 9px; width: 64px; height: 7px; margin-left: -32px; border-radius: 8px; background: #17121B; }

/* Android home */
.ah { padding: 28px 14px 14px; }
.ah-top { display: flex; align-items: center; gap: 10px; }
.ah-avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #F3E5F5; color: #8E24AA; font: 700 14px/1 var(--font-body); font-style: normal; }
.ah-top p { flex: 1; }
.ah-top b { display: block; font: 700 15px/1.2 var(--font-display); }
.ah-top small { color: #6E6772; font-size: 10.5px; }
.ah-bell { position: relative; width: 32px; height: 32px; border-radius: 10px; background: #EFEDF0; }
.ah-bell::after { content: ""; position: absolute; left: 10px; top: 9px; width: 12px; height: 12px; border: 2px solid #5F5963; border-radius: 6px 6px 2px 2px; box-sizing: border-box; }
.ah-bell i { position: absolute; right: -4px; top: -4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #C62828; color: var(--white); font: 700 9px/1 var(--font-body); font-style: normal; }
.ah-chips { display: flex; gap: 5px; margin-top: 12px; }
.ah-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 99px; background: #E8F5E9; color: #2E7D32; font-size: 9.5px; font-weight: 700; }
.ah-chips span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ah-sale { position: relative; overflow: hidden; margin-top: 12px; padding: 14px; border-radius: 20px; background: #9C27B0; color: var(--white); }
.ah-sale::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ah-sale small { display: block; position: relative; opacity: .8; font-size: 10px; }
.ah-sale b { display: block; position: relative; margin: 3px 0 2px; font: 700 19px/1.15 var(--font-display); }
.ah-sale__row { position: relative; display: flex; gap: 6px; margin-top: 10px; }
.ah-sale__row span { flex: 1; padding: 7px 8px; border-radius: 12px; background: rgba(255, 255, 255, .16); font-size: 9.5px; font-weight: 700; text-align: center; white-space: nowrap; }
.ah-sale__row .ah-pay { flex: .6; background: linear-gradient(315deg, #1B5E20, #43A047); }
.ah-title { margin: 12px 2px 6px; color: var(--t); font: 700 12px/1 var(--font-display); }
.ah-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ah-grid span { display: grid; justify-items: center; gap: 5px; padding: 9px 4px; border-radius: 14px; background: var(--white); border: 1px solid #E8E4EA; font-size: 9.5px; font-weight: 600; text-align: center; }
.ah-grid i { width: 28px; height: 28px; border-radius: 9px; background: var(--bg); position: relative; }
.ah-grid i::after { content: ""; position: absolute; inset: 9px; border-radius: 3px; background: var(--fg); }
.ah-stat { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 14px; background: var(--white); border: 1px solid #E8E4EA; }
.ah-stat i { flex: none; width: 30px; height: 30px; border-radius: 9px; background: #E8EAF6; position: relative; }
.ah-stat i::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 12px; background: linear-gradient(90deg, #3949AB 0 3px, transparent 3px 5px, #3949AB 5px 8px, transparent 8px 10px, #3949AB 10px) bottom / 100% 100% no-repeat; clip-path: polygon(0 60%, 25% 60%, 25% 30%, 50% 30%, 50% 0, 75% 0, 75% 45%, 100% 45%, 100% 100%, 0 100%); }
.ah-stat b { display: block; color: #283593; font-size: 11.5px; }
.ah-stat small { color: #6E6772; font-size: 9.5px; }

/* Android transaction (receipt-like) */
.at { padding: 30px 12px 12px; }
.at-status { display: inline-block; padding: 4px 10px; border-radius: 99px; background: #E8F5E9; color: #2E7D32; font-size: 10px; font-weight: 700; }
.at-receipt { margin-top: 10px; padding: 14px 12px; border-radius: 14px; background: var(--white); border: 1px solid #E8E4EA; }
.at-store { display: block; text-align: center; font: 700 14px/1 var(--font-display); letter-spacing: .1em; margin-bottom: 10px; }
.at-receipt p { display: flex; justify-content: space-between; gap: 6px; margin: 4px 0; font-size: 10px; }
.at-receipt p span:first-child { color: #6E6772; }
.at-pill { padding: 2px 8px; border-radius: 99px; background: #F3E5F5; color: #8E24AA; font-weight: 700; }
.at-add { display: block; margin: 10px 0 8px; padding: 7px; border: 1.5px dashed #9C27B0; border-radius: 10px; color: #9C27B0; text-align: center; font-size: 10.5px; font-weight: 700; }
.at-receipt p.at-th, .at-receipt p.at-tr { display: grid; grid-template-columns: 1.3fr .8fr .9fr; }
.at-receipt p.at-th { padding: 5px 0; border-block: 1px dashed #D5CED8; font-weight: 700; font-size: 9px; }
.at-receipt p.at-th span:first-child { color: #1F1A22; }
.at-receipt p.at-tr { margin: 6px 0; font-weight: 600; }
.at-receipt p.at-tr span:first-child { color: #1F1A22; }
.at-th span:not(:first-child), .at-tr span:not(:first-child) { text-align: right; }
.at-tr em { display: block; color: #9C27B0; font-size: 8.5px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.at-total { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #D5CED8; text-align: right; font: 700 14px/1.2 var(--font-display); }
.at-receipt p.at-paid { justify-content: flex-start; align-items: center; gap: 6px; margin-top: 8px; color: #1F1A22; font-weight: 600; }
.at-paid i { width: 13px; height: 13px; border-radius: 3px; background: #9C27B0; position: relative; }
.at-paid i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.at-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.at-btns span { padding: 8px 4px; border: 1.5px solid #9C27B0; border-radius: 10px; color: #9C27B0; text-align: center; font-size: 10px; font-weight: 700; }
.at-fab { position: absolute; right: 14px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; background: #9C27B0; box-shadow: 0 8px 16px -6px rgba(156, 39, 176, .7); }
.at-fab::after { content: ""; position: absolute; left: 17px; top: 11px; width: 8px; height: 14px; border-radius: 4px; background: var(--white); box-shadow: 0 0 0 0 transparent; }
.at-fab::before { content: ""; position: absolute; left: 14px; top: 18px; width: 14px; height: 9px; border: 2px solid var(--white); border-top: 0; border-radius: 0 0 8px 8px; box-sizing: border-box; }

.k-views__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1180px; margin: 48px auto 0; }
.k-views__legend h3 { font-size: 24px; margin-bottom: 8px; }
.k-views__legend p { color: var(--slate); max-width: 44ch; }
@media (max-width: 1100px) {
  .k-phone--home { display: none; }
}
@media (max-width: 900px) {
  .k-browser { width: 100%; }
  .vx { grid-template-columns: 1fr; min-height: 0; }
  .vx-side, .vx-nav, .vx-periods, .vx-hours { display: none; }
  .vx-row { grid-template-columns: 1fr; }
  .vx-kpis { grid-template-columns: 1fr 1fr; }
  .vx-chart svg { height: 100px; }
  .k-phone--trx { width: 200px; height: 415px; padding: 8px; border-radius: 32px; right: -6px; bottom: -70px; }
  .k-phone--trx .k-phone__screen { border-radius: 25px; transform-origin: top left; }
  .at-receipt p.at-tr:nth-of-type(n+6), .at-btns, .at-paid { display: none; }
  .k-views__legend { grid-template-columns: 1fr; margin-top: 96px; }
}
@media (max-width: 560px) {
  .vx-kpis .vx-card:nth-child(n+3) { display: none; }
}

/* ---------- Pricing / consult ---------- */
.plan__price .k-per { margin: 10px 0 0; }
.k-note-line { margin-top: 28px; font-size: 14px; color: var(--slate); }

.k-plans { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.k-plans .plan { padding: 36px 28px 28px; }
.k-plans .plan__price { margin: 28px 0 8px; font-size: clamp(30px, 2.6vw, 40px); }
.k-plans .plan__price--soon { font-size: clamp(26px, 2.2vw, 32px); }
.k-plans .plan__price small.k-per { margin: 10px 0 0; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; }
.k-plans ul { margin-top: 20px; }
.k-extra { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--mist); font-size: 13px; color: var(--slate); }
.k-extra b { color: var(--ink); }
.plan--featured .k-extra { background: rgba(255, 255, 255, .08); color: var(--soft-slate); }
.plan--featured .k-extra b { color: var(--white); }
@media (max-width: 1200px) { .k-plans { grid-template-columns: repeat(2, 1fr); max-width: 860px; } }
@media (max-width: 640px) { .k-plans { grid-template-columns: 1fr; max-width: 520px; } }

/* Full comparison table */
.k-compare { margin-top: 72px; }
.k-compare__title { margin: 0 0 20px; font-size: 24px; }
.k-compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); -webkit-overflow-scrolling: touch; }
.k-compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.k-compare th, .k-compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.k-compare tbody tr:last-child th, .k-compare tbody tr:last-child td { border-bottom: 0; }
.k-compare thead th { font: 600 17px/1.2 var(--font-display); background: var(--white); }
.k-compare tbody th { width: 38%; font-weight: 500; color: var(--ink); }
.k-compare tbody tr:nth-child(even) { background: #F7FAF9; }
.k-compare .is-featured { background: rgba(15, 139, 141, .07); }
.k-compare thead .is-featured { color: var(--teal); }
.k-compare .k-yes { color: var(--teal); font-weight: 700; font-size: 17px; }
.k-compare .k-no { color: var(--soft-slate); }
.k-compare tr.k-group th { padding: 22px 18px 10px; background: var(--white); font: 600 12px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.k-compare tbody tr.k-plus { background: rgba(242, 165, 65, .08); }
.k-compare tr.k-plus th b { display: block; font-weight: 600; }
.k-compare tr.k-plus th small { display: block; margin-top: 2px; font-size: 13px; color: var(--slate); }
html[lang="ja"] .k-compare tr.k-group th { letter-spacing: .04em; }
.k-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .k-compare th, .k-compare td { padding: 12px 14px; font-size: 14px; }
  .k-compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
  .k-compare tbody tr:nth-child(even) th:first-child { background: #F7FAF9; }
}

/* On-site installation callout */
.k-install { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 32px; padding: 32px 36px; border-radius: var(--radius-card); background: var(--ink); color: var(--white); }
.k-install h3 { margin: 0 0 8px; font-size: 24px; }
.k-install p { margin: 0; max-width: 62ch; color: var(--soft-slate); }
.k-install .btn { flex: none; }
@media (max-width: 760px) { .k-install { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }
.k-consult__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.k-consult__inner h2 { margin: 16px 0 24px; font-size: clamp(40px, 6vw, 92px); letter-spacing: -0.045em; }
.k-consult__inner .k-lead { margin: 0 auto; }
.k-consult__inner .hero__cta { justify-content: center; }

/* ---------- Japanese tweaks ---------- */
html[lang="ja"] .k-hero__title { font-size: clamp(30px, 4.2vw, 64px); line-height: 1.15; letter-spacing: -0.01em; }
html[lang="ja"] .k-copy--checkout h2, html[lang="ja"] .k-scale h2, html[lang="ja"] .k-consult__inner h2 { font-size: clamp(30px, 3.8vw, 58px); line-height: 1.2; letter-spacing: 0; }

/* ---------- Reduced motion: show the finished scene, no long scroll ---------- */
@media (prefers-reduced-motion: reduce) {
  .k-hero { height: auto; }
  .k-stage { position: relative; height: 100vh; min-height: 720px; }
  .k-copy--checkout, .k-hint, .k-progress { display: none; }
  .k-card.is-in { transform: none; }
}
