.page-tutorials { background: #f5f6f8; }
.page-tutorials .site-header { background: rgba(5, 7, 11, 0.96); }
.learn-width { width: min(calc(100% - 80px), 1280px); margin-inline: auto; }
.learn-hero { padding: 148px 0 72px; color: white; background: #080c13; border-bottom: 1px solid #202a38; }
.learn-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.learn-hero .eyebrow { color: #ff776f; }
.learn-hero h1 { margin: 22px 0 28px; font-size: clamp(2.8rem, 4.4vw, 4.6rem); line-height: 1.07; letter-spacing: -0.055em; }
.learn-hero h1 > span { color: #aebbcf; }
.learn-hero-lead { max-width: 680px; color: #d3dae4; font-size: 1.08rem; line-height: 1.75; }
.learn-hero-audience { max-width: 650px; margin: 22px 0 30px; color: #acb8c9; font-size: 0.94rem; }
.learn-hero .button { min-height: 52px; font-size: 0.88rem; }
.learn-hero-scan { overflow: hidden; background: #101722; border: 1px solid #2e3a4e; border-radius: 18px; box-shadow: 0 28px 80px rgba(0,0,0,0.3); transform: perspective(1400px) rotateY(-4deg); }
.learn-scan-top, .learn-player-top { display: flex; gap: 10px; align-items: center; padding: 15px 18px; color: #d8e1ee; font-size: 0.75rem; letter-spacing: 0.025em; }
.learn-scan-top > span:last-child, .learn-player-top > span:last-child { margin-left: auto; color: #a6b5c9; font: 0.67rem ui-monospace, monospace; white-space: nowrap; }
.learn-signal { width: 6px; height: 6px; flex: 0 0 auto; background: #ff645c; border-radius: 50%; box-shadow: 0 0 14px rgba(255,100,92,0.45); }
.learn-scan-image { position: relative; overflow: hidden; aspect-ratio: 1.23; background: black; }
.learn-scan-image img { width: 155%; max-width: none; height: 140%; object-fit: cover; object-position: center; transform: translate(-20%, -9%); }
.learn-scan-image::after { position: absolute; inset: 0; content: ''; pointer-events: none; box-shadow: inset 0 0 50px rgba(0,0,0,0.28); }
.learn-scan-legend { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 15px 18px; color: #c0cddd; font-size: 0.69rem; }
.learn-scan-legend > span { display: flex; align-items: center; gap: 7px; }
.learn-dot { width: 7px; height: 7px; border-radius: 50%; }
.learn-dot-blue { background: #69a8ed; } .learn-dot-red { background: #ff706c; } .learn-dot-green { background: #7ddf97; }
.learn-hero-detail { padding-block: 132px 48px; }
.learn-hero-detail h1 { font-size: clamp(2.3rem, 3.5vw, 3.6rem); }
.learn-hero-detail .learn-hero-scan { max-width: 410px; justify-self: end; }
.learn-hero-detail .learn-hero-grid { grid-template-columns: 1fr; }
.learn-hero-detail .learn-hero-grid > div { max-width: 1050px; }
.learn-breadcrumb { margin-bottom: 28px; color: #aebbcf; font-size: 0.77rem; }
.learn-breadcrumb a { color: #e2e8f1; }
.learn-breadcrumb > span { margin-left: 8px; }
.learn-main { padding-block: 64px; scroll-margin-top: 100px; }
.learn-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 70px; margin-bottom: 36px; }
.learn-intro .eyebrow, .learn-reading > .eyebrow { color: #a91d19; }
.learn-intro h2 { margin-bottom: 0; font-size: clamp(2.2rem, 3.6vw, 3.5rem); }
.learn-intro > p { margin: 0; color: #566071; font-size: 0.9rem; }
.learn-selector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 54px; border-block: 1px solid #cfd5df; }
.learn-selector > a { display: flex; gap: 12px; align-items: center; min-height: 78px; padding: 16px 18px; text-decoration: none; font-size: 0.84rem; font-weight: 600; border-bottom: 3px solid transparent; }
.learn-selector > a + a { border-left: 1px solid #dce1e8; }
.learn-selector > a > span:last-child { margin-left: auto; font-size: 0.74rem; color: #728095; }
.learn-selector-icon { color: #596a80; font-size: 1.3rem; }
.learn-selector > a:hover { background: #e9edf3; }
.learn-selector > a[aria-current] { background: white; border-bottom-color: #e8322b; color: #a31915; }
.learn-selector > a[aria-current] .learn-selector-icon { color: #d72b25; }
.learn-module { margin-bottom: 60px; scroll-margin-top: 186px; }
.learn-module[hidden] { display: none; }
.learn-module:last-child { margin-bottom: 0; }
.learn-workspace { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(36px, 5.5vw, 76px); }
.learn-reading { min-width: 0; }
.learn-reading > h2 { margin-bottom: 26px; font-size: clamp(2rem, 3.1vw, 2.95rem); line-height: 1.1; }
.learn-overview { color: #445063; font-size: 0.97rem; line-height: 1.85; }
.learn-terms { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 25px 0 30px; padding: 0; }
.learn-terms li { padding: 5px 10px; color: #3a506f; background: #e6ebf3; border-radius: 4px; font-size: 0.72rem; }
.learn-chapters { border-top: 1px solid #cbd3de; }
.learn-chapter { scroll-margin-top: 186px; border-bottom: 1px solid #cbd3de; }
.learn-chapter > summary { display: grid; grid-template-columns: 44px 1fr 18px; align-items: baseline; gap: 14px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 0.95rem; font-weight: 650; line-height: 1.5; }
.learn-chapter > summary::-webkit-details-marker { display: none; }
.learn-time { color: #67778d; font: 0.75rem ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.learn-chapter-toggle { color: #63738a; font-size: 1.15rem; font-weight: 400; }
.learn-chapter[open] > summary { color: #a31a16; }
.learn-chapter[open] .learn-chapter-toggle { transform: rotate(45deg); }
.learn-chapter-body { padding: 0 0 26px 18px; margin-bottom: 5px; border-left: 2px solid #e3322c; }
.learn-chapter-body > h3 { font-size: 1.05rem; margin: 0 0 18px; line-height: 1.5; letter-spacing: -0.015em; }
.learn-chapter-body > p { margin-bottom: 18px; color: #3d495c; font-size: 0.96rem; line-height: 1.85; }
.learn-task { margin-top: 22px; padding: 18px 20px; background: #e9eef4; border-radius: 6px; }
.learn-task strong { color: #334b6e; font-size: 0.77rem; }
.learn-task p { margin: 6px 0 0; font-size: 0.85rem; line-height: 1.7; color: #384a62; }
.learn-play-chapter { display: inline-flex; align-items: center; gap: 10px; padding: 13px 0 0; color: #a11b17; background: none; border: 0; font-size: 0.8rem; font-weight: 650; cursor: pointer; }
.learn-play-chapter:hover { text-decoration: underline; }
.learn-play-chapter .learn-time { color: inherit; }
.learn-lesson-links { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; font-size: 0.83rem; }
.learn-lesson-links a { color: #394e6c; }
.learn-screen { position: sticky; top: 186px; max-height: calc(100dvh - 206px); overflow-y: auto; scrollbar-width: thin; min-width: 0; padding-bottom: 22px; }
.learn-selector { position: sticky; top: 88px; z-index: 30; background: #f5f6f8; }
.learn-player-shell { overflow: hidden; background: #111b29; border: 1px solid #253247; border-radius: 12px; box-shadow: 0 16px 48px rgba(15,29,50,0.12); }
.learn-video-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; overflow: hidden; background: black; }
.learn-video-placeholder { position: absolute; inset: 0; }
.learn-video-placeholder > img { width: 100%; height: 100%; object-fit: cover; }
.learn-video-open { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; color: white; background: rgba(0,0,0,0.28); border: 0; cursor: pointer; text-shadow: 0 2px 12px black; font-size: 0.85rem; font-weight: 650; }
.learn-play-circle { display: grid; place-items: center; width: 70px; height: 70px; padding-left: 3px; color: white; background: #e8332b; border: 1px solid #ff8d87; border-radius: 50%; box-shadow: 0 7px 24px rgba(0,0,0,0.24); font-size: 1.25rem; }
.learn-video-open:hover .learn-play-circle { background: #c91f1a; transform: scale(1.05); }
.learn-video-open:focus-visible { outline-offset: -5px; }
.learn-video-start { font: 0.73rem ui-monospace, monospace; color: #f5f6f8; }
.learn-video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.learn-now { position: relative; display: grid; gap: 5px; padding: 16px 18px 20px; }
.learn-now > span { color: #93a6c0; font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.09em; }
.learn-now > strong { color: #e9eff9; font-size: 0.86rem; font-weight: 500; }
.learn-video-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; appearance: none; border: 0; background: #26354b; }
.learn-video-progress::-webkit-progress-bar { background: #26354b; }
.learn-video-progress::-webkit-progress-value { background: #ff6a61; }
.learn-video-progress::-moz-progress-bar { background: #ff6a61; }
.learn-step-controls { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 0; }
.learn-step-controls[hidden] { display: none; }
.learn-step-controls button { display: flex; align-items: center; gap: 9px; padding: 10px 0; color: #324b70; background: none; border: 0; font-size: 0.75rem; cursor: pointer; }
.learn-step-controls button:disabled { color: #8993a0; cursor: default; }
.learn-video-tools { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; color: #63718a; font-size: 0.69rem; }
.learn-video-tools .video-withdraw { margin: 0; font-size: 0.67rem; }
.learn-check { margin-top: 24px; padding: 23px; border: 1px solid #d3dbe6; border-radius: 10px; background: #edf1f6; }
.learn-current-check, .is-enhanced .learn-inline-check { display: none; }
.is-enhanced .learn-current-check { display: block; }
.learn-check .eyebrow { color: #566c8c; font-size: 0.61rem; margin-bottom: 14px; }
.learn-check h3 { margin-bottom: 16px; font-size: 1.12rem; line-height: 1.4; letter-spacing: -0.02em; }
.learn-check summary { display: flex; justify-content: space-between; cursor: pointer; color: #3c5276; font-size: 0.77rem; list-style: none; }
.learn-check summary::-webkit-details-marker { display: none; }
.learn-check details > p { margin: 18px 0 0; color: #3d4d63; font-size: 0.86rem; line-height: 1.8; }
.learn-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; padding-block: 50px 70px; border-top: 1px solid #d1d9e4; }
.learn-faq h2 { max-width: 480px; font-size: clamp(2rem,3vw,3rem); }
.learn-faq details { border-bottom: 1px solid #cfd8e4; padding: 20px 0; }
.learn-faq details:first-child { padding-top: 0; }
.learn-faq summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; }
.learn-faq details > p { margin: 20px 0 0; color: #46566d; font-size: 0.95rem; line-height: 1.85; }
.learn-practice { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 54px; padding: 54px; color: white; background: #111b29; border-radius: 16px; }
.learn-practice .eyebrow { color: #ff8077; }
.learn-practice h2 { font-size: clamp(2.1rem,3.3vw,3.3rem); }
.learn-practice p:not(.eyebrow) { color: #c0ccdc; font-size: 0.95rem; }
.learn-practice > img { width: 100%; border-radius: 10px; }
.learn-practice-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 0.8rem; }
.learn-practice-actions .button { font-size: 0.82rem; min-height: 50px; }
.learn-sources { padding-block: 34px 56px; color: #637087; font-size: 0.72rem; }
.learn-sources p { margin-bottom: 12px; }
.learn-sources nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
@media (max-width: 1050px) {
  .learn-width { width: calc(100% - 48px); }
  .learn-hero-grid { gap: 38px; }
  .learn-intro { gap: 36px; }
  .learn-selector > a { padding: 14px 12px; font-size: 0.76rem; gap: 8px; }
  .learn-workspace { gap: 32px; }
  .learn-practice { padding: 36px; }
}
@media (max-width: 850px) {
  .learn-selector { position: static; }
  .learn-module, .learn-chapter { scroll-margin-top: 96px; }
  .learn-hero-grid, .learn-hero-detail .learn-hero-grid { grid-template-columns: 1fr; }
  .learn-hero { padding-top: 130px; }
  .learn-hero-scan { max-width: 590px; width: 100%; transform: none; }
  .learn-scan-image { aspect-ratio: 1.8; }
  .learn-hero-detail .learn-hero-scan { display: none; }
  .learn-hero h1 { font-size: clamp(2.8rem, 6.7vw, 4.5rem); }
  .learn-intro { grid-template-columns: 1fr; gap: 20px; }
  .learn-selector { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .learn-selector > a { min-height: 66px; padding: 15px; font-size: 0.82rem; }
  .learn-selector > a:nth-child(3) { border-left: 0; border-top: 1px solid #dce1e8; }
  .learn-selector > a:nth-child(4) { border-top: 1px solid #dce1e8; }
  .learn-workspace { display: flex; flex-direction: column; gap: 32px; }
  .learn-screen { position: static; order: -1; max-height: none; overflow: visible; width: 100%; }
  .learn-check { margin-top: 20px; }
  .learn-reading { width: 100%; }
  .learn-faq { grid-template-columns: 1fr; gap: 24px; }
  .learn-practice { grid-template-columns: 1fr; }
  .learn-practice > img { max-height: 300px; object-fit: cover; }
}
@media (max-width: 500px) {
  .learn-width { width: calc(100% - 36px); }
  .learn-hero { padding-block: 118px 40px; }
  .learn-hero h1 { font-size: 2.8rem; }
  .learn-hero-detail h1 { font-size: 2.25rem; }
  .learn-hero-lead { font-size: 1rem; }
  .learn-hero-audience { font-size: 0.89rem; }
  .learn-main { padding-block: 40px; }
  .learn-selector { margin-bottom: 30px; }
  .learn-selector > a { padding: 12px 8px; font-size: 0.72rem; }
  .learn-selector-icon { font-size: 1.1rem; }
  .learn-intro h2 { font-size: 2.25rem; }
  .learn-reading > h2 { font-size: 2rem; }
  .learn-chapter > summary { grid-template-columns: 39px 1fr 14px; gap: 10px; font-size: 0.9rem; }
  .learn-chapter-body { padding-left: 12px; }
  .learn-chapter-body > p, .learn-overview { font-size: 0.94rem; }
  .learn-play-chapter { flex-wrap: wrap; text-align: left; }
  .learn-video-tools { flex-wrap: wrap; }
  .learn-practice { padding: 28px 22px; }
  .learn-practice h2 { font-size: 2.1rem; }
  .learn-scan-legend { gap: 11px; font-size: 0.62rem; }
}
@media (prefers-reduced-motion: reduce) { .learn-hero-scan, .learn-play-circle { transform: none !important; } }
