:root {
  color-scheme: light;
  --paper: #f4f7ef;
  --ink: #20251f;
  --muted: #71776e;
  --line: #dce2d7;
  --green: #c9f269;
  --forest: #174438;
  --coral: #fa765e;
  --white: #fff;
  --display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar { height: 78px; padding: 0 7.1%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand, .quiz-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: 0; }
.brand-mark { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 9px; object-fit: cover; }
.brand-period { color: #78a927; }
.main-nav { display: flex; gap: 37px; height: 100%; align-items: center; }
.nav-link { position: relative; display: inline-flex; height: 100%; align-items: center; color: #697067; font-size: 13px; font-weight: 600; transition: color .2s; }
.nav-link:hover, .nav-link.is-current { color: var(--ink); }
.nav-link.is-current::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #799b36; content: ""; }
.top-cta { padding: 12px 16px; border: 1px solid #b8c1b3; border-radius: 4px; font-size: 12px; font-weight: 700; transition: background .2s, border-color .2s; }
.top-cta:hover { border-color: var(--forest); background: var(--forest); color: white; }
.top-cta span { margin-left: 8px; }

.intro { max-width: 1320px; min-height: 550px; padding: 56px 7.1% 64px; margin: auto; display: grid; grid-template-columns: 1fr 0.82fr; gap: 7.2%; align-items: center; }
.intro-copy { padding: 17px 0 0; animation: rise-in .7s both; }
.eyebrow { margin: 0; color: #6f7c67; font-size: 10px; font-weight: 700; letter-spacing: 1.1px; }
.intro .eyebrow { display: flex; align-items: center; gap: 9px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #88b63e; box-shadow: 0 0 0 4px #e4efd0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 26px 0 18px; font-family: var(--display); font-size: clamp(52px, 5.4vw, 76px); line-height: .99; font-weight: 600; letter-spacing: 0; }
h1 span { color: #759931; }
.intro-text { max-width: 365px; margin-bottom: 26px; color: #656d63; font-size: 15px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 11px; padding: 0 0 7px; border-bottom: 1px solid #aeb8a7; font-size: 12px; font-weight: 700; }
.text-link span { color: #71932e; font-size: 16px; }

.featured-quiz { position: relative; min-height: 420px; height: 100%; max-height: 442px; overflow: hidden; background: #183e48; color: var(--white); animation: rise-in .7s .12s both; }
.feature-image, .feature-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-image { object-fit: cover; object-position: center; }
.feature-shade { background: linear-gradient(180deg, rgba(7, 23, 30, .08) 0%, rgba(9, 24, 30, .18) 36%, rgba(10, 27, 29, .91) 100%); }
.feature-topline { position: absolute; top: 20px; right: 20px; left: 20px; display: flex; justify-content: space-between; align-items: center; }
.feature-tag { padding: 8px 10px; border-radius: 3px; background: var(--green); color: #243319; font-size: 9px; font-weight: 700; letter-spacing: .45px; }
.feature-tag span { margin-right: 5px; }
.feature-duration { font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.feature-copy { position: absolute; right: 25px; bottom: 29px; left: 28px; }
.feature-copy p { margin-bottom: 10px; color: #d3e5d7; font-size: 9px; font-weight: 700; letter-spacing: .9px; }
.feature-copy h2 { margin-bottom: 19px; font-family: var(--display); font-size: 38px; line-height: 1.03; font-weight: 600; }
.play-button { min-width: 147px; min-height: 42px; display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; padding: 0 13px; border: 0; border-radius: 3px; background: var(--white); color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; transition: background .2s, transform .2s; }
.play-button:hover { transform: translateY(-2px); background: var(--green); }
.play-button span { font-size: 16px; }
.feature-index { position: absolute; right: 23px; bottom: 41px; color: rgba(255,255,255,.7); font-size: 9px; letter-spacing: 1px; }

.platform-update { padding: 18px 7.1% 0; background: #f6faef; }
.platform-header { max-width: 1170px; margin: 0 auto 20px; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.platform-header h2 { margin-top: 10px; max-width: 580px; font-family: var(--display); font-size: clamp(28px, 3vw, 42px); line-height: 1.08; font-weight: 600; }
.platform-grid { max-width: 1170px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.platform-card { padding: 22px 22px 19px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); box-shadow: 0 12px 22px rgba(20, 33, 26, 0.04); }
.platform-card.is-featured { background: linear-gradient(180deg, #163f32 0%, #12362d 100%); border-color: transparent; color: #fff; }
.platform-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #edf5d8; color: #466936; font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.platform-card.is-featured .platform-pill { background: rgba(201, 242, 105, 0.18); color: #dff7ab; }
.platform-card h3 { margin: 14px 0 8px; font-family: var(--display); font-size: 21px; line-height: 1.15; }
.platform-card p { margin: 0; color: #60695f; font-size: 12px; line-height: 1.7; }
.platform-card.is-featured p { color: rgba(255,255,255,.8); }

.topics-section { padding: 71px 7.1% 80px; background: #fff; }
.section-heading { max-width: 1170px; margin: 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2, .how-intro h2 { margin: 12px 0 0; font-family: var(--display); font-size: 34px; line-height: 1.13; font-weight: 600; letter-spacing: 0; }
.search-box { width: 236px; height: 42px; padding: 0 10px 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.search-icon { color: #727b70; font-size: 24px; line-height: 1; transform: rotate(-18deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #878d84; }
.search-box:focus-within { border-color: #78963d; box-shadow: 0 0 0 2px #e6efda; }
.search-box kbd { min-width: 19px; height: 20px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 2px; color: #777f74; font-family: var(--body); font-size: 11px; }
.filter-row { max-width: 1170px; min-height: 63px; margin: 20px auto 17px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.filter-label, .topic-count { color: #777f74; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.filter-label { margin-right: 5px; }
.filter-chip { min-height: 27px; padding: 0 11px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: #71796f; cursor: pointer; font-size: 10px; font-weight: 600; transition: .18s ease; }
.filter-chip:hover { border-color: var(--line); color: var(--ink); }
.filter-chip.is-selected { border-color: var(--forest); background: var(--forest); color: var(--white); }
.topic-count { margin-left: auto; }
.topic-grid { max-width: 1170px; margin: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.topic-card { position: relative; min-height: 176px; padding: 18px 18px 15px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; transition: background .2s, transform .2s; animation: rise-in .35s both; }
.topic-card:hover { z-index: 1; transform: translateY(-3px); background: #f7faef; }
.topic-card-top { display: flex; justify-content: space-between; align-items: center; }
.topic-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; font-size: 19px; }
.topic-arrow { color: #8c9489; font-size: 19px; transition: transform .2s, color .2s; }
.topic-card:hover .topic-arrow { transform: translate(2px, -2px); color: var(--forest); }
.topic-title { margin: 17px 0 5px; font-family: var(--display); font-size: 16px; font-weight: 600; }
.topic-description { margin: 0; color: #777e74; font-size: 10px; line-height: 1.5; }
.topic-meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; color: #80877e; font-size: 9px; }
.topic-level { display: inline-flex; align-items: center; gap: 5px; }
.level-dot { width: 6px; height: 6px; border-radius: 50%; background: #85aa42; }
.empty-state { max-width: 1170px; margin: 25px auto; color: var(--muted); font-size: 14px; }

.how-section { padding: 87px 9.4%; display: grid; grid-template-columns: .85fr 1fr; gap: 10%; background: #e8efdf; }
.how-intro h2 { margin-top: 18px; font-size: 39px; }
.how-intro h2 span { color: #6c8f2d; }
.how-steps { border-top: 1px solid #cbd6c2; }
.how-step { min-height: 94px; padding: 18px 0; display: grid; grid-template-columns: 42px 1fr 22px; gap: 12px; align-items: start; border-bottom: 1px solid #cbd6c2; }
.step-number { padding-top: 4px; color: #778e63; font-family: var(--display); font-size: 11px; font-weight: 600; }
.how-step h3 { margin-bottom: 5px; font-family: var(--display); font-size: 14px; font-weight: 600; }
.how-step p { max-width: 380px; margin: 0; color: #636d5d; font-size: 11px; line-height: 1.55; }
.step-symbol { color: #64852d; font-size: 17px; text-align: right; }

.seo-section { padding: 88px 9.4% 95px; display: grid; grid-template-columns: .55fr 1fr; gap: 10%; background: #fff; }
.seo-label { display: flex; align-items: center; gap: 16px; }
.seo-rule { width: 42px; height: 1px; background: #a8b2a2; }
.seo-copy { max-width: 690px; }
.seo-copy h2 { margin-bottom: 18px; font-family: var(--display); font-size: 30px; line-height: 1.2; font-weight: 600; }
.seo-copy h3 { margin: 28px 0 9px; font-family: var(--display); font-size: 16px; font-weight: 600; }
.seo-copy p { color: #626a60; font-size: 13px; line-height: 1.8; }
.faq-block { padding-top: 8px; }
.faq-block h3 { margin-bottom: 12px; }
.faq-block details { border-top: 1px solid var(--line); }
.faq-block details:last-child { border-bottom: 1px solid var(--line); }
.faq-block summary { padding: 14px 0; cursor: pointer; font-size: 12px; font-weight: 600; list-style: none; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { float: right; color: #6b8b36; content: "+"; font-size: 17px; line-height: 12px; }
.faq-block details[open] summary::after { content: "−"; }
.faq-block details p { margin: -3px 28px 15px 0; font-size: 12px; }

.site-footer { min-height: 90px; padding: 20px 7.1%; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #1b352d; color: #f4f7ef; }
.footer-brand { font-size: 19px; }
.site-footer p, .back-top { margin: 0; color: #d2ddd0; font-size: 11px; }
.back-top { border-bottom: 1px solid #718178; padding-bottom: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 17px; }
.footer-links a { color: #d2ddd0; font-size: 11px; }
.footer-links a:hover { color: var(--green); }

.content-page { min-height: calc(100vh - 168px); padding: 86px 9.4% 100px; background: #fff; }
.content-inner { max-width: 850px; margin: 0 auto; }
.content-heading { max-width: 690px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.content-heading h1 { margin: 16px 0 15px; font-size: 53px; line-height: 1.08; }
.content-heading > p:last-child { max-width: 610px; margin: 0; color: #626a60; font-size: 15px; line-height: 1.75; }
.content-prose { max-width: 690px; padding-top: 12px; }
.content-prose h2 { margin: 31px 0 10px; font-family: var(--display); font-size: 20px; font-weight: 600; }
.content-prose p, .content-prose li { color: #626a60; font-size: 13px; line-height: 1.8; }
.content-prose ul { padding-left: 21px; }
.contact-action { min-height: 44px; margin: 8px 0 12px; padding: 0 16px; display: inline-flex; align-items: center; gap: 12px; border-radius: 3px; background: var(--forest); color: #fff; font-size: 12px; font-weight: 700; }
.contact-action:hover { background: #286451; }
.contact-note { color: #777e74; font-size: 11px !important; }

.quiz-dialog { width: min(610px, calc(100% - 32px)); max-width: none; max-height: min(760px, calc(100% - 32px)); padding: 0; overflow: auto; border: 0; background: transparent; color: var(--ink); }
.quiz-dialog::backdrop { background: rgba(12, 25, 20, .65); backdrop-filter: blur(4px); }
.quiz-shell { min-height: 490px; padding: 23px 28px 25px; display: flex; flex-direction: column; background: var(--paper); }
.quiz-topbar { display: flex; justify-content: space-between; align-items: center; }
.quiz-brand { font-size: 16px; }
.quiz-brand .brand-mark { width: 23px; height: 23px; border-radius: 7px; font-size: 16px; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 14px; }
.icon-button:hover { background: #e8efdf; }
.quiz-progress-meta { margin-top: 43px; display: flex; justify-content: space-between; color: #6f7968; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.progress-track { height: 3px; margin-top: 11px; overflow: hidden; background: #dce3d7; }
.progress-track span { width: 0; height: 100%; display: block; background: #769832; transition: width .3s; }
.question-area { padding: 26px 0 20px; }
.ad-break { padding: 24px 0 12px; }
.ad-break[hidden] { display: none; }
.ad-label { margin: 0 0 12px; color: #71776e; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.ad-container { min-height: 100px; background: #fff; }
.ad-placeholder { margin: 10px 0 0; color: #71776e; font-size: 11px; line-height: 1.5; }
.question-kicker { margin-bottom: 11px; color: #789339; font-size: 9px; font-weight: 700; letter-spacing: .9px; }
.question-title { margin: 0 0 23px; font-family: var(--display); font-size: 27px; line-height: 1.24; font-weight: 600; }
.answer-list { display: grid; gap: 9px; }
.answer-option { width: 100%; min-height: 48px; padding: 10px 13px; display: flex; align-items: center; gap: 11px; border: 1px solid #dce2d7; border-radius: 3px; background: #fff; text-align: left; cursor: pointer; font-size: 12px; transition: border-color .15s, background .15s; }
.answer-option:hover:not(:disabled) { border-color: #7d9e3a; background: #f9fcef; }
.answer-key { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; border-radius: 3px; background: #eff2eb; color: #60695e; font-size: 10px; font-weight: 700; }
.answer-option.is-correct { border-color: #70a044; background: #edf5e5; }
.answer-option.is-correct .answer-key { background: #70993e; color: white; }
.answer-option.is-wrong { border-color: #e58a77; background: #fdf0ed; }
.answer-option.is-wrong .answer-key { background: #d77967; color: white; }
.answer-option:disabled { cursor: default; }
.answer-explanation { min-height: 19px; margin: 11px 0 0; color: #55694b; font-size: 11px; line-height: 1.5; }
.quiz-footer { min-height: 47px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#quiz-feedback { color: #687164; font-size: 10px; }
.next-button { min-width: 123px; min-height: 40px; padding: 0 13px; display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; border: 0; border-radius: 3px; background: var(--forest); color: white; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .2s; }
.next-button:hover:not(:disabled) { background: #286451; }
.next-button:disabled { background: #a3ada0; cursor: not-allowed; }
.result-screen { padding: 47px 0 20px; text-align: center; }
.result-stamp { width: 62px; height: 62px; margin: 0 auto 19px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--forest); font-size: 26px; }
.result-screen h2 { margin-bottom: 7px; font-family: var(--display); font-size: 29px; }
.result-score { margin-bottom: 10px; color: #688534; font-family: var(--display); font-size: 48px; font-weight: 600; }
.result-screen p { margin-bottom: 25px; color: #697166; font-size: 12px; }
.result-actions { display: flex; justify-content: center; gap: 9px; }
.result-actions button { min-height: 40px; padding: 0 15px; border: 1px solid var(--forest); border-radius: 3px; background: var(--forest); color: white; cursor: pointer; font-size: 11px; font-weight: 700; }
.result-actions button.secondary { background: transparent; color: var(--forest); }

@keyframes rise-in { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 1100px) {
  .platform-header { flex-direction: column; align-items: flex-start; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar { padding-right: 5%; padding-left: 5%; }
  .intro { min-height: 500px; padding: 45px 5%; gap: 5%; }
  .featured-quiz { min-height: 385px; }
  .platform-update { padding-right: 5%; padding-left: 5%; }
  .topics-section { padding-right: 5%; padding-left: 5%; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-section, .seo-section { padding-right: 7%; padding-left: 7%; gap: 6%; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 65px; }
  .topbar { height: 64px; padding: 0 18px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 26px; height: 26px; }
  .main-nav { gap: 0; }
  .nav-link { display: none; }
  .nav-link.is-current { display: flex; margin-right: 15px; font-size: 11px; }
  .top-cta { padding: 10px 10px; font-size: 10px; }
  .top-cta span { margin-left: 3px; }
  .intro { padding: 41px 20px 48px; grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { padding-top: 0; }
  h1 { margin: 20px 0 14px; font-size: 53px; }
  .intro-text { max-width: 330px; margin-bottom: 20px; font-size: 13px; }
  .featured-quiz { min-height: 340px; max-height: 390px; }
  .feature-copy h2 { font-size: 34px; }
  .platform-update { padding: 18px 20px 0; }
  .platform-header h2 { max-width: 100%; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { padding: 20px 18px 17px; }
  .topics-section { padding: 54px 20px 59px; }
  .section-heading { align-items: start; flex-direction: column; gap: 19px; }
  .section-heading h2 { font-size: 28px; }
  .search-box { width: 100%; }
  .filter-row { margin: 17px auto 14px; padding: 12px 0; flex-wrap: wrap; gap: 5px; }
  .filter-label { width: 100%; margin-bottom: 3px; }
  .filter-chip { padding: 0 8px; font-size: 9px; }
  .topic-count { margin-left: auto; font-size: 8px; }
  .topic-card { min-height: 158px; padding: 13px 12px 12px; }
  .topic-icon { width: 34px; height: 34px; font-size: 17px; }
  .topic-title { margin-top: 13px; font-size: 14px; }
  .topic-description { font-size: 9px; }
  .topic-meta { font-size: 8px; }
  .how-section { padding: 59px 20px; grid-template-columns: 1fr; gap: 30px; }
  .how-intro h2 { font-size: 34px; }
  .how-step { min-height: 88px; grid-template-columns: 32px 1fr 20px; gap: 8px; }
  .seo-section { padding: 59px 20px 65px; grid-template-columns: 1fr; gap: 24px; }
  .seo-copy h2 { font-size: 26px; }
  .seo-copy p { font-size: 12px; }
  .site-footer { padding: 20px; flex-wrap: wrap; }
  .site-footer p { order: 3; width: 100%; }
  .footer-links { order: 4; width: 100%; gap: 14px; }
  .content-page { min-height: calc(100vh - 154px); padding: 58px 20px 70px; }
  .content-heading { padding-bottom: 27px; }
  .content-heading h1 { font-size: 39px; }
  .content-heading > p:last-child { font-size: 13px; }
  .content-prose h2 { font-size: 18px; }
  .quiz-shell { min-height: 480px; padding: 18px 18px 20px; }
  .quiz-progress-meta { margin-top: 34px; }
  .question-title { font-size: 23px; }
  .quiz-footer { align-items: end; }
  #quiz-feedback { max-width: 155px; line-height: 1.5; }
}

@media (max-width: 370px) {
  .topbar { padding: 0 12px; }
  .brand { gap: 6px; font-size: 18px; }
  .nav-link.is-current { margin-right: 9px; font-size: 10px; }
  .top-cta { padding: 9px 7px; font-size: 9px; }
  .intro { padding-right: 15px; padding-left: 15px; }
  .topics-section, .how-section, .seo-section { padding-right: 15px; padding-left: 15px; }
}