:root {
  --navy: #0b1f33;
  --teal: #0d9488;
  --bg: #f7f6f2;
  --ink: #0a0a0a;
  --dim: #3d3d36;
  --card: #fff;
  --border: #e5e3dc;
  --nav-slot: 58px;
  --page: 76rem;
  --page-gutter: 20px;
  --teal-ink: #0f766e;
  --cream: var(--bg);
  --muted: var(--dim);
  --paper: var(--card);
  --line: var(--border);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui,
    sans-serif;
  color: var(--ink);
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-slot) + 12px);
}

html,
body {
  margin: 0;
  background: var(--bg);
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--page), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 6px;
  z-index: 50;
  margin: 6px 10px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.04);
}

.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  min-height: 44px;
}

.nav .brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.nav-links a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.nav .nav-wa {
  color: var(--teal);
  font-weight: 700;
}

.site-header,
.site-footer {
  background: var(--navy);
  color: #d5dde4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  min-height: 56px;
}

.site-header a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
}

.site-header img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.site-nav a {
  color: #d5dde4;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.hero {
  min-height: calc(100svh - var(--nav-slot));
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.hero-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #efeee9;
}

.hero-frame {
  position: absolute;
  inset: 0;
}

.hero-frame picture {
  position: absolute;
  inset: 0;
}

.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.early-bar {
  margin: 8px 10px 0;
  padding: 0 14px;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  text-align: center;
}

.early-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.early-bar a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.hero-brand {
  position: absolute;
  left: 5%;
  top: 8%;
  width: min(24rem, 88%);
  text-align: left;
  z-index: 2;
  padding: 16px 18px 18px;
  border-radius: 14px;
  background: rgba(247, 246, 242, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(11, 31, 51, 0.12);
}

.hero-brand h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(1.55rem, 4.6vw, 2.35rem);
  line-height: 1.18;
}

.hero-brand h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.3;
}

.hero .sub {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.pricing .btn-primary:focus-visible,
.faq a:focus-visible,
.notfound .btn-primary:focus-visible {
  outline-color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}

.btn-ghost-ink {
  background: rgba(247, 246, 242, 0.88);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-ghost-ink:focus-visible {
  outline-color: var(--navy);
}

main {
  padding: 8px 0 48px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.why {
  padding: 28px 0 8px;
}

.why h2,
.features h2,
.pricing h2,
.faq h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3.1vw, 2.15rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.why-cards {
  display: grid;
  gap: 14px;
  margin: 16px 0 8px;
}

.why-cards article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 18px;
}

.why-media {
  border-radius: 12px;
  overflow: hidden;
  background: #efeee9;
  aspect-ratio: 16 / 9;
}

.why-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-cards h3 {
  margin: 14px 0 8px;
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.why-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.trust {
  display: grid;
  gap: 12px;
  padding: 18px 0 4px;
}

.trust article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.trust h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.trust p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.features {
  width: min(var(--page), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 36px 0 8px;
}

.feats {
  display: grid;
  gap: 16px;
}

.feat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-title {
  margin: 4px 0 0;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.feat-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.bs {
  position: relative;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
}

.bs::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    70% 80% at 74% 26%,
    rgba(13, 148, 136, 0.2),
    transparent 68%
  );
}

.bs::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1.2px
  );
  background-size: 14px 14px;
}

/* —— 開單扣貨：點格 → 盒飛進車 → 架上頂盒消失 —— */
.demo-sell .pos {
  position: absolute;
  left: 10px;
  top: 14px;
  width: 104px;
  height: 118px;
  border-radius: 10px;
  background: #0b1220;
  box-shadow: inset 0 0 0 2px rgba(94, 234, 212, 0.3);
  z-index: 1;
}

.demo-sell .pos::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 8px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.demo-sell .pos::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 28px;
  height: 8px;
  margin-left: -14px;
  border-radius: 0 0 4px 4px;
  background: #13293c;
}

.demo-sell .tiles {
  position: absolute;
  left: 20px;
  top: 34px;
  display: grid;
  grid-template-columns: 36px 36px;
  gap: 6px;
  z-index: 2;
}

.demo-sell .tile {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #1d3d4a;
  box-shadow: inset 0 0 0 1.5px rgba(13, 148, 136, 0.35);
}

.demo-sell .tile.pick {
  background: var(--teal);
  animation: sell-pick 4s ease-in-out infinite;
}

.demo-sell .fly {
  position: absolute;
  left: 62px;
  top: 34px;
  width: 30px;
  height: 24px;
  border-radius: 5px 5px 4px 4px;
  background: #5eead4;
  box-shadow: 0 5px 0 #0f766e;
  z-index: 4;
  animation: sell-fly 4s ease-in-out infinite;
}

.demo-sell .fly::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: -5px;
  height: 6px;
  border-radius: 99px 99px 2px 2px;
  background: #0f766e;
}

.demo-sell .cart {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 84px;
  height: 56px;
  border-radius: 8px;
  background: #13293c;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.demo-sell .cart::before,
.demo-sell .cart::after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5eead4;
}

.demo-sell .cart::before {
  left: 10px;
}

.demo-sell .cart::after {
  right: 10px;
}

.demo-sell .cart-hd {
  display: block;
  height: 6px;
  margin: 8px 8px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.demo-sell .line {
  display: block;
  height: 16px;
  margin: 0 8px;
  border-radius: 5px;
  background: rgba(94, 234, 212, 0.22);
  transform: scaleX(0);
  transform-origin: left;
  animation: sell-line 4s ease-in-out infinite;
}

.demo-sell .shelf {
  position: absolute;
  right: 18px;
  bottom: 10px;
  width: 70px;
  height: 56px;
  z-index: 2;
}

.demo-sell .shelf::before,
.demo-sell .shelf::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 52px;
  background: #1d3d4a;
  border-radius: 2px;
}

.demo-sell .shelf::before {
  left: 4px;
}

.demo-sell .shelf::after {
  right: 4px;
}

.demo-sell .shelf i {
  position: absolute;
  left: 10px;
  width: 50px;
  height: 10px;
  border-radius: 2px;
  background: #5eead4;
  box-shadow: 0 2px 0 #0f766e;
}

.demo-sell .shelf i:nth-child(1) {
  bottom: 2px;
  opacity: 0.45;
}

.demo-sell .shelf i:nth-child(2) {
  bottom: 15px;
  opacity: 0.7;
}

.demo-sell .shelf i:nth-child(3) {
  bottom: 28px;
}

.demo-sell .shelf i.gone {
  bottom: 41px;
  animation: sell-gone 4s ease-in-out infinite;
}

.demo-sell .pulse {
  position: absolute;
  left: 28%;
  top: 40%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(94, 234, 212, 0.7);
  z-index: 1;
  animation: sell-pulse 4s ease-out infinite;
}

@keyframes sell-pick {
  0%,
  12% {
    transform: scale(1);
    filter: brightness(1);
  }
  18%,
  38% {
    transform: scale(1.08);
    filter: brightness(1.15);
  }
  50%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes sell-fly {
  0%,
  16% {
    left: 62px;
    top: 34px;
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  42% {
    left: calc(100% - 78px);
    top: 22px;
    transform: rotate(18deg) scale(0.9);
    opacity: 1;
  }
  52% {
    left: calc(100% - 64px);
    top: 30px;
    transform: rotate(22deg) scale(0.4);
    opacity: 0;
  }
  53%,
  100% {
    left: 62px;
    top: 34px;
    transform: rotate(0deg) scale(1);
    opacity: 0;
  }
}

@keyframes sell-line {
  0%,
  40% {
    transform: scaleX(0);
    opacity: 0;
  }
  50%,
  88% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}

@keyframes sell-gone {
  0%,
  48% {
    transform: translateY(0);
    opacity: 1;
  }
  68%,
  92% {
    transform: translateY(-22px) rotate(-12deg);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes sell-pulse {
  0%,
  18% {
    transform: scale(0.4);
    opacity: 0;
  }
  28% {
    opacity: 0.9;
  }
  55% {
    transform: scale(6);
    opacity: 0;
  }
  100% {
    transform: scale(6);
    opacity: 0;
  }
}

/* —— 多店改價：價籤沿線左→右，右店亮 —— */
.demo-stores .shop {
  position: absolute;
  bottom: 16px;
  width: 68px;
  height: 72px;
  background: #143044;
  border-radius: 6px 6px 3px 3px;
  z-index: 2;
}

.demo-stores .shop.a {
  left: 16px;
}

.demo-stores .shop.b {
  right: 16px;
}

.demo-stores .awn {
  position: absolute;
  left: -6px;
  right: -6px;
  top: -12px;
  height: 14px;
  border-radius: 4px 4px 0 0;
  background: var(--teal);
  background-image: repeating-linear-gradient(
    90deg,
    var(--teal) 0 11px,
    #0f766e 11px 15px
  );
}

.demo-stores .awn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 6px;
  background: radial-gradient(circle at 7px 0, var(--teal) 5px, transparent 5.5px)
    repeat-x;
  background-size: 14px 6px;
}

.demo-stores .win {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 14px;
  height: 24px;
  background: #f6f4f1;
  border-radius: 2px;
  opacity: 0.85;
}

.demo-stores .shop.b .win {
  animation: store-win 4s ease-in-out infinite;
}

.demo-stores .door {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 20px;
  margin-left: -8px;
  border-radius: 3px 3px 0 0;
  background: #0b1220;
}

.demo-stores .thread {
  position: absolute;
  left: 82px;
  right: 82px;
  top: 68px;
  height: 3px;
  background: rgba(94, 234, 212, 0.55);
  z-index: 1;
}

.demo-stores .thread::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid #5eead4;
  animation: store-node 4s ease-in-out infinite;
}

.demo-stores .tag {
  position: absolute;
  top: 50px;
  left: 14%;
  width: 40px;
  height: 24px;
  background: #f6f4f1;
  border-radius: 3px 10px 10px 3px;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  animation: store-tag 4s ease-in-out infinite;
}

.demo-stores .tag::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 2px #f6f4f1;
}

.demo-stores .tag::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 18px;
  height: 5px;
  border-radius: 99px;
  background: rgba(11, 31, 51, 0.28);
}

.demo-stores .glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    40% 50% at 84% 64%,
    rgba(94, 234, 212, 0.32),
    transparent 70%
  );
  opacity: 0;
  animation: store-glow 4s ease-in-out infinite;
}

@keyframes store-tag {
  0%,
  16% {
    left: 14%;
    transform: rotate(-8deg);
  }
  48%,
  78% {
    left: 72%;
    transform: rotate(10deg);
  }
  100% {
    left: 14%;
    transform: rotate(-8deg);
  }
}

@keyframes store-node {
  0%,
  28% {
    transform: scale(0.7);
    opacity: 0.4;
  }
  48% {
    transform: scale(1.25);
    opacity: 1;
  }
  100% {
    transform: scale(0.7);
    opacity: 0.4;
  }
}

@keyframes store-glow {
  0%,
  40% {
    opacity: 0;
  }
  52%,
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes store-win {
  0%,
  42% {
    background: #f6f4f1;
    opacity: 0.85;
    box-shadow: none;
  }
  52%,
  78% {
    background: #ccfbf1;
    opacity: 1;
    box-shadow: 0 0 14px rgba(94, 234, 212, 0.75);
  }
  100% {
    background: #f6f4f1;
    opacity: 0.85;
    box-shadow: none;
  }
}

/* —— 檔期：燈籠晃、電話落到櫃檯 —— */
.demo-stall .wire {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 1;
}

.demo-stall .lantern {
  position: absolute;
  top: 14px;
  width: 14px;
  height: 20px;
  border-radius: 7px 7px 5px 5px;
  background: var(--teal);
  z-index: 2;
  transform-origin: top center;
}

.demo-stall .lantern::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -10px;
  width: 2px;
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
}

.demo-stall .l1 {
  left: 26%;
  animation: lantern 2.6s ease-in-out infinite;
}

.demo-stall .l2 {
  left: 48%;
  height: 16px;
  background: #134e4a;
  animation: lantern 2.8s ease-in-out infinite 0.2s;
}

.demo-stall .l3 {
  left: 68%;
  animation: lantern 2.4s ease-in-out infinite 0.35s;
}

.demo-stall .booth {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 138px;
  height: 82px;
  margin-left: -69px;
  z-index: 2;
}

.demo-stall .roof {
  display: block;
  height: 22px;
  border-radius: 4px 4px 0 0;
  background: var(--teal);
  background-image: repeating-linear-gradient(
    90deg,
    var(--teal) 0 14px,
    #0f766e 14px 20px
  );
}

.demo-stall .roof::after {
  content: "";
  display: block;
  height: 6px;
  background: radial-gradient(circle at 8px 0, var(--teal) 6px, transparent 6.5px)
    repeat-x;
  background-size: 16px 6px;
  transform: translateY(22px);
}

.demo-stall .counter {
  display: block;
  height: 60px;
  background: #143044;
  border-radius: 0 0 6px 6px;
}

.demo-stall .goods {
  position: absolute;
  left: 12px;
  bottom: 10px;
  width: 46px;
  height: 16px;
  border-radius: 3px;
  background: #1d3d4a;
  box-shadow: 18px -8px 0 #134e4a, 34px 2px 0 #0f766e;
}

.demo-stall .phone {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 28px;
  height: 50px;
  margin-left: -14px;
  border-radius: 6px;
  background: #0b1220;
  box-shadow: 0 0 0 2px #5eead4, 0 0 16px rgba(94, 234, 212, 0.45);
  z-index: 4;
  animation: stall-phone 4s ease-in-out infinite;
}

.demo-stall .screen {
  position: absolute;
  inset: 6px 4px 7px;
  border-radius: 3px;
  background: #5eead4;
  animation: stall-screen 4s ease-in-out infinite;
}

.demo-stall .badge {
  position: absolute;
  right: 16px;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #5eead4;
  z-index: 3;
  animation: stall-badge 4s ease-in-out infinite;
}

.demo-stall .badge::after {
  content: "";
  position: absolute;
  inset: 8px 10px 6px;
  border-radius: 2px;
  background: var(--navy);
}

@keyframes lantern {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

@keyframes stall-phone {
  0%,
  10% {
    transform: translateY(-14px) rotate(-12deg);
    opacity: 0.15;
  }
  38%,
  78% {
    transform: translateY(78px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-14px) rotate(-12deg);
    opacity: 0.15;
  }
}

@keyframes stall-screen {
  0%,
  36% {
    opacity: 0.35;
  }
  46%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0.35;
  }
}

@keyframes stall-badge {
  0%,
  44% {
    transform: scale(0.4);
    opacity: 0;
  }
  56%,
  82% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.4);
    opacity: 0;
  }
}

/* —— 瀏覽器就能用：雲連筆電與手機，光圈擴散 —— */
.demo-browser .cloud {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 78px;
  height: 34px;
  margin-left: -39px;
  border-radius: 40px;
  background: #5eead4;
  z-index: 2;
}

.demo-browser .cloud::before,
.demo-browser .cloud::after {
  content: "";
  position: absolute;
  background: #5eead4;
  border-radius: 50%;
}

.demo-browser .cloud::before {
  width: 30px;
  height: 30px;
  left: 10px;
  top: -12px;
}

.demo-browser .cloud::after {
  width: 40px;
  height: 40px;
  right: 8px;
  top: -16px;
}

.demo-browser .ring {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  border-radius: 50%;
  border: 2px solid rgba(94, 234, 212, 0.45);
  z-index: 1;
}

.demo-browser .r1 {
  animation: br-ring 4s ease-out infinite;
}

.demo-browser .r2 {
  animation: br-ring 4s ease-out infinite 1.2s;
}

.demo-browser .table {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 8px;
  border-radius: 6px;
  background: #143044;
  z-index: 1;
}

.demo-browser .table::before,
.demo-browser .table::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 6px;
  height: 10px;
  background: #0b1220;
  border-radius: 0 0 2px 2px;
}

.demo-browser .table::before {
  left: 18px;
}

.demo-browser .table::after {
  right: 18px;
}

.demo-browser .laptop {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 100px;
  z-index: 2;
}

.demo-browser .lid {
  position: relative;
  display: block;
  height: 52px;
  border-radius: 7px 7px 2px 2px;
  background: #143044;
  box-shadow: inset 0 0 0 2px #5eead4;
}

.demo-browser .lid::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 32px;
  border-radius: 3px;
  background: rgba(94, 234, 212, 0.22);
  animation: br-win 4s ease-in-out infinite;
}

.demo-browser .base {
  display: block;
  height: 7px;
  margin: 0 -7px;
  border-radius: 0 0 7px 7px;
  background: #0b1220;
}

.demo-browser .handset {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 30px;
  height: 54px;
  z-index: 2;
}

.demo-browser .bezel {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 7px;
  background: #0b1220;
  box-shadow: inset 0 0 0 2px #5eead4;
}

.demo-browser .bezel::after {
  content: "";
  position: absolute;
  inset: 7px 4px 9px;
  border-radius: 3px;
  background: rgba(94, 234, 212, 0.4);
  animation: br-win 4s ease-in-out infinite;
}

@keyframes br-ring {
  0% {
    transform: scale(0.55);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes br-win {
  0%,
  28% {
    opacity: 0.25;
    background: rgba(94, 234, 212, 0.2);
  }
  42%,
  78% {
    opacity: 1;
    background: #5eead4;
  }
  100% {
    opacity: 0.25;
    background: rgba(94, 234, 212, 0.2);
  }
}

/* —— 收款：平板旁卡機亮起，勾出現 —— */
.demo-pay .pad {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 78px;
  height: 122px;
  border-radius: 10px;
  background: #0b1220;
  box-shadow: inset 0 0 0 2px #5eead4, 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.demo-pay .pad-cam {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #1d3d4a;
}

.demo-pay .pad-grid {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.demo-pay .pad-grid i {
  height: 22px;
  border-radius: 3px;
  background: rgba(94, 234, 212, 0.22);
}

.demo-pay .pad-tot {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 10px;
  height: 14px;
  border-radius: 4px;
  background: rgba(94, 234, 212, 0.3);
  animation: pay-tot 4s ease-in-out infinite;
}

.demo-pay .term {
  position: absolute;
  right: 16px;
  top: 26px;
  width: 64px;
  height: 88px;
  border-radius: 8px;
  background: #143044;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  z-index: 2;
  animation: pay-term 4s ease-in-out infinite;
}

.demo-pay .term-scr {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 24px;
  border-radius: 3px;
  background: #0b1220;
}

.demo-pay .term-slot {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 40px;
  height: 5px;
  border-radius: 2px;
  background: #0b1220;
}

.demo-pay .mpay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 22px;
  border-radius: 4px;
  background: #0f766e;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.35);
}

.demo-pay .pay-card {
  position: absolute;
  right: 28px;
  top: 6px;
  width: 34px;
  height: 20px;
  border-radius: 3px;
  background: #5eead4;
  box-shadow: 0 3px 0 #0f766e;
  z-index: 3;
  animation: pay-card 4s ease-in-out infinite;
}

.demo-pay .ok {
  position: absolute;
  right: 34px;
  top: 78px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #5eead4;
  z-index: 4;
  animation: pay-ok 4s ease-in-out infinite;
}

.demo-pay .ok::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid var(--navy);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

@keyframes pay-ok {
  0%,
  46% {
    transform: scale(0.2);
    opacity: 0;
  }
  56%,
  84% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.2);
    opacity: 0;
  }
}

@keyframes pay-term {
  0%,
  28% {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  }
  40%,
  84% {
    box-shadow: inset 0 0 0 2px #5eead4, 0 0 16px rgba(94, 234, 212, 0.5);
  }
  100% {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  }
}

@keyframes pay-card {
  0%,
  16% {
    transform: translateY(0) rotate(-16deg);
    opacity: 0.25;
  }
  36%,
  72% {
    transform: translateY(38px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(-16deg);
    opacity: 0.25;
  }
}

@keyframes pay-tot {
  0%,
  48% {
    background: rgba(94, 234, 212, 0.28);
  }
  58%,
  84% {
    background: #5eead4;
  }
  100% {
    background: rgba(94, 234, 212, 0.28);
  }
}

/* —— 各店貨帳：多店數字匯入後勤屏 —— */
.demo-look .shop {
  position: absolute;
  bottom: 14px;
  width: 44px;
  height: 48px;
  background: #143044;
  border-radius: 5px 5px 2px 2px;
  z-index: 2;
}

.demo-look .shop.a {
  left: 12px;
}

.demo-look .shop.b {
  right: 12px;
}

.demo-look .awn {
  position: absolute;
  left: -4px;
  right: -4px;
  top: -8px;
  height: 10px;
  border-radius: 3px 3px 0 0;
  background: var(--teal);
}

.demo-look .win {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 14px;
  background: #f6f4f1;
  border-radius: 2px;
  animation: look-win 4s ease-in-out infinite;
}

.demo-look .desk {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 92px;
  margin-left: -46px;
  z-index: 3;
}

.demo-look .scr {
  display: block;
  height: 62px;
  border-radius: 8px 8px 2px 2px;
  background: #0b1220;
  box-shadow: inset 0 0 0 2px #5eead4;
  padding: 12px 12px 8px;
}

.demo-look .desk::after {
  content: "";
  display: block;
  height: 6px;
  margin: 0 -6px;
  border-radius: 0 0 6px 6px;
  background: #13293c;
}

.demo-look .bar {
  display: block;
  width: 8px;
  border-radius: 2px 2px 0 0;
  background: #5eead4;
  position: absolute;
  bottom: 22px;
  transform-origin: 50% 100%;
}

.demo-look .b1 {
  left: 22px;
  height: 18px;
  animation: look-bar 4s ease-in-out infinite;
}

.demo-look .b2 {
  left: 42px;
  height: 28px;
  animation: look-bar 4s ease-in-out infinite 0.2s;
}

.demo-look .b3 {
  left: 62px;
  height: 14px;
  animation: look-bar 4s ease-in-out infinite 0.4s;
}

.demo-look .tick {
  position: absolute;
  right: 54px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #5eead4;
  z-index: 4;
  animation: look-tick 4s ease-in-out infinite;
}

.demo-look .tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@keyframes look-bar {
  0%,
  18% {
    transform: scaleY(0.25);
    opacity: 0.4;
  }
  42%,
  78% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.25);
    opacity: 0.4;
  }
}

@keyframes look-win {
  0%,
  24% {
    background: #f6f4f1;
  }
  40%,
  72% {
    background: #ccfbf1;
    box-shadow: 0 0 10px rgba(94, 234, 212, 0.6);
  }
  100% {
    background: #f6f4f1;
  }
}

@keyframes look-tick {
  0%,
  48% {
    transform: scale(0.3);
    opacity: 0;
  }
  60%,
  86% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.3);
    opacity: 0;
  }
}

/* —— 改價要批：價籤一動，鎖與核准點出現 —— */
.demo-pin .till {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 78px;
  height: 118px;
  border-radius: 10px;
  background: #0b1220;
  box-shadow: inset 0 0 0 2px rgba(94, 234, 212, 0.35);
  z-index: 1;
}

.demo-pin .till::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 22px;
  border-radius: 4px;
  background: rgba(94, 234, 212, 0.18);
}

.demo-pin .till::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 40px;
  height: 58px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.demo-pin .ptag {
  position: absolute;
  left: 22px;
  top: 44px;
  width: 36px;
  height: 22px;
  background: #f6f4f1;
  border-radius: 3px 10px 10px 3px;
  z-index: 3;
  animation: pin-tag 4s ease-in-out infinite;
}

.demo-pin .ptag::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 16px;
  height: 5px;
  border-radius: 99px;
  background: rgba(11, 31, 51, 0.3);
}

.demo-pin .lock {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 28px;
  height: 34px;
  z-index: 3;
  animation: pin-lock 4s ease-in-out infinite;
}

.demo-pin .lock::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 16px;
  height: 14px;
  border: 3px solid #5eead4;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.demo-pin .lock::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 24px;
  height: 20px;
  border-radius: 4px;
  background: #5eead4;
}

.demo-pin .dots {
  position: absolute;
  right: 18px;
  top: 78px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.demo-pin .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.25);
  animation: pin-dot 4s ease-in-out infinite;
}

.demo-pin .dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.demo-pin .dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.demo-pin .dots i:nth-child(4) {
  animation-delay: 0.45s;
}

.demo-pin .ok {
  position: absolute;
  right: 30px;
  bottom: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5eead4;
  z-index: 4;
  animation: pin-ok 4s ease-in-out infinite;
}

.demo-pin .ok::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@keyframes pin-tag {
  0%,
  18% {
    transform: translate(0, 0);
  }
  28% {
    transform: translate(10px, -4px) rotate(-8deg);
  }
  38%,
  100% {
    transform: translate(0, 0);
  }
}

@keyframes pin-lock {
  0%,
  30% {
    transform: scale(0.4);
    opacity: 0;
  }
  42%,
  82% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.4);
    opacity: 0;
  }
}

@keyframes pin-dot {
  0%,
  40% {
    background: rgba(94, 234, 212, 0.25);
    transform: scale(0.8);
  }
  52%,
  84% {
    background: #5eead4;
    transform: scale(1);
  }
  100% {
    background: rgba(94, 234, 212, 0.25);
    transform: scale(0.8);
  }
}

@keyframes pin-ok {
  0%,
  58% {
    transform: scale(0.2);
    opacity: 0;
  }
  70%,
  90% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.2);
    opacity: 0;
  }
}

/* —— 一間公司一個價：一台價連兩部機，加收被擋 —— */
.demo-firm .plate {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 86px;
  height: 40px;
  margin-left: -43px;
  border-radius: 8px;
  background: #f6f4f1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.demo-firm .num {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 12px;
  border-radius: 99px;
  background: var(--navy);
  opacity: 0.75;
}

.demo-firm .span {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 52px;
  height: 3px;
  background: rgba(94, 234, 212, 0.55);
  z-index: 1;
}

.demo-firm .span::before,
.demo-firm .span::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 22px;
  background: rgba(94, 234, 212, 0.55);
}

.demo-firm .span::before {
  left: 18px;
}

.demo-firm .span::after {
  right: 18px;
}

.demo-firm .reg {
  position: absolute;
  bottom: 16px;
  width: 46px;
  height: 58px;
  border-radius: 8px;
  background: #0b1220;
  box-shadow: inset 0 0 0 2px #5eead4;
  z-index: 2;
  animation: firm-reg 4s ease-in-out infinite;
}

.demo-firm .reg.a {
  left: 22px;
}

.demo-firm .reg.b {
  right: 22px;
  animation-delay: 0.15s;
}

.demo-firm .reg::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 22px;
  border-radius: 3px;
  background: rgba(94, 234, 212, 0.28);
}

.demo-firm .extra {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background: #f87171;
  z-index: 4;
  animation: firm-extra 4s ease-in-out infinite;
}

.demo-firm .no {
  position: absolute;
  right: 8px;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid #f87171;
  z-index: 5;
  animation: firm-no 4s ease-in-out infinite;
}

.demo-firm .no::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 20px;
  height: 2.5px;
  background: #f87171;
  transform: rotate(-45deg);
}

@keyframes firm-reg {
  0%,
  22% {
    transform: translateY(6px);
    opacity: 0.45;
  }
  40%,
  82% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(6px);
    opacity: 0.45;
  }
}

@keyframes firm-extra {
  0%,
  28% {
    transform: translate(8px, -6px);
    opacity: 0;
  }
  40%,
  62% {
    transform: translate(0, 0);
    opacity: 1;
  }
  78%,
  100% {
    transform: translate(12px, -10px);
    opacity: 0;
  }
}

@keyframes firm-no {
  0%,
  46% {
    transform: scale(0.3);
    opacity: 0;
  }
  56%,
  78% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.3);
    opacity: 0;
  }
}

.hint {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
}

.swipe-hint {
  display: none;
}

.pricing {
  position: relative;
  padding: 28px 0 32px;
}

.pricing-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(
    100deg,
    transparent 0 48%,
    #000 82%
  );
  mask-image: linear-gradient(100deg, transparent 0 48%, #000 82%);
}

.pricing-bg img {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: min(720px, 90%);
  height: auto;
  object-fit: contain;
  object-position: right bottom;
}

.price-cards {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 18px 0 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--muted);
  font-weight: 700;
}

.card .amt {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.15;
}

.card .amt span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.card .btn {
  width: 100%;
  margin-top: auto;
}

.card.hi {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}

.list-note {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  max-width: 40rem;
}

.pricing > .hint {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  color: var(--ink);
}

.faq {
  padding: 8px 0 24px;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 16px;
  margin: 0 0 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--navy);
}

.faq summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.faq details p,
.faq details ul {
  margin: 0 0 14px;
  color: var(--muted);
}

.faq details ul {
  padding-left: 1.2em;
}

.faq details li + li {
  margin-top: 6px;
}

.faq a {
  color: var(--navy);
}

.cta-sticky {
  display: none;
  position: sticky;
  bottom: 0;
  min-height: 44px;
}

.site-footer {
  padding: 24px 20px calc(32px + env(safe-area-inset-bottom));
  font-size: 13px;
  text-align: center;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  color: #fff;
}

.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: 20px 20px 48px;
}

.legal a {
  color: var(--navy);
}

.legal-back {
  margin: 0 0 16px;
}

.legal-meta {
  color: var(--muted);
}

.notfound {
  text-align: center;
  padding: 64px 20px 80px;
}

.notfound h1 {
  font-size: 28px;
}

@media (max-width: 640px) {
  .nav-links a.nav-wide {
    display: none;
  }

  .swipe-hint {
    display: block;
    margin-bottom: 10px;
  }

  .hero {
    min-height: calc(100svh - var(--nav-slot) - 56px - env(safe-area-inset-bottom));
  }

  .hero-brand {
    left: 4%;
    right: 4%;
    top: 3%;
    width: auto;
    padding: 12px 14px 14px;
  }

  .hero-brand h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .hero-brand h2 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .hero .sub {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.5;
  }

  .hero .ctas {
    display: none;
  }

  .hero-frame img {
    object-position: center 22%;
  }

  .why {
    padding: 20px 0 4px;
  }

  .why-cards {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 0 4px;
    padding-bottom: 6px;
    overscroll-behavior-x: contain;
  }

  .why-cards article {
    scroll-snap-align: start;
    padding: 12px 12px 14px;
  }

  .why-media {
    aspect-ratio: 16 / 10;
  }

  .why-cards h3 {
    margin: 10px 0 6px;
    font-size: 1.12rem;
  }

  .why-cards p {
    font-size: 15px;
  }

  .features {
    padding: 20px 0 4px;
  }

  .feats {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 6px;
    overscroll-behavior-x: contain;
  }

  .feat {
    scroll-snap-align: start;
    padding: 12px 12px 14px;
  }

  .bs {
    height: 132px;
  }

  .feat-title {
    font-size: 1.12rem;
  }

  .feat-desc {
    font-size: 15px;
  }

  .pricing {
    padding: 20px 0 20px;
  }

  .card {
    padding: 16px 16px 14px;
  }

  .faq {
    padding: 4px 0 16px;
  }

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .pricing-bg {
    opacity: 0;
  }

  .cta-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }

  .cta-sticky:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: -3px;
  }
}

@media (min-width: 641px) {
  .swipe-hint {
    display: none;
  }

  .why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    overflow: visible;
    gap: 16px;
  }

  .feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-brand {
    left: 5%;
    right: auto;
    top: 7%;
    width: min(28rem, 54%);
    text-align: left;
    padding: 20px 22px 22px;
  }

  .hero-brand h1 {
    font-size: clamp(1.85rem, 3.6vw, 2.3rem);
  }

  .hero-brand h2 {
    font-size: 1.2rem;
  }

  .hero-brand .ctas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero .btn {
    min-width: 8.75rem;
  }

  .hero .sub {
    font-size: 16px;
  }

  .bs {
    height: 176px;
  }

  .trust {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .nav {
    width: min(var(--page), calc(100% - 32px));
    margin: 10px auto 0;
    padding: 6px 18px;
    min-height: 54px;
  }

  .nav .brand {
    font-size: 1.12rem;
  }

  .nav-links a {
    font-size: 15px;
    padding: 0 12px;
  }

  .hero {
    width: min(var(--page), calc(100% - 32px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(20rem, 28rem) minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    padding: 20px 0 36px;
    min-height: 0;
  }

  .hero-stage {
    display: contents;
  }

  .hero-brand {
    position: static;
    width: auto;
    max-width: none;
    left: auto;
    right: auto;
    top: auto;
    grid-column: 1;
    grid-row: 1;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0 8px;
  }

  .hero-brand h1 {
    font-size: clamp(2.45rem, 3.6vw, 3.45rem);
    line-height: 1.12;
    margin-bottom: 10px;
  }

  .hero-brand h2 {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    margin-bottom: 14px;
  }

  .hero .sub {
    font-size: 1.125rem;
    line-height: 1.65;
    font-weight: 500;
    max-width: none;
    margin-bottom: 22px;
  }

  .hero-brand .ctas {
    flex-direction: row;
    max-width: none;
    justify-content: flex-start;
    gap: 12px;
  }

  .hero .btn {
    min-height: 52px;
    font-size: 17px;
    padding: 12px 22px;
  }

  .hero-frame {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 100%;
    height: auto;
    max-height: calc(100svh - var(--nav-slot) - 56px);
    aspect-ratio: 1280 / 561;
    border-radius: 18px;
    overflow: hidden;
    background: #efeee9;
  }

  .hero-frame img {
    object-fit: contain;
    object-position: center center;
  }

  .why {
    padding: 48px 0 12px;
  }

  .why-cards {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-top: 20px;
  }

  .why-cards article {
    padding: 18px 18px 20px;
  }

  .features {
    padding: 40px 0 12px;
  }

  .feats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }

  .feat {
    grid-column: span 2;
    padding: 18px 18px 20px;
  }

  .feat:nth-child(4),
  .feat:nth-child(5) {
    grid-column: span 3;
  }

  .bs {
    height: 188px;
  }

  .price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }

  .card {
    padding: 26px 24px 22px;
  }

  .pricing {
    padding: 40px 0 40px;
  }

  .pricing-bg {
    opacity: 0.18;
  }

  .faq {
    padding: 8px 0 32px;
  }

  .faq summary {
    font-size: 17px;
  }

  .faq details p,
  .faq details ul {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (min-width: 1440px) {
  :root {
    --page: 86rem;
    --page-gutter: 32px;
  }

  .hero {
    grid-template-columns: minmax(24rem, 36rem) minmax(0, 1fr);
    column-gap: 36px;
    padding: 24px 0 40px;
  }

  .hero-brand h1 {
    font-size: clamp(2.6rem, 3vw, 3.25rem);
    white-space: nowrap;
  }

  .hero-brand h2 {
    font-size: 1.45rem;
  }

  .hero .sub {
    font-size: 1.2rem;
  }
}

@media (max-height: 500px) and (max-width: 960px) {
  .hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, auto) minmax(0, 1fr);
    height: calc(100svh - var(--nav-slot));
  }

  .hero-stage {
    display: contents;
    min-height: 0;
  }

  .hero-frame {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #efeee9;
  }

  .early-bar {
    margin: 4px 10px 0;
    padding: 0 10px;
  }

  .early-bar a {
    min-height: 36px;
    font-size: 13px;
  }

  .hero-brand {
    position: static;
    text-align: left;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 10px 12px;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    left: auto;
    right: auto;
    top: auto;
  }

  .hero-brand h1 {
    font-size: clamp(1.4rem, 3.8vw, 1.95rem);
  }

  .hero-brand h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .hero .sub {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 550;
    max-width: none;
    line-height: 1.45;
  }

  .hero .btn-primary {
    display: inline-flex;
  }

  .hero .ctas,
  .hero-brand .ctas {
    flex-direction: row;
    max-width: none;
    margin-inline: 0;
    justify-content: flex-start;
  }

  .hero .btn {
    min-height: 44px;
    min-width: 0;
    font-size: 15px;
    padding: 8px 14px;
  }

  .why-cards {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: 1fr;
    grid-auto-columns: 70%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
  }

  .why-cards article,
  .why-cards article:last-child {
    grid-column: auto;
    scroll-snap-align: start;
  }

  .feats {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: 1fr;
    grid-auto-columns: 70%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
  }

  .feat {
    scroll-snap-align: start;
    grid-column: auto;
  }

  .bs {
    height: 160px;
    transform: scale(0.75);
    transform-origin: top center;
    margin-bottom: -40px;
  }

  .swipe-hint {
    display: block;
  }

  .cta-sticky {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bs *,
  .bs::before,
  .bs *::before,
  .bs *::after {
    animation: none !important;
  }

  .demo-sell .fly {
    opacity: 0;
  }

  .demo-sell .line {
    transform: scaleX(1);
    opacity: 1;
  }

  .demo-sell .shelf i.gone {
    opacity: 0;
  }

  .demo-stores .tag {
    left: 72%;
    transform: rotate(10deg);
  }

  .demo-stores .shop.b .win {
    background: #ccfbf1;
    box-shadow: 0 0 14px rgba(94, 234, 212, 0.75);
  }

  .demo-stall .phone {
    transform: translateY(78px) rotate(0deg);
    opacity: 1;
  }

  .demo-stall .badge {
    opacity: 1;
    transform: scale(1);
  }

  .demo-browser .lid::after,
  .demo-browser .bezel::after {
    opacity: 1;
    background: #5eead4;
  }

  .demo-pay .ok {
    transform: scale(1);
    opacity: 1;
  }

  .demo-pay .pay-card {
    transform: translateY(38px) rotate(0deg);
    opacity: 1;
  }

  .demo-pay .term {
    box-shadow: inset 0 0 0 2px #5eead4, 0 0 16px rgba(94, 234, 212, 0.5);
  }

  .demo-pay .pad-tot {
    background: #5eead4;
  }

  .demo-look .bar {
    transform: scaleY(1);
    opacity: 1;
  }

  .demo-look .tick {
    transform: scale(1);
    opacity: 1;
  }

  .demo-pin .lock,
  .demo-pin .ok {
    transform: scale(1);
    opacity: 1;
  }

  .demo-pin .dots i {
    background: #5eead4;
  }

  .demo-firm .reg {
    transform: translateY(0);
    opacity: 1;
  }

  .demo-firm .extra {
    opacity: 0;
  }

  .demo-firm .no {
    transform: scale(1);
    opacity: 1;
  }
}
