/* Ping My Lab - free Palo Alto masterclasses (/palo-alto-masterclass): the sign-up page.
   Loads after css/premium.css. The hero with the sign-up card (the page's one live edge), the two dated classes, the
   class cards, and the "what comes next" card. Tokens only: every colour is a var(--...) from site.css or premium.css,
   so the day theme works without a rule of its own. */

/* ---------- page and hero ---------- */
.pmc-page { position: relative; isolation: isolate; overflow-x: clip; }
.pmc-page b { color: var(--ink); font-weight: 600; }
.pmc-hero { padding-top: clamp(32px, 4.6vw, 64px); padding-bottom: clamp(48px, 6vw, 84px); }
.pmc-hero::after { background: radial-gradient(50% 55% at 82% 4%, var(--pr-glow-teal), transparent 70%), radial-gradient(40% 40% at 6% 60%, var(--pr-glow-blue), transparent 70%); }
/* On a phone the form follows the headline at once and the two dates come after it. From 980px the headline and the
   dates stack on the left, beside the card. */
.pmc-hero .hero-grid { align-items: start; gap: 30px; }
@media (min-width: 980px) {
  .pmc-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 492px);
    grid-template-areas: "intro card" "when card";
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 5vw, 80px);
    row-gap: 0;
  }
  .pmc-intro { grid-area: intro; }
  .pmc-card { grid-area: card; }
  .pmc-when { grid-area: when; margin-top: 36px; }
}

/* ---------- intro (left) ---------- */
.pmc-h1 { margin: 0 0 22px; font-size: clamp(2.5rem, 1.25rem + 3.7vw, 4.25rem); line-height: 1; letter-spacing: -.046em; max-width: 9.6em; text-wrap: balance; }
.pmc-intro .pr-lead { margin-bottom: 0; max-width: 52ch; }
/* On a phone the form must follow the headline at once: the two middle sentences wait (the dates and the class cards
   below say the same in full). */
@media (max-width: 599px) { .pmc-lead-more { display: none; } }

/* The two dates: a calendar leaf, the class and its time. */
.pmc-when .pr-kicker { margin-bottom: 14px; }
.pmc-dates { list-style: none; margin: 0; padding: 0; display: grid; max-width: 620px; border-top: 1px solid var(--pr-hair-2); }
.pmc-date { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--pr-hair); }
.pmc-cal { width: 62px; overflow: hidden; border: 1px solid var(--pr-hair-teal); border-radius: 14px; background: var(--pr-panel); box-shadow: var(--pr-hl); text-align: center; line-height: 1.15; }
.pmc-cal span { display: block; padding: 4px 0; font-family: var(--f-mono); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pmc-cal span:first-child { background: var(--pr-wash-teal-2); color: var(--teal); }
.pmc-cal b { display: block; padding-top: 5px; font-family: var(--f-head); font-size: 1.625rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.pmc-date-k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 3px; font-family: var(--f-mono); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--teal-2); }
.pmc-date-t { margin: 0 0 3px; font-family: var(--f-head); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -.018em; color: var(--ink); text-wrap: balance; }
.pmc-date-s { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; font-size: .9375rem; color: var(--ink-2); }
.pmc-local { color: var(--ink-3); }
.pmc-gulf { display: grid; gap: 0; margin: 18px 0 0; max-width: 620px; }
.pmc-gulf > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding: 9px 0; border-bottom: 1px solid var(--pr-hair); font-size: .9375rem; }
.pmc-gulf dt { color: var(--ink-2); }
.pmc-gulf dd { margin: 0; font-family: var(--f-mono); font-size: .875rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pmc-gulf-k { margin: 22px 0 0; font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.pmc-gulf-k + .pmc-gulf { margin-top: 4px; }
.pmc-when .hero-note { max-width: 56ch; margin-top: 16px; }

/* A class that has been held: its chip shows, and its date goes quiet. */
.pmc-held { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 9px; border: 1px solid var(--pr-hair-2); border-radius: 999px; background: var(--pr-panel-lo); font-family: var(--f-mono); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pmc-held[hidden] { display: none; }
.is-held .pmc-cal { border-color: var(--pr-hair-2); opacity: .6; }
.is-held .pmc-cal span:first-child { background: var(--pr-panel-lo); color: var(--ink-3); }
.is-held .pmc-date-t, .is-held .pmc-date-k { color: var(--ink-3); }

/* ---------- the card (right) ---------- */
.pmc-card { padding: clamp(22px, 3vw, 30px); border-color: var(--pr-hair-2); box-shadow: var(--pr-lift-2), 0 0 120px -50px var(--pr-glow-teal-2); scroll-margin-top: calc(var(--header-h) + 60px); }
.pmc-card > :not(.pr-live-ring) { position: relative; z-index: 1; }
.pmc-card > h2 { font-size: 1.5rem; letter-spacing: -.022em; margin-bottom: 6px; }
.pmc-card > h2:focus { outline: none; }
.pmc-sub { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.pmc-card .notice, .pmc-card .pmc-done { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--pr-hair); }
.pmc-card .notice p { color: var(--ink-2); }
.pmc-card > form { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--pr-hair); }
.pmc-card .field { margin-bottom: 16px; }
.pmc-card .field label .opt, .pmc-group legend .opt { color: var(--ink-3); font-weight: 400; }
.pmc-card .field input[aria-invalid="true"] ~ .hint { display: none; }   /* the error says the same example: one line, not two */
.pmc-actions { display: grid; gap: 10px; }

/* The classes to tick: a fieldset with a legend, and rows as big as a thumb. */
.pmc-group { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.pmc-group legend { display: block; width: 100%; padding: 0; margin: 0 0 8px; color: var(--ink); font-weight: 600; font-size: .9375rem; line-height: 1.45; }
.pmc-group .err { margin: 8px 0 0; font-size: .875rem; color: var(--err); }
.pmc-opts { display: grid; gap: 8px; }
.pmc-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 48px; padding: 11px 14px; border: 1px solid var(--field-line); border-radius: 12px; background: var(--field-bg); color: var(--ink); font-size: .9375rem; line-height: 1.4; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .2s ease; }
.pmc-opt:hover { border-color: var(--field-line-hover); }
.pmc-opt:has(input:checked) { border-color: var(--teal); background: var(--pr-wash-teal); box-shadow: 0 0 0 3px var(--pr-wash-teal); }
.pmc-opt:has(input:focus-visible) { outline: 2px solid var(--pr-focus); outline-offset: 2px; }
.pmc-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); }
.pmc-opt input:focus-visible { outline: none; }
.pmc-opt-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-width: 0; }
.pmc-opt-t b { font-family: var(--f-head); font-weight: 600; letter-spacing: -.01em; }
.pmc-opt-time { font-family: var(--f-mono); font-size: .8125rem; color: var(--teal-2); }
.pmc-opt-t small { flex-basis: 100%; margin-top: 1px; font-size: .8125rem; line-height: 1.4; color: var(--ink-3); }
.pmc-opt-t .pmc-held { align-self: center; }
.pmc-opt.is-held { cursor: default; opacity: .62; }
.pmc-opt.is-held:hover { border-color: var(--field-line); }
.pmc-opt.is-invalid, .pmc-group.is-invalid .pmc-opt:not(.is-held) { border-color: var(--err); }
.pmc-opt--more { align-items: center; margin: 0 0 4px; }
.pmc-opt--more input { margin-top: 0; }

/* The consent box sits under the choices, apart from them. */
.pmc-card .check { margin: 14px 0 4px; padding-top: 16px; border-top: 1px solid var(--pr-hair); }
.pmc-card .check a { color: var(--teal); }
.pmc-consent-err { margin: 0 0 8px; font-size: .875rem; color: var(--err); }
.pmc-card form .btn-block { margin-top: 14px; }
.pmc-card .status .actions { margin-top: 12px; }

/* ---------- "You are in" ---------- */
.pmc-in { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.pmc-in li { position: relative; padding: 13px 14px 13px 46px; border: 1px solid var(--pr-hair-green); border-radius: 14px; background: linear-gradient(135deg, var(--pr-wash-green), transparent 62%), var(--pr-panel); box-shadow: var(--pr-hl); }
.pmc-in li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border: 1px solid var(--pr-hair-green); border-radius: 50%; background: var(--pr-wash-green); }
.pmc-in li::after { content: ""; position: absolute; left: 20px; top: 21px; width: 8px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.pmc-in-d { display: block; font-family: var(--f-head); font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.pmc-in-d span { font-family: var(--f-body, inherit); font-weight: 400; font-size: .9375rem; letter-spacing: 0; color: var(--ink-2); white-space: nowrap; }
.pmc-in-t { display: block; margin-top: 2px; font-size: .875rem; color: var(--ink-2); }
.pmc-in a { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 -9px; font-size: .875rem; font-weight: 600; color: var(--teal); }   /* a 44 px tap row */
.pmc-in li.is-held { border-color: var(--pr-hair-2); background: var(--pr-panel); }
.pmc-in li.is-held::before { border-color: var(--pr-hair-2); background: var(--pr-panel-lo); }
.pmc-in li.is-held::after { border-color: var(--ink-3); }
.pmc-note { margin: 0 0 12px; padding: 13px 15px; border: 1px solid var(--pr-hair-teal); border-radius: 12px; background: var(--pr-wash-teal); color: var(--ink); font-size: .9375rem; line-height: 1.55; }
.pmc-note a { color: var(--teal); font-weight: 600; }
.pmc-mail { margin: 0 0 10px; color: var(--ink-2); font-size: .9375rem; overflow-wrap: anywhere; }
.pmc-after { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--pr-hair); }
.pmc-after h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.pmc-after p { margin: 0 0 14px; color: var(--ink-2); font-size: .9375rem; }

/* ---------- the two classes ---------- */
.pmc-classes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 900px) { .pmc-classes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.pmc-class { padding: clamp(22px, 3vw, 34px); border-color: var(--pr-hair-2); }
.pmc-class-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; font-family: var(--f-mono); font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.pmc-class h3 { margin: 0 0 12px; font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.pmc-class-lead { margin: 0 0 20px; color: var(--ink-2); max-width: 46ch; }
.pmc-terms { margin: 0; display: grid; border-top: 1px solid var(--pr-hair-2); }
.pmc-terms > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--pr-hair); }
.pmc-terms > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pmc-terms dt { font-family: var(--f-mono); font-size: .875rem; font-weight: 700; letter-spacing: .01em; color: var(--teal); }
.pmc-terms dd { margin: 0; color: var(--ink-2); line-height: 1.55; }
@media (min-width: 560px) {
  .pmc-terms > div { grid-template-columns: 9.25rem minmax(0, 1fr); gap: 18px; align-items: baseline; }
}
.pmc-class.is-held { border-color: var(--pr-hair); }
.pmc-class.is-held .pr-chip { --pr-led: var(--ink-3); --pr-led-glow: transparent; color: var(--ink-3); border-color: var(--pr-hair-2); background: var(--pr-btn-glass); }

/* The line under the two cards: one sentence and the button. */
.pmc-mid { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 22px; border: 1px solid var(--pr-hair-teal); border-radius: var(--pr-r-l); background: linear-gradient(90deg, var(--pr-wash-teal-2), transparent 70%), var(--pr-panel); box-shadow: var(--pr-hl); }
.pmc-mid p { margin: 0; max-width: 30em; color: var(--ink); font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; }
.pmc-mid[hidden] { display: none; }

/* ---------- who it is for ---------- */
.pmc-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; align-items: start; }
@media (min-width: 900px) {
  .pmc-two { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); }
  .pmc-two .pr-head { margin-bottom: 0; }
}
.pmc-ticks { margin: 0; padding: 4px 22px; gap: 0; border: 1px solid var(--pr-hair-2); border-radius: var(--pr-r-l); background: linear-gradient(180deg, var(--pr-panel-hi), var(--pr-panel)); box-shadow: var(--pr-lift); }
.pmc-ticks li { padding: 15px 0 15px 34px; border-top: 1px solid var(--pr-hair); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.pmc-ticks li:first-child { border-top: 0; }
.pmc-ticks li::before { left: 3px; top: calc(15px + .5em); border-color: var(--green); }

/* ---------- how it works ---------- */
.pmc-steps h3 { font-size: 1.1875rem; }
@media (min-width: 800px) {
  .pmc-steps.pr-timeline--h { gap: clamp(22px, 2.6vw, 40px); }
  .pmc-steps.pr-timeline--h .pr-tl::before { right: calc(-1 * clamp(10px, 1.6vw, 28px)); }
}

/* ---------- what comes next ---------- */
.pmc-next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(24px, 4vw, 48px); border-color: var(--pr-hair-2); }
@media (min-width: 900px) { .pmc-next { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; } }
.pmc-next .pr-h2 { margin-bottom: 14px; }
.pmc-next .pr-lead { margin: 0 0 26px; max-width: 44ch; }
.pmc-facts { margin: 0; display: grid; border: 1px solid var(--pr-hair-2); border-radius: var(--pr-r); background: var(--pr-panel-lo); box-shadow: var(--pr-hl); }
.pmc-facts > div { padding: 14px 18px; border-bottom: 1px solid var(--pr-hair); }
.pmc-facts > div:last-child { border-bottom: 0; }
.pmc-facts dt { font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.pmc-facts dd { margin: 3px 0 0; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.012em; color: var(--ink); }

/* ---------- talk to Radhe ---------- */
.pmc-talk .pr-cta { text-align: center; }
.pmc-talk .pr-cta::before { background: radial-gradient(60% 90% at 50% 0%, var(--pr-glow-teal), transparent 66%), radial-gradient(50% 80% at 50% 100%, var(--pr-wash-green), transparent 70%); }
.pmc-talk .pr-cta h2 { margin: 0 auto 14px; }
.pmc-talk .pr-cta p { margin: 0 auto; max-width: 54ch; }
.pmc-talk .pr-cta .btn-row { justify-content: center; }
[data-pmc-open][hidden] { display: none; }

@media (max-width: 520px) {
  .pmc-mid .btn, .pmc-talk .pr-cta .btn, .pmc-next .btn { width: 100%; }
  .pmc-gulf > div { display: grid; justify-content: start; gap: 2px; }
  .pmc-date { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  .pmc-cal { width: 54px; }
  .pmc-cal b { font-size: 1.375rem; }
}
