/* ===========================================================
   PokéMart UK / Officer Jenny — shared design system
   Used by: home, app-setup, privacy, terms, faq
   =========================================================== */
:root {
  --black: #08080a;
  --field: #101013;
  --field-2: #16161b;
  --ink: #ece8dd;
  --muted: #a9a496;
  --gold-1: #f6e7b0;
  --gold-2: #e3b43e;
  --gold-3: #b5832a;
  --gold-4: #8c6322;
  --red: #d62828;
  --red-deep: #a01b1b;
  --line: rgba(227, 180, 62, 0.18);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--black);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 6px;
}
section[id] {
  scroll-margin-top: 104px;
}
.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}
.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- nav ---- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0.6));
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  line-height: 1.02;
}
.brand > span:last-child {
  min-width: 0;
}
.brand .mark {
  width: 54px;
  height: 54px;
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.015em;
  text-transform: none;
  color: var(--gold-2);
  margin-top: 3px;
}
.navlinks {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--muted);
}
.navlinks a {
  transition: color 0.2s;
  position: relative;
}
.navlinks a:hover {
  color: var(--gold-1);
}
.navlinks a.active {
  color: var(--gold-1);
}
.navlinks a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-quint);
}
.navlinks a:hover::after,
.navlinks a.active::after {
  transform: scaleX(1);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 10px;
  transition:
    transform 0.25s var(--ease-out-quint),
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-gold {
  background: #e6b73c;
  color: #1a1206;
  border: 1px solid #efce6e;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 16px -10px rgba(0, 0, 0, 0.85);
}
.btn-gold:hover {
  background: #efc44f;
  transform: translateY(-1px);
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 42%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out-quint);
}
.btn-gold:hover::after {
  left: 130%;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(227, 180, 62, 0.5);
  color: var(--ink);
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: var(--gold-2);
  background: rgba(227, 180, 62, 0.08);
  color: var(--gold-1);
}
.mobile-menu {
  display: none;
  position: relative;
}
.mobile-menu summary {
  list-style: none;
  width: 46px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(227, 180, 62, 0.06);
  color: var(--gold-1);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu summary:hover,
.mobile-menu[open] summary {
  border-color: var(--gold-2);
  background: rgba(227, 180, 62, 0.1);
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition:
    transform 0.25s var(--ease-out-quint),
    top 0.25s var(--ease-out-quint),
    opacity 0.2s,
    background 0.2s;
}
.menu-bars::before,
.menu-bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-bars::before {
  top: -7px;
}
.menu-bars::after {
  top: 7px;
}
.mobile-menu[open] .menu-bars {
  background: transparent;
}
.mobile-menu[open] .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.mobile-menu[open] .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.mobile-menu-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  width: min(82vw, 320px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 22, 27, 0.98), rgba(8, 8, 10, 0.98));
  box-shadow: 0 28px 70px -30px #000;
  display: grid;
  gap: 6px;
  z-index: 70;
}
.mobile-menu-panel a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 10px;
  border-radius: 10px;
}
.mobile-menu-panel a:not(.btn):hover,
.mobile-menu-panel a.active {
  color: var(--gold-1);
  background: rgba(227, 180, 62, 0.08);
}
@media (max-width: 780px) {
  nav {
    height: 76px;
    gap: 14px;
    justify-content: space-between;
  }
  .brand {
    gap: 10px;
    font-size: 1.15rem;
    margin-left: auto;
    text-align: left;
  }
  .brand .mark {
    width: 44px;
    height: 44px;
  }
  .brand small {
    font-size: 0.62rem;
  }
  .navlinks,
  header nav > .btn-gold {
    display: none;
  }
  .mobile-menu {
    display: block;
    flex: 0 0 auto;
  }
}
@media (max-width: 420px) {
  nav {
    gap: 10px;
  }
  .brand {
    gap: 8px;
    font-size: 1rem;
  }
  .brand .mark {
    width: 38px;
    height: 38px;
  }
  .brand small {
    display: block;
    font-size: 0.52rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

/* ---- hero ---- */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(44px, 7vw, 88px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58% 50% at 74% 32%, rgba(214, 40, 40, 0.18), transparent 70%),
    radial-gradient(48% 45% at 22% 72%, rgba(227, 180, 62, 0.12), transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
/* hero kicker — clean type-in line (no box) */
.hero-kicker {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--gold-1);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 1.4em;
}
.hero-kicker .caret {
  display: none;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: var(--gold-2);
}
.hero-kicker.typing .caret {
  display: inline-block;
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}
h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.6rem, 6.2vw, 4.5rem);
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  color: var(--gold-2);
}
.lede {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 48ch;
}
.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.trust {
  margin-top: 30px;
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust svg {
  width: 16px;
  height: 16px;
  color: var(--gold-2);
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 400px;
  margin-inline: auto;
  width: 100%;
}
.hero-art .ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(214, 40, 40, 0.25), transparent 62%);
  filter: blur(10px);
}
.hero-art .badge {
  position: absolute;
  inset: 7%;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}
@keyframes float {
  0%,
  100% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(6px);
  }
}
.scan {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  box-shadow: 0 0 16px var(--gold-2);
  animation: scan 3.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes scan {
  0% {
    top: 16%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 84%;
    opacity: 0;
  }
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(227, 180, 62, 0.16),
    transparent 42%,
    rgba(214, 40, 40, 0.13),
    transparent 72%
  );
  filter: blur(28px);
  animation: spin360 28s linear infinite;
}
@keyframes spin360 {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-art {
    grid-row: 1;
    max-width: 280px;
  }
}

/* ---- section frame ---- */
section {
  position: relative;
}
.sec-head {
  max-width: 64ch;
  margin-bottom: clamp(30px, 5vw, 52px);
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.05;
  text-wrap: balance;
}
.sec-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.05rem;
}
.pad {
  padding-block: clamp(52px, 8vw, 100px);
}
.hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---- monitored: Pokémon Center feature ---- */
.pc-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.monitor-feature {
  max-width: 64ch;
}
.monitor-feature h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.04;
}
.monitor-feature h2 em {
  font-style: normal;
  color: var(--gold-2);
}
.monitor-feature p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 56ch;
}

/* ---- full-bleed retailer ticker ---- */
.ticker {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-block: clamp(26px, 3.2vw, 46px);
  overflow: hidden;
}
.ticker-label {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f8a7e;
  margin-bottom: 22px;
}
.ticker-label b {
  color: var(--gold-1);
  font-weight: 600;
}
.tick-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.tick-row {
  display: flex;
}
.tick-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex: none;
  animation: tick 55s linear infinite;
  will-change: transform;
}
.tick-track.rev {
  animation-direction: reverse;
  animation-duration: 70s;
}
.ticker:hover .tick-track {
  animation-play-state: paused;
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.tchip {
  flex: none;
  display: grid;
  place-items: center;
  height: 78px;
  min-width: 168px;
  padding: 18px 30px;
  border-radius: 16px;
  background: #f4f4f3;
  transition:
    transform 0.25s var(--ease-out-quint),
    box-shadow 0.25s;
  box-shadow:
    0 12px 26px -14px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.tchip img {
  max-height: 38px;
  max-width: 118px;
  width: auto;
  height: auto;
  display: block;
}
.tchip:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 34px -14px rgba(0, 0, 0, 0.85);
}

/* hero entrance — one orchestrated load */
.reveal {
  animation: reveal-up 0.7s var(--ease-out-quint) both;
}
.reveal.r1 {
  animation-delay: 0.04s;
}
.reveal.r2 {
  animation-delay: 0.12s;
}
.reveal.r3 {
  animation-delay: 0.2s;
}
.reveal.r4 {
  animation-delay: 0.28s;
}
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.step {
  background: linear-gradient(180deg, var(--field), var(--black));
  padding: 30px 24px;
  position: relative;
  transition: background 0.3s;
}
.step:hover {
  background: linear-gradient(180deg, #17171d, var(--black));
}
.step .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  color: #2a2a30;
  -webkit-text-stroke: 1px var(--gold-3);
  transition:
    color 0.3s,
    -webkit-text-stroke-color 0.3s;
}
.step:hover .n {
  color: var(--gold-2);
  -webkit-text-stroke-color: transparent;
}
.step h3 {
  font-size: 1.08rem;
  margin: 14px 0 8px;
  font-weight: 600;
}
.step p {
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---- membership / pricing ---- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  background: linear-gradient(180deg, var(--field), rgba(16, 16, 19, 0.4));
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease-out-quint),
    box-shadow 0.35s,
    border-color 0.35s;
}
.plan:hover {
  transform: translateY(-5px);
  border-color: var(--gold-3);
  box-shadow: 0 26px 52px -28px rgba(0, 0, 0, 0.8);
}
.plan.feature {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(214, 40, 40, 0.16), transparent 55%),
    linear-gradient(180deg, var(--field-2), var(--field));
  border-color: var(--gold-4);
}
.plan.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.plan .kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.plan h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.plan .badge {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1206;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.plan .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--gold-2);
  margin: 10px 0 4px;
}
.plan .price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}
.plan .note {
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 2.6em;
}
.plan ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 18px 0 22px;
}
.plan li {
  display: flex;
  gap: 10px;
  color: var(--ink);
  font-size: 0.94rem;
}
.plan li svg {
  width: 17px;
  height: 17px;
  color: var(--gold-2);
  flex: none;
  margin-top: 4px;
}
.plan li.muted {
  color: var(--muted);
}
.plan .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.plan .cta-help {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}
@media (max-width: 820px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ---- privacy band ---- */
.privacy {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 52px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(227, 180, 62, 0.1), transparent 60%), var(--field);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.privacy .oj {
  width: 60px;
  height: 60px;
  flex: none;
}
.privacy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.privacy p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 56ch;
}
@media (max-width: 760px) {
  .privacy {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 46px;
  margin-top: 40px;
  color: var(--muted);
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.foot-links a:hover {
  color: var(--gold-1);
}
.foot-note {
  font-size: 0.82rem;
  color: #8d887b;
  margin-top: 26px;
  max-width: 68ch;
  line-height: 1.55;
}

/* ===== premium pass: atmosphere ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection {
  background: rgba(227, 180, 62, 0.3);
  color: #fff;
}
html {
  scrollbar-color: #3a3326 transparent;
}
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: #2c281d;
  border-radius: 10px;
  border: 3px solid var(--black);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-4);
}

/* ===========================================================
   CONTENT PAGES — app-setup / privacy / terms / faq
   =========================================================== */
.page-head {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(26px, 4vw, 44px);
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 75% at 82% -10%, rgba(214, 40, 40, 0.13), transparent 65%),
    radial-gradient(50% 60% at 6% 10%, rgba(227, 180, 62, 0.1), transparent 65%);
}
.page-head .wrap {
  position: relative;
  z-index: 1;
}
.page-head h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
}
.page-head .lede {
  max-width: 64ch;
}
.crumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 22px;
}
.crumbs a {
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--gold-1);
}
.crumbs .sep {
  color: #4f4b42;
}
.updated {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  color: #8d887b;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}

.content {
  padding-block: clamp(10px, 2vw, 26px) clamp(60px, 9vw, 104px);
}
.prose {
  max-width: 74ch;
  margin-inline: auto;
}
.prose > * + * {
  margin-top: 1.05em;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-top: 2.1em;
  line-height: 1.15;
  scroll-margin-top: 108px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.18rem;
  margin-top: 1.6em;
  color: var(--gold-1);
}
.prose p,
.prose li {
  color: #cdc8bb;
  line-height: 1.78;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(227, 180, 62, 0.45);
}
.prose a:hover {
  color: var(--gold-1);
  text-decoration-color: var(--gold-1);
}
.prose ul,
.prose ol {
  padding-left: 1.35em;
  display: grid;
  gap: 0.5em;
}
.prose li {
  padding-left: 0.15em;
}
.prose li::marker {
  color: var(--gold-3);
}
.prose hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 2.6em 0;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #1c1c20;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--gold-1);
  font-size: 0.88em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
}
.prose th {
  background: rgba(227, 180, 62, 0.07);
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink);
}
.prose td {
  color: #cdc8bb;
}
.prose .summary {
  margin-top: 2.4em;
  border: 1px solid var(--gold-4);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(227, 180, 62, 0.1), transparent 60%), var(--field);
  padding: 22px 24px;
}
.prose .summary p {
  color: var(--ink);
}

.callout {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(227, 180, 62, 0.1), transparent 60%), var(--field);
  padding: 18px 20px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-block: 1.4em;
}
.callout svg {
  width: 20px;
  height: 20px;
  color: var(--gold-2);
  flex: none;
  margin-top: 2px;
}
.callout p {
  margin: 0;
  color: #cdc8bb;
}
.callout strong {
  color: var(--ink);
}

/* setup steps (app-setup) */
.setup {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin-inline: auto;
}
.sstep {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--field), rgba(16, 16, 19, 0.5));
  padding: 24px 26px 24px 80px;
  transition: border-color 0.3s;
}
.sstep:hover {
  border-color: var(--gold-3);
}
.sstep .num {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold-1);
  background: rgba(227, 180, 62, 0.1);
  border: 1px solid var(--line);
}
.sstep h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.sstep p {
  color: #cdc8bb;
  line-height: 1.72;
}
.sstep p + p {
  margin-top: 0.6em;
}
.sstep a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sstep code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #1c1c20;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--gold-1);
  font-size: 0.9em;
}

/* faq accordion */
.faq {
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq details[open] {
  border-color: var(--gold-4);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.06rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--gold-2);
  transition: transform 0.3s var(--ease-out-quint);
}
.faq details[open] summary .chev {
  transform: rotate(180deg);
}
.faq .ans {
  padding: 0 22px 20px;
  color: #cdc8bb;
  line-height: 1.78;
}
.faq .ans a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq .ans code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #1c1c20;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--gold-1);
  font-size: 0.9em;
}

/* shared closing CTA band */
.cta-band {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(214, 40, 40, 0.14), transparent 60%), var(--field);
  max-width: 780px;
  margin-inline: auto;
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.cta-band p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 48ch;
  margin-inline: auto;
}
.cta-band .cta-row {
  justify-content: center;
  margin-top: 26px;
}

/* ---- app screenshot gallery + css-only lightbox ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  max-width: 940px;
  margin-inline: auto;
}
.shot {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  background: #0d0d10;
  aspect-ratio: 9/19.2;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.9),
    inset 0 0 0 5px #0a0a0c;
  transition:
    transform 0.3s var(--ease-out-quint),
    border-color 0.3s,
    box-shadow 0.3s;
}
.shot:hover {
  transform: translateY(-6px);
  border-color: var(--gold-3);
  box-shadow: 0 42px 72px -28px rgba(0, 0, 0, 0.95);
}
.shot::after {
  content: 'Drop screenshot in /img';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #45433c;
  font-size: 0.74rem;
  text-align: center;
  padding: 18px;
}
.shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shot .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 36px 14px 14px;
  font-size: 0.8rem;
  color: #efece3;
  text-align: center;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}
.shot .zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 10, 0.62);
  border: 1px solid var(--line);
  color: var(--gold-1);
  opacity: 0;
  transition: opacity 0.25s;
}
.shot .zoom svg {
  width: 16px;
  height: 16px;
}
.shot:hover .zoom {
  opacity: 1;
}
.gallery-note {
  text-align: center;
  color: #8d887b;
  font-size: 0.85rem;
  margin-top: 22px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}
.lightbox .close {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}
.lightbox img {
  position: relative;
  max-width: min(420px, 92vw);
  max-height: 90vh;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -20px #000;
}
.lightbox .x {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 10, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.4rem;
  text-decoration: none;
}
.lightbox .x:hover {
  border-color: var(--gold-2);
  color: var(--gold-1);
}

/* ===========================================================
   RESULT / RETURN PAGES (OAuth verification + Stripe returns)
   Full-screen, focused confirmation cards. One component, many states.
   =========================================================== */
.result-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 48px);
  position: relative;
  overflow: hidden;
}
.result-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(214, 40, 40, 0.12), transparent 60%),
    radial-gradient(50% 50% at 50% 100%, rgba(227, 180, 62, 0.1), transparent 60%);
}
.result {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 48px);
  background: linear-gradient(180deg, var(--field-2), var(--field));
  box-shadow: 0 44px 90px -44px #000;
}
.result .mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  opacity: 0.9;
}
.result .ico {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
}
.result .ico svg {
  width: 34px;
  height: 34px;
}
.result.is-success .ico {
  background: rgba(74, 200, 130, 0.13);
  color: #62cf91;
  border-color: rgba(74, 200, 130, 0.32);
}
.result.is-premium .ico {
  background: rgba(227, 180, 62, 0.15);
  color: var(--gold-1);
  border-color: var(--gold-4);
}
.result.is-queue .ico {
  background: rgba(227, 180, 62, 0.12);
  color: var(--gold-2);
  border-color: rgba(227, 180, 62, 0.3);
}
.result.is-trial .ico {
  background: rgba(124, 160, 255, 0.14);
  color: #9db6ff;
  border-color: rgba(124, 160, 255, 0.3);
}
.result.is-warn .ico {
  background: rgba(214, 40, 40, 0.14);
  color: #ff6f6f;
  border-color: rgba(214, 40, 40, 0.35);
}
.result h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
}
.result > p {
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.72;
}
.result .meta {
  margin-top: 20px;
  font-size: 0.86rem;
  color: #bdb8ab;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  background: rgba(227, 180, 62, 0.05);
  line-height: 1.6;
}
.result .meta b {
  color: var(--gold-1);
  font-weight: 600;
}
.result .result-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.result .close-hint {
  margin-top: 24px;
  font-size: 0.82rem;
  color: #6f6b60;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
}
.result .close-hint svg {
  width: 15px;
  height: 15px;
  color: #62cf91;
}

/* states showcase (reference page only) */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
  align-items: start;
}
.state-cell {
  position: relative;
}
.state-cell .route {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  color: var(--gold-2);
  background: #1c1c20;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 12px;
}
.state-cell .result {
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  .tick-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
  .tick-rows {
    -webkit-mask-image: none;
    mask-image: none;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
