/* Hooplytix — what we offer */

main.offer {
  position: relative;
  z-index: 2;
  padding: calc(66px + 9vh) max(20px, 4vw) 8vh;
}
.offer-in { width: var(--shell); margin: 0 auto; }

/* ---------- opening ---------- */
.offer-lede { max-width: 30ch; }
.offer-lede h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.offer-lede p {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(15px, 1.3vw, 17.5px);
  color: var(--chalk-2);
  line-height: 1.6;
}

/* ---------- a block ---------- */
.block { margin-top: clamp(56px, 8vh, 96px); }
.block > h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
}
.block > p { margin-top: 14px; color: var(--chalk-2); line-height: 1.62; }
.block > p + p { margin-top: 12px; }

/* ---------- roles: who does what ---------- */
.roles-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.role {
  background: var(--ink-800);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 20px;
}
.role:first-child { border-color: rgba(249, 148, 31, 0.42); background: var(--ink-750); }
.role h3 { font-size: 15.5px; letter-spacing: -0.01em; }
.role:first-child h3 { color: var(--leather); }
.role p { margin-top: 9px; font-size: 14px; color: var(--chalk-2); line-height: 1.55; }

/* ---------- what you get ---------- */
.gets {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}
.get { background: var(--ink-800); padding: 22px 20px; }
.get h3 { font-size: 15px; letter-spacing: -0.01em; }
.get p { margin-top: 8px; font-size: 13.5px; color: var(--chalk-2); line-height: 1.55; }

/* ---------- the index ---------- */
.index-block {
  border-left: 2px solid var(--leather);
  padding-left: clamp(18px, 3vw, 34px);
}

/* ---------- prices ---------- */
.prices { scroll-margin-top: 90px; }
.prices > p { max-width: 54ch; }

.price-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.plan {
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line-soft);
  background: var(--ink-800);
}
/* The promo is the offer on the table, so it is the one that is lit. */
.plan.now {
  border-color: rgba(249, 148, 31, 0.5);
  background:
    linear-gradient(180deg, rgba(249, 148, 31, 0.10), transparent 58%),
    var(--ink-750);
}
.plan-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--chalk-2);
  letter-spacing: 0.01em;
}
.plan.now .plan-tag { color: var(--leather); }

.plan-fig { margin: 12px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-big {
  font-size: clamp(40px, 5.4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan.now .plan-big { color: var(--leather); }
.plan.later .plan-big { color: var(--chalk); }
.plan-unit { font-size: 14px; color: var(--chalk-2); }

.plan-p { margin-top: 16px; font-size: 14.5px; color: var(--chalk-2); line-height: 1.6; }
.plan .btn { margin-top: 20px; }

/* ---------- close ---------- */
.offer-cta {
  margin-top: clamp(48px, 7vh, 84px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 900px) {
  .roles-grid, .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .roles-grid, .gets { grid-template-columns: minmax(0, 1fr); }
  .promo-strip { align-items: center; }
}

/* This page is read, not played through, so the ball stays a background
   texture: dimmed, and faded out below the opening so long copy sits on
   plain ink rather than on a moving court. */
.offer-page #court { opacity: 0.3; }
.offer-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--ink-900) 62%);
}

/* The yearly option rides under the monthly figure — same offer, one decision. */
.plan-alt {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 500;
  color: var(--chalk);
}
.plan-alt + .plan-p { margin-top: 12px; }
