:root[data-theme="dark"] {
  --bg: #0C0E15;
  --text: #F2F3F8;
  --muted: #9BA0B5;
  --glass: rgba(255, 255, 255, 0.05);
  --glass2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border2: rgba(255, 255, 255, 0.18);
  --accent: #2f7ee3;
  --accent2: #8a56d6;
  --shadow: rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.35);
  --chip: rgba(47, 126, 227, 0.16);
  --chip-text: #8FBCF5;
  --glow1: rgba(47, 126, 227, 0.20);
  --glow2: rgba(138, 86, 214, 0.16);
  --glow3: rgba(232, 99, 44, 0.10);
  --mint: #3fae6a;
  --panel-solid: #0e1118;
}

:root[data-theme="light"] {
  --bg: #F5F4F0;
  --text: #1C1A17;
  --muted: #5F6270;
  --glass: rgba(255, 255, 255, 0.65);
  --glass2: rgba(255, 255, 255, 0.9);
  --border: rgba(28, 26, 23, 0.08);
  --border2: rgba(28, 26, 23, 0.16);
  --accent: #2f7ee3;
  --accent2: #8a56d6;
  --shadow: rgba(50, 45, 80, 0.14);
  --shadow-strong: 0 24px 60px rgba(50, 45, 80, 0.14), 0 4px 16px rgba(50, 45, 80, 0.08);
  --chip: rgba(47, 126, 227, 0.12);
  --chip-text: #1f5eb3;
  --glow1: rgba(47, 126, 227, 0.25);
  --glow2: rgba(138, 86, 214, 0.20);
  --glow3: rgba(240, 169, 44, 0.18);
  --mint: #2a8863;
  --panel-solid: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light dark;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 80px;
  position: relative;
  z-index: 1;
}

/* ── Ambient glow background ───────────────────────────────── */

@keyframes blobA { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.15); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes blobB { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, 50px) scale(1.1); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes blobC { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 60px) scale(1.2); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes buddyBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes floatPhone { 0% { transform: translateY(0) rotateY(-16deg) rotateX(6deg); } 50% { transform: translateY(-14px) rotateY(-16deg) rotateX(6deg); } 100% { transform: translateY(0) rotateY(-16deg) rotateX(6deg); } }

.glow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-bg span {
  position: absolute;
  border-radius: 50%;
}

.glow-bg .g1 {
  top: -180px;
  right: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--glow1), transparent 65%);
  animation: blobA 14s ease-in-out infinite;
}

.glow-bg .g2 {
  bottom: -220px;
  left: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--glow2), transparent 65%);
  animation: blobB 18s ease-in-out infinite;
}

.glow-bg .g3 {
  top: 30%;
  left: 40%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--glow3), transparent 65%);
  animation: blobC 22s ease-in-out infinite;
}

/* ── Buddy tile (shared brand component) ───────────────────── */
/* Sizing/font-size are set inline per usage site since they vary a lot
   (nav mark, hero logo, app-card icon, detail icon) -- everything else
   (layout, eye dots, shadow) is shared here. */

.buddy-tile {
  position: relative;
  border-radius: 28%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.buddy-tile .eyes {
  position: absolute;
  display: flex;
}

.buddy-tile .eyes span {
  border-radius: 50%;
  display: block;
}

.buddy-tile .letter {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  line-height: 1;
}

.buddy-row {
  display: flex;
  gap: 3px;
}

/* ── Real app icon (image with letter-tile fallback behind) ─── */

.app-icon {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.app-icon .fallback {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.app-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-cta-badge img {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  display: block;
  animation: buddyBounce 3s ease-in-out infinite;
}

/* ── Glass nav ──────────────────────────────────────────────── */

.topbar-wrap {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 0 0;
  max-width: 1080px;
  margin: 0 auto;
}

.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 18px;
  background: var(--glass2);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}

.wordmark .byline {
  font-size: 11px;
  color: var(--muted);
  align-self: flex-end;
  padding-bottom: 2px;
}

.topbar .spacer {
  flex: 1;
}

.live-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.live-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulseDot 2s infinite;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.install-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--text);
  font: 600 13px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.install-btn:hover {
  background: var(--glass2);
  border-color: var(--accent);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.theme-toggle:hover {
  background: var(--glass2);
  border-color: var(--accent);
}

.theme-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 520px;
  padding-top: 40px;
}

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eyebrow-chip {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-text);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  border: 1px solid var(--border);
}

.hero-buddies .buddy-tile {
  animation: buddyBounce 3s ease-in-out infinite;
}

.hero-col h1 {
  font-family: "Sora", sans-serif;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-col h1 .grad {
  background: linear-gradient(100deg, #e8632c, #8a56d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-col p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 460px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar {
  flex-wrap: nowrap;
  min-width: 0;
}

.wordmark {
  min-width: 0;
}

.btn-primary {
  padding: 14px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(47, 126, 227, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(47, 126, 227, 0.5);
}

.btn-ghost {
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--border2);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
}

/* floating phone mock */

.phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1200px;
  padding: 30px 0;
}

.phone {
  width: 250px;
  height: 510px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a1d2b, #0d0f18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 12px;
  transform-style: preserve-3d;
  animation: floatPhone 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(170deg, #12141f, #171a29);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-notch {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
}

.phone-notch span {
  width: 74px;
  height: 20px;
  border-radius: 999px;
  background: #05060a;
  display: block;
}

.phone-title {
  padding: 14px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-title .name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #EDEEF6;
}

.phone-title .sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #8FBCF5;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 8px 14px;
}

.phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.phone-item.active {
  background: rgba(47, 126, 227, 0.16);
  border-color: rgba(47, 126, 227, 0.3);
}

.phone-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-item .txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-item .txt .t {
  font-size: 12px;
  color: #EDEEF6;
  font-weight: 600;
}

.phone-item .txt .s {
  font-size: 10px;
  color: #8A8FA8;
}

.phone-fab {
  display: flex;
  justify-content: center;
  padding: 14px;
  margin-top: auto;
}

.phone-fab span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7ee3, #8a56d6);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  box-shadow: 0 8px 20px rgba(47, 126, 227, 0.5);
}

@media (max-width: 860px) {
  .hero-section {
    display: block;
    min-height: 0;
    padding-top: 24px;
  }
  .phone-stage {
    margin-top: 28px;
    padding: 10px 0 0;
  }
}

/* ── Get-the-store-app featured banner ──────────────────────── */

@keyframes ctaGlow {
  0%, 100% { opacity: 0.55; transform: translate(0, 0) scale(1); }
  50% { opacity: 0.9; transform: translate(20px, -10px) scale(1.12); }
}

.store-cta {
  position: relative;
  margin: 28px 0 24px;
  padding: 28px 32px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--glass2);
  border: 1px solid var(--border2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
}

.store-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(120deg, var(--accent), var(--accent2), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.store-cta-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow1), transparent 65%);
  animation: ctaGlow 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.store-cta-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.store-cta-badge {
  flex-shrink: 0;
  padding-top: 4px;
}

.store-cta-badge .buddy-tile {
  animation: buddyBounce 3s ease-in-out infinite;
}

.store-cta-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.store-cta-text h2 {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.store-cta-text h2 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.store-cta-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

.store-cta-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.store-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-text);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.store-feat::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.store-cta-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.store-cta-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .store-cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .store-cta-action {
    align-items: stretch;
  }
  .store-cta-action .download-btn {
    justify-content: center;
  }
  .store-cta-meta {
    text-align: center;
  }
}

/* ── Stats strip ────────────────────────────────────────────── */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 56px;
}

.stat-tile {
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-tile .big {
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.stat-tile .small {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

/* ── Section label ──────────────────────────────────────────── */

.section-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 20px;
}

.section-label h2 {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.section-label span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

/* ── App grid / cards ───────────────────────────────────────── */

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-bottom: 24px;
}

.app-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 24px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.15s ease-out, border-color 0.2s;
  text-decoration: none;
  color: var(--text);
}

.beta-ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(40deg);
  background: linear-gradient(135deg, #ff5f2e, #ff2e6d);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 4px 40px;
  box-shadow: 0 4px 12px rgba(255, 46, 109, 0.4);
  pointer-events: none;
}

.beta-badge {
  display: inline-block;
  vertical-align: middle;
  background: linear-gradient(135deg, #ff5f2e, #ff2e6d);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 46, 109, 0.35);
  margin-left: 10px;
  transform: translateY(-4px);
}

.app-card:hover {
  border-color: var(--border2);
}

.app-card .row1 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-card .titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.app-card h3 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 19px;
}

.app-card .tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.pill-download {
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.badge-row .meta {
  font-size: 12px;
  color: var(--muted);
}

.app-card.placeholder {
  border-radius: 22px;
  border: 1.5px dashed var(--border2);
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 24px;
  cursor: default;
  background: transparent;
  box-shadow: none;
}

.app-card.placeholder:hover {
  border-color: var(--border2);
}

.plus-glyph {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--glass2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--muted);
  font-weight: 300;
  margin: 0 auto 8px;
}

.app-card.placeholder .placeholder-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ── Footer ─────────────────────────────────────────────────── */

.site-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer .mono {
  font-family: "JetBrains Mono", monospace;
}

/* ── App detail page ────────────────────────────────────────── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin: 28px 0 24px;
  cursor: pointer;
}

.back-link:hover {
  color: var(--text);
}

.detail-head {
  padding: 32px;
  border-radius: 26px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.detail-head .titles {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-head h1 {
  font-family: "Sora", sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.detail-head .tagline {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.detail-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.chip-static {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}

.chip-static.accent {
  color: var(--chip-text);
  background: var(--chip);
}

.chip-static.plain {
  color: var(--muted);
  border: 1px solid var(--border);
}

.download-btn {
  padding: 16px 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(47, 126, 227, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(47, 126, 227, 0.55);
}

.download-btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  transform: none;
}

.screenshot-section {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.screenshot-section h2,
.about-card h2,
.notes-card h2,
.install-card h2 {
  font-family: "Sora", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.screenshot-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.screenshot-row img {
  flex: 0 0 auto;
  width: 210px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.about-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.about-card .requirements {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.8;
}

.two-col {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.notes-card,
.install-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.release-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.release-entry.old {
  opacity: 0.6;
}

.release-entry .row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.release-entry p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  white-space: pre-wrap;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.install-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.install-step .num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.install-step .txt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.install-step .txt strong {
  color: var(--text);
}

.empty-state {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}

/* ── Feedback links ─────────────────────────────────────────── */

.feedback-card .feedback-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.feedback-link {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.feedback-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .hero-col h1 {
    font-size: 36px;
  }
  .detail-head {
    padding: 24px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .screenshot-row img {
    width: 170px;
  }
  .live-chip {
    display: none;
  }
  .topbar {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .wordmark .byline {
    display: none;
  }
}

/* Info-gate modal: shown once per browser before the first download, to
   collect basic info (see script.js showInfoGate). Deliberately simple,
   matches the site's existing glass/blur aesthetic. */
.info-gate-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.info-gate-card {
  background: var(--panel-solid);
  border: 1px solid var(--border2);
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  max-width: 380px;
  width: 100%;
  padding: 26px;
}
.info-gate-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}
.info-gate-card p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.info-gate-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--text);
  font-size: 14px;
}
.info-gate-card input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.info-gate-card .info-gate-error {
  color: #e35a5a;
  font-size: 12.5px;
  margin: -4px 0 10px;
  display: none;
}
.info-gate-card button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}
.info-gate-card button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Touch devices (effectively: phones) recompute backdrop-filter blur every
   frame for any blurred element on screen during a scroll -- .topbar is the
   worst case since it's position: sticky and stays on screen for the whole
   page, but every other glass panel below pays the same cost while it's
   transiently in view. GPUs on typical Android phones handle this far worse
   than desktop, which is what made scrolling feel janky/laggy there. Desktop
   (pointer: fine, mouse) keeps the original blurred look unchanged. */
@media (pointer: coarse) {
  .topbar,
  .app-card,
  .store-cta,
  .stat-tile,
  .detail-head,
  .about-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--panel-solid);
  }

  .info-gate-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ── Feedback: trigger button + modal ──────────────────────────────────── */
.feedback-open-btn {
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.feedback-open-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.fb-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}
.fb-overlay[hidden] { display: none; }

.fb-modal {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}
.fb-modal h3 { font-family: "Sora", sans-serif; font-size: 20px; margin: 0 30px 4px 0; }
.fb-sub { font-size: 13px; color: var(--muted); margin: 0 0 18px; }

.fb-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.fb-close:hover { color: var(--text); }

.fb-types { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.fb-type {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.fb-type.active { border-color: var(--accent); color: var(--text); }

.fb-message, .fb-email {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  margin-bottom: 12px;
  resize: vertical;
}
.fb-message:focus, .fb-email:focus { outline: none; border-color: var(--accent); }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-turnstile { margin-bottom: 12px; }
.fb-turnstile[hidden] { display: none; }

.fb-status { font-size: 13px; min-height: 18px; margin-bottom: 10px; }
.fb-status.ok { color: var(--accent); }
.fb-status.err { color: #ff6b6b; }

.fb-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-fallback { font-size: 12px; color: var(--muted); text-decoration: none; }
.fb-fallback:hover { color: var(--text); text-decoration: underline; }
.fb-send {
  padding: 11px 24px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #06121f;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.fb-send:disabled { opacity: 0.6; cursor: default; }
