/* Public home page. Theme tokens only. */
.home { width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; padding-bottom: 16px; }
.home-page .topbar { justify-content: flex-end; }
.home-hero { display: flex; flex-direction: column; gap: 32px; padding-top: 24px; }
.home-intro { display: flex; flex-direction: column; gap: 20px; }
.home-logo { display: block; width: 200px; height: auto; }
.home-login { max-width: none; padding: 24px 20px; gap: 20px; }
.home-login .auth-head h2 { font-size: 2.5rem; line-height: 0.9; }
.home-hero h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 0.95; }
/* Even lines, so a wide column does not leave one word alone on the last one. */
.home-hero h1, .home-slogan { text-wrap: balance; }
.home-accent { display: block; color: var(--accent); }
.home-lead { max-width: 40em; margin: 0; font-size: 1.125rem; color: var(--muted); }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-actions .btn { flex: 1 1 200px; }
.home-actions .btn-outline { font: 800 1.375rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.home-section { display: flex; flex-direction: column; gap: 16px; }
.home-section h2 { padding-bottom: 10px; border-bottom: 2px solid var(--accent); align-self: flex-start; }
.home-section h3 { margin-bottom: 8px; color: var(--accent); }
.home-section p:last-child { margin-bottom: 0; }
.home-features { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-people { display: grid; gap: 12px; }
/* Portrait beside the name and bio: a round caricature with a transparent background. */
.home-person { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.home-portrait { grid-row: span 2; width: 96px; height: auto; }
.home-story-body { display: grid; gap: 24px; }
.home-story-text p { max-width: 44em; }
.home-slogan { margin: 0; font: 800 clamp(2rem, 7vw, 3.25rem)/0.95 var(--font-display); text-transform: uppercase; }
.home-contact { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.home-contact h2 { border-bottom: 0; padding-bottom: 0; }

@media (min-width: 720px) {
    .home { gap: 64px; }
    .home-hero { padding-top: 48px; }
    .home-logo { width: 300px; }
    .home-login { padding: 32px; }
    .home-actions .btn { flex: 0 0 auto; min-width: 200px; }
    .home-features { grid-template-columns: repeat(3, 1fr); }
    .home-people { grid-template-columns: repeat(2, 1fr); }
    .home-person { grid-template-columns: 120px minmax(0, 1fr); column-gap: 20px; }
    .home-portrait { width: 120px; }
}

@media (min-width: 960px) {
    .home-hero-login { display: grid; grid-template-columns: minmax(0, 1fr) 26rem; align-items: center; gap: 48px; }
    .home-story-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 48px; }
    .home-slogan { padding-left: 32px; border-left: 4px solid var(--accent); }
}
