:root {
  --bg: #F6F1E8;
  --bg-mid: #FBF7F1;
  --card: #FBF7F1;
  --ink: #1C1917;
  --muted: #6B6259;
  --line: #E6DDD0;
  --cyan: #9A5B2F;
  --cyan-deep: #C4843A;
  --indigo: #1C1917;
  --sky: #1C1917;
  --amber: #E8A15A;
  --radius: 1rem;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html, 
/* Prevent mobile zoom / layout corruption */
html {
  touch-action: manipulation;
  -ms-touch-action: manipulation;
  overflow-x: clip;
  overflow-y: scroll; /* single scrollport — html, not body */
  max-width: 100%;
}
body {
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  overscroll-behavior-x: none;
}
input, select, textarea, button {
  font-size: 16px; /* iOS: avoid auto-zoom on focus when font < 16px */
}
body { background-color: #F6F1E8; min-height: 100%; }
body {
  background-color: #F6F1E8;
}
body {
  font-family: var(--font);
  background-color: #F6F1E8;
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body[data-lang="zh-CN"] {
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body[data-lang="zh-HK"] {
  --font: "Noto Sans TC", "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  transform: none !important;
  background-color: #F6F1E8;
  background-image:
    radial-gradient(ellipse 100% 80% at 20% -10%, rgba(196, 132, 58, 0.16), transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 10%, rgba(232, 161, 90, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(232, 161, 90, 0.1), transparent 55%),
    linear-gradient(180deg, #F6F1E8 0%, #F6F1E8 100%);
}
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  transform: none !important;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.wrap {
  position: relative; z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 140;
  transform: translateZ(0);
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
}
.site-header .header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.75rem 1.5rem;
  box-sizing: border-box;
}
.site-header .brand { justify-self: start; }
.site-header .nav-desktop {
  width: min(1120px, 100%);
  margin-inline: auto;
  justify-content: space-between;
  justify-self: center;
  flex: none;
  flex-wrap: nowrap;
}
.site-header .nav-actions-desktop { justify-self: end; }
.brand {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: #000; font-weight: 500;
  height: auto;
}
.brand-logo {
  display: block;
  height: 16px;
  width: auto;
}
.brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand { position: relative; }
.brand-mark-svg { display: block; flex: 0 0 auto; position: relative; z-index: 1; overflow: visible; height: 14px; width: 40px; }
.brand-mark::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset-inline-start: -8px;
  top: 50%;
  width: 56px;
  height: 26px;
  border-radius: 14px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(248, 231, 160, 0.95) 0%, rgba(232, 161, 90, 0.72) 42%, rgba(196, 132, 58, 0.15) 68%, rgba(196, 132, 58, 0) 76%);
  filter: blur(2px);
  pointer-events: none;
  animation: counter-aura 2.6s ease-in-out infinite;
}
.brand-mark-svg .counter { fill: #1C1917; }
.brand-mark-svg .light {
  fill: #F8E7A0;
  filter: drop-shadow(0 0 4px #E8A15A);
  animation: counter-glow 2.6s ease-in-out infinite;
}
@keyframes counter-glow {
  0%, 100% { opacity: 0.04; }
  42%, 58% { opacity: 1; }
}
@keyframes counter-aura {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1.12); }
  42%, 58% { opacity: 0; transform: translateY(-50%) scale(0.86); }
}
.nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem;
  font-size: 0.9rem;
}
.nav-desktop { gap: 0.2rem 0.65rem; font-size: 0.82rem; flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 500;
}
.nav a:hover { color: var(--sky); }
.nav-actions { display: flex; gap: 0.5rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  padding: 0.65rem 1.15rem; border-radius: 12px; border: none; cursor: pointer;
  text-decoration: none; transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { opacity: 0.95; transform: translateY(-1px); }
.btn-primary {
  background: #1C1917;
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.12);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #D9CFC2;
}
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1rem; }

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 4.5rem 0 3rem;
  }
}
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #9A5B2F;
  background: #F3E6D4;
  border: 1px solid #E8C9A4;
  padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #E8A15A; box-shadow: none;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 560; letter-spacing: -0.03em; line-height: 1.08;
  margin-bottom: 1rem; color: #1C1917;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #E8A15A 0%, #C4843A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  color: var(--muted); font-size: 1.08rem; max-width: 34rem; margin-bottom: 1.75rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.25rem; }
.hero-note { font-size: 0.85rem; color: var(--muted); }
section#hero { position: relative; }
section#hero .hero-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.78;
  pointer-events: none;
}
section#hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(105deg, rgba(246,241,232,0.9) 0%, rgba(246,241,232,0.62) 26%, rgba(246,241,232,0.22) 58%, rgba(246,241,232,0.08) 100%);
  pointer-events: none;
}
section#hero .scene-stage { position: relative; z-index: 2; }
section#hero .badge { background: rgba(255,255,255,0.92); }
section#hero .btn-ghost {
  background: #fff;
  color: #1C1917;
  border-color: rgba(154, 91, 47, 0.45);
}
section#hero .hero-card { background: rgba(255,255,255,0.94); }
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.hero-card h3 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--cyan); margin-bottom: 0.85rem;
}
.stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.stat {
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}
.stat .n {
  font-size: 1.35rem; font-weight: 700; color: #1C1917; letter-spacing: -0.02em;
}
.stat .l { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
.pill-list { list-style: none; margin-top: 1rem; display: grid; gap: 0.45rem; }
.pill-list li {
  font-size: 0.88rem; color: #475569;
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.pill-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); margin-top: 0.45rem; flex-shrink: 0;
  box-shadow: 0 0 6px var(--cyan);
}

/* Sections */
section { padding: 3.25rem 0; }
.section-head { margin-bottom: 1.75rem; max-width: 44rem; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em; margin-bottom: 0.5rem; color: #1C1917;
  text-wrap: balance;
}
.section-head p { color: var(--muted); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.15rem;
  transition: border-color 0.15s, transform 0.15s;
}
.feature:hover {
  border-color: rgba(232, 161, 90, 0.45);
  transform: translateY(-2px);
}
.feature .icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196, 132, 58, 0.15);
  color: var(--cyan); font-size: 1.1rem; margin-bottom: 0.85rem;
}
.feature h3 { font-size: 1.02rem; margin-bottom: 0.4rem; color: #1C1917; }
.feature p { font-size: 0.9rem; color: var(--muted); }

/* Pricing */
.pricing-wrap {
  display: grid; gap: 1.25rem;
  max-width: 520px; margin: 0 auto;
}
.price-card {
  background: var(--card);
  border: 1px solid rgba(232, 161, 90, 0.35);
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.price-card .plan {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--cyan); margin-bottom: 0.75rem;
}
.price-card .amount {
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #1C1917;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.25rem;
}
.price-card .amount .amount-main {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: -0.03em;
}
.price-card .amount .amount-main .count-up {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.price-card .amount .amount-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  vertical-align: middle;
  margin-left: 0.15rem;
}
.price-card .per {
  color: var(--muted); font-size: 0.95rem; margin: 0.35rem 0 1.25rem;
}
.price-card ul {
  list-style: none; text-align: left; margin: 0 auto 1.5rem; max-width: 280px;
}
.price-card li {
  font-size: 0.92rem; color: #475569; padding: 0.35rem 0;
  padding-left: 1.35rem; position: relative;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700;
}
.price-note {
  text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 1rem;
}

/* CTA band */
.cta-band {
  margin: 1rem 0 2rem;
  background: linear-gradient(135deg, rgba(196, 132, 58, 0.12), rgba(28, 25, 23, 0.14));
  border: 1px solid rgba(232, 161, 90, 0.28);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.cta-band h2 { font-size: 1.55rem; margin-bottom: 0.5rem; color: #1C1917; }
.cta-band p { color: var(--muted); margin-bottom: 1.25rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem;
  color: var(--muted); font-size: 0.85rem;
}
.site-footer .inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
}
.site-footer a { color: var(--cyan); text-decoration: none; }

/* Modal */
.modal-root {
  display: none; position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-root.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
}
#signup-modal .signup-fireworks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
#signup-modal:has(.modal-card.is-promo) .signup-fireworks { opacity: 1; }
#signup-modal .signup-fireworks canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: #FFFFFF;
  border: 1px solid rgba(232, 161, 90, 0.28);
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.modal-card h2 { font-size: 1.2rem; margin-bottom: 0.4rem; color: #1C1917; padding-right: 2.2rem; }
.signup-x, .signup-back {
  position: absolute; top: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid #E6DDD0; background: #fff; color: #1C1917;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.signup-x { right: 12px; }
.modal-card.is-promo {
  max-width: 440px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(196, 132, 58, 0.2), transparent 52%),
    radial-gradient(80% 50% at 0% 100%, rgba(125, 211, 252, 0.28), transparent 46%),
    #fff;
}
.modal-card.is-promo .signup-x { left: 12px; right: auto; }
.trial-kicker {
  display: inline-block; margin: 0 auto 0.45rem;
  padding: 0.18rem 0.65rem; border-radius: 999px;
  background: #F3E6D4; color: #1C1917;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.modal-card.is-promo h2 {
  font-size: 1.7rem; line-height: 1.12; margin-bottom: 0.35rem;
  padding-left: 0; padding-right: 0; text-align: center;
}
.modal-card.is-promo .lead { color: #334155; margin-bottom: 0.9rem; text-align: center; }
.trial-cancel { color: #000; font-weight: 750; }
.modal-card.is-promo { text-align: center; }
.trial-points { display: flex; flex-direction: column; gap: 0.5rem; margin: 0 0 0.85rem; padding: 0; }
.trial-perk {
  display: flex; gap: 0.7rem; align-items: flex-start; text-align: left;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #E6DDD0; border-radius: 14px; padding: 0.65rem 0.75rem;
}
.trial-perk strong { display: block; color: #1C1917; font-size: 0.95rem; }
.trial-perk p { margin: 0.12rem 0 0; color: #6B6259; font-size: 0.84rem; line-height: 1.35; }
.trial-ico {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: #F3E6D4; color: #9A5B2F; font-size: 0.95rem;
}
.trial-after { margin: 0 0 0.65rem; color: #475569; font-size: 0.86rem; line-height: 1.4; }
.trial-terms {
  max-height: none; overflow: visible; border: none; border-radius: 0;
  padding: 0; background: transparent; margin: 0 0 0.9rem; color: #6B6259;
}
.trial-terms summary { cursor: pointer; color: #9A5B2F; font-size: 0.82rem; font-weight: 650; }
.trial-terms p { margin: 0.4rem 0 0; max-height: 110px; overflow: auto; font-size: 0.78rem; line-height: 1.45; text-align: left; }
.trial-start { width: 100%; }
#signup-trial {
  animation: trial-beat 1.15s ease-in-out infinite;
  transition: none;
}
@keyframes trial-beat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 161, 90, 0.7); }
  16% { transform: scale(1.045); }
  30% { transform: scale(1); }
  46% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(232, 161, 90, 0); }
  68% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 161, 90, 0); }
}
.signup-back { left: 12px; font-size: 20px; }
.signup-back[hidden] { display: none; }
.modal-card.is-code h2,
.modal-card.is-shop #signup-title,
.modal-card.is-code #signup-title {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  text-align: center;
}
.modal-card.is-shop #signup-lead,
.modal-card.is-code #signup-code-lead,
.modal-card.is-code .form-label {
  text-align: center;
}
.modal-card .lead { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.1rem; }
.form-label {
  display: block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); margin-bottom: 0.4rem;
}
.form-input {
  width: 100%; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.28);
  background: #F8FAFC; color: #1C1917;
  padding: 0.75rem 0.85rem; font-size: 0.95rem; font-family: inherit;
  outline: none; margin-bottom: 0.85rem;
}
.form-input:focus {
  border-color: rgba(232, 161, 90, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 132, 58, 0.2);
}
.form-input::placeholder { color: #6B6259; }
.slug-row {
  display: flex; align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px; overflow: hidden;
  background: #F8FAFC; margin-bottom: 0.5rem;
}
.slug-row:focus-within {
  border-color: rgba(232, 161, 90, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 132, 58, 0.2);
}
.slug-row input {
  flex: 1; border: none; background: transparent; color: #1C1917;
  padding: 0.75rem 0.85rem; font-size: 0.95rem; font-family: inherit;
  outline: none; min-width: 0;
}
.slug-suffix { padding-right: 0.85rem; color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.modal-error { color: #FCA5A5; font-size: 0.82rem; margin-bottom: 0.5rem; display: none; }
.modal-error.show { display: block; }
.modal-ok { color: #6EE7B7; font-size: 0.9rem; margin-bottom: 0.75rem; display: none; }
.modal-ok.show { display: block; }
.modal-actions {
  display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap;
}
.otp-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin: 4px 0 14px;
  position: relative;
}
.otp-digit {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 48px;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1C1917;
  border: 1.5px solid #E6DDD0;
  border-radius: 12px;
  background: #fff;
}
.otp-digit:focus { outline: none; border-color: #1C1917; box-shadow: 0 0 0 3px rgba(196, 132, 58, 0.2); }
.otp-row.is-busy .otp-digit { opacity: 0.4; pointer-events: none; }
.otp-row.is-busy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2.5px solid rgba(232, 161, 90, 0.35);
  border-top-color: #C4843A;
  animation: otp-spin 0.7s linear infinite;
  z-index: 2;
}
@keyframes otp-spin { to { transform: rotate(360deg); } }
.signup-leave {
  margin: 0.75rem 0 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #F3E6D4;
  border: 1px solid #E8C9A4;
  color: #1C1917;
}
.signup-leave p { margin: 0 0 0.65rem; font-weight: 650; }
.otp-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.otp-actions .btn { width: 100%; }
.otp-row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.signup-ready { font-size: 1.35rem !important; font-weight: 700 !important; color: #1C1917 !important; line-height: 1.35 !important; }
.form-hint { font-size: 0.8rem; color: var(--muted); margin: -0.4rem 0 0.85rem; }

/* Photo gallery */
#in-store { position: relative; }
#in-store .floor-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}
#in-store::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(246, 241, 232, 0.5);
  pointer-events: none;
}
#in-store .scene-stage { position: relative; z-index: 2; }
#in-store .section-head {
  position: relative;
  z-index: 3;
  max-width: 46rem;
  margin-bottom: 1.35rem;
  padding: 1.05rem 1.25rem 1rem;
  border-radius: 18px;
  background: rgba(246, 241, 232, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 36px rgba(28, 25, 23, 0.14);
}
#in-store .section-head h2,
#in-store .section-head p { text-shadow: none; }
#in-store .section-head h2 { color: #1C1917; }
#in-store .section-head p { color: #3F3832; }
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .gallery-card img { height: 300px; }
}
.gallery-card .caption {
  padding: 0.9rem 1.05rem 1.05rem;
}
.gallery-card .caption h3 {
  font-size: 1rem;
  color: #1C1917;
  margin-bottom: 0.25rem;
}
.gallery-card .caption p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Platform / tech strip */
#platform { position: relative; }
#platform .ai-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}
#platform::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(12, 10, 8, 0.28);
  pointer-events: none;
}
#platform .scene-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
}
#platform.tech-section { padding: 0; }
#platform .tech-panel {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 16px 16px 0 0;
  border-bottom: 0;
  padding: 0.85rem 1.35rem 0.95rem;
  background: rgba(248, 250, 252, 0.94);
}
#platform .tech-panel h2 { font-size: 1.05rem; margin-bottom: 0.15rem; }
#platform .tech-panel .intro { margin-bottom: 0.45rem; font-size: 0.84rem; }
#platform .tech-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; }
#platform .tech-item { padding: 0.55rem 0.65rem; }
#platform .tech-api { margin-top: 0.45rem; margin-bottom: 0; }
@media (max-width: 899px) {
  #platform .tech-grid { grid-template-columns: 1fr 1fr; }
  #platform .tech-panel { max-height: 58vh; overflow: auto; }
}
.tech-section {
  padding: 2.75rem 0 1rem;
}
.tech-panel {
  background: #F8FAFC;
  border: 1px solid rgba(232, 161, 90, 0.22);
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.35rem;
}
.tech-panel h2 {
  font-size: 1.25rem;
  color: #1C1917;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.tech-panel .intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
  max-width: 40rem;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.tech-item {
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}
.tech-item .k {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}
.tech-item .v {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
}
.tech-api {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.tech-api code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8rem;
  color: #1C1917;
  background: #F1F5F9;
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-trio-wrap {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.75rem;
}
.hero-trio-title {
  margin: 0.15rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9A5B2F;
}
.hero-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.hero-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 1.05rem 1.1rem 1.15rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.hero-mini-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  background: #F3E6D4;
  color: #9A5B2F;
  font-size: 1.1rem;
}
.hero-mini h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #1C1917;
  margin: 0 0 0.35rem;
}
.hero-mini p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #57534E;
}
.hero-mini:hover { border-color: rgba(154, 91, 47, 0.45); }
.module-card {
  max-width: 480px;
  text-align: center;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(232, 161, 90, 0.28), transparent 55%),
    radial-gradient(80% 50% at 0% 100%, rgba(243, 230, 212, 0.9), transparent 48%),
    #fff;
}
.module-card h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 0.35rem 0 0.4rem;
  padding: 0;
}
.module-card .lead { color: #57534E; margin-bottom: 0.9rem; }
.module-big-ico {
  width: 64px;
  height: 64px;
  margin: 0.2rem auto 0.55rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #F3E6D4;
  color: #9A5B2F;
  font-size: 1.45rem;
}
@media (max-width: 899px) {
  .hero-trio { grid-template-columns: 1fr; }
}
.hero-photo {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  background: var(--card);
}
.hero-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .hero-photo img { height: 200px; }
}
.hero-photo .cap {
  padding: 0.65rem 0.9rem 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* POS product mock section */
.pos-mock-section { padding-top: 2.5rem; }
section#pos-preview::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 42% 36% at 6% 18%, rgba(232, 161, 90, 0.22), transparent 70%),
    radial-gradient(ellipse 38% 34% at 96% 24%, rgba(248, 231, 160, 0.28), transparent 68%),
    radial-gradient(ellipse 46% 32% at 84% 86%, rgba(196, 132, 58, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 10% 82%, rgba(232, 161, 90, 0.14), transparent 72%),
    #F6F1E8;
  pointer-events: none;
}
.till-sky {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
}
.till-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  pointer-events: none;
}
.till-pad,
.till-node { z-index: 1; }
section#pos-preview .scene-stage > :not(.till-sky) { position: relative; z-index: 1; }
.till-pad {
  --d: 0s;
  --fd: 0s;
  position: absolute;
  width: 52px;
  height: 100px;
  border-radius: 14px;
  padding: 14px 5px 6px;
  display: flex;
  overflow: visible;
  container-type: inline-size;
  animation:
    till-float 10s ease-in-out infinite,
    till-shape 18s cubic-bezier(.45, 0, .2, 1) infinite;
  animation-delay: var(--fd), var(--d);
}
.till-pad::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 6px #34D399;
  animation: till-cam 18s linear infinite;
  animation-delay: var(--d);
}
.till-pad::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  height: 0;
  width: 0;
  opacity: 0;
  translate: -50% 100%;
  border-radius: 0 0 7px 7px;
  background: #1C1917;
  animation: till-base 18s linear infinite;
  animation-delay: var(--d);
}
.till-pad.light {
  background: linear-gradient(180deg, #FFFFFF, #F3E6D4);
  border: 1px solid rgba(154, 91, 47, 0.4);
  box-shadow: 0 16px 30px rgba(28, 25, 23, 0.12);
}
.till-pad.light::after { background: linear-gradient(#E6DDD0, #C4B8A8); }
.till-pad.dark {
  background: linear-gradient(180deg, #3A332C, #1C1917);
  border: 1px solid rgba(232, 161, 90, 0.55);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}
.till-screen {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 7px;
  display: flex;
}
.till-pad.light .till-screen { background: #F6F1E8; }
.till-pad.dark .till-screen { background: #231F1B; }
.till-ui {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px;
}
.till-bar {
  flex: 0 0 auto;
  height: 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 3px;
}
.till-pad.light .till-bar { background: #F3E6D4; }
.till-pad.dark .till-bar { background: #1C1917; }
.till-bar::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 4px #34D399;
  flex: 0 0 auto;
}
.till-bar::after {
  content: "";
  height: 3px;
  width: 46%;
  border-radius: 2px;
  background: rgba(154, 91, 47, 0.35);
}
.till-pad.dark .till-bar::after { background: rgba(246, 241, 232, 0.35); }
.till-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-content: start;
  animation: till-scroll 5.5s ease-in-out infinite;
}
.till-grid b {
  display: block;
  height: 16px;
  border-radius: 3px;
  transform-origin: center;
  animation: till-tap 3.6s ease-in-out infinite;
}
.till-grid b:nth-child(1) { background: #E8A15A; }
.till-grid b:nth-child(2) { background: #F4B6C2; animation-delay: .35s; }
.till-grid b:nth-child(3) { background: #86EFAC; animation-delay: .7s; }
.till-grid b:nth-child(4) { background: #93C5FD; animation-delay: 1.05s; }
.till-grid b:nth-child(5) { background: #F8E7A0; animation-delay: 1.4s; }
.till-grid b:nth-child(6) { background: #C4B5FD; animation-delay: 1.75s; }
.till-cart {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: flex-end;
}
.till-cart i {
  display: block;
  height: 3px;
  border-radius: 2px;
  transform-origin: left center;
  animation: till-line 4.2s ease-in-out infinite;
}
.till-pad.light .till-cart i { background: #9A5B2F; }
.till-pad.dark .till-cart i { background: #F6F1E8; }
.till-cart i:nth-child(2) { width: 70%; animation-delay: .4s; }
.till-cart em {
  display: block;
  height: 7px;
  border-radius: 3px;
  animation: till-pay 4.2s ease-in-out infinite;
}
.till-pad.light .till-cart em { background: #1C1917; }
.till-pad.dark .till-cart em { background: #E8A15A; }
@container (min-width: 96px) {
  .till-ui { flex-direction: row; flex-wrap: wrap; }
  .till-bar { flex: 1 0 100%; }
  .till-grid { grid-template-columns: 1fr 1fr 1fr; }
  .till-cart { width: 30%; }
}
.till-pad.p1 { left: 2%; top: 6%; transform: rotate(-8deg); --d: 0s; --fd: -1s; }
.till-pad.p2 { left: 12%; top: 18%; transform: rotate(6deg); --d: -6s; --fd: -3.2s; }
.till-pad.p3 { left: 22%; top: 4%; transform: rotate(-3deg); --d: -12s; --fd: -5s; }
.till-pad.p4 { left: 31%; top: 14%; transform: rotate(8deg); --d: -3s; --fd: -2.4s; }
.till-pad.p5 { right: 2%; top: 5%; transform: rotate(7deg); --d: -9s; --fd: -4s; }
.till-pad.p6 { right: 13%; top: 16%; transform: rotate(-6deg); --d: -15s; --fd: -6.5s; }
.till-pad.p7 { right: 23%; top: 3%; transform: rotate(4deg); --d: -4s; --fd: -1.8s; }
.till-pad.p8 { right: 32%; top: 12%; transform: rotate(-8deg); --d: -11s; --fd: -7s; }
.till-pad.p9 { left: 0.5%; top: 42%; transform: rotate(5deg); --d: -7s; --fd: -2s; }
.till-pad.p10 { right: 1%; top: 40%; transform: rotate(-5deg); --d: -13s; --fd: -4.6s; }
.till-pad.p11 { left: 7%; bottom: 8%; transform: rotate(-4deg); --d: -2s; --fd: -3s; }
.till-pad.p12 { left: 18%; bottom: 4%; transform: rotate(7deg); --d: -8s; --fd: -8s; }
.till-pad.p13 { right: 6%; bottom: 7%; transform: rotate(4deg); --d: -14s; --fd: -1.2s; }
.till-pad.p14 { right: 17%; bottom: 3%; transform: rotate(-7deg); --d: -5s; --fd: -5.5s; }
.till-pad.p15 { left: 40%; top: 2%; transform: rotate(-6deg); --d: -10s; --fd: -6s; }
.till-pad.p16 { right: 40%; bottom: 2%; transform: rotate(5deg); --d: -16s; --fd: -2.8s; }
.till-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8A15A;
  box-shadow: 0 0 0 5px rgba(232, 161, 90, 0.18);
}
.till-node.n1 { left: 9%; top: 22%; }
.till-node.n2 { left: 26%; top: 9%; }
.till-node.n3 { right: 10%; top: 20%; }
.till-node.n4 { right: 27%; top: 8%; }
.till-node.n5 { left: 8%; top: 58%; }
.till-node.n6 { right: 8%; top: 56%; }
.till-node.n7 { left: 20%; bottom: 14%; }
.till-node.n8 { right: 20%; bottom: 12%; }
.till-spark {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff8e4;
  box-shadow: 0 0 0 5px rgba(248, 231, 160, 0.45), 0 0 24px 10px rgba(232, 161, 90, 0.62);
  animation: till-hop 16s ease-in-out infinite;
}
.till-spark.s2 { animation-delay: -8s; width: 8px; height: 8px; margin: -4px 0 0 -4px; opacity: 0.85; }
.till-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 58% 62% at 50% 54%, rgba(246,241,232,0.5) 0%, rgba(246,241,232,0.22) 46%, rgba(246,241,232,0) 74%);
}
@keyframes till-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes till-shape {
  0%, 16% { width: 52px; height: 100px; border-radius: 16px; padding: 14px 5px 6px; }
  34%, 50% { width: 118px; height: 78px; border-radius: 12px; padding: 8px 6px 6px; }
  68%, 84% { width: 146px; height: 88px; border-radius: 8px 8px 3px 3px; padding: 7px 6px 6px; }
  100% { width: 52px; height: 100px; border-radius: 16px; padding: 14px 5px 6px; }
}
@keyframes till-cam {
  0%, 50% { opacity: 1; }
  68%, 84% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes till-base {
  0%, 50% { height: 0; width: 0; opacity: 0; }
  68%, 84% { height: 8px; width: 122%; opacity: 1; }
  100% { height: 0; width: 0; opacity: 0; }
}
@keyframes till-scroll {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes till-tap {
  0%, 100% { filter: brightness(1); scale: 1; }
  18% { filter: brightness(1.25); scale: 0.92; }
  32% { filter: brightness(1.05); scale: 1; }
}
@keyframes till-line {
  0% { transform: scaleX(0.15); opacity: 0; }
  25%, 70% { transform: scaleX(1); opacity: 0.85; }
  100% { transform: scaleX(0.15); opacity: 0; }
}
@keyframes till-pay {
  0%, 100% { filter: brightness(1); }
  40% { filter: brightness(1.35); }
}
@keyframes till-hop {
  0% { left: 8%; top: 20%; }
  14% { left: 24%; top: 8%; }
  28% { left: 46%; top: 5%; }
  42% { left: 78%; top: 10%; }
  56% { left: 90%; top: 46%; }
  70% { left: 74%; top: 82%; }
  84% { left: 18%; top: 84%; }
  100% { left: 8%; top: 20%; }
}
@media (max-width: 899px) {
  .till-pad.p4, .till-pad.p8, .till-pad.p15, .till-pad.p16 { display: none; }
  .till-pad { opacity: 0.92; }
  .till-veil {
    background: radial-gradient(ellipse 92% 74% at 50% 48%, rgba(246,241,232,0.94) 0%, rgba(246,241,232,0.55) 58%, rgba(246,241,232,0) 80%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .till-pad, .till-pad::before, .till-pad::after, .till-spark, .till-grid, .till-grid b, .till-cart i, .till-cart em { animation: none; }
  .till-pad.p1, .till-pad.p6, .till-pad.p11 { width: 52px; height: 100px; }
  .till-pad.p2, .till-pad.p7, .till-pad.p12 { width: 118px; height: 78px; border-radius: 12px; padding: 8px 6px 6px; }
  .till-pad.p3, .till-pad.p5, .till-pad.p9, .till-pad.p13 { width: 146px; height: 88px; border-radius: 8px 8px 3px 3px; padding: 7px 6px 6px; }
  .till-pad.p3::after, .till-pad.p5::after, .till-pad.p9::after, .till-pad.p13::after { height: 8px; width: 122%; opacity: 1; }
  .till-pad.p3::before, .till-pad.p5::before, .till-pad.p9::before, .till-pad.p13::before { opacity: 0; }
}
section#pos-preview .scene-stage { position: relative; z-index: 1; }
section#pos-preview .section-head {
  position: relative;
  z-index: 5;
  max-width: 46rem;
  margin-bottom: 1.35rem;
  padding: 1.05rem 1.25rem 1rem;
  border-radius: 18px;
  background: rgba(246, 241, 232, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 36px rgba(28, 25, 23, 0.12);
}
section#pos-preview .section-head h2,
section#pos-preview .section-head p {
  text-shadow: none;
}
section#pos-preview .section-head h2 {
  color: #1C1917;
}
section#pos-preview .section-head p {
  color: #3F3832;
}
.till-demo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(232, 161, 90, 0.32);
}
.till-printer {
  position: relative;
  flex: 0 0 54px;
  width: 54px;
  height: 74px;
}
.till-printer-slot {
  position: absolute;
  z-index: 2;
  left: 4px; right: 4px; top: 0;
  height: 14px;
  border-radius: 5px 5px 2px 2px;
  background: #1C1917;
}
.till-printer-slot::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: #F8E7A0;
  box-shadow: 0 0 6px #E8A15A;
  animation: till-slot 5.4s ease-in-out infinite;
}
.till-printer-paper {
  position: absolute;
  left: 8px; right: 8px; top: 10px;
  height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  padding: 8px 5px 4px;
  box-shadow: 0 8px 14px rgba(28, 25, 23, 0.12);
  animation: till-paper 5.4s ease-in-out infinite;
}
.till-printer-paper i {
  display: block;
  height: 3px;
  margin-bottom: 4px;
  border-radius: 2px;
  background: #E7E0D6;
}
.till-printer-paper i:nth-child(2) { width: 78%; }
.till-printer-paper i:nth-child(3) { width: 56%; }
.till-printer-paper b {
  display: inline-block;
  margin-top: 1px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #9A5B2F;
  border: 1px solid rgba(232, 161, 90, 0.85);
  border-radius: 3px;
  padding: 0 3px;
  animation: till-stamp 5.4s ease-in-out infinite;
}
.till-demo-copy { min-width: 0; }
.till-demo-copy strong {
  display: block;
  font-size: 0.92rem;
  color: #1C1917;
}
.till-demo-copy p {
  margin: 0.18rem 0 0.45rem;
  font-size: 0.84rem;
  color: #3F3832;
}
.till-demo-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.till-demo-steps li {
  font-size: 0.75rem;
  font-weight: 650;
  color: #3F3832;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  animation: till-step 5.4s ease-in-out infinite;
}
.till-demo-steps li:nth-child(2) { animation-delay: -3.6s; }
.till-demo-steps li:nth-child(3) { animation-delay: -1.8s; }
.till-nudge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9A5B2F;
  animation: till-nudge 1.6s ease-in-out infinite;
}
.till-nudge::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #E8A15A;
  border-bottom: 2px solid #E8A15A;
  animation: till-chev 1.6s ease-in-out infinite;
}
.till-nudge + .btn-fake { margin-top: 0.3rem; }
#mock-checkout-btn:not(:disabled) {
  animation: checkout-beat 1.15s ease-in-out infinite;
}
@keyframes checkout-beat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 161, 90, 0.7); }
  16% { transform: scale(1.05); }
  30% { transform: scale(1); }
  46% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(232, 161, 90, 0); }
  68% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 161, 90, 0); }
}
#mock-print { animation: till-print 1.8s ease-in-out infinite; }
@keyframes till-paper {
  0%, 8% { height: 0; opacity: 0; transform: translateY(0); }
  20% { opacity: 1; }
  52%, 76% { height: 56px; opacity: 1; transform: translateY(0); }
  94%, 100% { height: 56px; opacity: 0; transform: translateY(6px); }
}
@keyframes till-stamp {
  0%, 46% { opacity: 0; transform: rotate(-8deg) scale(1.35); }
  58%, 78% { opacity: 1; transform: rotate(-8deg) scale(1); }
  92%, 100% { opacity: 0; }
}
@keyframes till-slot {
  0%, 10% { opacity: 0.3; }
  22%, 72% { opacity: 1; }
  100% { opacity: 0.3; }
}
@keyframes till-step {
  0%, 22% {
    background: #1C1917;
    color: #F6F1E8;
    border-color: #1C1917;
    box-shadow: 0 0 0 3px rgba(232, 161, 90, 0.35);
  }
  40%, 100% {
    background: rgba(255, 255, 255, 0.72);
    color: #3F3832;
    border-color: rgba(28, 25, 23, 0.08);
    box-shadow: none;
  }
}
@keyframes till-nudge {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(2px); }
}
@keyframes till-chev {
  0%, 100% { transform: rotate(45deg) translateY(-3px); }
  50% { transform: rotate(45deg) translateY(1px); }
}
@keyframes till-print {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 161, 90, 0); }
  50% { box-shadow: 0 0 0 4px rgba(232, 161, 90, 0.45); }
}
@media (max-width: 640px) {
  .till-demo { align-items: flex-start; }
  .till-printer { flex-basis: 46px; width: 46px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .till-printer-paper { height: 56px; opacity: 1; animation: none; }
  .till-printer-paper b { opacity: 1; animation: none; transform: rotate(-8deg); }
  .till-printer-slot::after, .till-demo-steps li, .till-nudge, .till-nudge::after, #mock-print, #mock-checkout-btn { animation: none; }
}
.pos-mock-frame {
  border-radius: 22px;
  border: 1px solid rgba(232, 161, 90, 0.28);
  background: #F6F1E8;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.pos-mock-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; flex-wrap: wrap;
  padding: 0.7rem 1rem;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.pos-mock-topbar .shop {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 700; color: #1C1917; font-size: 0.95rem;
}
.pos-mock-topbar .shop .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34D399; box-shadow: 0 0 8px #34D399;
}
.pos-mock-topbar .tabs {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.pos-mock-topbar .tabs span {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.28rem 0.55rem; border-radius: 999px;
  color: #94A3B8; border: 1px solid rgba(148, 163, 184, 0.2);
}
.pos-mock-topbar .tabs span.on {
  color: #1C1917; border-color: rgba(232, 161, 90, 0.45);
  background: rgba(196, 132, 58, 0.12);
}
.pos-mock-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 320px;
}
@media (min-width: 800px) {
  .pos-mock-body { grid-template-columns: 1.4fr 0.9fr; }
}
.pos-mock-catalog { padding: 0.85rem; }
.pos-mock-cats {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem;
}
.pos-mock-cats span {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.6rem; border-radius: 8px;
  background: #F1F5F9; color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.pos-mock-cats span.on {
  color: #1C1917; border-color: rgba(232, 161, 90, 0.4);
  background: rgba(196, 132, 58, 0.15);
}
.pos-mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
@media (min-width: 520px) {
  .pos-mock-grid { grid-template-columns: repeat(3, 1fr); }
}
.pos-mock-item {
  background: #FFFFFF;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 0.65rem 0.55rem;
  text-align: center;
}
.pos-mock-item .emoji {
  font-size: 1.45rem; line-height: 1; margin-bottom: 0.35rem;
}
.pos-mock-item .name {
  font-size: 0.75rem; font-weight: 600; color: #1C1917;
  margin-bottom: 0.15rem;
}
.pos-mock-item .meta {
  font-size: 0.68rem; color: #94A3B8;
}
.pos-mock-item .tag {
  display: inline-block; margin-top: 0.3rem;
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 0.12rem 0.4rem; border-radius: 6px;
}
.pos-mock-item .tag.trt { background: rgba(28, 25, 23, 0.25); color: #4338CA; }
.pos-mock-item .tag.rdm { background: rgba(52, 211, 153, 0.2); color: #047857; }
.pos-mock-item .tag.rtl { background: rgba(232, 161, 90, 0.15); color: #1C1917; }
.pos-mock-cart {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: #F8FAFC;
  padding: 0.85rem 1rem 1rem;
}
@media (min-width: 800px) {
  .pos-mock-cart {
    border-top: none;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
  }
}
.pos-mock-cart h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: #9A5B2F; margin-bottom: 0.65rem;
}
.pos-mock-cart .line {
  display: flex; justify-content: space-between; gap: 0.5rem;
  font-size: 0.82rem; color: #334155;
  padding: 0.4rem 0; border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.pos-mock-cart .line .sub { color: #94A3B8; font-size: 0.75rem; }
.pos-mock-cart .total {
  display: flex; justify-content: space-between;
  margin-top: 0.75rem; font-weight: 700; color: #1C1917; font-size: 0.95rem;
}
.pos-mock-cart .btn-fake {
  margin-top: 0.85rem; width: 100%;
  text-align: center; padding: 0.65rem;
  border-radius: 10px; font-weight: 700; font-size: 0.88rem;
  background: #1C1917; color: #fff;
}

/* Inventory explainer */
.inv-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .inv-grid { grid-template-columns: 1fr 1fr; }
}
.inv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.15rem;
}
.inv-card h3 {
  font-size: 1.05rem; color: #1C1917; margin-bottom: 0.45rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.inv-card h3 i { color: #9A5B2F; }
.inv-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.inv-steps { list-style: none; display: grid; gap: 0.55rem; }
.inv-steps li {
  font-size: 0.88rem; color: #475569;
  padding-left: 1.6rem; position: relative;
}
.inv-steps li::before {
  position: absolute; left: 0; top: 0;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: rgba(196, 132, 58, 0.15); color: #9A5B2F;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  content: attr(data-n);
  line-height: 1.25rem; text-align: center;
}
.flag-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem;
}
.flag-pill {
  font-size: 0.75rem; font-weight: 600;
  padding: 0.35rem 0.65rem; border-radius: 999px;
  border: 1px solid transparent;
}
.flag-pill.f1 { background: #FEE2E2; color: #9F1239; border-color: #F43F5E; }
.flag-pill.f2 { background: #FFEDD5; color: #9A3412; border-color: #F97316; }
.flag-pill.f3 { background: #FFE4E6; color: #881337; border-color: #E11D48; }
.flag-pill.warn { background: #FEF3C7; color: #92400E; border-color: #D97706; }
.inv-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(196, 132, 58, 0.08), rgba(28, 25, 23, 0.1));
  border: 1px solid rgba(232, 161, 90, 0.25);
  border-radius: 18px;
  padding: 1.25rem 1.15rem;
}
.inv-wide h3 { color: #1C1917; margin-bottom: 0.4rem; font-size: 1.05rem; }
.inv-wide p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; font-weight: 600;
}
.flow .box {
  background: #F8FAFC;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px; padding: 0.45rem 0.7rem; color: #334155;
}
.flow .arrow { color: #9A5B2F; }

/* ===== Cinematic scroll motion (Rockstar-inspired, lighter) ===== */
html { scroll-behavior: auto; } /* JS smooth takes over when enabled */

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 100;
  background: #E8A15A;
  box-shadow: 0 0 12px rgba(232, 161, 90, 0.45);
  pointer-events: none;
  transform-origin: left center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 901px) {
  .reveal {
    /* no blur / will-change — first desktop wheel was promoting huge layers */
    filter: none;
  }
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.is-in { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.is-in { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.is-in { opacity: 1; transform: scale(1); }

/* Parallax layers */
.bg-layer { will-change: auto; }
.bg-grid { will-change: auto; opacity: 0.9; }

.pos-mock-frame {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.pos-mock-frame.is-pinned-feel {
  box-shadow: 0 32px 80px rgba(196, 132, 58, 0.12), 0 28px 60px rgba(0, 0, 0, 0.45);
}

.feature {
  transition:
    border-color 0.15s,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease,
    box-shadow 0.5s ease;
}
.feature.is-in:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .feature {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* Product thumbs in POS mock */
.pos-mock-item .thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.45rem;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.pos-mock-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 6px;
}
.pos-mock-item .emoji { display: none; }
.pos-mock-cart .line-main {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.pos-mock-cart .cart-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #020617;
  padding: 2px;
}
.pos-mock-cart .line {
  align-items: center;
}

/* Dynamic moving background */
.bg-aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: none !important;
  opacity: 0.35;
}
.bg-aurora .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  will-change: transform, opacity;
  mix-blend-mode: normal;
}
.orb-a {
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(circle, rgba(196, 132, 58, 0.28) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: driftA 22s ease-in-out infinite alternate;
}
.orb-b {
  width: 45vmax;
  height: 45vmax;
  background: radial-gradient(circle, rgba(28, 25, 23, 0.26) 0%, transparent 70%);
  top: 40%;
  right: -12%;
  animation: driftB 28s ease-in-out infinite alternate;
}
.orb-c {
  width: 55vmax;
  height: 55vmax;
  background: radial-gradient(circle, rgba(232, 161, 90, 0.18) 0%, transparent 70%);
  bottom: -20%;
  left: 20%;
  animation: driftC 32s ease-in-out infinite alternate;
}

@keyframes driftA {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50%  { transform: translate(12%, 18%) scale(1.15); opacity: 0.65; }
  100% { transform: translate(22%, -8%) scale(0.95); opacity: 0.4; }
}
@keyframes driftB {
  0%   { transform: translate(0, 0) scale(1.05); opacity: 0.4; }
  50%  { transform: translate(-18%, 12%) scale(1.2); opacity: 0.6; }
  100% { transform: translate(-8%, 28%) scale(1); opacity: 0.45; }
}
@keyframes driftC {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.35; }
  33%  { transform: translate(-15%, -12%) scale(1.18); opacity: 0.55; }
  66%  { transform: translate(10%, -20%) scale(1.08); opacity: 0.42; }
  100% { transform: translate(5%, 10%) scale(0.92); opacity: 0.5; }
}

/* Slow hue shift on base layer */
.bg-layer { animation: none; }
@keyframes hueShift {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  50%  { filter: hue-rotate(18deg) saturate(1.15); }
  100% { filter: hue-rotate(-12deg) saturate(1.05); }
}

.tech-api a {
  color: inherit;
  text-decoration: none;
}
.tech-api a:hover code {
  color: #9A5B2F;
  border-color: rgba(232, 161, 90, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .orb-a, .orb-b, .orb-c, .bg-layer { animation: none; }
}

main { position: relative; z-index: 1; }
/* Solid page base so scroll never flashes empty black gaps */
.site-header, .site-footer {
  background-color: rgba(255, 255, 255, 0.94);
}

.bg-midfill {
  display: none; /* removed — was contributing to double-tone bands */
}


/* === SILISCIA MOTION SYSTEM === */

/* 11 — film grain */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.045;
  mix-blend-mode: overlay;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* cursor aura removed */

@media (max-width: 900px), (pointer: coarse) {
  .cursor-glow { display: none !important; }
}

/* 5 — nav underline grow + active */
.nav a {
  position: relative;
  padding-bottom: 0.2rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #E8A15A;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), left 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
  left: 0;
}
.nav a.is-active,
.nav-drawer a.is-active {
  color: #1C1917;
  font-weight: 700;
}

/* 1 — magnetic buttons */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, opacity 0.15s;
  will-change: transform;
}
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleOut 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(2.6); opacity: 0; }
}
.btn.is-press { transform: scale(0.96) !important; }

/* 2 — card tilt */
.feature, .inv-card, .price-card, .hero-card {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  position: relative;
}
.feature::before, .inv-card::before, .price-card::before, .hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 42%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.feature.is-tilting::before,
.inv-card.is-tilting::before,
.price-card.is-tilting::before,
.hero-card.is-tilting::before {
  opacity: 1;
}

/* 3 — staggered POS catalog */
.pos-mock-item {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pos-mock-frame.is-in .pos-mock-item,
.pos-mock-section.is-in .pos-mock-item {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.pos-mock-item:nth-child(1) { transition-delay: 0.05s; }
.pos-mock-item:nth-child(2) { transition-delay: 0.12s; }
.pos-mock-item:nth-child(3) { transition-delay: 0.19s; }
.pos-mock-item:nth-child(4) { transition-delay: 0.26s; }
.pos-mock-item:nth-child(5) { transition-delay: 0.33s; }
.pos-mock-item:nth-child(6) { transition-delay: 0.4s; }

/* 8 — sync pulse */
.pos-mock-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sync-pulse {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #86EFAC;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: syncPulse 2.4s ease-out infinite;
}
@keyframes syncPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.sync-label { white-space: nowrap; }

/* 9 — typewriter */
.lead.typewriter.typing {
  border-right: 2px solid rgba(232, 161, 90, 0.7);
  animation: caretBlink 0.85s step-end infinite;
}
@keyframes caretBlink {
  50% { border-color: transparent; }
}

/* 10 — product depth inside POS only */
.pos-mock-item .thumb img {
  transition: transform 0.35s ease-out;
  will-change: transform;
}
.pos-mock-frame.is-depth .pos-mock-item .thumb img {
  transform: translate(var(--px, 0), var(--py, 0)) scale(1.04);
}

/* 7 — inventory flow horizontal story (light pin feel) */
.inv-wide {
  position: relative;
}
.inv-flow-track {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.inv-flow-track .chip {
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.inv-flow-track .chip.is-on {
  transform: scale(1.06);
  background: rgba(196, 132, 58, 0.18);
  border-color: rgba(232, 161, 90, 0.55);
  box-shadow: 0 0 20px rgba(196, 132, 58, 0.25);
  color: #1C1917;
}

/* 14 — modal entrance */
.modal-root {
  align-items: center;
  justify-content: center;
}
.modal-root .modal-backdrop {
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}
.modal-root.open .modal-backdrop {
  opacity: 1;
  backdrop-filter: blur(10px);
}
.modal-card.modal-anim {
  transform: scale(0.96) translateY(10px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.modal-root.open .modal-card.modal-anim {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* 13 — footer CTA aurora sweep */
.footer-cta-section,
#contact.cta-band,
.cta-band {
  position: relative;
  overflow: hidden;
}
.footer-cta-section::after,
#contact::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 30% 50%, rgba(196, 132, 58, 0.2), transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(28, 25, 23, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 0;
  animation: none;
}
.footer-cta-section.is-in::after,
#contact.is-in::after {
  opacity: 1;
  animation: auroraSweep 8s ease-in-out infinite alternate;
}
@keyframes auroraSweep {
  from { transform: translateX(-6%) rotate(0deg); }
  to { transform: translateX(6%) rotate(2deg); }
}
#contact > * { position: relative; z-index: 1; }

/* 12 — orb hue driven by scroll (JS sets --orb-hue) */
.bg-aurora {
  filter: hue-rotate(var(--orb-hue, 0deg));
  transition: filter 0.4s linear;
}

/* Count-up polish */
.count-up {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .noise-overlay { display: none !important; }
  .pos-mock-item, .btn, .feature, .inv-card, .modal-card.modal-anim {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .sync-dot { animation: none !important; }
}

.flow .box {
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.flow .box.is-on {
  transform: scale(1.06);
  background: rgba(196, 132, 58, 0.18);
  border-color: rgba(232, 161, 90, 0.55);
  box-shadow: 0 0 20px rgba(196, 132, 58, 0.25);
  color: #1C1917;
}


/* === MOBILE PACK === */

/* Hamburger — stays in header */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: #FFFFFF;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 60;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #1C1917;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer + backdrop live outside header (viewport-fixed) */
.nav-backdrop {
  display: none;
}
.nav-drawer {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-header .header-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 1rem;
  }
  .nav-actions-desktop { display: none; }

  /* Desktop-style nav hidden on mobile; drawer used instead */
  .nav-desktop {
    display: none !important;
  }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    border-left: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
    z-index: 100;
    overflow: hidden;
  }
  .nav-drawer.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.85rem 1rem;
    padding-top: max(0.85rem, env(safe-area-inset-top));
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .nav-drawer-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }
  .nav-drawer-close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #F8FAFC;
    color: #334155;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .nav-drawer-close:hover {
    border-color: rgba(232, 161, 90, 0.45);
    color: #9A5B2F;
  }
  .nav-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .nav-drawer a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 0.85rem;
    font-size: 1.05rem;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
  }
  .nav-drawer a:hover,
  .nav-drawer a.is-active {
    background: rgba(196, 132, 58, 0.12);
    color: #9A5B2F;
  }
  .nav-drawer a::after { display: none; }
  .nav-drawer .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
  }
  .nav-drawer .nav-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #F8FAFC;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Lock page scroll while drawer is open; drawer scrolls independently */
  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
    overscroll-behavior: none;
  }
  body.nav-open .site-header {
    /* keep header visible but below drawer */
    z-index: 80;
  }

  /* Compact brand on small phones */
  .brand-logo { height: 14px; }
  .brand img { width: 36px; height: 36px; }

  /* Larger primary CTAs */
  .hero-cta .btn,
  .btn-lg {
    min-height: 48px;
    padding: 0.85rem 1.25rem;
  }

  /* Safer POS mock */
  .pos-mock-frame {
    border-radius: 14px;
    overflow: hidden;
  }
  .pos-mock-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
  }
  .pos-mock-topbar .tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }
  .pos-mock-topbar .tabs::-webkit-scrollbar { display: none; }
  .pos-mock-topbar .tabs span {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  .sync-pulse {
    margin-left: 0;
    align-self: flex-start;
  }
  .pos-mock-body {
    grid-template-columns: 1fr !important;
  }
  .pos-mock-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
  }
  .pos-mock-item {
    padding: 0.5rem;
  }
  .pos-mock-item .name { font-size: 0.78rem; }
  .pos-mock-item .meta { font-size: 0.7rem; }
  .pos-mock-item .thumb {
    aspect-ratio: 1;
    max-height: 96px;
  }
  .pos-mock-item .thumb img {
    object-fit: contain;
    max-height: 96px;
  }
  .pos-mock-cart {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    max-height: none;
  }
  .pos-mock-cats {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pos-mock-cats::-webkit-scrollbar { display: none; }
  .pos-mock-cats span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Touch-friendlier feature cards */
  .feature, .inv-card {
    padding: 1.1rem;
  }
  .feature h3, .inv-card h3 {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    padding: 2rem 0 1.5rem;
  }
  .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 1.15;
  }
  .hero .lead {
    font-size: 0.98rem;
  }

  /* Flow chips wrap cleanly */
  .flow {
    justify-content: flex-start;
  }
  .flow .box {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
  }

  /* Modal full-width comfort */
  .modal-root { padding: 12px; }
  .modal-card {
    width: 100%;
    max-width: 420px;
    margin: 0;
    padding: 1.15rem 0.85rem;
    box-sizing: border-box;
  }
  .modal-actions .btn {
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(1120px, calc(100% - 1.25rem));
  }
  .pos-mock-item .thumb {
    max-height: 80px;
  }
  .hero-card .stat-row {
    grid-template-columns: 1fr;
  }
  .nav-actions .btn-ghost {
    order: 2;
  }
}

/* Disable hover transforms that fight touch */
@media (hover: none), (pointer: coarse) {
  .btn:hover { transform: none; }
  .feature:hover, .inv-card:hover, .price-card:hover, .hero-card:hover {
    transform: none !important;
  }
  .feature.is-tilting, .inv-card.is-tilting, .price-card.is-tilting, .hero-card.is-tilting {
    transform: none !important;
  }
}


/* === CHECKOUT SECTION === */
.checkout-section { padding-top: 2.5rem; padding-bottom: 1rem; }
section#checkout::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #F6F1E8;
  pointer-events: none;
}
.checkout-sky {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
}
section#checkout .scene-stage > :not(.checkout-sky) { position: relative; z-index: 1; }
.sky-item { position: absolute; }
.sky-coins { left: 6%; top: 14%; }
.sky-card { right: 5%; top: 6%; }
.sky-slip { right: 9%; top: 54%; }
.sky-cart { left: 3%; bottom: 4%; }
.sky-bob { animation: sky-bob 4.6s ease-in-out infinite; }
.sky-bob-late { animation-duration: 5.4s; animation-delay: -1.6s; }
.sky-drift { animation: sky-drift 6.5s ease-in-out infinite; }
.sky-sway { animation: sky-sway 5s ease-in-out infinite; }
@keyframes sky-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes sky-drift {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes sky-sway {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}
.coin-pad {
  display: block;
  width: 74px;
  height: 54px;
  background: #F4B6C2;
  border-radius: 6px;
  transform: rotate(-8deg);
  box-shadow: 0 10px 18px rgba(180, 120, 140, 0.18);
}
.sky-coins .coin {
  display: block;
  width: 42px;
  height: 14px;
  margin: -8px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #F8E7A0, #E2B657 55%, #C4922E);
  box-shadow: 0 2px 0 #B8862A;
  position: relative;
  z-index: 1;
}
.sky-coins .coin:first-of-type { margin-top: -46px; }
.card-face {
  width: 168px;
  height: 104px;
  border-radius: 12px;
  padding: 10px 12px;
  overflow: hidden;
  color: #1C1917;
  background: linear-gradient(145deg, #F8E7C4, #E8A15A 58%, #C4843A);
  box-shadow: 0 16px 28px rgba(154, 91, 47, 0.28);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.card-top { display: flex; justify-content: space-between; font-weight: 700; }
.card-wave {
  width: 18px; height: 12px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px);
  opacity: 0.8;
}
.card-chip {
  display: block; width: 22px; height: 16px; margin: 10px 0 8px;
  border-radius: 3px; background: linear-gradient(180deg, #D9DEE8, #9AA3B2);
}
.card-num { font-weight: 700; letter-spacing: 0.04em; font-size: 11px; white-space: nowrap; max-width: 100%; color: #1C1917; text-decoration: none; }
.card-num a,
.card-face a {
  color: #1C1917 !important;
  -webkit-text-fill-color: #1C1917 !important;
  text-decoration: none !important;
  pointer-events: none;
}
.card-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 8px; gap: 6px; }
.card-foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-foot b { font-size: 13px; font-style: italic; letter-spacing: 0.08em; }
.sky-slip .sky-bob {
  width: 54px; height: 18px; background: #fff; border-radius: 3px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
  display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 6px;
}
.sky-slip .sky-bob span { display: block; height: 2px; background: #E6DDD0; border-radius: 2px; }
.sky-octo { left: 2%; top: 42%; }
.sky-phone { right: 2%; top: 34%; }
.sky-cheque { left: 18%; top: 5%; }
.sky-ali { right: 3%; bottom: 7%; }
.sky-wx { left: 3%; bottom: 16%; }
.sky-fps { right: 16%; top: 5%; }
.sky-payme { left: 20%; bottom: 5%; }
.sky-up { right: 18%; bottom: 6%; }
.pay-tile {
  display: flex; align-items: center; gap: 0.4rem;
  min-width: 108px; height: 48px; padding: 0 0.7rem;
  border-radius: 12px; color: #fff; font-size: 0.78rem;
  box-shadow: 0 14px 26px rgba(28, 25, 23, 0.16);
}
.pay-tile b { font-weight: 750; letter-spacing: -0.02em; }
.pay-tile.octo { background: linear-gradient(145deg, #FF8A3D, #E45712); }
.pay-tile.ali { background: #1677FF; }
.pay-tile.wx { background: #07C160; }
.pay-tile.fps { background: #10233F; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.05; }
.pay-tile.fps b { font-size: 1rem; letter-spacing: 0.08em; }
.pay-tile.fps small { font-size: 0.62rem; opacity: 0.8; }
.pay-tile.payme { background: linear-gradient(145deg, #FF4D8D, #D01265); }
.pay-tile.up { background: linear-gradient(145deg, #FF4D4F, #C8102E); }
.pay-mark {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.18); font-weight: 750;
}
.pay-bubbles {
  width: 22px; height: 16px; position: relative;
}
.pay-bubbles::before, .pay-bubbles::after {
  content: ""; position: absolute; border-radius: 8px; background: #fff;
}
.pay-bubbles::before { width: 12px; height: 10px; left: 0; top: 0; }
.pay-bubbles::after { width: 10px; height: 8px; right: 0; bottom: 0; opacity: 0.8; }
.pay-phone {
  width: 92px; height: 176px; border-radius: 20px;
  background: #1C1917; padding: 26px 8px 10px;
  box-shadow: 0 18px 32px rgba(28, 25, 23, 0.28);
  position: relative;
}
.pay-phone-bar {
  position: absolute; top: 8px; left: 50%; width: 32px; height: 5px;
  border-radius: 4px; background: #3F3832; transform: translateX(-50%);
}
.pay-wallet { position: relative; height: 132px; }
.wcard {
  position: absolute; left: 0; right: 0; height: 52px;
  border-radius: 8px; padding: 8px 8px 0;
  font-size: 9px; font-weight: 750;
  box-shadow: 0 6px 10px rgba(0,0,0,0.18);
  animation: wallet-fan 7.2s ease-in-out infinite;
}
.wcard.c1 { top: 0; background: linear-gradient(145deg, #F8E7C4, #C4843A); color: #1C1917; }
.wcard.c2 { top: 34px; background: #E45712; color: #fff; animation-delay: -2.4s; }
.wcard.c3 { top: 68px; background: #111; color: #fff; border: 1px solid rgba(255,255,255,0.16); animation-delay: -4.8s; }
.cheque {
  width: 168px; background: #fff; color: #1C1917;
  border-radius: 8px; padding: 8px 10px 6px;
  box-shadow: 0 14px 26px rgba(28, 25, 23, 0.12);
  transform: rotate(-6deg);
}
.ch-top, .ch-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 8px; letter-spacing: 0.06em; }
.ch-top { font-weight: 750; margin-bottom: 6px; }
.ch-row { margin-top: 4px; color: #6B6259; }
.ch-row i { flex: 1; height: 1px; background: #E6DDD0; margin-left: 6px; }
.ch-row b { color: #1C1917; letter-spacing: 0; font-size: 11px; }
.ch-sign { display: block; width: 78px; height: 22px; margin-left: auto; }
.ch-sign path {
  fill: none; stroke: #1C1917; stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 140; stroke-dashoffset: 140;
  animation: cheque-sign 5.2s ease-in-out infinite;
}
@keyframes wallet-fan {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-8px); }
  55% { transform: translateY(0); }
}
@keyframes cheque-sign {
  0% { stroke-dashoffset: 140; }
  40%, 78% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 140; }
}
@media (max-width: 899px) {
  .sky-coins, .sky-card, .sky-cart, .sky-slip, .sky-octo, .sky-ali, .sky-wx, .sky-fps, .sky-payme { opacity: 0.5; }
  .sky-phone, .sky-cheque, .sky-up { display: none; }
  .sky-coins { left: 2%; top: 8%; }
  .sky-card { right: 1%; top: 2%; }
  .card-face { width: 150px; height: 94px; padding: 8px 10px; }
  .card-num { font-size: 9px; letter-spacing: 0.01em; }
  .card-chip { margin: 6px 0 4px; }
  .card-foot { margin-top: 4px; }
  .card-foot b { font-size: 11px; }
  .sky-cart svg { width: 84px; height: 70px; }
  .pay-tile { min-width: 92px; height: 40px; font-size: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-bob, .sky-drift, .sky-sway, .wcard, .ch-sign path { animation: none; }
  .ch-sign path { stroke-dashoffset: 0; }
}
section#checkout .scene-stage { position: relative; z-index: 1; }
section#checkout .section-head h2,
section#checkout .section-head p {
  text-shadow: 0 1px 0 rgba(255,255,255,0.9);
}
.checkout-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}
.checkout-mock {
  background: linear-gradient(165deg, #FFFFFF, #F8FAFC);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.co-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: #FFFFFF;
}
.co-title { font-weight: 700; color: #1C1917; font-size: 0.95rem; }
.co-shop {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9A5B2F;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(196, 132, 58, 0.12);
  border: 1px solid rgba(232, 161, 90, 0.25);
}
.co-body { padding: 1rem 1.1rem 1.15rem; }
.co-client {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  margin-bottom: 0.9rem;
}
.co-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.85rem;
  background: #1C1917;
  color: #fff;
  flex-shrink: 0;
}
.co-name { font-weight: 600; color: #1C1917; font-size: 0.92rem; }
.co-phone { font-size: 0.78rem; color: var(--muted); }
.co-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: #86EFAC;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.co-lines { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.75rem; }
.co-line {
  display: flex; justify-content: space-between; gap: 0.75rem;
  font-size: 0.88rem; color: #334155;
}
.co-line.muted { color: var(--muted); }
.co-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  margin-bottom: 0.9rem;
  font-size: 0.9rem; color: var(--muted);
}
.co-total strong { font-size: 1.25rem; color: #1C1917; font-weight: 700; }
.co-block { margin-bottom: 0.95rem; }
.co-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 0.45rem;
}
.co-pay { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pay-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1C1917;
  background: rgba(196, 132, 58, 0.12);
  border: 1px solid rgba(232, 161, 90, 0.28);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}
.co-staff { display: flex; flex-direction: column; gap: 0.55rem; }
.co-staff-row {
  display: grid;
  grid-template-columns: minmax(100px, 1.1fr) 1.4fr auto;
  gap: 0.5rem;
  align-items: center;
}
.co-staff-info {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: #334155;
}
.co-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.co-bar-wrap {
  height: 8px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.8);
  overflow: hidden;
}
.co-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.checkout-mock.is-in .co-bar,
.co-split-block.is-animated .co-bar {
  width: var(--pct, 0%);
}
.co-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1C1917;
  min-width: 2.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.co-split-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.co-actions {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.25rem;
}
.co-btn {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 120px;
}
.co-btn.ghost {
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #475569;
}
.co-btn.primary {
  background: #1C1917;
  color: #fff;
  box-shadow: 0 8px 22px rgba(196, 132, 58, 0.28);
}
.checkout-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.co-point {
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.co-point .icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(196, 132, 58, 0.12);
  color: #9A5B2F;
  margin-bottom: 0.55rem;
}
.co-point h3 {
  font-size: 1rem;
  color: #1C1917;
  margin: 0 0 0.35rem;
}
.co-point p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .co-staff-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "info pct"
      "bar bar";
  }
  .co-staff-info { grid-area: info; }
  .co-pct { grid-area: pct; }
  .co-bar-wrap { grid-area: bar; }
}

/* ===== Language switcher ===== */
.lang-slot {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 40;
}
.lang-switch {
  position: relative;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #1C1917;
  background: #FFFFFF;
  color: #1C1917;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.lang-switch-btn:hover,
.lang-switch-btn[aria-expanded="true"] {
  border-color: rgba(232, 161, 90, 0.55);
  background: rgba(196, 132, 58, 0.12);
  box-shadow: 0 0 0 1px rgba(232, 161, 90, 0.15);
}
.lang-switch-btn .fa-globe {
  color: #9A5B2F;
  font-size: 0.85rem;
}
.lang-chevron {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
.lang-switch-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 80;
}
.lang-menu[hidden] { display: none !important; }
.lang-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0.1rem;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.15s;
}
.lang-option:hover {
  background: rgba(232, 161, 90, 0.12);
}
.lang-option.is-active {
  background: rgba(232, 161, 90, 0.18);
  box-shadow: inset 0 0 0 1px rgba(232, 161, 90, 0.35);
}
.lang-native {
  font-size: 0.88rem;
  font-weight: 600;
}
.lang-en {
  font-size: 0.72rem;
  color: #94A3B8;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}
.footer-links {
  text-align: right;
}
.footer-right .lang-menu,
#lang-slot-footer .lang-menu,
.lang-switch--dropup .lang-menu {
  top: auto;
  bottom: calc(100% + 0.45rem);
  right: 0;
  left: auto;
}
.lang-switch--dropup .lang-chevron {
  transform: rotate(180deg);
}
.lang-switch--dropup .lang-switch-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(0deg);
}
.site-footer,
.site-footer .inner,
.footer-grid,
.footer-right,
#lang-slot-footer {
  overflow: visible;
}
#lang-slot-footer {
  z-index: 80;
}

/* Mobile: menu was clipped off the left edge (html overflow-x: clip) */
@media (max-width: 900px) {
  .footer-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-right {
    align-items: stretch;
    width: 100%;
  }
  .footer-links {
    text-align: left;
  }
  #lang-slot-footer,
  #lang-slot-footer .lang-switch {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  #lang-slot-footer .lang-switch-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-right .lang-menu,
  #lang-slot-footer .lang-menu,
  .lang-switch--dropup .lang-menu {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  html[dir="rtl"] .footer-right .lang-menu,
  html[dir="rtl"] #lang-slot-footer .lang-menu,
  body.lang-rtl .footer-right .lang-menu,
  body.lang-rtl #lang-slot-footer .lang-menu {
    left: 0;
    right: 0;
  }
}

/* RTL layout */
html[dir="rtl"] body,
body.lang-rtl {
  direction: rtl;
}
html[dir="rtl"] .nav a::after,
body.lang-rtl .nav a::after {
  transform-origin: center;
}
html[dir="rtl"] .hero,
body.lang-rtl .hero {
  direction: rtl;
}
html[dir="rtl"] .lang-option,
body.lang-rtl .lang-option {
  align-items: flex-end;
  text-align: right;
}
html[dir="rtl"] .footer-right,
body.lang-rtl .footer-right {
  align-items: flex-start;
}
html[dir="rtl"] .footer-links,
body.lang-rtl .footer-links {
  text-align: left;
}
html[dir="rtl"] .lang-menu,
body.lang-rtl .lang-menu {
  right: auto;
  left: 0;
}
html[dir="rtl"] .co-staff-row,
html[dir="rtl"] .co-line,
html[dir="rtl"] .line,
body.lang-rtl .co-staff-row,
body.lang-rtl .co-line,
body.lang-rtl .line {
  direction: rtl;
}

@media (max-width: 900px) {
  .nav-actions .lang-slot {
    width: 100%;
    margin-bottom: 0.35rem;
  }
  .nav-actions .lang-switch-btn {
    width: 100%;
    justify-content: center;
  }
  .nav-actions .lang-menu {
    left: 0;
    right: 0;
    min-width: 0;
    width: 100%;
  }
  .footer-right {
    align-items: flex-start;
    width: 100%;
  }
  .footer-links {
    text-align: left;
  }
}

.app-points { margin: 1.25rem 0 0; padding-left: 1.1rem; color: #94A3B8; line-height: 1.55; }
.app-points li { margin: 0.35rem 0; }
.bk-cal {
  display: grid;
  grid-template-columns: 3.2rem repeat(3, 1fr);
  min-height: 260px;
  background: #F6F1E8;
  position: relative;
}
.bk-rail { display: flex; flex-direction: column; justify-content: space-between; padding: 2.2rem 0.4rem 0.6rem; font-size: 10px; color: #6B6259; }
.bk-col { position: relative; border-left: 1px solid #E6DDD0; min-height: 260px; }
.bk-col-h { font-size: 11px; color: #1C1917; text-align: center; padding: 0.4rem 0; border-bottom: 1px solid #E6DDD0; }
.bk-apt {
  position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 6px 8px;
  font-size: 11px; line-height: 1.25; border: 1px solid transparent;
}
.bk-apt { overflow: hidden; }
.bk-apt .bk-who { padding-right: 4.6rem; }
.bk-apt .chip { position: absolute; top: 4px; right: 4px; margin: 0; font-size: 9px; font-weight: 700; background: #FCD34D; color: #1C1917; border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.bk-apt.sale { background: #14532D; border-color: #22C55E; color: #ECFDF5; }
.bk-apt.service { background: #1E3A5F; border-color: #9A5B2F; color: #F3E6D4; }
.bk-apt.due { background: #7F1D1D; border-color: #F87171; color: #FEE2E2; }
.bk-apt.redeemed { background: #FACC15; border-color: #CA8A04; color: #111827; }
.crm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px; background: #F6F1E8; }
.crm-kpis div { background: #FFFFFF; border: 1px solid #E6DDD0; border-radius: 10px; padding: 8px 10px; }
.crm-kpis small { display: block; color: #6B6259; font-size: 10px; }
.crm-kpis b { color: #334155; font-size: 14px; }
.crm-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 12px 16px; background: #F6F1E8; }
.crm-col { background: #FFFFFF; border: 1px solid #E6DDD0; border-radius: 12px; padding: 8px; min-height: 140px; }
.crm-col h4 { margin: 0 0 8px; font-size: 12px; color: #1C1917; font-weight: 600; }
.crm-card { background: #FFFFFF; border: 1px solid #E6DDD0; border-radius: 10px; padding: 8px; margin-bottom: 8px; font-size: 12px; color: #334155; }
.crm-card small { color: #94A3B8; }
@media (max-width: 720px) {
  .bk-cal { grid-template-columns: 2.4rem 1fr 1fr; }
  .bk-col:last-child { display: none; }
  .crm-cols { grid-template-columns: 1fr 1fr; }
  .crm-kpis { grid-template-columns: 1fr; }
}
.form-hint:empty{display:none}

/* Full-page snap + enter motion */
html {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 4.55rem;
  scroll-behavior: auto;
}
@media (max-width: 899px) {
  html { scroll-snap-type: y proximity; }
}
.page-veil { display: none !important; }
main > section.page,
footer.site-footer.page {
  position: relative;
  min-height: calc(100svh - 4.55rem);
  height: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}
main > section.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
}
main > section.page > .scene-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  flex: 1 0 auto;
}
footer.site-footer.page {
  min-height: 0;
  scroll-snap-stop: normal;
}
.scene-stage {
  position: relative;
  top: auto;
  width: 100%;
  min-height: calc(100svh - 7.3rem);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
main > section.page:not(.is-on) .scene-stage {
  opacity: 0.28;
  transform: translate3d(0, 36px, 0) scale(0.985);
}
main > section.page.is-on .scene-stage {
  opacity: 1;
  transform: none;
}
main > section.page.page-fill .scene-stage {
  justify-content: center;
  align-items: stretch;
  min-height: calc(100svh - 7.3rem);
  padding-top: 0;
}
section.hero.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}
section.hero.page .scene-stage {
  min-height: calc(100svh - 4.55rem);
  width: 100%;
  display: grid;
  align-items: center;
  align-content: center;
  justify-items: stretch;
  justify-content: center;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}
@media (min-width: 900px) {
  section.hero.page .scene-stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    column-gap: 2.5rem;
    row-gap: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  #signup-trial { animation: none; }
  #signup-modal .signup-fireworks { display: none; }
  main > section.page .scene-stage {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Interactive till demo */
.pos-mock-frame.mock-till { position: relative; overflow: hidden; }
.pos-mock-item.mock-add {
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
  background: #FFFFFF; border: 1px solid #E6DDD0;
}
.pos-mock-item.mock-add:hover { border-color: rgba(232,161,90,.45); transform: translateY(-1px); }
.pos-mock-cats .mock-cat {
  font: inherit; color: #94A3B8; background: transparent; border: 0; cursor: pointer;
  padding: 0.25rem 0.55rem; border-radius: 999px;
}
.pos-mock-cats .mock-cat.on { background: rgba(232,161,90,.18); color: #1C1917; }
.mock-tab-off { opacity: .45; pointer-events: none; }
.mock-client-lock {
  display: flex; gap: 0.6rem; align-items: center;
  background: #F8FAFC; border: 1px solid rgba(148,163,184,.16);
  border-radius: 12px; padding: 0.45rem 0.55rem; margin-bottom: 0.65rem;
}
.mock-client-lock .co-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #1C1917; color: #fff; font-size: 0.72rem; font-weight: 700;
}
.mock-client-lock .co-name { font-size: 0.82rem; color: #1C1917; font-weight: 600; }
.mock-client-lock .co-phone { font-size: 0.7rem; color: #94A3B8; }
.mock-empty { font-size: 0.8rem; color: #94A3B8; margin: 0.4rem 0 0.7rem; }
.mock-qty { display: flex; align-items: center; gap: 0.3rem; }
.mock-qty button {
  width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(148,163,184,.3);
  background: transparent; color: #334155; cursor: pointer;
}
.mock-disc-row { margin: 0.7rem 0 0.35rem; }
.mock-disc-row label { display: block; font-size: 0.72rem; color: #94A3B8; margin-bottom: 0.3rem; }
.mock-disc-controls { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.mock-disc-controls button, .mock-disc-controls input {
  font: inherit; font-size: 0.75rem; border-radius: 8px;
  border: 1px solid rgba(148,163,184,.25); background: #FFFFFF; color: #334155;
  padding: 0.25rem 0.45rem; cursor: pointer;
}
.mock-disc-controls button.on { border-color: #9A5B2F; color: #9A5B2F; }
.mock-disc-controls input { width: 3.2rem; cursor: text; }
.mock-disc-total { font-weight: 500; color: #9A5B2F; font-size: 0.82rem; }
.pos-mock-cart .btn-fake { border: 0; cursor: pointer; }
.pos-mock-cart .btn-fake:disabled { opacity: .4; cursor: not-allowed; }
.mock-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: #FFFFFF; display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.mock-overlay.hidden { display: none; }
.mock-sheet {
  width: min(420px, 100%);
  background: #FFFFFF; border: 1px solid #E6DDD0;
  border-radius: 16px; padding: 1rem 1.05rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.mock-sheet h3 { margin: 0 0 0.75rem; font-size: 1.05rem; color: #1C1917; }
.mock-pay-total { font-size: 1.15rem; color: #334155; margin: 0.6rem 0 0.75rem; }
.mock-pay-methods { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; }
.mock-pay-methods button {
  flex: 1; font: inherit; font-size: 0.8rem; padding: 0.45rem;
  border-radius: 10px; border: 1px solid rgba(148,163,184,.25);
  background: transparent; color: #475569; cursor: pointer;
}
.mock-pay-methods button.on { border-color: #9A5B2F; background: rgba(196,132,58,.15); color: #1C1917; }
.mock-pays-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.4rem; font-size: 0.78rem; color: #94A3B8;
}
.mock-pays-head button {
  font: inherit; font-size: 0.75rem; color: #9A5B2F; background: transparent;
  border: 1px solid rgba(232,161,90,.35); border-radius: 8px; padding: 0.2rem 0.45rem; cursor: pointer;
}
.mock-pay-row {
  display: grid;
  grid-template-columns: 1fr 5.6rem 28px;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.4rem;
}
.mock-pay-row select,
.mock-pay-row input[type="number"],
.mock-cheque {
  font: inherit; font-size: 0.8rem; width: 100%;
  background: #fff; color: #1C1917;
  border: 1px solid rgba(148,163,184,.25); border-radius: 8px; padding: 0.35rem 0.4rem;
}
.mock-cheque { grid-column: 1 / -1; }
.mock-pay-del {
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(148,163,184,.3); background: transparent; color: #64748B;
}
.mock-pay-left { font-size: 0.75rem; margin: 0.1rem 0 0.75rem; color: #9A5B2F; }
.mock-pay-left.ok { color: #047857; }
.mock-pay-left.bad { color: #B45309; }
.mock-sheet-actions { display: flex; gap: 0.5rem; }
.mock-sheet-actions button {
  flex: 1; font: inherit; font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem; border-radius: 10px; cursor: pointer; border: 0;
}
.mock-sheet-actions .ghost { background: transparent; color: #9A5B2F; border: 1px solid rgba(232,161,90,.35); }
.mock-sheet-actions .primary { background: #1C1917; color: #fff; }
.mock-done-p { color: #94A3B8; font-size: 0.88rem; }
.mock-done-amt { font-size: 1.4rem; font-weight: 700; color: #1C1917; margin: 0.4rem 0 0.9rem; }
.mock-split { margin: 0 0 0.85rem; }
.mock-split-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:0.4rem; font-size:0.78rem; color:#94A3B8; }
.mock-split-head button { font:inherit; font-size:0.75rem; color:#9A5B2F; background:transparent; border:1px solid rgba(232,161,90,.35); border-radius:8px; padding:0.2rem 0.45rem; cursor:pointer; }
.mock-staff-row { display:flex; align-items:center; gap:0.4rem; padding:0.28rem 0; font-size:0.8rem; color:#334155; }
.mock-staff-name { flex:1; }
.mock-staff-row input[type="number"] { width:3.8rem; font:inherit; font-size:0.8rem; background:#FFFFFF; color:#1C1917; border:1px solid rgba(148,163,184,.25); border-radius:8px; padding:0.2rem 0.3rem; }
.mock-pct-mark { color:#94A3B8; font-size:0.75rem; }
.mock-split-sum { font-size:0.75rem; color:#9A5B2F; margin:0.25rem 0 0; }
.mock-split-sum.bad { color:#B45309; }
.mock-inv-opt {
  display: flex; align-items: flex-start; gap: 0.45rem;
  margin: 0.55rem 0 0.1rem;
  font-size: 0.78rem; color: #334155; cursor: pointer;
}
.mock-inv-opt input { margin-top: 0.12rem; accent-color: #1C1917; }
.mock-sheet { max-height: min(86vh, 560px); overflow:auto; }

/* Phone and small tablet: normal page scroll, stacked layout. Desktop snap stays. */
@media (max-width: 899px) {
  html, body, main {
    overflow-x: clip;
    max-width: 100%;
  }
  html {
    scroll-snap-type: none !important;
    scroll-padding-top: 0;
  }
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  main > section.page {
    min-height: calc(100svh - 4.55rem) !important;
    height: auto !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    padding: 1.35rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
  }
  footer.site-footer.page {
    min-height: 0 !important;
    height: auto !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    padding: 1.6rem 0 1.75rem !important;
  }
  section.hero.page {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .scene-stage,
  main > section.page .scene-stage,
  main > section.page.page-fill .scene-stage,
  main > section.page:not(.is-on) .scene-stage,
  main > section.page.is-on .scene-stage {
    min-height: calc(100svh - 7.3rem) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    align-content: center !important;
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  section.hero.page .scene-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: center !important;
    align-items: center !important;
    justify-items: stretch !important;
    min-height: calc(100svh - 4.55rem) !important;
  }
  section#hero .hero-bg,
  section#hero::before,
  section#pos-preview::before,
  section#checkout::before {
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    transform: none;
  }
  /* Whole photo fits the phone screen, nothing cropped off the sides. */
  section#hero.wrap {
    width: 100%;
    box-sizing: border-box;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-top: 0;
    padding-top: 1.15rem !important;
  }
  section#hero .hero-bg {
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    transform: none;
    object-fit: cover;
    object-position: center 38%;
    opacity: 0.62;
  }
  section#hero::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    transform: none;
    background: linear-gradient(180deg, rgba(246,241,232,0.28) 0%, rgba(246,241,232,0.38) 42%, rgba(246,241,232,0.78) 72%, #F6F1E8 100%);
  }
  .site-header {
    background: rgba(246, 241, 232, 0.92);
  }
  .hero h1 { font-size: 1.85rem; }
  .hero .lead { font-size: 1rem; max-width: none; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn,
  .cta-band .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .section-head { max-width: none; margin-bottom: 1rem; }
  .section-head h2 { font-size: 1.45rem; }
  .features-grid,
  .tech-grid,
  .gallery,
  .inv-grid {
    grid-template-columns: 1fr !important;
  }
  .price-card { padding: 1.25rem 1rem; }
  .cta-band { padding: 1.35rem 1rem; margin: 0; }
  .pos-mock-frame,
  .checkout-mock,
  .bk-mock {
    max-width: 100%;
  }
  .pos-mock-body { min-width: 0; }
  .pos-mock-cart { padding: 0.75rem; }
  .co-staff-row {
    grid-template-columns: 1fr auto;
  }
  .co-bar-wrap { grid-column: 1 / -1; }
  .bk-cal { min-width: 0; overflow: hidden; }
  .bk-apt { font-size: 10px; padding: 4px 6px; }
  .crm-cols { grid-template-columns: 1fr !important; }
  .gallery-card img { height: 200px; }
  .mock-sheet { width: min(100%, 420px); }
  .footer-links { text-align: left; line-height: 1.7; }
}

.lang-suggest {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.7rem 1.25rem;
  background: #F5F5F7;
  color: #1D1D1F;
  border-bottom: 1px solid #E8E8ED;
  font-size: 0.82rem;
}
html.has-lang-suggest { scroll-padding-top: 58px; }
html.has-lang-suggest body { padding-top: 58px; }
html.has-lang-suggest .site-header { top: 58px; }
.lang-suggest[hidden] { display: none; }
.lang-suggest p { margin: 0; max-width: 28rem; line-height: 1.35; }
.lang-suggest-controls { display: flex; align-items: center; gap: 0.55rem; }
.lang-suggest-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-suggest-select span {
  position: absolute;
  left: 0.75rem;
  color: #1D1D1F;
  pointer-events: none;
  font-size: 0.85rem;
}
.lang-suggest-select select {
  appearance: none;
  border: 1px solid #D2D2D7;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231d1d1f' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  color: #1D1D1F;
  border-radius: 10px;
  min-width: 11.5rem;
  padding: 0.45rem 2rem 0.45rem 2rem;
  font: inherit;
  font-weight: 600;
}
#lang-offer-yes {
  border: 0;
  border-radius: 999px;
  background: #1D1D1F;
  color: #FFFFFF;
  font-weight: 650;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}
#lang-offer-no {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6E6E73;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.cookie-note {
  position: fixed;
  z-index: 80;
  left: max(1rem, env(safe-area-inset-left));
  right: auto;
  bottom: max(4.5rem, calc(env(safe-area-inset-bottom) + 4.2rem));
  width: min(22rem, calc(100vw - 2rem));
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: #1C1917;
  color: #F6F1E8;
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.28);
}
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; font-size: 0.82rem; line-height: 1.35; }
.cookie-note button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #F8E7A0;
  color: #1C1917;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}
.to-top {
  position: fixed;
  z-index: 70;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #1C1917;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.28);
}
.to-top:not([hidden]) { display: flex; }
.to-top:hover { background: #000; }

/* Desktop: pages grow to fit. Snap only when a section is near the top. */
@media (min-width: 900px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 4.6rem;
  }
  .site-header {
    position: sticky;
    top: 0;
  }
  main > section.page {
    height: auto;
    max-height: none;
    overflow: visible;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  main > section.page .scene-stage,
  main > section.page.page-fill .scene-stage {
    height: auto;
    max-height: none;
    overflow: visible;
    justify-content: center;
    align-items: stretch;
    min-height: calc(100svh - 7.3rem);
  }
  section.hero.page .scene-stage {
    min-height: calc(100svh - 4.6rem);
    align-content: center;
    justify-items: stretch;
  }
}
