:root {
  --ink: #161b22;
  --muted: #5c6674;
  --line: #e5e9ef;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --brand: #c62828;
  --brand-dark: #9e1e1e;
  --brand-soft: #fdecec;
  --green: #1b7a57;
  --shadow: 0 8px 24px rgba(28, 36, 48, 0.1);
  --shadow-soft: 0 4px 14px rgba(22, 27, 34, 0.06);
  --ring: 0 0 0 3px rgba(198, 40, 40, 0.16);
  --control-radius: 12px;
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.2 6.2L8 10l3.8-3.8' stroke='%235c6674' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --font: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-lp: "Sora", "Segoe UI", sans-serif;
  --app-max: 480px;
  --tabbar-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
body[data-page="landing"] {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(198, 40, 40, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f7f8fb 45%, #eef2f6 100%);
  padding-bottom: 40px;
  font-family: var(--font-lp);
}
body[data-page="app"] {
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(198, 40, 40, 0.05), transparent 55%),
    linear-gradient(180deg, #f7f8fb 0%, #eef1f5 100%);
  padding-bottom: 0;
  min-height: 100svh;
}
body[data-page="app"].sheet-open { overflow: hidden; }
body,
button,
input,
select,
textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button,
select { cursor: pointer; }
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.15s ease;
}
button:active:not(:disabled) { transform: scale(0.98); }
h1, h2, h3, p { overflow-wrap: anywhere; margin: 0; }
img { max-width: 100%; display: block; }
i { font-style: normal; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
}
.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.topbar,
.lp-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}
.nav a:hover,
.footer a:hover { color: var(--brand); }

.nav-cta,
.primary-btn,
.secondary-btn,
.copy-btn,
.fav-btn,
.share-btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border: 0;
  border-radius: var(--control-radius);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-cta,
.primary-btn {
  color: #fff;
  background: linear-gradient(180deg, #d03232 0%, var(--brand) 100%);
  padding: 0 18px;
  box-shadow: 0 8px 18px rgba(198, 40, 40, 0.22);
}
.nav-cta:hover,
.primary-btn:hover {
  background: linear-gradient(180deg, #c62828 0%, var(--brand-dark) 100%);
}
.nav-cta:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.text-btn:focus-visible,
.icon-btn:focus-visible,
.chip:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.secondary-btn {
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(229, 233, 239, 0.95);
  box-shadow: var(--shadow-soft);
}
.secondary-btn:hover {
  border-color: #d7dde6;
  background: #fafbfc;
}
.text-btn {
  min-height: 42px;
  padding: 0 14px;
  color: var(--brand);
  background: rgba(198, 40, 40, 0.06);
  border-radius: 999px;
  font-size: 0.88rem;
}
.text-btn:hover {
  background: rgba(198, 40, 40, 0.1);
}
.apk-btn {
  min-height: 52px;
  padding: 0 22px;
  font-size: 1.05rem;
  border-radius: 14px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(229, 233, 239, 0.95);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.icon-btn:hover {
  border-color: #d7dde6;
  background: #fafbfc;
}

/* —— Landing —— */
body[data-page="landing"] .lp-top {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.55), rgba(12, 14, 18, 0));
  border-bottom: 0;
  color: #fff;
}
body[data-page="landing"] .lp-top .brand-mark {
  background: #fff;
  color: var(--brand);
}
body[data-page="landing"] .lp-top .nav-cta {
  background: #fff;
  color: var(--brand);
}
body[data-page="landing"] .lp-top .nav-cta:hover {
  background: #fff1f1;
}

.lp-stage {
  position: relative;
  min-height: min(100svh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #12151a;
}
@media (min-height: 860px) {
  .lp-stage {
    min-height: 100svh;
    align-items: center;
  }
  .lp-stage-content { padding-top: 120px; }
}
.lp-stage-media,
.lp-stage-veil {
  position: absolute;
  inset: 0;
}
.lp-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: lp-drift 16s ease-in-out infinite alternate;
}
.lp-stage-veil {
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.28) 0%, rgba(12, 14, 18, 0.18) 34%, rgba(12, 14, 18, 0.72) 68%, rgba(12, 14, 18, 0.94) 100%),
    linear-gradient(90deg, rgba(12, 14, 18, 0.5) 0%, rgba(12, 14, 18, 0.12) 60%, rgba(12, 14, 18, 0.35) 100%);
}
.lp-stage-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: clamp(110px, 16vh, 160px) 20px clamp(40px, 7vh, 64px);
  animation: lp-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lp-brand {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.lp-brand.compact {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--brand);
}
.lp-stage h1 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 7.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.lp-lead {
  margin: 16px 0 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 3.4vw, 1.18rem);
  line-height: 1.55;
  font-weight: 500;
}
.lp-cta-row { margin-top: 24px; }
.lp-download-wrap {
  display: grid;
  gap: 12px;
  width: 100%;
  justify-items: stretch;
}
.lp-main-cta {
  width: 100%;
  min-height: 58px;
  font-size: 1.12rem;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}
.lp-main-cta:hover { transform: translateY(-1px); }
.lp-safe-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f6f4e;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: left;
}
.lp-safe-mark {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(47, 111, 78, 0.12);
  color: #2f6f4e;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}
.lp-stage .lp-safe-note {
  color: rgba(255, 255, 255, 0.86);
}
.lp-stage .lp-safe-mark {
  background: rgba(255, 255, 255, 0.14);
  color: #b8f0d0;
  box-shadow: inset 0 0 0 1px rgba(184, 240, 208, 0.35);
}
.lp-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 500;
}

.lp-proof {
  padding: 0 16px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.lp-proof-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: var(--line);
  box-shadow: 0 16px 36px rgba(22, 27, 34, 0.12);
  animation: lp-rise 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lp-proof-inner--4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}
.lp-proof-inner div {
  display: grid;
  gap: 4px;
  padding: 18px 12px;
  background: #fff;
  text-align: center;
}
.lp-proof-inner strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.lp-proof-inner span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.lp-proof-live {
  position: relative;
}
.lp-proof-new {
  display: inline-flex;
  justify-self: center;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(47, 111, 78, 0.1);
  color: #2f6f4e;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.02em;
}
.lp-proof-sync {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}
.lp-proof-live.is-flash strong,
.lp-proof-new.is-flash {
  animation: lp-count-flash 0.85s ease;
}
@keyframes lp-count-flash {
  0% { transform: scale(1); color: inherit; }
  35% { transform: scale(1.08); color: #2f6f4e; }
  100% { transform: scale(1); color: inherit; }
}

.lp-scenes {
  display: grid;
  gap: 22px;
  padding: 40px 16px 12px;
  max-width: 720px;
  margin: 0 auto;
}
.lp-scenes-head {
  display: grid;
  gap: 8px;
  max-width: 28rem;
  animation: lp-rise 0.7s ease both;
}
.lp-scenes-head h2 {
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 14ch;
}
.lp-scenes-head > p:last-child {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
  max-width: 34ch;
}
.lp-band {
  display: grid;
  gap: 0;
  overflow: hidden;
  animation: lp-rise 0.8s ease both;
}
.lp-band:nth-child(3) { animation-delay: 0.06s; }
.lp-band:nth-child(4) { animation-delay: 0.12s; }
.lp-band-media {
  position: relative;
  overflow: hidden;
  background: #dfe5ec;
}
.lp-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}
.lp-band:hover .lp-band-media img {
  transform: scale(1.06);
}
.lp-band-copy {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 20px 4px 4px;
}
.lp-tag {
  display: inline-flex;
  width: fit-content;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lp-tag.soft { color: #2f6f4e; }
.lp-tag.light { color: #f3cfcf; }
.lp-band h3 {
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.2;
  max-width: 16ch;
}
.lp-band-copy > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
  max-width: 34ch;
}
.lp-band-meta {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.lp-band-chips {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.lp-band-chips li {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(47, 111, 78, 0.35);
}
.lp-band-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 6px;
}
.lp-band-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.lp-band-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
}

/* Wide: image on top, editorial block below */
.lp-band--wide .lp-band-media {
  min-height: 220px;
  aspect-ratio: 16 / 10;
  clip-path: inset(0 round 0 0 4px 4px);
}
.lp-band--wide .lp-band-copy {
  padding: 18px 2px 2px;
}

/* Split: text then image on mobile; side by side on desktop */
.lp-band--split {
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-band--split .lp-band-media {
  min-height: 190px;
  aspect-ratio: 5 / 4;
  clip-path: inset(0 round 2px);
}
.lp-band--split .lp-band-copy {
  padding: 8px 2px 0;
  order: -1;
}

/* Dark: immersive strip */
.lp-band--dark {
  background:
    linear-gradient(160deg, #1a222c 0%, #10151c 100%);
  color: #fff;
  padding: 0;
  margin-top: 4px;
}
.lp-band--dark .lp-band-media {
  min-height: 200px;
  aspect-ratio: 16 / 11;
}
.lp-band--dark .lp-band-copy {
  padding: 22px 18px 24px;
}
.lp-band--dark .lp-band-copy > p {
  color: rgba(255, 255, 255, 0.72);
}
.lp-band--dark h3 {
  color: #fff;
  max-width: 18ch;
}

.lp-why,
.lp-voices,
.lp-final {
  padding: 36px 20px;
  max-width: 640px;
  margin: 0 auto;
}
.lp-voices-lead {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 500;
  max-width: 36ch;
  line-height: 1.5;
}
.lp-voices .lp-marquee {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.lp-rating-band {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-rating-score {
  display: grid;
  gap: 4px;
  align-content: start;
}
.lp-rating-score strong {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.lp-stars {
  color: #d4a017;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  line-height: 1;
}
.lp-stars.small {
  font-size: 0.9rem;
  white-space: nowrap;
}
.lp-rating-score > span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.lp-rating-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.lp-rating-bars li {
  display: grid;
  grid-template-columns: 28px 1fr 34px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.lp-rating-bars i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eceff3;
  position: relative;
  overflow: hidden;
}
.lp-rating-bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0);
  background: linear-gradient(90deg, #c9a227, #e0b93a);
  border-radius: inherit;
}
.lp-rating-bars em {
  font-style: normal;
  text-align: right;
  color: var(--ink);
}
.lp-marquee {
  --marquee-a: 70s;
  --marquee-b: 82s;
  margin-top: 18px;
  display: block;
  width: 100%;
  height: min(480px, 62vh);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
.lp-marquee-col {
  width: 100%;
  overflow: hidden;
  min-height: 0;
}
.lp-marquee-col[data-dir="down"] {
  display: none;
}
.lp-marquee::before,
.lp-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 2;
  pointer-events: none;
}
.lp-marquee::before {
  top: 0;
  background: linear-gradient(180deg, rgba(247, 248, 251, 0.96), transparent);
}
.lp-marquee::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(238, 242, 246, 0.96), transparent);
}
.lp-marquee-track {
  display: grid;
  gap: 10px;
  width: 100%;
  will-change: transform;
}
.lp-marquee-col[data-dir="up"] .lp-marquee-track {
  animation: lp-marquee-up var(--marquee-a) linear infinite;
}
.lp-marquee-col[data-dir="down"] .lp-marquee-track {
  animation: lp-marquee-down var(--marquee-b) linear infinite;
}
.lp-marquee.is-paused .lp-marquee-track {
  animation-play-state: paused;
}
.lp-review-card {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 233, 239, 0.95);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(22, 27, 34, 0.04);
}
.lp-review-top {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.lp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f3d4d4, #f8ecec);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.lp-review-top strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.lp-review-top span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.lp-review-top .lp-stars {
  display: block;
  font-size: 0.82rem;
}
.lp-review-card p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 500;
}
.lp-marquee-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}
@keyframes lp-marquee-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes lp-marquee-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}
.lp-eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lp-why h2,
.lp-voices h2,
.lp-final h2 {
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 16ch;
}
.section-lead {
  margin-top: 8px;
  color: var(--muted);
}
.lp-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.lp-points li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.lp-points strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.lp-points span {
  color: var(--muted);
  font-weight: 500;
}

.lp-final {
  margin: 12px auto 8px;
  border-radius: 20px;
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(198, 40, 40, 0.12), transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(22, 27, 34, 0.06);
}
.lp-final p {
  margin: 12px 0 20px;
  color: var(--muted);
  max-width: 28rem;
  font-weight: 500;
}
.lp-final .apk-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
}
.lp-final .lp-download-wrap { max-width: 360px; }
.lp-final .lp-safe-note {
  justify-content: flex-start;
  margin: 0;
}

.download-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  padding: 10px 12px;
  background: linear-gradient(135deg, #7f1414, var(--brand));
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(22, 27, 34, 0.2);
}
.download-bar.is-visible,
.download-bar:not([hidden]).is-visible {
  display: block;
  animation: lp-bar 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.download-bar[hidden] {
  display: none !important;
}
.download-bar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.download-bar strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.download-bar-sub {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
}
.download-bar .apk-btn {
  background: #fff;
  color: var(--brand);
  min-width: 118px;
  min-height: 42px;
  font-size: 0.92rem;
  flex-shrink: 0;
  border-radius: 10px;
}
.download-bar .apk-btn:hover { background: #fff4f4; }
body[data-page="landing"].has-download-bar {
  padding-bottom: 96px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 20px 32px;
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@keyframes lp-drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.4%, -1%, 0); }
}
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lp-bar {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-stage-media img,
  .lp-stage-content,
  .lp-proof-inner,
  .lp-band,
  .lp-band-media img,
  .lp-marquee-track,
  .download-bar {
    animation: none !important;
    transition: none !important;
  }
  .lp-stage-media img,
  .lp-band:hover .lp-band-media img { transform: none; }
  .lp-marquee {
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .lp-marquee-col {
    overflow: visible;
  }
  .lp-marquee-track {
    transform: none !important;
  }
  .lp-marquee-track .lp-review-card:nth-child(n + 5) {
    display: none;
  }
  .lp-marquee-col[data-dir="down"] {
    display: none;
  }
}

/* —— Mobile app shell —— */
.mobile-app {
  width: min(100%, var(--app-max));
  min-height: 100svh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
.app-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.tab-panel {
  display: none;
  padding: 12px 14px 20px;
}
.tab-panel.is-active { display: block; }

.app-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.app-search-row input {
  flex: 1;
  min-height: 46px;
  border: 1px solid rgba(229, 233, 239, 0.95);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 500;
}
.app-search-row input::placeholder {
  color: #8a93a0;
  font-weight: 500;
}
.app-search-row input:focus {
  outline: none;
  border-color: rgba(198, 40, 40, 0.35);
  box-shadow: var(--ring);
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin: 0 -2px 12px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-soft);
}
.chip:hover {
  color: var(--ink);
  border-color: #e5e9ef;
}
.chip.is-active {
  color: #fff;
  background: linear-gradient(180deg, #d03232 0%, var(--brand) 100%);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(198, 40, 40, 0.22);
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
}
.filter-row select,
.publish-form select,
.settings-item select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 34px;
}
.filter-row select {
  min-height: 44px;
  border: 1px solid rgba(229, 233, 239, 0.95);
  border-radius: 12px;
  padding: 0 34px 0 12px;
  background-color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.filter-row select:hover {
  border-color: #d7dde6;
}
.filter-row select:focus {
  outline: none;
  border-color: rgba(198, 40, 40, 0.35);
  box-shadow: var(--ring);
}
.list-meta {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.list-meta strong { color: var(--ink); }

.offer-list {
  display: grid;
  gap: 12px;
}
.offer-card {
  border: 1px solid rgba(229, 233, 239, 0.95);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.offer-hit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
}
.offer-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8eef4;
}
.offer-body {
  display: grid;
  gap: 10px;
  padding: 12px 12px 0;
}
.offer-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.offer-top h3 {
  font-size: 1.02rem;
  line-height: 1.3;
}
.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.offer-card p {
  color: var(--muted);
  font-size: 0.92rem;
}
.discount {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #24966b 0%, var(--green) 100%);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(27, 122, 87, 0.2);
}
.verification-pill {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green);
  background: #eefaf5;
  font-weight: 700;
  font-size: 0.8rem;
}
.coupon-row {
  display: flex;
  gap: 8px;
  padding: 12px;
}
.coupon-code {
  flex: 1;
  min-width: 0;
  padding: 11px;
  border: 1px dashed rgba(198, 40, 40, 0.45);
  border-radius: 12px;
  color: var(--brand);
  background: linear-gradient(180deg, #fff5f5 0%, var(--brand-soft) 100%);
  font-weight: 800;
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.copy-btn,
.fav-btn,
.share-btn {
  padding: 0 14px;
  border: 1px solid rgba(229, 233, 239, 0.95);
  background: #fff;
  min-height: 44px;
  font-size: 0.86rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.copy-btn:hover,
.fav-btn:hover,
.share-btn:hover {
  border-color: #d7dde6;
  background: #fafbfc;
}
.fav-btn.is-on {
  color: var(--brand);
  border-color: transparent;
  background: var(--brand-soft);
  box-shadow: none;
}

.panel-head {
  margin-bottom: 14px;
}
.panel-head h1 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.panel-head p {
  margin-top: 6px;
  color: var(--muted);
}

.publish-form {
  display: grid;
  gap: 12px;
}
.publish-form label,
.settings-item span {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}
.publish-form input,
.publish-form select,
.publish-form textarea,
.settings-item select {
  width: 100%;
  border: 1px solid rgba(229, 233, 239, 0.95);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}
.publish-form select {
  min-height: 48px;
  padding-right: 36px;
}
.publish-form input:focus,
.publish-form select:focus,
.publish-form textarea:focus,
.settings-item select:focus {
  outline: none;
  border-color: rgba(198, 40, 40, 0.35);
  box-shadow: var(--ring);
}
.publish-form textarea { resize: vertical; min-height: 96px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-status {
  color: var(--muted);
  font-weight: 600;
  min-height: 1.2em;
}
.publish-form .primary-btn { width: 100%; }

.settings-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(229, 233, 239, 0.95);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  color: inherit;
  box-shadow: var(--shadow-soft);
}
.settings-item:hover {
  border-color: #d7dde6;
  background: #fafbfc;
}
.settings-item span { gap: 0; }
.settings-item em {
  font-style: normal;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.08);
}
.settings-item select {
  width: auto;
  min-width: 128px;
  min-height: 40px;
  padding: 8px 34px 8px 12px;
}
.about-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.about-block p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.app-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  transform: translateX(-50%);
  width: min(100%, var(--app-max));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  min-height: var(--tabbar-h);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(229, 233, 239, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tab-btn {
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 8px 4px;
  border-radius: 14px;
}
.tab-btn:hover { background: rgba(22, 27, 34, 0.03); }
.tab-btn.is-active {
  color: var(--brand);
  background: rgba(198, 40, 40, 0.08);
}
.tab-btn:active { transform: none; }
.tab-ico {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 6px;
  position: relative;
}
.tab-ico-home { border-radius: 4px 4px 6px 6px; }
.tab-ico-saved {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 3px;
  transform: rotate(45deg);
}
.tab-ico-plus::before,
.tab-ico-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.tab-ico-plus::before { width: 10px; height: 2px; }
.tab-ico-plus::after { width: 2px; height: 10px; }
.tab-ico-more {
  border: 0;
  box-shadow:
    -7px 10px 0 0 currentColor,
    0 10px 0 0 currentColor,
    7px 10px 0 0 currentColor;
  height: 4px;
  margin-top: 8px;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(16, 20, 28, 0.45);
}
.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 60;
  transform: translateX(-50%);
  width: min(100%, var(--app-max));
  max-height: min(92svh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow);
}
.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 99px;
  background: #d5dbe3;
}
.sheet-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f6;
  font-weight: 700;
}
.sheet-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8eef4;
}
.sheet-body {
  display: grid;
  gap: 12px;
  padding: 14px 14px 28px;
}
.sheet-body h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.sheet-code {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sheet-code span {
  flex: 1;
  padding: 12px;
  border: 1px dashed var(--brand);
  border-radius: 8px;
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 800;
  text-align: center;
}
.sheet-actions {
  display: grid;
  gap: 8px;
}
.sheet-actions .secondary-btn,
.sheet-actions .primary-btn {
  width: 100%;
}

.empty-state {
  padding: 22px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + 16px);
  z-index: 80;
  transform: translateX(-50%);
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 700;
  max-width: calc(100vw - 32px);
}

/* Admin */
.section { padding: 28px 16px; max-width: 720px; margin: 0 auto; }
.admin-page h1 { font-size: 1.7rem; }
.admin-token-card,
.admin-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}
.admin-token-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.admin-token-card label {
  flex: 1 1 100%;
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.admin-token-card input,
.apk-upload-form input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.admin-panel { margin: 16px 0; display: grid; gap: 14px; }
.admin-panel-head h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.admin-panel-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.admin-panel-head code {
  font-size: 0.85rem;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
}
.events-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}
.events-summary strong {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}
.events-summary span {
  color: var(--muted);
  font-weight: 600;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--line);
}
.events-grid div {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  background: #fff;
  text-align: center;
}
.events-grid strong {
  font-size: 1.25rem;
}
.events-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (min-width: 720px) {
  .events-grid { grid-template-columns: repeat(4, 1fr); }
}
.apk-status-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.apk-status-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}
.apk-status-card strong { font-weight: 800; }
.apk-status-card span { color: var(--muted); text-align: right; }
.apk-methods {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .apk-methods { grid-template-columns: 1fr 1fr; }
}
.apk-upload-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.apk-upload-form h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.apk-upload-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}
.apk-upload-form input[type="url"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  font-weight: 500;
}
.apk-file-label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-grid { display: grid; gap: 12px; }
a.is-apk-missing { opacity: 0.75; }
.admin-card-head,
.admin-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.admin-card-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.admin-card p,
.admin-card dd { color: var(--muted); }
.admin-card em {
  padding: 6px 8px;
  border-radius: 6px;
  font-style: normal;
  font-weight: 800;
  font-size: 0.8rem;
}
.status-verified { color: var(--green); background: #eefaf5; }
.status-pending { color: #9a6400; background: #fff7df; }
.status-rejected { color: var(--brand); background: #fff1f1; }
.admin-card dl { display: grid; gap: 10px; margin: 12px 0; }
.admin-card dt { font-weight: 800; }
.admin-card dd { margin: 4px 0 0; }
.checklist {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.checklist label {
  padding: 10px;
  border-radius: 8px;
  background: var(--bg);
  font-weight: 700;
}

@media (min-width: 720px) {
  .lp-top { padding: 14px 28px; }
  .lp-stage-content {
    padding-left: 40px;
    padding-right: 40px;
  }
  .lp-stage h1 { max-width: 14ch; }
  .lp-proof,
  .lp-scenes,
  .lp-why,
  .lp-voices,
  .lp-final,
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .lp-proof-inner--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .lp-rating-band {
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 28px;
  }
  .lp-marquee {
    height: min(560px, 70vh);
  }
  .lp-main-cta,
  .lp-final .apk-btn { width: auto; min-width: 260px; }
  .lp-band--wide {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
  }
  .lp-band--wide .lp-band-media {
    min-height: 280px;
    aspect-ratio: auto;
  }
  .lp-band--wide .lp-band-copy {
    padding: 8px 0;
  }
  .lp-band--split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: center;
    padding: 18px 0;
  }
  .lp-band--split .lp-band-copy { order: 0; padding: 0; }
  .lp-band--split .lp-band-media {
    min-height: 260px;
    aspect-ratio: auto;
  }
  .lp-band--dark {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
  }
  .lp-band--dark .lp-band-media {
    min-height: 280px;
    aspect-ratio: auto;
  }
  .lp-band--dark .lp-band-copy {
    padding: 32px 28px;
  }
  .download-bar {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: min(380px, calc(100vw - 40px));
  }
  body[data-page="app"] { padding: 16px 0; }
  .mobile-app {
    min-height: calc(100svh - 32px);
    border-radius: 16px;
    overflow: hidden;
  }
  .app-tabbar {
    left: 50%;
    bottom: 16px;
    width: min(100% - 0px, var(--app-max));
    border-radius: 0 0 16px 16px;
  }
}

@media (max-width: 420px) {
  .filter-row { grid-template-columns: 1fr 1fr; }
  .filter-row .text-btn { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .coupon-row { flex-wrap: wrap; }
  .coupon-code { flex: 1 1 100%; }
  .download-bar-main {
    flex-direction: column;
    align-items: stretch;
  }
  .download-bar .apk-btn { width: 100%; }
}
