/* Four Lines free live class: registration + replay. Dark theme matching
   the Here platform frame; mechanics copied from starter-pack.css.
   Created 2026-09-21. ASCII-only. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0f0f0f; --bg-card: #1a1a1a; --bg-elevated: #222;
    --border: rgba(255,255,255,0.08); --text: #e8e4df; --text-muted: #8a8580;
    --accent: #C27C5A; --accent-light: rgba(194,124,90,0.14);
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
.fl-container { max-width: 680px; margin: 0 auto; padding: 16px 1.25rem 4rem; }

/* hero */
.fl-hero { text-align: center; padding: 2.5rem 0 1.5rem; }
.fl-eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 1rem; }
.fl-headline { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; line-height: 1.25; margin-bottom: 1rem; }
.fl-sub { font-size: 1.02rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.fl-h2 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; line-height: 1.35; margin: 0 0 1rem; }

/* cards */
.fl-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin: 1.5rem 0; }
.fl-card[hidden] { display: none; }

/* when */
.fl-when { padding: 1.25rem 1.5rem; }
.fl-when-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.fl-when-block { flex: 1 1 220px; display: flex; flex-direction: column; gap: 0.15rem; }
.fl-when-block[hidden] { display: none; }
.fl-when-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.2rem; }
.fl-when-main { font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.35; }
.fl-when-sub { font-size: 0.85rem; color: var(--text-muted); }

/* form */
.fl-label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.fl-form-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.fl-input { flex: 1 1 200px; padding: 0.85rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-family: var(--font-sans); font-size: 16px; outline: none; }
.fl-input:focus { border-color: var(--accent); }
.fl-input::placeholder { color: rgba(255,255,255,0.22); }
.fl-btn { flex: 0 0 auto; display: inline-block; padding: 0.9rem 1.5rem; border-radius: 100px; border: 1px solid transparent; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; transition: opacity 0.15s, transform 0.15s; -webkit-tap-highlight-color: transparent; }
.fl-btn:disabled { opacity: 0.35; cursor: default; }
.fl-btn-primary { background: var(--accent); color: #fff; }
.fl-btn-primary:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.fl-btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.fl-btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.fl-small { font-size: 0.78rem; color: var(--text-muted); opacity: 0.8; margin-top: 0.75rem; }
.fl-error { font-size: 0.85rem; color: #e08a8a; margin-top: 0.6rem; }
.fl-error[hidden] { display: none; }

/* confirmed */
.fl-done { text-align: center; animation: fl-fade 0.4s ease; border-color: rgba(194,124,90,0.35); }
@keyframes fl-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fl-done { animation: none; } }
.fl-done-check { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.9rem; }
.fl-done .fl-h2 { margin-bottom: 0.6rem; }
.fl-done-body { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-width: 480px; margin: 0 auto 1.1rem; }
.fl-done-actions { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.fl-known { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.fl-known[hidden] { display: none; }
.fl-known a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

/* sections */
.fl-section { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.fl-steps { list-style: none; display: grid; gap: 0.75rem; }
.fl-steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; }
.fl-step-num { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-serif); font-size: 0.95rem; display: flex; align-items: center; justify-content: center; }
.fl-step-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.fl-step-title { font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.3; }
.fl-step-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.fl-list { list-style: none; display: grid; gap: 0.9rem; }
.fl-list li { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; padding-left: 1rem; border-left: 2px solid var(--border); }
.fl-list strong { color: var(--text); font-weight: 600; }
.fl-list a { color: var(--accent); }

/* replay page */
.fl-back { display: inline-block; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; margin-bottom: 1.5rem; }
.fl-back:hover { color: var(--text); }
.fl-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin: 1.5rem 0; }
.fl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fl-video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.fl-video-placeholder strong { color: var(--text); font-family: var(--font-serif); font-weight: 400; font-size: 1.1rem; }
.fl-next { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin-top: 2rem; }
.fl-next .fl-h2 { margin-bottom: 0.6rem; }
.fl-next p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.fl-next-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.fl-body p { font-size: 0.98rem; line-height: 1.8; margin-bottom: 1.1rem; }

@media (max-width: 600px) {
    .fl-headline { font-size: 1.6rem; }
    .fl-hero { padding-top: 1.75rem; }
    .fl-form-row .fl-btn, .fl-done-actions .fl-btn, .fl-next-actions .fl-btn { width: 100%; }
    .fl-steps li { padding: 1rem; gap: 0.75rem; }
}
