/* Shway landing page. Light theme only.
   Brand values come from the app (GlobalColors.ts, EventCard.tsx). */

:root {
  --paper: #ffffff;
  --mist: #f2f4f7;
  --line: #e4e7ec;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --coral: #fa625e;
  --coral-deep: #e04844;
  --blush: #ffe8e5;
  --blush-2: #fff4f2;
  --success: #49a078;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;

  --r-card: 24px;
  --r-phone: 44px;
  --r-panel: 32px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Type ---------- */
.h-display, .hero__title, .section__title {
  font-family: var(--serif);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}
.section__title { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; text-wrap: balance; }
.section__lede { color: var(--ink-2); font-size: 1.125rem; max-width: 52ch; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 0.975rem; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1d2939; }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Brand mark (masked from the app's white PNGs) ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__ticket, .brand__word {
  display: block; background: var(--coral);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.brand__ticket { --m: url("/images/brand/logo-ticket.png"); width: 28px; height: 28px; }
.brand__word { --m: url("/images/brand/logo-wordmark.png"); width: 76px; height: 25px; background: var(--ink); }

/* ---------- Nav ----------
   Full-width and quiet at the top; once scrolled it tucks into a frosted pill. */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flow-root; pointer-events: none; }
.nav__inner {
  position: relative; pointer-events: auto;
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
  border-radius: 999px;
  transition: max-width .5s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out),
              padding .4s var(--ease-out), background-color .4s, box-shadow .4s;
}
.nav.is-scrolled .nav__inner {
  max-width: 980px; height: 56px; margin-top: 8px; padding: 0 8px 0 20px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 0 0 1px rgba(16, 24, 40, .07), 0 10px 30px -12px rgba(16, 24, 40, .25);
}
.nav.is-scrolled .nav__cta { min-height: 40px; padding: 8px 18px; }

.nav .brand__ticket { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.nav .brand:hover .brand__ticket { transform: rotate(-14deg) scale(1.06); }

.nav__links { position: relative; display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem;
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__indicator {
  position: absolute; z-index: 0; left: 0; top: 50%; height: 36px; width: 0;
  border-radius: 999px; background: var(--blush);
  opacity: 0; translate: 0 -50%;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .25s;
}
.nav__indicator.is-on { opacity: 1; }
.nav__toggle { display: none; }

@media (max-width: 880px) {
  .nav__inner { gap: 12px; }
  .nav.is-scrolled .nav__inner { max-width: calc(100% - 16px); padding: 0 6px 0 16px; }
  .nav__cta { margin-left: auto; padding: 8px 16px; min-height: 40px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--mist);
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__indicator { display: none; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-radius: 24px;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .07), 0 18px 40px -16px rgba(16, 24, 40, .3);
    padding: 8px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 16px; }
  .nav__links a.is-current { background: var(--blush); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(24px, 5vw, 72px);
}
.hero__title { font-size: clamp(3.2rem, 7vw, 6.6rem); line-height: .94; }
.hero__lede { margin-top: 28px; font-size: clamp(1.075rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 40ch; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badge { display: block; border-radius: 10px; transition: transform .2s var(--ease-out); }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 52px; width: auto; border-radius: 10px; }

.hero__deck { position: relative; display: grid; justify-items: center; padding-top: 12px; }

/* Sunburst rays from the app's match screen, quiet until a match */
.rays {
  position: absolute; z-index: 0; left: 50%; top: 44%;
  width: min(820px, 170%); aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, var(--blush) 0deg 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%);
          mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  opacity: .9;
  pointer-events: none;
}

.rays::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg, #ffc9c4 0deg 7.5deg, transparent 7.5deg 15deg);
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.hero__deck.is-matched .rays::after { opacity: 1; }
.split-line { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
}

/* ---------- Deck ---------- */
.deck {
  position: relative; z-index: 1;
  width: min(340px, 82vw); aspect-ratio: 9 / 13.4;
  outline-offset: 10px;
  touch-action: pan-y;
}
.deck:focus-visible { outline: 3px solid var(--coral); border-radius: var(--r-card); }

.card {
  position: absolute; inset: 0;
  border-radius: var(--r-card); overflow: hidden;
  background: #1d2939 center / cover no-repeat;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 24px 48px -16px rgba(16, 24, 40, .28);
  color: #fff;
  user-select: none; -webkit-user-select: none;
  will-change: transform;
}
.card img.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 65%, rgba(0,0,0,.78) 100%);
}
.card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 22px 24px; }
.card__top { display: flex; align-items: center; gap: 10px; }
.card__title { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.08; letter-spacing: -0.01em; }
.card__pill {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.22);
  font-size: .8rem; font-weight: 600;
}
.card__pill svg { width: 13px; height: 13px; fill: currentColor; }
.card__row { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .92rem; color: rgba(255,255,255,.92); }
.card__row svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.card__note { margin-top: 12px; font-size: .95rem; line-height: 1.45; }

.card__stamp {
  position: absolute; z-index: 2; top: 22px;
  padding: 4px 12px; border: 3px solid currentColor; border-radius: 10px;
  font-family: var(--serif); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em;
  opacity: 0; pointer-events: none;
}
.card__stamp--join { left: 20px; color: #7ee2b0; rotate: -12deg; }
.card__stamp--skip { right: 20px; color: #fff; rotate: 12deg; }

.deck__controls { position: relative; z-index: 1; display: flex; gap: 22px; margin-top: 22px; }
.deck__btn {
  display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 10px 24px -8px rgba(16,24,40,.25);
  transition: transform .2s var(--ease-out);
}
.deck__btn:hover { transform: translateY(-2px); }
.deck__btn:active { transform: scale(.92); }
.deck__btn svg { width: 26px; height: 26px; }
.deck__btn--skip svg { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.deck__btn--join svg { fill: var(--coral); }
.deck__hint { position: relative; z-index: 1; margin-top: 12px; font-size: .875rem; color: var(--muted); }

/* Match overlay */
.match {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; text-align: center;
  border-radius: var(--r-card); overflow: hidden;
  background: var(--coral) url("/images/brand/matched-bg.jpg") center / cover;
  color: #fff; padding: 24px 20px;
}
.match__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 7vw, 2.6rem); line-height: 1; }
.match__thumb {
  width: 46%; aspect-ratio: 220 / 300; margin: 18px auto 12px;
  border: 4px solid #fff; border-radius: 20px; object-fit: cover;
  box-shadow: 0 16px 32px -12px rgba(16,24,40,.45);
}
.match__plan { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.match__text { margin: 6px auto 16px; max-width: 26ch; font-size: .95rem; line-height: 1.45; }
.match__actions { display: grid; gap: 10px; width: 100%; max-width: 250px; margin-inline: auto; }

/* ---------- Stats ---------- */
.stats { padding: 0 0 clamp(40px, 6vw, 72px); }
.stats__row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px;
  padding: 28px 24px 28px 0;
}
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__value {
  margin: 0; font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums;
}
.stat__label { color: var(--ink-2); font-size: .975rem; }
@media (max-width: 640px) {
  .stats__row { grid-template-columns: 1fr; }
  .stat { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; padding: 18px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Ticker ---------- */
.ticker { padding-bottom: clamp(64px, 9vw, 120px); overflow: clip; display: grid; gap: 18px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__group { display: flex; flex: none; gap: 14px; padding-right: 14px; }
.marquee__inner { display: flex; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee--reverse .marquee__inner { animation-direction: reverse; }
@media (hover: hover) {
  .marquee:hover .marquee__inner { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

.chip {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--mist);
  font-weight: 500; white-space: nowrap;
}
.chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.marquee__track--cities li {
  flex: none; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap;
}
.marquee__track--cities li::after { content: "\2022"; color: var(--coral); margin-left: 14px; font-size: .5em; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__inner { animation: none; }
}

/* ---------- Section scaffolding ---------- */
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- How it works ---------- */
.how { padding: clamp(64px, 9vw, 128px) 0; background: var(--mist); }
.how__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.how__stage {
  grid-column: 2; grid-row: 1;
  position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50vh - 310px + var(--nav-h) / 2));
  display: grid; justify-items: center;
}
.how__steps { grid-column: 1; grid-row: 1; }
.how__step {
  min-height: 72vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 34ch; opacity: .35; transition: opacity .4s var(--ease-out);
}
.how__step:first-child { min-height: 56vh; justify-content: flex-start; padding-top: 12vh; }
.how__step:last-child { min-height: 60vh; }
.how__step.is-active { opacity: 1; }
.how__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--coral); font-weight: 700; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.how__step.is-active .how__num { background: var(--coral); color: #fff; box-shadow: none; }
.how__step h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; letter-spacing: -0.01em; }
.how__step p { margin-top: 12px; color: var(--ink-2); font-size: 1.1rem; }

/* Phone */
.phone {
  --pw: 290px;
  position: relative; width: var(--pw); aspect-ratio: 9 / 19.2;
  border-radius: var(--r-phone); background: #fff; overflow: hidden;
  box-shadow: 0 0 0 10px var(--ink), 0 0 0 11.5px #344054, 0 40px 80px -24px rgba(16,24,40,.45);
  font-size: 13px; line-height: 1.35; color: var(--ink);
}
.phone__island { position: absolute; z-index: 9; top: 9px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: var(--ink); }
.phone__status { position: absolute; z-index: 8; top: 0; left: 0; right: 0; height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 0 26px; font-weight: 600; font-size: 13px; }
.phone__batt { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.phone__batt::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }

.screen {
  position: absolute; inset: 0; padding: 48px 12px 0;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.985);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
.screen.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.app-bar { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px; }
.app-bar__menu { width: 18px; height: 12px; border-block: 2px solid var(--ink); position: relative; }
.app-bar__menu::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--ink); }
.app-bar__word { width: 58px; height: 19px; background: var(--coral); -webkit-mask: url("/images/brand/logo-wordmark.png") left center / contain no-repeat; mask: url("/images/brand/logo-wordmark.png") left center / contain no-repeat; }
.app-bar__icons { margin-left: auto; display: flex; gap: 12px; }
.app-bar__icons i { width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; }

.mini-card { position: relative; margin-top: 6px; height: 74%; border-radius: 20px; overflow: hidden; color: #fff; background: #1d2939; }
.mini-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); }
.mini-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 14px; font-size: 12px; }
.mini-card__body p + p { margin-top: 3px; opacity: .9; }
.mini-card__title { font-family: var(--serif); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 6px; opacity: 1 !important; }
.mini-card__title span { font-family: var(--sans); font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.22); }
.mini-card__btns { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }
.mini-card__btns b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 16px; }
.mini-card__btns b.h { color: var(--coral); font-size: 18px; }
.screen--explore.is-active .mini-card__btns b.h { animation: tap 1.6s .6s var(--ease-out) both; }
@keyframes tap { 0%, 40% { transform: none; } 50% { transform: scale(.82); } 70%, 100% { transform: none; } }
.mini-card--dim { height: 70%; filter: brightness(.55); }
.mini-card--dim::after { display: none; }

.tab-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 6px 22px; border-top: 1px solid var(--mist); background: #fff; font-size: 10px; color: var(--muted); }
.tab-bar i { font-style: normal; display: grid; justify-items: center; gap: 4px; }
.tab-bar i::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: #d0d5dd; }
.tab-bar i.on { color: var(--ink); font-weight: 600; }
.tab-bar i.on::before { background: var(--coral); border-radius: 50%; }

.screen--request { background: #fff; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 28px;
  background: #f9fafb; border-radius: 26px 26px 0 0; box-shadow: 0 -12px 32px rgba(16,24,40,.18);
  transform: translateY(100%); transition: transform .55s .15s var(--ease-out);
}
.screen--request.is-active .sheet { transform: none; }
.sheet__grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: #d0d5dd; margin: 0 auto 14px; }
.sheet__title { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.sheet__input { margin-top: 12px; min-height: 64px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.typed::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: text-bottom; background: var(--coral); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.sheet__btn { display: block; margin-top: 14px; padding: 11px; border-radius: 99px; background: var(--coral); color: #fff; text-align: center; font-weight: 600; }

.screen--match {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 64px 22px 0; color: #fff;
  background: var(--coral) url("/images/brand/matched-bg.jpg") center / cover;
}
.sm-title { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1; }
.sm-thumb { width: 58%; aspect-ratio: 220 / 330; object-fit: cover; margin: 20px 0 14px; border: 4px solid #fff; border-radius: 18px; }
.sm-plan { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.sm-text { margin-top: 8px; font-size: 13px; }
.sm-btn { position: absolute; left: 16px; right: 16px; bottom: 30px; padding: 12px; border-radius: 99px; background: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 15px; }
.screen--match .sm-thumb, .screen--match .sm-title { transform: scale(.8); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.screen--match.is-active .sm-title { transform: none; opacity: 1; transition-delay: .1s; }
.screen--match.is-active .sm-thumb { transform: rotate(-3deg); opacity: 1; transition-delay: .25s; }

.screen--chat { display: flex; flex-direction: column; padding: 44px 0 0; background: #f9fafb; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-head small { display: block; color: var(--muted); font-size: 11px; }
.chat-head__back { width: 10px; height: 10px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: 45deg; margin-right: 2px; }
.avatars { display: flex; }
.avatars i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--coral); }
.avatars i:nth-child(2) { background: #49a078; margin-left: -8px; }
.avatars i:nth-child(3) { background: #6172f3; margin-left: -8px; }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.sys { align-self: center; font-size: 11px; color: var(--muted); background: var(--mist); padding: 3px 10px; border-radius: 99px; }
.bubble { align-self: flex-start; max-width: 78%; padding: 8px 11px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.bubble b { display: block; font-size: 11px; color: var(--coral); }
.bubble--me { align-self: flex-end; background: var(--coral); color: #fff; border-radius: 14px 14px 4px 14px; }
.screen--chat .bubble { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s, transform .45s var(--ease-out); }
.screen--chat.is-active .bubble { opacity: 1; transform: none; }
.screen--chat.is-active .bubble:nth-of-type(2) { transition-delay: .35s; }
.screen--chat.is-active .bubble:nth-of-type(3) { transition-delay: .9s; }
.screen--chat.is-active .bubble:nth-of-type(4) { transition-delay: 1.5s; }
.screen--chat.is-active .bubble:nth-of-type(5) { transition-delay: 2.1s; }
.chat-input { margin: 0 12px 26px; padding: 10px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); }

@media (max-width: 880px) {
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__stage {
    grid-column: 1; grid-row: 1; z-index: 2;
    top: var(--nav-h); padding: 8px 0 20px;
    background: var(--mist);
    box-shadow: 0 18px 18px -2px var(--mist);
  }
  .phone { --pw: 180px; }
  .how__steps { grid-column: 1; grid-row: 2; }
  .how__step, .how__step:first-child, .how__step:last-child { min-height: 36vh; justify-content: flex-start; padding-top: 3vh; }
  .how__steps { padding-bottom: 8vh; }
}
@media (max-width: 880px) {
  /* Scale the phone's inner UI with the smaller frame */
  .phone .screen, .phone .phone__status, .phone .phone__island { zoom: .62; }
}

/* ---------- Plans gallery ---------- */
.gallery { padding: clamp(64px, 9vw, 128px) 0; overflow: clip; }
/* Heading on the left, carousel controls on the right */
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.split-head__nav { display: flex; gap: 10px; flex: none; }
.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s, opacity .2s;
}
.round-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.gallery__track {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 4px var(--edge) 12px; scrollbar-width: none;
  cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-looping { scroll-snap-type: none; scroll-behavior: auto; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery__track:focus-visible { outline-offset: -3px; }
.slide { flex: none; width: clamp(240px, 28vw, 340px); scroll-snap-align: start; }
.slide__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--blush-2);
}
.slide__media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slide__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  color: var(--coral-deep); font-weight: 500; font-size: .95rem;
  background: repeating-conic-gradient(from 0deg at 50% 120%, var(--blush) 0deg 6deg, var(--blush-2) 6deg 12deg);
}
.slide__placeholder::before {
  content: ""; width: 44px; height: 44px; background: var(--coral);
  -webkit-mask: url("/images/brand/logo-ticket.png") center / contain no-repeat; mask: url("/images/brand/logo-ticket.png") center / contain no-repeat;
}
.slide__title { margin-top: 14px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.slide__meta { margin-top: 2px; color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .split-head { align-items: flex-start; flex-direction: column; } .split-head__nav { display: none; } }

/* ---------- Features ---------- */
.features { padding: clamp(64px, 9vw, 128px) 0; background: var(--mist); }
.features__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.feature { padding: 28px 0 32px; border-top: 1.5px solid var(--line); }
.feature__icon { width: 30px; height: 30px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 18px; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.feature p { margin-top: 8px; color: var(--ink-2); max-width: 36ch; }
@media (max-width: 880px) { .features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features__list { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video { padding: clamp(64px, 9vw, 128px) 0 0; }
.video__frame {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  width: 100%; min-height: clamp(280px, 32vw, 400px); padding: clamp(28px, 5vw, 64px);
  border: 0; border-radius: var(--r-panel); overflow: hidden; text-align: left;
  background: var(--ink); color: #fff;
}
.video__copy { display: grid; gap: 6px; }
.video__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.video__sub { color: #d0d5dd; }
.video__fan { position: relative; display: flex; justify-content: center; }
.video__fan img {
  width: clamp(96px, 12vw, 160px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px;
  border: 3px solid rgba(255,255,255,.9); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  transition: transform .5s var(--ease-out);
}
.video__fan img:nth-child(1) { transform: rotate(-10deg) translateX(30px); }
.video__fan img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-12px); }
.video__fan img:nth-child(3) { transform: rotate(10deg) translateX(-30px); }
.video__frame:hover .video__fan img:nth-child(1) { transform: rotate(-14deg) translateX(10px); }
.video__frame:hover .video__fan img:nth-child(3) { transform: rotate(14deg) translateX(-10px); }
.video__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: clamp(64px, 7vw, 88px); aspect-ratio: 1; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 8px rgba(250, 98, 94, .25);
  transition: transform .3s var(--ease-out);
}
.video__frame:hover .video__play { transform: scale(1.08); }
.video__play svg { width: 40%; fill: #fff; margin-left: 6%; }
@media (max-width: 720px) {
  .video__frame { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .video__fan { order: -1; }
}
.video__dialog {
  width: min(1000px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px;
  background: #000; overflow: visible;
}
.video__dialog::backdrop { background: rgba(16, 24, 40, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video__player { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
.video__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__close {
  position: absolute; top: -56px; right: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff;
}
.video__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }

/* ---------- Testimonials ---------- */
.testimonials { padding: clamp(64px, 9vw, 128px) 0; }
.stories__stage { display: grid; }
.story {
  grid-area: 1 / 1; margin: 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  opacity: 0; visibility: hidden; transform: translateX(16px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
.story.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.story__photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%;
  border-radius: var(--r-panel);
  box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .45);
}
.story__highlight {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.15; color: var(--ink);
  text-wrap: balance;
}
.story__quote { margin: 24px 0 0; padding-left: 20px; border-left: 3px solid var(--blush); }
.story__quote p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.75; max-width: 60ch; }
.story__who { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.story__who b { font-size: 1.1rem; }
.story__who span { color: var(--muted); }

.stories__controls { display: flex; align-items: center; gap: 16px; flex: none; }
.stories__dots { display: flex; gap: 8px; }
.stories__dot {
  position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: #d0d5dd;
  transition: width .3s var(--ease-out), background-color .3s;
}
.stories__dot::after { content: ""; position: absolute; inset: -12px -4px; }
.stories__dot[aria-current="true"] { width: 36px; background: #ffd2cf; overflow: hidden; }
/* The fill is the autoplay timer: when it finishes, the next story shows */
.stories__dot[aria-current="true"]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--coral);
  transform-origin: left; animation: story-progress 8s linear forwards;
}
.stories.is-paused .stories__dot::before { animation-play-state: paused; }
.stories.is-static .stories__dot[aria-current="true"]::before { animation: none; }
@keyframes story-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 880px) {
  .story { grid-template-columns: 1fr; align-items: start; }
  .story__photo { aspect-ratio: 1 / 1; max-height: 360px; }
}
@media (prefers-reduced-motion: reduce) { .story { transform: none; } .stories__dot[aria-current="true"]::before { animation: none; } }

/* ---------- Host ---------- */
.host { padding: 0 0 clamp(64px, 9vw, 128px); }
.host__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px;
  padding: clamp(32px, 6vw, 72px); border-radius: var(--r-panel); overflow: hidden;
  background: var(--blush);
}
.host__panel::before {
  content: ""; position: absolute; right: -10%; top: 50%; width: 80%; aspect-ratio: 1; translate: 0 -50%;
  background: repeating-conic-gradient(from 0deg, rgba(250, 98, 94, .1) 0deg 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent); mask: radial-gradient(closest-side, #000 20%, transparent);
}
.host__copy { position: relative; }
.host__btn { margin-top: 28px; }
.host__fan { position: relative; height: clamp(220px, 26vw, 300px); }
.host__fan img {
  position: absolute; top: 50%; left: 50%; width: clamp(120px, 14vw, 170px); aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 18px; border: 4px solid #fff; box-shadow: 0 20px 40px -16px rgba(16,24,40,.4);
}
.host__fan img:nth-child(1) { transform: translate(-130%, -50%) rotate(-12deg); }
.host__fan img:nth-child(2) { transform: translate(-80%, -56%) rotate(-4deg); }
.host__fan img:nth-child(3) { transform: translate(-25%, -50%) rotate(5deg); }
.host__fan img:nth-child(4) { transform: translate(25%, -44%) rotate(13deg); }
@media (max-width: 880px) {
  .host__panel { grid-template-columns: 1fr; }
  .host__fan { order: -1; height: 200px; }
  .host__fan img { width: 110px; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--mist) center / 14px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101828' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease-out), background-color .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--blush); }
.faq__item summary:hover .faq__q { color: var(--coral-deep); }
.faq__q { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.25; letter-spacing: -0.01em; transition: color .2s; }
.faq__a { color: var(--ink-2); max-width: 60ch; padding: 0 48px 24px 0; }
@media (max-width: 880px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__a { padding-right: 0; }
}

/* ---------- Download ---------- */
.download { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.download__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download__title { font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em; line-height: .95; font-size: clamp(3rem, 9vw, 7rem); }
.qr { flex: none; display: grid; justify-items: center; gap: 12px; padding: 20px; border-radius: var(--r-card); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.qr img { width: 168px; height: 168px; }
.qr figcaption { max-width: 18ch; text-align: center; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 767px) { .qr { display: none; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font: inherit; font-weight: 400; color: var(--ink); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral-deep); }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form__status { font-size: .95rem; }
.form__status.is-ok { color: #2f7d5a; }
.form__status.is-error { color: var(--coral-deep); }
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(56px, 8vw, 96px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.footer__tagline { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.015em; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: 32px clamp(40px, 8vw, 120px); }
.footer__head { margin: 0 0 16px; font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--muted); }
.footer__cols ul { display: grid; gap: 12px; }
.footer__cols a { color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Giant wordmark. js/main.js sizes it to fill the column exactly. */
.footer__mark {
  display: flex; justify-content: space-between;
  margin: clamp(40px, 7vw, 88px) 0 0; padding-bottom: .14em;
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.05em; line-height: .9;
  font-size: 13.4vw; color: var(--ink);
  white-space: nowrap; user-select: none;
}
.footer__mark span { display: inline-block; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), color .3s; }
.footer__mark span.is-up { transform: translateY(-.14em); color: var(--coral); }

.footer__bottom { border-top: 1px solid var(--line); margin-top: clamp(16px, 3vw, 32px); }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 24px 32px; }
.footer__copy { color: var(--muted); font-size: .92rem; }
.footer__stores { display: flex; gap: 20px; margin-left: auto; }
.footer__stores a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.footer__stores a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__stores { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .footer__mark span.is-up { transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
