/* The planner pages (/pro/plan, /c/<token>): app.css components, plus the guest chip, the budget and the plan.
   Mobile first (390 px), two columns from 960 px. The business is a guest in our world: its logo on bone paper,
   its colour as one edge (only when it reads at 3:1 on bone, else gold), never a re-skin of the page. */
.plan-wrap { width: min(100% - 2 * var(--gut), 1120px); }

/* entry form */
.plan-entry { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: end; margin-bottom: 8px; }
.plan-entry-bot { width: 110px; justify-self: end; margin-bottom: -18px; }
.plan-form { display: grid; gap: 22px; }
.plan-goals { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.plan-goals .chip, .budgets .chip { display: block; }
.plan-goals .chip span, .budgets .chip span { width: 100%; min-height: 64px; }
@media (min-width: 640px) {
  .plan-entry { grid-template-columns: 1fr auto; }
  .plan-entry-bot { order: 2; width: 150px; margin-bottom: 0; }
  .plan-goals { grid-template-columns: 1fr 1fr; }
}

/* hero: the guest chip */
.plan-hero { position: relative; padding-top: 6px; }
.plan-hero h1 { font-size: clamp(40px, 9vw, 64px); margin-top: 14px; }
.plan-hero .sub { margin-bottom: 10px; }
.plan-lede { max-width: 38em; color: var(--bone); }
.plan-hero-bot { display: none; }
.guest { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; max-width: 100%;
  border-radius: 16px; background: var(--bone); color: var(--ink);
  box-shadow: inset 6px 0 0 var(--guest), inset 0 0 0 1.5px rgba(6, 32, 31, .18), 0 14px 24px -18px rgba(0, 0, 0, .8); }
.guest-logo { display: grid; place-items: center; flex: none; width: 56px; height: 56px; margin-left: 6px;
  border-radius: 12px; background: #FFFCF5; overflow: hidden; font: 800 28px/1 var(--display); color: var(--ink); }
.guest-logo img { width: 56px; height: 56px; object-fit: contain; }
.guest-name { display: grid; min-width: 0; }
.guest-name small { font: 800 12.5px/1.2 var(--text); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.guest-name b { font: 800 22px/1.15 var(--display); overflow-wrap: anywhere; }
.plan-hello { margin: 18px 0 0; font: 800 22px/1.3 var(--display); color: var(--gold); }
.plan-note { margin: 4px 0 0; max-width: 36em; font-style: italic; color: var(--bone-2); }

/* layout */
.plan-grid { display: grid; gap: 22px; margin-top: 26px; }
.plan-left { display: grid; gap: 22px; align-content: start; }
.plan-grid h2, .plan-more h2 { margin-top: 0; }
.plan-more { margin-top: 26px; }
@media (min-width: 960px) {
  .plan-hero { padding-right: 260px; }
  .plan-hero-bot { display: block; position: absolute; right: 10px; bottom: -14px; width: 220px; }
  .plan-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}

/* demo film */
.plan-film { display: grid; place-items: center; }
.plan-film video { width: min(100%, 320px); height: auto; aspect-ratio: 9 / 16; border-radius: 16px; background: var(--deep);
  box-shadow: 0 0 0 1px rgba(55, 230, 240, .45), 0 18px 34px -18px rgba(0, 0, 0, .9); }
.plan-demo .note { text-align: center; }
.plan-wait { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.plan-wait img { width: 96px; }
.plan-wait p { margin: 0; }
.plan-wait .btn { grid-column: 2; justify-self: start; }

/* offers as gift tickets: the radio sits on the stub */
.plan-offer-list { display: grid; gap: 12px; border: 0; padding: 0; margin: 12px 0 0; }
.offer { display: block; cursor: pointer; }
.offer .ticket { --fold: 64px; min-height: 84px; }
.offer .t-stub input { width: 26px; height: 26px; margin: 0; accent-color: var(--ember); cursor: pointer; }
.offer .t-stub input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.offer-text { font: 800 19px/1.25 var(--display); color: var(--ink); }
.offer:has(input:checked) .ticket { box-shadow: inset 0 0 0 3px var(--ember), inset 0 0 0 6px var(--bone), inset 0 0 0 7px rgba(201, 146, 32, .45); }

/* budget */
.budgets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
.budgets .chip b { font-size: 22px; }
.budgets .chip:last-child { grid-column: 1 / -1; }
.plan-amount { margin-top: 12px; }
.plan-amount input { max-width: 14em; }
.plan-apply { margin-top: 12px; }
.js .plan-apply { display: none; }
#plan-out { margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--line); }
#plan-out[aria-busy="true"] { opacity: .6; transition: opacity .15s; }
#plan-out h3 { margin: 22px 0 8px; font-size: 19px; color: var(--gold); }
.plan-total { margin: 0; font: 800 28px/1.15 var(--display); color: var(--gold); }
.plan-people { margin: 4px 0 0; font-weight: 800; font-size: 19px; }
.plan-makes, .plan-days, .plan-range, .plan-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-makes li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-radius: 12px;
  background: rgba(4, 31, 33, .55); box-shadow: inset 0 0 0 1px var(--line); }
.plan-makes b { flex: none; color: var(--gold); white-space: nowrap; }
.plan-days li { display: grid; grid-template-columns: 5.4em 1fr; gap: 10px; align-items: baseline; }
.plan-days b { color: var(--neon); font-size: 15.5px; }
.plan-range li { padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(55, 230, 240, .4); background: rgba(4, 31, 33, .5); }
.r-num { margin: 0 0 6px; font: 800 20px/1.25 var(--display); }
.plan-why { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--bone-2); }
.plan-why + h3 { margin-top: 22px; }
.tag { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 999px; font: 800 12.5px/1.6 var(--text);
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--gold); vertical-align: 1px; }
.tag.measured { background: var(--leaf); }
.plan-pay { margin-top: 22px; }

/* below */
.plan-steps { counter-reset: s; }
.plan-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.plan-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font: 800 15px/1 var(--display); color: var(--ink); background: var(--bone); }
.plan-guarantee { box-shadow: inset 0 0 0 1.5px var(--gold), 0 18px 30px -22px rgba(0, 0, 0, .8); }
.plan-private { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) { #plan-out[aria-busy="true"] { transition: none; } }
