/* Halo ring: wrapper that carries the orbiting highlight */
.halo {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  padding: 1px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.halo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: max(260%, 520px);
  aspect-ratio: 1;
  background: conic-gradient(
    transparent 0deg,
    transparent 70%,
    rgba(240, 100, 110, 0.9) 82%,
    #fff 86%,
    rgba(212, 32, 47, 0.95) 90%,
    transparent 100%
  );
  transform: translate(-50%, -50%);
  animation: orbit 4.5s linear infinite;
}

/* Pill: the face inside a halo */
.pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(20, 16, 18, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 20px 60px -24px rgba(0, 0, 0, 0.7);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--wrap {
  white-space: normal;
}

.pill__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.16) 48%, transparent 64%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: shine 7s cubic-bezier(0.65, 0.05, 0.2, 1) 1.6s infinite;
}

.pill__spark {
  display: inline-block;
  color: var(--color-accent-soft);
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 107, 116, 0.7);
  animation: twinkle 2.6s cubic-bezier(0.65, 0.05, 0.2, 1) infinite;
}

.pill__spark ~ .pill__spark {
  animation-delay: 1.3s;
}

/* Call to action button, a halo with a filled face */
.halo--button {
  padding: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  color: #fff;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.halo--button:hover {
  transform: translateY(-2px);
}

.halo--button .pill {
  gap: 14px;
  padding: 17px 30px;
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--gradient-accent);
  font-size: 14.5px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.cta-note {
  color: var(--color-muted);
  font-size: 14px;
}

/* Section tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 107, 116, 0.25);
  border-radius: 999px;
  background: linear-gradient(rgba(255, 107, 116, 0.1), rgba(255, 107, 116, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--color-accent-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tag--alert {
  border-color: rgba(220, 60, 60, 0.55);
  background: linear-gradient(rgba(150, 20, 28, 0.6), rgba(90, 10, 16, 0.6));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 22px rgba(200, 30, 40, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.25);
  color: #ffb4b4;
}

/* Hand-drawn underline under the headline */
.underline-draw {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.underline-draw svg {
  position: absolute;
  bottom: -0.22em;
  left: -2%;
  width: 104%;
  height: 0.38em;
  overflow: visible;
  pointer-events: none;
}

.underline-draw__ink {
  fill: var(--color-accent);
  filter: drop-shadow(0 0 6px rgba(226, 50, 63, 0.65));
  animation: underline-glow 3s ease-in-out 2.4s infinite;
}

.underline-draw__pen {
  fill: none;
  stroke: #fff;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: underline-draw 1.05s cubic-bezier(0.65, 0, 0.25, 1) 1s forwards;
}

.underline-draw__tip {
  fill: #fff;
  opacity: 0;
  offset-path: path("M2 12.4 C 70 10.6, 160 8.6, 298 6.8");
  offset-distance: 0%;
  offset-rotate: 0deg;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px var(--color-accent));
  animation: underline-tip 1.05s cubic-bezier(0.65, 0, 0.25, 1) 1s forwards;
}

/* Video */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 44px auto 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow:
    0 30px 80px -20px rgba(226, 50, 63, 0.35),
    0 0 0 1px rgba(226, 50, 63, 0.15);
}

.video-frame--medium {
  max-width: 860px;
}

.video-frame video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
}

.video-frame__unmute {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(158, 14, 31, 0.88);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 6px rgba(226, 50, 63, 0.2);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: unmute-pulse 2.2s ease-in-out infinite;
}

.video-frame__unmute[hidden] {
  display: none;
}

.video-frame__unmute svg {
  width: 20px;
  height: 20px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.stat {
  padding: 30px 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-align: center;
}

.stat__value {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 15px;
}

/* Review badges */
.proof {
  display: grid;
  justify-content: center;
  justify-items: start;
  gap: 12px;
  margin-top: 34px;
}

.proof__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 4px;
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out);
}

.proof__item:hover {
  transform: translateY(-2px);
}

.proof__item:hover .proof__chip {
  box-shadow:
    0 0 0 4px rgba(255, 107, 116, 0.25),
    0 0 28px rgba(226, 50, 63, 0.55);
}

.proof__chip {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.06),
    0 8px 20px -6px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s ease;
}

.proof__chip svg {
  width: 26px;
  height: 26px;
}

.proof__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  text-align: left;
}

.proof__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.proof__stars {
  color: #fbbc04;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(251, 188, 4, 0.55);
}

.proof__meta {
  color: var(--color-muted);
  font-size: 13px;
}

/* Application form */
.apply-card {
  padding: 44px 32px;
  border: 1px solid rgba(226, 50, 63, 0.3);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--color-surface), var(--color-surface-raised));
  box-shadow: 0 30px 90px -30px rgba(226, 50, 63, 0.4);
}

/* Qualification form */
.qform {
  position: relative;
  margin-top: 30px;
  padding: 34px 32px 30px;
  min-height: 380px;
  text-align: left;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #000;
  overflow: hidden;
}

.qform__progress {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.qform__progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--color-accent);
  transition: width 0.4s var(--ease-out);
}

.qform__step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.qform__q {
  padding: 0;
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.qform__options {
  display: grid;
  gap: 10px;
  max-width: 340px;
}

.qform__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.qform__option:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.qform__option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.qform__option:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(226, 50, 63, 0.1);
}

.qform__option:has(input:focus-visible) {
  outline: 2px solid var(--color-accent-soft);
  outline-offset: 2px;
}

.qform__label {
  display: block;
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.qform__input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 16px;
}

.qform__input::placeholder {
  color: var(--color-subtle);
}

.qform__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.qform__next {
  margin-top: 20px;
  padding: 13px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.qform__next:hover {
  background: #f04452;
}

.qform__next:disabled {
  opacity: 0.6;
  cursor: progress;
}

.qform__back {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.qform__back:hover {
  color: var(--color-text);
}

.qform__error {
  min-height: 0;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--color-accent-soft);
}

.qform__error:empty {
  display: none;
}

@media (max-width: 560px) {
  .qform {
    padding: 28px 18px 24px;
  }

  .qform__options {
    max-width: none;
  }
}

/* Reviews: a static grid, replaced by the marquee when scripts run */
.reviews-grid {
  columns: 2 340px;
  column-gap: 18px;
}

.reviews-grid .review-card {
  margin-bottom: 18px;
  break-inside: avoid;
}

.review-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  cursor: zoom-in;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s;
}

.review-card img {
  width: 100%;
  height: auto;
}

.review-card--facebook {
  --review-fade: #26282a;
  background: #26282a;
}

.review-card--google {
  --review-fade: #fff;
  background: #fff;
}

.review-card:hover {
  border-color: rgba(255, 107, 116, 0.5);
  box-shadow:
    0 24px 50px -20px rgba(0, 0, 0, 0.9),
    0 0 40px -10px rgba(226, 50, 63, 0.55);
  transform: translateY(-4px);
}

/* Review marquee */
.marquee {
  --gap: 18px;
  --card-width: 400px;
  --card-height: 250px;

  display: grid;
  gap: var(--gap);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 10px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__row {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.marquee__row:nth-child(even) {
  transform: translateX(-40px);
}

.marquee.is-visible .marquee__row {
  opacity: 1;
  transform: none;
}

.marquee.is-visible .marquee__row:nth-child(2) {
  transition-delay: 0.15s;
}

.marquee__track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: marquee var(--duration, 60s) linear infinite;
  will-change: transform;
}

.marquee__row:nth-child(even) .marquee__track {
  animation-direction: reverse;
}

.marquee:hover .marquee__track,
.marquee.is-paused .marquee__track {
  animation-play-state: paused;
}

.marquee .review-card {
  flex: none;
  width: var(--card-width);
  height: var(--card-height);
}

.marquee .review-card img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.marquee .review-card--short img {
  object-fit: contain;
  object-position: center;
}

/* Fade long screenshots out at the bottom */
.marquee .review-card:not(.review-card--short)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(transparent, var(--review-fade, #fff));
  pointer-events: none;
}

.marquee .review-card::before {
  content: "Read full review";
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.88);
  box-shadow:
    0 0 0 1px rgba(255, 107, 116, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease-out);
}

.marquee .review-card:hover::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .marquee {
    --gap: 14px;
    --card-width: 290px;
    --card-height: 210px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  max-width: min(92vw, 900px);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox[open] {
  animation: lightbox-in 0.35s var(--ease-out);
}

.lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 86vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  transform: scale(1.08);
}

/* Booking: commitment gate and calendar */
.commitment {
  margin-top: 32px;
  text-align: left;
}

.commitment p {
  margin-bottom: 16px;
  font-weight: 600;
}

.commitment__option {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 18px 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.commitment__option:hover {
  border-color: rgba(226, 50, 63, 0.5);
}

.commitment__option:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(226, 50, 63, 0.1);
}

.commitment__option input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
}

.commitment__decline {
  margin-top: 24px;
  color: var(--color-muted);
}

.calendar {
  max-width: 1060px;
  margin: 32px auto 0;
  scroll-margin-top: 16px;
}

.calendar__embed {
  min-width: 300px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* Loaded in the background, revealed when the visitor commits. */
.calendar--locked {
  height: 0;
  margin-top: 0;
  overflow: hidden;
  visibility: hidden;
}

/* Confirmation: YouTube videos (thumbnail first, player loads on tap) */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.yt-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.yt-card__thumb,
.yt-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #000;
}

.yt-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.yt-card:hover .yt-card__thumb img {
  transform: scale(1.03);
}

.yt-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px -8px rgba(226, 50, 63, 0.7);
}

.yt-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.yt-card__time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-weight: 600;
}

.yt-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.yt-card:focus-visible .yt-card__thumb {
  outline: 2px solid var(--color-accent-soft);
  outline-offset: 3px;
}

.yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .yt-grid {
    grid-template-columns: 1fr;
  }
}

/* Confirmation: tips */
.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.tip {
  position: relative;
  padding: 28px 26px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  background: var(--color-surface-raised);
}

.tip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 116, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.tip:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: #141418;
}

.tip:hover::before {
  opacity: 1;
}

.tip:nth-child(2) { --reveal-delay: 0.1s; }
.tip:nth-child(3) { --reveal-delay: 0.2s; }

.tip__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border: 1px solid rgba(226, 50, 63, 0.28);
  border-radius: 10px;
  background: rgba(226, 50, 63, 0.1);
  color: var(--color-accent-soft);
}

.tip__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

.tip__title {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tip p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Confirmation: email steps */
.confirm-steps {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
  text-align: center;
}

.confirm-steps__copy {
  padding: 8px 0 8px 8px;
  text-align: left;
}

.confirm-steps__copy h3 {
  width: fit-content;
  margin: 0 auto 20px;
  font-size: 30px;
  text-align: center;
}

.confirm-steps__copy > p {
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
}

.confirm-steps__copy > p strong {
  color: var(--color-text);
}

.checklist {
  display: grid;
  gap: 16px;
}

.checklist__item {
  position: relative;
  padding-left: 38px;
  color: #d4d4d8;
  font-size: 16px;
  line-height: 1.5;
}

.checklist__item b {
  color: var(--color-text);
}

.checklist__item:nth-child(1) { --i: 0; }
.checklist__item:nth-child(2) { --i: 1; }
.checklist__item:nth-child(3) { --i: 2; }
.checklist__item:nth-child(4) { --i: 3; }

.checklist__mark {
  position: absolute;
  top: -1px;
  left: 0;
  width: 26px;
  height: 26px;
}

.checklist__mark::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 32, 47, 0.45), transparent 68%);
  opacity: 0;
}

.checklist__mark svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transform: scale(0.4) rotate(-30deg);
  filter: drop-shadow(0 3px 8px rgba(142, 13, 27, 0.7));
}

.checklist__tick {
  fill: none;
  stroke: #fff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
}

.is-visible .checklist__mark svg {
  animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.25s + var(--i) * 0.25s) forwards;
}

.is-visible .checklist__tick {
  animation: draw 0.45s var(--ease-out) calc(0.65s + var(--i) * 0.25s) forwards;
}

.is-visible .checklist__mark::before {
  animation: mark-glow 3.4s ease-in-out calc(0.9s + var(--i) * 0.5s) infinite;
}

/* Confirmation: mock mail client */
.mail-window {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(226, 50, 63, 0.18);
  color: #202124;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.mail-window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid #d6d6da;
  background: #e9e9ec;
}

.mail-window__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.mail-window__bar i:nth-child(2) { background: #febc2e; }
.mail-window__bar i:nth-child(3) { background: #28c840; }

.mail-window__bar span {
  flex: 1;
  margin-right: 50px;
  color: #5f6368;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.mail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: #f6f8fc;
}

.mail-menu {
  display: grid;
  gap: 2.5px;
}

.mail-menu b {
  width: 13px;
  height: 2px;
  border-radius: 1px;
  background: #5f6368;
}

.mail-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5f6368;
  font-size: 15px;
}

.mail-search {
  flex: 1;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e9eef6;
  color: #5f6368;
  font-size: 11.5px;
}

.mail-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.mail-body {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 270px;
  background: #f6f8fc;
}

.mail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 8px 12px;
  color: #444746;
}

.mail-sidebar span {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  border-radius: 0 999px 999px 0;
}

.mail-sidebar .is-active {
  background: #d3e3fd;
  color: #001d35;
  font-weight: 600;
}

.mail-sidebar .mail-compose {
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #c2e7ff;
  color: #001d35;
  font-weight: 600;
}

.mail-message {
  position: relative;
  margin: 0 10px 10px 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
}

.mail-subject {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #1f1f1f;
  font-size: 15px;
}

.mail-label {
  padding: 1px 6px;
  border-radius: 4px;
  background: #e8eaed;
  color: #5f6368;
  font-size: 10px;
}

.mail-sender {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
}

.mail-sender b {
  display: block;
  font-size: 12.5px;
}

.mail-sender small {
  color: #5f6368;
  font-size: 11px;
}

.mail-sender__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b0b0d;
}

.mail-sender__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mail-greeting {
  margin-bottom: 12px;
  color: #3c4043;
}

.mail-invite {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dadce0;
  border-radius: 10px;
}

.mail-date {
  flex: none;
  width: 52px;
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 8px;
  text-align: center;
}

.mail-date small {
  display: block;
  padding: 2px 0;
  background: #1a73e8;
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
}

.mail-date b {
  display: block;
  padding-top: 2px;
  font-size: 20px;
  font-weight: 500;
}

.mail-date span {
  display: block;
  padding-bottom: 3px;
  color: #5f6368;
  font-size: 9.5px;
}

.mail-details b {
  display: block;
  font-size: 13px;
}

.mail-details > span {
  display: block;
  margin: 2px 0 8px;
  color: #5f6368;
}

.mail-rsvp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #5f6368;
}

.mail-rsvp span {
  padding: 4px 11px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  color: #1f1f1f;
}

.mail-rsvp .mail-rsvp__yes {
  animation: rsvp-yes 4s ease-in-out 1.6s infinite;
}

.mail-cursor {
  position: absolute;
  top: var(--cursor-y, 84%);
  left: var(--cursor-x, 27%);
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  opacity: 0;
  animation: cursor-click 4s var(--ease-out) 1.6s infinite;
}

.mail-cursor svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  stroke: #202124;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

/* Brand marks used inline */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

/* Responsive */
@media (max-width: 760px) {
  .confirm-steps {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .confirm-steps__copy {
    padding: 0;
  }

  .mail-body {
    grid-template-columns: 1fr;
  }

  .mail-sidebar {
    display: none;
  }

  .mail-message {
    margin: 0 8px 8px;
  }

  .tips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .apply-card {
    padding: 32px 18px;
  }
}

@media (max-width: 560px) {
  .pill {
    gap: 9px;
    padding: 9px 15px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .pill--wrap {
    line-height: 1.4;
    text-align: center;
  }

  .tag {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .halo--button {
    width: 100%;
  }

  .halo--button .pill {
    width: 100%;
    padding: 15px 18px;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    white-space: normal;
  }
}
