/* GoSEQ Pro (js/pro.js): the paywall, the row on Me, and the small "Pro" mark on a Pro feature. The tokens are
   app.css's own, so it follows light/dark and whatever colour you picked. */
.pro-badge { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); vertical-align: 1px; }
.btn.primary .pro-badge { background: color-mix(in srgb, var(--on-accent) 22%, transparent); color: var(--on-accent); }
span.pro-badge[role="button"] { cursor: pointer; }

.pro-row { margin-top: 12px; }
.pro-row .logo-mark { width: 44px; height: 44px; flex: none; }

.pro-body { width: 100%; max-width: 520px; margin: 0 auto; }
.pro-wait { display: grid; place-items: center; min-height: 50vh; }
.pro-hero { text-align: center; margin: 0 0 20px; }
.pro-hero .logo-mark { display: block; width: 72px; height: 72px; margin: 0 auto 14px; filter: drop-shadow(0 8px 18px rgba(184, 38, 74, .25)); }
.pro-hero h2 { font-size: var(--fs-title); letter-spacing: -.02em; }
.pro-hero p { margin: 8px auto 0; max-width: 34ch; color: var(--muted); font-size: var(--fs-sub); }
.pro-why { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: var(--fs-sub); }

/* what you get: short lines with an icon each, not a table */
.pro-perks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.pro-perks li { display: flex; align-items: flex-start; gap: 12px; }
.pro-perks b { display: block; font-size: var(--fs-body); font-weight: 700; }
.pro-perks small { display: block; margin-top: 1px; color: var(--muted); font-size: var(--fs-sub); line-height: 1.35; }
.pro-perks li.on .ico { background: var(--accent); color: var(--on-accent); }

/* the two plans: yearly first and picked */
.pro-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 14px; }
.pro-plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 14px 14px; border-radius: 16px; background: var(--surface); text-align: left;
  box-shadow: var(--shadow), inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .2s var(--spring); }
.pro-plan:active { transform: scale(.98); }
.pro-plan[aria-checked="true"] { box-shadow: var(--shadow), inset 0 0 0 2.5px var(--accent); }
.pro-plan b { color: var(--muted); font-size: var(--fs-sub); font-weight: 700; }
.pro-price { font-size: var(--fs-title3); font-weight: 800; letter-spacing: -.02em; }
.pro-price small { color: var(--muted); font-size: var(--fs-sub); font-weight: 600; letter-spacing: 0; }
.pro-plan > small { color: var(--muted); font-size: var(--fs-foot); }
.pro-save { position: absolute; top: -10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-cap); font-weight: 800; }

.pro-fine { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: var(--fs-foot); }
.pro-free { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: var(--fs-foot); }
.pro-free .i { color: var(--ok); }
.link.pro-later { color: var(--muted); font-weight: 600; }
.link.pro-anyway { color: var(--muted); font-weight: 500; font-size: var(--fs-detail); margin-top: 14px; }

/* Mates and "I'm pulling up!" (js/mates.js) */
.mate-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; object-fit: cover; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.mate-code { display: grid; gap: 4px; padding: 16px; text-align: center; }
.mate-code small { color: var(--muted); }
.mate-code b { font-size: 34px; letter-spacing: .12em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.mate-join { display: flex; gap: 8px; margin: 12px 0 0; }
.mate-join input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--surface-2); color: var(--text); font-size: var(--fs-row); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.mate-join input::placeholder { color: var(--muted); font-weight: 500; letter-spacing: .02em; text-transform: none; }
.mate-pick { cursor: pointer; }
.mate-pick input { width: 22px; height: 22px; accent-color: var(--accent); }

/* Your year on transport (js/recap.js) */
.recap-card { display: grid; gap: 2px; padding: 20px 18px; margin-bottom: 12px; animation: recap-in .5s both; animation-delay: calc(var(--i) * 90ms); }
.recap-card > b { font-size: 52px; line-height: 1.05; color: var(--accent); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.recap-card > b.recap-word { font-size: 38px; }
.recap-unit { font-weight: 700; font-size: var(--fs-row); }
.recap-card small { color: var(--muted); font-size: var(--fs-sub); }
.recap-open { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin-top: 12px; }
@keyframes recap-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .recap-card { animation: none; } }
/* without Pro: one card in place of time on board and top route, spanning both */
.stats .stats-more { grid-column: span 2; text-align: left; }
.stats .stats-more b { font-size: var(--fs-row); display: flex; align-items: center; gap: 6px; }
.recap-more { width: 100%; text-align: left; border: 1.5px dashed var(--line); }
.recap-more .recap-unit { display: flex; align-items: center; gap: 6px; }
.recap-open .grow b, .recap-open .grow small { display: block; }

/* Your year on transport, the story (js/recap.js openStory): full-screen slides that play themselves */
.story-ov { background: #1B1B1F; }
.story { position: relative; flex: 1; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.st-progress { position: absolute; z-index: 5; left: 12px; right: 12px; top: calc(var(--safe-top) + 10px); display: flex; gap: 4px; }
.st-progress span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.st-progress i { display: block; height: 100%; width: 0; background: #fff; }
.st-progress .done i { width: 100%; }
.st-progress .run i { animation: st-fill 6.5s linear forwards; }
.story.paused .st-progress .run i { animation-play-state: paused; }
@keyframes st-fill { to { width: 100%; } }
.st-top { position: absolute; z-index: 6; right: 6px; top: calc(var(--safe-top) + 20px); }
.st-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #fff; }
.st-nav { position: absolute; z-index: 1; top: 0; bottom: 0; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
.st-nav.prev { left: 0; width: 30%; } .st-nav.next { right: 0; width: 70%; }
.st-slide { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; color: var(--ink);
  background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.18), transparent 38%), radial-gradient(circle at 10% 95%, rgba(0,0,0,.18), transparent 45%), linear-gradient(160deg, var(--a), var(--b));
  transition: opacity .35s; display: flex; }
.st-slide.on { opacity: 1; }
.st-slide.on button { pointer-events: auto; position: relative; z-index: 4; }
.st-body { margin: auto 0; width: 100%; padding: calc(var(--safe-top) + 70px) 28px calc(var(--safe-bot) + 40px); display: flex; flex-direction: column; align-items: flex-start; }
.st-body > * { margin: 0; }
.st-slide.on .st-body > * { animation: st-rise .6s cubic-bezier(.2,.9,.3,1.2) both; }
.st-slide.on .st-body > :nth-child(2) { animation-delay: .12s; } .st-slide.on .st-body > :nth-child(3) { animation-delay: .24s; }
.st-slide.on .st-body > :nth-child(4) { animation-delay: .38s; } .st-slide.on .st-body > :nth-child(n+5) { animation-delay: .5s; }
@keyframes st-rise { from { opacity: 0; transform: translateY(28px) scale(.96); } }
.st-kicker { font-size: var(--fs-sub); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 10px !important; }
.st-title { font-size: clamp(44px, 13vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px !important; }
.st-word { font-size: clamp(38px, 11vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; margin-bottom: 14px !important; }
.st-big { font-size: clamp(96px, 32vw, 168px); line-height: .9; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.st-unit { font-size: var(--fs-title); font-weight: 800; margin: 4px 0 18px !important; }
.st-line { font-size: var(--fs-title3); line-height: 1.4; font-weight: 500; opacity: .92; max-width: 30ch; }
.st-hint { margin-top: 36px !important; font-size: var(--fs-sub); font-weight: 700; opacity: .7; animation: st-pulse 1.6s ease-in-out infinite !important; }
@keyframes st-pulse { 50% { opacity: .3; } }
.st-chip { margin-top: 14px !important; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 700; font-size: var(--fs-sub); }
.st-years { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; }
.st-years button { border: 1.5px solid rgba(255,255,255,.4); background: none; color: inherit; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: var(--fs-sub); }
.st-years button[aria-pressed="true"] { background: #fff; color: #1B1B1F; border-color: #fff; }
.st-pill { display: inline-block; min-width: 1.6em; text-align: center; padding: .08em .35em; border-radius: .28em; background: #fff; color: #1B1B1F; font-weight: 800; }
.st-hero .st-pill { font-size: clamp(64px, 22vw, 120px); line-height: 1.05; margin: 6px 0 18px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.st-podium { list-style: none; padding: 0; margin-top: 22px !important; display: grid; gap: 10px; width: 100%; }
.st-podium li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--fs-row); animation: st-rise .5s both; animation-delay: calc(.5s + var(--i) * .12s); }
.st-podium .st-pill { font-size: var(--fs-title3); }
.st-rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); font-size: var(--fs-sub); }
.st-bars-chart { display: flex; align-items: flex-end; gap: 5px; height: 150px; width: 100%; margin: 6px 0 20px !important; }
.st-bars-chart span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.st-bars-chart i { width: 100%; height: var(--h); border-radius: 5px 5px 2px 2px; background: currentColor; opacity: .35; transform-origin: bottom; }
.st-slide.on .st-bars-chart i { animation: st-grow .7s cubic-bezier(.2,.9,.3,1.1) both; animation-delay: calc(.3s + var(--i) * 45ms); }
.st-bars-chart .top i { opacity: 1; }
.st-bars-chart em { font-style: normal; font-size: 11px; font-weight: 700; opacity: .7; }
@keyframes st-grow { from { transform: scaleY(0); } }
.st-ring { position: relative; width: 220px; height: 220px; display: grid; place-items: center; margin: 4px 0 18px !important; }
.st-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.st-ring circle { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 14; }
.st-ring circle.fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--c); }
.st-slide.on .st-ring circle.fg { animation: st-ring 1.2s .3s cubic-bezier(.3,.8,.3,1) forwards; }
@keyframes st-ring { to { stroke-dashoffset: var(--o); } }
.st-ring .st-big { font-size: 64px; }
.st-lock { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); margin-bottom: 18px !important; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin: 6px 0 22px !important; }
.st-grid div { background: rgba(255,255,255,.14); border-radius: 18px; padding: 14px 16px; display: grid; min-width: 0; }
.st-grid b { font-size: 34px; font-weight: 800; line-height: 1.05; overflow-wrap: anywhere; }
.st-grid small { font-size: var(--fs-sub); font-weight: 600; opacity: .85; }
.st-share { margin-top: 10px !important; background: #fff !important; color: #1B1B1F !important; border: 0; width: 100%; justify-content: center; font-weight: 800; }
.st-again { margin-top: 12px !important; align-self: center; background: none; border: 0; color: inherit; font: inherit; font-weight: 700; opacity: .85; padding: 10px; }
.st-end .st-body { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .st-slide.on .st-body > *, .st-podium li, .st-slide.on .st-bars-chart i, .st-hint { animation: none !important; }
  .st-slide.on .st-ring circle.fg { animation: none; stroke-dashoffset: var(--o); }
}
.st-body > .st-bgyear { position: absolute; right: -18px; bottom: calc(var(--safe-bot) + 40px); font-size: 42vw; font-weight: 800; line-height: .8; letter-spacing: -.06em; opacity: .07 !important; animation: none !important; pointer-events: none; }

/* why checkout shows an odd number of free days (the days this account has left), above the plans; the reminder switch;
   and the create-account screens' line about the free two weeks */
.pro-left { margin: 0 0 4px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--text); font-size: var(--fs-sub); line-height: 1.45; }
.pro-remind { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--surface); min-height: 0; }
.pro-remind small { display: block; color: var(--muted); font-size: var(--fs-foot); }
.ob-free { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-sub); line-height: 1.45; }
.pro-receipt { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface); font-size: var(--fs-sub); }
.pro-receipt dt { color: var(--muted); } .pro-receipt dd { margin: 0; text-align: right; font-weight: 600; }

/* v100: the "Pro" ask card on Home (after the 3rd and 10th trip), "Coming" tags and the Family plan row */
.pro-ask { position: relative; display: grid; gap: 4px; padding-right: 44px; }
.pro-ask > b { font-size: var(--fs-body); }
.pro-ask > small { color: var(--muted); font-size: var(--fs-sub); line-height: 1.4; }
.pro-ask .pa-x { position: absolute; top: 6px; right: 6px; }
.pro-ask .pa-act { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.pro-soon { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .02em; padding: 2px 7px; border-radius: 999px; background: var(--surface-2, rgba(127,127,127,.15)); color: var(--muted); vertical-align: 1px; margin-left: 4px; }
.pro-perks li.soon .ico { background: var(--surface-2, rgba(127,127,127,.15)); color: var(--muted); }
.pro-family { align-items: center; margin: 4px 0 14px; }
/* Commute Autopilot: the wait beside the switch fades in, the spinner is a still arc with reduced motion */
.ap-wait { display: inline-flex; margin-right: 10px; vertical-align: middle; animation: ap-wait-in .15s ease-out; }
.ap-wait .spinner { width: 20px; height: 20px; }
@keyframes ap-wait-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ap-wait { animation: none; } .ap-wait .spinner circle { stroke-dasharray: 89, 200; stroke-dashoffset: -35; } }

/* the Pro taster card (5th trip): the button's wait is a round arc, the finished state pops a tick in */
.pro-taster .pa-busy { min-width: 150px; display: inline-grid; place-items: center; }
.pro-taster .pa-busy .spinner { width: 18px; height: 18px; }
.pro-ask.pa-done { animation: pa-done-in .35s cubic-bezier(.2, .9, .3, 1.2); }
.pa-tick { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); animation: pa-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pa-done-in { from { opacity: .4; transform: translateY(4px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes pa-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* Founding Rider: a quiet gold-edged row on Me; the first time it is seen, the medal pops, shines and throws a few sparks */
.founding { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-inner); background: color-mix(in srgb, var(--sun) 14%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sun) 70%, transparent); position: relative; overflow: hidden; }
.founding .grow { display: grid; gap: 2px; min-width: 0; }
.founding b { font-size: var(--fs-body); } .founding .fd-n { color: var(--warn); }
.founding small { color: var(--muted); font-size: var(--fs-foot); line-height: 1.35; }
.fd-medal { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #5A3600; background: linear-gradient(135deg, #FFD56A, var(--sun) 55%, #E89A00); box-shadow: 0 2px 8px rgba(232, 154, 0, .35); }
.fd-sparks { position: absolute; inset: 0; pointer-events: none; }
.fd-sparks i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--sun); opacity: 0; }
.founding.first { opacity: 0; transform: translateY(8px); }
.founding.first.play { opacity: 1; transform: none; transition: opacity .3s ease-out, transform .45s cubic-bezier(.2, .9, .3, 1.1); }
.founding.first.play .fd-medal { animation: fd-pop .7s cubic-bezier(.2, 1.5, .4, 1) .15s both; }
.founding.first.play .fd-medal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); background-size: 250% 100%; animation: fd-shine 1s ease-out .6s both; }
.founding.first.play .fd-sparks i { animation: fd-spark .9s ease-out calc(.35s + var(--t)) both; }
@keyframes fd-pop { 0% { transform: scale(.3) rotate(-25deg); } 100% { transform: none; } }
@keyframes fd-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes fd-spark { 0% { opacity: 1; transform: rotate(var(--a)) translateX(14px) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(calc(14px + var(--d))) scale(.3); } }
@media (prefers-reduced-motion: reduce) { .founding.first { opacity: 1; transform: none; } .founding.first.play, .founding.first.play * , .pro-ask.pa-done, .pa-tick { animation: none !important; transition: none !important; } }
/* the sign-up welcome's founding-spots line */
.ob-founding { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 5px 11px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--sun) 18%, transparent); color: var(--warn); font-size: var(--fs-foot); font-weight: 600; }
.ob-founding[hidden] { display: none; }
.ob-founding.in { animation: ob-f-in .4s ease-out; }
@keyframes ob-f-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ob-founding.in { animation: none; } }
.pro-taster .pa-busy:disabled { opacity: 1; } .pro-taster .pa-busy .spinner circle { stroke: var(--on-accent); }
