:root {
  color-scheme: light;
  --accent: #1890ff;
  --footer: rgb(64, 80, 104);
  --secondary: #15517b;
  --secondary-rgb: 21, 81, 123;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fff;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
}

.vsl-section {
  padding: 20px 16px 35px;
  margin-bottom: 150px;
}

.video-column {
  width: min(100%, 400px);
  margin: 0 auto;
}

.video-headline {
  margin: 0 0 24px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.44;
  letter-spacing: 1px;
}

.video-headline .eyebrow {
  display: inline;
  margin: 0;
  color: #f00000;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.video-headline h1 {
  margin: 23px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.44;
}

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
}

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

.video-progress {
  position: absolute;
  z-index: 6;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  overflow: hidden;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(8, 15, 25, 0.82);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.video-progress__fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background-image:
    linear-gradient(110deg, transparent 0 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%),
    linear-gradient(90deg, #6ea91c, #a9de35 68%, #ddff91);
  background-repeat: repeat-x, no-repeat;
  background-size: 42px 100%, 100% 100%;
  box-shadow: 0 0 15px rgba(185, 235, 76, 0.95);
  animation: progress-flow 2.4s linear infinite;
  transition: width 1.15s linear;
}

.video-progress__fill::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 3px rgba(221, 255, 145, 0.95);
  content: "";
  opacity: 0;
  transform: translate(1px, -50%);
}

.player.is-started .video-progress__fill::after {
  opacity: 1;
  animation: progress-tip-pulse 1.5s ease-in-out infinite;
}

@keyframes progress-flow {
  to { background-position: 42px 0, 0 0; }
}

@keyframes progress-tip-pulse {
  50% { opacity: 0.58; transform: translate(1px, -50%) scale(0.78); }
}

.start-overlay {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  place-items: center;
  border: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.22));
  color: #fff;
  cursor: pointer;
}

.start-overlay[hidden] {
  display: none;
}

.start-card {
  display: grid;
  width: min(76%, 305px);
  min-height: 210px;
  padding: 22px 20px 20px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  background: rgba(10, 81, 132, 0.82);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.start-label,
.start-subline {
  font-size: clamp(18px, 5.2vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.play-icon {
  width: 76px;
  height: 76px;
  margin: 12px 0;
}

.play-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.play-icon circle {
  fill: rgba(255, 255, 255, 0.12);
  stroke: #fff;
  stroke-width: 3;
}

.play-icon path {
  fill: #fff;
}

.tap-control {
  position: absolute;
  z-index: 3;
  inset: 0 0 14px;
  display: none;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.player.is-started .tap-control {
  display: block;
}

.player.is-paused .tap-control::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(24, 144, 255, 0.88);
  color: #fff;
  content: "▶";
  font-size: 31px;
  line-height: 68px;
  text-align: center;
  transform: translate(-50%, -50%);
  text-indent: 5px;
}

.resume-card {
  position: fixed;
  z-index: 20;
  inset: 0;
  width: min(92vw, 420px);
  height: fit-content;
  margin: auto;
  padding: 28px 24px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.resume-card::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  content: "";
}

.resume-card strong {
  display: block;
  font-size: 23px;
}

.resume-card p {
  margin: 10px 0 20px;
  color: #4b5563;
  font-size: 15px;
}

.resume-card div {
  display: grid;
  gap: 9px;
}

.resume-card button {
  min-height: 45px;
  border: 0;
  border-radius: 7px;
  background: #99cc33;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.resume-card button + button {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #1f2937;
}

.contact-cta[hidden],
.contact-modal[hidden],
.form-error[hidden] {
  display: none;
}

.contact-cta {
  margin: 28px auto 0;
  padding: 28px 18px 24px;
  border: 1px solid #dfe9cc;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(155, 207, 56, 0.17), transparent 38%),
    #fbfdf7;
  text-align: center;
  box-shadow: 0 15px 40px rgba(37, 57, 12, 0.13);
}

.contact-cta .availability-kicker {
  margin: 0 0 7px;
  color: #6f941f;
  font: 800 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.18;
}

.contact-cta h2 strong {
  color: #7fae23;
}

.contact-cta .availability-copy {
  margin: 10px auto 20px;
  max-width: 330px;
  color: #596273;
  font-size: 13px;
  line-height: 1.5;
}

.availability-spots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px 8px;
  margin: 0 0 24px;
}

.availability-spot {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 6px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.availability-spot__avatar {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid #a9cb67;
  border-radius: 50%;
  background: linear-gradient(145deg, #ecf7d9, #a7ce61);
  color: #527416;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 12px rgba(82, 116, 22, 0.13);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.availability-spot__avatar svg {
  width: 25px;
  fill: currentColor;
}

.availability-spot__status {
  overflow: hidden;
  max-width: 100%;
  color: #527416;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.availability-spot.is-taken {
  opacity: 0.63;
  transform: scale(0.93);
}

.availability-spot.is-taken .availability-spot__avatar {
  animation: spot-claimed 0.5s ease both;
}

.availability-spot.is-taken .availability-spot__avatar {
  border-color: #c7cbd1;
  background: linear-gradient(145deg, #eceef0, #aeb4ba);
  color: #60666c;
  filter: grayscale(1);
}

.availability-spot.is-taken .availability-spot__avatar::after {
  position: absolute;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: #747a80;
  content: "";
  transform: rotate(-38deg);
}

.availability-spot.is-taken .availability-spot__status {
  color: #747a80;
}

.availability-spot--yours .availability-spot__avatar {
  animation: last-spot-pulse 1.6s ease-in-out infinite;
}

.availability-spot--yours.is-last .availability-spot__avatar {
  border-color: #7fae23;
  background: linear-gradient(145deg, #f2fbdf, #9bd036);
  box-shadow: 0 0 0 5px rgba(143, 189, 45, 0.15), 0 6px 18px rgba(82, 116, 22, 0.25);
}

@keyframes last-spot-pulse {
  50% { transform: scale(1.06); }
}

@keyframes spot-claimed {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

.contact-cta.has-last-spot h2 {
  animation: final-urgency 0.55s ease both;
}

@keyframes final-urgency {
  50% { transform: scale(1.045); }
}

.contact-cta button,
.form-submit {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: #8fbd2d;
  color: #fff;
  font: 700 16px/1.2 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 5px 0 #6f941f;
  transition: transform 0.15s ease, background 0.15s ease;
}

.contact-cta button:hover,
.form-submit:hover {
  background: #7fad24;
  transform: translateY(-1px);
}

.contact-cta button:disabled {
  background: #aeb6a1;
  box-shadow: 0 5px 0 #858d79;
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.contact-cta .availability-note {
  margin: 13px 0 0;
  color: #717784;
  font-size: 11px;
}

.contact-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 24px 14px;
  place-items: center;
}

.contact-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 25, 0.72);
  backdrop-filter: blur(3px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 30px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.contact-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #596273;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__eyebrow {
  margin: 0 0 6px;
  color: #70961f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-modal h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.2;
}

.contact-modal__intro {
  margin: 10px 0 22px;
  color: #596273;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
}

.form-row input {
  width: 100%;
  height: 47px;
  padding: 10px 12px;
  border: 1px solid #bbc3ce;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font: 16px Arial, sans-serif;
}

.form-row input:focus {
  border-color: #79a722;
  outline: 3px solid rgba(143, 189, 45, 0.18);
}

.form-row input[aria-invalid="true"] {
  border-color: #c92f2f;
}

.field-error {
  min-height: 0;
  color: #b42318;
  font-size: 12px;
}

.field-error:empty {
  display: none;
}

.form-error {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #e6a2a2;
  border-radius: 7px;
  background: #fff1f1;
  color: #8c1d18;
  font-size: 13px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-privacy {
  margin: 0;
  color: #717784;
  font-size: 11px;
  text-align: center;
}

/* Step 2: schedule the call */
.schedule-step[hidden],
.schedule-summary[hidden] {
  display: none;
}

.contact-modal__dialog.is-scheduling > :not(.schedule-step):not(.contact-modal__close) {
  display: none;
}

.schedule-step {
  animation: schedule-in 0.3s ease both;
}

@keyframes schedule-in {
  from { opacity: 0; transform: translateY(8px); }
}

.schedule-calendar {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(var(--secondary-rgb), 0.18);
  border-radius: 12px;
  background: rgba(var(--secondary-rgb), 0.05);
}

.schedule-calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.schedule-month {
  color: var(--secondary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: capitalize;
}

.schedule-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(var(--secondary-rgb), 0.3);
  border-radius: 7px;
  background: #fff;
  color: var(--secondary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.schedule-nav:hover:not(:disabled) {
  border-color: rgba(var(--secondary-rgb), 0.6);
  background: rgba(var(--secondary-rgb), 0.08);
}

.schedule-nav:disabled {
  cursor: default;
  opacity: 0.35;
}

.schedule-weekdays,
.schedule-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.schedule-weekdays div {
  padding-bottom: 4px;
  color: rgba(var(--secondary-rgb), 0.65);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.schedule-day {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #111827;
  font: 14px Arial, sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.schedule-day:hover:not(:disabled) {
  border-color: rgba(var(--secondary-rgb), 0.5);
  background: rgba(var(--secondary-rgb), 0.08);
}

.schedule-day.is-today {
  border-color: rgba(var(--secondary-rgb), 0.4);
}

.schedule-day.is-selected {
  border-color: #7fae23;
  background: #8fbd2d;
  color: #fff;
  font-weight: 700;
}

.schedule-day:disabled {
  color: rgba(var(--secondary-rgb), 0.25);
  cursor: default;
}

.schedule-times-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.schedule-times-label span {
  color: rgba(var(--secondary-rgb), 0.7);
  font-weight: 400;
}

.schedule-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.schedule-time {
  min-height: 42px;
  padding: 6px 0;
  border: 1px solid rgba(var(--secondary-rgb), 0.28);
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font: 700 14px/1.1 Arial, sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.schedule-time:hover:not(:disabled) {
  border-color: rgba(var(--secondary-rgb), 0.6);
  background: rgba(var(--secondary-rgb), 0.06);
}

.schedule-time.is-selected {
  border-color: #7fae23;
  background: #8fbd2d;
  color: #fff;
  box-shadow: 0 3px 0 #6f941f;
}

.schedule-time.is-busy {
  border-color: rgba(var(--secondary-rgb), 0.1);
  background: rgba(var(--secondary-rgb), 0.06);
  color: rgba(var(--secondary-rgb), 0.4);
  cursor: not-allowed;
}

.schedule-time__busy {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-summary {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--secondary-rgb), 0.2);
  border-radius: 7px;
  background: rgba(var(--secondary-rgb), 0.07);
  color: rgba(var(--secondary-rgb), 0.85);
  font-size: 13px;
  text-align: center;
}

.schedule-summary strong {
  color: var(--secondary);
}

.schedule-step .form-submit {
  margin-bottom: 12px;
}

.schedule-step .form-submit:disabled {
  background: #aeb6a1;
  box-shadow: 0 5px 0 #858d79;
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.iti {
  width: 100%;
}

.iti__country-list {
  z-index: 120;
  width: min(390px, calc(100vw - 56px));
  max-height: 210px;
}

.legal-footer {
  width: min(100% - 32px, 970px);
  margin: 0 auto;
  padding: 35px 0;
  color: var(--footer);
  font-family: Abel, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.legal-footer p {
  margin: 0 0 12px;
}

.legal-footer .legal-title {
  margin-bottom: 13px;
}

.legal-footer nav {
  margin-top: 14px;
}

.legal-footer a {
  color: rgb(50, 47, 47);
  text-decoration: underline;
}

.success-page {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
  background: linear-gradient(145deg, #f9fcec, #fff 55%);
}

.success-card {
  width: min(100%, 520px);
  padding: 46px 32px;
  border: 1px solid #e1e9d3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(43, 64, 16, 0.13);
  text-align: center;
}

.success-check {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #8fbd2d;
  color: #fff;
  font-size: 38px;
}

.success-eyebrow {
  margin: 0 0 8px;
  color: #70961f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.success-card p:not(.success-eyebrow) {
  margin: 14px 0 26px;
  color: #596273;
  font-size: 17px;
}

.success-card a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 7px;
  background: #8fbd2d;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991px) {
  .vsl-section {
    margin-bottom: 100px;
  }

  .legal-footer {
    width: min(100% - 24px, 970px);
    font-size: 12px;
  }
}

@media (max-width: 450px) {
  .vsl-section {
    padding-right: 0;
    padding-left: 0;
  }

  .video-headline {
    padding: 0 14px;
  }

  .video-headline h1 {
    font-size: 21px;
  }

  .player {
    width: 100%;
  }

  .contact-cta {
    width: calc(100% - 28px);
  }

  .contact-modal__dialog {
    padding: 26px 18px 22px;
  }

  .schedule-calendar {
    padding: 10px;
  }

  .schedule-times {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
