
@font-face {
  font-family: "Onweer Normal Cond";
  src: url("/assets/fonts/OnweerNormalCond-Regular.woff2") format("woff2"),
       url("/assets/fonts/OnweerNormalCond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onweer Poster Cond";
  src: url("/assets/fonts/OnweerPosterCond-Light.woff2") format("woff2"),
       url("/assets/fonts/OnweerPosterCond-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

body.fs {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  background: var(--surface-0);
  color: var(--color-ink);
  font-family: var(--font-ui);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  -webkit-text-size-adjust: 100%;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

.fs__nav {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-10) var(--space-12);
  padding-top: max(var(--space-10), env(safe-area-inset-top));
}

.fs__nav-back,
.fs__nav-step {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.fs__nav-back {
  justify-self: start;
  color: inherit;
  padding-left: var(--space-8);
}

.fs__nav-back svg {
  width: 24px;
  height: 24px;
  display: block;
}

.fs__nav-step {
  justify-self: end;
  justify-content: flex-end;
  padding-right: var(--space-8);
  color: var(--overlay-quiet);
  font-variant-numeric: tabular-nums;
}

.fs__nav-logo {
  display: block;
  width: 28px;
  height: 28px;
}

.fs__nav-bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--hairline-on-paper);
  overflow: hidden;
}

.fs__nav-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--color-ink);
}

.fs__nav[data-progress="none"] .fs__nav-bar,
.fs__nav[data-progress="none"] .fs__nav-step {
  visibility: hidden;
}

.fs__scroll {
  position: relative;
  grid-row: 2;
  grid-column: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  padding: var(--space-32) var(--space-12) var(--fs-foot-height, 0px);
  -webkit-mask-image: linear-gradient(to bottom, var(--color-ink) calc(100% - var(--space-24)), transparent);
  mask-image: linear-gradient(to bottom, var(--color-ink) calc(100% - var(--space-24)), transparent);
}

.fs__col {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.fs__col > :last-child,
.fs__pay-gone > :last-child {
  margin-bottom: var(--space-40);
}

.fs__title {
  margin: 0 0 var(--space-24);
  padding-inline: var(--space-8);
  font-size: var(--type-heading-size);
  line-height: var(--type-heading-line-height);
  letter-spacing: var(--type-heading-letter-spacing);
  font-weight: 400;
}

.fs__options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.fs__option {
  display: block;
  padding: var(--space-16);
  border: 1px solid var(--hairline-on-paper);
  border-radius: var(--radius-inner);
  background: var(--surface-0);
  color: inherit;
  text-decoration: none;
  min-height: 48px;
  box-sizing: border-box;
  transition:
    background var(--motion-fast) var(--motion-ease),
    color var(--motion-fast) var(--motion-ease),
    transform var(--motion-fast) var(--motion-ease);
}

.fs__option:active {
  background: var(--menu-item-hover);
}

.fs__option[data-picked] {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--btn-fg);
  transform: scale(0.98);
}

@media (hover: hover) {
  .fs__option:not([data-picked]):hover {
    background: var(--menu-item-hover);
  }
}

.fs__option:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.fs__option--terminal {
  color: var(--overlay-muted);
  border-style: dashed;
  cursor: default;
}

.fs__cta {
  display: block;
  padding: var(--space-16);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  min-height: 48px;
  box-sizing: border-box;
}

.fs__cta[data-picked] {
  transform: scale(0.98);
}

.fs__cta:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.fs__foot {
  grid-row: 2;
  grid-column: 1;
  align-self: end;
  pointer-events: none;
  padding: 0 var(--space-12) var(--space-16);
  padding-bottom: max(var(--space-16), env(safe-area-inset-bottom));
}

.fs__foot > * {
  pointer-events: auto;
}

.fs__point {
  position: absolute;
  left: calc(50% - 24px);
  bottom: calc(max(var(--space-16), env(safe-area-inset-bottom, 0px)) + 48px + var(--space-8));
  width: 48px;
  height: 48px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  --fs-point-from-x: 0px;
  --fs-point-from-y: 0px;
  --fs-point-from-rot: 0deg;
  --fs-point-lift: 28px;
  --fs-point-lift-x: 24px;
}

.fs__point-drop,
.fs__point-icon {
  display: block;
  width: 48px;
  height: 48px;
}

.fs__point[data-enter] {
  animation: fs-point-enter-x var(--motion-point-enter) linear both;
}

.fs__point[data-enter] .fs__point-drop {
  animation: fs-point-enter-y var(--motion-point-enter) linear both;
}

.fs__point[data-enter] .fs__point-icon {
  animation:
    fs-point-enter-turn var(--motion-point-enter) linear both,
    fs-point-bob 900ms ease-in-out var(--motion-point-enter) infinite alternate;
}

@keyframes fs-point-enter-x {
  0% {
    translate: calc(var(--fs-point-from-x) + var(--motion-enter-x)) 0;
    opacity: 0;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  25% {
    translate: var(--fs-point-from-x) 0;
    opacity: 1;
    animation-timing-function: linear;
  }
  34.375% {
    translate: var(--fs-point-from-x) 0;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  50% {
    translate: calc(var(--fs-point-from-x) + var(--fs-point-lift-x)) 0;
    animation-timing-function: cubic-bezier(0.45, 0, 0.1, 1);
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}

@keyframes fs-point-enter-y {
  0% {
    translate: 0 var(--fs-point-from-y);
    animation-timing-function: linear;
  }
  34.375% {
    translate: 0 var(--fs-point-from-y);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  43.75% {
    translate: 0 calc(var(--fs-point-from-y) - var(--fs-point-lift));
    animation-timing-function: cubic-bezier(0.45, 0, 0.1, 1);
  }
  100% {
    translate: 0 0;
  }
}

@keyframes fs-point-enter-turn {
  0% {
    rotate: var(--fs-point-from-rot);
    animation-timing-function: linear;
  }
  43.75% {
    rotate: var(--fs-point-from-rot);
    animation-timing-function: ease-in-out;
  }
  100% {
    rotate: 0deg;
  }
}

@keyframes fs-point-bob {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs__point,
  .fs__point[data-enter] {
    opacity: 1;
  }
  .fs__point[data-enter],
  .fs__point[data-enter] .fs__point-drop,
  .fs__point[data-enter] .fs__point-icon {
    animation: none;
  }
}

.fs__foot[data-held] {
  opacity: 0;
  visibility: hidden;
  translate: 0 var(--space-16);
  transition:
    opacity var(--motion-enter) var(--motion-ease-out-quart),
    translate var(--motion-enter) var(--motion-ease-out-quart),
    visibility 0s linear var(--motion-enter);
}

.fs__foot {
  transition:
    opacity var(--motion-enter) var(--motion-ease-out-quart),
    translate var(--motion-enter) var(--motion-ease-out-quart);
}

.fs__notice {
  margin: 0 auto;
  padding-inline: var(--space-8);
  max-width: 400px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.7;
  text-align: center;
}

.fs__notice-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
}

.fs__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  min-height: 48px;
  padding: var(--space-10) 0;
  cursor: pointer;
}

.fs__consent-box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: var(--color-ink);

  font-size: 14px;
  line-height: 1.4;
  margin: calc((1lh - 22px) / 2) 0 0;
}

.fs__consent-label {
  font-size: 14px;
  line-height: 1.4;
}

.fs__city {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.fs__city-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.fs__city-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--overlay-muted);
}

.fs__city-label .fs__caret {
  width: 20px;
  height: 20px;
}

.fs__title--display {
  font-size: var(--type-title-size);
  line-height: var(--type-title-line-height);
  letter-spacing: 0;
}

.fs__title--quiet {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  letter-spacing: 0;
}

.fs__text {
  margin: 0 0 var(--space-16);
  padding-inline: var(--space-8);
  line-height: 1.35;
}

.fs__text--lead {
  font-size: var(--type-heading-size);
  line-height: var(--type-heading-line-height);
  letter-spacing: var(--type-heading-letter-spacing);
}

.fs__title--framing {
  color: var(--overlay-quiet);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  letter-spacing: 0;
  margin-bottom: var(--space-10);
}

.fs__text--after {
  margin-top: var(--space-32);
}

.fs__text mark {
  background: var(--color-lemon);
  color: inherit;
  padding: 0 var(--space-4);
  border-radius: var(--space-4);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.fs__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 var(--space-16);
  background: var(--surface-1);
}

.fs__circle {
  display: block;
  width: min(56%, 200px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto var(--space-16) 0;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(49.5%);
  background: var(--surface-1);
}

.fs__scale {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-10);
}

.fs__scale-ends {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-10);
  padding-inline: var(--space-4);
  color: var(--overlay-muted);
}

.fs__scale-ends > :last-child {
  text-align: right;
}

.fs__scale-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid var(--hairline-on-paper);
  border-radius: var(--radius-inner);
  background: var(--surface-0);
  overflow: hidden;
}

.fs__option--step {
  text-align: center;
  border: 0;
  border-left: 1px solid var(--hairline-on-paper);
  border-radius: 0;
  padding: var(--space-12) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fs__scale-steps > li:first-child .fs__option--step {
  border-left: 0;
}

.fs__option--step[data-picked] {
  transform: none;
}

.fs__scale-icon {
  display: block;
  object-fit: contain;
}

.fs__option--step {
  min-height: 80px;
}

.fs__scale-number {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.fs__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.fs__input {
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-16);
  border: 0;
  border-radius: var(--radius-inner);
  background: var(--surface-1);
  color: inherit;
  font: inherit;
  font-size: var(--type-body-size);
  min-height: 48px;
}

.fs__input:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.fs__jump {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: var(--space-32) auto 0;
  min-height: 48px;
  padding: 0 var(--space-24);
  border: 1px solid var(--hairline-on-paper);
  border-radius: var(--radius-pill);
  background: var(--surface-0);
  color: inherit;
  text-decoration: none;
  transition: background var(--motion-fast) var(--motion-ease);
}

@media (hover: hover) {
  .fs__jump:hover {
    background: var(--menu-item-hover);
  }
}

.fs__jump:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .fs__meeting-cta[data-nudge] {
    animation: fs-nudge 600ms var(--motion-ease);
  }
}

@keyframes fs-nudge {
  0%,
  100% {
    rotate: 0deg;
  }
  25% {
    rotate: -5deg;
  }
  75% {
    rotate: 5deg;
  }
}

.fs__faq {
  margin-top: var(--space-32);
}

@media (prefers-reduced-motion: no-preference) {
  .fs__faq-item[open] > :not(summary) {
    animation: fs-faq-open var(--motion-fast) var(--motion-ease) both;
  }
}

@keyframes fs-faq-open {
  from {
    opacity: 0;
    transform: translate3d(0, calc(var(--space-8) * -1), 0);
  }
}

.fs__faq-item {
  margin-inline: var(--space-8);
  border-top: 1px solid var(--hairline-on-paper);
}

.fs__faq-item:last-of-type {
  border-bottom: 1px solid var(--hairline-on-paper);
}

.fs__faq-item summary {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-16) 0;
  cursor: pointer;
  font-weight: 400;
  min-height: 54px;
  box-sizing: border-box;
  list-style: none;
}

.fs__faq-item summary::-webkit-details-marker {
  display: none;
}

.fs__caret {
  flex: 0 0 auto;
  margin-left: auto;
  width: 23px;
  height: 23px;
  transition: rotate var(--motion-fast) var(--motion-ease);
}

.fs__faq-item[open] .fs__caret {
  rotate: 180deg;
}

.fs__faq-item p {
  margin: 0 0 var(--space-16);
  color: var(--overlay-muted);
  line-height: 1.35;
}

.fs__meetings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.fs__meetings[data-state="ready"] .fs__meetings-note {
  display: none;
}

.fs__meetings:not([data-state="ready"]):not([data-state="taken"]) .fs__meetings-list {
  display: none;
}

.fs__meetings-note {
  margin: 0;
  padding-inline: var(--space-8);
  color: var(--overlay-muted);
}

.fs__meetings-lead {
  margin: 0 0 var(--space-12);
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-small);
  background: var(--surface-1);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.fs__meetings:not([data-state="ready"]) .fs__meetings-lead {
  display: none;
}

.fs__meetings-placeholder {
  display: none;
  min-height: 236px;
  border-radius: var(--radius-inner);
  background: var(--surface-1);
}

.fs__meetings[data-state="loading"] .fs__meetings-placeholder {
  display: block;
}

.fs__meetings[data-state="loading"] .fs__meetings-note {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.fs__meeting {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-inner);
  background: var(--surface-lemon);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform var(--motion-fast) var(--motion-ease);
}

.fs__meeting-glow {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-lemon);
  filter: blur(80px);
  pointer-events: none;
}

.fs__meeting-title,
.fs__meeting-foot {
  position: relative;
}

.fs__meeting-title {
  padding: var(--space-36) var(--space-16);
  font-family: var(--font-display);
  font-size: var(--type-hero-size);
  line-height: var(--type-hero-line-height);
  font-weight: 300;
  text-align: center;
  overflow-wrap: anywhere;
}

.fs__meeting-date {
  display: block;
}

.fs__meeting-foot {
  display: flex;
  align-items: center;
  gap: var(--space-8) var(--space-20);
  padding: var(--space-8) var(--space-16) var(--space-20);
}

.fs__meeting-facts {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-inline: var(--space-4);
  line-height: 1.2;
}

.fs__meeting-when {
  font-variant-numeric: tabular-nums;
}

.fs__meeting-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  height: 48px;
  padding-inline: var(--space-20);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  white-space: nowrap;
}

.fs__meeting-cta-label {
  padding-inline: var(--space-4);
}

.fs__meeting-cta svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.fs__meeting[data-picked] {
  transform: scale(0.99);
}

.fs__meeting--unavailable {
  background: var(--surface-1);
  color: var(--overlay-muted);
  cursor: default;
}

.fs__meeting--unavailable .fs__meeting-glow {
  display: none;
}

.fs__meeting-reason {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 48px;
  padding-inline: var(--space-4);
  text-align: right;
}


.fs__meetings[data-state="taken"] .fs__meetings-note {
  display: block;
}

.fs__handoff {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-inline: var(--space-8);
}

body.fs[data-handoff-state="ready"] .fs__handoff-note {
  display: none;
}

.fs__handoff-note {
  margin: 0;
}

body.fs[data-handoff-state="pending"] .fs__handoff-note {
  color: var(--overlay-muted);
}

.fs__handoff-support {
  display: none;
  color: inherit;
  min-height: 48px;
  align-items: center;
}

body.fs[data-handoff-state="awaiting"] .fs__handoff-support,
body.fs[data-handoff-state="retry"] .fs__handoff-support {
  display: inline-flex;
}

body.fs[data-handoff-state="failed"] .fs__col > .fs__text,
body.fs[data-handoff-state="awaiting"] .fs__col > .fs__text,
body.fs[data-handoff-state="retry"] .fs__col > .fs__text,
body.fs[data-handoff-state="refused"] .fs__col > .fs__text,
body.fs[data-handoff-state="seat_lost"] .fs__col > .fs__text,
body.fs[data-handoff-state="failed"] .fs__point,
body.fs[data-handoff-state="awaiting"] .fs__point,
body.fs[data-handoff-state="retry"] .fs__point,
body.fs[data-handoff-state="refused"] .fs__point,
body.fs[data-handoff-state="seat_lost"] .fs__point {
  display: none;
}

body.fs[data-handoff-state="failed"] .fs__title,
body.fs[data-handoff-state="retry"] .fs__title,
body.fs[data-handoff-state="refused"] .fs__title,
body.fs[data-handoff-state="seat_lost"] .fs__title {
  color: var(--fg-error);
}

.fs__form[aria-busy="true"] .fs__cta {
  opacity: 0.6;
}

.fs__pay {
  gap: var(--space-12);
}

.fs__pay-card,
.fs__pay-rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.fs__pay-card {
  padding: var(--space-16);
  background: var(--surface-1);
  border-radius: var(--radius-inner);
}

.fs__pay-card-title {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
}

.fs__pay-card-title:empty {
  display: none;
}

.fs__pay-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4) var(--space-16);
  align-items: baseline;
}

.fs__pay-row dt {
  color: var(--overlay-muted);
  overflow-wrap: anywhere;
}

.fs__pay-row dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.fs__pay-row--total dd {
  min-height: var(--type-body-bold-line-height);
  font-size: var(--type-body-bold-size);
  line-height: var(--type-body-bold-line-height);
}

.fs__pay-terms,
.fs__pay-why,
.fs__pay-unavailable {
  margin: 0;
  padding-inline: var(--space-8);
  color: var(--overlay-muted);
}

.fs__pay-why {
  color: inherit;
}

.fs__pay-terms-title {
  margin: 0;
  padding-inline: var(--space-8);
  margin-bottom: calc(-1 * var(--space-4));
}

.fs__signature {
  margin: var(--space-32) 0 var(--space-24);
  text-align: center;
  color: var(--overlay-quiet);
}

.fs__brand {
  margin: 0 0 var(--space-32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  font-size: var(--type-title-size);
  line-height: var(--type-title-line-height);
  font-weight: 400;
}

.fs__brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 22%;
}

.fs__scroll--pay:has(.fs__pay-hero) {
  padding-top: 0;
  justify-content: flex-start;
}

.fs__pay-hero {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  width: calc(100% + 2 * var(--space-12));
  max-width: 520px;
  margin-inline: calc(-1 * var(--space-12));
  aspect-ratio: 16 / 9;
  margin-bottom: var(--space-24);
  overflow: hidden;
  background: var(--surface-1);
}

.fs__pay-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs__pay-hero .fs__brand {
  position: absolute;
  inset: 0;
  margin: 0;
  color: var(--on-dark);
  text-shadow: var(--shadow-on-video);
}

body.fs:has(.fs__pay-hero) .fs__nav {
  grid-row: 2;
  grid-column: 1;
  align-self: start;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

body.fs:has(.fs__pay-hero) .fs__nav-bar {
  display: none;
}

body.fs:has(.fs__pay-hero) .fs__nav-step {
  visibility: hidden;
}

body.fs:has(.fs__pay-hero) .fs__nav-back {
  pointer-events: auto;
  color: var(--on-dark);
}

body.fs[data-scrolled]:has(.fs__pay-hero) .fs__nav {
  background: var(--surface-0);
  pointer-events: auto;
}

body.fs[data-scrolled]:has(.fs__pay-hero) .fs__nav-back {
  color: inherit;
}

.fs__foot--pay {
  position: relative;
  background: var(--surface-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding-top: var(--space-12);
}

.fs__foot--pay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--hairline-on-paper);
}


.fs__foot--pay .fs__consent {
  padding: var(--space-6) 0;
  min-height: 0;
}

.fs__foot--pay .fs__consent-label {
  text-wrap: balance;
}

@media (pointer: coarse) {
  .fs__foot--pay .fs__consent {
    position: relative;
  }

  .fs__foot--pay .fs__consent::before {
    content: "";
    position: absolute;
    left: calc((22px - 44px) / 2);
    top: calc(var(--space-6) + 0.5lh - 22px);
    width: 44px;
    height: 44px;
    font-size: 14px;
    line-height: 1.4;
  }

  .fs__foot--pay .fs__consent-label a,
  .fs__foot--pay .fs__cta {
    position: relative;
  }
}

.fs__consent-label a {
  color: inherit;
  text-decoration: underline;
}

.fs__pay-offer {
  margin: 0;
  font-size: var(--type-fine-size);
  line-height: 18px;
  text-align: center;
  color: var(--overlay-muted);
}

.fs__pay-offer a {
  color: inherit;
  text-decoration: underline;
}

.fs__consent-why {
  margin: calc(-1 * var(--space-4)) 0 0;
  padding-left: calc(22px + var(--space-10));
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg-error);
}

:root:has(.fs__foot) {
  --fs-foot-height: calc(var(--space-80) + var(--space-16));
}

:root:has(.fs__foot--pay) {
  --fs-foot-height: calc(var(--space-80) * 3);
}

body.fs[data-pay-state="loading"] .fs__cta,
body.fs[data-pay-state="unknown"] .fs__cta,
body.fs[data-pay-state="loading"] .fs__pay-offer,
body.fs[data-pay-state="unknown"] .fs__pay-offer,
body.fs[data-pay-state="gone"] .fs__pay-offer,
body.fs[data-pay-state="unknown"] .fs__consent,
body.fs[data-pay-state="gone"] .fs__consent,
body.fs[data-pay-state="unknown"] .fs__consent-why,
body.fs[data-pay-state="gone"] .fs__consent-why,
body.fs[data-pay-state="gone"] [data-pay-cta] {
  display: none;
}

body.fs[data-pay-state] .fs__nav-logo {
  visibility: hidden;
}

.fs__pay-gone,
.fs__pay-gone-cta {
  display: none;
}

body.fs[data-pay-state="gone"] .fs__pay-gone {
  display: block;
}

body.fs[data-pay-state="gone"] .fs__pay-gone-cta {
  display: block;
}

body.fs[data-pay-state="gone"] .fs__pay,
body.fs[data-pay-state="gone"] .fs__faq,
body.fs[data-pay-state="gone"] .fs__signature {
  display: none;
}

.fs__pay-gone-title {
  color: var(--fg-error);
}

.fs__pay-gone .fs__meetings {
  margin: var(--space-8) 0 var(--space-24);
}

@keyframes fs-arrive {
  from {
    opacity: 0;
    transform: translate3d(var(--motion-enter-x), 0, 0);
  }
}

:root[data-nav="back"] {
  --motion-enter-x: calc(var(--motion-enter-forward-x) * -1);
}

.fs__col,
.fs__col--sequence > *,
.fs__foot {
  animation: fs-arrive var(--motion-enter) var(--motion-ease-out-quart) both;
  animation-delay: var(--fs-arrive-delay, 0ms);
}

.fs__col--sequence {
  animation: none;
}

.fs__col--sequence > *,
body:has(.fs__col--sequence) .fs__foot,
.fs__meeting,
.fs__meeting-title,
.fs__meeting-foot {
  animation-duration: var(--motion-enter-slow);
}

.fs__col--sequence > *:nth-child(2) { --fs-arrive-delay: var(--motion-stagger); }
.fs__col--sequence > *:nth-child(3) { --fs-arrive-delay: calc(var(--motion-stagger) * 2); }
.fs__col--sequence > *:nth-child(4) { --fs-arrive-delay: calc(var(--motion-stagger) * 3); }
.fs__col--sequence > *:nth-child(5) { --fs-arrive-delay: calc(var(--motion-stagger) * 4); }
.fs__col--sequence > *:nth-child(n + 6) { --fs-arrive-delay: calc(var(--motion-stagger) * 5); }

.fs__col--sequence ~ .fs__foot,
body:has(.fs__col--sequence) .fs__foot {
  --fs-arrive-delay: calc(var(--motion-stagger) * 6);
}

.fs__meetings-list > li:nth-child(2) .fs__meeting { --fs-arrive-delay: calc(var(--motion-stagger) * 5); }
.fs__meetings-list > li:nth-child(n + 3) .fs__meeting { --fs-arrive-delay: calc(var(--motion-stagger) * 6); }

.fs__meeting {
  animation: fs-arrive var(--motion-enter) var(--motion-ease-out-quart) both;
  animation-delay: var(--fs-arrive-delay, calc(var(--motion-stagger) * 4));
}


.fs__float {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.fs__float-rise {
  position: absolute;
  --fs-float-x: 50%;
  --fs-float-start: 56vh;
  --fs-float-life: 10s;
  left: var(--fs-float-x);
  bottom: 0;
  animation: fs-float-rise var(--fs-float-life) linear both;
}

.fs__float-drift {
  display: block;
  animation: fs-float-drift var(--fs-float-life) ease-in-out both;
}

.fs__float-icon {
  display: block;
  animation: fs-float-tilt calc(var(--fs-float-life) / 3) ease-in-out 3 alternate both;
}

@keyframes fs-float-rise {
  0% {
    translate: -50% calc(var(--fs-float-start) * -1 + 50%);
    scale: 0;
    opacity: 0;
    animation-timing-function: ease-out;
  }
  5% {
    scale: 1;
    opacity: 1;
  }
  95% {
    scale: 1;
    opacity: 1;
    animation-timing-function: ease-in;
  }
  100% {
    translate: -50% calc(-84vh + 50%);
    scale: 0;
    opacity: 0;
  }
}

@keyframes fs-float-drift {
  0% {
    translate: 0 0;
  }
  35% {
    translate: -8vw 0;
  }
  80% {
    translate: 8vw 0;
  }
  100% {
    translate: 0 0;
  }
}

@keyframes fs-float-tilt {
  from {
    rotate: -12deg;
  }
  to {
    rotate: 12deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs__float {
    display: none;
  }
}

.fs__celebrate {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.fs__celebrate-shot {
  position: absolute;
  left: 50%;
  bottom: calc(max(var(--space-16), env(safe-area-inset-bottom, 0px)) + var(--space-24));
  display: block;
  translate: -50% 0;
  opacity: 0;
  --fs-celebrate-x: 0vw;
  --fs-celebrate-y: -40vh;
  --fs-celebrate-rot: 0deg;
  --fs-celebrate-delay: 0ms;
}

.fs__celebrate-shot--mid {
  --fs-celebrate-x: 0vw;
  --fs-celebrate-y: -28vh;
  --fs-celebrate-rot: 8deg;
  --fs-celebrate-delay: 0ms;
}

.fs__celebrate-shot--left {
  --fs-celebrate-x: -24vw;
  --fs-celebrate-y: -17vh;
  --fs-celebrate-rot: -26deg;
  --fs-celebrate-delay: 220ms;
}

.fs__celebrate-shot--right {
  --fs-celebrate-x: 24vw;
  --fs-celebrate-y: -17vh;
  --fs-celebrate-rot: 26deg;
  --fs-celebrate-delay: 440ms;
}

.fs__celebrate-icon {
  display: block;
}

.fs__celebrate-shot--left .fs__celebrate-icon {
  scale: -1 1;
}

.fs__celebrate-shot--mid .fs__celebrate-icon {
  width: 132px;
  height: 132px;
}

.fs__celebrate[data-celebrating] .fs__celebrate-shot {
  animation: fs-celebrate calc(var(--motion-celebrate) - var(--fs-celebrate-delay)) linear
    var(--fs-celebrate-delay) both;
}

@keyframes fs-celebrate {
  0% {
    translate: -50% 0;
    scale: 0.2;
    rotate: 0deg;
    opacity: 0;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  16% {
    translate: calc(-50% + var(--fs-celebrate-x) * 0.42) calc(var(--fs-celebrate-y) * 0.42);
    scale: 1.15;
    opacity: 1;
  }
  30% {
    scale: 1;
  }
  68% {
    opacity: 1;
  }
  100% {
    translate: calc(-50% + var(--fs-celebrate-x)) var(--fs-celebrate-y);
    scale: 0.75;
    rotate: var(--fs-celebrate-rot);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs__celebrate {
    display: none;
  }
}

@supports (corner-shape: superellipse(2)) {
  .fs__option,
  .fs__scale-steps,
  .fs__input,
  .fs__meeting,
  .fs__meetings-placeholder,
  .fs__pay-card,
  .fs__nav-bar {
    corner-shape: var(--radius-corner-shape);
  }

  .fs__nav-bar {
    corner-shape: round;
  }
}
