/* OMAC custom Zen Planner free-trial experience.
   Brand continuity deliberately retains the established Montserrat family. */
:root {
  --trial-navy: #021b5d;
  --trial-navy-2: #0a286b;
  --trial-red: #ed0b14;
  --trial-green: #159557;
  --trial-ink: #111827;
  --trial-muted: #667085;
  --trial-line: #dfe3ea;
  --trial-soft: #f5f7fa;
  --trial-white: #fff;
  --trial-radius: 10px;
}

.free-trial-app {
  background: var(--trial-soft);
  color: var(--trial-ink);
  font-weight: 400;
}

.trial-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    linear-gradient(105deg, rgba(2, 27, 93, .98) 0%, rgba(2, 27, 93, .91) 58%, rgba(2, 27, 93, .52) 100%),
    url('otc-top-rotators-ninjas.jpg') center 42% / cover no-repeat;
  color: var(--trial-white);
}

.trial-hero::after {
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
  content: '';
}

.trial-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 72px;
}

.trial-hero__copy { max-width: 760px; }

.trial-eyebrow,
.trial-step {
  margin: 0;
  color: var(--trial-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trial-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.trial-eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #46d38b;
  box-shadow: 0 0 0 5px rgba(70, 211, 139, .16);
}

.trial-hero h1 {
  margin: 16px 0 20px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 600;
  letter-spacing: -.048em;
  line-height: .98;
}

.trial-hero__lede {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.65;
}

.trial-assurance {
  display: grid;
  gap: 1px;
  min-width: 180px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 12px;
  background: rgba(255, 255, 255, .17);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .16);
}

.trial-assurance div {
  padding: 15px 18px;
  background: rgba(1, 18, 65, .78);
  backdrop-filter: blur(12px);
}

.trial-assurance strong,
.trial-assurance span { display: block; }
.trial-assurance strong { color: #fff; font-size: 14px; font-weight: 600; }
.trial-assurance span { margin-top: 2px; color: rgba(255, 255, 255, .6); font-size: 11px; }

.trial-workspace { padding: 56px 0 74px; }

.trial-workspace__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
  gap: 28px;
}

.class-browser,
.booking-panel {
  border: 1px solid var(--trial-line);
  border-radius: 14px;
  background: var(--trial-white);
  box-shadow: 0 18px 44px rgba(10, 26, 63, .06);
}

.class-browser { min-width: 0; padding: 30px; }
.booking-panel { position: sticky; top: 24px; padding: 30px; }

.trial-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--trial-line);
}

.trial-section-head h2 {
  margin: 6px 0 0;
  color: var(--trial-navy);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.trial-section-head > p {
  max-width: 220px;
  margin: 0;
  color: var(--trial-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.class-filters {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.program-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.program-filter button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--trial-line);
  border-radius: var(--trial-radius);
  color: #344054;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.program-filter button:hover { border-color: #9aa9c5; }
.program-filter button[aria-pressed='true'] {
  border-color: var(--trial-navy);
  color: #fff;
  background: var(--trial-navy);
}

.date-filter { min-width: 160px; }
.date-filter span {
  display: block;
  margin: 0 0 6px;
  color: var(--trial-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.date-filter input {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--trial-line);
  border-radius: var(--trial-radius);
  color: #344054;
  background: #fff;
  font-size: 12px;
}

.class-browser__status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--trial-muted);
  font-size: 12px;
}
.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--trial-green);
  box-shadow: 0 0 0 4px rgba(21, 149, 87, .11);
}

.class-list { display: grid; gap: 10px; }
.class-option {
  position: relative;
  width: 100%;
  min-height: 92px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--trial-line);
  border-radius: 12px;
  color: var(--trial-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.class-option::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: transparent;
  content: '';
}
.class-option:hover {
  border-color: #a8b4c9;
  box-shadow: 0 9px 24px rgba(2, 27, 93, .07);
  transform: translateY(-1px);
}
.class-option[aria-pressed='true'] {
  border-color: var(--trial-navy);
  box-shadow: 0 0 0 2px rgba(2, 27, 93, .09), 0 12px 28px rgba(2, 27, 93, .09);
}
.class-option[aria-pressed='true']::before { background: var(--trial-red); }

.class-option__date {
  width: 64px;
  height: 64px;
  display: grid;
  place-content: center;
  border-radius: 10px;
  color: var(--trial-navy);
  background: #eef2f9;
  text-align: center;
}
.class-option__date span,
.class-option__date strong { display: block; }
.class-option__date span { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.class-option__date strong { margin-top: 1px; font-size: 23px; font-weight: 600; line-height: 1; }

.class-option__content { min-width: 0; }
.class-option__content strong {
  display: block;
  overflow: hidden;
  color: var(--trial-navy);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.class-option__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-top: 7px;
  color: var(--trial-muted);
  font-size: 11px;
}
.class-option__meta span { display: inline-flex; align-items: center; gap: 5px; }

.class-option__spots {
  min-width: 78px;
  color: var(--trial-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-align: right;
  text-transform: uppercase;
}
.class-option__spots i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}

.class-load-more {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid var(--trial-line);
  border-radius: var(--trial-radius);
  color: var(--trial-navy);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.class-load-more:hover { border-color: var(--trial-navy); background: #f8faff; }

.class-skeleton {
  min-height: 92px;
  padding: 14px;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px 16px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
}
.class-skeleton i,
.class-skeleton span {
  border-radius: 7px;
  background: linear-gradient(90deg, #eef1f5 20%, #f7f8fa 50%, #eef1f5 80%);
  background-size: 240% 100%;
  animation: trial-shimmer 1.4s linear infinite;
}
.class-skeleton i { grid-row: 1 / 3; }
.class-skeleton span:first-of-type { width: 70%; }
.class-skeleton span:last-child { width: 44%; }
@keyframes trial-shimmer { to { background-position: -240% 0; } }

.class-empty {
  padding: 36px 20px;
  border: 1px dashed #cdd3dd;
  border-radius: 12px;
  color: var(--trial-muted);
  background: #fafbfc;
  text-align: center;
}
.class-empty strong,
.class-empty span { display: block; }
.class-empty strong { color: var(--trial-ink); font-size: 14px; }
.class-empty span { margin-top: 5px; font-size: 12px; }

.booking-panel__head { padding-bottom: 20px; }
.selected-class {
  min-height: 76px;
  margin: 20px 0 22px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #cfd8e9;
  border-radius: 12px;
  background: #f3f6fb;
}
.selected-class__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--trial-navy);
  font-size: 18px;
}
.selected-class strong,
.selected-class span { display: block; }
.selected-class strong { color: var(--trial-navy); font-size: 13px; font-weight: 600; }
.selected-class span { margin-top: 3px; color: var(--trial-muted); font-size: 10px; line-height: 1.4; }
.selected-class .selected-class__icon {
  margin-top: 0;
  display: grid;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
.selected-class--empty { border-style: dashed; background: #fafbfc; }
.selected-class--empty .selected-class__icon { color: #8993a4; background: #e7eaf0; }

.trial-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trial-form__wide { grid-column: 1 / -1; }
.floating-field { position: relative; }
.floating-field input {
  width: 100%;
  height: 58px;
  padding: 21px 14px 8px;
  border: 1px solid #cfd5df;
  border-radius: var(--trial-radius);
  outline: 0;
  color: var(--trial-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.floating-field label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  transform-origin: left top;
  color: #7b8493;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  transition: top .16s ease, transform .16s ease, color .16s ease;
}
.floating-field input[type='date'] { padding-top: 23px; }
.floating-field input[type='date'] + label {
  top: 9px;
  transform: translateY(0) scale(.82);
  color: var(--trial-navy);
}
.floating-field input:focus,
.floating-field input:not(:placeholder-shown),
.floating-field input[type='date']:valid { padding-top: 23px; }
.floating-field input:focus + label,
.floating-field input:not(:placeholder-shown) + label,
.floating-field input[type='date']:valid + label {
  top: 9px;
  transform: translateY(0) scale(.82);
  color: var(--trial-navy);
}
.floating-field input:focus {
  border-color: var(--trial-navy);
  box-shadow: 0 0 0 3px rgba(2, 27, 93, .10);
}
.floating-field input:disabled { color: #98a0ad; background: #f3f4f6; cursor: not-allowed; }
.floating-field input[aria-invalid='true'] { border-color: var(--trial-red); box-shadow: 0 0 0 3px rgba(237, 11, 20, .08); }

.guardian-fields {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  background: #f7f9fc;
}
.guardian-fields legend {
  padding: 0 6px;
  color: var(--trial-navy);
  font-size: 13px;
  font-weight: 700;
}
.guardian-fields > p { margin: -2px 0 13px; color: var(--trial-muted); font-size: 11px; }

.consent-field {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #4c5667;
  font-size: 10px;
  line-height: 1.5;
  cursor: pointer;
}
.consent-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--trial-navy);
}
.consent-field input:disabled { cursor: not-allowed; }

.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.trial-form__error {
  margin-top: 14px;
  padding: 11px 12px;
  border-left: 3px solid var(--trial-red);
  border-radius: 7px;
  color: #8a1017;
  background: #fff2f3;
  font-size: 11px;
  line-height: 1.45;
}

.trial-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  padding: 0 10px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: var(--trial-radius);
  color: #fff;
  background: var(--trial-red);
  box-shadow: 0 12px 24px rgba(237, 11, 20, .18);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.trial-submit i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  font-size: 18px;
  font-style: normal;
}
.trial-submit:hover:not(:disabled) { background: #c90810; box-shadow: 0 15px 30px rgba(237, 11, 20, .25); transform: translateY(-1px); }
.trial-submit:disabled { box-shadow: none; opacity: .44; cursor: not-allowed; }
.trial-submit.is-loading i { animation: trial-submit-pulse .8s ease-in-out infinite alternate; }
@keyframes trial-submit-pulse { to { opacity: .35; transform: translateX(3px); } }

.trial-form__footnote { margin: 10px 0 0; color: #8a93a2; font-size: 9px; line-height: 1.5; text-align: center; }

.trial-help { padding: 58px 0; color: #fff; background: var(--trial-navy); }
.trial-help__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.trial-help h2 { margin: 7px 0 5px; color: #fff; font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.trial-help p:not(.trial-step) { margin: 0; color: rgba(255, 255, 255, .68); font-size: 13px; }
.trial-help a {
  min-height: 52px;
  padding: 0 10px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: var(--trial-radius);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.trial-help a span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: var(--trial-navy); }

.trial-fallback { padding: 28px 0 60px; background: var(--trial-soft); }
.trial-fallback details { border: 1px solid var(--trial-line); border-radius: 12px; background: #fff; }
.trial-fallback summary { padding: 16px 18px; color: var(--trial-navy); font-size: 12px; font-weight: 600; cursor: pointer; }
.trial-fallback details > p { margin: 0; padding: 0 18px 18px; color: var(--trial-muted); font-size: 11px; }
.trial-fallback__widget { min-height: 900px; padding: 0 18px 18px; }
.trial-fallback__widget .zen-widget-shell,
.trial-fallback__widget iframe { width: 100% !important; min-height: 900px; border: 0 !important; }

/* Thank-you page */
.trial-confirmation { min-height: 650px; padding: 90px 0; background: #f5f7fa; }
.trial-confirmation__card { max-width: 780px; margin: 0 auto; padding: 52px; border: 1px solid var(--trial-line); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(2, 27, 93, .09); text-align: center; }
.trial-confirmation__mark { width: 64px; height: 64px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--trial-green); font-size: 28px; }
.trial-confirmation h1 { margin: 0; color: var(--trial-navy); font-size: 48px; font-weight: 600; letter-spacing: -.04em; }
.trial-confirmation__lede { max-width: 570px; margin: 17px auto 28px; color: var(--trial-muted); font-size: 16px; line-height: 1.65; }
.trial-confirmation__session { margin: 0 auto 26px; padding: 16px; border: 1px solid #d8dfeb; border-radius: 12px; background: #f5f8fc; }
.trial-confirmation__session strong,
.trial-confirmation__session span { display: block; }
.trial-confirmation__session strong { color: var(--trial-navy); font-size: 15px; }
.trial-confirmation__session span { margin-top: 5px; color: var(--trial-muted); font-size: 12px; }
.trial-confirmation__actions { display: flex; justify-content: center; gap: 10px; }
.trial-confirmation__actions a { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid var(--trial-navy); border-radius: var(--trial-radius); color: var(--trial-navy); font-size: 12px; font-weight: 600; text-decoration: none; }
.trial-confirmation__actions a:first-child { color: #fff; background: var(--trial-navy); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible { outline: 3px solid rgba(237, 11, 20, .28); outline-offset: 2px; }

@media (max-width: 980px) {
  .trial-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .trial-assurance { grid-template-columns: repeat(3, 1fr); min-width: 0; }
  .trial-workspace__grid { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
}

@media (max-width: 760px) {
  .trial-hero { padding: 54px 0 48px; background-position: 35% center; }
  .trial-hero__inner { gap: 28px; }
  .trial-hero h1 { margin-top: 14px; font-size: 46px; }
  .trial-hero__lede { font-size: 14px; }
  .trial-assurance { grid-template-columns: 1fr; }
  .trial-workspace { padding: 20px 0 44px; }
  .trial-workspace__grid { width: min(100% - 20px, var(--container)); gap: 14px; }
  .class-browser,
  .booking-panel { padding: 20px; border-radius: 12px; }
  .trial-section-head { display: block; }
  .trial-section-head > p { max-width: none; margin-top: 8px; text-align: left; }
  .trial-section-head h2 { font-size: 26px; }
  .class-filters { align-items: stretch; flex-direction: column; }
  .date-filter { min-width: 0; }
  .class-option { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .class-option__date { width: 56px; height: 56px; }
  .class-option__spots { grid-column: 2; min-width: 0; text-align: left; }
  .trial-form__grid { grid-template-columns: 1fr; }
  .trial-form__wide { grid-column: auto; }
  .trial-help__inner { align-items: flex-start; flex-direction: column; }
  .trial-help h2 { font-size: 30px; }
  .trial-fallback__widget { min-height: 980px; padding: 0 8px 8px; }
  .trial-fallback__widget .zen-widget-shell,
  .trial-fallback__widget iframe { min-height: 980px; }
  .trial-confirmation { padding: 28px 10px 55px; }
  .trial-confirmation__card { padding: 34px 20px; }
  .trial-confirmation h1 { font-size: 38px; }
  .trial-confirmation__actions { align-items: stretch; flex-direction: column; }
  .trial-confirmation__actions a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .class-skeleton i,
  .class-skeleton span,
  .trial-submit.is-loading i { animation: none; }
  .class-option,
  .trial-submit,
  .floating-field input,
  .floating-field label { transition: none; }
}
