/* One screen, no scrolling: everything is sized from the window. White + orange, like the POS. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #fff7ef; color: #3b2416; }
body { font-family: ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.page {
  height: 100dvh; max-width: 980px; margin: 0 auto; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 3.2vh, 34px);
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.top { display: flex; align-items: center; justify-content: center; gap: 14px; }
.logo { width: clamp(44px, 7vh, 64px); height: auto; border-radius: 16px; box-shadow: 0 8px 22px -10px #f2701d; }
h1 { font-size: clamp(22px, 4.2vh, 36px); font-weight: 900; letter-spacing: -0.02em; }
.sub { font-size: clamp(13px, 2vh, 17px); opacity: 0.65; font-weight: 600; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 20px); min-height: 0; }
.card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(4px, 1vh, 10px);
  padding: clamp(14px, 3.4vh, 34px) clamp(12px, 2vw, 24px); border-radius: 26px; background: #fff; color: inherit; text-decoration: none;
  border: 2px solid #ffedd5; box-shadow: 0 10px 30px -18px rgba(124, 45, 18, 0.45); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(124, 45, 18, 0.55); }
.card:active { transform: scale(0.98); }
.card.best { border-color: #f2701d; background: linear-gradient(180deg, #fff, #fff7ef); }
.badge { visibility: hidden; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: #f2701d; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.card.best .badge { visibility: visible; }
.icon { width: clamp(40px, 8vh, 72px); height: clamp(40px, 8vh, 72px); fill: none; stroke: #f2701d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.name { font-size: clamp(18px, 3.2vh, 28px); font-weight: 900; }
.what { font-size: clamp(12px, 1.8vh, 15px); opacity: 0.6; font-weight: 600; }
.btn {
  margin-top: clamp(4px, 1.2vh, 12px); display: inline-flex; align-items: center; gap: 8px; height: clamp(44px, 6.4vh, 56px); padding: 0 clamp(18px, 2.6vw, 30px);
  border-radius: 16px; font-weight: 800; font-size: clamp(15px, 2.2vh, 18px); background: #ffedd5; color: #c2410c;
}
.card.best .btn { background: linear-gradient(135deg, #ffb067, #f2701d 55%, #c2410c); color: #fff; box-shadow: 0 10px 22px -10px #f2701d; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.meta { font-size: 12px; opacity: 0.5; font-weight: 700; min-height: 1em; }
.card.off { opacity: 0.45; pointer-events: none; }

.steps { list-style: none; display: flex; justify-content: center; gap: clamp(8px, 2vw, 22px); flex-wrap: wrap; font-size: clamp(12px, 1.9vh, 15px); font-weight: 700; }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f2701d; color: #fff; font-size: 13px; }
.foot { text-align: center; font-size: 12px; opacity: 0.5; font-weight: 600; }

/* phones held upright: the best choice first and bigger, the other one compact */
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card:not(.best) { flex-direction: row; justify-content: space-between; text-align: left; padding: 12px 14px; gap: 10px; }
  .card:not(.best) .icon { width: 34px; height: 34px; }
  .card:not(.best) .what, .card:not(.best) .meta { display: none; }
  .card:not(.best) .name { font-size: 17px; flex: 1; }
  .card:not(.best) .btn { margin: 0; height: 42px; padding: 0 14px; }
  .card.best { order: -1; }
  .steps { flex-direction: column; align-items: flex-start; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
