/* ==========================================================
   keeplee - Resources: three tall doors. Tutorials: a book's
   contents page with dotted leaders.
   ========================================================== */
.rs-hero { padding: calc(72px + var(--under, 0px)) 0 56px; background: #fff; text-align: center; }
.rs-copy { max-width: 800px; }
.rs-hero h1 span { display: inline-block; }
.rs-hero h1 { margin: 0 0 16px; color: var(--navy); font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.rs-hero .lead { margin: 0 auto 28px; max-width: 34em; text-wrap: balance; }
.rs-doors { padding: 0 0 88px; background: #fff; }
.rs-row { display: grid; gap: 18px; }
.rs-door { display: flex; flex-direction: column; padding: 30px 28px; border-radius: 28px 28px var(--radius) var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rs-door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rs-warm { background: var(--warm-bg); color: var(--warm-ink); }
.rs-dark { background: var(--navy); color: #cfccc2; }
.rs-blue { background: var(--brand); color: #e4ecff; }
.rs-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: rgba(255,255,255,.14); }
.rs-warm .rs-ico { background: #fff; color: var(--accent-600); }
.rs-dark .rs-ico, .rs-blue .rs-ico { color: #fff; }
.rs-door h2 { margin: 0 0 8px; color: inherit; font-size: 1.7rem; }
.rs-warm h2 { color: var(--navy); }
.rs-dark h2, .rs-blue h2 { color: #fff; }
.rs-door p { margin: 0 0 20px; line-height: 1.5; }
.rs-door ul { list-style: none; margin: 0 0 28px; padding: 16px 0 0; border-top: 1px solid rgba(127,144,180,.35); display: grid; gap: 9px; font-size: .95rem; }
.rs-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; }
.rs-warm .rs-more { color: var(--accent-600); }
.rs-dark .rs-more, .rs-blue .rs-more { color: #fff; }
@media (min-width: 900px) {
  .rs-row { grid-template-columns: repeat(3, 1fr); }
  .rs-door { min-height: 440px; padding: 36px 32px; }
}

.tt-hero { padding: calc(64px + var(--under, 0px)) 0 56px; background: var(--brand-50); text-align: center; }
.tt-copy { max-width: 720px; }
.tt-kicker { margin: 0 0 10px; font-weight: 600; }
.tt-kicker a { color: var(--brand); text-decoration: none; }
.tt-hero h1 { margin: 0 0 14px; color: var(--navy); font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.06; letter-spacing: -.03em; }
.tt-hero .lead { margin: 0 auto; max-width: 34em; text-wrap: balance; }
.tt-book { padding: 56px 0 80px; background: #fff; }
.tt-page { max-width: 860px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.tt-part + .tt-part { margin-top: 36px; }
.tt-part h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.25rem; }
.tt-part h2 a { color: var(--navy); text-decoration: none; }
.tt-part h2 a:hover { color: var(--brand); }
.tt-part ol { list-style: none; margin: 0; padding: 0; }
.tt-part li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; }
.tt-name { color: var(--ink); }
.tt-part li a { color: var(--brand); font-weight: 600; }
.tt-part li i { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.tt-read { flex: none; color: var(--brand); font-size: .85rem; font-weight: 600; }
.tt-soon { flex: none; color: var(--muted); font-size: .85rem; white-space: nowrap; }
@media (max-width: 639px) { .tt-part li i { display: none; } .tt-part li { justify-content: space-between; } .tt-soon { font-size: .78rem; } }
.tt-ask { margin: 36px auto 0; max-width: 860px; color: var(--muted); text-align: center; }
.tt-ask a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .rs-door { transition: none; } .rs-door:hover { transform: none; } }
