:root {
  --primary: #ca5b1e;
  --primary-dark: #a94b1d;
  --green: #17564c;
  --green-soft: #e8f2ed;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --ink: #1b2725;
  --muted: #6b7280;
  --line: #e4ded3;
  --serif: "Source Han Serif CN", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 20; height: 72px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(228, 222, 211, .72); background: rgba(248, 247, 243, .94); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; width: max-content; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { display: flex; gap: 36px; color: #4f5956; font-size: 14px; }
nav a:hover, .footer-links a:hover { color: var(--primary); }
.header-download { justify-self: end; padding: 10px 20px; color: white; background: var(--primary); border-radius: 999px; font-size: 14px; font-weight: 600; }

.hero { min-height: calc(100dvh - 72px); max-width: 1180px; margin: 0 auto; padding: 58px 24px 42px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 58px; overflow: hidden; }
.eyebrow, .section-kicker { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.hero h1 { margin: 18px 0 20px; font-family: var(--serif); font-size: clamp(58px, 7vw, 94px); line-height: 1; font-weight: 900; }
.hero-lead { max-width: 520px; margin: 0; color: #4f5956; font-size: clamp(18px, 2vw, 23px); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { min-width: 144px; padding: 15px 28px; border-radius: 999px; text-align: center; font-weight: 700; }
.button-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 28px rgba(202,91,30,.2); }
.button-primary:hover, .header-download:hover { background: var(--primary-dark); }
.text-link { color: var(--green); font-weight: 700; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.sun-disc { position: absolute; top: 30px; right: 38px; width: 330px; height: 330px; border-radius: 50%; background: #eac68a; opacity: .52; }
.phone { position: relative; width: 330px; height: 640px; padding: 10px; border-radius: 46px; background: #18231f; box-shadow: 0 36px 70px rgba(23,86,76,.18); transform: rotate(2deg); }
.phone-screen { height: 100%; overflow: hidden; border-radius: 37px; background: var(--paper); }
.phone-status { height: 29px; padding: 9px 18px 0; display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; }
.app-bar { height: 45px; display: grid; place-items: center; background: white; font-family: var(--serif); font-size: 15px; font-weight: 700; }
.live-panel { margin: 12px; padding: 20px 18px; color: white; border-radius: 22px; background: linear-gradient(145deg, #a94b1d, #ca6a31); }
.live-tag { display: inline-block; padding: 5px 10px; color: #8e3f1c; background: #fff4ec; border-radius: 999px; font-size: 10px; font-weight: 700; }
.live-panel p { margin: 18px 0 4px; font-size: 11px; opacity: .8; }
.live-panel h2 { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.4; }
.countdown { margin-top: 22px; padding-top: 13px; display: flex; justify-content: space-between; align-items: end; border-top: 1px solid rgba(255,255,255,.25); font-size: 10px; }
.countdown strong { font-size: 18px; }
.schedule { margin: -1px 12px 0; padding: 20px 17px 8px; border-radius: 20px; background: white; box-shadow: 0 8px 25px rgba(61,48,36,.06); }
.schedule-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 13px; border-bottom: 1px solid #eee9e1; font-family: var(--serif); font-size: 16px; }
.schedule-head span { padding: 4px 8px; color: var(--green); background: var(--green-soft); border-radius: 999px; font: 700 9px var(--sans); }
.lesson { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #f0ece5; }
.lesson:last-child { border: 0; }
.lesson b { width: 38px; height: 38px; display: grid; place-items: center; color: #74817d; background: #f1efea; border-radius: 12px; font-size: 12px; }
.lesson.active b { color: white; background: #df4e47; }
.lesson span { min-width: 0; display: grid; gap: 3px; }
.lesson strong { overflow: hidden; font-family: var(--serif); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.lesson small { color: #8a9691; font-size: 9px; }
.lesson.active small { color: #df4e47; }
.seal { position: absolute; right: 30px; bottom: 68px; padding: 13px 10px; color: var(--primary); border: 2px solid var(--primary); font-family: var(--serif); font-size: 13px; line-height: 1.08; font-weight: 900; transform: rotate(5deg); }

.intro { padding: 108px max(24px, calc((100vw - 1180px) / 2)); background: white; }
.intro-grid { margin-top: 26px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: end; }
.intro-grid h2, .course-copy h2, .service-heading h2, .download-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.2vw, 56px); line-height: 1.35; }
.intro-grid p, .service-heading > p:last-child, .download-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.feature-strip { margin-top: 74px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-strip article { padding: 34px 44px 0 0; }
.feature-strip article + article { padding-left: 44px; border-left: 1px solid var(--line); }
.feature-strip span { color: var(--primary); font: 700 13px var(--sans); }
.feature-strip h3 { margin: 18px 0 10px; font-family: var(--serif); font-size: 24px; }
.feature-strip p { margin: 0; color: var(--muted); line-height: 1.75; }

.course-showcase { max-width: 1180px; margin: 0 auto; padding: 120px 24px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items: center; }
.course-image { position: relative; min-height: 540px; overflow: hidden; border-radius: 16px; background: var(--green); }
.course-image img { width: 100%; height: 540px; object-fit: cover; filter: saturate(.88); }
.image-caption { position: absolute; inset: auto 0 0; padding: 34px; display: grid; gap: 5px; color: white; background: linear-gradient(transparent, rgba(10,36,32,.9)); }
.image-caption span { font-size: 13px; opacity: .78; }
.image-caption strong { font-family: var(--serif); font-size: 25px; }
.course-copy h2 { margin: 18px 0 42px; }
.point-list > div { padding: 22px 0; display: grid; grid-template-columns: 100px 1fr; border-top: 1px solid var(--line); }
.point-list b { color: var(--green); }
.point-list p { margin: 0; color: var(--muted); line-height: 1.7; }

.service-section { padding: 108px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; color: white; background: var(--green); }
.service-heading .section-kicker { color: #f1c28f; }
.service-heading h2 { margin: 18px 0 26px; }
.service-heading > p:last-child { color: rgba(255,255,255,.7); }
.service-list { border-top: 1px solid rgba(255,255,255,.22); }
.service-list article { padding: 26px 0; display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.22); }
.service-list img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.1)); }
.service-list h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 22px; }
.service-list p { margin: 0; color: rgba(255,255,255,.66); }

.download-section { max-width: 1180px; margin: 0 auto; padding: 120px 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: center; }
.download-copy h2 { margin: 18px 0 18px; }
.store-buttons { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.store-button { min-width: 218px; padding: 13px 20px; display: grid; gap: 2px; color: white; background: var(--ink); border-radius: 12px; }
.store-button span { font-size: 11px; opacity: .68; }
.store-button strong { font-size: 15px; }
.store-button[aria-disabled="true"] { cursor: pointer; opacity: .76; }
.version { margin-top: 18px !important; font-size: 13px !important; }
.download-mark { justify-self: center; display: grid; justify-items: center; }
.download-mark img { width: 190px; height: 190px; border-radius: 38px; box-shadow: 0 28px 55px rgba(23,86,76,.16); }
.download-mark strong { margin-top: 22px; font-family: var(--serif); font-size: 28px; }
.download-mark span { margin-top: 7px; color: var(--muted); font-size: 14px; }

footer { padding: 38px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 20px 50px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand strong { color: var(--ink); font-size: 15px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: end; }
footer > p { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.notice { position: fixed; left: 50%; bottom: 30px; z-index: 40; padding: 12px 20px; color: white; background: var(--ink); border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: .2s ease; }
.notice.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; height: 64px; }
  nav { display: none; }
  .hero { min-height: auto; padding-top: 62px; grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: 62px; }
  .hero-visual { min-height: 610px; }
  .intro-grid, .course-showcase, .service-section, .download-section { grid-template-columns: 1fr; gap: 52px; }
  .intro-grid { align-items: start; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip article, .feature-strip article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .course-showcase { padding-top: 86px; padding-bottom: 86px; }
  .course-image, .course-image img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .download-mark { grid-row: 1; }
}

@media (max-width: 520px) {
  .header-download { padding: 9px 15px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { gap: 18px; }
  .button { min-width: 130px; padding: 14px 22px; }
  .hero-visual { min-height: 540px; margin: 0 -6px; }
  .phone { width: 285px; height: 552px; border-radius: 40px; }
  .phone-screen { border-radius: 32px; }
  .sun-disc { width: 270px; height: 270px; right: 0; }
  .seal { right: 5px; bottom: 58px; }
  .intro, .service-section { padding-top: 76px; padding-bottom: 76px; }
  .intro-grid h2, .course-copy h2, .service-heading h2, .download-copy h2 { font-size: 34px; }
  .point-list > div { grid-template-columns: 1fr; gap: 8px; }
  .store-buttons { display: grid; }
  .store-button { width: 100%; }
  .download-mark img { width: 150px; height: 150px; border-radius: 30px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
