/*
 * Teachers CSS Bundle: links-page.bundle.css
 * Auto-generated by scripts/bundle_teachers_css.py
 * DO NOT EDIT - Edit source files instead
 *
 * Sources: links-page-base.css, links-page-desktop.css, links-page-tablet.css, links-page-mobile.css, links-page-landscape.css, links-page-motion.css
 */

/* === links-page-base.css === */

/**
 * The links page — BASE (no media query). Prefix tl-.
 * Rebuilt 2026-10-11 for both exams on the Classroom brand the teachers
 * pages wear: Inter body, Space Grotesk headings, ink and slate, GOLD the
 * one accent (the deeper amber for gold words on white), white cards with a
 * gold stripe, the next free class as an ink block with gold digits.
 *
 * THE DASHBOARD LOCK: the document never scrolls. html/body are locked by
 * the page's own classes, the page root is 100dvh, the one public header
 * stays put and ONE region (#tlScroll) scrolls. min-height: 0 on the flex
 * child is load-bearing. Tokens on :root, never on .tl-page (the signup
 * modal and the sale popup render outside the page root).
 */

:root {
    --tl-ink: #0f172a;
    --tl-ink-2: #1e293b;
    --tl-soft: #475569;
    --tl-muted: #64748b;
    --tl-line: #e2e8f0;
    --tl-bg: #f8fafc;
    --tl-card: #ffffff;
    --tl-gold: #fdcc05;
    --tl-gold-deep: #b45309;
    --tl-gold-soft: #fef3c7;
    --tl-brand-gold: #b8860b;
    --tl-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    --tl-shadow-lg: 0 10px 28px rgba(15, 23, 42, 0.12);
    --tl-head: 'Space Grotesk', sans-serif;
    --tl-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --tl-gutter: 24px;
    --tl-max: 1040px;
}

html.tl-html, body.tl-body { height: 100%; overflow: hidden; }
body.tl-body {
    margin: 0;
    font-family: var(--tl-body);
    color: var(--tl-ink-2);
    background: var(--tl-bg);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.tl-page *, .tl-page *::before, .tl-page *::after { box-sizing: border-box; }

.tl-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(900px 420px at 12% -140px, rgba(184, 134, 11, 0.10) 0%, transparent 60%),
        radial-gradient(900px 480px at 88% -180px, rgba(253, 204, 5, 0.16) 0%, transparent 60%),
        var(--tl-bg);
}
/* the one public header, inside the frame, never scrolling away */
.tl-page .tp-nav { position: relative; flex-shrink: 0; }

.tl-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
/* the region's end scrolls clear of the minimized sale badge */
.tl-body:has(#saleWidget) .tl-scroll { padding-bottom: 72px; }

/* ---------- Type ---------- */
.tl-eyebrow {
    font-family: var(--tl-head);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--tl-muted);
    margin: 0 0 8px;
}
.tl-eyebrow.is-gold { color: var(--tl-gold-deep); }
.tl-title {
    font-family: var(--tl-head);
    font-weight: 800;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.8px;
    color: var(--tl-ink);
    margin: 0 0 6px;
}
.tl-cred { margin: 0 0 10px; font-weight: 700; font-size: 13px; color: var(--tl-gold-deep); }
.tl-sub { font-size: 16px; line-height: 1.55; color: var(--tl-soft); margin: 0; max-width: 560px; }
.tl-h2 {
    font-family: var(--tl-head);
    font-weight: 800;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.4px;
    color: var(--tl-ink);
    margin: 0;
}

.tl-icon { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.tl-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--tl-muted); transition: transform 0.12s ease, color 0.12s ease; }

/* ---------- The coach ---------- */
.tl-hero {
    max-width: var(--tl-max);
    margin: 0 auto;
    padding: 32px var(--tl-gutter) 18px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.tl-photo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--tl-gold);
    box-shadow: var(--tl-shadow-lg);
}
.tl-hero-copy { min-width: 0; }

/* the jump chips: phones only (the tiers show them) */
.tl-jump { display: none; }
.tl-jump-chip {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 8px 14px; border-radius: 999px;
    font-family: var(--tl-head); font-weight: 700; font-size: 14px;
    background: var(--tl-card); color: var(--tl-ink); border: 1px solid var(--tl-line);
    text-decoration: none; white-space: nowrap;
}
.tl-jump-chip:hover { border-color: var(--tl-gold); }

/* ---------- The two exam cards ---------- */
.tl-exams {
    max-width: var(--tl-max);
    margin: 0 auto;
    padding: 8px var(--tl-gutter) 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    /* each card its own height: a signed-in student's other exam holds
       only its class, and a stretched card would stand half empty */
    align-items: start;
}
.tl-exam {
    position: relative;
    overflow: hidden;
    background: var(--tl-card);
    border: 1px solid var(--tl-line);
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow: var(--tl-shadow);
    scroll-margin-top: 8px;
}
.tl-exam-stripe { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--tl-gold) 0%, var(--tl-brand-gold) 100%); }
.tl-exam-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.tl-pill {
    display: inline-flex; align-items: center;
    padding: 4px 10px; border-radius: 999px;
    font-family: var(--tl-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
    background: var(--tl-bg); color: var(--tl-soft); border: 1px solid var(--tl-line);
}
.tl-chip {
    display: inline-flex; align-items: center;
    min-height: 28px; padding: 4px 10px; border-radius: 999px;
    font-family: var(--tl-head); font-weight: 800; font-size: 11px; letter-spacing: 0.6px;
    background: var(--tl-gold-soft); color: var(--tl-gold-deep); border: 1px solid var(--tl-gold);
    text-decoration: none; white-space: nowrap;
}
.tl-chip:hover { background: var(--tl-gold); color: var(--tl-ink); }
.tl-exam-name { font-family: var(--tl-head); font-weight: 800; font-size: 21px; line-height: 1.2; color: var(--tl-ink); margin: 0 0 14px; }

.tl-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

/* a link row: the icon, the words, the chevron */
.tl-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--tl-card);
    border: 1px solid var(--tl-line);
    color: var(--tl-ink);
    text-decoration: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}
.tl-link:hover { border-color: var(--tl-gold); box-shadow: var(--tl-shadow); }
.tl-link:hover .tl-chev { color: var(--tl-gold-deep); transform: translateX(2px); }
.tl-link:focus-visible, .tl-next:focus-visible, .tl-follow-link:focus-visible, .tl-chip:focus-visible,
.tl-jump-chip:focus-visible, .tl-footer a:focus-visible { outline: 3px solid var(--tl-gold); outline-offset: 2px; }
.tl-link-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--tl-bg); color: var(--tl-ink);
}
.tl-link-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tl-link-label { font-family: var(--tl-head); font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--tl-ink); }
.tl-link-desc { font-size: 13px; line-height: 1.45; color: var(--tl-soft); }

/* the free test: the gold row */
.tl-link.is-primary { background: var(--tl-gold); border-color: var(--tl-gold); box-shadow: 0 6px 18px rgba(253, 204, 5, 0.32); }
.tl-link.is-primary:hover { box-shadow: 0 10px 24px rgba(253, 204, 5, 0.45); border-color: var(--tl-gold); }
.tl-link.is-primary .tl-link-icon { background: rgba(255, 255, 255, 0.55); }
.tl-link.is-primary .tl-link-desc { color: var(--tl-ink-2); }
.tl-link.is-primary .tl-chev, .tl-link.is-primary:hover .tl-chev { color: var(--tl-ink); }

/* the next free class: the ink block with gold digits, a link to the classes */
.tl-next {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px 12px;
    border-radius: 14px;
    background: var(--tl-ink);
    color: #fff;
    text-decoration: none;
}
.tl-next:hover { box-shadow: var(--tl-shadow-lg); }
.tl-next-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tl-next-pill {
    display: inline-flex; align-items: center;
    padding: 3px 9px; border-radius: 999px;
    font-family: var(--tl-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
    background: var(--tl-gold); color: var(--tl-ink);
}
.tl-next-day { font-family: var(--tl-head); font-weight: 800; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.tl-next-topic { font-family: var(--tl-head); font-weight: 800; font-size: 17px; line-height: 1.25; color: #fff; }
.tl-next-when { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.tl-next-when [data-local-time] { color: var(--tl-gold); }
.tl-next-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 4px; }
.tl-countdown { display: flex; align-items: flex-start; gap: 12px; }
.tl-countdown[hidden] { display: none; }
.tl-cd { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tl-cd-num {
    font-family: var(--tl-head); font-weight: 800; font-size: 24px; line-height: 1;
    color: var(--tl-gold); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center;
}
.tl-cd-unit { font-weight: 700; font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.tl-next-state { font-family: var(--tl-head); font-weight: 800; font-size: 15px; color: var(--tl-gold); }
.tl-next-state[hidden] { display: none; }
.tl-next-go {
    display: inline-flex; align-items: center; gap: 2px; margin-left: auto;
    font-family: var(--tl-head); font-weight: 700; font-size: 13px; color: #fff; white-space: nowrap;
}
.tl-next-go .tl-chev { width: 16px; height: 16px; color: var(--tl-gold); }
.tl-next:hover .tl-next-go .tl-chev { transform: translateX(2px); }

/* ---------- Follow ---------- */
.tl-follow {
    max-width: var(--tl-max);
    margin: 0 auto;
    padding: 26px var(--tl-gutter) 10px;
    border-top: 1px solid var(--tl-line);
}
.tl-follow-head { margin-bottom: 14px; }
.tl-follow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tl-follow-link {
    display: flex; align-items: center; gap: 12px;
    min-height: 60px; height: 100%; padding: 12px 14px; border-radius: 14px;
    background: var(--tl-card); border: 1px solid var(--tl-line);
    color: var(--tl-ink); text-decoration: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.tl-follow-link:hover { border-color: var(--tl-gold); box-shadow: var(--tl-shadow); }
.tl-follow-link:hover .tl-chev { color: var(--tl-gold-deep); transform: translateX(2px); }
.tl-follow-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; color: #fff; background: var(--tl-ink);
}
.tl-follow-link.is-youtube .tl-follow-icon { background: #ff0000; }
.tl-follow-link.is-tiktok .tl-follow-icon { background: #000; }
.tl-follow-link.is-email .tl-follow-icon { background: var(--tl-gold); color: var(--tl-ink); }
.tl-follow-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tl-follow-label { font-family: var(--tl-head); font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--tl-ink); }
.tl-follow-handle { display: block; font-family: var(--tl-body); font-weight: 500; font-size: 13px; line-height: 1.4; color: var(--tl-muted); }

/* ---------- The footer ---------- */
.tl-footer { text-align: center; padding: 18px var(--tl-gutter) 28px; font-size: 12px; color: var(--tl-muted); }
.tl-footer p { margin: 0 0 4px; }
.tl-footer a { color: var(--tl-ink); font-weight: 600; text-decoration: none; display: inline-block; padding: 4px 2px; }
.tl-footer a:hover { text-decoration: underline; }

/* the signup modal, in this page's brand */
.tmodal-overlay { background: rgba(15, 23, 42, 0.78); }


/* === links-page-desktop.css === */

/* The links page — DESKTOP (min-width: 1025px): the coach in one row, the
   two exam cards side by side, the three ways to follow in one row. A
   1280x720 laptop still sees both cards' free tests on the first screen. */
@media (min-width: 1025px) {
    .tl-hero { padding-top: 34px; }
}

/* a short laptop window: tighten the top so both free tests stay on screen */
@media (min-width: 1025px) and (max-height: 760px) {
    .tl-hero { padding: 20px var(--tl-gutter) 12px; gap: 20px; }
    .tl-photo { width: 96px; height: 96px; }
    .tl-title { font-size: 34px; }
    .tl-sub { font-size: 15px; }
    .tl-exam { padding: 18px 18px 16px; }
    .tl-exam-name { margin-bottom: 12px; }
}


/* === links-page-tablet.css === */

/* The links page — TABLET (769 to 1024px wide): the two cards still side by
   side, tighter; each channel's handle drops under its name so three ways
   to follow fit one row. A phone held sideways (844 wide, short) matches
   this width too; the landscape tier after this one takes it over. */
@media (max-width: 1024px) and (min-width: 769px) {
    :root { --tl-gutter: 20px; }
    .tl-hero { padding: 28px var(--tl-gutter) 14px; gap: 20px; }
    .tl-photo { width: 104px; height: 104px; }
    .tl-title { font-size: 34px; }
    .tl-exams { gap: 16px; }
    .tl-exam { padding: 20px 16px 16px; }
    .tl-exam-name { font-size: 19px; }
    .tl-link { gap: 12px; padding: 12px; }
    .tl-link-icon { width: 36px; height: 36px; }
    .tl-cd-num { font-size: 22px; }
    .tl-countdown { gap: 10px; }
    .tl-next-yours { display: block; }
    .tl-next-sep { display: none; }
    .tl-follow-list { gap: 10px; }
    .tl-follow-link { padding: 12px; gap: 10px; }
}


/* === links-page-mobile.css === */

/* The links page — MOBILE PORTRAIT (max-width: 768px, portrait): the coach
   as one compact row, the jump chips, one column of cards, the free test
   first on the first screen; the channels stack. */
@media (max-width: 768px) and (orientation: portrait) {
    :root { --tl-gutter: 16px; }
    .tl-hero { padding: 18px var(--tl-gutter) 10px; gap: 14px; align-items: flex-start; }
    .tl-photo { width: 72px; height: 72px; border-width: 3px; }
    .tl-eyebrow { font-size: 10px; letter-spacing: 1.8px; margin-bottom: 4px; }
    .tl-title { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 2px; }
    .tl-cred { font-size: 12px; margin-bottom: 6px; }
    .tl-sub { font-size: 14px; line-height: 1.45; }

    .tl-jump { display: flex; gap: 8px; padding: 0 var(--tl-gutter) 10px; }
    .tl-jump-chip { flex: 1 1 0; }

    .tl-exams { grid-template-columns: 1fr; gap: 14px; padding: 2px var(--tl-gutter) 20px; }
    .tl-exam { padding: 18px 14px 14px; border-radius: 16px; }
    .tl-exam-name { font-size: 19px; margin-bottom: 12px; }
    /* the sale chip is a finger-sized target on a phone */
    .tl-chip { min-height: 40px; padding: 6px 14px; font-size: 12px; }
    .tl-links { gap: 8px; }
    .tl-link { gap: 12px; padding: 11px 12px; min-height: 56px; }
    .tl-link-icon { width: 36px; height: 36px; }
    .tl-link-label { font-size: 15px; }
    .tl-next { padding: 12px 14px 10px; }
    .tl-next-topic { font-size: 16px; }
    /* the viewer's own time on its own line, never wrapped mid-phrase */
    .tl-next-yours { display: block; }
    .tl-next-sep { display: none; }
    .tl-cd-num { font-size: 22px; }
    .tl-countdown { gap: 10px; }

    .tl-follow { padding: 20px var(--tl-gutter) 6px; }
    .tl-h2 { font-size: 20px; }
    .tl-follow-list { grid-template-columns: 1fr; gap: 8px; }
    .tl-follow-link { min-height: 56px; padding: 10px 12px; }
    .tl-footer { padding: 14px var(--tl-gutter) 24px; }
    /* a finger-sized target for every footer link */
    .tl-footer a { padding: 11px 4px; }
}

/* the iPhone SE (375x667) and anything as short: tighter still */
@media (max-width: 768px) and (orientation: portrait) and (max-height: 700px) {
    .tl-hero { padding-top: 14px; }
    .tl-photo { width: 64px; height: 64px; }
    .tl-title { font-size: 24px; }
    .tl-sub { font-size: 13.5px; }
}


/* === links-page-landscape.css === */

/* The links page — MOBILE LANDSCAPE (max-width: 768px held sideways, or any
   sideways window under 500px tall, which a phone held sideways is even when
   it is wider than 768): the coach shrinks to a line so the two cards, side
   by side, start on the first short screen; their sentences stay. */
@media (max-width: 768px) and (orientation: landscape), (max-height: 500px) and (orientation: landscape) {
    :root { --tl-gutter: 16px; }
    .tl-hero { padding: 10px var(--tl-gutter) 8px; gap: 12px; align-items: center; }
    .tl-photo { width: 48px; height: 48px; border-width: 3px; box-shadow: none; }
    .tl-eyebrow { display: none; }
    .tl-title { font-size: 20px; letter-spacing: -0.3px; margin: 0; }
    .tl-cred { font-size: 11.5px; margin: 0; }
    .tl-sub { display: none; }
    .tl-jump { display: none; }

    .tl-exams { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 var(--tl-gutter) 16px; }
    .tl-exam { padding: 14px 12px 12px; border-radius: 14px; }
    .tl-exam-head { margin-bottom: 4px; }
    .tl-chip { min-height: 40px; padding: 6px 14px; }
    .tl-exam-name { font-size: 16px; margin-bottom: 10px; }
    .tl-links { gap: 8px; }
    .tl-link { gap: 10px; padding: 9px 10px; min-height: 52px; }
    .tl-link-icon { width: 32px; height: 32px; }
    .tl-link-icon .tl-icon { width: 20px; height: 20px; }
    .tl-link-label { font-size: 14.5px; }
    .tl-link-desc { font-size: 12px; }
    .tl-next { padding: 10px 12px 9px; gap: 4px; }
    .tl-next-topic { font-size: 15px; }
    .tl-next-when { font-size: 12px; }
    .tl-next-yours { display: block; }
    .tl-next-sep { display: none; }
    .tl-cd-num { font-size: 19px; }
    .tl-countdown { gap: 8px; }
    .tl-next-go { font-size: 12px; }

    .tl-follow { padding: 18px var(--tl-gutter) 6px; }
    .tl-h2 { font-size: 18px; }
    .tl-follow-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .tl-follow-link { padding: 10px; gap: 10px; min-height: 52px; }
    .tl-follow-icon { width: 34px; height: 34px; }
    .tl-footer { padding: 12px var(--tl-gutter) 18px; }
    .tl-footer a { padding: 11px 4px; }
}


/* === links-page-motion.css === */

/* The links page — MOTION: a visitor who asks for less motion gets an
   instant jump and no hover drift (the free-class page's motion tier, for
   this page). */
@media (prefers-reduced-motion: reduce) {
    .tl-scroll { scroll-behavior: auto; }
    .tl-link, .tl-chev, .tl-follow-link { transition: none; }
}
