:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-strong: #eef4fb;
  --ink: #101828;
  --muted: #5d6b82;
  --subtle: #8290a6;
  --line: #dbe3ef;
  --primary: #0c4a6e;
  --primary-dark: #082f49;
  --accent: #21b6a8;
  --accent-soft: #d9f5f1;
  --warning: #c5872f;
  --shadow: 0 18px 50px rgba(15, 35, 58, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

.tinted {
  background: #eef4f8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(219, 227, 239, 0.7);
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(15, 35, 58, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(12, 74, 110, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #e8f1f8);
  color: var(--primary);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-fallback {
  position: absolute;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 94px;
  background:
    linear-gradient(120deg, rgba(12, 74, 110, 0.08), transparent 36%),
    radial-gradient(circle at 78% 24%, rgba(33, 182, 168, 0.14), transparent 28%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 74, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 74, 110, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.signal {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(33, 182, 168, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 660px;
  font-size: clamp(46px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 0;
  color: #21354c;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 700;
}

.section-heading p,
.contact-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 47, 73, 0.18);
}

.btn-primary:hover {
  background: #06354f;
}

.hero-visual {
  min-width: 0;
}

.visual-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(12, 74, 110, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(33, 182, 168, 0.12), transparent 38%);
  pointer-events: none;
}

.visual-topline,
.task-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.visual-topline b,
.task-header strong {
  color: var(--primary);
}

.stage-map {
  position: relative;
  display: grid;
  gap: 14px;
}

.stage-node {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.stage-node span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--primary);
  font-weight: 800;
}

.stage-node.active {
  border-color: rgba(33, 182, 168, 0.48);
  background: #f5fffd;
}

.stage-node strong,
.stage-node small {
  position: relative;
}

.stage-node small {
  color: var(--muted);
}

.map-line {
  width: 2px;
  height: 20px;
  margin-left: 40px;
  background: var(--line);
}

.teacher-note {
  position: relative;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.teacher-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.teacher-note span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: #0f766e;
  font-weight: 800;
}

.teacher-note p {
  margin: 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 18px;
}

.four-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.class-card,
.compare-card,
.fit-card,
.proof-item,
.task-card,
.qr-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 35, 58, 0.045);
}

.info-card,
.class-card,
.compare-card,
.fit-card,
.proof-item {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.class-card:hover,
.proof-item:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 182, 168, 0.42);
  box-shadow: var(--shadow);
}

.card-index {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 900;
}

.info-card p,
.class-card p,
.proof-item p,
.compare-card li,
.fit-card li,
.stage-card p,
.flow-step p {
  color: var(--muted);
}

.section-summary {
  margin: 28px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
  color: #21354c;
  font-size: 18px;
  font-weight: 800;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.flow-step {
  position: relative;
  min-height: 260px;
  padding: 28px;
  background: #ffffff;
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 900;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -12px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #ffffff;
  transform: rotate(45deg);
}

.stage-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.stage-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(12, 74, 110, 0.16);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.stage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stage-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--primary);
  font-weight: 900;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.class-card {
  grid-column: span 2;
  min-height: 250px;
}

.class-featured {
  grid-column: span 4;
  background:
    linear-gradient(120deg, rgba(33, 182, 168, 0.09), transparent 52%),
    #ffffff;
}

.class-more {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 250px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.58);
  color: var(--subtle);
  text-align: center;
}

.class-more strong {
  color: var(--subtle);
  font-size: 32px;
  line-height: 1;
}

.class-more p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.class-more:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(15, 35, 58, 0.045);
}

.notice {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(197, 135, 47, 0.22);
  border-radius: 8px;
  background: #fffaf1;
  color: #7a551e;
  font-weight: 800;
}

.task-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 52px;
  align-items: start;
}

.task-card {
  padding: 28px;
}

.task-card h3 {
  margin-bottom: 22px;
  font-size: 22px;
}

.task-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.task-tier {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.task-tier-standard {
  border-color: rgba(33, 182, 168, 0.34);
  background:
    linear-gradient(145deg, rgba(33, 182, 168, 0.12), transparent 50%),
    #ffffff;
}

.tier-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.tier-heading span {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 900;
}

.tier-heading strong {
  color: var(--accent);
  font-size: 14px;
}

.task-tier p,
.completion-box p,
.task-note {
  color: var(--muted);
}

.task-tier ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.task-tier li {
  position: relative;
  padding-left: 20px;
  color: #334155;
  font-size: 14px;
}

.task-tier li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.completion-box {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(12, 74, 110, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.completion-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.completion-box p {
  margin-bottom: 0;
}

.task-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #f3fbf9;
  font-weight: 700;
}

.compare-grid,
.fit-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.compare-card {
  padding: 32px;
}

.compare-card h3 {
  font-size: 24px;
}

.primary-card {
  border-color: rgba(33, 182, 168, 0.34);
  background:
    linear-gradient(145deg, rgba(33, 182, 168, 0.11), transparent 44%),
    #ffffff;
}

.muted-card {
  background: #f8fafc;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card li,
.fit-card li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid rgba(219, 227, 239, 0.8);
}

.compare-card li::before,
.check-list li::before,
.cross-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.compare-card li::before,
.check-list li::before {
  content: "✓";
}

.cross-list li::before {
  content: "×";
  color: #a15252;
}

.audience-section {
  background: #ffffff;
}

.fit-card {
  background: #f8fafc;
}

.fit-card h3 {
  margin-bottom: 18px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.proof-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 47, 73, 0.96), rgba(12, 74, 110, 0.94)),
    var(--primary-dark);
}

.contact-grid {
  align-items: center;
}

.contact-copy h2 {
  max-width: 640px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-copy .section-kicker {
  color: var(--accent);
}

.contact-copy small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section .btn-primary {
  margin-top: 16px;
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: none;
}

.qr-card {
  justify-self: end;
  width: min(100%, 360px);
  padding: 22px;
  color: var(--ink);
  text-align: center;
}

.qr-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px dashed rgba(12, 74, 110, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(45deg, #f6f9fc 25%, transparent 25%),
    linear-gradient(-45deg, #f6f9fc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f6f9fc 75%),
    linear-gradient(-45deg, transparent 75%, #f6f9fc 75%);
  background-color: #ffffff;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
  overflow: hidden;
}

.qr-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.qr-placeholder span {
  color: var(--subtle);
  font-weight: 800;
}

.qr-card p {
  margin: 16px 0 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.faq-container {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 22px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.site-footer {
  padding: 44px 0 72px;
  background: #071824;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: start;
}

.site-footer strong {
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  margin: 6px 0;
}

.footer-contact {
  display: grid;
  gap: 6px;
}

.footer-contact span {
  color: #fff;
  font-weight: 800;
}

.copyright {
  color: rgba(255, 255, 255, 0.52);
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .task-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 680px;
  }

  .four-grid,
  .flow,
  .stage-timeline,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .class-card,
  .class-featured {
    grid-column: span 3;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section-pad {
    padding: 66px 0;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: auto;
  }

  .brand small,
  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .four-grid,
  .flow,
  .stage-timeline,
  .compare-grid,
  .fit-grid,
  .contact-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .class-grid {
    grid-template-columns: 1fr;
  }

  .class-card,
  .class-featured,
  .class-more {
    grid-column: auto;
  }

  .task-tier-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    justify-self: stretch;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 60;
    display: grid;
    place-items: center;
    min-height: 50px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(8, 47, 73, 0.28);
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 520px) {
  .section-pad {
    padding: 56px 0;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .section-heading p,
  .contact-copy p {
    font-size: 16px;
  }

  .visual-panel,
  .task-card,
  .compare-card,
  .fit-card,
  .info-card,
  .class-card,
  .proof-item,
  .stage-card,
  .flow-step {
    padding: 20px;
  }

  .stage-node {
    grid-template-columns: 42px 1fr;
  }

  .stage-node span {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
