/* BioPulse AI — clean Wellmy-like wellness UI */

:root {
  --bg: #0a0c14;
  --bg-2: #10141e;
  --ink: #f4f6fb;
  --muted: #9aa3b5;
  --dim: #6b7385;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #3b82f6;
  --blue: #3b82f6;
  --emerald: #34d399;
  --red: #e45a73;
  --gold: #f5c542;
  --card: #121826;
  --glass: rgba(16, 20, 30, 0.86);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Inter", system-ui, sans-serif;
  --max: 430px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}

body {
  min-height: 100dvh;
}

button,
input,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
}

#app {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 100dvh;
  min-height: 100svh;
  max-width: 100%;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

#app::before {
  display: none;
}

.screen {
  display: none;
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  min-height: 100svh;
  padding: calc(18px + var(--safe-t)) 16px calc(24px + var(--safe-b));
  animation: fadeUp 0.45s ease both;
  max-width: 100%;
  overflow-x: hidden;
}

.screen.active {
  display: block;
}

.screen.scan-screen,
.screen.checkout-screen,
.screen.guide-screen {
  padding: 0;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hud-corners {
  display: none !important;
  pointer-events: none;
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  z-index: 2;
}

.hud-corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--cyan);
  opacity: 0.55;
}

.hud-corners span:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}
.hud-corners span:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}
.hud-corners span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}
.hud-corners span:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

/* Landing */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 0;
  display: grid;
  place-items: center;
  color: #e45a73;
  box-shadow: none;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: blink 1.6s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  border: 1px solid rgba(0, 242, 254, 0.18);
  box-shadow:
    0 0 0 18px rgba(0, 242, 254, 0.04),
    0 0 60px rgba(0, 242, 254, 0.12);
  pointer-events: none;
  animation: pulseRing 4.8s ease-in-out infinite;
}

@keyframes pulseRing {
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), #7cf7ff 40%, var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 18px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.trust-row article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}

.trust-row strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cyan);
}

.trust-row span {
  display: block;
  font-size: 0.68rem;
  color: var(--dim);
  margin-top: 3px;
}

.proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 100%;
}

.avatars {
  display: flex;
}

.avatars b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #0b0f17;
  margin-left: -6px;
  display: block;
  background: linear-gradient(135deg, #134, #0a8);
}

.avatars b:first-child {
  margin-left: 0;
  background: linear-gradient(135deg, #1a4, #0cf);
}
.avatars b:nth-child(2) {
  background: linear-gradient(135deg, #412, #f84);
}
.avatars b:nth-child(3) {
  background: linear-gradient(135deg, #225, #6af);
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

.cta-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  font-weight: 650;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:focus-visible,
.chip:focus-visible,
.icon-btn:focus-visible,
.plan:focus-visible,
.linkish:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: #3b82f6;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.features {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 242, 254, 0.08);
  color: var(--cyan);
  flex-shrink: 0;
}

.feature h3 {
  margin: 0 0 2px;
  font-size: 0.92rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.accordion {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  margin-bottom: 20px;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion .body {
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.accordion .body p {
  margin: 0 0 8px;
}

.fineprint {
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 0;
}

/* Scan HUD
   Mobile Safari: NEVER transform <video> or an ancestor (black camera feed).
   NEVER overflow:hidden on a video parent. Pin video with position:fixed. */

body.on-scan,
body.on-scan #app,
body.on-scan .scan-screen {
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  max-width: none;
}

body.on-scan #app {
  background: #000;
  height: 100dvh;
  height: -webkit-fill-available;
}

.scan-screen.active {
  display: flex !important;
  flex-direction: column;
  background: transparent;
  height: 100dvh;
  height: 100svh;
  min-height: -webkit-fill-available;
  animation: none !important;
  transform: none !important;
  position: relative;
}

body.on-scan .hud-corners,
body.on-scan #app::before {
  display: none !important;
}

/* Camera is a hit-test/visual layer ONLY during scan. */
body:not(.on-scan) #cam-stack,
body:not(.on-scan) #cam-mirror,
body:not(.on-scan) #camera,
body:not(.on-scan) #viewfinder,
body:not(.on-scan) #overlay-canvas {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  inset: auto !important;
  position: absolute !important;
}

body:not(.on-scan) #fakecam-src {
  display: none !important;
}

body.on-scan #cam-stack {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
  isolation: auto;
}

#cam-mirror {
  position: absolute;
  inset: 0;
  transform: none;
  -webkit-transform: none;
}

/* Mirror on a wrapper, never on <video> (iOS blacks transformed video). */
body.on-scan.cam-flip #cam-mirror {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}

body.on-scan #camera,
body.on-scan #viewfinder {
  pointer-events: none;
  border: 0;
  padding: 0;
  margin: 0;
  transform: none !important;
  -webkit-transform: none !important;
}

body.on-scan,
body.on-scan * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.on-scan #camera {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  z-index: 0;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

body.on-scan #viewfinder {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.scan-stage {
  position: relative;
  flex: 1;
  min-height: 60dvh;
  background: transparent !important;
  overflow: visible;
  z-index: 2;
  isolation: auto;
  mix-blend-mode: normal;
  filter: none;
  pointer-events: none;
  box-shadow: none;
}

#overlay-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: transparent !important;
  display: none !important;
  transform: none;
}

.progress-wrap {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(78%, 320px);
  aspect-ratio: 3 / 3.7;
  pointer-events: none;
  z-index: 3;
}

.progress-wrap svg {
  width: 100%;
  height: 100%;
}

.scan-hud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scan-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(10px + var(--safe-t)) 12px 0;
  pointer-events: none;
}

.scan-hud-top .icon-btn {
  pointer-events: auto;
}

.scan-chip {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
}

.scan-hud-mid {
  text-align: center;
  padding: 0 16px 8px;
  pointer-events: none;
}

#btn-video-play {
  pointer-events: auto;
  display: inline-flex;
  margin: 14px auto 0;
  max-width: 280px;
}

#btn-video-play.hidden {
  display: none !important;
}

.scan-hud-mid .bpm-live {
  font-family: var(--mono);
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  line-height: 1;
}

.scan-hud-mid .bpm-live small {
  font-size: 0.8rem;
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.75);
}

.scan-hud-mid p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.scan-dock {
  position: relative;
  z-index: 6;
  background: #070b12;
  padding: 8px 16px calc(12px + var(--safe-b));
}

.wave-card {
  background: #0c121c;
  border-radius: 14px;
  padding: 10px 12px 8px;
}

.wave-card header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}

#wave-canvas {
  width: 100%;
  height: 64px;
  display: block;
}

#sample-canvas {
  display: none;
}

.scan-denied,
.scan-waiting {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(10, 12, 20, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  pointer-events: auto;
}

.scan-waiting {
  background: #0a0c14;
  pointer-events: none;
}

.scan-waiting-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

body.cam-ready #scan-waiting {
  display: none !important;
}

.scan-denied.hidden,
.scan-waiting.hidden {
  display: none !important;
}

.scan-denied h2 {
  margin: 0 0 8px;
}

.scan-denied p {
  color: var(--muted);
}

/* Results */

.section-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 6px;
}

.bpm-hero {
  text-align: center;
  padding: 8px 0 18px;
}

.bpm-ring {
  width: 210px;
  height: 210px;
  margin: 0 auto 8px;
  position: relative;
}

.bpm-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.bpm-ring .readout {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.bpm-ring .readout strong {
  font-family: var(--mono);
  font-size: 3.2rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.bpm-ring .readout span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}

.metric b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
}

.metric span {
  display: block;
  font-size: 0.68rem;
  color: var(--dim);
  margin-top: 4px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.78rem;
}

.chip.active {
  color: #fff;
  background: #3b82f6;
  border-color: #3b82f6;
  font-weight: 650;
}

.insight {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.insight h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.insight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.teasers {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.teaser {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 14px;
  min-height: 118px;
}

.teaser.locked .blur-target {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
}

.teaser h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lock-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(7, 10, 16, 0.28);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
  gap: 6px;
}

.chart {
  height: 72px;
  width: 100%;
}

.sticky-cta {
  position: sticky;
  bottom: calc(8px + var(--safe-b));
  z-index: 5;
}

/* Paywall */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(3, 6, 10, 0.72);
  backdrop-filter: blur(10px);
}

.modal.open {
  display: grid;
  place-items: end center;
}

.sheet {
  width: 100%;
  max-width: var(--max);
  max-height: min(90dvh, 820px);
  overflow: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, #121826, #0b0f17);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  padding: 12px 16px calc(18px + var(--safe-b));
  animation: sheetIn 0.32s ease;
}

@keyframes sheetIn {
  from {
    transform: translateY(24px);
    opacity: 0.6;
  }
}

.grabber {
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  margin: 4px auto 12px;
}

.sheet h2 {
  font-family: var(--display);
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.sheet .sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 14px;
  line-height: 1.45;
}

.plans {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.plan {
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  color: inherit;
  width: 100%;
  position: relative;
}

.plan.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 242, 254, 0.25), 0 0 28px rgba(0, 242, 254, 0.12);
  background: rgba(0, 242, 254, 0.06);
}

.plan .badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--cyan);
  color: #041016;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

.plan .price {
  font-family: var(--mono);
  font-size: 1.6rem;
}

.plan .price small {
  font-size: 0.75rem;
  color: var(--muted);
}

.plan ul {
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.guarantee {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.disclaimer {
  font-size: 0.7rem;
  color: var(--dim);
  line-height: 1.45;
  margin: 10px 0 0;
}

/* Checkout — Wellmy-clean: whitespace, one CTA, no chrome */

.checkout-inner {
  padding: calc(8px + var(--safe-t)) 22px calc(36px + var(--safe-b));
  max-width: 100%;
  overflow-x: hidden;
}

.stripe-head,
.pay-brand {
  display: none;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin: 6px 0;
  min-width: 0;
}

.row span,
.row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.row.muted {
  color: var(--muted);
  font-size: 0.78rem;
}

.row.total {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 10px;
  font-weight: 700;
}

label.field {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}

label.field span {
  letter-spacing: 0.04em;
}

input,
input[type="text"],
input[type="tel"] {
  width: 100%;
  max-width: 100%;
  background: #0a1018;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-radius: 10px;
  padding: 14px 12px;
  font-size: 16px;
  min-height: 48px;
}

input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  border-color: #3b82f6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-error {
  color: var(--red);
  font-size: 0.8rem;
  min-height: 1.2em;
  margin: 0 0 8px;
}

.test-hint {
  font-size: 0.75rem;
  color: var(--dim);
  margin: 0 0 12px;
}

/* Success */

.success-mark {
  width: 84px;
  height: 84px;
  margin: 12px auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

.success-mark svg {
  width: 40px;
  height: 40px;
}

.receipt {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 16px 0;
  font-size: 0.88rem;
}

.unlocked-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.pdf-btn {
  margin-top: 8px;
}

/* Util */

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 480px) {
  #app {
    box-shadow: 0 0 0 1px rgba(0, 242, 254, 0.08), 0 30px 80px rgba(0, 0, 0, 0.45);
    min-height: 100dvh;
  }
}

/* Landmarks + signal badge */
.landmarks {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
}

body.cam-ready .landmarks {
  opacity: 1;
}

.lm-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.lm-dot.pulse {
  background: #ff0844;
  box-shadow: 0 0 16px #e45a73;
}

.signal-badge {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  flex: 0 0 auto;
}

.signal-badge.demo {
  color: #f5c542;
  border-color: rgba(245, 197, 66, 0.4);
  background: rgba(245, 197, 66, 0.1);
}

.signal-badge.live {
  color: var(--emerald);
}

/* App tabs */
.app-screen.vip {
  padding-bottom: calc(88px + var(--safe-b));
}

.app-panel {
  display: none;
}

.app-panel.active {
  display: block;
}

.app-tabs {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px 10px calc(10px + var(--safe-b));
  background: linear-gradient(180deg, transparent, #070b12 30%);
  z-index: 8;
}

.app-tabs .tab {
  border: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.92);
  color: var(--muted);
  border-radius: 12px;
  padding: 10px 6px;
  font-size: 0.72rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 48px;
}

.app-tabs .tab.active {
  color: #fff;
  background: #3b82f6;
  border-color: #3b82f6;
  font-weight: 700;
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  text-align: left;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: inherit;
}

.hi-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
}

.hi-top span,
.hi-meta,
.hi-mode {
  color: var(--muted);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.hi-mode {
  margin-top: 4px;
  color: var(--cyan);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede.tight {
  font-size: 0.88rem;
  margin: 0 0 12px;
}

.rec-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.rec-hero .btn-ghost {
  margin-top: 0;
}

#cta-paywall-close {
  margin-top: 8px;
}

.success-title {
  text-align: center;
  font-family: var(--display);
  font-size: 1.7rem;
  margin: 0 0 8px;
}

.btn-pay-sticky {
  position: sticky;
  bottom: calc(8px + var(--safe-b));
  z-index: 6;
}

.report-blurb {
  color: var(--muted);
  font-size: 0.85rem;
}

.detail-wave {
  margin-top: 10px;
}

.trust-row article {
  min-width: 0;
}

.trust-row strong {
  overflow-wrap: anywhere;
}

.checkout-screen.active {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pay-brand {
  flex-shrink: 0;
  font-size: 0.7rem;
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .bpm-ring {
    width: 180px;
    height: 180px;
  }
  .metrics {
    gap: 6px;
  }
  .metric {
    padding: 10px 4px;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .scan-chip {
    font-size: 0.58rem;
    padding: 5px 7px;
  }
}

.screen.lander {
  padding-bottom: calc(92px + var(--safe-b));
}

.store-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.store-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.store-meta h1 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 2px;
}

.store-sub,
.store-rating,
.store-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.store-rating {
  margin-top: 4px;
}

.btn-get {
  margin: 4px 0 8px;
  min-height: 52px;
  font-size: 1.05rem;
}

.store-note {
  text-align: center;
  margin-bottom: 18px;
}

.phone-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px 8px;
  padding: 4px 16px 16px;
}

.phone-shot {
  flex: 0 0 168px;
  scroll-snap-align: start;
  background: #070b12;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.phone-chrome {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 8px 10px 0;
  font-family: var(--mono);
}

.phone-body {
  height: 220px;
  margin: 8px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.shot-scan {
  background: radial-gradient(circle at 50% 40%, #123, #05070c);
}

.shot-oval {
  width: 78px;
  height: 100px;
  border: 2px solid var(--cyan);
  border-radius: 50% / 44%;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.phone-body strong {
  font-family: var(--mono);
  color: var(--cyan);
}

.phone-body span,
.phone-body em {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: normal;
}

.shot-results {
  background: linear-gradient(180deg, #0e1a22, #0b0f17);
}

.shot-vip {
  background: linear-gradient(180deg, #102018, #0b0f17);
}

.store-h {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 22px 0 8px;
}

.store-p,
.store-list,
.store-steps {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 14px;
}

.store-steps,
.store-list {
  padding-left: 18px;
}

.store-steps li,
.store-list li {
  margin: 0 0 8px;
}

.store-shots-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.store-fig {
  margin: 0;
}

.fig-visual {
  height: 110px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 6px;
}

.fig-cam {
  background: radial-gradient(circle at 50% 45%, rgba(0, 242, 254, 0.2), transparent 50%), #0a1218;
}

.fig-wave {
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 40%, transparent 80%), #0a1218;
}

.store-fig figcaption {
  font-size: 0.72rem;
  color: var(--dim);
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 8px;
}

.review-card p {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.review-card span {
  font-size: 0.72rem;
  color: var(--dim);
}

.store-sticky {
  position: sticky;
  bottom: calc(8px + var(--safe-b));
  z-index: 6;
  padding-top: 8px;
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
}

#screen-landing.lander .hud-corners {
  display: none;
}

body.on-landing .hud-corners {
  display: none;
}

body.on-landing #app::before {
  display: none;
}

body.on-landing #app {
  background: #0a0a0c;
}

/* Stripe-like fake checkout — white card, never touch scan/camera layers */
body.on-checkout,
body.on-checkout #app {
  background: #ffffff;
  color: #111111;
  color-scheme: light;
}

body.on-checkout #app {
  box-shadow: none;
}

@media (min-width: 480px) {
  body.on-checkout #app {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 64px rgba(0, 0, 0, 0.08);
  }
}

.screen.lander {
  padding: 0 16px 0;
  background: #0a0a0c;
}

.store-chrome {
  position: sticky;
  top: var(--safe-t);
  z-index: 40;
  background: rgba(10, 10, 12, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  margin: 0 -16px;
  padding: 12px 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: auto;
}

.hero-viz {
  position: relative;
  height: 248px;
  margin: 0 -16px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(59, 130, 246, 0.18), transparent 48%),
    radial-gradient(ellipse at 18% 78%, rgba(228, 90, 115, 0.16), transparent 42%),
    #0a0c14;
}

.hero-phone {
  position: absolute;
  left: 18px;
  bottom: -28px;
  width: 132px;
  height: 220px;
  border: 3px solid #2a3344;
  border-radius: 22px;
  background: #0a0e14;
  transform: rotate(-12deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.hero-phone-screen {
  margin: 10px 8px;
  height: 190px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff7a45 0%, #e23b4c 55%, #9a1028 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-ecg {
  width: 86%;
  height: 28px;
  background: linear-gradient(90deg, transparent, #ff3b5c 20%, #fff 50%, #ff3b5c 80%, transparent);
  clip-path: polygon(0 60%, 18% 60%, 28% 10%, 38% 90%, 48% 50%, 100% 50%, 100% 58%, 50% 58%, 40% 100%, 26% 0, 16% 68%, 0 68%);
  margin-bottom: 8px;
}

.hero-phone-screen strong {
  font-family: var(--mono);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-phone-screen small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8b;
}

.hero-phone-screen em {
  display: block;
  margin: 10px 8px 0;
  font-style: normal;
  font-size: 0.48rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  line-height: 1.3;
}

.hero-watch small {
  display: block;
  margin-top: 4px;
  font-size: 0.58rem;
  color: #9ad;
}

.hero-watch {
  position: absolute;
  left: 42%;
  top: 36px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: #111;
  border: 2px solid #333;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.2);
}

.hero-watch b {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 1.3rem;
}

.hero-watch span {
  font-size: 0.62rem;
  color: var(--muted);
}

.hero-bars {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin-top: 4px;
}

.hero-bars i {
  width: 6px;
  background: var(--emerald);
  display: block;
  border-radius: 2px;
}

.hero-bars i:nth-child(1) { height: 8px; }
.hero-bars i:nth-child(2) { height: 14px; }
.hero-bars i:nth-child(3) { height: 10px; }
.hero-bars i:nth-child(4) { height: 16px; }

.hero-body {
  position: absolute;
  right: -6px;
  top: 18px;
  width: 132px;
  height: 210px;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.45));
  opacity: 0.92;
}

.btn-pill {
  width: 100%;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  background: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
  margin: 8px 0 10px;
}

.btn-pill,
.btn-install,
.offer-go,
[data-get] {
  position: relative;
  z-index: 30;
  pointer-events: auto !important;
}

.btn-pill:active {
  filter: brightness(0.95);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
  margin: 8px 0 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-row > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stars.muted {
  color: #8b8b93;
  letter-spacing: 1px;
  font-size: 0.7rem;
}

.stats-row strong {
  display: block;
  font-size: 1.35rem;
  margin: 2px 0;
}

.stats-k,
.stats-row span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.ss-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px 20px;
  padding: 4px 16px 12px;
  -webkit-overflow-scrolling: touch;
}

.ss-card {
  flex: 0 0 210px;
  scroll-snap-align: center;
  background: #e8eaee;
  border-radius: 28px;
  padding: 14px 12px 12px;
}

.ss-phone {
  height: 320px;
  border-radius: 22px;
  background: #0b0f17;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 10px;
  position: relative;
}

.ss-scan {
  background: radial-gradient(circle at 50% 42%, #1a1010, #07080c);
}

.ss-oval {
  width: 92px;
  height: 118px;
  border: 2px solid #3b82f6;
  border-radius: 50% / 44%;
  margin: 18px 0 12px;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

.ss-bpm {
  font-family: var(--mono);
  font-size: 1.6rem;
}

.ss-bpm small,
.ss-status,
.ss-phone p {
  font-size: 0.7rem;
  color: #9aa;
}

.ss-heart {
  font-size: 42px;
  color: #10b981;
  text-shadow: 0 0 18px #10b981;
  margin-top: 24px;
}

.ss-home,
.ss-stats,
.ss-balance {
  background: #10141c;
}

.ss-stats h3 {
  margin: 8px 0 16px;
  font-size: 0.95rem;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 88px;
  margin: 12px 0;
}

.mini-bars i {
  width: 12px;
  background: linear-gradient(#3b82f6, #e45a73);
  border-radius: 4px;
  display: block;
}

.mini-bars i:nth-child(1) { height: 30%; }
.mini-bars i:nth-child(2) { height: 55%; }
.mini-bars i:nth-child(3) { height: 40%; }
.mini-bars i:nth-child(4) { height: 80%; }
.mini-bars i:nth-child(5) { height: 62%; }
.mini-bars i:nth-child(6) { height: 48%; }
.mini-bars i:nth-child(7) { height: 70%; }

.ss-tab {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: #889;
  text-align: center;
}

.editors {
  text-align: center;
  margin: 8px 0 22px;
}

.laurel {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.laurel span {
  font-size: 1.15rem;
  opacity: 0.85;
}

.stars.gold {
  color: #f5a623;
  letter-spacing: 2px;
}

.editors blockquote {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}

.ratings-block h2,
.feature-copy h2,
.app-info h2,
.cta-repeat h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.ratings-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.ratings-score strong {
  font-size: 3rem;
  line-height: 0.9;
  display: block;
}

.ratings-score span,
.ratings-n {
  color: var(--dim);
  font-size: 0.8rem;
}

.rating-bars div {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 6px;
  align-items: center;
  margin-bottom: 4px;
  font-size: 0.68rem;
  color: var(--dim);
}

.rating-bars i {
  display: block;
  height: 6px;
  background: #2a2a30;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bars b {
  display: block;
  height: 6px;
  background: #c8c8ce;
  border-radius: 4px;
}

.ratings-n {
  text-align: right;
  margin: 6px 0 0;
}

.feature-copy {
  margin: 22px 0;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta-repeat {
  margin: 8px 0 22px;
}

.app-info dl {
  margin: 0 0 12px;
}

.app-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.app-info dt {
  color: var(--dim);
}

.app-info dd {
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-links a {
  color: #3b82f6;
}

.app-info dd a {
  color: #3b82f6;
  text-decoration: none;
}

.offer-bar {
  position: sticky;
  bottom: 0;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(10, 12, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  margin: 20px -16px 0;
  padding: 10px 16px calc(10px + var(--safe-b));
  font-size: 0.72rem;
  color: var(--muted);
}

.offer-go {
  border: 0;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  min-height: 36px;
}

.lander .store-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.lander .store-meta h1 {
  font-size: 1.35rem;
  font-family: var(--font);
  font-weight: 700;
}

.feature-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.ratings-block,
.feature-copy,
.app-info,
.cta-repeat {
  scroll-margin-top: 120px;
}

html.plat-android .lander-ios {
  display: none;
}

html.plat-ios .lander-android,
html:not(.plat-android) .lander-android {
  display: none;
}

html.plat-android .lander-ios {
  display: none !important;
}

html.plat-android .lander-android {
  display: block;
}

html.is-standalone .a2hs-banner,
html.is-standalone #cta-a2hs-success {
  display: none !important;
}

.lander-android {
  padding-top: calc(12px + var(--safe-t));
}

.play-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.play-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  flex-shrink: 0;
}

.play-meta h1 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font);
}

.play-dev,
.play-editors,
.play-inapp {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.4;
}

.play-editors {
  color: var(--emerald);
  font-weight: 600;
}

.btn-install {
  width: 100%;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #3b82f6;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.28);
  margin: 8px 0 6px;
}

.play-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 0;
  margin: 14px 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.play-stats strong {
  display: block;
  font-size: 1.05rem;
}

.play-stats span {
  font-size: 0.68rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.play-block {
  margin: 18px 0;
}

.play-block h2 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.play-block p,
.play-block li {
  color: var(--muted);
  line-height: 1.5;
}

.play-ver {
  font-family: var(--mono);
  color: var(--cyan) !important;
  margin-bottom: 6px !important;
}

.play-similar {
  display: grid;
  gap: 8px;
}

.play-similar article {
  background: #12161e;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.play-similar b {
  display: block;
}

.play-similar span {
  font-size: 0.8rem;
  color: var(--dim);
}

.offer-go.play-go {
  background: #3b82f6;
  color: #fff;
}

.a2hs-banner {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #121826;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  margin: 12px 0 80px;
  font-size: 0.78rem;
}

.a2hs-banner.hidden {
  display: none;
}

.a2hs-banner p {
  margin: 0;
  flex: 1;
}

.a2hs-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost-mini {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 32px;
  padding: 0 8px;
  font-size: 0.78rem;
}

.a2hs-steps {
  color: var(--ink);
  line-height: 1.55;
  padding-left: 18px;
}

.a2hs-steps li {
  margin: 0 0 10px;
}

.labs {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.lab-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.lab-card h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.lab-body strong {
  font-family: var(--mono);
  font-size: 1.8rem;
  color: var(--cyan);
  display: block;
}

.lab-body span,
.lab-empty {
  color: var(--muted);
  font-size: 0.82rem;
}

.lab-body p {
  margin: 8px 0 0;
  font-size: 0.85rem;
}

.age-form {
  display: flex;
  gap: 8px;
  align-items: end;
}

.age-form input {
  width: 88px;
  background: #0b1018;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 10px;
}

.stim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stim-grid b {
  display: block;
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--cyan);
}

.week-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--cyan) calc(var(--p) * 1%), #1a2230 0);
}

.week-ring b {
  background: #0b0f17;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--ink);
}

.report-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.report-toolbar .btn {
  flex: 1;
  min-height: 44px;
}

.report-view {
  font-size: 0.92rem;
}

.report-view .cover,
.report-view .card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin: 0 0 12px;
  background: #0e1420;
}

.report-view h1 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.report-view h2 {
  font-size: 1rem;
  color: var(--cyan);
}

.report-view .kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.report-view .muted,
.report-view footer {
  color: var(--muted);
  font-size: 0.78rem;
}

.report-view .grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.report-view .grid4 div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.report-view .grid4 b {
  display: block;
  font-size: 1.1rem;
}

.app-tabs {
  grid-template-columns: repeat(5, 1fr);
}

.app-tabs .tab {
  font-size: 0.62rem;
  padding: 8px 2px;
}

.checkout-plans {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-plans .plan {
  text-align: left;
  padding: 12px;
}

.checkout-plans .price {
  display: block;
  color: var(--cyan);
  margin-top: 4px;
}

.breathe-orb {
  width: 160px;
  height: 160px;
  margin: 16px auto;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
  animation: breathePulse 4s ease-in-out infinite;
}

.breathe-count {
  text-align: center;
  font-family: var(--mono);
  color: var(--muted);
}

@keyframes breathePulse {
  0%,
  100% {
    transform: scale(0.92);
  }
  50% {
    transform: scale(1.08);
  }
}

.guide-screen.active {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

.guide-inner {
  padding: calc(24px + var(--safe-t)) 20px calc(24px + var(--safe-b));
}

.guide-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 10px;
}

.guide-inner h1 {
  font-size: 2.4rem;
  margin: 0 0 8px;
}

.guide-list {
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.55;
}

.guide-list li {
  margin: 0 0 10px;
}

.trial-legal {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 14px;
}

.app-screen {
  background: #0a0c14;
}

.app-screen .lab-card,
.app-screen .insight,
.app-screen .teaser {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.enable-screen.active {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  padding: calc(24px + var(--safe-t)) 22px calc(28px + var(--safe-b));
  background: #0a0c14;
}

.enable-inner {
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

.enable-heart {
  font-size: 2.4rem;
  color: #e45a73;
  margin-bottom: 8px;
}

.enable-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.enable-inner h1 {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.enable-copy {
  color: #c5cddb;
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 22px;
}

.btn-enable-cam {
  min-height: 56px;
  font-size: 1.08rem;
}

.enable-fine {
  color: var(--dim);
  font-size: 0.8rem;
  margin: 14px 0 0;
}

.cam-settings-help {
  margin-top: 22px;
  padding: 14px;
  border-radius: 14px;
  background: #121826;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: left;
  line-height: 1.45;
}

.cam-settings-help p {
  margin: 0 0 10px;
}

.checkout-inner {
  background: #ffffff;
  min-height: 100dvh;
  min-height: 100svh;
  max-width: 390px;
  margin: 0 auto;
  padding: calc(6px + var(--safe-t)) 20px calc(32px + var(--safe-b));
}

.checkout-screen.active {
  background: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pay-top {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 4px;
}

.checkout-screen .pay-back.icon-btn {
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #111111;
  box-shadow: none;
}

.pay-hero {
  text-align: center;
  padding: 10px 4px 28px;
}

.pay-mark {
  display: none;
}

.pay-kicker {
  display: none;
}

.pay-hero h1 {
  margin: 0 0 14px;
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: #111111;
}

.pay-hero h1 em {
  font-style: normal;
  color: #e45a73;
}

.pay-lede {
  margin: 0 auto;
  max-width: 22.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 400;
  color: #8b93a3;
}

.pay-lede strong {
  color: #111111;
  font-weight: 700;
}

.pay-price,
.pay-renewal,
.pay-offer {
  display: none;
}

.pay-form {
  padding-top: 4px;
}

.checkout-screen .grid-2 {
  gap: 12px;
}

.pay-form .field,
.checkout-screen label.field {
  margin-bottom: 14px;
  color: #374151;
}

.pay-form .field span,
.checkout-screen label.field span {
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.pay-input-wrap,
.pay-select-wrap {
  position: relative;
}

.checkout-screen input,
.checkout-screen select {
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #111111;
  padding: 14px 12px;
  font-size: 16px;
  box-shadow: none;
  appearance: none;
}

.checkout-screen input::placeholder {
  color: #9ca3af;
}

.pay-input-wrap input#cc-number {
  padding-right: 84px;
}

.pay-input-wrap input#cc-cvc {
  padding-right: 42px;
}

.pay-brands {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.pay-cvc-ico {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: grid;
  place-items: center;
}

.pay-select-wrap select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.checkout-screen input:focus,
.checkout-screen select:focus {
  outline: none;
  border-color: #9ca3af;
  box-shadow: 0 0 0 1px #9ca3af;
}

.checkout-screen input:-webkit-autofill,
.checkout-screen input:-webkit-autofill:hover,
.checkout-screen input:-webkit-autofill:focus {
  -webkit-text-fill-color: #111111;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-out;
}

.btn-continue,
.checkout-screen .btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 14px 16px;
  background: #111111;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.btn-continue:active {
  transform: translateY(1px);
  background: #000000;
}

.btn-pay {
  margin-top: 8px;
  min-height: 52px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
}

.pay-ssl {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #9aa3b2;
}

.pay-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #8b93a3;
}

.pay-foot strong {
  color: #111111;
  font-weight: 700;
}

.checkout-screen .form-error {
  color: #e45a73;
  text-align: left;
  min-height: 1.1em;
}

.pay-disclosure {
  margin: 14px 0 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
}

.checkout-screen .disclaimer {
  text-align: center;
  margin: 0 0 14px;
  color: #8b93a3;
}

.pay-trust {
  text-align: center;
  margin: 0;
  font-size: 0.75rem;
  color: #9aa3b2;
}

.checkout-screen .test-hint {
  text-align: center;
  margin: 4px 0 12px;
  color: #9aa3b2;
}

.order-box,
.card-box {
  display: none;
}

.receipt {
  background: #12151e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.metric small {
  display: block;
  font-size: 0.62rem;
  line-height: 1.35;
  color: var(--dim);
  margin-top: 6px;
}

.metric-meaning {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: -8px 0 16px;
}

.ss-caption {
  margin: 8px 4px 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink);
}

.store-icon,
.play-icon {
  background: #fff;
  border-radius: 16px;
  object-fit: cover;
}

.hero-bar {
  display: block;
  width: 70%;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, #fff 12%, rgba(255, 255, 255, 0.25) 12%);
}

.program-nudge {
  margin: 0 0 16px;
}

.program-nudge-card,
.plan-hero {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  color: inherit;
}

.program-nudge-card p,
.plan-hero p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.program-nudge-card strong,
.plan-hero h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.program-ring {
  --p: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: conic-gradient(#3b82f6 calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  position: relative;
}

.program-ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--card);
}

.program-ring b,
.program-ring span {
  position: relative;
  z-index: 1;
}

.program-ring b {
  font-size: 1.05rem;
  line-height: 1;
}

.program-ring span {
  display: block;
  font-size: 0.58rem;
  color: var(--dim);
}

.program-ring.big {
  width: 76px;
  height: 76px;
}

.plan-progress {
  color: #3b82f6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.plan-mins {
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.plan-link {
  display: inline-block;
  margin: 10px 0 14px;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.9rem;
}

.plan-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.plan-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: inherit;
}

.plan-row span {
  color: var(--dim);
  font-size: 0.75rem;
  flex-shrink: 0;
  width: 52px;
}

.plan-row strong {
  flex: 1;
  font-size: 0.92rem;
}

.plan-row em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--dim);
}

.plan-row.current {
  border-color: rgba(59, 130, 246, 0.55);
}

.plan-row.done strong {
  color: var(--muted);
}

.plan-row:disabled {
  opacity: 0.45;
}

.app-tabs .tab {
  font-size: 0.68rem;
}

/* —— Polish: smoke hero, gold stars, top nav, account, day-lock —— */

.stars,
.stars.muted,
.stars.gold,
.rev-stars {
  color: #f5c542;
  letter-spacing: 1px;
  -webkit-text-fill-color: #f5c542;
  text-shadow: 0 0 8px rgba(245, 197, 66, 0.35);
}

.rev-stars {
  font-weight: 700;
  font-size: 0.88rem;
}

.play-stats > div:first-child strong {
  color: #f5c542;
}

.smoke-hero {
  height: 268px;
  background:
    radial-gradient(ellipse at 22% 80%, rgba(228, 90, 115, 0.28), transparent 42%),
    radial-gradient(ellipse at 78% 30%, rgba(59, 130, 246, 0.22), transparent 46%),
    linear-gradient(180deg, #0c1018 0%, #0a0c14 100%);
}

.smoke-hero-play {
  height: 160px;
  margin: 0 -16px 12px;
}

.smoke-wisp {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.45;
  animation: smokeRise 9s ease-in-out infinite;
}

.smoke-wisp.w1 {
  width: 140px;
  height: 180px;
  left: 8%;
  bottom: -40px;
  background: rgba(200, 210, 220, 0.22);
}

.smoke-wisp.w2 {
  width: 110px;
  height: 160px;
  left: 38%;
  bottom: -30px;
  background: rgba(180, 190, 205, 0.18);
  animation-delay: -3s;
}

.smoke-wisp.w3 {
  width: 160px;
  height: 200px;
  right: 4%;
  bottom: -50px;
  background: rgba(228, 90, 115, 0.12);
  animation-delay: -5.5s;
}

@keyframes smokeRise {
  0%,
  100% { transform: translate3d(0, 12px, 0) scale(1); opacity: 0.28; }
  50% { transform: translate3d(10px, -18px, 0) scale(1.08); opacity: 0.5; }
}

.smoke-lungs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-pulse-card {
  position: absolute;
  left: 16px;
  bottom: 18px;
  background: rgba(10, 12, 20, 0.78);
  border: 1px solid rgba(228, 90, 115, 0.35);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 132px;
  backdrop-filter: blur(10px);
}

.hero-pulse-card.calm {
  left: auto;
  right: 16px;
  bottom: 18px;
  border-color: rgba(59, 130, 246, 0.4);
}

.hero-pulse-card span,
.hero-pulse-card small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-pulse-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.05;
  color: #fff;
  margin: 2px 0;
}

.hero-pulse-card.calm strong {
  color: #93c5fd;
}

.hero-pulse-card small {
  text-transform: none;
  letter-spacing: 0;
  color: #e45a73;
}

.hero-pulse-card.calm small {
  color: #93c5fd;
}

.ss-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 16px;
  width: 100%;
}

.ss-compare em {
  display: block;
  font-style: normal;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.ss-compare span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa3b2;
}

.ss-compare .hot em {
  color: #e45a73;
}

.ss-arrow {
  color: #6b7385;
  font-size: 1.2rem;
}

.ss-wave {
  width: 86%;
  height: 36px;
  margin-top: 8px;
  background: linear-gradient(90deg, transparent, #e45a73 18%, #fff 50%, #3b82f6 82%, transparent);
  clip-path: polygon(0 55%, 16% 55%, 24% 12%, 34% 88%, 46% 48%, 100% 48%, 100% 58%, 48% 58%, 36% 100%, 22% 0, 14% 64%, 0 64%);
  opacity: 0.9;
}

.ss-status.plan { color: #93c5fd; }
.ss-status.calm { color: #86efac; }
.ss-status.cash { color: #f5c542; }

.ss-day-title {
  margin: 28px 0 12px;
  font-size: 1.05rem;
  text-align: center;
}

.ss-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  font-size: 0.78rem;
  color: #c5cde0;
}

.ss-checks li {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.ss-checks li.on {
  color: #86efac;
}

.ss-drop {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 40px 0 8px;
  font-size: 1.8rem;
  font-weight: 800;
}

.ss-drop .lo { color: #60a5fa; }
.ss-drop span { color: #6b7385; font-size: 1.1rem; }

.calm-bars i:nth-child(1) { height: 28px; background: #e45a73; }
.calm-bars i:nth-child(2) { height: 24px; background: #f07189; }
.calm-bars i:nth-child(3) { height: 18px; background: #93c5fd; }
.calm-bars i:nth-child(4) { height: 14px; background: #60a5fa; }
.calm-bars i:nth-child(5) { height: 12px; background: #3b82f6; }
.calm-bars i:nth-child(6) { height: 10px; background: #3b82f6; }
.calm-bars i:nth-child(7) { height: 9px; background: #2563eb; }

.ss-cash {
  margin-top: 48px;
  font-size: 2.4rem;
  font-weight: 800;
  color: #f5c542;
}

.ss-fine {
  color: #9aa3b2 !important;
}

.ss-status {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.app-screen.vip {
  padding-top: 0;
  padding-bottom: calc(24px + var(--safe-b));
}

.app-screen.vip .topbar {
  display: none;
}

.app-tabs {
  position: sticky;
  top: 0;
  left: auto;
  bottom: auto;
  transform: none;
  width: auto;
  margin: 0 -16px 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: calc(6px + var(--safe-t)) 6px 6px;
  background: rgba(10, 12, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.app-tabs .tab {
  border: 0;
  background: transparent;
  color: #8b93a3;
  border-radius: 10px;
  padding: 8px 2px 6px;
  font-size: 0.62rem;
  font-weight: 600;
  min-height: 44px;
  gap: 3px;
}

.app-tabs .tab.active {
  color: #fff;
  background: rgba(59, 130, 246, 0.18);
  border-color: transparent;
  box-shadow: inset 0 -2px 0 #3b82f6;
}

.app-tabs .tab-scan.active {
  background: rgba(228, 90, 115, 0.16);
  box-shadow: inset 0 -2px 0 #e45a73;
}

.home-scan {
  margin: 0 0 18px;
}

.app-screen .metric,
.app-screen .insight,
.app-screen .lab-card,
.app-screen .teaser,
.app-screen .program-nudge-card,
.app-screen .plan-hero {
  background: #141b2a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
}

.app-screen .metrics {
  gap: 8px;
}

.app-screen .metric small {
  display: none;
}

.plan-lock {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(228, 90, 115, 0.1);
  border: 1px solid rgba(228, 90, 115, 0.28);
}

.plan-row.locked {
  opacity: 0.55;
}

.account-price {
  font-weight: 700;
  color: #93c5fd;
}

.cancel-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(6, 8, 14, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(20px + var(--safe-b));
}

.cancel-sheet.hidden {
  display: none;
}

.cancel-card {
  width: min(100%, 400px);
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 18px 16px;
}

.cancel-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.cancel-card p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.45;
}

.cancel-card .btn {
  margin-bottom: 8px;
}

.btn-cancel-confirm {
  background: #e45a73;
  box-shadow: none;
}

.btn-cancel-confirm:disabled {
  opacity: 0.6;
}

.cancel-card .form-error {
  min-height: 1.2em;
  margin: 4px 0 0;
  color: #e45a73;
  text-align: center;
}

.pay-top {
  justify-content: center;
}

.pay-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.pay-brand-row img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(228, 90, 115, 0.25);
}

.pay-cta-label,
.pay-summary,
.pay-card-note,
.pay-brands-inline,
.pay-stripe,
.pay-ssl,
.pay-hero {
  display: none;
}

#stripe-embedded {
  min-height: 280px;
  margin: 4px 0 10px;
}

.pay-embed-status {
  margin: 4px 0 8px;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.pay-skeleton {
  height: 260px;
  border-radius: 12px;
  margin: 4px 0 10px;
  background: linear-gradient(90deg, #f3f4f6 0%, #eceff3 45%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: payShimmer 1.05s ease infinite;
}

.pay-skeleton.hidden {
  display: none;
}

@keyframes payShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.pay-embed-status.is-retry {
  cursor: pointer;
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pay-retry {
  display: block;
  width: 100%;
  margin: 8px 0 10px;
  padding: 14px 16px;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pay-secure {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: #9ca3af;
}

.pay-legal {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #6b7280;
}

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






.store-proof {
  margin: 8px 0 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: #f8fafc;
  line-height: 1.35;
}
.store-risk {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #86efac;
  line-height: 1.35;
}


.account-cancel-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.account-cancel-note {
  margin-top: 10px !important;
}
.account-cancel-msg {
  margin: 10px 0 0 !important;
  min-height: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}
.account-cancel-msg.is-error {
  color: #e45a73;
}
.account-cancel-msg.is-ok {
  color: #34d399;
}
#account-canceled-note:empty,
#resubscribe-msg:empty {
  display: none;
  margin: 0 !important;
}


.play-pitch {
  margin: 10px 0 6px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text, #e8eef7);
}
.play-proof {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.play-risk {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: #a7f3d0;
  line-height: 1.4;
}
.play-login {
  text-align: center;
  margin: 8px 0 14px;
  font-size: 0.82rem;
}
.play-login a { color: #7DD3FC; text-decoration: none; }
.a2hs-os-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7DD3FC;
  font-weight: 650;
}
.a2hs-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.a2hs-steps {
  margin: 0 0 16px;
  padding-left: 1.15rem;
  display: grid;
  gap: 10px;
}
.a2hs-steps li {
  line-height: 1.45;
  color: var(--text, #e8eef7);
  font-size: 0.92rem;
}
#a2hs-android-install { margin-bottom: 8px; }

.play-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.play-badges span {
  font-size: 0.68rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
}
.play-editors-card {
  margin: 8px 0 16px;
}
.play-cta-repeat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 16px 0 72px;
}
.play-head.compact {
  align-items: flex-start;
  margin-bottom: 10px;
}
.play-pitch.tight {
  margin: 2px 0 4px;
  font-size: 0.9rem;
}
html.plat-android .btn-install {
  background: #01875f;
  border-color: #01875f;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
