/* Rivoj — business-face premium craft */

:root {
  --ink: #12100e;
  --ink-2: #3a342f;
  --ink-3: #6f675f;
  --line: rgba(18, 16, 14, 0.08);
  --line-2: rgba(18, 16, 14, 0.14);
  --paper: #f6f3ee;
  --paper-2: #ebe6de;
  --white: #fffcf7;
  --amber: #c4740a;
  --amber-b: #f0a01a;
  --amber-d: #8a4f06;
  --amber-w: rgba(196, 116, 10, 0.11);
  --ok: #0d7a4e;
  --ok-w: rgba(13, 122, 78, 0.09);
  --warn-w: rgba(196, 116, 10, 0.11);
  --radius: 1.35rem;
  --radius-sm: 0.9rem;
  --shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 2px 4px rgba(18, 16, 14, 0.04),
    0 28px 70px rgba(18, 16, 14, 0.12);
  --shadow-sm: 0 14px 40px rgba(18, 16, 14, 0.08);
  --font-d: "Fraunces", Georgia, serif;
  --font-b: "DM Sans", system-ui, sans-serif;
  --shell: min(1200px, calc(100% - clamp(1.35rem, 4.5vw, 3.25rem)));
  --y: clamp(5.5rem, 12vw, 9rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 4.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--amber-d); }
:focus-visible { outline: 2px solid var(--amber-b); outline-offset: 3px; }
button, input { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .7rem 1rem; background: var(--ink); color: #fff;
  border-radius: .55rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.page-grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 90;
  opacity: 0.028; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
  width: var(--shell);
  margin-inline: auto;
  max-width: 100%;
}

/* Type */
.eyebrow {
  margin: 0 0 1rem;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
}
.band-head h2, .cta-box h2, .hero-copy h1 {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
  color: var(--ink);
}
.band-head h2 {
  font-size: clamp(2.55rem, 5.8vw, 4.35rem);
  max-width: 11ch;
}
.lead {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.55;
}
.band { padding: var(--y) 0; }
.band-head { margin-bottom: clamp(2.8rem, 6vw, 4.75rem); }

/* Logo */
.logo {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-d); font-weight: 700; font-size: 1.4rem;
  letter-spacing: -0.03em; text-decoration: none; color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 2.15rem; height: 2.15rem; flex-shrink: 0;
  border-radius: .55rem;
  box-shadow: 0 6px 16px rgba(208, 106, 0, 0.22);
}
.logo-word span,
.brand-word strong { color: var(--amber); font-weight: inherit; }

.brand-hero {
  display: flex; align-items: center;
  gap: clamp(.8rem, 2.2vw, 1.25rem);
  margin: 0 0 .45rem;
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(3.8rem, 11.5vw, 6.8rem);
  line-height: .9; letter-spacing: -0.048em; color: var(--ink);
}
.brand-mark {
  width: clamp(3.5rem, 8.5vw, 5rem);
  height: clamp(3.5rem, 8.5vw, 5rem);
  flex-shrink: 0; border-radius: 1.15rem;
  box-shadow: 0 18px 44px rgba(208, 106, 0, 0.32);
}
.brand-word { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: .85rem 1.55rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .22s var(--ease), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.btn:hover { color: inherit; }
.btn:active { transform: scale(0.985); }
.btn-fill {
  background: linear-gradient(180deg, #1c1916, var(--ink));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 12px 32px rgba(18,16,14,.22);
}
.btn-fill:hover { background: #000; color: #fff; box-shadow: 0 16px 36px rgba(18,16,14,.28); }
.btn-line {
  background: rgba(255,252,247,.55);
  border-color: var(--line-2); color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-line:hover { border-color: var(--ink); background: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header); display: flex; align-items: center;
  background: rgba(246, 243, 238, 0.7);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 243, 238, 0.92);
  box-shadow: 0 10px 30px rgba(18,16,14,.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav { display: none; align-items: center; gap: 1.85rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 252, 247, 0.7);
  flex-shrink: 0;
}
.lang-form { margin: 0; }
.lang-btn {
  min-width: 2.35rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.lang-btn.is-on {
  background: var(--ink);
  color: #fff;
}
.lang-btn:hover:not(.is-on) { color: var(--ink); }
.mobile-nav .lang-switch {
  margin: 0 0 1rem;
  width: fit-content;
}
.nav a {
  text-decoration: none; font-size: .925rem; font-weight: 520; color: var(--ink-2);
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  padding: .58rem 1.05rem !important; border-radius: 999px;
  background: var(--ink); color: #fff !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--amber-d) !important; }

.nav-toggle {
  width: 2.85rem; height: 2.85rem; border: 1px solid var(--line-2);
  border-radius: .9rem; background: rgba(255,252,247,.75);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span { width: 1.05rem; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav {
  position: absolute; inset: var(--header) 0 auto; display: grid; gap: .1rem;
  padding: 1rem 1.25rem 1.45rem; background: rgba(246,243,238,.98);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: .85rem .4rem; text-decoration: none; font-weight: 520; color: var(--ink-2); }
.mobile-nav .btn { width: 100%; margin-top: .45rem; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex; align-items: center;
  padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: clip;
  background: linear-gradient(165deg, #f1ebe3 0%, var(--paper) 38%, #faf7f2 100%);
}
.hero-atmosphere { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18,16,14,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,16,14,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 40%, #000 15%, transparent 72%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px);
  animation: orb 16s ease-in-out infinite alternate;
}
.hero-orb-a {
  width: min(620px, 55vw); height: min(620px, 55vw);
  left: -10%; top: -5%;
  background: radial-gradient(circle, rgba(240,160,26,.32), transparent 68%);
}
.hero-orb-b {
  width: min(480px, 42vw); height: min(480px, 42vw);
  right: -8%; bottom: 0;
  background: radial-gradient(circle, rgba(196,116,10,.18), transparent 70%);
  animation-delay: -5s;
}
.hero-orb-c {
  width: min(360px, 35vw); height: min(360px, 35vw);
  left: 40%; top: 55%;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%);
  animation-delay: -9s;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(18,16,14,.05) 100%);
}
@keyframes orb {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(2.5%, -2%, 0) scale(1.07); }
}

.hero-layout {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.75rem, 6vw, 4.5rem); align-items: center;
}
@media (min-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 3.25rem;
  }
}

.hero-copy h1 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 500; font-style: italic;
  letter-spacing: -0.022em; color: var(--ink-2); max-width: 14ch;
}
.hero-lead {
  margin: 1.35rem 0 0; max-width: 30rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-2); line-height: 1.55;
}
.br-desk { display: none; }
@media (min-width: 600px) { .br-desk { display: inline; } }

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust {
  margin: 1.35rem 0 0;
  font-size: .82rem; font-weight: 550; letter-spacing: .04em;
  color: var(--ink-3); text-transform: uppercase;
}

/* Product stage */
.hero-stage {
  position: relative;
  min-height: 380px;
  transform-style: preserve-3d;
}
.stage-glow {
  position: absolute; inset: 8% 5% -5%;
  background: radial-gradient(ellipse at 50% 60%, rgba(240,160,26,.28), transparent 62%);
  filter: blur(24px); pointer-events: none;
}

.device {
  position: relative; z-index: 2;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + .2rem);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(4deg);
  transform-origin: 60% 50%;
  transition: transform .5s var(--ease);
}
.device-chrome {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #f4efe7);
  font-size: .8rem; font-weight: 600; color: var(--ink-2);
}
.chrome-dots { display: flex; gap: .35rem; }
.chrome-dots i {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: #e5ddd2; display: block;
}
.chrome-dots i:nth-child(1) { background: #f0c28a; }
.chrome-dots i:nth-child(2) { background: #f0a01a; }
.chrome-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ok); background: var(--ok-w);
  padding: .28rem .55rem; border-radius: 999px;
}
.chrome-status i {
  width: .4rem; height: .4rem; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(13,122,78,.15);
}

.device-body { display: grid; grid-template-columns: 7.5rem 1fr; min-height: 320px; }
.device-nav {
  grid-column: 1;
  grid-row: 1;
  display: flex; flex-direction: column; gap: .25rem;
  padding: .9rem .55rem; border-right: 1px solid var(--line);
  background: #f2ede5;
}
.device-main {
  grid-column: 2;
  grid-row: 1;
  padding: 1rem 1.15rem 1.25rem;
  min-width: 0;
}
.nav-pill {
  padding: .55rem .7rem; border-radius: .7rem;
  font-size: .78rem; font-weight: 520; color: var(--ink-3);
}
.nav-pill.is-on {
  background: var(--white); color: var(--ink); font-weight: 650;
  box-shadow: 0 6px 16px rgba(18,16,14,.06);
}

.scan-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem .85rem; margin-bottom: .85rem;
  border: 1px dashed rgba(18,16,14,.16); border-radius: .75rem;
  background: rgba(246,243,238,.6);
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.scan-label { font-size: .8rem; color: var(--ink-3); font-weight: 500; }
.scan-cursor {
  color: var(--amber); font-weight: 400;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.ticket-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; font-size: .95rem;
  border-bottom: 1px solid rgba(18,16,14,.045);
}
.ticket-row b { font-family: var(--font-d); font-weight: 600; }
.ticket-row.is-dim { color: var(--ink-3); font-size: .875rem; }
.ticket-sum {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: .85rem; padding-top: .9rem;
  border-top: 1px solid var(--line-2);
}
.ticket-sum strong {
  font-family: var(--font-d); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em;
}
.ticket-sum small { font-size: .75rem; font-weight: 600; color: var(--ink-3); margin-left: .15rem; }

.pay-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.pay {
  padding: .4rem .72rem; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: .76rem; font-weight: 650; color: var(--ink-2);
}
.pay.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.checkout-btn {
  margin-top: 1rem; text-align: center;
  padding: .85rem 1rem; border-radius: .85rem;
  background: linear-gradient(180deg, var(--amber-b), var(--amber));
  color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 10px 24px rgba(196,116,10,.28);
}

.stage-card {
  position: absolute; z-index: 3;
  width: min(11.8rem, 48%);
  padding: 1rem 1.05rem;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 22px 48px rgba(18,16,14,.3);
  animation: floaty 7s ease-in-out infinite alternate;
}
.stage-card-a { left: -0.4rem; bottom: 18%; animation-delay: -2s; }
.stage-card-b { right: -0.6rem; top: 12%; }
.sc-label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.stage-card strong {
  display: block; margin-top: .35rem;
  font-family: var(--font-d); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em;
}
.stage-card em {
  display: block; margin-top: .25rem;
  font-style: normal; font-size: .78rem; color: rgba(255,255,255,.58);
}
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (max-width: 979px) {
  .device { transform: none; }
}
@media (max-width: 560px) {
  .device-body { grid-template-columns: 1fr; }
  .device-nav {
    flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line);
  }
}

/* Audience */
.audience {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,252,247,.7), transparent);
}
.audience-row { display: grid; gap: 0; border-top: 1px solid var(--line); }
.audience-row article { padding: 1.85rem 0; border-bottom: 1px solid var(--line); }
.aud-n {
  display: block; margin-bottom: .7rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--amber);
}
.audience-row h3 {
  margin: 0 0 .55rem; font-family: var(--font-d);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em;
}
.audience-row p { margin: 0; color: var(--ink-2); max-width: 30ch; }
.aud-lead {
  margin: 0 0 1.25rem !important;
  color: var(--ink-3) !important;
  font-size: .95rem;
  max-width: 28ch !important;
}
.aud-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.aud-timeline li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: .75rem;
  align-items: baseline;
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.aud-timeline time {
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--amber);
}
.aud-timeline b { color: var(--ink); font-weight: 650; }
@media (min-width: 860px) {
  .audience-row { grid-template-columns: repeat(3, 1fr); }
  .audience-row article {
    padding: 2.15rem 1.85rem 2.15rem 0; border-bottom: 0; border-right: 1px solid var(--line);
  }
  .audience-row article:last-child { border-right: 0; padding-right: 0; padding-left: 1.85rem; }
  .audience-row article:nth-child(2) { padding-inline: 1.85rem; }
}

/* Features */
.feature { padding: clamp(2.75rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature-grid { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 4.25rem; }
  .feature-flip .feature-text { order: 2; }
  .feature-flip .feature-viz { order: 1; }
}
.idx {
  display: block; margin-bottom: .8rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; color: var(--amber);
}
.feature-text h3 {
  margin: 0; font-family: var(--font-d);
  font-size: clamp(1.95rem, 3.5vw, 2.75rem);
  font-weight: 600; letter-spacing: -0.032em; max-width: 12ch; line-height: 1.08;
}
.feature-text > p {
  margin: 1.05rem 0 0; color: var(--ink-2); max-width: 34rem; font-size: 1.05rem;
}
.hint {
  margin-top: 1.2rem !important; font-weight: 650;
  color: var(--ink) !important; font-size: .95rem !important;
}

.panel {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 34%, rgba(240,160,26,.13) 50%, transparent 66%);
  transform: translateX(-130%); pointer-events: none;
}
.panel.is-lit::after { animation: sweep 1.4s var(--ease) forwards; }
@keyframes sweep { to { transform: translateX(130%); } }

.panel-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #f5f0e8);
}
.panel-h b { font-size: .95rem; }
.panel-h span { font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.dot-live { color: var(--ok) !important; }

.panel-lines { padding: .4rem 1.25rem 1.05rem; }
.panel-lines > div {
  display: flex; justify-content: space-between; padding: .72rem 0;
  border-bottom: 1px solid rgba(18,16,14,.05); font-size: .95rem;
}
.panel-lines .dim { color: var(--ink-3); font-size: .875rem; }
.panel-lines .warn-line { color: var(--amber-d); font-weight: 650; }
.panel-lines b { font-family: var(--font-d); font-weight: 600; }
.panel-f {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 1.25rem; padding-top: .95rem; border-top: 1px solid var(--line-2);
  font-family: var(--font-d);
}
.panel-f strong { font-size: 1.4rem; }
.panel-actions {
  display: flex; gap: .4rem; padding: 1rem 1.25rem 1.25rem;
}
.mini {
  padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .74rem; font-weight: 650; color: var(--ink-2);
}
.mini.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel-note {
  margin: 0 1.25rem 1.25rem; padding: .75rem .9rem;
  background: var(--amber-w); border-radius: .75rem;
  font-size: .875rem; color: var(--ink-2);
}

.stock { list-style: none; margin: 0; padding: .3rem 0; }
.stock li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.stock li:last-child { border-bottom: 0; }
.stock em { font-style: normal; font-family: var(--font-d); font-weight: 600; }
.stock .warn { background: var(--warn-w); }
.stock .ok { background: var(--ok-w); }
.stock .ok em { color: var(--ok); }

.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.fin-grid > div { background: var(--white); padding: 1.25rem; }
.fin-grid small {
  display: block; margin-bottom: .4rem; color: var(--ink-3);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.fin-grid b { font-family: var(--font-d); font-size: 1.3rem; font-weight: 600; }
.fin-profit { background: linear-gradient(160deg, #fff7e8, #eef8f2) !important; }
.fin-profit b { color: var(--ok); }

.quad {
  display: grid; gap: 0; margin-top: clamp(1.2rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.quad article { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.quad h3 {
  margin: 0; font-family: var(--font-d); font-size: 1.45rem;
  font-weight: 600; letter-spacing: -0.02em;
}
.quad p { margin: .7rem 0 0; color: var(--ink-2); max-width: 36ch; }
@media (min-width: 860px) {
  .quad { grid-template-columns: 1fr 1fr; column-gap: 3.25rem; }
  .quad article:nth-child(odd) { padding-right: 1rem; }
  .quad article:nth-child(even) { padding-left: 1rem; }
}

/* Why */
.why {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(240,160,26,.14), transparent 55%),
    #12100e;
  color: #fff;
}
.why .eyebrow { color: var(--amber-b); }
.why .band-head h2 { color: #fff; }
.why .lead { color: rgba(255,255,255,.65); }
.why-list { border-top: 1px solid rgba(255,255,255,.1); }
.why-list article {
  display: grid; gap: .55rem; padding: 1.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: background .25s ease;
}
.why-list article:hover { background: rgba(255,255,255,.03); }
@media (min-width: 800px) {
  .why-list article {
    grid-template-columns: minmax(17rem, 1.15fr) 1.35fr;
    gap: 2.75rem; align-items: baseline; padding: 1.95rem 0;
  }
}
.why-list h3 {
  margin: 0; font-family: var(--font-d);
  font-size: clamp(1.25rem, 2.3vw, 1.5rem);
  font-weight: 550; letter-spacing: -0.02em;
}
.why-list p { margin: 0; color: rgba(255,255,255,.58); }

/* Trust — Excel vs Rivoj */
.trust {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,252,247,.5), transparent 40%),
    var(--paper);
}
.trust-compare {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
.trust-vs {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 900px) {
  .trust-compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: center;
  }
  .trust-vs { display: flex; }
}
.trust-pane-h {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 1rem;
}
.trust-pane-h span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trust-pane.is-after .trust-pane-h span { color: var(--amber); }
.trust-pane-h b {
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.trust-sheet,
.trust-panel {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.trust-sheet { background: #eef1e8; }
.sheet-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem .9rem;
  background: #dfe4d6;
  border-bottom: 1px solid rgba(18,16,14,.08);
}
.sheet-bar i {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: rgba(18,16,14,.22);
}
.sheet-bar i:nth-child(1) { background: #c45a4a; }
.sheet-bar i:nth-child(2) { background: #c4a23a; }
.sheet-bar i:nth-child(3) { background: #5a9e58; }
.sheet-bar em {
  margin-left: .5rem;
  font-style: normal;
  font-size: .72rem;
  color: var(--ink-3);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sheet-grid {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
  border-bottom: 1px solid rgba(18,16,14,.08);
}
.sheet-row {
  display: grid;
  grid-template-columns: 1.6rem 1.4fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(18,16,14,.07);
}
.sheet-row > span {
  padding: .55rem .5rem;
  border-right: 1px solid rgba(18,16,14,.06);
  color: var(--ink-2);
}
.sheet-row > span:last-child { border-right: 0; }
.sheet-row.is-head {
  background: rgba(18,16,14,.05);
  font-weight: 700;
  color: var(--ink-3);
}
.sheet-row.is-warn { background: rgba(196, 90, 74, .1); }
.sheet-row.is-mute { opacity: .65; }
.sheet-row > span:first-child {
  color: var(--ink-3);
  text-align: center;
  background: rgba(18,16,14,.03);
}
.trust-pains,
.trust-wins {
  list-style: none;
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: .45rem;
}
.trust-pains li,
.trust-wins li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .9rem;
  color: var(--ink-2);
}
.trust-pains li::before,
.trust-wins li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
}
.trust-pains li::before { background: #c45a4a; }
.trust-wins li::before { background: var(--ok); }

.trust-panel {
  background:
    linear-gradient(165deg, #fffdf8 0%, #fff 45%, #f7faf5 100%);
}
.tp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 1.15rem .75rem;
  border-bottom: 1px solid var(--line);
}
.tp-top strong {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 600;
}
.tp-top em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 650;
  color: var(--ok);
}
.tp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.tp-stats > div {
  background: var(--white);
  padding: .9rem .85rem;
}
.tp-stats small {
  display: block;
  margin-bottom: .3rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tp-stats b {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tp-stats .is-hot { background: linear-gradient(160deg, #fff7e8, #eef8f2); }
.tp-stats .is-hot b { color: var(--ok); }
.tp-debt { padding: .9rem 1.15rem 0; }
.tp-debt-h {
  display: flex;
  justify-content: space-between;
  margin-bottom: .55rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tp-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.tp-line em { font-style: normal; font-weight: 650; font-variant-numeric: tabular-nums; }
.tp-line.is-dim { color: var(--ink-3); border-bottom: 0; font-size: .82rem; }
.trust-wins { padding-top: .85rem; }

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,252,247,.85), transparent);
}
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 46rem;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 .7rem;
  width: .7rem;
  height: .7rem;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  transition: transform .35s var(--ease);
  margin-top: -.2rem;
}
.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: .25rem;
}
.faq-item p {
  margin: 0 0 1.35rem;
  color: var(--ink-2);
  max-width: 40rem;
  padding-right: 2rem;
}
.faq-item a {
  color: var(--amber-d);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 79, 6, .25);
}
.faq-item a:hover { border-bottom-color: var(--amber-d); }

/* Flow */
.flow-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.85rem; }
@media (min-width: 900px) {
  .flow-track {
    grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative;
  }
  .flow-track::before {
    content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, var(--amber-b), var(--line-2) 70%);
    opacity: .6;
  }
}
.flow-track li span {
  display: block; margin-bottom: .9rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--amber);
}
.flow-track h3 {
  margin: 0 0 .5rem; font-family: var(--font-d); font-size: 1.3rem; font-weight: 600;
}
.flow-track p { margin: 0; color: var(--ink-2); font-size: .975rem; }
.flow-track strong { color: var(--ink); }

.terms {
  margin-top: 3rem; padding: 1.35rem 1.5rem;
  border-radius: var(--radius); background: var(--ink); color: rgba(255,255,255,.82);
}
.terms p {
  margin: 0; display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; font-size: .925rem;
}
.terms em { font-style: normal; color: var(--amber-b); font-weight: 650; }

/* Pricing */
.trial {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.85rem; padding: 1.2rem 1.35rem;
  border-radius: var(--radius-sm); background: var(--amber-w);
  border: 1px solid rgba(196,116,10,.2);
}
.trial strong {
  display: block; font-family: var(--font-d); font-size: 1.2rem; margin-bottom: .2rem;
}
.trial span { color: var(--ink-2); font-size: .95rem; }
.trial .btn { flex-shrink: 0; }

.plans { display: grid; gap: 1.1rem; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.plan {
  position: relative; display: flex; flex-direction: column; gap: .55rem;
  padding: 1.85rem 1.55rem 1.6rem;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--white);
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.plan.is-hot {
  background: linear-gradient(165deg, #1c1916, #12100e);
  border-color: #1c1916; color: #fff;
  box-shadow: 0 28px 60px rgba(18,16,14,.28);
}
.plan.is-hot:hover { transform: translateY(-4px); }
.plan.is-hot .plan-desc,
.plan.is-hot small,
.plan.is-hot .plan-list { color: rgba(255,255,255,.62); }
.plan.is-hot .plan-list li::before { background: var(--amber-b); }
.plan.is-hot .btn-fill {
  background: #fff; color: var(--ink); box-shadow: none;
}
.plan.is-hot .btn-fill:hover { background: var(--amber-b); color: var(--ink); }

.plan-tag {
  position: absolute; top: 1.05rem; right: 1.05rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 999px;
  background: rgba(240,160,26,.22); color: var(--amber-b);
}
.plan h3 { margin: 0; font-family: var(--font-d); font-size: 1.5rem; font-weight: 600; }
.price { margin: .2rem 0 0; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price b {
  font-family: var(--font-d); font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.03em;
}
.price small { font-size: .85rem; color: var(--ink-3); }
.plan-desc { margin: 0; color: var(--ink-2); font-size: .95rem; }
.plan-list {
  list-style: none; margin: .55rem 0 0; padding: 0;
  display: grid; gap: .55rem; flex: 1; font-size: .9rem; color: var(--ink-2);
}
.plan-list li {
  display: flex; align-items: flex-start; gap: .55rem;
}
.plan-list li::before {
  content: ""; width: .4rem; height: .4rem; margin-top: .45rem;
  border-radius: 50%; background: var(--amber); flex-shrink: 0;
}
.plan .btn { width: 100%; margin-top: 1rem; }
.fine { margin: 1.4rem 0 0; color: var(--ink-3); font-size: .9rem; }

/* Start */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.15rem; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.75rem; }
}
.steps span {
  display: block; margin-bottom: .75rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--amber);
}
.steps h3 { margin: 0; font-family: var(--font-d); font-size: 1.4rem; font-weight: 600; }
.steps p { margin: .6rem 0 0; color: var(--ink-2); }

/* CTA + premium contact form */
.cta { padding: 0 0 var(--y); }
.cta-box {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + .25rem);
  background:
    radial-gradient(720px 340px at 0% 0%, rgba(240,160,26,.2), transparent 55%),
    linear-gradient(145deg, #1c1916, #0e0c0a 58%, #181512);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.cta-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}
@media (min-width: 920px) {
  .cta-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.75rem;
    padding: clamp(0.5rem, 2vw, 1rem);
  }
}

.cta-mark {
  width: 3rem; height: 3rem; border-radius: .8rem; margin-bottom: 1.25rem;
  box-shadow: 0 12px 28px rgba(208,106,0,.35);
}
.cta-box h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  max-width: 12ch;
}
.cta-copy > p {
  margin: 1rem 0 0;
  color: rgba(255,255,255,.66);
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.55;
}
.cta-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.cta-points li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem;
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: var(--amber-b);
}
.cta-mail {
  margin: 1.75rem 0 0;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
}
.cta-mail a {
  color: var(--amber-b);
  text-decoration: none;
  font-weight: 650;
}
.cta-mail a:hover { color: #fff; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: calc(var(--radius) - 0.1rem);
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
@media (min-width: 640px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 3.15rem;
  padding: .8rem 1rem;
  border-radius: .9rem;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.45;
}
.contact-form select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: .45rem;
  height: .45rem;
  border-right: 2px solid rgba(255,255,255,.45);
  border-bottom: 2px solid rgba(255,255,255,.45);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.38); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--amber-b);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(240, 160, 26, 0.2);
}
.contact-form input.is-invalid,
.contact-form textarea.is-invalid,
.contact-form select.is-invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.form-actions {
  display: grid;
  gap: .75rem;
  margin-top: .25rem;
}
.cta-box .btn-fill {
  width: 100%;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  min-height: 3.35rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}
.cta-box .btn-fill:hover { background: var(--amber-b); }
.form-hint {
  margin: 0;
  font-size: .8rem;
  line-height: 1.45;
  color: rgba(255,255,255,.45);
}
.form-hint a { color: var(--amber-b); text-decoration: none; font-weight: 600; }
.field-err {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  color: #fecaca;
}
.field-err[hidden] { display: none !important; }
.cta-box .btn-fill .btn-spinner {
  display: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(18,16,14,.2);
  border-top-color: var(--ink);
  animation: spin .7s linear infinite;
}
.cta-box .btn-fill.is-loading .btn-spinner { display: block; }
.cta-box .btn-fill.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-ok {
  display: none;
  margin: 0;
  padding: 1.5rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(13, 122, 78, 0.22), rgba(13, 122, 78, 0.1));
  border: 1px solid rgba(183, 240, 210, 0.22);
  color: #d8f5e6;
  text-align: center;
}
.form-ok-check {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto .9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8ef0bc;
  background: rgba(255,255,255,.06);
  animation: ok-pop .55s var(--ease);
}
.form-ok h3 {
  margin: 0;
  font-family: var(--font-d);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.form-ok p {
  margin: .65rem auto 0;
  max-width: 28ch;
  font-size: .98rem;
  color: rgba(216, 245, 230, .88);
  line-height: 1.45;
}
.form-ok strong { color: #fff; font-weight: 700; }
.form-ok-tg {
  display: inline-flex;
  margin-top: 1.15rem;
  font-weight: 700;
  color: var(--amber-b);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 160, 26, .35);
}
.form-ok-tg:hover { color: #fff; border-bottom-color: #fff; }
@keyframes ok-pop {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: none; }
}
.form-err {
  margin: 0;
  padding: .85rem 1.05rem;
  border-radius: .85rem;
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
  font-size: .9rem;
}
.contact-form.is-sent .field,
.contact-form.is-sent .form-actions { display: none; }
.contact-form.is-sent .form-ok { display: block; }
.contact-form.is-sent .form-err { display: none !important; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1.15fr;
  gap: .55rem;
  padding: .7rem .85rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -12px 40px rgba(18,16,14,.28);
}
.sticky-cta[hidden] { display: none !important; }
.sticky-cta a {
  display: grid;
  place-items: center;
  min-height: 3rem;
  border-radius: .95rem;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.sticky-cta-tg {
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.sticky-cta-main {
  color: var(--ink);
  background: var(--amber-b);
}
.sticky-cta-main:hover { color: var(--ink); }
@media (max-width: 979px) {
  .sticky-cta:not([hidden]) { display: grid; }
  body.has-sticky-cta {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom));
  }
}

/* Footer */
.site-footer { padding: 3.25rem 0 2.75rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 1.6rem; }
.footer-grid > div > p {
  margin: .8rem 0 0; color: var(--ink-3); max-width: 28ch; font-size: .95rem;
}
.footer-grid nav { display: flex; flex-wrap: wrap; gap: .9rem 1.45rem; }
.footer-grid nav a {
  text-decoration: none; color: var(--ink-2); font-size: .925rem; font-weight: 520;
}
.footer-grid nav a:hover { color: var(--amber-d); }
.copy { margin: 0 !important; font-size: .825rem !important; color: var(--ink-3) !important; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .copy { grid-column: 1 / -1; }
}

/* Reveal */
[data-reveal] .reveal-child {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in .reveal-child { opacity: 1; transform: none; }
[data-reveal].is-in .reveal-child:nth-child(1) { transition-delay: 50ms; }
[data-reveal].is-in .reveal-child:nth-child(2) { transition-delay: 120ms; }
[data-reveal].is-in .reveal-child:nth-child(3) { transition-delay: 190ms; }
[data-reveal].is-in .reveal-child:nth-child(4) { transition-delay: 260ms; }
[data-reveal].is-in .reveal-child:nth-child(5) { transition-delay: 320ms; }
[data-reveal].is-in .reveal-child:nth-child(6) { transition-delay: 380ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-orb, .stage-card, .scan-cursor { animation: none; }
  [data-reveal] .reveal-child { opacity: 1; transform: none; transition: none; }
  .panel::after { display: none; }
  .device { transform: none; }
  .plan:hover { transform: none; }
}

/* =========================================================
   Ceiling layer — sticky story, mask type, rail, progress
   ========================================================= */

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
.progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--amber-b), var(--amber));
  box-shadow: 0 0 12px rgba(240, 160, 26, 0.45);
  transform-origin: left;
}

.logo-word span,
.brand-word strong { color: var(--amber); font-weight: inherit; }

/* Mask line reveal */
.mask-line {
  display: block;
  overflow: hidden;
}
.mask-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
[data-reveal].is-in .mask-line > span,
.hero.is-in .mask-line > span {
  transform: translateY(0);
}
.hero.is-in .brand-hero .mask-line > span { transition-delay: 80ms; }
.hero.is-in h1.mask-line > span { transition-delay: 180ms; }

/* Capability rail */
.rail {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.55);
  padding: 1rem 0;
}
.rail-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  font-family: var(--font-d);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  animation: rail 42s linear infinite;
  will-change: transform;
}
.rail-track span:nth-child(even) {
  color: var(--amber);
  opacity: 0.55;
}
@keyframes rail {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sticky product story */
.story-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 980px) {
  .story-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }
}

.story-pin {
  position: relative;
}
.story-inline {
  display: none;
}
@media (min-width: 980px) {
  .story-pin {
    position: sticky;
    top: calc(var(--header) + 1.5rem);
  }
  .story-inline {
    display: none !important;
  }
}

.story-screen {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.story-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 220px at 90% 0%, rgba(240, 160, 26, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.story-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.985);
  pointer-events: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
  z-index: 1;
}
.story-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}
.story-panel .panel-h { margin: 0; }
.story-panel > .panel-lines,
.story-panel > .stock,
.story-panel > .fin-grid {
  flex: 1;
}

.story-panel .panel-h,
.story-panel .panel-lines,
.story-panel .panel-f,
.story-panel .panel-actions,
.story-panel .stock,
.story-panel .fin-grid,
.story-panel .panel-note {
  position: relative;
  z-index: 1;
}

.story-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1rem;
}
.story-dots i {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: rgba(18, 16, 14, 0.18);
  transition: background .25s ease, transform .25s ease;
}
.story-dots i.is-on {
  background: var(--amber);
  transform: scale(1.25);
}

.story-steps {
  display: grid;
  gap: 0;
}
.story-step {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.38;
  transition: opacity .35s ease;
}
.story-step:first-child { padding-top: 0; }
.story-step.is-active { opacity: 1; }
.story-step h3 {
  margin: 0;
  font-family: var(--font-d);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 12ch;
  line-height: 1.08;
}
.story-step > p {
  margin: 1rem 0 0;
  color: var(--ink-2);
  max-width: 34rem;
  font-size: 1.05rem;
}
@media (min-width: 980px) {
  .story-step {
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0;
  }
}

.story .quad { margin-top: clamp(3rem, 7vw, 5rem); }

/* =========================================================
   Adaptive system — phone / tablet / desktop
   ========================================================= */

/* Safe area + shell on small screens */
@supports (padding: max(0px)) {
  .site-header,
  .mobile-nav {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .cta { padding-bottom: max(var(--y), calc(var(--y) * 0.5 + env(safe-area-inset-bottom))); }
}

@media (max-width: 979px) {
  :root {
    --shell: min(1200px, calc(100% - 1.5rem));
    --y: clamp(3.75rem, 10vw, 6rem);
    --header: 4.15rem;
  }

  .band-head h2 {
    font-size: clamp(2.1rem, 8.5vw, 3.1rem);
    max-width: 14ch;
  }
  .lead { font-size: 1.02rem; }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 1.35rem 0 2.75rem;
    align-items: flex-start;
  }
  .hero-layout { gap: 2rem; }
  .brand-hero {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
    gap: 0.7rem;
  }
  .brand-mark {
    width: clamp(2.85rem, 12vw, 3.75rem);
    height: clamp(2.85rem, 12vw, 3.75rem);
    border-radius: 0.85rem;
    box-shadow: 0 10px 28px rgba(208, 106, 0, 0.28);
  }
  .hero-copy h1 { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .hero-lead { font-size: 1.02rem; margin-top: 1rem; }
  .hero-cta { margin-top: 1.5rem; gap: 0.65rem; }
  .hero-stage {
    min-height: 0;
    margin-top: 0.25rem;
    padding-bottom: 0.5rem;
  }
  .device { transform: none; border-radius: 1.1rem; }
  .stage-glow { inset: 20% 10% 0; }
  .stage-card { display: none; }

  /* Sticky story: desktop sticky; mobile = inline per step (no overlap) */
  .story-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .story-pin-desk {
    display: none !important;
  }
  .story-inline {
    display: grid !important;
    margin: 0 0 1.15rem;
    border-radius: 1.1rem;
    box-shadow: 0 14px 36px rgba(18, 16, 14, 0.1);
  }
  .story-inline .story-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    position: relative;
  }
  .story-step {
    min-height: auto;
    padding: 1.65rem 0 1.85rem;
    opacity: 1;
  }
  .story-step.is-active { opacity: 1; }
  .story-step h3 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    max-width: none;
  }
  .story .quad { margin-top: 2.5rem; }

  /* Why */
  .why-list article { padding: 1.25rem 0; gap: 0.4rem; }
  .why-list h3 { font-size: 1.15rem; }

  /* Flow */
  .flow-track { gap: 1.35rem; }
  .terms {
    padding: 1.1rem 1.15rem;
  }
  .terms p { gap: 0.45rem 1rem; font-size: 0.875rem; }

  /* Pricing */
  .plans { gap: 0.9rem; }
  .plan { padding: 1.45rem 1.25rem 1.35rem; }
  .plan:hover { transform: none; }

  /* CTA form */
  .cta-box { padding: 1.25rem; border-radius: 1.25rem; }
  .cta-grid { gap: 1.35rem; }
  .cta-box h2 { font-size: clamp(1.85rem, 7.5vw, 2.5rem); max-width: none; }
  .contact-form {
    padding: 1.1rem;
    gap: 0.85rem;
    border-radius: 1.05rem;
  }
  .cta-points { margin-top: 1.15rem; }
  .cta-mail { margin-top: 1.25rem; }

  /* Footer */
  .site-footer { padding: 2.5rem 0 2rem; }
  .footer-grid nav { gap: 0.75rem 1.15rem; }

  /* Rail slower / less tall */
  .rail { padding: 0.85rem 0; }
  .rail-track { font-size: 0.95rem; gap: 1rem; }
}

/* Phones */
@media (max-width: 639px) {
  :root {
    --shell: min(1200px, calc(100% - 1.25rem));
  }

  body { font-size: 1rem; }

  .logo { font-size: 1.2rem; gap: 0.5rem; }
  .logo-mark { width: 1.85rem; height: 1.85rem; }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn { width: 100%; min-height: 3.1rem; }
  .hero-trust {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    line-height: 1.4;
  }

  .device-body { grid-template-columns: 1fr; }
  .device-nav {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.65rem 0.55rem;
  }
  .device-main {
    grid-column: 1;
    grid-row: 2;
  }
  .device-nav::-webkit-scrollbar { display: none; }
  .nav-pill { white-space: nowrap; flex-shrink: 0; }
  .device-main { padding: 0.9rem 0.95rem 1.05rem; }
  .ticket-sum strong { font-size: 1.25rem; }
  .checkout-btn { padding: 0.75rem; font-size: 0.875rem; }

  .audience-row article { padding: 1.35rem 0; }
  .audience-row h3 { font-size: 1.3rem; }
  .audience-row p { max-width: none; }
  .aud-lead { max-width: none !important; }
  .aud-timeline li { grid-template-columns: 3rem 1fr; gap: .65rem; font-size: .9rem; }
  .tp-stats b { font-size: .95rem; }
  .trust-pane-h b { font-size: 1.25rem; }
  .faq-item summary { padding: 1.15rem 0; font-size: 1.12rem; }
  .faq-item p { padding-right: 0; }

  .quad article { padding: 1.4rem 0; }
  .quad h3 { font-size: 1.25rem; }
  .quad p { max-width: none; }

  .contact-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }

  .steps { gap: 1.5rem; }
  .steps h3 { font-size: 1.2rem; }

  .btn { min-height: 3.1rem; padding: 0.8rem 1.25rem; }
  .cta-box .btn-fill { min-height: 3.2rem; }
}

/* Very small phones */
@media (max-width: 379px) {
  :root { --shell: min(1200px, calc(100% - 1rem)); }
  .brand-hero { font-size: 2.55rem; }
  .brand-mark { width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; }
  .nav-toggle { width: 2.6rem; height: 2.6rem; }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 979px) {
  .hero-cta .btn { min-width: 11rem; }
  .plans { grid-template-columns: 1fr; max-width: 28rem; }
  .flow-track { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .quad { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .quad article:nth-child(odd) { padding-right: 0.5rem; }
  .quad article:nth-child(even) { padding-left: 0.5rem; }
  .steps { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr 1fr; }
}

/* Large tablet / small laptop — 2-col plans before full 3 */
@media (min-width: 760px) and (max-width: 899px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 32rem;
  }
}

/* Touch: no hover lift / magnetic feel */
@media (hover: none) {
  .btn:hover { transform: none; }
  .plan:hover { transform: none; box-shadow: none; }
  .plan.is-hot:hover { transform: none; }
  .btn-fill:hover { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 12px 32px rgba(18,16,14,.22); }
}

@media (prefers-reduced-motion: reduce) {
  .rail-track { animation: none; }
  .mask-line > span { transform: none; }
  .progress { display: none; }
  .story-panel {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .story-screen {
    display: block;
    min-height: 0;
    overflow: visible;
  }
  .story-panel:not(.is-active) { display: none; }
  .story-pin { position: static; }
}

/* =========================================================
   Live product moment — kassa → chek → ombor
   ========================================================= */

.hero-stage { padding-bottom: 2.25rem; }

.live-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

[data-live-kassa] .ticket-row[hidden],
[data-live-kassa] [hidden] { display: none !important; }

[data-live-kassa] .ticket-row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
[data-live-kassa] .ticket-row.is-in {
  opacity: 1;
  transform: none;
}

.scan-bar {
  position: relative;
  overflow: hidden;
}
.scan-beam {
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(240, 160, 26, 0.35), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
.scan-bar.is-scanning .scan-beam {
  animation: scan-beam 0.7s var(--ease) forwards;
}
.scan-bar.is-hit {
  border-color: rgba(240, 160, 26, 0.55);
  background: rgba(240, 160, 26, 0.1);
  box-shadow: 0 0 0 3px rgba(240, 160, 26, 0.12);
}
@keyframes scan-beam {
  to { transform: translateX(320%); }
}

.checkout-btn.is-press {
  transform: scale(0.97);
  filter: brightness(1.05);
}
.checkout-btn.is-done {
  background: linear-gradient(180deg, #1f9a64, var(--ok));
  box-shadow: 0 10px 24px rgba(13, 122, 78, 0.28);
}

.pay.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.device { position: relative; }
.live-receipt {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(18, 16, 14, 0.28);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.live-receipt.is-on {
  opacity: 1;
}
.live-receipt[hidden] { display: none !important; }
.live-receipt.is-on[hidden] { display: grid !important; }

.receipt-paper {
  width: min(78%, 240px);
  padding: 1.1rem 1rem 1rem;
  background: #fffdf8;
  color: var(--ink);
  border-radius: 0.35rem;
  box-shadow: 0 18px 50px rgba(18, 16, 14, 0.28);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.45s var(--ease);
  font-size: 0.8rem;
}
.live-receipt.is-on .receipt-paper {
  transform: none;
}
.receipt-brand {
  margin: 0;
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}
.receipt-meta {
  margin: 0.2rem 0 0.75rem;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.7rem;
}
.receipt-lines { border-top: 1px dashed rgba(18,16,14,.15); padding-top: 0.45rem; }
.receipt-lines > div,
.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
}
.receipt-lines .dim { color: var(--ink-3); }
.receipt-total {
  margin-top: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(18,16,14,.2);
  font-family: var(--font-d);
}
.receipt-total strong { font-size: 1.05rem; }
.receipt-foot {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--ok);
}

.live-ombor { padding: 1rem 1.15rem 1.2rem; }
.ombor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.ombor-head span { color: var(--ink-3); font-size: 0.75rem; font-weight: 600; }
.live-stock li.is-pulse {
  background: var(--warn-w);
  animation: stock-pulse 0.7s var(--ease);
}
.live-stock li.is-down em b { color: var(--amber-d); }
.ombor-note {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  background: var(--ok-w);
  color: var(--ok);
  font-size: 0.8rem;
  font-weight: 650;
}
@keyframes stock-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.stage-card.is-flash {
  outline: 2px solid rgba(240, 160, 26, 0.55);
  box-shadow: 0 22px 48px rgba(18,16,14,.3), 0 0 0 6px rgba(240,160,26,.12);
}
.chrome-status.is-sync {
  color: var(--ok);
  background: var(--ok-w);
}

@media (max-width: 979px) {
  .hero-stage { padding-bottom: 1.75rem; }
  .live-caption {
    position: static;
    margin-top: 0.85rem;
    bottom: auto;
  }
  .stage-card { display: none !important; }
}

/* =========================================================
   Interactive mini-kassa
   ========================================================= */

.play-board {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .play-board {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.25rem;
  }
}

.play-catalog,
.play-cart {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.play-panel-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #f5f0e8);
}
.play-panel-h b { font-size: 0.95rem; }
.play-panel-h span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
}

.play-reset {
  border: 0;
  background: transparent;
  color: var(--amber-d);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 0.4rem;
}
.play-reset:hover { background: var(--amber-w); }

.play-products {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.play-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: #faf7f2;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: transform 0.18s var(--ease), border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.play-product:hover {
  border-color: rgba(196, 116, 10, 0.35);
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 16, 14, 0.06);
}
.play-product:active { transform: scale(0.985); }
.play-product:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.play-product.is-flash {
  border-color: rgba(240, 160, 26, 0.55);
  background: rgba(240, 160, 26, 0.1);
}

.pp-name {
  font-weight: 650;
  font-size: 0.95rem;
}
.pp-name em {
  font-style: normal;
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-d);
  background: var(--amber-w);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}
.pp-meta {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}
.pp-meta strong {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-3);
}
.pp-meta b {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
}

.play-lines {
  flex: 1;
  padding: 0.5rem 0;
  min-height: 12rem;
  position: relative;
}
.play-empty {
  margin: 1.1rem 1.15rem;
  padding: 1.15rem 1rem 1.25rem;
  border: 1px dashed rgba(18, 16, 14, 0.14);
  border-radius: 1rem;
  color: var(--ink-3);
  text-align: center;
}
.play-empty[hidden] { display: none !important; }
.play-empty-ghost {
  display: grid;
  gap: 0.45rem;
  margin: 0 auto 1rem;
  max-width: 11rem;
}
.play-empty-ghost i {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(18,16,14,.06), rgba(18,16,14,.12), rgba(18,16,14,.06));
  background-size: 200% 100%;
  animation: skel 1.2s ease infinite;
}
.play-empty-ghost i:nth-child(1) { width: 100%; }
.play-empty-ghost i:nth-child(2) { width: 78%; margin-inline: auto; }
.play-empty-ghost i:nth-child(3) { width: 56%; margin-inline: auto; }
.play-empty p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.play-empty span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
}
.play-hint {
  margin: -0.35rem 1.15rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink-3);
}
.play-hint[hidden] { display: none !important; }

.play-skel {
  display: grid;
  gap: 0.55rem;
  padding: 0.25rem 0;
}
.play-skel[hidden] { display: none !important; }
.skel-row {
  height: 3.4rem;
  border-radius: 0.85rem;
  background: linear-gradient(90deg, rgba(18,16,14,.05), rgba(18,16,14,.1), rgba(18,16,14,.05));
  background-size: 200% 100%;
  animation: skel 1.15s ease infinite;
}
@keyframes skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.play-board.is-loading .play-product { pointer-events: none; }
.play-board.is-printing .play-lines {
  opacity: 0.45;
}
.play-board.is-printing .play-checkout {
  opacity: 0.7;
  pointer-events: none;
}

.play-catalog-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--ink-3);
  border: 1px dashed var(--line-2);
  border-radius: 1rem;
}
.play-catalog-empty p {
  margin: 0;
  color: var(--ink-2);
  font-weight: 650;
}
.play-catalog-empty span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.pp-out {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
}
.play-product.is-out {
  opacity: 0.5;
}

.play-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid rgba(18, 16, 14, 0.05);
  animation: play-in 0.35s var(--ease);
}
.play-line-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.play-line-top b {
  font-family: var(--font-d);
  font-weight: 700;
}
.play-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.play-qty button {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
}
.play-qty button:hover { border-color: var(--ink); }
.play-qty span {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.play-remove {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  justify-self: end;
}
.play-remove:hover { color: #b91c1c; }

@keyframes play-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.play-disc,
.play-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--line);
}
.play-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.play-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--amber);
}
.play-disc em {
  font-style: normal;
  font-family: var(--font-d);
  font-weight: 600;
  color: var(--ink-3);
}
.play-total {
  background: linear-gradient(180deg, #fffdf9, #f7f2ea);
}
.play-total strong {
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.play-total small {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--ink-3);
}

.play-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1.15rem 1rem;
}
.play-pay-btn {
  flex: 1;
  min-width: 4.5rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
}
.play-pay-btn.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.play-checkout {
  margin: 0 1.15rem 1.15rem;
  width: calc(100% - 2.3rem);
}
.play-checkout:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.play-toast {
  margin: 0 1.15rem 1.15rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.8rem;
  background: var(--ok-w);
  color: var(--ok);
  font-size: 0.875rem;
  font-weight: 650;
}
.play-toast.is-err {
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
}

@media (max-width: 639px) {
  .play-product { padding: 0.8rem; }
  .play-lines { min-height: 9rem; }
  .play-total strong { font-size: 1.25rem; }
}

@media (hover: none) {
  .play-product:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .play-line { animation: none; }
}

/* =========================================================
   Bir kun — scrollytelling
   ========================================================= */

.day { padding-bottom: calc(var(--y) * 0.85); }

.day-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 980px) {
  .day-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.25rem;
  }
}

.day-pin { position: relative; }
@media (min-width: 980px) {
  .day-pin {
    position: sticky;
    top: calc(var(--header) + 1.35rem);
  }
}

.day-stage {
  position: relative;
  display: grid;
  background:
    radial-gradient(500px 240px at 10% 0%, rgba(240,160,26,.12), transparent 55%),
    var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;
}

.day-clock {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  text-align: right;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(18, 16, 14, 0.92);
  color: #fff;
  pointer-events: none;
}
.day-clock span {
  display: block;
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.day-clock em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.day-scene {
  grid-area: 1 / 1;
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  padding-top: 3.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
  z-index: 1;
}
.day-scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}

.day-card {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 0.25rem);
  overflow: hidden;
}
.day-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #f3eee6);
}
.day-card header b { font-size: 0.95rem; }
.day-card header span,
.day-card header .tag-warn,
.day-card header .tag-money,
.day-card header .tag-ok {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(18,16,14,.06);
  color: var(--ink-3);
}
.tag-warn { background: var(--amber-w) !important; color: var(--amber-d) !important; }
.tag-money { background: rgba(185,28,28,.08) !important; color: #b91c1c !important; }
.tag-ok { background: var(--ok-w) !important; color: var(--ok) !important; }

.day-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.day-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid rgba(18,16,14,.05);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-8px);
}
.day-scene.is-active .day-list li.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.day-scene.is-active .day-list li.is-in:nth-child(1) { transition-delay: 80ms; }
.day-scene.is-active .day-list li.is-in:nth-child(2) { transition-delay: 160ms; }
.day-scene.is-active .day-list li.is-in:nth-child(3) { transition-delay: 240ms; }
.day-list em {
  font-style: normal;
  font-family: var(--font-d);
  font-weight: 700;
}
.day-list .is-dim { color: var(--ink-3); font-size: 0.875rem; }

.day-note {
  margin: 0;
  padding: 0.85rem 1.1rem 1.05rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.day-note strong { color: var(--ink); }

.day-meter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.day-meter > div {
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  background: #f3efe8;
  border: 1px solid transparent;
}
.day-meter small {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.day-meter strong {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
}
.day-meter .is-hot {
  background: var(--amber-w);
  border-color: rgba(196,116,10,.2);
}
.day-meter .is-ok {
  background: linear-gradient(160deg, #fff7e8, #eef8f2);
  border-color: rgba(13,122,78,.15);
}
.day-meter .is-ok strong { color: var(--ok); }
.day-meter .is-mute { opacity: 0.55; }

.day-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  padding: 1rem 1.1rem 0.35rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink-2);
}
.day-formula i {
  font-style: normal;
  color: var(--ink-3);
}
.day-formula strong { color: var(--ok); }
.day-profit-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 1.1rem 0.85rem;
}
.day-profit-row span { color: var(--ink-3); font-size: 0.9rem; }
.day-profit-row strong {
  font-family: var(--font-d);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ok);
}

.day-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.day-dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(18,16,14,.18);
  transition: background .25s ease, transform .25s ease;
}
.day-dots i.is-on {
  background: var(--amber);
  transform: scale(1.25);
}

.day-steps { display: grid; gap: 0; }
.day-step {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.38;
  transition: opacity .35s ease;
}
.day-step:first-child { padding-top: 0; }
.day-step.is-active { opacity: 1; }
.day-step h3 {
  margin: 0;
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 14ch;
  line-height: 1.1;
}
.day-step > p {
  margin: 0.9rem 0 0;
  color: var(--ink-2);
  max-width: 34rem;
  font-size: 1.05rem;
}
.day .terms { margin-top: 2.75rem; }

@media (min-width: 980px) {
  .day-step {
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0;
  }
}

@media (max-width: 979px) {
  .day-layout {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }
  .day-pin {
    order: -1;
    position: sticky;
    top: calc(var(--header) + 0.55rem);
    z-index: 5;
    max-height: min(38vh, 280px);
  }
  .day-stage {
    min-height: 0;
    max-height: min(38vh, 280px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .day-scene { padding: 0.85rem; padding-top: 3rem; }
  .day-step {
    min-height: auto;
    padding: 1.35rem 0 1.6rem;
    scroll-margin-top: calc(var(--header) + min(38vh, 280px) + 0.75rem);
  }
  .day-step h3 { max-width: none; font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .day .terms { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .day-scene {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-bottom: 1rem;
  }
  .day-scene:not(.is-active) { display: none; }
  .day-stage { display: block; min-height: 0; }
  .day-pin { position: static; }
  .day-list li { opacity: 1; transform: none; }
}
