:root {
  --bg: #f5f5f0;
  --paper: #ffffff;
  --ink: #191919;
  --muted: #575757;
  --line: #191919;
  --orange: #ff5c00;
  --cyan: #00f0ff;
  --lime: #bfff00;
  --red: #ff4444;
  --soft-blue: #e5f5ff;
  --soft-green: #e8ffe5;
  --shadow: 4px 4px 0 #191919;
  font-family: Inter, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

.page-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(25,25,25,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(25,25,25,.04) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  overflow-x: hidden;
  padding-bottom: 96px;
}

.marquee {
  overflow: hidden;
  border-bottom: 3px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marqueeMove 18s linear infinite;
}

.marquee span {
  padding: 9px 16px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  background: rgba(245, 245, 240, .92);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand-mark, .store-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.search-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--line);
}

.brand-name {
  margin: 0;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.brand-sub {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.topbar-cta {
  padding: 7px 10px;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 2px 2px 0 var(--line);
}

.cart-btn {
  position: relative;
  margin-left: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.cart-btn span {
  position: absolute;
  right: -3px;
  top: -3px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
}

.hero {
  margin: 16px 16px 18px;
  padding: 0;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  padding: 17px 16px 16px;
  border-top: 3px solid var(--line);
  background: #fff;
}

.micro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
}

.micro-tags span {
  padding: 6px 9px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 950;
  box-shadow: 2px 2px 0 var(--line);
}

.micro-tags span:nth-child(2) { background: var(--soft-blue); }
.micro-tags span:nth-child(3) { background: var(--orange); color: #fff; }

.market-category {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.market-category strong {
  color: var(--ink);
}

.market-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.market-rating > span {
  padding: 4px 8px;
  border: 2px solid var(--line);
  background: var(--red);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 2px 2px 0 var(--line);
}

.stars {
  color: #ffd700;
  -webkit-text-stroke: 1px var(--line);
  font-size: 14px;
  letter-spacing: 1px;
}

.market-rating small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.pill, .eyebrow {
  display: inline-flex;
  width: max-content;
  margin: 0 0 12px;
  padding: 7px 11px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--lime);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--line);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 14px;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 950;
}

h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 950;
}

h3 {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 950;
}

.hero-lead, .muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.hero-price {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 16px 0 10px;
}

.hero-price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-decoration: line-through;
}

.hero-price strong {
  color: var(--ink);
  font-size: 46px;
  line-height: .9;
  letter-spacing: -1px;
  font-weight: 950;
}

.stock-meter {
  margin: 0 0 14px;
}

.stock-meter div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.stock-meter b {
  color: var(--red);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.stock-meter span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.stock-meter i {
  display: block;
  height: 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 0 92%, #ffe5e5 92% 100%);
  box-shadow: inset 0 2px 3px rgba(0,0,0,.16);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 20px 0 18px;
}

.primary-btn, .secondary-btn, .submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 16px;
  border: 3px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  box-shadow: var(--shadow);
}

.primary-btn, .submit-btn {
  background: var(--orange);
  color: #fff;
}

.secondary-btn {
  background: var(--paper);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}

.hero-stats div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--line);
}

.hero-stats strong {
  display: inline;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

.hero-stats span {
  display: inline;
  margin-top: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
}

.hero-stats div:nth-child(2) {
  background: var(--orange);
}

.product-card, .warning, .store-card, .order-summary, .order-form {
  border: 3px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-card {
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.wifi-scene {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.wifi-scene:before {
  content: none;
}

.product-badge {
  display: none;
}

.product-badge.top-left {
  left: 14px;
  top: 14px;
  background: var(--orange);
  color: #fff;
  transform: rotate(-3deg);
}

.product-badge.top-right {
  right: 14px;
  top: 18px;
  background: var(--lime);
  transform: rotate(3deg);
}

.product-photo-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.product-photo-frame + .extender-device {
  display: none;
}

.router-mini {
  display: none;
}

.router-mini span {
  position: absolute;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.router-mini span:nth-child(1) { left: 18px; }
.router-mini span:nth-child(2) { left: 36px; }
.router-mini span:nth-child(3) { left: 54px; }

.signal-line {
  display: none;
}
.line-a { bottom: 78px; width: 188px; transform: rotate(-17deg); }
.line-b { bottom: 116px; width: 148px; transform: rotate(-8deg); background: var(--lime); }

.extender-device {
  position: relative;
  width: 150px;
  height: 210px;
}

.antenna {
  position: absolute;
  top: -28px;
  width: 26px;
  height: 76px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.antenna.left { left: 10px; transform: rotate(-23deg); }
.antenna.right { right: 10px; transform: rotate(23deg); }

.plug {
  position: absolute;
  right: -18px;
  top: 82px;
  width: 28px;
  height: 52px;
  border: 3px solid var(--line);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  background: #fff;
}

.device-face {
  position: absolute;
  inset: 24px 12px 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  padding: 24px 14px 18px;
  border: 4px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--line);
}

.device-logo {
  padding: 7px 10px;
  border: 3px solid var(--line);
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.led-row {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.led-row i {
  width: 10px;
  height: 10px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--lime);
}

.wifi-icon {
  position: relative;
  width: 72px;
  height: 54px;
}
.wifi-icon span {
  position: absolute;
  left: 50%;
  bottom: 0;
  border: 4px solid var(--line);
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
  transform: translateX(-50%);
}
.wifi-icon span:nth-child(1) { width: 18px; height: 12px; background: var(--cyan); }
.wifi-icon span:nth-child(2) { width: 42px; height: 28px; }
.wifi-icon span:nth-child(3) { width: 68px; height: 46px; }

.stock-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-top: 3px solid var(--line);
  background: var(--ink);
  color: #fff;
  font-weight: 950;
  display: none;
}
.stock-strip span { color: var(--cyan); }

.warning {
  display: flex;
  gap: 10px;
  margin: 0 16px;
  padding: 14px;
  background: #ffe5e5;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}
.warning strong { color: var(--red); white-space: nowrap; }

.market-card {
  margin: 0 16px 16px;
  padding: 0;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.market-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 3px solid var(--line);
}

.market-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 950;
  box-shadow: 3px 3px 0 var(--line);
}

.market-card h2 {
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.05;
}

.market-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.market-visit {
  padding: 8px 10px;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 2px 2px 0 var(--line);
  cursor: pointer;
}

.market-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 14px;
  border: 3px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--line);
}

.market-metrics span {
  padding: 13px 6px;
  border: 0;
  border-right: 3px solid var(--line);
  border-radius: 0;
  background: #fff;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.market-metrics span:last-child {
  border-right: 0;
}

.market-metrics strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 1;
}

.attention-card {
  position: relative;
  align-items: flex-start;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.55) 42%, transparent 52%),
    #ffe5e5;
  background-size: 230% 100%, auto;
  animation: warningSweep 3.2s ease-in-out infinite;
  overflow: hidden;
}

.attention-card:before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 rgba(255,68,68,.35);
  animation: warningInsetPulse 1.8s ease-in-out infinite;
}

.warning-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 3px 3px 0 var(--line);
  animation: warningIconPop 1.35s ease-in-out infinite;
}

.attention-card strong {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  animation: warningBadgeTilt 1.7s ease-in-out infinite;
}

.attention-card h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 7px;
  font-size: 21px;
}

.attention-card h2:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  z-index: -1;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--lime);
  transform-origin: left center;
  animation: warningUnderline 2.4s ease-in-out infinite;
}

.attention-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

@keyframes warningSweep {
  0%, 100% { background-position: 130% 0, 0 0; }
  45%, 55% { background-position: -30% 0, 0 0; }
}

@keyframes warningInsetPulse {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255,68,68,.22); }
  50% { box-shadow: inset 0 0 0 6px rgba(255,68,68,.18); }
}

@keyframes warningIconPop {
  0%, 100% { transform: translate(0, 0) rotate(0deg); box-shadow: 3px 3px 0 var(--line); }
  35% { transform: translate(-1px, -2px) rotate(-5deg); box-shadow: 5px 5px 0 var(--line); }
  58% { transform: translate(1px, 1px) rotate(4deg); box-shadow: 2px 2px 0 var(--line); }
}

@keyframes warningBadgeTilt {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-1px); }
}

@keyframes warningUnderline {
  0%, 100% { transform: scaleX(.22); opacity: .35; }
  45%, 65% { transform: scaleX(1); opacity: 1; }
}

.section {
  padding: 30px 16px 0;
}

.section-head {
  margin-bottom: 14px;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article, .benefit-list div, .spec-grid div {
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--line);
}

.steps article {
  position: relative;
  padding: 16px;
}

.steps b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--cyan);
  font-weight: 950;
}

.setup-timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
}

.setup-timeline b {
  grid-row: span 3;
}

.setup-timeline i {
  position: absolute;
  right: 14px;
  top: 12px;
  font-style: normal;
  font-size: 24px;
}

.setup-timeline .done-step {
  background: var(--soft-green);
}

.setup-timeline .done-step b {
  background: var(--lime);
}

.steps p, .benefit-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.feature-stack article {
  margin-bottom: 12px;
  padding: 16px;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 3px solid var(--line);
  border-radius: 13px;
  background: var(--cyan);
  font-size: 24px;
  box-shadow: 3px 3px 0 var(--line);
}

.feature-stack article:nth-of-type(2) .feature-icon { background: var(--lime); }
.feature-stack article:nth-of-type(3) .feature-icon { background: var(--orange); }

.feature-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

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

.benefit-list {
  display: grid;
  gap: 10px;
}
.benefit-list div {
  display: flex;
  gap: 12px;
  padding: 14px;
}
.benefit-list span {
  color: var(--orange);
  font-weight: 950;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.spec-grid div {
  padding: 14px;
}
.spec-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.spec-grid strong {
  font-size: 14px;
  line-height: 1.25;
}

.store-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 30px 16px 0;
  padding: 16px;
}
.store-card h2 {
  margin: 0 0 4px;
  font-size: 19px;
}
.store-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.store-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.store-metrics span {
  padding: 10px 8px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--soft-blue);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}
.store-metrics strong {
  display: block;
  font-size: 14px;
}

.order-section {
  display: grid;
  gap: 14px;
  padding: 30px 16px 0;
}

.order-summary, .order-form {
  padding: 18px;
}

.price-row {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 14px 0;
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 14px;
}

.offer-row span {
  padding: 9px 8px;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: var(--lime);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  box-shadow: 2px 2px 0 var(--line);
}

.offer-row span:first-child {
  background: #ffe5e5;
  color: var(--red);
}
.price-row span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 900;
  text-decoration: line-through;
}
.price-row strong {
  color: var(--orange);
  font-size: 34px;
  line-height: .95;
  font-weight: 950;
}

.order-summary ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 750;
}

.form-title {
  margin-bottom: 18px;
  padding: 15px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
}
.form-title h2 {
  margin-bottom: 5px;
  padding-right: 38px;
  font-size: 20px;
}
.form-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.support-note,
.guide-note {
  margin-top: 12px;
  padding: 11px 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 900;
  box-shadow: 2px 2px 0 var(--line);
}

.guide-note {
  text-align: center;
  background: var(--bg);
}

.order-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 950;
}

.order-form > label {
  padding-bottom: 2px;
}

.order-form > label::first-line {
  font-size: 12px;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--line);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  box-shadow: 3px 3px 0 var(--cyan);
}

fieldset {
  margin: 17px 0 14px;
  padding: 0;
  border: 0;
}
legend {
  width: max-content;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--line);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.payment-grid label {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 84px;
  margin: 0;
  padding: 13px 7px 11px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: rgba(25, 25, 25, .52);
  box-shadow: none;
  text-align: center;
  cursor: pointer;
  transition: all .15s ease;
}

.payment-grid em {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 7px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 8px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--line);
}

.payment-grid label:has(input:checked) {
  background: var(--orange);
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--line);
}

.payment-grid label:has(input[value="COD"]:checked) {
  background: #fff;
  color: var(--ink);
}

.payment-grid label:has(input[value="QRIS"]:checked) {
  background: var(--lime);
  color: var(--ink);
}
.payment-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  padding: 0;
  box-shadow: none;
}

.payment-grid label > span {
  font-size: 13px;
  line-height: 1.15;
  font-weight: 950;
}
.payment-grid small {
  color: inherit;
  opacity: .72;
  font-size: 10px;
  font-weight: 850;
}

.payment-info {
  display: none;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.payment-info.show {
  display: block;
  animation: fadeIn .25s ease-out both;
}

.pay-panel {
  padding: 14px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #e9e9e1;
  box-shadow: 3px 3px 0 var(--line);
}

.pay-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  padding-bottom: 9px;
  border-bottom: 3px solid var(--line);
}

.pay-panel-head strong {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.pay-panel-head span {
  padding: 4px 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--lime);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 2px 2px 0 var(--line);
}

.bank-panel {
  display: grid;
  gap: 9px;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.bank-row b,
.bank-row small {
  display: block;
}

.bank-row b {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 950;
}

.bank-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.copy-bank,
.qris-panel a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--line);
  cursor: pointer;
}

.bank-panel p,
.qris-panel p,
.cod-panel p,
.cod-panel small {
  margin: 0;
}

.bank-panel p {
  padding-top: 2px;
  font-size: 12px;
  font-weight: 950;
}

.qris-panel {
  text-align: center;
}

.qris-panel img {
  display: block;
  width: 178px;
  height: 178px;
  object-fit: cover;
  margin: 12px auto;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.qris-panel p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.qris-panel a {
  display: inline-block;
}

.cod-panel {
  background: #ffe3e3;
}

.cod-panel p {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.cod-panel small {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
}

.total-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 15px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
}

.summary-title {
  width: max-content;
  margin: 0 0 2px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--line);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.total-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 850;
}

.free-badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--orange);
  font-weight: 950;
}

.summary-divider {
  height: 3px;
  margin: 2px 0;
  background: var(--line);
}

.grand-total span {
  align-self: center;
}

.grand-total strong {
  color: var(--orange);
  font-size: 22px;
}

.promise {
  display: none !important;
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  margin: 12px 0 0 !important;
  padding: 12px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #ffe5e5;
  box-shadow: 3px 3px 0 var(--line);
}
.promise.show { display: grid !important; }
.promise input {
  width: 18px;
  height: 18px;
  padding: 0;
  box-shadow: none;
}
.promise span {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
}

.submit-btn {
  width: 100%;
  min-height: 56px;
  position: static;
  margin-top: 14px;
  background: var(--orange);
  color: #fff;
  border: 3px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 950;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.submit-btn:disabled {
  opacity: .65;
  cursor: wait;
}
.form-note {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(25,25,25,.78);
}
.success-modal.show { display: flex; }
.modal-card {
  position: relative;
  width: min(100%, 360px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  border: 4px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--line);
  text-align: center;
}
.modal-card h2 {
  margin-bottom: 8px;
}
.modal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}

.checkout-modal {
  z-index: 110;
  background: rgba(25,25,25,.82);
  backdrop-filter: blur(10px);
}

.checkout-card {
  width: min(100%, 380px);
  padding: 22px;
}

.modal-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 4px solid var(--line);
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 28px;
  font-weight: 950;
  box-shadow: 4px 4px 0 var(--line);
}

.checkout-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.checkout-card > div > p,
.modal-muted {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 850;
}

.payment-total-box {
  margin: 14px 0;
  padding: 13px;
  border: 3px dashed var(--line);
  border-radius: 14px;
  background: rgba(255,92,0,.18);
}

.payment-total-box span,
.payment-total-box p {
  display: block;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-total-box strong {
  display: block;
  color: var(--ink);
  font-size: 25px;
  font-weight: 950;
}

.modal-warning {
  color: var(--red) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  text-transform: uppercase;
  animation: pulseText 1.4s ease-in-out infinite;
}

@keyframes pulseText {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.modal-qris {
  display: inline-block;
  margin: 8px auto 10px;
  padding: 10px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.modal-qris img {
  width: 190px;
  height: 190px;
  object-fit: cover;
}

.modal-save,
.checkout-confirm {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--line);
  cursor: pointer;
}

.modal-save {
  background: #fff;
  color: var(--ink);
}

.modal-section-title {
  margin: 14px 0 8px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--line);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.modal-bank-list {
  display: grid;
  gap: 8px;
  text-align: left;
}

.modal-bank-list p {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-list article {
  padding: 16px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.review-list article > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-list b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.review-list span {
  min-width: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
}

.review-list small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.review-list em {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.review-list strong {
  display: block;
  margin-bottom: 8px;
  color: #ffd700;
  -webkit-text-stroke: 1px var(--line);
  letter-spacing: 1px;
}

.review-list p {
  margin: 0;
  color: rgba(25,25,25,.8);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

@media (min-width: 760px) {
  .page-shell {
    width: min(100%, 1120px);
  }
  .hero, .split, .order-section {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }
  .hero {
    display: grid;
    gap: 28px;
    padding: 46px 28px 24px;
  }
  h1 { font-size: 62px; }
  .section, .order-section { padding-left: 28px; padding-right: 28px; }
  .steps, .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .store-card, .warning { margin-left: 28px; margin-right: 28px; }
  .benefit-list { grid-template-columns: 1fr 1fr; }
}

/* Connecta mobile-only ecommerce flow */
button {
  border: 0;
  color: inherit;
}

.topbar-cta,
.primary-btn,
.secondary-btn,
.submit-btn {
  border: 3px solid var(--line);
  cursor: pointer;
}

.problem-section {
  position: relative;
}

.signal-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.signal-meter div {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 42px;
}

.signal-meter span {
  width: 18px;
  border: 3px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #e5e5df;
}

.signal-meter span:nth-child(1) { height: 14px; background: var(--red); }
.signal-meter span:nth-child(2) { height: 22px; }
.signal-meter span:nth-child(3) { height: 31px; }
.signal-meter span:nth-child(4) { height: 40px; }

.signal-meter strong {
  padding: 7px 11px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #ffe5e5;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.problem-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.problem-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
}

.problem-list b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  line-height: 1;
}

.problem-list p {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.flow-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 14px;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.flow-node {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px;
  border: 3px solid var(--line);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.flow-node.router { background: var(--ink); color: #fff; }
.flow-node.connecta { background: var(--orange); color: #fff; }
.flow-node.room { background: var(--lime); }

.flow-wave {
  display: grid;
  gap: 5px;
}

.flow-wave span {
  display: block;
  width: 24px;
  height: 8px;
  border: 3px solid var(--line);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--cyan);
}

.benefit-list strong {
  color: var(--ink);
  font-weight: 950;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.package-grid div {
  min-height: 94px;
  padding: 12px 8px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--line);
  text-align: center;
}

.package-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.package-grid span {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
}

.faq-section details {
  margin-bottom: 10px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
  overflow: hidden;
}

.faq-section summary {
  padding: 14px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
}

.faq-section details p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.order-summary .primary-btn {
  width: 100%;
  margin-top: 18px;
  border: 3px solid var(--line);
}

.sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 520px);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  border-top: 3px solid var(--line);
  background: #fff;
}

.sticky-buy {
  width: 100%;
  min-height: 58px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 5px 5px 0 var(--line);
  cursor: pointer;
}

.order-drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
}

.order-drawer.show {
  display: block;
}

.order-drawer.show .drawer-backdrop {
  animation: fadeIn .25s ease-out both;
}

.order-drawer.show .drawer-panel {
  animation: slideUp .35s cubic-bezier(.16, 1, .3, 1) both;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25,25,25,.72);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 520px);
  height: 90vh;
  transform: translateX(-50%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 4px solid var(--line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: var(--bg);
  box-shadow: 0 -6px 0 var(--line);
}

.drawer-handle {
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-bottom: 3px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: #fff;
  cursor: pointer;
}

.drawer-handle span {
  width: 48px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
}

.drawer-close {
  position: absolute;
  top: 9px;
  right: 15px;
  z-index: 4;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 2px 2px 0 var(--line);
  cursor: pointer;
}

.drawer-panel .order-form {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 18px 18px 34px;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

.drawer-product {
  display: flex;
  gap: 13px;
  margin-bottom: 16px;
  padding: 13px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
}

.drawer-product-img {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.drawer-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawer-product span {
  display: inline-block;
  margin-bottom: 5px;
  padding: 3px 7px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
}

.drawer-product h3 {
  margin: 0 0 7px;
  padding-right: 36px;
  font-size: 15px;
  line-height: 1.15;
}

.drawer-product strong {
  color: var(--orange);
  font-size: 18px;
  font-weight: 950;
}

body.drawer-open {
  overflow: hidden;
}

@media (min-width: 760px) {
  .page-shell {
    width: min(100%, 520px);
  }
  .hero,
  .split,
  .order-section {
    display: block;
  }
  .hero {
    padding: 28px 16px 18px;
  }
  h1 { font-size: 43px; }
  .section,
  .order-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .steps,
  .spec-grid {
    grid-template-columns: none;
  }
  .store-card,
  .warning {
    margin-left: 16px;
    margin-right: 16px;
  }
  .benefit-list {
    grid-template-columns: none;
  }
}

/* Final drawer safety overrides */
.order-drawer .drawer-panel {
  height: min(90vh, 760px) !important;
  overflow: hidden !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
}

.order-drawer .drawer-panel .order-form {
  position: relative !important;
  overflow-y: auto !important;
  padding: 18px 18px 38px !important;
  scroll-padding-bottom: 28px !important;
}

.order-drawer .drawer-panel .submit-btn {
  position: relative !important;
  inset: auto !important;
  bottom: auto !important;
  top: auto !important;
  z-index: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 16px 0 0 !important;
  transform: none !important;
}

.order-drawer .drawer-close {
  top: 8px !important;
  right: 14px !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  transform: none !important;
}

.order-drawer .payment-info,
.order-drawer .total-card {
  overflow: visible !important;
}
