/* =========================================================
   Lockscreen for Events (info.lockscreen.ai)
   Direction: an Apple-style product page (white, black, one green)
   that scrolls into a broadcast countdown (black, condensed numerals).
   Tokens and reasons: docs/design/info-lockscreen/DIRECTION.md
   ========================================================= */

:root {
  --ground: #ffffff;
  --mist: #f2f5f3;
  --ink: #000000;
  --ink-2: #4a524d;
  --line: #e3e8e5;
  --green: #067a37;
  --green-deep: #04582a;

  --night: #000000;
  --night-ink: #f4f6f4;
  --night-ink-2: #a9b3ad;
  --night-line: #232a26;
  --signal: #35e06f;

  --font: "Schibsted Grotesk", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --numerals: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --device: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;

  --t-count: clamp(120px, 15vw, 220px);
  --t-display: clamp(52px, 6vw, 84px);
  --t-h2: clamp(36px, 3.9vw, 56px);
  --t-h3: 22px;
  --t-body-lg: 20px;
  --t-body: 18px;
  --t-small: 15px;
  --t-meta: 13px;

  --page: 64px;
  --max: 1200px;
  --panel-radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: calc(var(--max) + var(--page) * 2); margin: 0 auto; padding: 0 var(--page); }
.section { padding: 128px 0; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

h2 { font-size: var(--t-h2); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.body-lg { font-size: var(--t-body-lg); color: var(--ink-2); max-width: 46ch; margin-top: 20px; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; transition: background-color 160ms ease; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--green-deep); }
.text-link { font-weight: 600; color: var(--green); text-decoration: none; font-size: 17px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Nav: the liquid-glass pill, copied from www.lockscreen.ai ---------- */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; padding: 0 16px; }
.liquid-glass {
  max-width: 896px;
  margin: 0 auto;
  border-radius: 9999px;
  background: rgba(252, 252, 252, 0.55);
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: rgba(28, 25, 23, 0.04) 0 1px 2px, rgba(255, 255, 255, 0.7) 0 1px inset;
  /* Added here (lockscreen.ai has none): keeps the pill readable over the black sections. */
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}
.glass-nav { display: flex; height: 44px; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; }
.wordmark { font-size: 15px; font-weight: 600; letter-spacing: -0.375px; text-decoration: none; color: rgb(28, 25, 23); }
.wordmark span { color: var(--green); }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: inline-flex; height: 32px; align-items: center; border-radius: 9999px; background: rgb(28, 25, 23); padding: 0 16px; font-size: 13px; font-weight: 500; color: rgb(252, 252, 252); text-decoration: none; transition: opacity 150ms ease; }
.nav-cta:hover { opacity: 0.85; }

/* ---------- Banner (from the first version) ---------- */
.banner { overflow: hidden; margin-top: 6px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.banner-track { display: flex; width: max-content; animation: banner 120s linear infinite; }
.banner-group { display: flex; }
.banner span { display: inline-flex; align-items: center; gap: 9px; padding: 12px 30px; white-space: nowrap; }
.banner .icon { width: 17px; height: 17px; color: var(--signal); }
@keyframes banner { to { transform: translateX(-50%); } }

/* =========================================================
   1. Hero
   ========================================================= */
.hero { text-align: center; padding: 64px 24px 0; }
.kicker { font-size: 20px; font-weight: 600; color: var(--green); }
/* The hero headline is long, so it runs smaller and wider than the other display type: three lines */
.hero h1 { font-size: clamp(44px, 4.45vw, 64px); line-height: 0.98; font-weight: 700; letter-spacing: -0.045em; margin: 12px auto 0; max-width: 28ch; text-wrap: balance; }
.hero .lede { font-size: var(--t-body-lg); color: var(--ink-2); max-width: 50ch; margin: 22px auto 0; text-wrap: pretty; }
.hero-actions { display: flex; gap: 30px; justify-content: center; align-items: center; margin-top: 30px; }

.scene { position: relative; height: 830px; margin-top: 56px; perspective: 1800px; }
/* Fixed angle, chosen by AR from the first renders. No pointer tilt, sway or scroll. */
.rig { position: absolute; left: 50%; top: 0; width: 640px; margin-left: -330px; height: 100%; transform-style: preserve-3d; transform: rotateX(8.3deg) rotateY(-7.5deg); }
.phone-hero { --w: 380px; position: absolute; left: 20px; top: 0; transform-style: preserve-3d; }
.phone-hero .push-depth { transform: translateZ(28px); }
.phone-hero .la-depth { transform: translateZ(56px); box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.5); }
/* Hero cycle: a label above the phone names the moment on screen */
.la[hidden] { display: none; }
/* The hero's title row names the stage on screen; click one to jump to it */
.hero-stages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 34px; margin-top: 56px; }
.hero-stages button { padding: 4px 2px 9px; border: 0; border-bottom: 3px solid transparent; background: none; color: #9aa39d; font-size: 22px; font-weight: 650; letter-spacing: -0.01em; cursor: pointer; transition: color 200ms ease, border-color 200ms ease; }
.hero-stages button:hover { color: var(--ink); }
.hero-stages button.is-on { color: var(--ink); border-bottom-color: var(--green); }
.hero-stages + .scene { margin-top: 30px; }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
.hero-swap { animation: hero-fade 600ms ease both; }
.watch-hero { position: absolute; left: 392px; top: 96px; width: 250px; height: auto; transform: translateZ(90px); filter: drop-shadow(0 36px 34px rgba(0, 0, 0, 0.24)); }

/* =========================================================
   Device kit: iPhone, notification, Live Activity, Apple Watch, Wallet pass
   ========================================================= */
.phone {
  --w: 340px;
  position: relative;
  width: var(--w);
  height: calc(var(--w) * 2.06);
  padding: calc(var(--w) * 0.035);
  border-radius: calc(var(--w) * 0.175);
  background: linear-gradient(150deg, #3a3d3b 0%, #121413 40%, #050605 100%);
  box-shadow: inset 0 0 0 1.5px #5b605d, inset 0 0 0 4px #0d0f0e, 0 60px 80px -40px rgba(0, 0, 0, 0.45);
  font-family: var(--device);
}
.screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.145); display: flex; flex-direction: column; align-items: center; padding: 0 14px; }
.wall-light { background: linear-gradient(175deg, #eaf6ef 0%, #a6dfbc 44%, #1d8a4b 100%); color: #06301a; }
.wall-dark { background: radial-gradient(120% 70% at 50% 0%, #0f3a22 0%, #06150c 55%, #020604 100%); color: #fff; }
.island { width: 30%; height: 30px; margin-top: 12px; border-radius: 20px; background: #000; flex: none; }
.status { position: absolute; top: 20px; right: 26px; display: flex; gap: 2.5px; align-items: flex-end; }
.status i { display: block; width: 3.5px; border-radius: 1px; background: currentColor; }
.status i:nth-child(1) { height: 5px; } .status i:nth-child(2) { height: 7px; } .status i:nth-child(3) { height: 9px; } .status i:nth-child(4) { height: 11px; }
.status b { width: 25px; height: 12px; border-radius: 4px; border: 1.3px solid currentColor; opacity: .75; position: relative; margin-left: 5px; }
.status b::after { content: ""; position: absolute; inset: 1.6px 6px 1.6px 1.6px; background: currentColor; border-radius: 1.5px; }
.lock-date { margin-top: 22px; font-size: 17px; font-weight: 600; }
.lock-time { font-size: 92px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lock-stack { margin-top: auto; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lock-foot { display: flex; justify-content: space-between; width: 100%; padding: 16px 20px 0; }
.lock-foot span { width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); }
.home { width: 128px; height: 5px; border-radius: 4px; background: currentColor; opacity: .85; margin: 12px 0 9px; }

.push { display: flex; gap: 11px; width: 100%; padding: 12px 13px; border-radius: 22px; background: rgba(246, 248, 246, 0.86); color: #111; text-align: left; font-family: var(--device); }
.push-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font); font-weight: 800; font-size: 17px; color: #fff; background: var(--green); }
.push-body { flex: 1; min-width: 0; }
.push-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; line-height: 1.25; }
.push-head span { color: #5d6660; font-size: 13px; }
.push-text { font-size: 14px; line-height: 1.32; }

.la { position: relative; display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px 14px 12px 12px; border-radius: 24px; background: rgba(28, 28, 30, 0.92); color: #fff; font-family: var(--device); text-align: left; }
.la-art { flex: none; width: 46px; height: 62px; border-radius: 7px; background: linear-gradient(160deg, #2fdc6e, #0b5d31); display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 7px 6px; }
.la-art i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.78); }
.la-art i:first-child { width: 55%; }
.la-art-dark { background: linear-gradient(160deg, #1d1f1e, #0b5d31); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.la-body { flex: 1; min-width: 0; }
.la-title { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-fields { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
.la-fields p { display: flex; flex-direction: column; }
.la-fields small { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.la-fields b { font-size: 22px; font-weight: 500; line-height: 1.12; font-variant-numeric: tabular-nums; }
.la-live .la-fields p:first-child b { color: var(--signal); }



/* Live Activity as Wallet draws it: logo tile, name and time range, pass thumbnail */
.la-logo { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #000; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-family: var(--font); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; color: #fff; }
.la-logo i { font-style: normal; color: var(--signal); }
.la-text { flex: 1; min-width: 0; }
.la-sub { margin-top: 1px; font-size: 15px; color: rgba(255, 255, 255, 0.88); font-variant-numeric: tabular-nums; }
.la-pass { flex: none; position: relative; width: 22px; height: 36px; border-radius: 3px; background: linear-gradient(#0f7a37 0 30%, #1fa356 30%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.la-pass::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.7); box-shadow: 0 -5px 0 rgba(255, 255, 255, 0.45); }

/* Sales embellishment: the pinned badge (it stays; notifications scroll away) */
.la-pinned { margin-top: 12px; }
.pin { position: absolute; left: 14px; top: -15px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--signal); color: #00170a; font-family: var(--device); font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.4); }
.pin svg { width: 13px; height: 13px; }

/* Spotlight: everything else on the lock screen dims, the Live Activity lifts */
.spot-row { display: flex; align-items: flex-start; gap: 30px; }
.phone-spot { --w: 340px; flex: none; }
.spot .screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 55% at 50% 84%, rgba(0, 0, 0, 0) 0%, rgba(4, 20, 11, 0.55) 60%, rgba(4, 20, 11, 0.72) 100%); pointer-events: none; }
.spot .dim { opacity: 0.4; filter: saturate(0.6); }
.spot .lock-stack { position: relative; z-index: 2; }
.spot .la { transform: scale(1.06); background: #101211; box-shadow: 0 0 0 1.5px rgba(53, 224, 111, 0.9), 0 0 26px 2px rgba(53, 224, 111, 0.45), 0 22px 40px -14px rgba(0, 0, 0, 0.7); }
.callout { position: relative; margin-top: 548px; max-width: 200px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.callout::before { content: ""; position: absolute; right: calc(100% + 6px); top: 11px; width: 44px; height: 2px; background: var(--ink); }
.callout::after { content: ""; position: absolute; right: calc(100% + 46px); top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(53, 224, 111, 0.25); }
.callout small { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* =========================================================
   2. The countdown (signature)
   ========================================================= */
.countdown { background: var(--night); color: var(--night-ink); padding: 120px 0 104px; }
.cd-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: center; }
.cd-readout { min-width: 0; }
.cd-readout h2 { font-size: clamp(32px, 3.2vw, 44px); max-width: 20ch; }
.cd-intro { color: var(--night-ink-2); font-size: var(--t-body); max-width: 46ch; margin-top: 16px; }
.cd-caption { margin-top: 56px; display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-body-lg); font-weight: 600; color: var(--night-ink-2); }
.cd-caption i { width: 11px; height: 11px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(53, 224, 111, 0.18); }
.cd-number { font-family: var(--numerals); font-weight: 900; font-size: var(--t-count); line-height: 0.86; letter-spacing: -0.005em; color: var(--signal); font-variant-numeric: tabular-nums; margin: 18px 0 0 -6px; white-space: nowrap; min-height: 0.86em; }
.cd-number span { display: inline-block; }
.cd-number .colon { color: #1f7a43; }
.cd-number .drop { animation: drop 380ms cubic-bezier(.2, .8, .2, 1); }
@keyframes drop { from { transform: translateY(-12%); opacity: 0.15; } to { transform: none; opacity: 1; } }
.cd-replaces { display: inline-block; margin-top: 44px; padding: 9px 16px; border: 1px solid var(--night-line); border-radius: 999px; color: var(--night-ink-2); font-size: var(--t-small); }

.phone-cd { --w: 340px; }
.phone-cd .push { animation: settle 700ms 150ms cubic-bezier(.22, .7, .2, 1) both; }
.phone-cd .push-earlier { opacity: 0.6; transform: scale(0.96); animation: none; }

/* The timeline in three phases: the open phase's steps sit between its button and the next one */
.cd-phases { display: flex; align-items: flex-start; margin-top: 64px; border-top: 1px solid var(--night-line); }
.cd-phase { display: flex; align-items: flex-start; flex: none; }
.cd-phase.is-open { flex: 1; min-width: 0; }
.cd-phase-btn { flex: none; margin: 20px 24px 0 0; padding: 10px 20px; border: 1px solid var(--night-line); border-radius: 999px; background: none; color: var(--night-ink-2); font-size: 16px; font-weight: 650; cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.cd-phase-btn:hover { border-color: rgba(255, 255, 255, 0.45); color: var(--night-ink); }
.cd-phase.is-open .cd-phase-btn { background: var(--signal); border-color: var(--signal); color: #04140b; }
.cd-phase:not(.is-open) .cd-steps { display: none; }
.cd-phase.is-open .cd-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); flex: 1; min-width: 0; margin-right: 24px; animation: cd-phase-open 450ms ease both; }
@keyframes cd-phase-open { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.cd-step { position: relative; display: block; width: 100%; padding: 22px 12px 0 0; background: none; border: 0; text-align: left; cursor: pointer; color: #8b958f; }
.cd-step::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--signal); }
.cd-step b { display: block; font-family: var(--numerals); font-weight: 800; font-size: 26px; line-height: 1; color: #8b958f; transition: color 200ms ease; }
.cd-step span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; }
.cd-step:hover b { color: var(--night-ink); }
.cd-step.is-done b { color: var(--night-ink-2); }
.cd-step.is-active b { color: var(--signal); }
.cd-step.is-active span { color: var(--night-ink); }
.cd-step.is-active::before { width: 100%; }
.countdown.is-playing .cd-step.is-active::before { width: 0; animation: progress var(--step-ms, 4500ms) linear forwards; }
@keyframes progress { to { width: 100%; } }



/* "Added to Apple Wallet" confirmation under the clock (illustration of the moment the ticket goes in) */
.wallet-added { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 9px 18px 9px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); }
.wallet-added[hidden] { display: none; }
.wallet-added-icon { display: grid; color: var(--signal); }
.wallet-added-icon svg { width: 22px; height: 22px; }


/* Step changes: everything settles in softly instead of snapping */
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cd-caption.is-settling, .cd-number.is-settling, .cd-replaces.is-settling { animation: settle 700ms cubic-bezier(.22, .7, .2, 1) both; }
.cd-replaces.is-settling { animation-delay: 80ms; }
.lock-date.is-settling, .lock-time.is-settling, .app-time.is-settling, .wallet-added.is-settling { animation: settle 700ms 150ms cubic-bezier(.22, .7, .2, 1) both; }
.wpass.is-settling .wpass-hf, .wpass.is-settling .wpass-strip p, .wpass.is-settling .wpass-fields { animation: settle 700ms 150ms cubic-bezier(.22, .7, .2, 1) both; }
.tiles.is-settling { animation: settle 700ms 250ms cubic-bezier(.22, .7, .2, 1) both; }

/* Lock screen / Wallet toggle: the phone flips to the Wallet view of the pass */
.cd-device { display: flex; flex-direction: column; align-items: center; }
.cd-flip { perspective: 1800px; }
.cd-flipper { position: relative; transform-style: preserve-3d; transition: transform 700ms cubic-bezier(.2, .8, .2, 1); }
.cd-flip.is-wallet .cd-flipper { transform: rotateY(180deg); }
.face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.face-back { position: absolute; inset: 0; transform: rotateY(180deg); }

.wallet-screen { background: #000; color: #fff; }
.wallet-screen .home { margin-top: auto; }
.app-time { position: absolute; top: 16px; left: 38px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wallet-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 10px; padding: 0 2px; }
.wallet-done, .wallet-more { display: inline-flex; align-items: center; justify-content: center; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 15px; font-weight: 600; }
.wallet-done { padding: 0 15px; }
.wallet-more { width: 34px; font-size: 11px; letter-spacing: 1px; }

.wpass { width: 100%; margin-top: 12px; padding: 12px 16px 14px; border-radius: 14px; font-family: var(--device); transition: background-color 600ms ease, color 600ms ease; }
.wpass-header { display: flex; align-items: center; gap: 9px; }
.wpass-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; font-family: var(--font); font-weight: 800; font-size: 14px; }
.wpass-org { min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wpass-hf { flex: none; white-space: nowrap; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.wpass-hf b { font-size: 15px; font-weight: 500; }
.wpass small { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; }
.wpass-strip { height: 64px; margin: 12px -16px 0; padding: 12px 16px; display: flex; align-items: flex-end; }
.wpass-strip p { font-family: var(--numerals); font-weight: 900; font-size: 24px; line-height: 0.95; color: #fff; }
.wpass-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 12px; }
.wpass-fields p { display: flex; flex-direction: column; line-height: 1.2; }
.wpass-fields b { font-size: 15px; font-weight: 500; }
.wpass-primary { grid-column: 1 / -1; }
.wpass-primary b { font-size: 30px; font-weight: 400; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.wpass-qr { display: grid; place-items: center; margin-top: 14px; }
.wpass-qr .qr { width: 84px; height: 84px; padding: 7px; border-radius: 8px; background: #fff; }
.wpass-qr .qr rect { fill: #000; }

.wpass-light { background: #fff; color: #111; }
.wpass-light small { color: var(--green); }
.wpass-light .wpass-logo { background: var(--green); color: #fff; }
.wpass-light .wpass-strip { background: radial-gradient(90% 120% at 100% 0%, #1fc25c 0%, rgba(31, 194, 92, 0) 60%), linear-gradient(135deg, #063f1f, #0a5e2f); }
.wpass-light .wpass-qr .qr { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
.wpass-live { background: #0f7a37; color: #fff; }
.wpass-live small { color: #dcf86a; }
.wpass-live .wpass-logo { background: #fff; color: var(--green); }
.wpass-live .wpass-strip { background: radial-gradient(90% 120% at 0% 100%, #35e06f 0%, rgba(53, 224, 111, 0) 60%), linear-gradient(135deg, #0a5e2f, #063f1f); }
.wpass-offer { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.wpass-offer small { color: var(--signal); }
.wpass-offer .wpass-logo { background: var(--signal); color: #000; }
.wpass-offer .wpass-strip { background: radial-gradient(90% 120% at 0% 100%, #1fc25c 0%, rgba(31, 194, 92, 0) 58%), linear-gradient(135deg, #0a5e2f, #000); }

.view-toggle { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); }
.view-toggle button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--night-ink-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.view-toggle button:hover { color: var(--night-ink); }
.view-toggle button.is-on { background: #fff; color: #000; }
.view-toggle .icon { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .hero-swap, .cd-phase.is-open .cd-steps { animation: none; } .cd-flipper { transition: none; } }


/* Flashing "Click me" arrow: always points at the view you're not on */
.view-toggle { position: relative; }
.toggle-hint { position: absolute; top: 50%; left: calc(100% + 8px); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--signal); font-size: 14px; font-weight: 700; transform: translateY(-50%); pointer-events: none; animation: hint-nudge-left 1.2s ease-in-out infinite; }
.toggle-hint .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.toggle-hint .hint-arrow-right { display: none; }
.view-toggle.is-wallet .toggle-hint { left: auto; right: calc(100% + 8px); animation-name: hint-nudge-right; }
.view-toggle.is-wallet .toggle-hint .hint-arrow-left { display: none; }
.view-toggle.is-wallet .toggle-hint .hint-arrow-right { display: block; }
@keyframes hint-nudge-left { 0%, 100% { opacity: 1; transform: translate(0, -50%); } 50% { opacity: 0.35; transform: translate(-6px, -50%); } }
@keyframes hint-nudge-right { 0%, 100% { opacity: 1; transform: translate(0, -50%); } 50% { opacity: 0.35; transform: translate(6px, -50%); } }
@media (prefers-reduced-motion: reduce) { .toggle-hint { animation: none; } }


/* =========================================================
   Before: nurture flows
   ========================================================= */
.before { background: var(--mist); }
.before-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; align-items: center; }
.before-copy h2 { max-width: 16ch; }
.flows { display: grid; gap: 26px; margin-top: 40px; }
.flow h3 { font-size: var(--t-h3); font-weight: 650; letter-spacing: -0.015em; }
.flow p { margin-top: 4px; color: var(--ink-2); max-width: 46ch; }
.flow .flow-notification { margin-top: 14px; max-width: 420px; }
.push-link { color: var(--green); font-weight: 600; }
.before-visual { position: relative; display: flex; justify-content: center; padding-top: 44px; }
.phone-before { --w: 340px; }
.before-push { position: absolute; z-index: 3; top: 0; left: 50%; width: 360px; transform: translateX(-50%); }

/* =========================================================
   3. Live Activities
   ========================================================= */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--green); color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.ticks { display: grid; gap: 14px; margin-top: 34px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks .icon { color: var(--green); }

.live-visual { display: flex; flex-direction: column; align-items: center; }
.crop { width: 100%; max-width: 520px; height: 470px; overflow: hidden; border-radius: var(--panel-radius); background: var(--mist); display: flex; justify-content: center; align-items: flex-end; }
.phone-crop { --w: 440px; flex: none; margin-bottom: 36px; box-shadow: inset 0 0 0 1.5px #5b605d, inset 0 0 0 4px #0d0f0e; }
.la-xl { padding: 16px; border-radius: 28px; }
.la-xl .la-art { width: 52px; height: 70px; }
.la-xl .la-title { font-size: 17px; }
.la-xl .la-fields small { font-size: 13px; }
.la-xl .la-fields b { font-size: 27px; }
.la-solo { max-width: 520px; margin-top: 28px; background: #000; }
.caption { margin-top: 12px; font-size: var(--t-small); color: var(--ink-2); }


/* Featured action buttons under the Wallet ticket (as in the webinar demo) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 12px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 11px 12px; border-radius: 16px; background: #fff; color: #111; font-family: var(--device); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.tile-wide { grid-column: 1 / -1; }
.tile-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.tile-icon svg { width: 18px; height: 18px; }
.tile-icon-green { background: var(--green); color: #fff; }
.tile-icon-ink { background: #111; color: #fff; }
.tile-icon-signal { background: var(--signal); color: #000; }
.tile b { margin-top: 9px; font-size: 14px; font-weight: 700; line-height: 1.2; max-width: 100%; }
.tile small { margin-top: 1px; font-size: 12px; color: #5d6660; }

.actions { background: var(--mist); }
.actions-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
.actions-visual { display: flex; justify-content: center; }
.phone-actions { --w: 340px; }
.actions-copy h2 { max-width: 18ch; }
.moments { margin-top: 40px; border-top: 1px solid var(--line); }
.moment { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.moment-when { font-family: var(--numerals); font-weight: 900; font-size: 34px; line-height: 1; color: var(--green); }
.moment-body { min-width: 0; }
.tiles-lg { max-width: 420px; margin-top: 0; gap: 12px; }
.tiles-lg .tile { padding: 14px 16px; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.tiles-lg .tile-icon { width: 38px; height: 38px; }
.tiles-lg .tile-icon svg { width: 21px; height: 21px; }
.tiles-lg .tile b { font-size: 16px; margin-top: 10px; }
.tiles-lg .tile small { font-size: 13px; }
.moment-note { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 46ch; }

/* =========================================================
   4. After the call
   ========================================================= */
.after { background: var(--ground); }
.setup { background: var(--ground); }
.after-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.after-visual { position: relative; display: flex; flex-direction: column; align-items: center; }

.pass { width: 320px; padding: 16px 18px 18px; border-radius: 18px; background: #000; color: #fff; font-family: var(--device); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.55); }
.pass-header { display: flex; align-items: center; gap: 9px; }
.pass-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--signal); color: #000; font-family: var(--font); font-weight: 800; font-size: 14px; }
.pass-org { font-size: 15px; font-weight: 600; }
.pass-hf { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.pass-hf small, .pass-fields small { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: var(--signal); }
.pass-hf b { font-size: 15px; font-weight: 500; }
.pass-strip { height: 104px; margin: 14px -18px 0; padding: 14px 18px; display: flex; align-items: flex-end; background: radial-gradient(90% 120% at 0% 100%, #1fc25c 0%, rgba(31, 194, 92, 0) 58%), linear-gradient(135deg, #0a5e2f, #000); }
.pass-strip p { font-family: var(--numerals); font-weight: 900; font-size: 30px; line-height: 0.95; }
.pass-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 14px; }
.pass-fields p { display: flex; flex-direction: column; line-height: 1.2; }
.pass-fields b { font-size: 16px; font-weight: 500; }
.pass-primary { grid-column: 1 / -1; }
.pass-primary b { font-size: 40px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pass-cta { display: block; margin-top: 18px; padding: 12px; border-radius: 12px; background: var(--signal); color: #000; text-align: center; font-weight: 600; font-size: 15px; }

.after-pushes { display: grid; gap: 8px; width: 100%; max-width: 380px; margin-top: -6px; position: relative; }
.push-card { background: rgba(255, 255, 255, 0.97); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.push-card.before-push, .push-card.retarget-push { background: #fff; }
.push-older { transform: scale(0.95); opacity: 0.85; }

.points { display: grid; gap: 26px; margin-top: 40px; }
.points dt { font-size: var(--t-h3); font-weight: 650; letter-spacing: -0.015em; }
.points dd { color: var(--ink-2); margin-top: 4px; max-width: 46ch; }

.results { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 104px; border-radius: var(--panel-radius); background: var(--green); color: #fff; overflow: hidden; }
.results > div { padding: 40px 36px; }
.results > div + div { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.results dt { font-family: var(--numerals); font-weight: 900; font-size: clamp(64px, 6.5vw, 96px); line-height: 0.9; }
.results dd { margin-top: 12px; color: #fff; max-width: 26ch; }

/* =========================================================
   5. Setup
   ========================================================= */
.setup h2 { max-width: 18ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 2px solid var(--ink); }
.steps li { padding: 26px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps span { display: block; font-family: var(--numerals); font-weight: 900; font-size: 64px; line-height: 1; color: var(--green); }
.steps h3 { margin-top: 16px; font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 16.5px; }

/* Setup: why Lockscreen tickets make warmer, higher-quality prospects */
.warm { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.warm h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; max-width: 20ch; }
.warm-lede { margin-top: 18px; font-size: var(--t-body-lg); color: var(--ink-2); max-width: 46ch; }
.warm .warm-points { margin-top: 4px; }
.warm-points li { align-items: flex-start; }
.warm-points b { font-weight: 650; color: var(--ink); }

/* =========================================================
   6. Book
   ========================================================= */
.book { background: var(--night); color: var(--night-ink); }
.book .body-lg { color: var(--night-ink-2); }
.book-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.ticks-dark li { color: var(--night-ink); }
.ticks-dark .icon { color: var(--signal); }
.booking { border-radius: var(--panel-radius); overflow: hidden; background: #fff; min-height: 700px; }
.booking iframe { display: block; width: 100%; height: 700px; border: 0; }
.booking iframe:focus, .booking iframe:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.booking:focus-within { box-shadow: 0 0 0 3px var(--signal); }

/* =========================================================
   7. Questions + footer
   ========================================================= */
.q-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 200ms ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 62ch; }

.footer { padding: 40px 0 44px; border-top: 1px solid var(--line); }
.footer-mark { font-size: clamp(80px, 15vw, 216px); line-height: 0.9; font-weight: 800; letter-spacing: -0.06em; }
.footer-mark span { color: var(--green); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.footer-links { display: flex; align-items: baseline; align-self: flex-start; gap: 26px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }


/* =========================================================
   Legal pop-ups (Terms & Conditions, Privacy Policy), same text as the main site
   ========================================================= */
.footer-link { padding: 0; border: 0; background: none; font: inherit; line-height: inherit; color: inherit; cursor: pointer; }
.footer-link:hover { color: var(--ink); }
html.has-dialog { overflow: hidden; }
dialog.legal { width: min(calc(100vw - 2rem), 760px); height: min(85dvh, 820px); max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
dialog.legal[open] { display: flex; flex-direction: column; }
dialog.legal::backdrop { background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.legal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 28px 32px 20px; border-bottom: 1px solid var(--line); }
.legal-head h2 { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; }
.legal-updated { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.legal-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.legal-x:hover { border-color: var(--ink); }
.legal-x svg { width: 18px; height: 18px; }
.legal-body { flex: 1; overflow-y: auto; padding: 28px 32px 36px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal-body h3 { margin: 36px 0 12px; font-size: 20px; line-height: 1.3; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); }
.legal-body h4 { margin: 24px 0 8px; font-size: 17px; font-weight: 650; color: var(--ink); }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 22px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--green); text-underline-offset: 3px; word-break: break-word; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body table { width: 100%; margin: 8px 0 18px; border-collapse: collapse; font-size: 14.5px; }
.legal-body th, .legal-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-body th { background: var(--mist); color: var(--ink); font-weight: 600; }
.legal-body dl { margin: 0 0 14px; }
.legal-body dt { margin-top: 10px; color: var(--ink); font-weight: 600; }
.legal-body dd { margin: 2px 0 0; }
.legal-foot { display: flex; justify-content: flex-end; padding: 16px 32px; border-top: 1px solid var(--line); }
.legal-close { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: rgb(28, 25, 23); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.legal-close:hover { opacity: 0.85; }


/* =========================================================
   After: the retarget switcher
   ========================================================= */
.retarget { background: var(--mist); }
.retarget-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.retarget-copy h2 { max-width: 16ch; }
.segments { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.segment { min-height: 56px; padding: 0 24px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 18px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.segment:hover { border-color: var(--ink); }
.segment.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.retarget-visual { display: flex; flex-direction: column; align-items: center; }
.retarget-device { position: relative; isolation: isolate; padding-top: 44px; }
/* The green archery target behind the phone: the registrant's phone is the bullseye */
.retarget { overflow: hidden; }
.retarget-target { position: absolute; z-index: -1; left: calc(50% + 40px); top: 52%; width: 1120px; height: 1120px; transform: translate(-50%, -50%); pointer-events: none; }
.target-rings circle { fill: none; stroke: var(--green); stroke-width: 40; stroke-opacity: 0.11; }
.target-eye { fill: var(--green); fill-opacity: 0.22; }
.arrow-shaft { stroke: var(--green); stroke-width: 9; stroke-linecap: round; }
.arrow-fletching { fill: none; stroke: var(--green); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.arrow-nock { stroke: var(--green); stroke-width: 13; stroke-linecap: round; }
.phone-retarget { --w: 340px; height: 600px; -webkit-mask-image: linear-gradient(#000 calc(100% - 70px), transparent); mask-image: linear-gradient(#000 calc(100% - 70px), transparent); }
.phone-retarget .home { display: none; }
.retarget-push { position: absolute; z-index: 3; top: 0; left: 50%; width: 360px; transform: translateX(-50%); }
.retarget-why { margin-top: 22px; max-width: 34ch; text-align: center; font-size: 17px; font-weight: 600; }
.retarget .results { margin-top: 96px; }

/* =========================================================
   Narrower desktops (phone layout comes later, per AR)
   ========================================================= */
@media (max-width: 1100px) {
  :root { --page: 40px; }
  .live-grid, .actions-grid, .after-grid, .before-grid, .retarget-grid, .book-grid, .q-grid { grid-template-columns: 1fr; gap: 48px; }
  .cd-main { grid-template-columns: 1fr; }
  .cd-steps { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .warm { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .banner-track { animation: none; }
  .cd-number .drop, .phone-cd .push, .wallet-added, .is-settling, .is-settling * { animation: none !important; }
  .countdown.is-playing .cd-step.is-active::before { animation: none; width: 100%; }
}


/* =========================================================
   Phone version: a separate DOM (.m-site), shown under 768px.
   The desktop tree (.d-site) is untouched and hidden on phones.
   ========================================================= */
.m-site { display: none; }
@media (max-width: 767px) {
  .d-site { display: none; }
  .m-site { display: block; }
}

.m-site { font-size: 17px; }
.m-site .m-wrap { padding: 0 20px; }
.m-site .m-sec { padding: 72px 0; }
.m-site h2 { font-size: 32px; line-height: 1.06; letter-spacing: -0.03em; }
.m-site .body-lg { font-size: 17px; max-width: none; margin-top: 16px; }
.m-site .m-device { display: flex; justify-content: center; margin: 36px 0 8px; }
.m-site :focus-visible { outline-offset: 2px; }

/* Header and banner */
.m-site .m-header { margin-top: 10px; padding: 0 10px; }
.m-site .glass-nav { padding: 0 5px 0 16px; }
.m-site .nav-cta { white-space: nowrap; }
.m-site .banner span { padding: 11px 22px; font-size: 13px; }

/* Hero */
.m-site .m-hero { padding: 40px 0 8px; text-align: center; }
.m-site .m-hero .kicker { font-size: 17px; }
.m-site .m-hero h1 { margin-top: 10px; font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
.m-site .m-hero-lede { margin-top: 18px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.m-site .m-btn-block { display: flex; justify-content: center; width: 100%; margin-top: 26px; }
.m-site .m-hero-link { display: inline-block; margin-top: 16px; padding: 8px 0; }
/* The phone is scaled so its notifications read at 11px or more; the watch sits under it,
   over the phone's empty bottom strip, and its strap fades out */
.m-site .m-hero-art { position: relative; height: 640px; margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 50px), transparent); mask-image: linear-gradient(#000 calc(100% - 50px), transparent); }
.m-site .m-hero-art .scene { position: absolute; left: 50%; top: 4px; width: 462px; height: 1000px; margin: 0 0 0 -231px; transform: scale(0.84); transform-origin: top center; }
.m-site .m-hero-art .rig { left: 0; margin-left: 0; width: 462px; }
.m-site .m-hero-art .phone-hero { left: 8px; }
/* The watch sits up on the phone's lower right; the phone itself is unchanged */
.m-site .m-hero-art .watch-hero { left: 280px; top: 80px; width: 220px; }
@media (max-width: 380px) { .m-site .m-hero-art .scene { transform: scale(0.81); } .m-site .m-hero-art { height: 620px; } }
@media (max-width: 360px) { .m-site .m-hero-art .scene { transform: scale(0.77); } .m-site .m-hero-art { height: 590px; } }

/* Walkthrough: one screen with the number, the phone, the switch and the steps */
.m-site .countdown.m-cd { padding: 72px 0 24px; }
.m-site .m-cd h2 { color: var(--night-ink); }
.m-site .m-lede { margin-top: 14px; color: var(--night-ink-2); font-size: 16px; }
.m-site .m-stage { --screen-h: 470px; margin-top: 28px; padding-top: 8px; scroll-margin-top: 66px; }
.m-site .m-readout { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px; row-gap: 6px; }
.m-site .cd-caption { grid-column: 1 / -1; margin-top: 0; font-size: 15px; }
.m-site .cd-number { margin: 0 0 0 -2px; font-size: 56px; min-height: 0; }
.m-site .cd-replaces { display: flex; align-items: center; min-height: 58px; margin-top: 0; padding: 6px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.35; }
.m-site .cd-device { margin-top: 12px; align-items: stretch; }

/* The middle of the page is the phone: its edges sit at the sides of the screen,
   and it fades out at the bottom as if it carries on below */
.m-site .cd-flip { width: 100%; height: var(--screen-h); touch-action: pan-y; -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); }
.m-site .cd-flipper { width: 100%; height: 100%; }
.m-site .phone-cd { width: 100%; height: 100%; padding: 7px 7px 0; border-radius: 48px 48px 0 0; box-shadow: inset 0 0 0 1.5px #5b605d, inset 0 0 0 4px #0d0f0e; }
.m-site .phone-cd .screen { border-radius: 41px 41px 0 0; padding: 0 16px 26px; }
.m-site .phone-cd .island { margin-top: 11px; height: 28px; width: 104px; }
.m-site .phone-cd .status { top: 18px; right: 30px; }
.m-site .phone-cd .app-time { top: 15px; left: 36px; }
.m-site .phone-cd .lock-foot, .m-site .phone-cd .home { display: none; }
.m-site .phone-cd .lock-date { margin-top: 10px; }
.m-site .phone-cd .lock-time { font-size: 80px; }
.m-site .phone-cd .wallet-bar { margin-top: 6px; }
.m-site .phone-cd .wpass { margin-top: 8px; padding-bottom: 10px; }
.m-site .phone-cd .wpass-strip { height: 54px; padding: 7px 16px; }
.m-site .phone-cd .wpass-strip p { font-size: 20px; }
.m-site .phone-cd .wpass-qr { margin-top: 10px; }
.m-site .phone-cd .wpass-qr .qr { width: 60px; height: 60px; padding: 5px; }
.m-site .phone-cd .tiles { margin-top: 10px; }
.m-site .phone-cd .tile { padding: 9px 12px; }
.m-site .phone-cd .la-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* A flick slides the next step in from the side it came from */
@keyframes m-in-next { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes m-in-prev { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
.m-site .m-cd .phone-cd .is-settling,
.m-site .m-cd .phone-cd .push:not(.push-earlier),
.m-site .m-cd .phone-cd .wpass.is-settling .wpass-hf,
.m-site .m-cd .phone-cd .wpass.is-settling .wpass-strip p,
.m-site .m-cd .phone-cd .wpass.is-settling .wpass-fields { animation-name: m-in-next; }
.m-site .m-cd[data-dir="prev"] .phone-cd .is-settling,
.m-site .m-cd[data-dir="prev"] .phone-cd .push:not(.push-earlier),
.m-site .m-cd[data-dir="prev"] .phone-cd .wpass.is-settling .wpass-hf,
.m-site .m-cd[data-dir="prev"] .phone-cd .wpass.is-settling .wpass-strip p,
.m-site .m-cd[data-dir="prev"] .phone-cd .wpass.is-settling .wpass-fields { animation-name: m-in-prev; }
.m-site .m-cd .phone-cd .wpass.is-settling { animation: none; }

/* Short phones (iPhone SE and similar): keep everything on one screen */
@media (max-height: 740px) {
  .m-site .phone-cd .island { margin-top: 9px; height: 24px; width: 90px; }
  .m-site .phone-cd .wallet-bar { display: none; }
  .m-site .phone-cd .wpass { margin-top: 12px; }
  .m-site .phone-cd .lock-date { margin-top: 6px; font-size: 15px; }
  .m-site .phone-cd .lock-time { font-size: 60px; }
  .m-site .phone-cd .wallet-added { margin-top: 10px; padding: 7px 14px 7px 9px; font-size: 14px; }
  .m-site .phone-cd .push-earlier { display: none; }
  .m-site .phone-cd .wpass-qr { display: none; }
  .m-site .phone-cd .wpass-fields p:not(.wpass-primary) { display: none; }
  .m-site .phone-cd .tile small { display: none; }
  .m-site .phone-cd .wpass-strip { height: 46px; }
  .m-site .phone-cd .wpass-strip p { font-size: 20px; }
  .m-site .phone-cd .wpass-primary b { font-size: 26px; }
  .m-site .cd-number { font-size: 46px; }
}
.m-site .view-toggle { align-self: center; margin-top: 10px; }
.m-site .view-toggle button { min-height: 36px; padding: 0 13px; gap: 6px; font-size: 14px; }
.m-site .view-toggle .icon { width: 16px; height: 16px; }
.m-site .toggle-hint { left: calc(100% + 4px); gap: 3px; font-size: 12px; }
.m-site .view-toggle.is-wallet .toggle-hint { left: auto; right: calc(100% + 4px); }
.m-site .toggle-hint .icon { width: 16px; height: 16px; }
.m-site .cd-steps { position: relative; display: flex; gap: 8px; margin: 12px 0 0; padding: 0 20px 4px; border-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.m-site .cd-steps::-webkit-scrollbar { display: none; }
/* Phases on the phone: three buttons in a row, the open phase's steps as chips under them */
.m-site .cd-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 0; padding: 0 20px; border-top: 0; }
.m-site .cd-phase { display: contents; }
.m-site .cd-phase-btn { grid-row: 1; margin: 0; padding: 9px 0; font-size: 15px; }
.m-site .cd-phase.is-open .cd-steps { display: flex; grid-row: 2; grid-column: 1 / -1; margin: 4px -20px 0; animation: none; }
.m-site .cd-steps li { flex: none; scroll-snap-align: start; }
.m-site .cd-step { position: relative; width: auto; padding: 9px 14px 13px; border-radius: 14px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, 0.05); }
.m-site .cd-step b { font-size: 21px; }
.m-site .cd-step span { margin-top: 2px; font-size: 12.5px; white-space: nowrap; }
.m-site .cd-step.is-active { border-color: rgba(53, 224, 111, 0.55); }
.m-site .cd-step::before { top: auto; bottom: 6px; left: 14px; right: 14px; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
.m-site .cd-step.is-active::before { width: auto; transform: scaleX(1); }
.m-site .countdown.is-playing .cd-step.is-active::before { width: auto; animation: m-progress var(--step-ms, 5000ms) linear forwards; }
@keyframes m-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Live Activities and action buttons: the phone runs edge to edge, cut short, fading into the page */
.m-site .m-bleed { display: block; margin: 32px -20px 8px; -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); }
.m-site .m-bleed .phone { width: 100%; padding: 7px 7px 0; border-radius: 48px 48px 0 0; box-shadow: inset 0 0 0 1.5px #5b605d, inset 0 0 0 4px #0d0f0e; }
.m-site .m-bleed .screen { border-radius: 41px 41px 0 0; padding: 0 16px 26px; }
.m-site .m-bleed .island { margin-top: 11px; height: 28px; width: 104px; }
.m-site .m-bleed .status { top: 18px; right: 30px; }
.m-site .m-bleed .app-time { top: 15px; left: 36px; }
.m-site .m-bleed .lock-foot, .m-site .m-bleed .home { display: none; }
.m-site .m-bleed .lock-date { margin-top: 10px; }
.m-site .m-bleed .lock-time { font-size: 80px; }
.m-site .m-bleed .phone-spot { height: 470px; }
.m-site .m-bleed .phone-spot .screen { padding-bottom: 64px; }
.m-site #m-live .m-bleed { -webkit-mask-image: linear-gradient(#000 calc(100% - 64px), rgba(0, 0, 0, 0.75) calc(100% - 40px), rgba(0, 0, 0, 0.35) calc(100% - 18px), transparent); mask-image: linear-gradient(#000 calc(100% - 64px), rgba(0, 0, 0, 0.75) calc(100% - 40px), rgba(0, 0, 0, 0.35) calc(100% - 18px), transparent); }
.m-site .m-bleed .phone-spot .la { transform: scale(1.02); }
/* Phone version: lighter misting over the rest of the Lockscreen */
.m-site .m-bleed .spot .screen::after { background: radial-gradient(130% 55% at 50% 84%, rgba(0, 0, 0, 0) 0%, rgba(4, 20, 11, 0.31) 60%, rgba(4, 20, 11, 0.42) 100%); }
.m-site .m-bleed .spot .dim { opacity: 0.62; filter: saturate(0.8); }
.m-site .m-bleed .phone-before, .m-site .m-bleed .phone-retarget { height: auto; -webkit-mask-image: none; mask-image: none; }
.m-site .hero-stages { margin-top: 30px; gap: 4px 20px; }
.m-site .hero-stages button { font-size: 17px; padding-bottom: 7px; }
.m-site .hero-stages + .m-hero-art { margin-top: 14px; }
.m-site .m-bleed .wallet-bar { margin-top: 6px; }
.m-site .m-bleed .wpass { margin-top: 8px; padding-bottom: 10px; }
.m-site .m-bleed .wpass-strip { height: 54px; padding: 7px 16px; }
.m-site .m-bleed .wpass-strip p { font-size: 20px; }
.m-site .m-bleed .wpass-qr { margin-top: 10px; }
.m-site .m-bleed .wpass-qr .qr { width: 72px; height: 72px; padding: 6px; }
.m-site .m-bleed .tiles { margin-top: 10px; }

/* Setup steps fold open one at a time */
/* .steps.m-steps outranks the general .steps li padding further down */
.m-site .steps.m-steps li, .m-site .steps.m-steps li + li { padding: 0; }
.m-site .m-steps summary { display: flex; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; list-style: none; }
.m-site .m-steps summary::-webkit-details-marker { display: none; }
.m-site .m-steps summary span { flex: none; width: 28px; font-size: 32px; line-height: 1; }
.m-site .m-steps summary h3 { flex: 1; margin: 0; font-size: 18px; }
.m-site .m-steps summary .icon { flex: none; transition: transform 200ms ease; }
.m-site .m-steps details[open] summary .icon { transform: rotate(180deg); }
.m-site .m-steps details p { margin: -6px 0 20px 44px; }

/* Live Activities */
.m-site .tag { margin-bottom: 18px; }
.m-site .ticks { margin-top: 26px; gap: 12px; }
.m-site .ticks li { align-items: flex-start; font-size: 16px; }
.m-site .phone-spot { --w: 340px; }
.m-site .m-callout { display: flex; gap: 12px; align-items: flex-start; max-width: 320px; margin: 22px auto 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.m-site .m-callout i { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(53, 224, 111, 0.25); }
.m-site .m-callout small { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* Before and After: the phone runs edge to edge with its notification landing on top */
.m-site .m-before-device, .m-site .m-retarget-device { position: relative; padding-top: 40px; }
/* Before, part two: each push, then the ticket button it opens right under it.
   Side by side would leave the push about 220px wide on a phone, and its link would spill out. */
.m-site .flow-pair { margin-top: 12px; }
.m-site .flow-pair .push { max-width: none; margin: 0; }
.m-site .flow-opens { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 6px; }
.m-site .flow-arrow { width: 18px; height: 18px; color: var(--green); transform: rotate(90deg); }
.m-site .flow-opens .tile { display: grid; grid-template-columns: 32px auto; column-gap: 10px; align-items: center; padding: 8px 16px 8px 8px; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.m-site .flow-opens .tile-icon { grid-row: 1 / span 2; }
.m-site .flow-opens .tile b { margin: 0; font-size: 14px; }
.m-site .flow-opens .tile small { margin: 0; }
/* Phone sections alternate their grounds so the split reads as two sections */
.m-site #m-before-flows, .m-site #m-retarget { background: var(--ground); }
/* The two halves of Before sit close together; only this boundary is tightened */
.m-site #m-before { padding-bottom: 24px; }
.m-site #m-before-flows { padding-top: 32px; }
.m-site #m-live, .m-site #m-setup { background: var(--mist); }
.m-site .before-push, .m-site .retarget-push { width: calc(100% - 32px); }
.m-site .flows { margin-top: 28px; gap: 28px; }
.m-site .flow h3 { font-size: 21px; }
.m-site .flow .flow-notification { max-width: none; }

/* After: the groups are a swipe row of chips; flicking the phone moves between them */
.m-site #m-retarget { position: relative; }
.m-site #m-retarget > .m-wrap, .m-site #m-retarget > .segments { position: relative; z-index: 1; }
.m-site .m-target { left: auto; right: -270px; top: -220px; width: 560px; height: 560px; transform: none; z-index: 0; overflow: visible; }
/* On the phone the arrow comes in almost level from the left, so all of it fits above the heading */
.m-site .m-target .target-arrow { transform: rotate(5deg); }
.m-site #m-retarget .segments { flex-wrap: nowrap; gap: 8px; margin: 26px 0 0; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.m-site #m-retarget .segments::-webkit-scrollbar { display: none; }
.m-site #m-retarget .segment { flex: none; min-height: 50px; padding: 0 18px; font-size: 17px; scroll-snap-align: start; }
.m-site .m-retarget-device { touch-action: pan-y; }
.m-site .retarget-why { margin: 18px auto 0; }
.m-site .results { grid-template-columns: 1fr; margin-top: 48px; }
.m-site .results > div { padding: 28px 24px; }
.m-site .results > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.m-site .results dt { font-size: 64px; letter-spacing: -0.01em; }
.m-site .results dd { max-width: none; }

/* Setup */
.m-site .setup h2 { max-width: none; }
.m-site .steps { grid-template-columns: 1fr; margin-top: 32px; }
.m-site .steps li, .m-site .steps li + li { padding: 22px 0; margin: 0; border-left: 0; border-bottom: 1px solid var(--line); }
.m-site .steps span { font-size: 48px; }
.m-site .warm { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; padding-top: 0; border-top: 0; }
.m-site .warm h3 { font-size: 26px; }
.m-site .warm-lede { margin-top: 12px; font-size: 16px; }
.m-site .warm .warm-points { margin-top: 0; }

/* Book */
.m-site .book .body-lg { margin-top: 14px; }
.m-site .ticks-dark { margin-top: 22px; }
.m-site .m-booking { margin-top: 32px; min-height: 740px; border-radius: 20px; }
.m-site .m-booking iframe { height: 740px; }

/* Questions + footer */
.m-site .faq { margin-top: 28px; }
.m-site .faq summary { font-size: 17px; padding: 18px 0; }
.m-site .faq details p { padding: 0 0 20px; }
.m-site .footer { padding: 32px 0 40px; }
.m-site .footer .wrap { padding: 0 20px; }
.m-site .footer-mark { font-size: 58px; }
.m-site .footer-meta { flex-direction: column; gap: 14px; }
.m-site .footer-links { gap: 12px 22px; }
