:root {
  color-scheme: light;
  --ink: #27382f;
  --muted: #718078;
  --green: #dff1df;
  --green-strong: #79a982;
  --pink: #f8d9e4;
  --pink-strong: #d7799b;
  --cream: #fcfaf6;
  --white: #fff;
  --line: #e9eee8;
  --shadow: 0 18px 55px rgba(48, 74, 57, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 20; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.topbar {
  height: 78px; padding: 0 7.3%; display: flex; align-items: center; justify-content: space-between;
  background: rgba(252, 250, 246, .94); border-bottom: 1px solid rgba(39, 56, 47, .06);
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: -.3px; }
.brand strong { color: var(--pink-strong); font-weight: 800; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: #477553; background: var(--green); border-radius: 11px; font-size: 13px; font-weight: 800; }
.top-nav { display: flex; gap: 37px; align-items: center; color: #627067; font-size: 13px; font-weight: 600; }
.top-nav a { transition: color .2s; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--pink-strong); }
.menu-toggle { display: none; }

.hero {
  min-height: 585px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  padding: 65px 11.8% 68px; background: linear-gradient(112deg, #f4f8ee 0%, #fbf5f4 56%, #f9e9ed 100%);
}
.hero::before { content: ""; width: 390px; height: 390px; position: absolute; left: -215px; bottom: -230px; border: 1px solid rgba(121, 169, 130, .23); border-radius: 50%; box-shadow: 0 0 0 40px rgba(121, 169, 130, .035), 0 0 0 80px rgba(121, 169, 130, .035); }
.hero-content { position: relative; z-index: 1; max-width: 550px; }
.eyebrow, .section-kicker { color: #77927d; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
.eyebrow { display: flex; gap: 9px; align-items: center; margin-bottom: 21px; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--pink-strong); border-radius: 50%; box-shadow: 0 0 0 4px rgba(215, 121, 155, .13); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: "Plus Jakarta Sans", sans-serif; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 5.2vw, 66px); letter-spacing: -3.4px; line-height: 1.12; font-weight: 800; }
h1 span, .section-heading h2 span, .about-section h2 span { color: var(--pink-strong); }
.hero-copy { max-width: 495px; margin-bottom: 25px; color: #6b7970; font-size: 14px; line-height: 1.9; }
.primary-button { min-height: 46px; display: inline-flex; align-items: center; gap: 18px; padding: 0 19px; border-radius: 9px; background: #3e6548; color: white; font-size: 12px; font-weight: 700; box-shadow: 0 7px 18px rgba(62, 101, 72, .18); transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: #31573b; }
.primary-button span { font-size: 17px; }
.hero-meta { margin-top: 19px; color: #8b968e; font-size: 11px; }
.hero-meta span { padding-right: 7px; color: var(--pink-strong); }
.hero-meta i { height: 3px; width: 3px; display: inline-block; margin: 0 8px 3px; background: #a8b3aa; border-radius: 50%; }
.hero-art { min-height: 340px; position: relative; display: grid; place-items: center; }
.art-orbit { position: absolute; border: 1px solid rgba(121, 169, 130, .23); border-radius: 50%; }
.orbit-one { width: 345px; height: 345px; }
.orbit-two { width: 285px; height: 285px; border-color: rgba(215, 121, 155, .23); }
.art-card { width: min(340px, 85%); min-height: 227px; z-index: 1; padding: 0 22px; border: 1px solid rgba(255,255,255,.8); border-radius: 15px; background: #2d4035; color: #e9f2e9; box-shadow: 0 22px 60px rgba(44, 66, 50, .2); transform: rotate(2deg); }
.art-card-top { height: 49px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
.art-card-top > span { width: 7px; height: 7px; border-radius: 50%; background: #e993aa; }
.art-card-top > span:nth-child(2) { background: #b1d8a9; }
.art-card-top > span:nth-child(3) { background: #efd28b; }
.art-card-top b { margin-left: auto; color: #a8b9ac; font-size: 10px; font-weight: 500; }
.code-lines { padding-top: 18px; font-family: Consolas, monospace; font-size: 12px; line-height: 1.25; }
.code-lines p { margin-bottom: 9px; }
.code-pink { color: #f1a1bb; }.code-green { color: #b6dda9; }.code-yellow { color: #f3d58b; }.code-comment { color: #92a99a; }
.code-lines .indent { padding-left: 22px; }
.art-card-bottom { display: flex; gap: 8px; align-items: center; margin-top: 14px; color: #b7c9bb; font-size: 9px; letter-spacing: .3px; }
.pulse { width: 6px; height: 6px; background: #a7d195; border-radius: 50%; box-shadow: 0 0 0 4px rgba(167, 209, 149, .13); }
.floating-note { position: absolute; z-index: 2; padding: 10px 13px; border: 1px solid rgba(255,255,255,.75); border-radius: 9px; background: rgba(255,255,255,.88); color: #637166; box-shadow: 0 7px 22px rgba(50,70,54,.09); font-size: 10px; font-weight: 600; }
.floating-note span { padding-right: 5px; color: var(--pink-strong); }
.note-top { top: 33px; left: 0; transform: rotate(-5deg); }.note-bottom { right: 2px; bottom: 36px; transform: rotate(4deg); }
.hero-sticker { position: absolute; top: 38px; right: 7%; width: 73px; height: 73px; display: grid; place-content: center; transform: rotate(10deg); border: 1px dashed rgba(215,121,155,.7); border-radius: 50%; color: #bd6d8a; font-size: 8px; font-weight: 800; letter-spacing: .5px; line-height: 1.4; text-align: center; }

.learning-path { max-width: 1080px; min-height: 172px; display: flex; align-items: center; justify-content: space-between; gap: 35px; margin: 0 auto; padding: 30px 26px; border-bottom: 1px solid var(--line); }
.path-heading h2 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.7px; }
.path-steps { display: flex; align-items: center; gap: 17px; }
.path-step { display: grid; grid-template-columns: 36px auto; grid-template-rows: 14px 22px; column-gap: 10px; min-width: 128px; align-items: center; }
.step-number { grid-column: 1; color: #99a69b; font-size: 9px; font-weight: 700; }
.step-icon { grid-column: 1; grid-row: 2; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--green); color: #5d8965; font-size: 14px; font-weight: 700; }
.path-step:nth-of-type(3) .step-icon { background: var(--pink); color: #c5718f; }
.path-step > span:last-child { grid-column: 2; grid-row: 2; color: #66736a; font-size: 11px; font-weight: 600; }
.path-arrow { color: #bdc7be; font-size: 15px; }

.materials-section { max-width: 1080px; margin: auto; padding: 95px 26px 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 47px; }
.section-heading h2, .about-section h2 { margin: 8px 0 0; font-size: 37px; letter-spacing: -1.8px; line-height: 1.25; }
.section-heading > p { max-width: 360px; margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.materials-layout { display: grid; grid-template-columns: 225px 1fr; align-items: start; gap: 37px; }
.lesson-nav { position: sticky; top: 104px; padding: 21px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.72); }
.nav-label { display: flex; justify-content: space-between; margin: 0 7px 12px; color: #9aa69d; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.nav-label span { color: #bdc7be; }
.lesson-link { min-height: 39px; display: flex; align-items: center; gap: 11px; padding: 0 9px; border-radius: 7px; color: #738078; font-size: 11px; font-weight: 600; transition: background .2s, color .2s; }
.lesson-link > span { color: #a6b0a8; font-size: 9px; }
.lesson-link:hover, .lesson-link.active { background: #eff6ed; color: #476b4e; }
.lesson-link.active > span { color: #6f9b74; }
.sidebar-note { display: flex; gap: 10px; margin-top: 21px; padding: 14px 9px 3px; border-top: 1px solid var(--line); }
.sidebar-note > span { color: var(--pink-strong); font-size: 17px; }
.sidebar-note p { margin: 0; color: #929c94; font-size: 10px; line-height: 1.7; }
.lesson-card { scroll-margin-top: 99px; margin-bottom: 18px; padding: 26px 29px 25px; border: 1px solid #edf0eb; border-radius: 13px; background: var(--white); box-shadow: 0 5px 18px rgba(43, 66, 48, .025); }
.lesson-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lesson-number { color: #a7b1a9; font-size: 10px; font-weight: 700; letter-spacing: .7px; }
.lesson-tag { padding: 4px 8px; border-radius: 5px; font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.tag-pink { background: #fbecf1; color: #ba6b87; }.tag-green { background: #edf6eb; color: #688b67; }.tag-lilac { background: #f2eef9; color: #8975ae; }
.lesson-card h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.7px; }
.lesson-intro { max-width: 680px; margin-bottom: 21px; color: #77837a; font-size: 12px; line-height: 1.8; }
.lesson-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.lesson-detail h4 { margin: 0 0 6px; color: #4a5d4e; font-size: 11px; font-weight: 700; }
.lesson-detail p, .compact-list { margin: 0; color: #78847b; font-size: 11px; line-height: 1.85; }
.compact-list { padding-left: 17px; }
.compact-list li { padding-left: 2px; margin-bottom: 3px; }
.compact-list strong { color: #586b5c; }
code { padding: 2px 4px; border-radius: 4px; background: #f2f5f0; color: #59775d; font-family: Consolas, monospace; font-size: .92em; }
.example-box { margin-top: 19px; padding: 13px 15px; border-left: 3px solid #b9d9b5; border-radius: 0 7px 7px 0; background: #f4f8f1; }
.example-label { display: block; margin-bottom: 4px; color: #809783; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.example-box p { margin: 0; color: #69796c; font-size: 11px; line-height: 1.8; }
.example-box pre { margin: 6px 0 0; overflow-x: auto; color: #526b57; font-family: Consolas, monospace; font-size: 11px; line-height: 1.8; white-space: pre-wrap; }
.practice { margin-top: 15px; padding-top: 11px; border-top: 1px solid #f0f2ef; }
.practice summary { width: fit-content; color: #ba718b; cursor: pointer; font-size: 10px; font-weight: 700; }
.practice p { margin: 9px 0 0; color: #77837a; font-size: 11px; line-height: 1.8; }
.symbol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 17px 0 21px; }
.symbol-item { min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 5px; border: 1px solid #edf0eb; border-radius: 8px; background: #fdfdfb; text-align: center; }
.symbol-item p { margin: 0; color: #858f87; font-size: 9px; line-height: 1.5; }
.symbol-item p strong { color: #526354; font-size: 10px; }
.symbol { width: 51px; height: 23px; display: grid; place-items: center; color: #628366; background: #eaf4e8; font-size: 8px; font-weight: 600; }
.shape-oval { border-radius: 50%; }.shape-rect { border-radius: 2px; }.shape-diamond { width: 26px; height: 26px; transform: rotate(45deg); border-radius: 2px; }.shape-diamond::first-letter { transform: rotate(-45deg); }
.shape-para { transform: skew(-18deg); border-radius: 2px; }
.end-note { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 20px; border: 1px solid #f2e5e9; border-radius: 11px; background: linear-gradient(105deg, #fcf2f5, #f2f8ed); }
.end-note > span { color: var(--pink-strong); font-size: 24px; }
.end-note strong { color: #526555; font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; }
.end-note p { margin: 3px 0 0; color: #879188; font-size: 10px; }

.about-section { min-height: 320px; position: relative; overflow: hidden; display: flex; align-items: center; gap: 55px; padding: 60px max(calc((100vw - 1028px) / 2), 7%); background: #eaf4e7; }
.about-section::after { content: ""; width: 330px; height: 330px; position: absolute; right: -80px; bottom: -210px; border: 1px solid rgba(104, 143, 105, .23); border-radius: 50%; box-shadow: 0 0 0 35px rgba(104, 143, 105, .04), 0 0 0 70px rgba(104, 143, 105, .04); }
.about-mark { width: 106px; height: 106px; flex: 0 0 106px; display: grid; place-items: center; transform: rotate(-8deg); border: 1px solid rgba(215,121,155,.45); border-radius: 28px; background: #f9e6ec; color: #bd708a; font-family: Consolas, monospace; font-size: 25px; font-weight: 700; }
.about-section h2 { margin-bottom: 12px; font-size: 30px; }
.about-section > div:nth-child(2) > p { max-width: 470px; margin: 0; color: #718174; font-size: 11px; line-height: 1.9; }
.about-section .section-kicker { color: #769078; }
.back-top { position: absolute; right: max(calc((100vw - 1028px) / 2), 7%); bottom: 45px; z-index: 1; color: #67816a; font-size: 10px; font-weight: 700; }
.footer { min-height: 81px; display: flex; align-items: center; justify-content: space-between; padding: 15px 7.3%; }
.footer-brand { font-size: 11px; }.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: 11px; }
.footer p { margin: 0; color: #9aa49c; font-size: 11px; }

@media (max-width: 850px) {
  .hero { padding-right: 7%; padding-left: 7%; }
  .hero-sticker { right: 4%; }
  .learning-path, .materials-section { margin-right: 3%; margin-left: 3%; }
  .path-steps { gap: 8px; }.path-step { min-width: 104px; }
  .materials-layout { grid-template-columns: 190px 1fr; gap: 20px; }
  .lesson-card { padding: 23px 21px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 75px; }
  .topbar { height: 66px; padding: 0 6%; }
  .menu-toggle { width: 38px; height: 38px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
  .menu-toggle span { width: 100%; height: 2px; background: #54715a; border-radius: 2px; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .top-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 6% 14px; border-bottom: 1px solid var(--line); background: var(--cream); box-shadow: 0 12px 18px rgba(39,56,47,.06); }
  .top-nav.open { display: flex; }.top-nav a { padding: 10px 0; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 10px; padding: 58px 7% 28px; }
  .hero-content { max-width: unset; }.hero h1 { font-size: clamp(43px, 12vw, 58px); letter-spacing: -2.7px; }
  .hero-copy { font-size: 13px; }.hero-art { min-height: 280px; }
  .orbit-one { width: 275px; height: 275px; }.orbit-two { width: 225px; height: 225px; }
  .art-card { width: min(310px, 83%); }.note-top { top: 25px; left: 3%; }.note-bottom { right: 2%; bottom: 22px; }
  .hero-sticker { top: 22px; right: 6%; width: 60px; height: 60px; font-size: 7px; }
  .learning-path { min-height: unset; flex-direction: column; align-items: flex-start; gap: 21px; padding: 30px 5px; }
  .path-heading h2 { font-size: 18px; }.path-steps { width: 100%; justify-content: space-between; gap: 4px; }
  .path-step { min-width: 0; grid-template-columns: 31px auto; column-gap: 6px; }.path-step > span:last-child { font-size: 9px; }.path-arrow { font-size: 12px; }
  .materials-section { padding: 67px 5px 72px; }
  .section-heading { display: block; margin-bottom: 27px; }.section-heading h2 { font-size: 32px; }
  .section-heading > p { margin-top: 14px; }
  .materials-layout { display: block; }
  .lesson-nav { position: static; display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; padding: 10px; scrollbar-width: thin; }
  .nav-label, .sidebar-note { display: none; }.lesson-link { flex: 0 0 auto; min-height: 34px; gap: 6px; padding: 0 9px; border: 1px solid transparent; font-size: 9px; }.lesson-link.active { border-color: #dcebd9; }
  .lesson-card { padding: 20px 17px; }.lesson-card h3 { font-size: 20px; }.lesson-detail { grid-template-columns: 1fr; gap: 15px; }
  .lesson-intro { font-size: 11px; }.lesson-detail p, .compact-list { font-size: 10px; }
  .symbol-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { min-height: unset; align-items: flex-start; gap: 20px; padding: 49px 7% 82px; }
  .about-mark { width: 62px; height: 62px; flex-basis: 62px; border-radius: 18px; font-size: 19px; }
  .about-section h2 { font-size: 25px; }.about-section > div:nth-child(2) > p { font-size: 10px; }
  .back-top { right: 7%; bottom: 30px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 9px; padding: 17px 7%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}