/* ==========================================================================
   /ai-training/founder-track + /ai-training/business-track
   (hero / who / final band reuse the .sp-* styles from aitraining-spec.css)
   ========================================================================== */

/* ---------- Hero ---------- */
.tr-hero { flex-direction: column; align-items: center; gap: 20px; }
.tr-hero__text { max-width: 1200px; }
.tr-hero__btns { align-self: center; width: 100%; max-width: 1200px; }

/* ---------- What you'll be able to do ---------- */
.tr-leave { background: var(--white); padding: 80px 40px; display: flex; justify-content: center; overflow: clip; }
.tr-leave__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.tr-leave__title { max-width: 800px; }
.tr-leave__cards { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; overflow: clip; }
.tr-leave__card { flex: 0 0 320px; height: 217px; background: var(--white); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 20px; overflow: clip;
                  box-shadow: inset 0 0 0 1px var(--at-border); }

/* ---------- The offerings ---------- */
.tr-off { position: relative; background: #225e5b; padding: 140px 80px; display: flex; justify-content: center; }
.tr-off__badge { position: absolute; top: -50px; left: 50%; margin-left: -51.5px; width: 103px; height: 103px; padding: 16px; border-radius: 200px;
                 background: var(--white); box-shadow: rgba(0, 0, 0, 0.25) 0 1px 2px 0; overflow: clip; }
.tr-off__badge img { width: 71px; height: 71px; object-fit: cover; }
.tr-off__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 50px; }
.tr-off__head { max-width: 900px; display: flex; flex-direction: column; gap: 8px; }
.tr-off__eyebrow { font: 400 18px/27px var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: #d5ed71; }
.tr-off__head .at-h2, .tr-off__head .at-p { color: var(--white); }
.tr-off__list { display: flex; flex-direction: column; gap: 20px; }

.tr-oc { background: var(--white); border-radius: 12px; padding: 30px; overflow: clip; }
.tr-oc__top { display: flex; flex-direction: column; gap: 10px; }
.tr-oc__q { font: 500 24px/28.8px var(--f-head); letter-spacing: -0.02em; color: var(--green); }
.tr-oc__row { display: flex; align-items: center; gap: 20px; overflow: clip; }
.tr-oc__main { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; overflow: clip; }
.tr-oc__icon { flex: none; width: 50px; height: 50px; color: var(--ink-2); }
.tr-oc__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.tr-oc__title { font: 500 22px/28.6px var(--f-head); letter-spacing: -0.02em; color: var(--ink-2); }
.tr-oc__desc { font: 400 16px/24px var(--f-body); color: var(--gray); }
.tr-oc__btn { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px; border-radius: 23px; box-shadow: inset 0 0 0 1px var(--ink-2);
              font: 400 14px/19.6px var(--f-body); color: var(--ink-2); white-space: nowrap; cursor: pointer; transition: box-shadow .2s var(--ease); }
.tr-oc__btn:hover { box-shadow: inset 0 0 0 1px var(--ink-2), 0 8px 20px 0 rgba(212, 237, 114, 0.54); }
.tr-oc__btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.tr-oc__less, .tr-oc__minus { display: none; }
.tr-oc__note { font: 400 14px/21px var(--f-body); color: #939598; }

/* expanded */
.tr-oc.is-open { border-radius: 20px; }
.tr-oc.is-open .tr-oc__more, .tr-oc.is-open .tr-oc__plus { display: none; }
.tr-oc.is-open .tr-oc__less, .tr-oc.is-open .tr-oc__minus { display: inline; }
.tr-oc__more-body { padding-top: 30px; display: flex; flex-direction: column; gap: 30px; }
.tr-oc__more-body[hidden] { display: none; }
.tr-oc__block { display: flex; flex-direction: column; gap: 20px; }
.tr-oc__h { font: 700 24px/28.8px var(--f-head); color: var(--ink-2); }
.tr-oc__hl { display: flex; gap: 20px; }
.tr-oc__hl > div { flex: 1 1 0; min-width: 0; background: var(--white); border-radius: 12px; padding: 20px; box-shadow: inset 0 0 0 1px var(--at-border); }
.tr-oc__hl p { font: 400 18px/27px var(--f-body); color: var(--ink-2); }
.tr-oc__row1, .tr-oc__row2 { display: flex; align-items: stretch; gap: 20px; }
.tr-oc__row1 > :first-child { flex: 509 1 0; min-width: 0; }
.tr-oc__row1 > :last-child { flex: 411 1 0; min-width: 0; }
.tr-oc__row2 > * { flex: 297 1 0; min-width: 0; }
.tr-oc__row2 > .tr-oc__metrics { flex: 307 1 0; display: flex; flex-direction: column; gap: 20px; }
.tr-fc { background: #f0f0f0; border-radius: 30px; display: flex; flex-direction: column; gap: 20px; }
.tr-fc--img { padding: 10px 10px 30px; }
.tr-fc--txt { flex: 1 1 0; padding: 20px 24px; justify-content: center; }
.tr-fc__media { position: relative; height: 290px; background: var(--ink); border-radius: 25px 25px 40px 40px; overflow: hidden; }
.tr-fc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.tr-fc__body { display: flex; flex-direction: column; gap: 10px; }
.tr-fc--img .tr-fc__body { padding: 0 10px; }
.tr-fc__body h4 { font: 500 24px/28.8px var(--f-head); letter-spacing: -0.02em; color: var(--ink-2); white-space: pre-wrap; }
.tr-fc__body p { font: 400 16px/24px var(--f-body); color: var(--ink-3); }
.tr-fc__body a { color: var(--green); }
.tr-oc__price { padding: 12px; display: flex; align-items: center; gap: 40px; }
.tr-oc__price-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tr-oc__price h6 { font: 500 17px/23.8px var(--f-head); letter-spacing: -0.02em; color: var(--ink-2); }
.tr-oc__price-row { display: flex; align-items: center; gap: 10px; }
.tr-oc__price h3 { font: 500 34px/44.2px var(--f-head); letter-spacing: -0.04em; color: var(--green); white-space: nowrap; }
.tr-oc__price h5 { font: 500 22px/28.6px var(--f-head); letter-spacing: -0.02em; color: var(--ink); }
.tr-oc:not(.has-services).is-open { padding-bottom: 30px; }
.tr-oc.has-services.is-open { padding-bottom: 0; }
.tr-oc__services { margin: 0 -30px; background: #d5ed71; padding: 12px 28px 12px 18px; display: flex; align-items: center; gap: 10px; }
.tr-oc__services-t { flex: none; font: 400 18px/27px var(--f-body); color: var(--green-dark); }
.tr-oc__services-d { flex: 1 1 0; min-width: 0; font: 400 16px/24px var(--f-body); color: var(--ink-3); }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1199.98px) {
  .tr-leave { padding: 80px 30px; }
  .tr-leave__card { flex: 1 1 0; min-width: 0; }

  .tr-off { padding: 100px 30px; }
  .tr-oc__q { font-size: 22px; line-height: 26.4px; }
  .tr-oc__title { font-size: 20px; line-height: 26px; }
  .tr-oc__desc { font-size: 15px; line-height: 22.5px; }
  .tr-oc__note { font-size: 13px; line-height: 19.5px; }
  .tr-oc__h { font: 700 22px/26.4px var(--f-inter); font-feature-settings: var(--inter-features); }
  .tr-oc__hl p { font-size: 17px; line-height: 25.5px; }
  .tr-oc__row1, .tr-oc__row2 { flex-direction: column; }
  .tr-oc__row1 > *, .tr-oc__row2 > *, .tr-oc__row2 > .tr-oc__metrics { flex: none; }
  .tr-fc__body h4 { font-size: 22px; line-height: 26.4px; }
  .tr-fc__body p { font-size: 15px; line-height: 22.5px; }
  .tr-oc__price h3 { font-size: 30px; line-height: 39px; }
  .tr-oc__price h6, .tr-oc__price h5 { font-size: 15px; line-height: 21px; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 809.98px) {
  .tr-leave { padding: 60px 20px; }
  .tr-leave__cards { flex-direction: column; }
  .tr-leave__card { flex: none; width: 100%; height: auto; }

  .tr-off { padding: 80px 20px 60px; }
  .tr-oc { padding: 18px; }
  .tr-oc__q { font-size: 20px; line-height: 24px; }
  .tr-oc__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tr-oc__main { width: 100%; }
  .tr-oc__title { font-size: 18px; line-height: 23.4px; }
  .tr-oc__desc { font-size: 14px; line-height: 21px; }
  .tr-oc__note { font-size: 12px; line-height: 18px; }
  .tr-oc__h { font-size: 20px; line-height: 24px; }
  .tr-oc__hl { flex-direction: column; }
  .tr-oc__hl p { font-size: 16px; line-height: 24px; }
  .tr-fc__body h4 { font-size: 20px; line-height: 24px; }
  .tr-fc__body p { font-size: 14px; line-height: 21px; }
  .tr-oc__price { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0; }
  .tr-oc__price h3 { font-size: 24px; line-height: 31.2px; }
  .tr-oc__more-body { padding-top: 20px; gap: 40px; }
  .tr-oc__services { margin: 0 -18px; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 28px 20px 18px; }
  .tr-oc__services-t { font-size: 14px; line-height: 21px; }
  .tr-oc__services-d { font-size: 14px; line-height: 21px; }
}
@media (min-width: 1200px) {
  .tr-page--founder .tr-final .sp-final__sub { max-width: 603px; }
  .tr-page--business .tr-final .sp-final__sub { max-width: 700px; }
}
@media (max-width: 1199.98px) and (min-width: 810px) {
  .tr-page--founder .tr-who .sp-who__card { height: 269px; padding: 16px; }
  .tr-leave__title { max-width: 600px; }
  .tr-leave__card { height: 274px; padding: 24px; }
  .tr-off { padding: 100px 25px; }
  .tr-off__head { max-width: 80%; }
}
@media (max-width: 809.98px) {
  .tr-hero__btns { flex-direction: column; gap: 10px; }
  .tr-hero__btns .btn { width: 100%; }
  .tr-leave { padding: 70px 20px; }
  .tr-leave__head { align-items: flex-start; text-align: left; }
  .tr-off__inner { gap: 32px; }
  .tr-off__head { gap: 20px; }
  .tr-oc__row { flex-direction: row; align-items: center; }
  .tr-oc__main { width: auto; }
  .tr-oc__btn > span { display: none !important; }
}
@media (max-width: 1199.98px) and (min-width: 810px) { .tr-page--business .tr-who .sp-who__card--last { height: 297px; } }
.tr-oc__price--none { padding: 0; gap: 10px; }
.tr-oc__noprice { flex: 1 1 0; min-width: 0; max-width: 531px; margin-right: auto; font: 500 22px/28.6px var(--f-head); letter-spacing: -0.02em; color: var(--ink); }
