@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f9c9da;
  --bg-2: #f8edf2;
  --ink: #181218;
  --muted: #574b53;
  --pink: #f16fa3;
  --glass: rgba(255,255,255,.48);
  --glass-border: rgba(255,255,255,.72);
  --shadow: 0 22px 70px rgba(99,22,54,.18), inset 0 1px 0 rgba(255,255,255,.72);
  --button: rgba(22,18,21,.92);
  --button-ink: #fff;
  --focus: #7b1742;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150e13;
    --bg-2: #090809;
    --ink: #fff7fa;
    --muted: #d7c8ce;
    --pink: #ff7caf;
    --glass: rgba(255,255,255,.1);
    --glass-border: rgba(255,255,255,.2);
    --shadow: 0 25px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.16);
    --button: rgba(255,255,255,.94);
    --button-ink: #171217;
    --focus: #ffb4cf;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 7%, rgba(255,255,255,.7), transparent 25rem),
    radial-gradient(circle at 92% 34%, rgba(241,111,163,.46), transparent 30rem),
    linear-gradient(140deg, var(--bg), var(--bg-2) 52%, #171417 150%);
  font-family: "Figtree", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a, button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.shell { width: min(1060px, calc(100% - 32px)); margin-inline: auto; }
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 6px; }
.brand-link { font: 700 1rem/1 "Bricolage Grotesque", sans-serif; text-decoration: none; }
.panda-hq {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.in-app-download-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px auto 0;
  padding: 12px 13px 12px 17px;
  border-radius: 18px;
  color: #fff;
  background: rgba(18,14,17,.88);
  border: 1px solid rgba(255,255,255,.16);
}
.in-app-download-hint[hidden] { display: none; }
.in-app-download-hint p { margin: 0; font-size: .88rem; line-height: 1.45; }
.in-app-download-hint strong { color: #ff9cc3; }
.in-app-download-hint button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  cursor: pointer;
}
.wallpaper-page {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
  padding: clamp(32px, 6vw, 76px) 0 84px;
}
.wallpaper-frame { padding: 10px; border-radius: 30px; }
.wallpaper-frame img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; }
.eyebrow { margin: 0 0 12px; color: var(--pink); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font: 700 clamp(2.45rem, 6vw, 5.4rem)/.93 "Bricolage Grotesque", sans-serif; letter-spacing: -.055em; }
.description { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.14rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.action.primary { color: var(--button-ink); background: var(--button); border-color: transparent; }
.back-link { display: inline-flex; margin-top: 24px; color: var(--muted); font-weight: 700; }
footer { width: min(1060px, calc(100% - 32px)); margin: 0 auto 24px; padding: 24px; border-radius: 24px; text-align: center; }
footer p { margin: 7px 0; color: var(--muted); }
.download-signup-dialog {
  --download-pink: #ff99c8;
  width: min(calc(100vw - 24px), 520px);
  max-height: 94svh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,153,200,.42);
  border-radius: 28px;
  color: #fff;
  background: #121212;
  box-shadow: 0 40px 120px rgba(0,0,0,.56);
}
.download-signup-dialog::backdrop { background: rgba(8,5,7,.68); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.download-signup-dialog[open] { display: block; }
.download-signup-dialog [hidden] { display: none !important; }
.download-signup-panel { position: relative; padding: clamp(24px, 6vw, 36px); overflow: hidden; }
.download-signup-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -110px;
  right: -75px;
  border-radius: 50%;
  background: rgba(255,153,200,.2);
  filter: blur(4px);
  pointer-events: none;
}
.download-signup-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.download-signup-eyebrow {
  margin: 0 48px 11px 0;
  color: var(--download-pink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.download-signup-dialog h2 { margin: 0; font: 600 clamp(1.9rem, 7vw, 2.75rem)/1.02 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; }
.download-signup-description { margin: 14px 0 0; color: #ddd5d9; line-height: 1.55; }
.download-signup-wallpaper { margin: 13px 0 22px; color: #b9afb4; font-size: .9rem; }
.download-signup-wallpaper strong { color: var(--download-pink); }
.download-signup-form { display: grid; gap: 12px; }
.download-signup-form > label { font-size: .88rem; font-weight: 700; }
.download-signup-form input[type="email"] {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #5d555a;
  border-radius: 13px;
  color: #fff;
  background: #222;
  font: 500 1rem/1.4 "Figtree", sans-serif;
}
.download-signup-form input[type="email"]::placeholder { color: #aaa2a8; opacity: 1; }
.download-signup-consent { display: flex; align-items: flex-start; gap: 10px; color: #ded8dc; font-size: .84rem; line-height: 1.45; }
.download-signup-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--download-pink); }
.download-signup-actions { display: grid; gap: 9px; margin-top: 2px; }
.download-signup-primary, .download-signup-secondary {
  display: inline-flex;
  min-height: 50px;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
}
.download-signup-primary { border: 0; color: #121212; background: var(--download-pink); }
.download-signup-secondary { border: 1px solid rgba(255,255,255,.2); color: #fff; background: transparent; }
.download-signup-primary:disabled { opacity: .65; cursor: wait; }
.download-signup-reassurance { margin: 0; color: #aaa2a8; font-size: .78rem; text-align: center; }
.download-signup-error { margin: 0; color: #ffb4b4; font-size: .88rem; line-height: 1.45; }
.download-signup-success { padding-top: 8px; text-align: center; }
.download-signup-success h3 { margin: 0 0 10px; color: var(--download-pink); font: 600 1.65rem/1.15 "Bricolage Grotesque", sans-serif; }
.download-signup-success p { margin: 0 0 18px; color: #ded8dc; line-height: 1.55; }
.download-signup-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.download-signup-dialog :focus-visible { outline: 3px solid var(--download-pink); outline-offset: 3px; }
.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 17px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17,13,16,.94);
  box-shadow: 0 14px 40px rgba(0,0,0,.26);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  font-weight: 700;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.selectable { border-radius: 16px; user-select: all; pointer-events: auto; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .site-header { padding-top: 12px; }
  .wallpaper-page { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .wallpaper-frame { width: min(100%, 430px); margin-inline: auto; }
  .copy { text-align: center; }
  .description { margin-inline: auto; }
  .actions { justify-content: center; }
  .back-link { justify-content: center; }
}
@media (max-width: 420px) {
  .shell { width: min(100% - 24px, 1060px); }
  .panda-hq { padding-inline: 12px; font-size: .9rem; }
  .wallpaper-page { padding-bottom: 62px; }
  .wallpaper-frame { padding: 9px; border-radius: 26px; }
  .wallpaper-frame img { border-radius: 19px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .action.primary { grid-column: 1 / -1; }
  .action { padding-inline: 12px; }
  .in-app-download-hint { align-items: flex-start; padding: 11px 10px 11px 14px; gap: 9px; }
  .in-app-download-hint p { font-size: .82rem; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
