/* For teachers page (2026-11-22). Builds on style.css tokens (--ocean, --mountain, --card, --border, --mist,
   --frame, --pill...), which already switch for dark mode. The game's own pixel face labels the screens, as on
   the homepage. Layout: a hero with a playing clip, then one section per claim, each proven by real footage. */
@font-face {
  font-family: 'Press Start 2P';
  src: url(assets/fonts/PressStart2P-Regular.ttf) format('truetype');
  font-display: swap;
}

.t-page { display: grid; gap: clamp(56px, 9vw, 104px); padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 88px); }
.t-wrap { max-width: 1040px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

.px-label { font-family: 'Press Start 2P', var(--sans); font-size: 11px; line-height: 1.6; letter-spacing: 0.04em; color: var(--coral-ink); text-transform: uppercase; margin: 0; }
.t-page h1, .t-page h2 { font-family: var(--serif); color: var(--ocean); text-wrap: balance; margin: 0; }
.t-page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.01em; }
.t-page h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.15; }
.t-page p { margin: 0; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--mountain); max-width: 34em; }
.t-text { display: grid; gap: 16px; align-content: center; min-width: 0; }
.t-text > p:not(.px-label) { max-width: 34em; line-height: 1.6; }
.t-page .kana { font-family: 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', var(--sans); }

/* hero */
.t-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--sage); color: var(--ocean); font-weight: 600; font-size: 0.92rem; }
.t-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; background: var(--pill); color: var(--pill-ink); font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 var(--frame); }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, .t-page a:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.t-cta .badges { display: flex; flex-wrap: wrap; gap: 10px; }

/* phone frames */
.t-phone { margin: 0; display: grid; gap: 12px; justify-items: center; min-width: 0; }
.t-screen { position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 16; border: 10px solid var(--frame); border-radius: 30px; overflow: hidden; background: var(--frame); box-shadow: var(--shadow); }
.t-screen--tall { aspect-ratio: 720 / 1565; max-width: 280px; }
.t-screen video, .t-screen img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.t-phone figcaption { font-size: 0.9rem; color: var(--mountain); text-align: center; max-width: 30ch; }
.t-phone figcaption .px-label { display: block; margin-bottom: 4px; }

/* t-tracks: three clips */
.t-head { display: grid; gap: 12px; max-width: 40em; margin-bottom: clamp(24px, 4vw, 36px); }
.t-tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.t-track { margin: 0; display: grid; gap: 14px; justify-items: center; text-align: center; min-width: 0; }
.t-track .t-screen { max-width: 220px; border-width: 8px; border-radius: 24px; }
.t-track h3 { margin: 0; font-family: var(--serif); color: var(--ocean); font-size: 1.25rem; }
.t-track p { color: var(--mountain); font-size: 0.95rem; max-width: 24ch; }
.t-track .big-kana { font-size: 1.15rem; color: var(--ink); font-weight: 700; }

/* split sections: screenshot + text */
.t-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.t-split--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.t-split--flip .t-phone { order: 2; }
.callout { display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); width: fit-content; max-width: 100%; }
.callout .t-tile { display: grid; place-items: center; width: 56px; height: 56px; border: 3px solid var(--frame); background: #faf6ee; color: #1a1a1a; font-size: 1.9rem; }
.callout .t-tile--took { border-style: dashed; border-color: var(--pill); }
.callout .neq { color: var(--pill); font-size: 1.6rem; font-weight: 700; }
.callout small { display: block; text-align: center; color: var(--mountain); font-size: 0.8rem; margin-top: 4px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 10px; height: 10px; background: var(--coral-ink); box-shadow: 4px 4px 0 var(--sakura); }

/* ways to use it */
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ways li { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); min-width: 0; }
.ways b { font-family: var(--serif); color: var(--ocean); font-size: 1.15rem; }
.ways span { color: var(--mountain); font-size: 0.95rem; line-height: 1.5; }

/* privacy band */
.t-band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--sage); }
.t-band img { width: clamp(120px, 18vw, 200px); height: auto; image-rendering: pixelated; }
.t-band .t-text p { color: var(--ink); }
.t-band h2 { color: var(--ocean); }

/* cost + contact */
.t-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.t-card { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--border); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); min-width: 0; }
.t-card .badges { display: flex; flex-wrap: wrap; gap: 10px; }
.t-card a { color: var(--ocean); font-weight: 600; }
.mascot-row { display: flex; align-items: end; gap: 14px; }
.mascot-row img { width: 88px; height: auto; image-rendering: pixelated; flex: none; }

@media (max-width: 900px) {
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .t-hero, .t-split, .t-split--flip, .t-two { grid-template-columns: minmax(0, 1fr); }
  .t-split--flip .t-phone { order: 0; }
  .t-hero .t-screen { max-width: 210px; }
  .t-tracks { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .t-band { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
@media (max-width: 480px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
}
