/* Premium editorial layer. Shared by the library and quiz arena. */
:root {
  --primary: #245b49;
  --primary-hover: #173f32;
  --primary-light: #eaf0e9;
  --primary-gradient: linear-gradient(135deg, #285e4d, #1c493a);
  --bg-page: #f7f6f0;
  --bg-card: #fffefa;
  --bg-card-hover: #f0f1e9;
  --bg-input: #fffefa;
  --text-main: #243e34;
  --text-muted: #68736b;
  --text-light: #727c74;
  --border: #dfe3d8;
  --border-focus: #245b49;
  --shadow-sm: 0 2px 4px #263f2f03;
  --shadow-md: 0 12px 32px #263f2f0b;
}
[data-theme="dark"] {
  --primary: #a6d5b9;
  --primary-hover: #c4e5cf;
  --primary-light: #253e31;
  --primary-gradient: linear-gradient(135deg, #35664e, #28513d);
  --bg-page: #141e19;
  --bg-card: #1d2a22;
  --bg-card-hover: #28392e;
  --bg-input: #1d2a22;
  --text-main: #ecf0e7;
  --text-muted: #b0bcb1;
  --text-light: #9baa9d;
  --border: #35463a;
  --border-focus: #a6d5b9;
}
.site-container { max-width: 1280px; padding-inline: 36px; }
.site-header { box-shadow: none; background: var(--bg-page); }
.header-inner { height: 88px; }
.brand-logo { font-size: 1.3rem; letter-spacing: -.055em; }
.brand-icon { border-radius: 50%; box-shadow: none; font-size: 0; }
.brand-icon::after { content: 'Q'; font: 25px Georgia, serif; color: #f4efd9; }
.brand-badge { border: 1px solid var(--border); background: transparent; font-size: .6rem; letter-spacing: .12em; }
.desktop-nav { gap: 32px; }
.nav-link { font-size: .82rem; }
.nav-link.active { text-decoration: underline; text-underline-offset: 10px; text-decoration-thickness: 2px; }
.btn-icon { border-radius: 50%; width: 42px; height: 42px; }
.hero-section { padding: 64px 0 0; text-align: left; }
.hero-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-pill { background: none; padding: 0; font-size: .63rem; letter-spacing: .15em; gap: 10px; margin-bottom: 25px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); flex-shrink: 0; }
.hero-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.9rem, 4.8vw, 4.6rem); font-weight: 400; line-height: 1.08; letter-spacing: -.055em; margin-bottom: 24px; }
.hero-title .highlight { background: none; -webkit-text-fill-color: currentColor; color: var(--primary); font-style: italic; }
.hero-subtitle { margin: 0 0 30px; max-width: 490px; font-size: .98rem; line-height: 1.85; }
.search-form { margin: 0; padding: 7px 7px 7px 19px; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 6px 18px #243e3405; }
.search-input { min-width: 0; width: 100%; font-size: .86rem; }
.search-btn { border-radius: 7px; padding: 14px 20px; font-size: .8rem; white-space: nowrap; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: .68rem; margin-top: 18px; }
.discovery-card { position: relative; display: block; overflow: hidden; color: #f7f4df; text-decoration: none; border-radius: 12px; background: #244c3d; box-shadow: 12px 14px 0 #e7e9de; transform: rotate(1deg); transition: transform .25s; }
.discovery-card:hover { transform: rotate(0); }
.discovery-top { display: flex; justify-content: space-between; padding: 24px 28px; font-size: .58rem; letter-spacing: .17em; color: #d0ddbc; }
.globe-art { position: relative; height: 205px; display: grid; place-items: center; background: radial-gradient(ellipse at center, #617c4e40, transparent 68%); }
.globe-sphere { width: 177px; height: 177px; border: 1px solid #c9d6a0; border-radius: 50%; position: relative; transform: rotate(-23deg); background: radial-gradient(circle at 28% 20%, #d3de9f22, transparent 65%); box-shadow: inset -20px -10px 30px #0e302a45, 0 0 70px #adbb6b12; }
.globe-sphere i { position: absolute; inset: 0 22%; border-radius: 50%; border: 1px solid #c9d6a090; }
.globe-sphere i:nth-child(2) { inset-inline: 40%; }
.globe-sphere i:nth-child(3) { inset: 50% 0 auto; border-radius: 0; border-width: 1px 0 0; }
.globe-sphere b { position: absolute; inset: 22% 5%; height: 28%; border: 1px solid #c9d6a090; border-radius: 50%; }
.globe-sphere b:last-child { top: 50%; }
.orbit-star { position: absolute; color: #ded9a5; font-size: 31px; }
.star-one { left: 17%; top: 18px; }
.star-two { right: 14%; bottom: 25px; font-size: 24px; }
.globe-label { position: absolute; bottom: 0; right: 22px; font: 8px monospace; color: #b9c7a5; letter-spacing: .06em; }
.discovery-bottom { padding: 25px 30px 23px; }
.discovery-kicker { font-size: .56rem; letter-spacing: .18em; color: #cad8b0; }
.discovery-bottom h2 { font: 400 32px/1.15 Georgia, serif; letter-spacing: -.025em; margin: 12px 0 22px; }
.discovery-footer { border-top: 1px solid #ffffff26; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; font-size: .7rem; color: #dee4cb; }
.round-arrow { border: 1px solid #ffffff40; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 18px; }
.audience-container { margin-top: 63px; }
.filter-pills-bar { justify-content: flex-start; gap: 9px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 23px 0; margin-bottom: 24px; }
.audience-label { font-size: .58rem; font-weight: 700; letter-spacing: .12em; margin-right: auto; color: var(--text-muted); }
.filter-pill { padding: 8px 13px; font-size: .7rem; background: transparent; }
.filter-pill.active { background: var(--primary-gradient); color: white; }
.daily-banner { background: var(--primary-light); border: 1px solid var(--border); border-radius: 12px; box-shadow: none; padding: 27px 32px; margin-bottom: 55px; color: var(--text-main); }
.daily-banner::before, .daily-banner::after { display: none; }
.eyebrow { display: block; color: var(--primary); font-size: .58rem; letter-spacing: .15em; font-weight: 700; margin-bottom: 8px; }
.daily-content h2 { color: var(--text-main); font-size: 1.3rem; letter-spacing: -.04em; }
.daily-content p { color: var(--text-muted); font-size: .82rem; max-width: 630px; }
.daily-action .btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: none; font-size: .75rem; white-space: nowrap; }
.section-header { margin-bottom: 26px; }
.section-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 2rem; letter-spacing: -.035em; }
.section-link { font-size: .75rem; }
.quiz-grid { gap: 18px; }
.quiz-card { border-radius: 12px; padding: 23px; box-shadow: none; min-height: 245px; }
.quiz-card::before { content: ''; position: absolute; top: 0; left: 23px; width: 35px; height: 3px; background: #aab995; }
.quiz-card:nth-child(3n+2)::before { background: #c8ad81; }
.quiz-card:nth-child(3n+3)::before { background: #9cb8c1; }
.quiz-card-top { flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.category-chip { background: transparent; padding: 0; font-size: .64rem; }
.quiz-badge { font-size: .59rem; }
.quiz-card-title { font-size: 1.03rem; line-height: 1.45; letter-spacing: -.025em; }
.quiz-card-desc { font-size: .77rem; line-height: 1.75; }
.quiz-card-footer { gap: 8px; }
.quiz-meta-item, .quiz-play-link { font-size: .65rem; }
.category-pillar-card { border-radius: 12px; box-shadow: none; }
.pillar-icon { font-size: 1.8rem; }
.pillar-title { font-size: 1rem; }
.pillar-desc { font-size: .8rem; }
.pillar-meta { font-size: .7rem; }
.seo-prose-section { background: transparent; box-shadow: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 40px 0; }
.seo-prose-section h2 { font-family: Georgia, serif; font-weight: 400; }
.site-footer { padding-top: 55px; background: var(--primary-light); }
.footer-col h4 { font-size: .7rem; letter-spacing: .1em; }
.footer-links a, .footer-bottom { font-size: .75rem; }
.arena-card { box-shadow: var(--shadow-md); }
:where(a, button, input, select):focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.mobile-nav-drawer:not(.open) { visibility: hidden; }
[data-theme="dark"] .discovery-card { box-shadow: 12px 14px 0 #243329; }
@media (max-width: 1050px) {
  .hero-layout { gap: 35px; }
  .hero-title { font-size: 3.5rem; }
  .audience-label { width: 100%; }
  .desktop-nav { gap: 18px; }
  .quiz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .site-container { padding-inline: 22px; }
  .header-inner { height: 72px; }
  .hero-section { padding-top: 38px; }
  .hero-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero-title { font-size: clamp(2.9rem, 8vw, 4rem); }
  .hero-subtitle { max-width: 560px; }
  .discovery-card { max-width: 480px; width: 100%; justify-self: center; transform: none; }
  .globe-art { height: 170px; }
  .globe-sphere { width: 150px; height: 150px; }
  .discovery-bottom h2 br { display: none; }
  .discovery-bottom h2 { font-size: 28px; }
  .audience-container { margin-top: 42px; }
  .filter-pills-bar { gap: 8px; }
  .daily-banner { padding: 25px; margin-bottom: 38px; flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 1.7rem; }
  .section-header { flex-wrap: wrap; align-items: center; gap: 12px; }
  .quiz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .site-container { padding-inline: 18px; }
  .hero-pill { font-size: .51rem; letter-spacing: .1em; }
  .hero-assurances { gap: 12px; font-size: .6rem; }
  .search-btn { padding-inline: 15px; }
  .quiz-grid { grid-template-columns: 1fr; }
  .quiz-card { min-height: 220px; }
  .brand-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
