* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #182a2d; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #e88e20; outline-offset: 4px; }
.site { --canvas: #f7faf7; --paper: #fff; --ink: #172826; --muted: #465c58; --accent: #17624d; --button-text: #fff; --line: #d6e2dc; --wash: #e5eee8; background: var(--canvas); color: var(--ink); }
.wrap { width: min(100% - 80px, 1230px); margin-inline: auto; }
.site-header { background: var(--canvas); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 67px; gap: 20px; }
.brand, .header-inner nav { display: flex; align-items: center; gap: 24px; }
.brand { gap: 9px; white-space: nowrap; font-size: 17px; font-weight: 800; }
.brand-icon { width: 33px; height: 33px; object-fit: contain; }
.header-inner nav { font-size: 14px; font-weight: 700; }
.header-inner a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-download { border-left: 1px solid var(--line); padding-left: 24px; }
.hero { position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: 70px; line-height: 1.14; letter-spacing: 0; font-weight: 800; }
.hero-copy p { font-size: 18px; line-height: 1.8; margin-top: 16px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border-radius: 5px; padding: 9px 14px; font-size: 14px; line-height: 1.35; font-weight: 700; border: 1px solid transparent; }
.primary { background: var(--accent); color: var(--button-text); }
.secondary { border-color: currentColor; background: transparent; color: inherit; }
.action:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-image { min-height: 510px; background: #dce7df; }
.hero-overlap { position: relative; min-height: inherit; display: flex; align-items: center; }
.studio .hero-copy { max-width: min(373px, 34vw); }
.hero-carousel { position: absolute; z-index: 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding-block: 19px 10px; }
@media (width > 740px) {
  .hero-carousel {
    --carousel-gutter: max(28px, calc((100% - 1230px) / 2));
    --carousel-offset: min(104px, calc(var(--carousel-gutter) - 12px));
    inset-block: 0;
    inset-inline-start: max(44%, calc(39% + var(--carousel-offset)));
    inset-inline-end: calc(var(--carousel-gutter) - var(--carousel-offset));
  }
}
.hero-slides { min-height: 0; display: grid; place-items: center; }
.hero-slide { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.hero-slide[hidden] { display: none; }
.hero-slide-controls { display: flex; align-items: center; justify-content: center; }
.hero-slide-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--accent); }
.hero-slide-controls button:hover { background: #f0f6f1; }
.hero-slide-dot::after { content: ""; width: 10px; height: 10px; border: 1px solid var(--accent); border-radius: 50%; }
.hero-slide-dot[aria-pressed="true"]::after { background: var(--accent); }
.hero-rotation { font-size: 15px; font-weight: 800; }
.band { padding: 57px 0; scroll-margin-top: 58px; }
h2 { font-size: 33px; line-height: 1.3; margin-bottom: 24px; }
h3 { font-size: 20px; line-height: 1.4; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 29px; }
.feature { display: grid; align-content: start; gap: 12px; border-top: 1px solid var(--line); padding: 19px 0 22px; }
.feature-tag, .feature-link { color: var(--accent); font-size: 13px; font-weight: 700; }
.feature p, .lesson-detail p { color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 7px; }
.feature-link:hover { text-decoration: underline; }
.tutorials { background: var(--wash); }
.tutorial-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.tutorial-heading h2 { margin: 0; }
.tutorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 28%, 420px); gap: 32px; align-items: start; }
.player-panel { min-width: 0; position: sticky; top: 16px; scroll-margin-top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.player-frame { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #1b2428; overflow: hidden; }
.player-frame img, .player-frame video { width: 100%; height: 100%; min-height: 0; object-fit: contain; position: absolute; inset: 0; }
.play { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; padding-left: 7px; background: #fff; color: #172826; border: 0; border-radius: 50%; box-shadow: 0 3px 18px #0005; }
.play:hover { background: #e5eee8; }
.player-error { position: absolute; bottom: 13px; left: 13px; right: 13px; padding: 6px 10px; background: #20292d; color: #fff; border-radius: 4px; font-size: 13px; }
.lesson-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px 20px; }
.lesson-list { display: grid; gap: 2px; }
.lesson { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 9px; text-align: left; align-items: center; color: var(--ink); background: transparent; border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 4px; padding: 11px 12px; min-height: 58px; }
.lesson:hover, .lesson[aria-pressed="true"] { background: var(--paper); border-color: var(--line); }
.lesson-copy { display: grid; gap: 4px; font-size: 13px; line-height: 1.4; }
.lesson-copy small { color: var(--muted); }
.lesson-arrow { font-size: 19px; }
.video-download-dialog { width: min(100% - 24px, 590px); max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.video-download-dialog::backdrop { background: #121d20a6; }
.video-download-dialog form { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; max-height: min(740px, 100dvh - 34px); }
.video-download-heading, .video-download-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; }
.close-dialog { width: 34px; height: 34px; background: transparent; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font-size: 22px; }
.select-all-videos { display: flex; align-items: center; gap: 8px; padding: 4px 20px 12px; font-size: 14px; font-weight: 700; cursor: pointer; }
.video-download-dialog input { width: 17px; height: 17px; flex-shrink: 0; margin: 0; accent-color: var(--accent); cursor: pointer; }
.video-download-list { margin: 0; padding: 4px 20px; list-style: none; overflow-y: auto; overscroll-behavior: contain; border-block: 1px solid var(--line); }
.video-download-list li { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.video-download-list li:last-child { border-bottom: 0; }
.video-download-list label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-block: 10px; cursor: pointer; }
.video-file-link { flex-shrink: 0; min-height: 36px; display: inline-flex; align-items: center; padding: 4px 8px; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.video-download-footer p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.video-download-footer button { flex-shrink: 0; }
.video-download-footer button:disabled { opacity: .5; cursor: default; text-decoration: none; }
.download-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.download-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px; padding: 23px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.download-card p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.android-download-card { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px 12px; }
.android-download-card .action { justify-self: center; white-space: nowrap; }
.download-qr { justify-self: end; text-align: center; }
.download-qr img { border: 1px solid var(--line); border-radius: 5px; }
.download-qr figcaption { margin-top: 5px; color: var(--muted); font-size: 12px; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .footer-inner > a:last-child { font-size: 13px; }

@media (width > 740px) {
  .lesson-list {
    contain: size;
    align-self: stretch;
    align-content: start;
    min-height: 0;
    padding: 4px;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-color: #739288 #d6e2dc;
  }
}
@media (min-width: 1001px) {
  .tutorials .wrap { width: min(100% - 80px, 1460px); }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero h1 { font-size: 57px; }
  .hero-image { min-height: 430px; }
  .studio .hero-copy { max-width: min(315px, 34vw); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 38px); }
  .header-inner, .footer-inner { min-height: 54px; gap: 8px; }
  .brand { font-size: 14px; gap: 6px; }
  .brand-icon { width: 25px; height: 25px; }
  .header-inner nav { gap: 12px; font-size: 12px; }
  .header-download { padding-left: 10px; }
  .hero h1 { font-size: 47px; }
  .hero-copy p { font-size: 15px; margin-top: 9px; line-height: 1.65; }
  .hero-actions { margin-top: 15px; gap: 8px; }
  .action { min-height: 40px; padding: 7px 10px; font-size: 13px; }
  .hero-image { min-height: 0; display: flex; flex-direction: column-reverse; }
  .hero-carousel { position: static; height: clamp(224px, 62vw, 386px); flex: 0 0 auto; padding: 0 19px 10px; }
  .hero-overlap { padding-block: 24px 16px; }
  .studio .hero-copy { max-width: 100%; }
  .band { padding-block: 30px; }
  h2 { font-size: 25px; margin-bottom: 16px; }
  h3 { font-size: 17px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .feature { padding-block: 12px; gap: 8px; }
  .tutorial-layout { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .tutorial-heading { margin-bottom: 16px; }
  .player-panel { position: static; }
  .lesson-detail { padding: 13px; }
  .download-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .download-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (740px < width < 960px), (width < 480px) {
  .android-download-card { grid-template-columns: minmax(0, 1fr) auto; }
  .download-qr { grid-column: 2; grid-row: 1 / span 2; }
  .android-download-card .action { grid-column: 1; grid-row: 2; justify-self: start; }
}
.android-download-card { padding-block: 12px; }
