/* passengine.com landing page. Builds on /styles.css (tokens, fonts, lockup).
   Only index.html loads this file, so nothing here reaches /for/ pages.
   Season Pass look: Big Shoulders uppercase display, platform teal, neutral
   rink-white surfaces, and the pass itself as the one hero moment. */

.home {
  --hw-max: 1120px;
  --btn-fill: var(--pe-accent-strong);
  --pass-bg: #103b41;          /* a deep shade of the platform teal */
  --pass-dot: #2f8b93;
  --pass-label: #9fd6da;
  --navy: #0d1722;
  --ok-bg: #effaf2; --ok-ink: #1f7a44; --ok-solid: #1f9d52;
  --lime: #C6D72E;
}
@media (prefers-color-scheme: dark) {
  .home {
    --navy: #131d28;
    --ok-bg: #12261b; --ok-ink: #7fd6a0;
  }
}

.hw { width: 100%; max-width: var(--hw-max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .hw { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 10; padding: 8px 12px;
  background: var(--pe-surface); color: var(--pe-ink); border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid color-mix(in oklab, var(--pe-accent) 70%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ── Header ─────────────────────────────────────────────────────────── */
.top { padding: 16px 0; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-link { display: none; color: var(--pe-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.top-link:hover { color: var(--pe-accent-ink); }
@media (min-width: 720px) { .top-link { display: inline; } }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--pe-r-btn);
  font: 700 16px/1.1 var(--pe-body); text-decoration: none; text-align: center;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.975); }
.btn--solid { background: var(--btn-fill); color: #fff;
  box-shadow: 0 10px 22px -12px color-mix(in oklab, var(--pe-accent) 70%, transparent); }
.btn--solid:hover { background: color-mix(in oklab, var(--btn-fill) 88%, #000); }
.btn--ghost { color: var(--pe-ink); box-shadow: inset 0 0 0 1.5px var(--pe-border); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--pe-accent); }
.btn--line { color: var(--pe-ink); box-shadow: inset 0 0 0 1.5px var(--pe-border); background: var(--pe-surface); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--pe-accent); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--light { background: #fff; color: #0d1722; }
.btn--light:hover { background: #e9f4f5; }

/* ── Type ──────────────────────────────────────────────────────────── */
.kicker {
  margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pe-accent-ink);
}
.kicker--on-dark { color: var(--pass-label); }
.hero-title, .h2, .close-title {
  margin: 0; font-family: var(--pe-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: .01em; text-wrap: balance;
}
.hero-title { font-size: clamp(46px, 12.5vw, 88px); line-height: .88; }
.h2 { font-size: clamp(32px, 6.4vw, 48px); line-height: .92; margin-bottom: 28px; }
.lede { margin: 20px 0 28px; max-width: 34em; font-size: 18px; color: var(--pe-muted); text-wrap: pretty; }
.home h3 { margin: 0 0 6px; font-size: 18px; font-weight: 750; line-height: 1.3; }
.home p { text-wrap: pretty; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 20px 0 64px; }
/* Halftone field, the pass's own pattern, fading out from the top right. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, color-mix(in oklab, var(--pe-accent) 34%, transparent) 1.3px, transparent 1.8px) 0 0 / 11px 11px;
  -webkit-mask: radial-gradient(75% 85% at 100% 0%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
          mask: radial-gradient(75% 85% at 100% 0%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}
.hero-in { display: grid; gap: 52px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 0 auto; } }
@media (min-width: 960px) {
  .hero { padding: 48px 0 96px; }
  .hero-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 56px; }
}

/* The example pass: the app's Season Pass card, simplified, with a tear-off
   stub and a real QR. */
.hero-art { display: flex; justify-content: center; }
.pass-stage { position: relative; width: min(100%, 380px); padding: 0 6px 66px; }
@media (min-width: 960px) { .pass-stage { width: min(100%, 420px); } }
/* The Account dashboard sits behind the pass, framed like an app window and
   bleeding off the right edge. Screenshot from the local demo database. */
.pass-stage { padding-top: 132px; }
.dash {
  position: absolute; z-index: 0; top: 0; right: -22%; width: 122%; aspect-ratio: 16 / 10;
  overflow: hidden; border-radius: 12px; border: 1px solid var(--pe-border);
  background: var(--pe-surface); transform: rotate(2deg);
  box-shadow: 0 30px 60px -28px rgba(13,23,34,.42);
}
.dash img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (prefers-color-scheme: dark) { .dash { box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); } }
@media (min-width: 960px) { .pass-stage { padding-top: 168px; } .dash { width: 128%; right: -30%; } }
.pass-shell { position: relative; z-index: 1; }
.checkin { z-index: 2; }
.pass-shell {
  transform: rotate(-4deg);
  filter: drop-shadow(0 1px 1px rgba(13,23,34,.16)) drop-shadow(0 26px 24px rgba(13,23,34,.28));
}
@media (prefers-color-scheme: dark) {
  .pass-shell { filter: drop-shadow(0 22px 26px rgba(0,0,0,.6)); }
}
.pass {
  --pad: 18px; --qr: 98px; --stub-x: calc(var(--pad) + var(--qr) + 8px); --notch: 8px;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 22px; padding: var(--pad);
  border-radius: 18px; background: var(--pass-bg); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  -webkit-mask-image:
    radial-gradient(circle at calc(100% - var(--stub-x)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)),
    radial-gradient(circle at calc(100% - var(--stub-x)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px));
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle at calc(100% - var(--stub-x)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)),
    radial-gradient(circle at calc(100% - var(--stub-x)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px));
  mask-composite: intersect;
}
.pass::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle, var(--pass-dot) 1.2px, transparent 1.6px) 0 0 / 6px 6px;
  -webkit-mask: radial-gradient(120% 120% at 100% 0%, #000 0%, rgba(0,0,0,.55) 35%, transparent 70%);
          mask: radial-gradient(120% 120% at 100% 0%, #000 0%, rgba(0,0,0,.55) 35%, transparent 70%);
}
.pass::after {
  content: ""; position: absolute; top: calc(var(--notch) + 4px); bottom: calc(var(--notch) + 4px);
  right: calc(var(--stub-x) - .75px); width: 1.5px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.34) 0 4px, transparent 4px 8px);
}
.pass-eyebrow { font: 700 10.5px/1.3 var(--pe-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pass-program { margin-top: 4px; font: 900 25px/1 var(--pe-display); letter-spacing: .02em; text-transform: uppercase; }
.pass-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.pass-text { display: grid; gap: 12px; min-width: 0; }
.pass-holder { font: 900 38px/.86 var(--pe-display); text-transform: uppercase; letter-spacing: .01em; }
.pass-details { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.pass-details dt { font: 700 9px/1.3 var(--pe-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pass-label); }
.pass-details dd { margin: 2px 0 0; font: 500 13px/1.3 var(--pe-body); color: rgba(255,255,255,.88); }
.pass-qr {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 0 5px; border-radius: 9px; background: #fff; color: #0d1722;
}
.pass-qr svg { width: var(--qr); height: var(--qr); display: block; }
.pass-qr-cap { font: 700 9px var(--pe-body); letter-spacing: .14em; text-transform: uppercase; }
@container (max-width: 330px) { .pass-holder { font-size: 30px; } }
.pass { container-type: inline-size; }

/* The check-in confirmation a Venue's screen shows after a scan. */
.checkin {
  position: absolute; left: 4%; bottom: 0; transform: rotate(2deg);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 14px;
  background: var(--pe-surface); border: 1px solid var(--pe-border);
  box-shadow: 0 18px 30px -18px rgba(13,23,34,.45);
}
.checkin-tick {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ok-solid); color: #fff;
}
.checkin-tick svg { width: 20px; height: 20px; }
.checkin-text { display: grid; line-height: 1.25; }
.checkin-text strong { font: 900 20px/1 var(--pe-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ok-ink); }
.checkin-text span { font-size: 14px; color: var(--pe-muted); }
@media (prefers-color-scheme: dark) { .checkin { background: #18242f; } }

/* Motion: the pass settles in, a scan line crosses the QR, then the
   check-in chip lands. Static for anyone who prefers reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .pass-shell { animation: settle .8s cubic-bezier(.2,.8,.2,1) both; }
  .pass-qr::after {
    content: ""; position: absolute; left: 4px; right: 4px; top: 0; height: 2px;
    background: var(--pe-accent); box-shadow: 0 0 10px 2px color-mix(in oklab, var(--pe-accent) 60%, transparent);
    opacity: 0; animation: scan 1.1s ease-in-out .75s 1 both;
  }
  .checkin { animation: land .45s cubic-bezier(.2,.9,.3,1.2) 1.75s both; }
  .dash { animation: dashin .7s ease-out both; }
  .btn, .card { transition-duration: .15s; }
}
@keyframes dashin { from { transform: translateY(14px) rotate(2deg); opacity: 0; } to { transform: rotate(2deg); opacity: 1; } }
@keyframes settle { from { transform: translateY(26px) rotate(3deg); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
@keyframes scan {
  0% { top: 4px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; }
  100% { top: calc(var(--qr) - 6px); opacity: 0; }
}
@keyframes land { from { transform: translateY(14px) rotate(2deg) scale(.9); opacity: 0; } to { transform: rotate(2deg); opacity: 1; } }

/* ── Bands ─────────────────────────────────────────────────────────── */
.band { padding: 64px 0; border-top: 1px solid var(--pe-border); }
@media (min-width: 900px) { .band { padding: 96px 0; } }

/* How it works: big outlined numerals. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 36px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: block; margin-bottom: 12px;
  font: 900 64px/.8 var(--pe-display); color: transparent;
  -webkit-text-stroke: 1.5px var(--pe-accent);
}
.steps p, .who p { margin: 0; color: var(--pe-muted); }

/* Features. */
.band--features { background: var(--pe-sunken); }
@media (prefers-color-scheme: dark) { .band--features { background: var(--pe-sunken); } }
.grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  padding: 22px 22px 24px; background: var(--pe-surface);
  border: 1px solid var(--pe-border); border-radius: 18px;
  border-top: 4px solid var(--pe-accent);
}
.card:nth-child(4n+2) { border-top-color: var(--mark-slate); }
.card:nth-child(4n+3) { border-top-color: var(--lime); }
.card:nth-child(4n+4) { border-top-color: color-mix(in oklab, var(--pe-accent) 45%, var(--pe-surface)); }
.card p { margin: 0; font-size: 15.5px; color: var(--pe-muted); }
/* Small crops of the real app (local demo data, no customer names). */
.shot {
  margin: -6px -8px 18px; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--pe-border); background: #eef2f5;
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (prefers-color-scheme: dark) { .shot img { filter: brightness(.9); } }

/* Payments: the scoreboard band. */
.money { padding: 64px 0; background: var(--navy); color: #e7edf3; }
@media (min-width: 900px) { .money { padding: 88px 0; } }
.money .h2 { color: #fff; margin-bottom: 14px; }
.money-lede { margin: 0; font-size: 18px; color: #b5c2cf; max-width: 26em; }
.money-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .money-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.money-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.money-list li { padding: 14px 0 14px 30px; border-top: 1px solid rgba(255,255,255,.1); position: relative; color: #b5c2cf; }
.money-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.money-list li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 3px;
  background: var(--lime); transform: rotate(45deg);
}
.money-list strong { color: #fff; }

/* Who it's for. */
.who { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 720px) { .who { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
.who li { padding: 20px 0; border-top: 1px solid var(--pe-border); }
.more { margin: 28px 0 0; color: var(--pe-muted); }

/* Closing call to action. */
.close { padding: 8px 0 72px; }
.close-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 40px 24px; border-radius: 28px; background: var(--pass-bg); color: #fff;
}
.close-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle, var(--pass-dot) 1.3px, transparent 1.8px) 0 0 / 9px 9px;
  -webkit-mask: radial-gradient(90% 120% at 100% 0%, #000 0%, rgba(0,0,0,.4) 40%, transparent 75%);
          mask: radial-gradient(90% 120% at 100% 0%, #000 0%, rgba(0,0,0,.4) 40%, transparent 75%);
}
@media (min-width: 900px) { .close-card { padding: 64px 56px; } }
.close-title { font-size: clamp(36px, 8vw, 64px); line-height: .9; max-width: 12em; }
.close-card p { margin: 16px 0 26px; max-width: 32em; font-size: 18px; color: #cfe3e5; }
.close-card .close-addr { margin: 14px 0 0; font-size: 15px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.foot { padding: 28px 0 40px; border-top: 1px solid var(--pe-border); font-size: 15px; color: var(--pe-muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.foot-brand { font-weight: 700; color: var(--pe-ink); }
.foot-nav { display: flex; gap: 20px; }
.foot-nav a { color: var(--pe-muted); }
.foot-note { margin: 0; flex-basis: 100%; }
@media (min-width: 720px) { .foot-note { flex-basis: auto; margin-left: auto; } }
/* Parent-company credit. The logo file is white only, so light mode tints it to ink. */
.foot-by {
  flex-basis: 100%; display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  margin-top: 14px; padding-top: 0; color: var(--pe-muted); text-decoration: none; font-size: 14px;
}
.foot-by img { display: block; height: 26px; width: auto; filter: brightness(0); opacity: .78; transition: opacity .15s; }
.foot-by:hover img, .foot-by:focus-visible img { opacity: 1; }
.foot-by:hover span, .foot-by:focus-visible span { color: var(--pe-ink); }
@media (prefers-color-scheme: dark) { .foot-by img { filter: none; opacity: .85; } }

/* Review-only marker, as on the /for/ guides. None may stay live. */
mark.tbd {
  background: var(--pe-warn-bg); color: var(--pe-warn-ink);
  box-shadow: 0 0 0 1px var(--pe-warn-bd); border-radius: 4px; padding: 0 3px;
}
