:root {
  color-scheme: light;
  --faq-ink: #182838;
  --faq-muted: #596673;
  --faq-gold: #b28a45;
  --faq-line: #dce1e4;
  --faq-paper: #fff;
  --faq-ground: #f5f5f1;
  --faq-accent: #596644;
}
.faq-page { margin: 0; background: var(--faq-ground); color: var(--faq-ink); font: 16px/1.65 Georgia, 'Times New Roman', serif; }
.faq-page *, .faq-preview * { box-sizing: border-box; }
.faq-page [hidden], .faq-admin [hidden] { display: none !important; }
.faq-page a { color: inherit; text-underline-offset: 4px; }
.faq-page button, .faq-page input { font: inherit; }
.faq-page button, .faq-contact-link { cursor: pointer; border-radius: 3px; }
.faq-page :focus-visible, .faq-admin :focus-visible { outline: 3px solid #b28a45; outline-offset: 4px; }
.faq-topbar { max-width: 1200px; padding: 22px 32px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 13px/1.5 Arial, sans-serif; }
.faq-brand { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; font: 16px/normal "Segoe UI", Roboto, sans-serif; text-decoration: none; }
.faq-brand-title { display: inline-block; color: var(--faq-ink); font-size: 1.82rem; font-weight: 900; letter-spacing: -0.03em; }
.faq-brand .logo-year { display: inline-block; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; letter-spacing: 0.02em; background: linear-gradient(135deg, #d4af37 0%, #f0e68c 50%, #d4af37 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.faq-brand .header-learning-slogan { margin: -4px 0 0 2px; font-size: 0.8em; line-height: 1.2; font-weight: 600; letter-spacing: 0.01em; color: #4b5563; white-space: nowrap; }
.faq-skip { position: absolute; left: 20px; top: -100px; padding: 12px; background: white; z-index: 5; }
.faq-skip:focus { top: 8px; }
.faq-hero { background: #172a3a; color: #fff; border-bottom: 4px solid var(--faq-gold); }
.faq-hero-inner { position: relative; max-width: 1136px; min-height: 350px; margin: auto; padding: 50px 360px 54px 32px; }
.faq-hero-copy { position: relative; z-index: 1; }
.faq-eyebrow { font: 700 11px/1.6 Arial, sans-serif; letter-spacing: 2.2px; color: #916d35; }
.faq-hero .faq-eyebrow { color: #d9b777; margin-top: 0; }
.faq-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.12; font-weight: 400; letter-spacing: -1.3px; margin: 20px 0 16px; }
.faq-subtitle { color: #e3c48e; font-size: 21px; margin: 0 0 12px; }
.faq-arthur { position: absolute; width: 320px; height: 320px; object-fit: contain; right: 24px; bottom: 0; }
.faq-search-wrap { max-width: 1136px; margin: 0 auto; padding: 28px 32px; border-bottom: 1px solid var(--faq-line); }
.faq-search label { display: block; margin-bottom: 8px; font: 700 12px/1.5 Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.faq-search-controls { display: flex; gap: 10px; }
.faq-search input { min-width: 0; width: 100%; padding: 15px 18px; background: white; border: 1px solid #a6b1b8; border-radius: 3px; color: var(--faq-ink); font-family: Arial, sans-serif; }
.faq-search input::-webkit-search-cancel-button { cursor: pointer; }
.faq-search button, #faqRetry { background: #fff; color: var(--faq-ink); border: 1px solid #a6b1b8; padding: 12px 22px; }
.faq-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 52px; max-width: 1136px; padding: 36px 32px 70px; margin: auto; }
.faq-sidebar { align-self: start; padding: 22px 16px; background: #eef0e8; border: 1px solid #cbd1bd; border-top: 3px solid var(--faq-accent); border-radius: 3px; }
.faq-sidebar h2 { margin: 0 0 17px; font: 700 12px/1.5 Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.faq-sidebar nav { display: grid; gap: 0; border-top: 1px solid var(--faq-line); }
.faq-sidebar button { text-align: left; background: transparent; color: var(--faq-muted); border: 0; border-bottom: 1px solid var(--faq-line); border-left: 3px solid transparent; padding: 14px 12px; font: 14px/1.5 Arial, sans-serif; border-radius: 0; }
.faq-sidebar button:hover { background: #e0e5d5; }
.faq-sidebar button[aria-pressed="true"] { color: #fff; border-left-color: #3e4b2f; background: var(--faq-accent); font-weight: 700; }
.faq-answer-column { min-width: 0; }
.faq-status { margin: 0 0 28px; color: var(--faq-muted); font: 13px/1.6 Arial, sans-serif; overflow-wrap: anywhere; }
.faq-category { margin-bottom: 40px; }
.faq-category h2 { font: 400 28px/1.3 Georgia, serif; margin: 0 0 7px; color: var(--faq-ink); overflow-wrap: anywhere; }
.faq-category h2 sup { font-size: .45em; line-height: 0; vertical-align: super; margin-left: 1px; }
.faq-category-description { color: var(--faq-muted); font: 14px/1.7 Arial, sans-serif; margin: 0 0 18px; }
.faq-question { border-top: 1px solid var(--faq-line); background: var(--faq-paper); }
.faq-question:last-child { border-bottom: 1px solid var(--faq-line); }
.faq-question summary { position: relative; padding: 20px 48px 20px 18px; cursor: pointer; list-style: none; font: 600 15px/1.55 Arial, sans-serif; color: var(--faq-ink); overflow-wrap: anywhere; }
.faq-question summary::-webkit-details-marker { display: none; }
.faq-question summary::after { content: '+'; position: absolute; right: 19px; top: 18px; font-size: 22px; color: #8b632b; font-weight: 400; }
.faq-question[open] summary::after { content: '\2212'; }
.faq-question[open] summary { padding-bottom: 12px; }
.faq-question summary:hover { background: #f6f6f2; }
.faq-answer { padding: 0 40px 20px 18px; color: #4c5965; font: 15px/1.85 Arial, sans-serif; overflow-wrap: anywhere; }
.faq-answer p { margin: 0 0 12px; white-space: pre-wrap; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-contact { border-top: 3px solid var(--faq-gold); padding: 26px 30px 32px; background: #e9edeb; }
.faq-contact h2 { font: 400 28px/1.3 Georgia, serif; margin: 10px 0; }
.faq-contact > p:not(.faq-eyebrow) { color: var(--faq-muted); font: 14px/1.85 Arial, sans-serif; }
.faq-contact-link { display: inline-block; background: #172a3a; padding: 11px 18px; margin-top: 8px; color: white !important; text-decoration: none; font: 700 13px/1.5 Arial, sans-serif; }
.faq-footer { padding: 28px 32px; border-top: 1px solid var(--faq-line); display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; color: var(--faq-muted); font: 12px/1.8 Arial, sans-serif; }
.faq-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 760px) {
  .faq-topbar { padding: 18px 20px; }
  .faq-brand-title { font-size: 1.6rem; }
  .faq-hero-inner { padding: 36px 180px 36px 24px; min-height: 300px; }
  .faq-arthur { width: 180px; height: 230px; right: 0; }
  .faq-hero h1 { font-size: 38px; }
  .faq-subtitle { font-size: 18px; }
  .faq-search-wrap { padding: 24px; }
  .faq-layout { grid-template-columns: 1fr; padding: 26px 24px 44px; gap: 26px; }
  .faq-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .faq-hero-inner { padding: 32px 22px 150px; }
  .faq-arthur { height: 150px; width: 150px; right: 20px; }
  .faq-hero h1 { font-size: 40px; }
  .faq-search-controls { gap: 8px; }
  .faq-search input { padding: 13px 10px; font-size: 14px; }
  .faq-search button { padding: 10px 14px; font-size: 14px; }
  .faq-sidebar button { font-size: 12px; }
  .faq-contact { padding: 20px; }
}
