/* ============================================================
   AI60 section, matching the AI60 entry section on beyondz.ai and the AI60
   site: grey canvas with soft yellow/slate glows, "One hour." highlight, the
   "Two calls. One catalog." panel with the clock, then the catalog and price
   cards. Self-contained: every class is prefixed `a60-` and fonts/colours are
   set here, so the section looks the same whatever site hosts it.
   ============================================================ */
.a60 {
  --a60-yellow: #fff200;
  --a60-cta: #fff100;
  --a60-ink: #1a1a1a;
  --a60-text: #292929;
  --a60-slate: #495158;
  --a60-poppins: "Poppins", sans-serif;
  --a60-mulish: "Mulish", sans-serif;
  --a60-lexend: "Lexend", sans-serif;
  --a60-heebo: "Heebo", sans-serif;

  position: relative;
  overflow: hidden;
  background: #f1f1f1;
  font-family: var(--a60-lexend);
  color: var(--a60-text);
}

.a60 *,
.a60 *::before,
.a60 *::after {
  box-sizing: border-box;
}

:where(.a60) img {
  display: block;
  max-width: none;
}

/* Blurred yellow / slate glows */
.a60-backdrop {
  position: absolute;
  top: -1632px;
  left: calc(50% - 1743px);
  width: 3042px;
  height: 4720px;
  pointer-events: none;
}

.a60-wrap {
  position: relative;
  max-width: 1299px;
  margin: 0 auto;
  padding: clamp(64px, 12vw, 183px) 20px clamp(80px, 9vw, 132px);
}

.a60-mark {
  background: var(--a60-yellow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Intro ------------------------------------------------------------------ */

.a60-intro {
  position: relative;
}

/* Outlined "AI60" behind the panel */
.a60-outline {
  position: absolute;
  top: 250.7px;
  left: 566.5px;
  width: 832px;
  height: 297px;
  pointer-events: none;
  user-select: none;
}

.a60-tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--a60-mulish);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.82px;
  text-transform: uppercase;
  color: #666;
}

.a60-tag img {
  width: 92.4px;
  height: auto;
}

.a60-title {
  position: relative;
  margin: 38px 0 0;
  font-family: var(--a60-poppins);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.48px;
  color: var(--a60-ink);
}

.a60-title .a60-mark {
  display: inline-block;
  padding-right: 4px;
}

.a60-pitch {
  position: relative;
  max-width: 586px;
  margin: 14px 0 0;
  font-family: var(--a60-mulish);
  font-size: 18px;
  line-height: 29.7px;
  color: #5a667e;
}

/* Panel: Two calls. One catalog. ----------------------------------------- */

.a60-panel {
  position: relative;
  margin-top: clamp(64px, 13.5vw, 194px);
  padding: 52px 64px 34px 77px;
  border-radius: 41px;
  background: linear-gradient(90deg, #f8f6f4 25.4%, #58656f 99.1%);
}

/* Static clock, swapped for the Lottie once it has drawn */
.a60-clock {
  position: absolute;
  top: 108px;
  left: 57.35%;
  width: 36.4%;
  aspect-ratio: 458.362 / 521.798;
  pointer-events: none;
}

.a60-clock > img {
  width: 100%;
  height: 100%;
}

/* The Lottie canvas is 1440×1440 with the clock at 974 wide, offset (242, 97.5) */
.a60-clock-lottie {
  position: absolute;
  top: calc(-97.5 / 974 * 100%);
  left: calc(-242 / 974 * 100%);
  width: calc(1440 / 974 * 100%);
  aspect-ratio: 1;
}

.a60-clock.is-animated > img {
  visibility: hidden;
}

.a60-panel-title {
  position: relative;
  margin: 0 0 31px -13px;
  font-family: var(--a60-lexend);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--a60-text);
}

.a60-panel-title .a60-mark {
  padding: 2px 6px 6px;
}

.a60-steps {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a60-step {
  position: relative;
  height: 147px;
}

.a60-step-card {
  position: relative;
  height: 100%;
  padding: 20px 0 0 56px;
}

/* Card outlines include their drop shadow, so they bleed past the box */
.a60-shape {
  position: absolute;
  top: -8.1px;
  left: -12.1px;
  width: calc(100% + 24.2px);
  height: calc(100% + 24.2px);
}

.a60-step:nth-child(1) {
  width: calc((100% + 141px) * 0.575);
  --copy: 442px;
  --gap: 31px;
}

.a60-step:nth-child(2) {
  width: calc((100% + 141px) * 0.4625);
  --copy: 380px;
  --gap: 17px;
}

.a60-step:nth-child(3) {
  width: calc((100% + 141px) * 0.5635);
  --copy: 462px;
  --gap: 11px;
}

.a60-step h4 {
  position: relative;
  margin: 0;
  font-family: var(--a60-lexend);
  font-size: 24px;
  font-weight: 700;
  color: var(--a60-text);
}

.a60-step-body {
  position: relative;
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  margin-top: 11px;
}

.a60-step-copy {
  flex: 0 1 var(--copy);
  margin: 0;
  font-family: var(--a60-heebo);
  font-size: 14px;
  line-height: 18px;
  color: #131313;
}

/* Label above the duration, split by a 55px hairline (AI60 Figma 366:2-367:11).
   The negative margin lifts the label into the title band so the duration keeps its place. */
.a60-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  margin: -25px 0 0;
  font-family: var(--a60-heebo);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: #353535;
}

.a60-time-value::before {
  content: "";
  display: block;
  width: 55px;
  height: 1px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.19);
}

.a60-takeaway {
  position: relative;
  margin: 36px 0 0;
  text-align: center;
  font-family: var(--a60-heebo);
  font-size: 12px;
  line-height: 22px;
  color: var(--a60-text);
}

.a60-takeaway strong {
  font-weight: 700;
}

/* Catalog + price cards -------------------------------------------------- */

.a60-offer {
  display: grid;
  grid-template-columns: 687fr 542fr;
  gap: 30px;
  margin-top: 47px;
}

.a60-card {
  position: relative;
  min-width: 0;
  min-height: 359px;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    3px 5px 8.2px -1px rgb(0 0 0 / 0.25),
    inset 0 4px 4px rgb(219 219 219 / 0.25);
}

/* Glow artwork is pre-clipped to the card, plus its shadow margin */
.a60-glow {
  position: absolute;
  top: -2.2px;
  left: -4.2px;
  width: calc(100% + 14.4px);
  height: calc(100% + 14.4px);
  pointer-events: none;
}

.a60-price .a60-glow {
  left: 0;
  width: calc(100% + 10.2px);
}

.a60-catalog {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 56px 32px 40px 56px;
}

.a60-catalog-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.a60-disc,
.a60-tick {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  background: var(--a60-slate);
}

.a60-disc {
  width: 46px;
  height: 46px;
  border-radius: 23px;
}

.a60-catalog h3 {
  position: relative;
  top: -4px;
  margin: 0;
  font-family: var(--a60-lexend);
  font-size: 20px;
  font-weight: 700;
  line-height: 27.3px;
  color: var(--a60-slate);
}

.a60-checklist {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a60-checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-family: var(--a60-lexend);
  font-size: 16px;
  line-height: 21.75px;
  color: #090f1a;
}

.a60-tick {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 11px;
}

/* Booking card: large AI60 logo, full-width button, email note (no price). */
.a60-price-body {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 542px;
  padding: 42px 64px 26px 69px;
}

/* Centred, nudged 13px left of centre as in the design */
.a60-price-logo {
  position: relative;
  align-self: center;
  width: 211.27px;
  margin: 18px 0 0 -26.67px;
}

/* Animated AI60 logo (same Lottie as the AI60 site). The static logo holds the
   size and shows until the animation has drawn, and for reduced-motion users. */
.a60-price-logo > img {
  width: 100%;
  height: auto;
}

/* The Lottie canvas is 16:9 with the logo ~1217/2560 of its width, centred at
   y 687/1440; scale and offset it so its logo lands on the static logo box. */
.a60-logo-lottie {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(2560 / 1217 * 100%);
  aspect-ratio: 2560 / 1440;
  transform: translate(-50%, calc(-687 / 1440 * 100%));
  pointer-events: none;
}

.a60-price-logo.is-animated > img {
  visibility: hidden;
}

.a60-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding: 17px 24px;
  border-radius: 999px;
  background: var(--a60-cta);
  font-family: var(--a60-poppins);
  font-size: 17px;
  line-height: normal;
  font-weight: 600;
  color: #16284f;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}

.a60-book:hover {
  color: #16284f;
  box-shadow: 0 6px 20px rgb(255 241 0 / 0.45);
}

.a60-book img {
  transition: transform 0.3s ease;
}

.a60-book:hover img {
  transform: translateX(4px);
}

.a60-book:focus-visible {
  outline: 2px solid #16284f;
  outline-offset: 3px;
}

.a60-note {
  margin: 12px 0 0;
  font-family: var(--a60-mulish);
  font-size: 12px;
  line-height: 19.2px;
  color: #111;
}

.a60-note a {
  color: inherit;
}

/* "Visit our website AI60 →", centred on the card under the note; the
   -5px offsets the body's uneven side padding. */
.a60-visit {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 5px;
  margin: 21px 0 0 -5px;
  font-family: var(--a60-heebo);
  font-size: 14px;
  line-height: normal;
  color: #5e6f7b;
  text-decoration: none;
}

.a60-visit img {
  display: block;
  height: auto;
}

.a60-visit strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 2px;
}

/* The arrow is a fixed-colour image, so hover dims the whole link. */
.a60-visit:hover {
  color: #5e6f7b;
  opacity: 0.75;
}

.a60-trust {
  max-width: 820px;
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--a60-mulish);
  font-size: 12px;
  line-height: 19.2px;
  color: #5a667e;
}

/* Motion: cards rise in one by one, steps bounce on hover -------------- */

.a60.a60-anim .a60-rise {
  opacity: 0;
  transform: translateY(120px);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--rise-delay, 0s),
    opacity 0.55s ease var(--rise-delay, 0s);
}

.a60.a60-anim .is-revealed .a60-rise {
  opacity: 1;
  transform: none;
}

.a60-bounce {
  --spring: linear(
    0, 0.161, 0.370, 0.596, 0.813, 1, 1.146, 1.245, 1.298, 1.309,
    1.287, 1.240, 1.181, 1.116, 1.054, 1, 0.958, 0.930, 0.915, 0.912,
    0.918, 0.931, 0.948, 0.967, 0.985, 1, 1.012, 1.020, 1.024, 1.025,
    1.024, 1.020, 1.015, 1.010, 1.004, 1, 0.997, 0.995, 0.996, 0.998, 1
  );
  transform-origin: center;
  transition: transform 700ms var(--spring);
}

@media (hover: hover) {
  .a60-bounce:hover {
    z-index: 2;
    transform: scale(1.06);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.3, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .a60.a60-anim .a60-rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .a60-bounce,
  .a60-bounce:hover {
    transform: none;
    transition: none;
  }
}

/* Smaller screens: the clock and the cut-out card edges need the full
   desktop width, so fall back to stacked rounded cards. */

@media (max-width: 1180px) {
  .a60-outline,
  .a60-shape {
    display: none;
  }

  .a60-panel {
    display: flex;
    flex-direction: column;
    padding: 40px clamp(20px, 4vw, 40px);
  }

  .a60-panel-title {
    margin: 0 0 32px;
  }

  .a60-steps {
    gap: 20px;
  }

  .a60-step,
  .a60-step:nth-child(n) {
    width: 100%;
    height: auto;
  }

  .a60-step-card {
    padding: 20px clamp(24px, 4vw, 40px);
    border-radius: 35px;
    background: linear-gradient(90deg, #d1d7dc, #c9cfd4);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.13);
  }

  .a60-step-copy {
    flex-basis: auto;
  }

  .a60-takeaway {
    margin-top: 32px;
  }

  .a60-clock {
    position: relative;
    top: auto;
    left: auto;
    order: 1;
    width: min(260px, 70%);
    margin: 32px auto 0;
  }
}

@media (max-width: 860px) {
  .a60-offer {
    grid-template-columns: 1fr;
  }

  .a60-card {
    min-height: 0;
  }

  .a60-catalog {
    padding: 40px 24px 36px;
  }

  .a60-price-body {
    max-width: none;
    padding: 30px 24px 36px;
  }

  .a60-price-logo {
    width: min(211.27px, 70%);
    margin-left: 0;
  }

  .a60-book {
    margin-top: 28px;
  }

  .a60-visit {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .a60-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .a60-title {
    margin-top: 32px;
  }

  .a60-pitch {
    font-size: 16px;
  }

  .a60-step h4 {
    font-size: 20px;
  }

  .a60-step-body {
    flex-direction: column;
    gap: 8px;
  }

  .a60-time {
    order: -1;
    align-items: flex-start;
    margin: 0;
  }

  .a60-time-value::before {
    margin: 0;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .a60-catalog {
    padding: 44px 32px 36px 40px;
  }

  .a60-price-body {
    padding: 30px 32px 36px 40px;
  }

  .a60-visit {
    margin-left: -8px;
  }
}
