/* the teacher pages (/teachers/, /teachers/me, /teachers/thanks; 2026-11-26), on top of /hub.css */
.t-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.t-hero .copy { display: flex; flex-direction: column; gap: 18px; }
.t-hero h1 { font-size: 48px; line-height: 54px; }
.t-cover { justify-self: center; width: min(320px, 100%); height: auto; border-radius: 8px; box-shadow: 0 2px 0 #cfc6b1, 0 24px 48px rgba(28, 35, 51, .22); transform: rotate(2deg); }
.t-quote { margin: 0; padding: 22px 26px; border-radius: 18px; background: var(--green-pale); border: 1px solid #c4dbb5; font-family: var(--display); font-size: 22px; line-height: 32px; color: var(--ink); }
.t-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .t-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.t-step { padding: 24px; border-radius: 20px; background: var(--raised); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.t-step .big { font-family: var(--display); font-size: 40px; line-height: 44px; color: var(--leaf); }
.t-step h3 { font-size: 22px; line-height: 28px; }
.t-step p { color: var(--muted); font-size: 16px; line-height: 25px; }
.t-terms { counter-reset: t; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.t-terms li { position: relative; padding-left: 30px; }
.t-terms li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg); }
.t-form { max-width: 620px; }
.t-form .form input[type="text"], .t-form .form textarea { min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.t-form .form textarea { min-height: 96px; resize: vertical; }
.t-form .form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.t-form .form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 700; }
.t-form .form .check input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--leaf); }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-leaf:hover { background: #245c1c; color: #fff; }
/* the teacher's own page */
.t-card { padding: 24px; border-radius: 20px; background: var(--raised); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.t-link { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.t-link code { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; padding: 12px 14px; border-radius: 12px; background: #fff; border: 2px solid var(--line); font-size: 16px; }
.t-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.t-num { padding: 18px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); }
.t-num b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 40px; }
.t-num span { color: var(--muted); font-size: 15px; line-height: 21px; }
.t-sales { width: 100%; border-collapse: collapse; font-size: 15px; }
.t-sales th, .t-sales td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.t-mail { white-space: pre-wrap; font: inherit; font-size: 16px; line-height: 25px; margin: 0; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.t-ok { color: var(--leaf); font-weight: 700; }
.t-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.hub-header .wrap, .hub-nav { min-width: 0; }
@media (max-width: 900px) {
  .t-hero .wrap, .t-steps, .t-grid2 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .t-hero h1 { font-size: 36px; line-height: 42px; }
  .t-cover { width: min(200px, 56%); order: -1; }
  .t-quote { font-size: 19px; line-height: 28px; padding: 18px 20px; }
  .t-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-form .form .two { grid-template-columns: minmax(0, 1fr); }
}
