/* Module 6.1 / 3.4.1 — Public training (admission + showcase + course landing) */
.trn-public-body {
  --trn-max: 960px;
  --trn-max-wide: 1180px;
  --trn-ink: #0b1f33;
  --trn-muted: #5b6b7c;
  --trn-line: color-mix(in srgb, var(--ems-primary, #1E63B6) 14%, #d7e0ea);
  --trn-surface: #ffffff;
  --trn-soft: #eef3f8;
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", Poppins, system-ui, sans-serif;
  background:
    radial-gradient(1200px 480px at 10% -10%, color-mix(in srgb, var(--ems-primary, #1E63B6) 16%, transparent), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, color-mix(in srgb, #0ea5a4 10%, transparent), transparent 55%),
    linear-gradient(180deg, #f5f8fb 0%, #eef2f6 100%);
  color: var(--trn-ink, var(--ems-text, #0f172a));
}
.trn-public-body.trn-lp { --trn-max: var(--trn-max-wide); }
.trn-public-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--trn-line, var(--ems-border, #e2e8f0));
  background: color-mix(in srgb, var(--trn-surface, #fff) 88%, transparent);
  backdrop-filter: blur(10px);
}
.trn-public-header-inner,
.trn-public-footer-inner,
.trn-public-main {
  max-width: var(--trn-max, 960px);
  margin: 0 auto;
  padding: .7rem 1.15rem;
}
.trn-public-header-inner.is-wide,
.trn-public-footer-inner.is-wide,
.trn-public-main.is-wide { max-width: var(--trn-max-wide); }
.trn-public-main.is-flush {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
.trn-public-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}
.trn-public-brand img { max-height: 36px; width: auto; object-fit: contain; }
.trn-public-brand strong {
  display: block;
  font-size: .95rem;
  line-height: 1.2;
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
}
.trn-public-brand small {
  display: block;
  color: var(--trn-muted, var(--ems-muted, #64748b));
  font-size: .75rem;
}
.trn-public-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.trn-public-nav {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .86rem;
  font-weight: 500;
}
.trn-public-nav a { color: var(--trn-muted, #5b6b7c); text-decoration: none; }
.trn-public-nav a:hover { color: var(--ems-primary, #1E63B6); }
.trn-nav-call {
  padding: .35rem .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ems-primary, #1E63B6) 10%, transparent);
  color: var(--ems-primary, #1E63B6) !important;
}
.trn-public-page-head { padding: 1.25rem 0 .35rem; }
.trn-public-page-head h1 {
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 .35rem;
  letter-spacing: -.02em;
}
.trn-public-sub {
  margin: 0 0 1rem;
  color: var(--trn-muted, #5b6b7c);
  font-size: .95rem;
  max-width: 42rem;
}
.trn-public-footer {
  border-top: 1px solid var(--trn-line, #d7e0ea);
  background: var(--trn-surface, #fff);
  font-size: .8rem;
  color: var(--trn-muted, #5b6b7c);
  margin-top: 2rem;
}
.trn-public-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.trn-public-footer-links { display: flex; gap: .75rem; }
.trn-public-footer a { color: inherit; }

.trn-admit-wrap {
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
  border-radius: 12px;
  padding: 1.1rem;
}
.trn-admit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
}
.trn-admit-field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.trn-admit-span2 { grid-column: 1 / -1; }
.trn-admit-field .req { color: var(--ems-danger, #DC2626); }
.trn-check {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .85rem;
  font-weight: 400 !important;
}
.trn-seat-info { margin-top: .35rem; min-height: 1.1em; }
.trn-admit-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.trn-admit-alert {
  margin-top: .75rem;
  padding: .55rem .75rem;
  border-radius: 6px;
  font-size: .85rem;
}
.trn-admit-alert.is-err {
  background: color-mix(in srgb, var(--ems-danger, #DC2626) 12%, transparent);
  color: var(--ems-danger, #DC2626);
}
.trn-admit-alert.is-ok {
  background: color-mix(in srgb, var(--ems-success, #16A34A) 12%, transparent);
  color: var(--ems-success, #16A34A);
}

.trn-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.trn-course-card {
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.trn-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 31, 51, .08);
}
.trn-course-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--trn-soft, #eef3f8);
  overflow: hidden;
}
.trn-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.trn-course-card:hover .trn-course-media img { transform: scale(1.03); }
.trn-course-media-ph {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trn-muted, #94a3b8);
  font-size: 1.75rem;
}
.trn-course-body {
  padding: .9rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.trn-course-body h2 {
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -.01em;
}
.trn-course-body h2 a { color: inherit; text-decoration: none; }
.trn-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  font-size: .8rem;
  color: var(--trn-muted, #5b6b7c);
}
.trn-course-desc {
  margin: 0;
  font-size: .84rem;
  color: var(--trn-muted, #5b6b7c);
  flex: 1;
  line-height: 1.45;
}
.trn-course-actions {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .35rem;
}
.trn-empty {
  padding: 1.25rem;
  border: 1px dashed var(--trn-line, #cbd5e1);
  border-radius: 12px;
  color: var(--trn-muted, #5b6b7c);
  font-size: .9rem;
  margin: 1rem 1.15rem;
}

.trn-lp-shell {
  max-width: var(--trn-max-wide);
  margin: 0 auto;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
.trn-lp-hero {
  position: relative;
  isolation: isolate;
  min-height: min(58vh, 520px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0b1f33;
}
.trn-lp-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.trn-lp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.trn-lp-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(8, 20, 34, .92) 8%, rgba(8, 20, 34, .62) 48%, rgba(8, 20, 34, .4) 100%);
  pointer-events: none;
}
.trn-lp-hero:not(.has-image) .trn-lp-hero-scrim {
  background: linear-gradient(135deg, #0b1f33, color-mix(in srgb, var(--ems-primary, #1E63B6) 55%, #0b1f33));
}
.trn-lp-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.75rem 1.15rem 2.25rem;
}
.trn-lp-brand-mark {
  margin: 0 0 .5rem;
  font-family: Sora, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}
.trn-lp-title {
  margin: 0 0 .65rem;
  max-width: 18ch;
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.55rem, 3.6vw, 2.65rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
.trn-lp-lead {
  margin: 0 0 1rem;
  max-width: 34rem;
  font-size: clamp(.9rem, 1.4vw, 1.02rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}
.trn-lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .85rem;
}
.trn-lp-hero-offer { margin: .15rem 0 .35rem; max-width: 28rem; }
.trn-lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .65rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.trn-lp-btn:hover { transform: translateY(-1px); }
.trn-lp-btn-primary {
  background: var(--ems-primary, #1E63B6);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ems-primary, #1E63B6) 35%, transparent);
}
.trn-lp-btn-primary:hover { filter: brightness(1.05); color: #fff; }
.trn-lp-btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.trn-lp-btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.trn-lp-btn-outline {
  background: transparent;
  border-color: var(--trn-line, #d7e0ea);
  color: var(--trn-ink, #0b1f33);
}
.trn-lp-btn-block { width: 100%; }
.trn-lp-btn-sm { min-height: 2.2rem; padding: .4rem .8rem; font-size: .82rem; }

.trn-lp-trust {
  background: var(--trn-surface, #fff);
  border-bottom: 1px solid var(--trn-line, #d7e0ea);
}
.trn-lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.trn-lp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  min-width: 0;
}
.trn-lp-trust-ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ems-primary, #1E63B6) 10%, #fff);
  color: var(--ems-primary, #1E63B6);
  flex-shrink: 0;
  font-size: .95rem;
}
.trn-lp-trust-item span {
  display: block;
  font-size: .7rem;
  color: var(--trn-muted, #5b6b7c);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.trn-lp-trust-item strong {
  display: block;
  margin-top: .15rem;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}
.trn-lp-trust-fee del {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--trn-muted, #5b6b7c);
  text-decoration: line-through;
}
.trn-lp-trust-fee ins {
  text-decoration: none;
  color: var(--ems-primary, #1E63B6);
}

.trn-lp-fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.trn-lp-fact-list > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  padding: .85rem .95rem;
  border-radius: 12px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
}
.trn-lp-fact-list i {
  margin-top: .15rem;
  color: var(--ems-primary, #1E63B6);
  width: 1.1rem;
  text-align: center;
}
.trn-lp-fact-list strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.trn-lp-fact-list span { font-size: .86rem; color: var(--trn-muted, #5b6b7c); line-height: 1.45; }

.trn-lp-tool-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
.trn-lp-tool-grid li {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
  font-size: .86rem;
  font-weight: 600;
}
.trn-lp-tool-grid i { color: var(--ems-primary, #1E63B6); width: 1rem; text-align: center; }

.trn-lp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.75rem;
  align-items: start;
  padding-top: 1.75rem;
  padding-bottom: 5.5rem;
}
.trn-lp-section { margin-bottom: 1.75rem; scroll-margin-top: 5rem; }
.trn-lp-section h2 {
  margin: 0 0 .85rem;
  font-family: Sora, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.trn-lp-prose {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--trn-ink, #0b1f33) 88%, #5b6b7c);
}
.trn-lp-muted { color: var(--trn-muted, #5b6b7c); font-size: .9rem; }

.trn-lp-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.trn-lp-outcome-grid article {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
}
.trn-lp-outcome-grid i {
  color: var(--ems-primary, #1E63B6);
  margin-bottom: .45rem;
  font-size: 1.05rem;
}
.trn-lp-outcome-grid h3 { margin: 0 0 .3rem; font-size: .98rem; font-weight: 700; }
.trn-lp-outcome-grid p {
  margin: 0;
  font-size: .86rem;
  color: var(--trn-muted, #5b6b7c);
  line-height: 1.45;
}

.trn-lp-syllabus {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.trn-lp-syllabus > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  padding: .85rem .95rem;
  border-radius: 12px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
}
.trn-lp-syllabus-n {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  background: color-mix(in srgb, var(--ems-primary, #1E63B6) 12%, transparent);
  color: var(--ems-primary, #1E63B6);
}
.trn-lp-syllabus h3 { margin: 0; font-size: .95rem; font-weight: 700; }
.trn-lp-syllabus p {
  margin: .25rem 0 0;
  font-size: .84rem;
  color: var(--trn-muted, #5b6b7c);
  line-height: 1.45;
}

.trn-lp-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.trn-lp-chips li {
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
}

.trn-lp-instructor {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 14px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
}
.trn-lp-instructor-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ems-primary, #1E63B6) 12%, transparent);
  color: var(--ems-primary, #1E63B6);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.trn-lp-instructor h3 { margin: 0 0 .3rem; font-size: 1rem; }
.trn-lp-instructor p {
  margin: 0;
  font-size: .88rem;
  color: var(--trn-muted, #5b6b7c);
  line-height: 1.5;
}

.trn-lp-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.trn-lp-support-grid > div {
  padding: .85rem .95rem;
  border-radius: 12px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
}
.trn-lp-support-grid strong { display: block; margin-bottom: .2rem; font-size: .9rem; }
.trn-lp-support-grid span {
  font-size: .84rem;
  color: var(--trn-muted, #5b6b7c);
  line-height: 1.4;
}
.trn-lp-support-grid a {
  color: var(--ems-primary, #1E63B6);
  text-decoration: none;
  font-weight: 600;
}

.trn-lp-batch-list { display: flex; flex-direction: column; gap: .55rem; }
.trn-lp-batch {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .75rem;
  align-items: center;
  padding: .8rem .95rem;
  border-radius: 12px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
}
.trn-lp-batch.is-full { opacity: .78; }
.trn-lp-batch-seats {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  font-size: .75rem;
  color: var(--trn-muted, #5b6b7c);
}
.trn-lp-batch-seats .is-open {
  color: var(--ems-success, #16A34A);
  font-weight: 700;
}
.trn-lp-pill {
  display: inline-flex;
  align-items: center;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
}

.trn-lp-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.trn-lp-proof blockquote {
  margin: 0;
  padding: 1rem;
  border-radius: 14px;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
  font-size: .88rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--trn-ink, #0b1f33) 86%, #5b6b7c);
}

.trn-lp-aside { position: relative; }
.trn-lp-sticky-card {
  position: sticky;
  top: 4.75rem;
  border-radius: 16px;
  overflow: hidden;
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
  box-shadow: 0 18px 40px rgba(11, 31, 51, .08);
  animation: trnLpRise .6s .2s ease both;
}
.trn-lp-sticky-media {
  aspect-ratio: 16 / 10;
  background: var(--trn-soft, #eef3f8);
  overflow: hidden;
}
.trn-lp-sticky-media img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.trn-lp-sticky-body { padding: 1rem 1.05rem 1.15rem; }
.trn-lp-sticky-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ems-primary, #1E63B6);
}
.trn-lp-sticky-price {
  margin: .2rem 0 .75rem;
  font-family: Sora, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.trn-lp-sticky-facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .4rem;
  font-size: .86rem;
}
.trn-lp-sticky-facts li {
  display: flex;
  gap: .5rem;
  align-items: center;
  color: var(--trn-muted, #5b6b7c);
}
.trn-lp-sticky-facts i { width: 1rem; color: var(--ems-primary, #1E63B6); }
.trn-lp-sticky-card .trn-lp-btn + .trn-lp-btn { margin-top: .45rem; }
.trn-lp-sticky-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ems-primary, #1E63B6);
  text-decoration: none;
}
.trn-lp-sticky-note {
  margin: .75rem 0 0;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--trn-muted, #5b6b7c);
}

.trn-lp-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--trn-surface, #fff) 94%, transparent);
  border-top: 1px solid var(--trn-line, #d7e0ea);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(11, 31, 51, .08);
}
.trn-lp-mobile-cta span {
  display: block;
  font-size: .7rem;
  color: var(--trn-muted, #5b6b7c);
}
.trn-lp-mobile-cta strong {
  font-family: Sora, sans-serif;
  font-size: 1.05rem;
}

@keyframes trnLpRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .trn-lp-layout {
    grid-template-columns: 1fr;
    padding-top: 1.15rem;
    padding-bottom: 5.75rem;
    gap: 1.25rem;
  }
  .trn-lp-main { order: 1; }
  .trn-lp-aside { order: 2; }
  .trn-lp-sticky-card { position: static; box-shadow: none; }
  .trn-lp-sticky-media { display: none; }
  .trn-lp-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trn-lp-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trn-lp-proof { grid-template-columns: 1fr; }
  .trn-lp-mobile-cta { display: flex; }
  .trn-lp-title { max-width: none; }
}

@media (max-width: 720px) {
  .trn-public-header-inner,
  .trn-lp-shell {
    padding-left: .9rem;
    padding-right: .9rem;
  }
  .trn-admit-grid { grid-template-columns: 1fr; }
  .trn-admit-span2 { grid-column: auto; }
  .trn-lp-outcome-grid,
  .trn-lp-support-grid { grid-template-columns: 1fr; }
  .trn-lp-batch { grid-template-columns: 1fr; }
  .trn-nav-call { display: none; }

  .trn-lp-hero {
    display: block;
    min-height: 0;
    align-items: stretch;
  }
  .trn-lp-hero-photo {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
    max-height: 220px;
  }
  .trn-lp-hero-scrim { display: none; }
  .trn-lp-hero-inner {
    background: #0b1f33;
    padding: 1.15rem .9rem 1.35rem;
  }
  .trn-lp-brand-mark { font-size: .72rem; }
  .trn-lp-title {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: .5rem;
  }
  .trn-lp-lead {
    font-size: .9rem;
    margin-bottom: .75rem;
  }
  .trn-lp-hero-cta {
    flex-direction: column;
    margin-top: .75rem;
  }
  .trn-lp-hero-cta .trn-lp-btn {
    width: 100%;
    min-height: 2.85rem;
  }
  .trn-lp-hero-offer,
  .trn-offer--hero { max-width: none; }
  .trn-offer--hero {
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    padding: .7rem .8rem;
  }
  .trn-offer--hero .trn-offer-timer { text-align: left; }
  .trn-offer-now { font-size: 1.2rem; }

  .trn-lp-trust-grid {
    gap: .55rem;
    padding-top: .85rem;
    padding-bottom: .85rem;
  }
  .trn-lp-trust-item {
    padding: .55rem .6rem;
    border: 1px solid var(--trn-line, #d7e0ea);
    border-radius: 10px;
    background: var(--trn-soft, #f8fafc);
  }
  .trn-lp-trust-ico {
    width: 2rem;
    height: 2rem;
    font-size: .85rem;
  }
  .trn-lp-trust-item strong { font-size: .88rem; }
  .trn-lp-section { margin-bottom: 1.35rem; scroll-margin-top: 4.5rem; }
  .trn-lp-section h2 { font-size: 1.1rem; }
  .trn-lp-tool-grid { grid-template-columns: 1fr 1fr; }
  .trn-lp-mobile-cta {
    padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
  }
  .trn-lp-mobile-cta .trn-lp-btn {
    min-width: 7.5rem;
    min-height: 2.6rem;
  }
}

@media (max-width: 380px) {
  .trn-lp-trust-grid { grid-template-columns: 1fr; }
  .trn-lp-tool-grid { grid-template-columns: 1fr; }
  .trn-lp-hero-photo { max-height: 180px; }
}

@media print {
  .no-print,
  .trn-public-header,
  .trn-public-footer,
  .trn-public-page-head,
  .trn-success-actions,
  .trn-lp-mobile-cta { display: none !important; }
  .trn-public-body { background: #fff; }
  .trn-public-main { max-width: none; padding: 0; }
}

.trn-success-actions { display: flex; gap: .5rem; margin-bottom: .85rem; }
.trn-ack {
  background: var(--trn-surface, #fff);
  border: 1px solid var(--trn-line, #d7e0ea);
  border-radius: 12px;
  padding: 1.25rem;
  max-width: 640px;
}
.trn-ack-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; }
.trn-ack-brand img { max-height: 32px; width: auto; }
.trn-ack-code {
  font-size: 1.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin: 0 0 .85rem;
}
.trn-ack-dl { margin: 0 0 1rem; display: grid; gap: .35rem; }
.trn-ack-dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: .5rem;
  font-size: .88rem;
}
.trn-ack-dl dt { margin: 0; color: var(--trn-muted, #5b6b7c); font-weight: 500; }
.trn-ack-dl dd { margin: 0; }
.trn-ack-notify {
  font-size: .85rem;
  padding: .65rem .75rem;
  background: var(--trn-soft, #f8fafc);
  border-radius: 6px;
}
.trn-ack-notify ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.trn-ack-foot { margin: .85rem 0 0; }

[data-theme="dark"] .trn-public-body,
html[data-theme="dark"] .trn-public-body {
  --trn-ink: #e8eef5;
  --trn-muted: #9aa8b8;
  --trn-surface: #152033;
  --trn-soft: #1a2740;
  --trn-line: #2a3b55;
  background:
    radial-gradient(1000px 420px at 10% -10%, color-mix(in srgb, var(--ems-primary, #1E63B6) 22%, transparent), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: var(--trn-ink);
}
[data-theme="dark"] .trn-public-header,
[data-theme="dark"] .trn-public-footer,
[data-theme="dark"] .trn-admit-wrap,
[data-theme="dark"] .trn-course-card,
[data-theme="dark"] .trn-ack,
[data-theme="dark"] .trn-lp-sticky-card,
[data-theme="dark"] .trn-lp-syllabus > li,
[data-theme="dark"] .trn-lp-batch,
[data-theme="dark"] .trn-lp-instructor,
[data-theme="dark"] .trn-lp-outcome-grid article,
[data-theme="dark"] .trn-lp-support-grid > div,
[data-theme="dark"] .trn-lp-proof blockquote,
[data-theme="dark"] .trn-lp-chips li,
[data-theme="dark"] .trn-lp-trust,
[data-theme="dark"] .trn-lp-mobile-cta {
  background: var(--trn-surface);
  border-color: var(--trn-line);
}
[data-theme="dark"] .trn-lp-btn-outline { color: var(--trn-ink); }

/* Offer pricing + countdown */
.trn-admit-offer { margin: 0 1.15rem 0.85rem; }
.trn-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ems-primary, #1E63B6) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--ems-primary, #1E63B6) 22%, transparent);
}
.trn-offer-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem .65rem; }
.trn-offer-regular {
  text-decoration: line-through;
  color: var(--trn-muted, #5b6b7c);
  font-size: .9rem;
}
.trn-offer-now {
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ems-primary, #1E63B6);
}
.trn-offer-badge {
  font-size: .72rem;
  font-weight: 800;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
}
.trn-offer-timer { text-align: right; }
.trn-offer-timer-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--trn-muted, #5b6b7c);
  font-weight: 700;
}
.trn-offer-timer-digits {
  font-family: Sora, ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #b45309;
}
.trn-offer--admit .trn-offer-copy { display: grid; gap: .2rem; }
.trn-offer--admit .trn-offer-copy em { font-style: normal; font-weight: 800; color: var(--ems-primary, #1E63B6); }
.trn-offer--sticky { flex-direction: column; align-items: stretch; margin-bottom: .75rem; padding: .75rem; }
.trn-offer--sticky .trn-offer-now { font-size: 1.55rem; }
.trn-offer--hero {
  margin-top: 1rem;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff;
  max-width: 28rem;
}
.trn-offer--hero .trn-offer-regular { color: rgba(255,255,255,.7); }
.trn-offer--hero .trn-offer-now { color: #fff; }
.trn-offer--hero .trn-offer-timer-label { color: rgba(255,255,255,.75); }
.trn-offer--hero .trn-offer-timer-digits { color: #fde68a; }
.trn-course-offer-mini { margin-top: .15rem; }
.trn-course-offer-mini .trn-offer { padding: .55rem .7rem; }
.trn-course-offer-mini .trn-offer-now { font-size: 1.05rem; }
.trn-rich { font-size: .95rem; line-height: 1.6; }
.trn-rich ul, .trn-rich ol { padding-left: 1.15rem; margin: .4rem 0; }
.trn-rich p { margin: 0 0 .55rem; }
.trn-lp-hero-offer { animation: trnLpRise .8s .2s ease both; }
