/* LOVEBERRY Classes — shared styles for /classes pages (matches about.html palette) */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #5A5A5A; background: linear-gradient(180deg, #fef5fd 0%, #F9F4FD 50%, #FDF9FB 100%); min-height: 100vh; }
a { color: #7C5A9B; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(254, 245, 253, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(155, 107, 198, 0.1); }
.nav-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.brand span { font-size: 18px; font-weight: 700; color: #7C5A9B; letter-spacing: 0.5px; }
.brand small { font-size: 13px; font-weight: 600; color: #7C5A9B; }
.nav-links { display: flex; gap: 18px; font-size: 14px; }
.nav-links a { color: #6A6A6A; text-decoration: none; }

.wrap { max-width: 720px; margin: 0 auto; padding: 40px 24px 48px; }
.eyebrow { font-size: 13px; font-weight: 700; color: #7C5A9B; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
h1 { font-size: 34px; line-height: 1.2; font-weight: 700; color: #7C5A9B; margin: 0 0 12px; letter-spacing: -0.5px; }
h2 { font-size: 22px; font-weight: 700; color: #9B6BC6; margin: 36px 0 12px; }
h3 { font-size: 18px; font-weight: 700; color: #7C5A9B; margin: 24px 0 8px; }
p, li { font-size: 16px; line-height: 1.7; letter-spacing: 0.2px; }
.lede { font-size: 18px; color: #6A6A6A; margin: 0 0 20px; }
.meta { font-size: 14px; color: #666666; margin: 0 0 28px; }

.card { background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(155, 127, 212, 0.15); border-radius: 20px; padding: 24px; margin: 20px 0; }
.callout { background: rgba(155, 107, 198, 0.08); border: 1px solid rgba(155, 107, 198, 0.15); border-radius: 20px; padding: 20px 24px; margin: 20px 0; }
.callout p { margin: 0; color: #7C5A9B; }
.example { border-left: 4px solid #9B6BC6; padding: 4px 0 4px 16px; margin: 12px 0; font-style: italic; color: #6A6A6A; }
.objectives li { margin-bottom: 4px; }

/* Class catalog */
.class-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.class-item a { display: block; text-decoration: none; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(155, 127, 212, 0.15); border-radius: 20px; padding: 20px 24px; transition: box-shadow 0.2s; }
.class-item a:hover { box-shadow: 0 6px 20px rgba(155, 107, 198, 0.15); }
.class-item .topic { font-size: 12px; font-weight: 700; color: #7C5A9B; text-transform: uppercase; letter-spacing: 1px; }
.class-item .title { display: block; font-size: 19px; font-weight: 700; color: #7C5A9B; margin: 4px 0 6px; }
.class-item .desc { display: block; font-size: 15px; color: #6A6A6A; line-height: 1.6; }
.class-item .info { display: block; font-size: 13px; color: #666666; margin-top: 8px; }

/* Quiz */
.quiz { background: #fff; border: 1px solid rgba(155, 127, 212, 0.25); border-radius: 20px; padding: 24px; margin: 24px 0; }
.quiz-q { margin: 0 0 22px; }
.quiz-q p.q { font-weight: 600; color: #4A4A4A; margin: 0 0 10px; }
.quiz-q button { display: block; width: 100%; text-align: left; font: inherit; font-size: 15px; padding: 12px 16px; margin: 6px 0; border-radius: 12px; border: 1px solid #e3d6f0; background: #fcf9fe; color: #4A4A4A; cursor: pointer; }
.quiz-q button:hover:not(:disabled) { border-color: #7C5A9B; }
.quiz-q button.correct { background: #e8f6ec; border-color: #5aa66f; }
.quiz-q button.wrong { background: #fbeaea; border-color: #c96a6a; }
.quiz-q button:disabled { cursor: default; }
.quiz-q .feedback { font-size: 14px; margin: 8px 0 0; color: #6A6A6A; }
.quiz-score { font-weight: 700; color: #7C5A9B; margin: 8px 0 0; }

.pager { display: flex; justify-content: space-between; gap: 12px; margin: 40px 0 0; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; background: #7C5A9B; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn.ghost { background: transparent; color: #7C5A9B; border: 1px solid #9B6BC6; }

.footer { border-top: 1px solid rgba(155, 107, 198, 0.1); background: rgba(255, 255, 255, 0.5); padding: 32px 24px; text-align: center; }
.footer .links { display: flex; justify-content: center; gap: 24px; margin: 12px 0 16px; flex-wrap: wrap; }
.footer .links a { font-size: 14px; color: #6A6A6A; text-decoration: none; }
.footer p { font-size: 13px; color: #6b7280; margin: 0; }

@media (max-width: 600px) { h1 { font-size: 28px; } .nav-links { display: none; } }
