:root {
  --juniora-h: 38px;
  --bg: rgb(19, 21, 25);
  --panel: #1c1f26;
  --panel-2: #23272f;
  --ink: #fff;
  --muted: #9aa3ad;
  --bad: #ff6b6b;
  --good: var(--jn-green, #a0e747);
}
* { box-sizing: border-box }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--jn-font); min-height: 100% }
body { padding-bottom: var(--juniora-h); -webkit-tap-highlight-color: transparent; }
.wrap { max-width: 440px; margin: 0 auto; padding: 26px 18px 40px; }
.head { text-align: center; margin-bottom: 16px }
.head h1 { font-size: clamp(21px, 5vw, 26px); margin: 0 0 6px }
.head p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin: 0 }

.slide-nav { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.slide-dot {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel); color: var(--muted); font-family: var(--jn-font); font-weight: 700;
  cursor: pointer;
}
.slide-dot.active { background: var(--good); color: #10231f; border-color: var(--good); }

.item-title { text-align: center; font-size: 15px; margin: 0 0 10px; }

/* browser chrome */
.browser-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08);
  background: #0d0f13; box-shadow: 0 16px 34px rgba(0,0,0,0.35);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  background: #17191e; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.browser-bar .dot.r { background: #ff6058; } .browser-bar .dot.y { background: #ffbd2e; } .browser-bar .dot.g { background: #28c840; }
.url-box {
  margin-inline-start: 10px; background: #24272e; border-radius: 999px;
  padding: 3px 12px; font-size: 10.5px; color: var(--muted); direction: ltr; flex: 1; text-align: center;
}

.compare-slider {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #14161b;
}
.layer {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.bad-layer { background: #17191e; }
.good-layer { background: #14181a; clip-path: inset(0 50% 0 0); }

.tag {
  position: absolute; top: 10px; font-size: 10.5px; font-weight: 900;
  padding: 3px 10px; border-radius: 999px; z-index: 5;
}
.tag-bad-fixed { right: 10px; background: rgba(255,107,107,0.18); color: var(--bad); }
.tag-good-fixed { left: 10px; background: rgba(160,231,71,0.18); color: var(--good); }

.handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 6;
}
.handle-line { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; opacity: 0.7; }
.handle-btn {
  width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #10231f;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

#rangeInput {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
  z-index: 10;
}

.item-explain {
  text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.8;
}

.nav-row { display: flex; gap: 10px; margin-top: 16px; }
.nav-btn {
  flex: 1; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel); color: var(--ink); font-family: var(--jn-font);
  font-weight: 700; font-size: 14px; cursor: pointer;
}
.nav-btn.primary { background: var(--good); color: #10231f; border-color: var(--good); }

/* ===== shared mock content box ===== */
.mock-box {
  width: 100%; height: 100%;
  padding: 40px 18px 18px;
  display: flex; flex-direction: column;
}

/* ===== 1. Hero CTA prominence ===== */
.hero-mock-title { font-weight: 700; margin-bottom: 6px; }
.hero-mock-sub { color: var(--muted); margin-bottom: 14px; }
.hero-bad .hero-mock-title { font-size: 12px; }
.hero-bad .hero-mock-sub { font-size: 10px; }
.hero-bad .hero-mock-btn {
  align-self: flex-start; font-size: 8px; color: var(--muted);
  background: #2c313a; padding: 3px 9px; border-radius: 4px;
}
.hero-good { align-items: center; text-align: center; justify-content: center; }
.hero-good .hero-mock-title { font-size: 16px; font-weight: 900; }
.hero-good .hero-mock-sub { font-size: 11px; }
.hero-good .hero-mock-btn {
  font-size: 12.5px; font-weight: 900; color: #10231f;
  background: var(--good); padding: 10px 22px; border-radius: 10px;
}

/* ===== 2. Heading hierarchy ===== */
.article-line { height: 8px; border-radius: 3px; background: #2c313a; margin-bottom: 7px; }
.article-bad .article-title { font-size: 10px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.article-bad .article-line.w1 { width: 95%; } .article-bad .article-line.w2 { width: 80%; } .article-bad .article-line.w3 { width: 88%; }
.article-good .article-title { font-size: 16px; font-weight: 900; color: var(--ink); margin-bottom: 12px; }
.article-good .article-line { background: #23272f; }
.article-good .article-line.w1 { width: 95%; } .article-good .article-line.w2 { width: 80%; } .article-good .article-line.w3 { width: 88%; }

/* ===== 3. Signup button placement ===== */
.form-field { height: 17px; border-radius: 6px; background: #2c313a; margin-bottom: 9px; border: 1px solid rgba(255,255,255,0.06); }
.form-bad .form-submit {
  align-self: flex-end; margin-top: 6px; font-size: 8.5px; color: var(--muted);
  background: transparent; text-decoration: underline; padding: 2px;
}
.form-good { align-items: stretch; }
.form-good .form-submit {
  margin-top: 8px; font-size: 12.5px; font-weight: 900; color: #10231f;
  background: var(--good); padding: 11px; border-radius: 10px; text-align: center;
}

/* ===== 2. Shoe product card (image hierarchy) ===== */
.shoe-thumb { display: block; text-align: center; }
.shoe-bad .shoe-thumb { font-size: 26px; margin-bottom: 8px; }
.shoe-bad .shoe-title { font-size: 10px; margin-bottom: 3px; }
.shoe-bad .shoe-price { font-size: 10px; color: var(--muted); }
.shoe-good { align-items: center; text-align: center; justify-content: center; }
.shoe-good .shoe-thumb { font-size: 58px; margin-bottom: 10px; }
.shoe-good .shoe-title { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.shoe-good .shoe-price { font-size: 18px; font-weight: 900; color: var(--good); }

/* ===== brand bar ===== */
.juniora-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(13, 15, 19, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
}
.juniora-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #9aa3ad;
  font-family: var(--jn-font);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.85;
  transition: opacity .15s ease;
}
.juniora-link:hover { opacity: 1; }
.juniora-logo {
  width: 13px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.juniora-text {
  letter-spacing: normal;
}
