:root { --learn-accent: #a8f06e; --learn-night: #101b18; }

.reader-chrome { position: fixed; z-index: 70; right: 18px; bottom: max(16px, env(safe-area-inset-bottom)); color: #e9f7ed; }
.reader-bar { display: flex; align-items: center; gap: 5px; padding: 6px; border: 1px solid #3f5449; border-radius: 12px; background: #17241e; box-shadow: 0 6px 24px #00130e35; }
.reader-bar button, .reader-speed select { font: 650 .82rem system-ui, sans-serif; white-space: nowrap; min-height: 36px; border: 1px solid transparent; border-radius: 7px; padding: 0 10px; color: inherit; background: transparent; cursor: pointer; }
.reader-bar .reader-play { background: var(--learn-accent); color: #10220e; min-width: 79px; }
.reader-bar .reader-tap[aria-pressed="true"] { color: var(--learn-accent); background: #283e2b; }
.reader-bar button:disabled { opacity: .5; cursor: default; }
.reader-bar button:focus-visible, .reader-speed select:focus-visible { outline: 2px solid #c5ff99; outline-offset: 2px; }
.reader-speed select { background: #222f29; padding-inline: 5px; color-scheme: dark; }
.reader-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.reader-current { outline: 2px solid #689841; outline-offset: 4px; border-radius: 3px; }
.reader-current:not(a,button,select,input) { background-color: color-mix(in srgb, #a8f06e 19%, transparent); }
.reader-tap-enabled [data-read-target]:not(a,button,summary,select,input,label,[tabindex]) { cursor: pointer; }
@media (max-width: 600px) {
  .reader-chrome { bottom: max(8px, env(safe-area-inset-bottom)); right: 8px; left: 8px; }
  .reader-bar { justify-content: center; }
  .reader-bar button, .reader-speed select { min-height: 40px; }
}
@media print { .reader-chrome { display: none; } }

body.learn { margin: 0; background: #f2f4ec; color: #18291f; font-family: 'Segoe UI', system-ui, sans-serif; }
.learn a { color: inherit; }
.learn-header { border-bottom: 1px solid #d6ddcf; }
.learn-header-inner, .learn-main { width: min(1100px, 100% - 56px); margin: auto; }
.learn-header-inner { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.learn-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.14rem; font-weight: 740; letter-spacing: -.045em; text-decoration: none; }
.learn-brand-mark { width: 22px; height: 22px; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(-10deg); }
.learn-brand-mark i { background: #274636; border-radius: 2px; }
.learn-brand-mark i:last-child { background: #619848; }
.learn-header nav { display: flex; gap: 18px; font-size: .9rem; }
.learn-header nav a { text-decoration: none; font-weight: 600; }
.learn-header nav a:hover { text-decoration: underline; }
.learn-main { padding: 36px 0 108px; }
.learn-hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; background: #13251b; color: #eff6e9; min-height: 350px; padding: clamp(25px, 5.3vw, 67px); border-radius: 21px; }
.learn-hero h1 { color: inherit; font: 740 clamp(3.25rem, 7.5vw, 6.55rem)/.95 'Segoe UI', sans-serif; letter-spacing: -.085em; margin: 15px 0 20px; }
.learn-hero p { max-width: 470px; color: #c4d5c9; margin: 0; font-size: clamp(1rem, 2vw, 1.16rem); }
.learn-hero .learn-kicker { color: var(--learn-accent); }
.learn-kicker { margin: 0; color: #3e6135; font: 690 .76rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.learn-hero .learn-kicker { font-size: .76rem; }
.learn-scope { position: relative; margin: 0; aspect-ratio: 1.28; border: 1px solid #456553; border-radius: 12px; overflow: hidden; background: linear-gradient(90deg, #395443 1px, transparent 1px) 50% 50% / 12.5% 100%, linear-gradient(#395443 1px, transparent 1px) 50% 50% / 100% 16.666%, #162b1f; }
.learn-scope .trace { position: absolute; height: 3px; background: #a8f06e; box-shadow: 0 0 12px #9fff65a0; }
.learn-scope .trace:nth-child(1) { width: 18%; left: 0; top: 65%; }
.learn-scope .trace:nth-child(2) { width: 19%; left: 18%; top: 65%; transform: rotate(-51deg); transform-origin: 0 50%; }
.learn-scope .trace:nth-child(3) { width: 16%; left: 29.8%; top: 46%; transform: rotate(46deg); transform-origin: 0 50%; }
.learn-scope .trace:nth-child(4) { width: 27%; left: 40.9%; top: 60.8%; transform: rotate(-56deg); transform-origin: 0 50%; }
.learn-scope .trace:nth-child(5) { width: 25%; left: 55.9%; top: 32.3%; transform: rotate(36deg); transform-origin: 0 50%; }
.learn-scope .trace:nth-child(6) { width: 24%; left: 76%; top: 51%; }
.learn-scope .trace:nth-child(7) { width: 8px; height: 8px; border-radius: 50%; left: 55%; top: 31%; }
.learn-library { margin-top: 40px; }
.learn-library h2, .learn-topic-head h1 { font-weight: 740; letter-spacing: -.06em; margin: 8px 0 10px; }
.learn-library h2 { font-size: clamp(2rem, 5vw, 3rem); }
.learn-library > p, .learn-topic-head > p { color: #47594d; max-width: 680px; margin: 0 0 22px; }
.learn-library > .learn-kicker, .learn-topic-head > .learn-kicker { margin-bottom: 0; }
.learn-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.learn-card { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: 23px; border: 1px solid #d3dccf; border-radius: 13px; background: #fbfdf8; }
.learn-card h3 { margin: 9px 0 7px; letter-spacing: -.042em; font-size: 1.43rem; }
.learn-card p:not(.learn-kicker) { color: #47594d; margin: 0 0 18px; }
.learn-card a { margin-top: auto; font-weight: 680; text-underline-offset: 4px; }
.learn-topic-head { margin: 15px 0 34px; }
.learn-topic-head h1 { font-size: clamp(3.25rem, 8vw, 6rem); line-height: 1; }
@media (max-width: 690px) {
  .learn-main, .learn-header-inner { width: calc(100% - 32px); }
  .learn-main { padding-top: 22px; }
  .learn-hero { grid-template-columns: 1fr; gap: 20px; }
  .learn-scope { width: min(260px, 100%); }
  .learn-courses { grid-template-columns: 1fr; }
}
