:root {
  --ink: #1d1d1f;
  --muted: #515154;
  --line: rgba(29, 29, 31, .11);
  --canvas: #f6f7f9;
  --card: rgba(255,255,255,.88);
  --blue: #0b57b7;
  --blue-dark: #073f86;
  --mint: #e8f7f1;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(28, 36, 46, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 30; height: 72px; display: flex; align-items: center; gap: 36px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(246,247,249,.78); border-bottom: 1px solid rgba(29,29,31,.07); backdrop-filter: blur(22px) saturate(160%); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--ink); font-weight: 750; }
.brand b { display: block; font-size: 15px; letter-spacing: -.01em; }
.brand small { display: block; color: var(--muted); margin-top: 2px; font-size: 10px; }
nav { display: flex; gap: 25px; color: #515154; font-size: 13px; }
nav a:hover { color: var(--blue); }
.install-button, .quiet-button { border: 1px solid var(--line); background: rgba(255,255,255,.75); border-radius: 999px; padding: 9px 14px; cursor: pointer; color: var(--ink); }
.safety-banner { width: min(1180px,calc(100% - 48px)); margin: 14px auto 0; padding: 13px 16px; display: flex; gap: 12px; align-items: start; color: #58320c; background: #fff4e5; border: 1px solid #f2d2aa; border-radius: 14px; font-size: 12px; line-height: 1.65; }
.safety-banner b { white-space: nowrap; color: #7b3f00; }

.hero { min-height: 660px; display: grid; grid-template-columns: 1.05fr .75fr; gap: 80px; align-items: center; padding-top: 48px; padding-bottom: 70px; }
.eyebrow { display: inline-block; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 17px 0 22px; font-size: clamp(48px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.065em; }
.hero-copy > p { max-width: 650px; color: var(--muted); line-height: 1.9; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin: 32px 0 38px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; cursor: pointer; border: 0; }
.primary-button { color: white; background: var(--blue); box-shadow: 0 12px 26px rgba(40,117,232,.22); }
.primary-button:hover { background: var(--blue-dark); }
.secondary-button { color: var(--blue); background: transparent; border: 1px solid rgba(40,117,232,.25); }
.hero-meta { display: flex; gap: 26px; color: var(--muted); font-size: 12px; }
.hero-meta b { display: block; color: var(--ink); font-size: 22px; margin-bottom: 4px; }
.hero-card { min-height: 460px; padding: 36px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, #ffffff 0%, #f0f4fb 55%, #e8f7f1 100%); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-xl); box-shadow: var(--shadow); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; top: -105px; right: -90px; background: rgba(40,117,232,.12); filter: blur(4px); }
.orb { width: 165px; height: 165px; position: absolute; left: 36px; top: 34px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #fff, #e9eef6); box-shadow: inset 0 0 0 13px rgba(40,117,232,.09), 0 22px 50px rgba(31,60,96,.14); }
.orb span { font-size: 39px; font-weight: 750; letter-spacing: -.05em; }
.orb small { color: var(--muted); margin-top: 4px; }
.today-card { position: relative; padding: 21px; border-radius: 20px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(15px); }
.today-card span, .today-card small { display: block; color: var(--muted); font-size: 11px; }
.today-card strong { display: block; margin: 8px 0 7px; font-size: 18px; }
.week-row { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; margin-top: 12px; }
.week-row span { height: 32px; display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.55); border-radius: 9px; font-size: 11px; }
.week-row .active { color: white; background: var(--ink); }

.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding-bottom: 120px; }
.metrics article { padding: 30px; background: var(--card); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); box-shadow: 0 12px 35px rgba(28,36,46,.05); }
.metrics article > span { color: var(--blue); font-size: 12px; font-weight: 750; }
.metrics h2 { margin: 28px 0 10px; font-size: 22px; letter-spacing: -.03em; }
.metrics p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 13px; }

.curriculum { padding-bottom: 120px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-head h2, .method h2 { margin: 10px 0 10px; font-size: clamp(34px,4vw,52px); letter-spacing: -.05em; }
.section-head p, .method-copy p { margin: 0; color: var(--muted); line-height: 1.75; }
.progress-summary { text-align: right; white-space: nowrap; }
.progress-summary b { font-size: 38px; letter-spacing: -.06em; }
.progress-summary span { color: var(--muted); font-size: 12px; }
.toolbar { display: grid; grid-template-columns: minmax(240px,1fr) 220px auto; gap: 10px; margin-bottom: 22px; }
.search { display: flex; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.search input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; }
select { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); }
.quiet-button { border-radius: 14px; background: white; }
.course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.course-card { min-height: 230px; padding: 23px; display: flex; flex-direction: column; text-align: left; border: 1px solid rgba(29,29,31,.07); border-radius: 22px; background: rgba(255,255,255,.82); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.course-card:hover { transform: translateY(-3px); border-color: rgba(40,117,232,.28); box-shadow: 0 18px 45px rgba(28,36,46,.08); }
.course-card.completed { background: linear-gradient(150deg,#fff,#edf8f3); }
.course-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
.day-chip { color: var(--blue); font-weight: 750; }
.done-mark { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #9aa0a6; border: 1px solid var(--line); }
.completed .done-mark { color: white; background: #39a775; border-color: #39a775; }
.course-card h3 { margin: 30px 0 10px; font-size: 19px; letter-spacing: -.025em; line-height: 1.35; }
.course-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.tags { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span, .dialog-tags span { padding: 5px 8px; border-radius: 999px; background: #f0f2f5; color: #5f6368; font-size: 10px; }
.empty-state { padding: 80px; text-align: center; color: var(--muted); }
.load-more { display: block; min-width: 180px; min-height: 46px; margin: 24px auto 0; padding: 0 20px; color: var(--blue); background: white; border: 1px solid rgba(40,117,232,.25); border-radius: 999px; cursor: pointer; }

.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 90px 70px; margin-bottom: 120px; background: var(--ink); color: white; border-radius: var(--radius-xl); }
.method-copy p { color: #a7a7ad; }
.method-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.method-list article { min-height: 170px; padding: 22px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); border-radius: 20px; }
.method-list b { color: #84b5ff; font-size: 12px; }
.method-list span { margin-top: auto; font-size: 18px; font-weight: 650; }
.method-list small { margin-top: 8px; color: #9f9fa5; line-height: 1.55; }
footer { min-height: 130px; padding: 0 max(24px,calc((100vw - 1180px)/2)); display: flex; justify-content: space-between; align-items: center; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
footer b { color: var(--ink); font-size: 15px; }

dialog { width: min(620px,calc(100% - 28px)); padding: 35px; border: 0; border-radius: 28px; color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.24); }
dialog::backdrop { background: rgba(14,18,24,.38); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 20px; top: 18px; width: 35px; height: 35px; border: 0; border-radius: 50%; color: var(--muted); background: #f1f2f4; cursor: pointer; font-size: 20px; }
.dialog-kicker { color: var(--blue); font-size: 12px; font-weight: 750; }
dialog h2 { margin: 12px 42px 8px 0; font-size: 30px; letter-spacing: -.04em; }
.dialog-module { color: var(--muted); font-size: 12px; }
.dialog-content { margin: 25px 0; display: grid; gap: 10px; }
.dialog-content { max-height: min(58vh,620px); overflow: auto; padding-right: 4px; }
.lesson-section { padding: 18px; background: #f4f5f7; border-radius: 16px; }
.lesson-section header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.lesson-section h3 { margin: 0; font-size: 16px; }
.lesson-section header span { color: var(--blue); font-size: 11px; font-weight: 750; }
.lesson-section p { white-space: pre-line; margin: 12px 0; color: #3f3f43; line-height: 1.75; font-size: 13px; }
.lesson-section ul { margin: 0; padding-left: 20px; color: #3f3f43; line-height: 1.75; font-size: 12px; }
.lesson-section h4 { margin: 15px 0 7px; color: #242426; font-size: 12px; }
.lesson-section blockquote { margin: 8px 0; padding: 11px 13px; color: #343438; background: #fff; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; line-height: 1.7; font-size: 12px; }
.lesson-section .rubric { display: grid; gap: 7px; }
.lesson-section .rubric li { list-style: none; margin-left: -20px; padding: 8px 10px; background: white; border-radius: 9px; }
.dialog-content:focus-visible { outline: 3px solid rgba(11,87,183,.28); outline-offset: 3px; border-radius: 14px; }
.risk-note { margin: 12px 0 18px; padding: 12px 14px; color: #633300; background: #fff2df; border: 1px solid #efd1aa; border-radius: 12px; line-height: 1.6; font-size: 11px; }
.dialog-tags { display: flex; gap: 6px; margin-bottom: 25px; }
.full { width: 100%; }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-card { width: min(520px,100%); margin: 0 auto; }
  .metrics, .course-grid { grid-template-columns: repeat(2,1fr); }
  .method { grid-template-columns: 1fr; gap: 40px; padding: 60px 38px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px,1180px); }
  .topbar { height: 64px; padding: 0 14px; }
  .safety-banner { width: calc(100% - 28px); display: block; margin-top: 10px; }
  .safety-banner b { display: block; margin-bottom: 4px; }
  .brand small { display: none; }
  .install-button { padding: 8px 11px; font-size: 12px; }
  .hero { min-height: auto; padding: 62px 0 80px; }
  .hero h1 { font-size: 46px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-meta { gap: 16px; }
  .hero-card { min-height: 420px; padding: 22px; }
  .orb { left: 22px; top: 24px; }
  .metrics, .course-grid, .method-list { grid-template-columns: 1fr; }
  .metrics { padding-bottom: 90px; }
  .section-head { align-items: start; }
  .progress-summary { display: none; }
  .toolbar { grid-template-columns: 1fr; }
  .method { width: 100%; border-radius: 0; padding: 60px 24px; margin-bottom: 60px; }
  footer { padding: 28px 18px; display: grid; gap: 8px; }
  dialog { padding: 28px 22px 22px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
.method-copy .eyebrow{color:#a9cbff}
