:root {
  color-scheme: light;
  --ink: #181a2e;
  --muted: #606277;
  --blue: #146fe8;
  --blue-dark: #0758bd;
  --orange: #fb7a2d;
  --orange-dark: #b84d10;
  --purple: #8b45ed;
  --lavender: #f0edff;
  --surface: #fff;
  --line: #e6e4f3;
  --shadow: 0 18px 46px rgba(69, 72, 153, .10);
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Quicksand', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbf9ff; font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 1.6; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
button:focus-visible, a:focus-visible { outline: 3px solid #9c65fb; outline-offset: 4px; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(221,219,239,.8); background: rgba(251,249,255,.85); backdrop-filter: blur(16px); }
.nav-shell { max-width: 1280px; margin: auto; min-height: 78px; padding: 12px 32px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-dark); font: 800 22px/1.12 var(--font-head); letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-link { padding: 10px 13px; border-radius: 999px; color: #46485b; font: 700 14px var(--font-head); transition: color .18s, background .18s; }
.nav-link:hover, .nav-link.active { color: var(--blue-dark); background: #eaf1ff; }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--blue); }
.button { min-height: 48px; border: 0; border-radius: 999px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; font: 800 14px var(--font-head); transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 4px 0 #cb5d1b, 0 11px 22px rgba(251,122,45,.20); }
.button-primary:hover { background: #ff8a42; box-shadow: 0 4px 0 #cb5d1b, 0 15px 26px rgba(251,122,45,.28); }
.button-blue { color: white; background: var(--blue); box-shadow: 0 4px 0 #0b54bc; }
.button-outline { color: var(--blue-dark); border: 1.5px solid #aac6f3; background: #fff; }
.mobile-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-size: 21px; }
main { overflow: hidden; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.hero { min-height: 520px; padding: 68px 0 74px; display: grid; grid-template-columns: .94fr 1.06fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; color: #fff; background: var(--purple); font: 700 13px var(--font-head); box-shadow: 0 8px 20px rgba(139,69,237,.18); }
.hero h1 { max-width: 540px; margin: 20px 0 14px; font: 800 clamp(42px, 5.2vw, 68px)/1.05 var(--font-head); letter-spacing: -.065em; }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 470px; margin: 0 0 28px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-art { position: relative; min-height: 370px; display: grid; place-items: center; }
.hero-image-shell { position: relative; width: min(100%, 530px); height: 350px; border: 1px solid rgba(255,255,255,.9); border-radius: 34px; overflow: hidden; background: linear-gradient(135deg,#e2edff,#f4eaff 50%,#fff1e5); box-shadow: 0 28px 65px rgba(76,93,180,.18); transform: rotate(1deg); }
.hero-image-shell::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(32,34,73,.25)); pointer-events: none; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.float-chip { position: absolute; z-index: 2; padding: 11px 16px; border: 1px solid rgba(255,255,255,.85); border-radius: 17px; background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(66,69,142,.14); backdrop-filter: blur(12px); font: 700 13px var(--font-head); }
.float-chip.one { top: 20px; left: -15px; color: var(--blue-dark); }
.float-chip.two { right: -10px; bottom: 24px; color: #6f35bd; }
.orbit { position: absolute; width: 470px; height: 295px; border: 1.5px dashed rgba(20,111,232,.19); border-radius: 50%; transform: rotate(-15deg); }
.star { position: absolute; color: #ffac39; animation: twinkle 2.5s ease-in-out infinite alternate; }
.star.s1 { top: 35px; right: 62px; font-size: 26px; }
.star.s2 { bottom: 48px; left: 10px; color: var(--purple); animation-delay: .6s; }
@keyframes twinkle { from { opacity: .5; transform: scale(.86) rotate(-8deg); } to { opacity: 1; transform: scale(1.12) rotate(10deg); } }
.section { padding: 70px 0; }
.section.tinted { background: linear-gradient(180deg,#f5f2ff,#f1efff); }
.section-heading { margin: 0 auto 30px; max-width: 680px; text-align: center; }
.section-heading h2 { margin: 0 0 9px; font: 800 clamp(27px,3vw,36px)/1.22 var(--font-head); letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.heading-row h2 { margin: 0; font: 800 30px/1.25 var(--font-head); letter-spacing: -.04em; }
.text-link { color: var(--blue-dark); font: 800 14px var(--font-head); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.feature-card, .lesson-card, .tip-card, .quiz-panel, .contact-card { border: 1px solid rgba(195,197,231,.45); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.feature-card { padding: 28px; transition: transform .2s, box-shadow .2s; }
.feature-card:hover, .lesson-card:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(69,72,153,.14); }
.icon-tile { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 17px; color: white; background: var(--blue); font-size: 25px; }
.icon-tile.purple { background: var(--purple); }
.icon-tile.orange { background: var(--orange); }
.feature-card h3, .lesson-card h3, .tip-card h3 { margin: 0 0 9px; font: 800 20px/1.3 var(--font-head); letter-spacing: -.025em; }
.feature-card p, .lesson-card p, .tip-card p { margin: 0; color: var(--muted); }
.mission-card { position: relative; overflow: hidden; border-radius: 24px; min-height: 285px; background: #dce8ff; box-shadow: var(--shadow); }
.mission-card img { width: 100%; height: 100%; min-height: 285px; object-fit: cover; transition: transform .4s; }
.mission-card:hover img { transform: scale(1.035); }
.mission-card::after { position: absolute; inset: 35% 0 0; content: ''; background: linear-gradient(transparent,rgba(20,24,55,.82)); }
.mission-copy { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: white; }
.mission-copy h3 { margin: 0 0 4px; font: 800 19px var(--font-head); }
.mission-copy p { margin: 0; color: rgba(255,255,255,.88); font-size: 14px; }
.callout { margin: 10px 0; padding: 32px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(115deg,#e4eaff,#f4eaff 56%,#fff0e6); box-shadow: var(--shadow); }
.callout h2 { margin: 0 0 6px; font: 800 27px var(--font-head); }
.callout p { max-width: 620px; margin: 0; color: var(--muted); }
.page-hero { padding: 56px 0 34px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 15px; }
.page-hero h1 { margin: 0 0 11px; color: var(--blue-dark); font: 800 clamp(34px,4.5vw,50px)/1.17 var(--font-head); letter-spacing: -.05em; }
.page-hero p { max-width: 690px; margin: auto; color: var(--muted); font-size: 18px; }
.lesson-card { padding: 18px; display: flex; flex-direction: column; min-height: 420px; transition: transform .2s, box-shadow .2s; }
.lesson-image { width: 100%; height: 178px; border-radius: 18px; object-fit: cover; background: #e8ecff; }
.lesson-body { padding: 17px 5px 3px; display: flex; flex: 1; flex-direction: column; }
.lesson-body h3 { color: var(--blue-dark); font-size: 21px; }
.lesson-body p { font-size: 15px; }
.lesson-bottom { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.level { color: #7a35cb; font: 800 13px var(--font-head); }
.level span { color: #f49a2e; letter-spacing: 2px; }
.tip-card { padding: 26px; }
.tip-card .icon-tile { margin-bottom: 14px; }
.tip-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.tip-card li { padding: 4px 0; }
.safety-banner { display: grid; grid-template-columns: 1fr .7fr; gap: 30px; align-items: center; margin: 28px 0 64px; padding: 30px; border-radius: 28px; background: #efedff; box-shadow: var(--shadow); }
.safety-banner h2 { margin: 0 0 8px; font: 800 27px var(--font-head); }
.safety-banner p { color: var(--muted); }
.safety-banner img { width: 100%; height: 220px; object-fit: cover; border-radius: 20px; }
.quiz-wrap { padding: 24px 0 70px; }
.quiz-status { display: flex; justify-content: center; gap: 12px; margin: 10px auto 30px; }
.status-pill { padding: 9px 15px; border-radius: 999px; color: #4d3992; background: #ece7ff; font: 800 13px var(--font-head); }
.quiz-layout { display: grid; grid-template-columns: 1.7fr .8fr; gap: 26px; align-items: start; }
.quiz-question { margin: 0 0 20px; padding: 20px 23px; border-radius: 22px 22px 22px 6px; color: white; background: linear-gradient(115deg,#8d44ed,#a454f5); font: 800 clamp(20px,2.5vw,27px)/1.35 var(--font-head); box-shadow: 0 12px 26px rgba(139,69,237,.18); }
.quiz-panel { padding: 25px; }
.answer-list { display: grid; gap: 13px; }
.answer-option { width: 100%; min-height: 66px; padding: 14px 17px; border: 1px solid #e5e5f3; border-radius: 17px; display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; cursor: pointer; box-shadow: 0 8px 17px rgba(50,56,122,.05); transition: border .18s, transform .18s, background .18s; }
.answer-option:hover:not(:disabled) { transform: translateY(-2px); border-color: #ac91eb; background: #fcfaff; }
.answer-letter { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #3c3d51; background: #ece9ff; font: 800 14px var(--font-head); }
.answer-option.correct { border-color: #5cb888; background: #effcf5; }
.answer-option.correct .answer-letter { color: #fff; background: #37a770; }
.answer-option.incorrect { border-color: #f1998a; background: #fff4f2; }
.answer-option.incorrect .answer-letter { color: #fff; background: #db6b5a; }
.answer-option:disabled { cursor: default; }
.quiz-feedback { min-height: 28px; margin: 16px 0 8px; font-weight: 700; }
.quiz-next { margin-top: 4px; }
.score-card { position: sticky; top: 102px; padding: 29px 22px; text-align: center; background: linear-gradient(145deg,#fff,#fff4ed); }
.trophy { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: white; box-shadow: 0 8px 22px rgba(111,77,80,.10); font-size: 35px; }
.score-card h3 { margin: 0 0 7px; color: #b84d10; font: 800 20px var(--font-head); }
.score-card p { margin: 0; color: var(--muted); }
.progress-track { height: 11px; margin: 20px 0 8px; border-radius: 999px; overflow: hidden; background: #ebe9f4; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f7a034,#f7722d); transition: width .3s; }
.score-label { font: 800 13px var(--font-head); color: #77788b; }
.result-panel { text-align: center; padding: 38px 20px; }
.result-panel .trophy { font-size: 42px; }
.result-panel h2 { font: 800 30px var(--font-head); }
.site-footer { padding: 28px 0; background: #ece9ff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; align-items: center; gap: 20px; }
.footer-brand { color: #99430b; font: 800 22px var(--font-head); letter-spacing: -.04em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; color: #505165; font-size: 13px; }
.footer-nav a:hover { color: var(--blue-dark); text-decoration: underline; }
.contact-line { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px 14px; color: #355d9b; font-size: 13px; }
.contact-line a:hover { text-decoration: underline; }
.footer-copy { grid-column: 1/-1; margin-top: -7px; color: #727286; font-size: 12px; text-align: right; }
.empty-state { padding: 40px; text-align: center; }
@media (max-width: 900px) {
  .nav-shell { gap: 16px; padding-inline: 22px; }
  .brand { font-size: 19px; }
  .nav-link { padding-inline: 9px; font-size: 13px; }
  .nav-shell > .button { padding-inline: 16px; }
  .hero { gap: 28px; }
  .hero-art { min-height: 300px; }
  .hero-image-shell { height: 295px; }
  .grid-3 { gap: 15px; }
  .footer-inner { grid-template-columns: 1fr 1.3fr; }
  .contact-line { grid-column: 1/-1; justify-content: start; }
  .footer-copy { grid-column: 1/-1; }
}
@media (max-width: 680px) {
  .nav-shell { min-height: 68px; padding: 10px 18px; flex-wrap: wrap; }
  .brand { font-size: 18px; }
  .brand-mark { width: 35px; height: 35px; }
  .mobile-toggle { display: grid; place-items: center; }
  .nav-shell > .button { display: none; }
  .nav-links { display: none; order: 3; width: 100%; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 20px; flex-direction: column; align-items: stretch; gap: 3px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 15px; }
  .wrap { width: min(100% - 32px, 540px); }
  .hero { min-height: auto; padding: 44px 0 52px; grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(42px,12vw,58px); }
  .hero-copy { font-size: 17px; }
  .hero-art { min-height: 270px; margin-inline: 6px; }
  .hero-image-shell { height: 260px; border-radius: 25px; }
  .orbit { width: 95%; height: 230px; }
  .float-chip.one { left: -5px; top: 12px; }
  .float-chip.two { right: -4px; bottom: 14px; }
  .section { padding: 52px 0; }
  .section-heading p { font-size: 15px; }
  .heading-row { align-items: center; }
  .heading-row h2 { font-size: 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .feature-card { padding: 23px; }
  .mission-card, .mission-card img { min-height: 245px; }
  .callout { padding: 24px; align-items: start; flex-direction: column; }
  .page-hero { padding: 44px 0 27px; }
  .page-hero p { font-size: 16px; }
  .lesson-card { min-height: auto; }
  .lesson-image { height: 205px; }
  .safety-banner { grid-template-columns: 1fr; padding: 22px; }
  .safety-banner img { height: 195px; }
  .quiz-status { margin-bottom: 20px; }
  .quiz-layout { grid-template-columns: 1fr; }
  .score-card { position: static; order: -1; padding: 19px; }
  .score-card .trophy { width: 55px; height: 55px; margin-bottom: 8px; font-size: 28px; }
  .score-card p { font-size: 14px; }
  .progress-track { margin-block: 12px 5px; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
  .contact-line { grid-column: auto; justify-content: start; flex-direction: column; gap: 5px; }
  .footer-copy { grid-column: auto; text-align: left; margin: 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; }
}
