/* Training Portal — minimal styles; theme can override */
.tp { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; }
.tp__eyebrow { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #6b7280; margin: 0 0 .75rem; }
.tp__h1 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 1rem; }
.tp__meta { color: #6b7280; }
.tp__search { display: flex; gap: .5rem; margin: 2rem 0 1rem; flex-wrap: wrap; }
.tp__search input, .tp__search select { padding: .65rem .9rem; border: 1px solid #e5e7eb; border-radius: 999px; font: inherit; }
.tp__search input { flex: 1; min-width: 220px; }
.tp__search button { padding: .65rem 1.25rem; border-radius: 999px; border: 0; background: #111827; color: #fff; cursor: pointer; }
.tp__subjects { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.tp__chip { padding: .35rem .8rem; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 13px; color: #374151; text-decoration: none; }
.tp__chip:hover { border-color: #111827; }
.tp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1px; background: #e5e7eb; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.tp__card { background: #fff; padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.tp__card-tier { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: #6b7280; margin: 0; }
.tp__card-h { margin: 0; font-size: 1.25rem; }
.tp__card-h a { color: inherit; text-decoration: none; }
.tp__card-h a:hover { color: #2563eb; }
.tp__card-sub { color: #4b5563; font-size: .925rem; margin: 0; }
.tp__card-tags span { font-size: 11px; padding: 2px 8px; background: #f3f4f6; border-radius: 999px; margin-right: 4px; }
.tp__card--locked .tp__card-h a { color: #9ca3af; }

.tp-course__body, .tp-lesson__body { font-size: 1.05rem; line-height: 1.65; color: #1f2937; margin-top: 1.5rem; }
.tp-course__body :is(h2,h3), .tp-lesson__body :is(h2,h3) { margin-top: 2rem; }
.tp-course__lh { margin-top: 3rem; }
.tp-course__lessons { padding-left: 1.25rem; }
.tp-course__lessons li { padding: .5rem 0; }
.tp-lesson__nav { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.tp-lesson__nav .is-current a { font-weight: 600; color: #111827; }

.tp-pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1rem; margin-top: 2rem; }
.tp-pricing__card { display: flex; flex-direction: column; height: 100%; padding: 2rem; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; }
.tp-pricing__card > .tp-btn,
.tp-pricing__card > form { margin-top: auto; }
.tp-pricing__card.is-current { border-color: #111827; box-shadow: 0 0 0 2px #111827 inset; }
.tp-pricing__card h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.tp-pricing__price { font-size: 2.5rem; font-weight: 600; margin: .25rem 0 1rem; }
.tp-pricing__price span { font-size: 1rem; color: #6b7280; font-weight: 400; }
.tp-pricing__desc { color: #4b5563; min-height: 4em; }
.tp-btn { display: inline-block; padding: .75rem 1.25rem; border-radius: 999px; border: 1px solid #111827; text-decoration: none; color: #111827; cursor: pointer; font: inherit; background: #fff; }
.tp-btn--primary { background: #111827; color: #fff; }

.tp-teaser { padding: 4rem 1.5rem; max-width: 1200px; margin: 0 auto; text-align: center; }
.tp-teaser__eyebrow { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #6b7280; }
.tp-teaser__h { font-size: clamp(2rem, 4vw, 3rem); margin: .5rem 0 1rem; letter-spacing: -.02em; }
.tp-teaser__sub { color: #4b5563; max-width: 60ch; margin: 0 auto 1.5rem; }
.tp-teaser__cta a { display: inline-block; margin: 0 .5rem; padding: .75rem 1.5rem; border-radius: 999px; background: #111827; color: #fff; text-decoration: none; }
.tp-teaser__cta a + a { background: transparent; color: #111827; border: 1px solid #111827; }
