/* The keeper's pass: one object, one question. Shared by the landing page and the dashboard. */
.ps {
  --ps-ink: #1D1C1A; --ps-ink-2: #5E5B55; --ps-ink-3: #97938B; --ps-rule: rgba(29, 28, 26, .10);
  --ps-orange: #FF5A1F; --ps-green: #23885A; --ps-ease: cubic-bezier(.2, .8, .2, 1);
  --ps-serif: "Fraunces", Georgia, serif; --ps-sans: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --ps-mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace; --ps-dots: "Doto", var(--ps-mono);
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 72px; row-gap: 72px; align-items: center;
  color: var(--ps-ink); font-family: var(--ps-sans);
}

/* ---- the pass ---- */
.ps-stage { position: relative; perspective: 1100px; padding: 24px 0 40px; }
.ps-card {
  --rx: 0deg; --ry: 0deg; --mx: 30%; --my: 20%;
  position: relative; width: min(460px, 100%); aspect-ratio: 1.586; margin: 0 auto; border-radius: 22px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; padding: 24px 26px 22px;
  background: linear-gradient(150deg, #FBF8F2 0%, #EFE9DE 48%, #E3DBCC 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(29, 28, 26, .08), 0 2px 4px rgba(60, 48, 30, .08), 0 18px 40px rgba(60, 48, 30, .16), 0 44px 80px rgba(60, 48, 30, .12);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ps-ease), background .6s var(--ps-ease), color .6s var(--ps-ease), box-shadow .6s var(--ps-ease);
  animation: psIn .9s var(--ps-ease) both;
}
.ps-stage:hover .ps-card { transition: transform .12s linear, background .6s var(--ps-ease), color .6s var(--ps-ease); }
@keyframes psIn { from { opacity: 0; transform: translateY(18px) rotateX(10deg); } }
.ps-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(29, 28, 26, .07); stroke-width: .8; pointer-events: none; transition: stroke .6s var(--ps-ease); }
.ps-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(70% 90% at var(--mx) var(--my), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%); }
.ps-top, .ps-mid, .ps-foot { position: relative; z-index: 1; }
.ps-top { display: flex; align-items: center; justify-content: space-between; }
.ps-mark { display: inline-flex; align-items: center; gap: 8px; font: 420 19px/1 var(--ps-serif); letter-spacing: -.02em; }
.ps-mark svg { width: 20px; height: 20px; }
.ps-mark i { font-weight: 380; }
.ps-kind { font: 600 10.5px var(--ps-mono); letter-spacing: .22em; color: var(--ps-ink-3); transition: color .6s var(--ps-ease); }
.ps-mid { align-self: center; }
.ps-price { display: flex; align-items: baseline; gap: 10px; }
.ps-per { font-size: 15px; color: var(--ps-ink-2); transition: color .6s var(--ps-ease); }
.ps-what { margin-top: 6px; font-size: 13px; color: var(--ps-ink-2); transition: color .6s var(--ps-ease); }
.ps-foot { display: grid; grid-template-columns: 1fr auto 40px; align-items: end; gap: 22px; }
.ps-foot small { display: block; font: 600 9px var(--ps-mono); letter-spacing: .2em; color: var(--ps-ink-3); margin-bottom: 4px; transition: color .6s var(--ps-ease); }
.ps-holder, .ps-valid { font: 500 12.5px/1.3 var(--ps-mono); letter-spacing: .12em; }
.ps-valid b { font-weight: 500; }
/* a small contact chip, like the one on a real card, in Echo's lamp orange */
.ps-chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(140deg, #FFB48E, #FF6A2B 55%, #C9440F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; }
.ps-chip::before { content: ""; position: absolute; inset: 7px 9px; border-radius: 3px; border: 1px solid rgba(80, 20, 0, .3); border-left: 0; border-right: 0; }
.ps-shadow { position: absolute; left: 14%; right: 14%; bottom: 8px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 48, 30, .28), transparent); filter: blur(6px); z-index: -1; }

/* the rolling price */
.od { display: inline-flex; font: 380 64px/1 var(--ps-serif); font-variation-settings: "opsz" 144; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.od-w { display: inline-block; height: 1em; overflow: hidden; }
.od-s { display: flex; flex-direction: column; transform: translateY(calc(var(--n) * -1em)); transition: transform .9s cubic-bezier(.2, .9, .2, 1); }
.od-s i { font-style: normal; height: 1em; display: block; text-align: center; }
.od-w:nth-child(2) .od-s { transition-delay: .04s; } .od-w:nth-child(3) .od-s { transition-delay: .08s; } .od-w:nth-child(4) .od-s { transition-delay: .12s; } .od-w:nth-child(5) .od-s { transition-delay: .16s; }

/* lifetime: the pass turns deep navy, with gold lettering */
.ps[data-pick="lifetime"] .ps-card { color: #F3EEE3; background: radial-gradient(120% 90% at 15% 0%, #2C3D63 0%, #16223B 55%, #0E182C 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 2px 4px rgba(10, 16, 30, .2), 0 18px 40px rgba(10, 16, 30, .28), 0 44px 80px rgba(10, 16, 30, .2); }
.ps[data-pick="lifetime"] .ps-lines { stroke: rgba(228, 198, 143, .16); }
.ps[data-pick="lifetime"] .od-s i, .ps[data-pick="lifetime"] .od-c { background: linear-gradient(160deg, #FBEFCF 0%, #D9B26A 45%, #F6E3B4 62%, #B88A42 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps[data-pick="lifetime"] .ps-per, .ps[data-pick="lifetime"] .ps-what { color: rgba(243, 238, 227, .7); }
.ps[data-pick="lifetime"] .ps-kind, .ps[data-pick="lifetime"] .ps-foot small { color: #D9B26A; }
.ps[data-pick="lifetime"] .ps-sheen { mix-blend-mode: overlay; opacity: .5; }

/* ---- the question ---- */
.ps-k { margin: 0 0 14px; font-size: 14px; color: var(--ps-ink-3); }
.ps-own { margin: -6px 0 18px; font: 400 28px/1.15 var(--ps-serif); letter-spacing: -.02em; }
.ps-opts { display: grid; gap: 6px; }
.ps-opt {
  display: grid; grid-template-columns: 22px 1fr auto 74px; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; border-radius: 14px; text-align: left;
  font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--ps-rule); transition: background-color .2s var(--ps-ease), box-shadow .2s var(--ps-ease), transform .12s var(--ps-ease);
}
.ps-opt:hover { background: rgba(255, 255, 255, .55); }
.ps-opt:active { transform: scale(.995); }
.ps-opt[aria-checked="true"] { background: #FFFEFB; box-shadow: inset 0 0 0 1.5px var(--ps-ink), 0 1px 2px rgba(60, 48, 30, .06), 0 8px 20px rgba(60, 48, 30, .08); }
.ps-opt:focus-visible { outline: 2px solid rgba(29, 28, 26, .3); outline-offset: 2px; }
.ps-dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(29, 28, 26, .25); position: relative; transition: box-shadow .2s var(--ps-ease); }
.ps-opt[aria-checked="true"] .ps-dot { box-shadow: inset 0 0 0 5.5px var(--ps-ink); }
.ps-name { font-size: 15.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ps-name em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ps-orange); }
.ps-amt { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.ps-amt b { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ps-amt small { font-size: 12.5px; color: var(--ps-ink-3); }
.ps-save { justify-self: end; font-size: 12px; font-weight: 600; color: var(--ps-green); }
.ps-bill { margin: 14px 4px 0; min-height: 1.5em; font-size: 14px; color: var(--ps-ink-2); }
.ps-act { display: flex; align-items: center; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.ps-go {
  height: 54px; padding: 0 26px; border: 0; border-radius: 14px; cursor: pointer; font: 500 16px var(--ps-sans); color: #F6F3EC;
  background: linear-gradient(180deg, #34322E, #1F1E1B);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -3px 0 rgba(0, 0, 0, .4), 0 2px 4px rgba(40, 30, 20, .2), 0 10px 22px rgba(40, 30, 20, .16);
  transition: transform .12s var(--ps-ease), filter .16s var(--ps-ease);
}
.ps-go:hover { filter: brightness(1.1); }
.ps-go:active { transform: translateY(1px); }
.ps-go:disabled { opacity: .55; cursor: default; }
.ps-free { font-size: 15px; font-weight: 500; color: var(--ps-ink-2); text-decoration: none; border-bottom: 1px solid rgba(29, 28, 26, .2); transition: color .16s, border-color .16s; }
.ps-free:hover { color: var(--ps-ink); border-color: var(--ps-ink); }
.ps-note { margin: 14px 4px 0; font-size: 14px; color: var(--ps-green); }

/* ---- what every pass opens, and the promise ---- */
.ps-inc { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.ps-inc li b { display: block; font: 400 20px/1.25 var(--ps-serif); letter-spacing: -.01em; margin-bottom: 6px; }
.ps-inc li span { font-size: 14.5px; line-height: 1.55; color: var(--ps-ink-2); }
.ps-fine { grid-column: 1 / -1; margin: -24px auto 0; max-width: 640px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--ps-ink-3); }

@media (max-width: 960px) {
  .ps { grid-template-columns: 1fr; row-gap: 40px; }
  .ps-inc { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ps-fine { margin-top: 0; }
}
@media (max-width: 560px) {
  .ps-card { padding: 18px 18px 16px; border-radius: 18px; }
  .od { font-size: 48px; }
  .ps-foot { gap: 12px; grid-template-columns: 1fr auto 32px; }
  .ps-chip { width: 32px; height: 24px; }
  .ps-opt { grid-template-columns: 20px 1fr auto; padding: 10px 14px; }
  .ps-save { grid-column: 2 / -1; justify-self: start; margin-top: -6px; }
  .ps-save:empty { display: none; }
  .ps-opt { min-height: 54px; }
  .ps-inc { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ps-card { animation: none; transition: none; } .od-s { transition: none; } }
