/* Teachers page: a plain landing page. Photo and promise, what they get, three steps, Robert, a form. */
.tch-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tch-hero h1 { margin: 0 0 22px; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.12; }
.tch-free { position: relative; display: inline-block; color: var(--primary-dark, #5d8538); white-space: nowrap; }
.tch-free svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.tch-free path { fill: none; stroke: var(--primary, #8cb65a); stroke-width: 4; stroke-linecap: round; }
.tch-points { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 18px; font-weight: 600; }
.tch-points li { position: relative; padding-inline-start: 32px; }
.tch-points li::before { content: ''; position: absolute; inset-inline-start: 6px; top: 4px; width: 8px; height: 14px; border: solid var(--primary, #8cb65a); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.tch-hero__cta { display: inline-flex; }
.tch-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 7; object-fit: cover; border-radius: 24px; }

.tch-features h2, .tch-steps h2, .tch-apply h2 { margin: 0 0 24px; text-align: start; }
.tch-feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: 0; padding: 0; list-style: none; }
.tch-feature-list li { display: grid; gap: 4px; }
.tch-feature-list strong { font-size: 18px; }
.tch-feature-list span { color: var(--text-muted, #61655c); line-height: 1.45; }

.tch-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.tch-steps li { counter-increment: step; display: grid; align-content: start; gap: 6px; padding: 22px; border-radius: 20px; background: var(--surface-muted, #f3f5ee); }
.tch-steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: var(--primary, #8cb65a); color: #fff; font-weight: 800; }
.tch-steps strong { font-size: 18px; }
.tch-steps span { color: var(--text-muted, #61655c); }

.tch-apply { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 320px); justify-content: center; align-items: start; gap: 44px; }
/* Robert: a small wide photo and his note beside the form. */
.tch-robert { display: grid; gap: 12px; padding-top: 10px; }
.tch-robert img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 40%; border-radius: 18px; }
.tch-robert p { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; }
.tch-robert strong { font-size: 15px; }
.tch-form-card { width: 100%; max-width: 560px; padding: 30px; border: 1.5px solid var(--border, #e4e8de); border-radius: 24px; }
.tch-form { display: grid; gap: 16px; }
.tch-form label { display: grid; gap: 6px; font-weight: 700; }
.tch-label em { margin-inline-start: 6px; color: var(--text-muted, #61655c); font-size: 13px; font-weight: 600; font-style: normal; }
.tch-form input { transition: none; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--surface-muted, #f3f5ee); color: inherit; font: inherit; font-weight: 500; }
.tch-form input:focus-visible { outline: 2px solid var(--primary, #8cb65a); outline-offset: 2px; }
.tch-form .pub-button { justify-self: stretch; margin-top: 6px; }
.tch-hidden { position: absolute; left: -9999px; }
.tch-error { margin: 0; color: #b5402f; }
.tch-muted { color: var(--text-muted, #61655c); }

@media (max-width: 800px) {
    .tch-hero { grid-template-columns: 1fr; gap: 28px; }
    .tch-hero__media { order: -1; }
    .tch-feature-list, .tch-steps ol { grid-template-columns: 1fr; }
    .tch-apply { grid-template-columns: 1fr; gap: 28px; }
    .tch-form-card { padding: 22px; }
}
