:root {
  --navy: #17365f;
  --navy-deep: #102a4c;
  --blue: #2f6fce;
  --blue-soft: #eaf2ff;
  --teal: #347c78;
  --gold: #c49a52;
  --ink: #172033;
  --text: #3c485c;
  --muted: #6f7c8f;
  --line: #dce3ec;
  --surface: #ffffff;
  --background: #f5f7fa;
  --shadow: 0 18px 48px rgba(18, 42, 76, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--background); font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 20; top: 0; right: 0; left: 0; height: 76px; border-bottom: 1px solid rgba(220, 227, 236, .88); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; width: min(1440px, calc(100% - 48px)); height: 100%; margin: 0 auto; }
.portal-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.portal-brand .brand-mark, .footer-brand .brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; border-radius: 8px; background: var(--navy); box-shadow: 0 8px 18px rgba(23, 54, 95, .18); }
.portal-brand .brand-mark svg, .footer-brand .brand-mark svg { width: 23px; height: 23px; }
.portal-brand strong, .portal-brand small { display: block; }
.portal-brand strong { font-size: 16px; line-height: 1.35; }
.portal-brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.portal-navigation { display: flex; align-items: center; justify-content: flex-end; min-width: 0; gap: 24px; }
.section-links, .login-links { display: flex; align-items: center; gap: 6px; }
.section-links a { position: relative; padding: 10px 8px; color: #526076; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.section-links a::after { position: absolute; right: 8px; bottom: 5px; left: 8px; height: 2px; content: ""; background: var(--blue); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.section-links a:hover { color: var(--blue); }
.section-links a:hover::after { transform: scaleX(1); }
.login-links { padding-left: 16px; border-left: 1px solid var(--line); }
.login-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.login-link svg { width: 15px; height: 15px; }
.login-link:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(20, 43, 75, .09); }
.login-link.teacher { color: #fff; border-color: var(--blue); background: var(--blue); }
.login-link.teacher:hover { background: #255fb6; }
.login-link.school { color: var(--navy); border-color: #9eb0c7; background: #f7f9fc; }
.login-link.school:hover { border-color: var(--navy); }
.login-link.parent { color: #276864; border-color: #b4d5d1; background: #f2f9f8; }
.login-link.parent:hover { border-color: var(--teal); }
.nav-toggle { display: none; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--navy); border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.nav-toggle svg { width: 21px; height: 21px; }

.hero { position: relative; display: flex; min-height: max(520px, calc(100vh - 180px)); margin-top: 76px; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-backdrop { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(12, 34, 64, .98) 0%, rgba(12, 34, 64, .91) 37%, rgba(12, 34, 64, .47) 65%, rgba(12, 34, 64, .08) 100%), url("portal-workbench-image.php?v=2026081003"); background-position: center, right center; background-repeat: no-repeat; background-size: cover, auto 100%; }
.hero-backdrop::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(8, 26, 50, .36), transparent 40%); }
.hero-content { position: relative; z-index: 1; align-self: center; width: min(1440px, calc(100% - 48px)); margin: -24px auto 0; }
.hero-content > * { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #d9e8ff; font-size: 13px; font-weight: 700; }
.eyebrow > span { width: 28px; height: 2px; background: var(--gold); }
.hero h1 { margin: 0; font-size: 52px; line-height: 1.18; letter-spacing: 0; }
.hero-lead { margin: 24px 0 0; color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.primary-action svg, .secondary-action svg { width: 18px; height: 18px; }
.primary-action { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(16, 67, 145, .28); }
.primary-action:hover { background: #255fb6; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 67, 145, .32); }
.secondary-action { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .09); }
.secondary-action:hover { border-color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 30px; color: rgba(255, 255, 255, .74); font-size: 12px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: #8fb9f5; }
.hero-caption { position: absolute; z-index: 2; right: 32px; bottom: 28px; display: flex; align-items: center; gap: 10px; max-width: 360px; padding: 12px 14px; color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .17); border-radius: 8px; background: rgba(10, 31, 58, .72); backdrop-filter: blur(12px); font-size: 11px; line-height: 1.5; }
.hero-caption svg { flex: 0 0 19px; width: 19px; color: #a8c9f8; }
.hero-caption strong { display: block; color: #fff; font-size: 12px; }

.section-band { padding: 88px 0; }
.section-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading.align-left { margin-right: 0; margin-left: 0; text-align: left; }
.eyebrow.dark { justify-content: center; color: var(--blue); }
.align-left .eyebrow.dark, .advantage-copy .eyebrow.dark, .parent-status-panel .eyebrow.dark { justify-content: flex-start; }
.section-heading h2, .advantage-copy h2 { margin: 0; font-size: 32px; line-height: 1.35; }
.section-heading > p:last-child, .advantage-copy > p { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.edition-section { background: #fff; }
.edition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.edition-item { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px; border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.edition-item:first-child { border-left: 1px solid var(--line); }
.edition-item:hover { z-index: 1; background: #f9fbfe; transform: translateY(-3px); }
.edition-head { display: flex; align-items: center; gap: 14px; }
.edition-head > span { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 8px; }
.edition-head svg { width: 23px; height: 23px; }
.teacher-edition .edition-head > span { color: #2865bf; background: #e9f2ff; }
.school-edition .edition-head > span { color: var(--navy); background: #e9eef5; }
.parent-edition .edition-head > span { color: #2f7772; background: #e6f4f2; }
.edition-head small, .edition-head h3 { display: block; }
.edition-head small { margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.edition-head h3 { margin: 0; font-size: 21px; }
.edition-item > p { min-height: 75px; margin: 22px 0 0; color: var(--text); font-size: 14px; line-height: 1.75; }
.edition-item ul { display: grid; flex: 1; gap: 11px; margin: 24px 0 28px; padding: 20px 0 0; border-top: 1px solid #e8edf3; list-style: none; }
.edition-item li { display: flex; align-items: flex-start; gap: 9px; color: #46546a; font-size: 13px; line-height: 1.55; }
.edition-item li svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: var(--blue); }
.parent-edition li svg { color: var(--teal); }
.edition-item > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; transition: color .2s ease, background .2s ease, transform .2s ease; }
.edition-item > a svg { width: 16px; height: 16px; transition: transform .2s ease; }
.edition-item > a:hover svg { transform: translateX(3px); }
.teacher-edition > a { color: #fff; background: var(--blue); }
.teacher-edition > a:hover { background: #255fb6; }
.school-edition > a { color: #fff; background: var(--navy); }
.school-edition > a:hover { background: var(--navy-deep); }
.parent-edition > a { color: #276864; background: #e8f5f3; }
.parent-edition > a:hover { background: #d9edeb; }

.advantage-section { background: #eef3f8; }
.advantage-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; gap: 72px; }
.advantage-copy .eyebrow { margin-bottom: 14px; }
.advantage-list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid #cfdae6; }
.advantage-list > div { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid #cfdae6; }
.advantage-list > div > span { display: grid; place-items: center; width: 34px; height: 34px; color: var(--blue); border: 1px solid #bbcae0; border-radius: 8px; background: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 800; }
.advantage-list strong, .advantage-list small { display: block; }
.advantage-list strong { font-size: 14px; }
.advantage-list small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.data-story { overflow: hidden; border: 1px solid #cfdae6; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.data-story > header { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 18px 20px; color: #fff; background: var(--navy); }
.data-story > header > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.data-story > header svg { width: 21px; }
.data-story > header small, .data-story > header strong { display: block; }
.data-story > header small { color: #bcd1ea; font-size: 10px; }
.data-story > header strong { margin-top: 3px; font-size: 14px; }
.data-story > header em { padding: 5px 8px; color: #d7e7fb; border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; font-size: 10px; font-style: normal; }
.student-line { display: flex; align-items: center; gap: 12px; margin: 20px 20px 0; padding: 14px; border: 1px solid #e1e8f0; border-radius: 8px; background: #f8fafc; }
.student-line > span { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; color: #fff; border-radius: 8px; background: var(--blue); font-weight: 800; }
.student-line strong, .student-line small { display: block; }
.student-line strong { font-size: 13px; }
.student-line small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.timeline { display: grid; padding: 10px 20px 20px; }
.timeline > div { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding-top: 18px; }
.timeline > div:not(:last-child)::after { position: absolute; top: 31px; bottom: -12px; left: 5px; width: 1px; content: ""; background: #ced9e6; }
.timeline > div > span { z-index: 1; width: 11px; height: 11px; margin-top: 4px; border: 3px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #9cb5d6; }
.timeline p { margin: 0; }
.timeline small, .timeline strong { display: block; }
.timeline small { color: var(--muted); font-size: 10px; }
.timeline strong { margin-top: 4px; color: #29364b; font-size: 12px; line-height: 1.55; }
.timeline em { display: inline-flex; margin-top: 7px; padding: 3px 6px; border-radius: 6px; font-size: 9px; font-style: normal; font-weight: 700; }
.timeline em.positive { color: #287061; background: #e6f4f0; }
.timeline em.attention { color: #9a6618; background: #fff3da; }

.scenario-section { background: #fff; }
.scenario-section .section-heading { margin-bottom: 32px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.scenario-grid article { padding: 30px 30px 32px 0; border-bottom: 1px solid var(--line); }
.scenario-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.scenario-grid article > span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy); border: 1px solid #cdd8e5; border-radius: 8px; background: #f6f9fc; }
.scenario-grid article > span svg { width: 21px; }
.scenario-grid small { display: block; margin-top: 22px; color: var(--blue); font-size: 11px; font-weight: 700; }
.scenario-grid h3 { margin: 7px 0 0; font-size: 17px; line-height: 1.5; }
.scenario-grid p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.principle-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 30px; padding: 22px 26px; color: #fff; border-radius: 8px; background: var(--navy); }
.principle-strip p { margin: 0; }
.principle-strip span, .principle-strip strong { display: block; }
.principle-strip span { color: #aecaeb; font-size: 10px; font-weight: 700; }
.principle-strip strong { margin-top: 5px; font-size: 14px; line-height: 1.65; }
.principle-strip > svg { flex: 0 0 32px; width: 32px; height: 32px; color: #90baf2; }

.faq-section { background: #f4f7fa; }
.faq-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 70px; }
.faq-layout .section-heading { margin-bottom: 0; }
.faq-list { border-top: 1px solid #ced8e4; }
.faq-list details { border-bottom: 1px solid #ced8e4; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 18px; width: 18px; color: var(--blue); transition: transform .2s ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { margin: -6px 0 20px; padding-right: 36px; color: var(--muted); font-size: 13px; line-height: 1.75; }

.closing-section { padding: 72px 24px; color: #fff; background: var(--navy-deep); }
.closing-inner { width: min(960px, 100%); margin: 0 auto; text-align: center; }
.closing-inner > p { margin: 0 0 13px; color: #acc6e5; font-size: 13px; font-weight: 700; }
.closing-inner h2 { margin: 0; font-size: 30px; line-height: 1.45; }
.closing-inner > div { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.primary-action.light { color: var(--navy-deep); background: #fff; box-shadow: none; }
.primary-action.light:hover { background: #eef4fb; }
.secondary-action.light { color: #fff; }

.site-footer { padding: 28px 0; color: #526076; border-top: 1px solid var(--line); background: #fff; }
.footer-shell { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 34px; height: 34px; box-shadow: none; }
.footer-brand .brand-mark svg { width: 18px; }
.footer-brand p { margin: 0; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { color: var(--ink); font-size: 12px; }
.footer-brand small { margin-top: 2px; font-size: 9px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 11px; }
.footer-links a:hover { color: var(--blue); }
.copyright { margin: 0; color: #8b96a7; font-size: 10px; white-space: nowrap; }

.parent-status-page { min-height: 100vh; background: #eef3f8; }
.parent-status-shell { width: min(1000px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 64px; }
.dark-brand { color: var(--ink); }
.parent-status-panel { width: min(720px, 100%); margin: 70px auto 0; padding: 48px; border: 1px solid #d4dee9; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.status-visual { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 28px; color: #91a0b3; }
.status-visual > span { display: grid; place-items: center; width: 62px; height: 62px; color: var(--teal); border-radius: 12px; background: #e8f5f3; }
.status-visual > span:last-child { color: var(--blue); background: var(--blue-soft); }
.status-visual > span svg { width: 29px; height: 29px; }
.status-visual > svg { width: 20px; }
.parent-status-panel .eyebrow { justify-content: center; }
.parent-status-panel h1 { margin: 0; font-size: 30px; line-height: 1.35; }
.parent-status-panel > p:not(.eyebrow) { max-width: 580px; margin: 18px auto 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.status-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.status-points span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; color: #526076; border: 1px solid #dce4ec; border-radius: 8px; background: #f8fafc; font-size: 11px; }
.status-points svg { width: 15px; color: var(--teal); }

@media (max-width: 1180px) {
  .section-links { display: none; }
  .portal-navigation { gap: 12px; }
  .hero-backdrop { background-image: linear-gradient(90deg, rgba(12, 34, 64, .98) 0%, rgba(12, 34, 64, .88) 48%, rgba(12, 34, 64, .35) 100%), url("portal-workbench-image.php?v=2026081003"); }
  .advantage-layout { gap: 40px; }
}

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .nav-shell { width: min(100% - 32px, 1200px); }
  .nav-toggle { display: grid; }
  .portal-navigation { position: absolute; top: 60px; right: 16px; left: 16px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
  .portal-navigation.open { display: block; }
  .section-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-links a { padding: 10px; border-radius: 6px; background: #f6f8fb; text-align: center; }
  .section-links a::after { display: none; }
  .login-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .login-link { white-space: normal; }
  .hero { min-height: max(520px, calc(100vh - 172px)); margin-top: 68px; }
  .hero-backdrop { background-image: linear-gradient(90deg, rgba(12, 34, 64, .98), rgba(12, 34, 64, .77)), url("portal-workbench-image.php?v=2026081003"); background-position: center; background-size: cover; }
  .hero-content { width: min(100% - 40px, 720px); }
  .hero h1 { font-size: 42px; }
  .hero-caption { display: none; }
  .edition-grid { grid-template-columns: 1fr; }
  .edition-item, .edition-item:first-child { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .edition-item:last-child { border-bottom: 0; }
  .edition-item > p { min-height: 0; }
  .advantage-layout, .faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid article, .scenario-grid article + article { padding: 24px 0; border-right: 0; border-left: 0; }
  .footer-shell { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
}

@media (max-width: 600px) {
  .nav-shell { width: calc(100% - 24px); }
  .portal-brand .brand-mark { width: 38px; height: 38px; }
  .portal-brand small { display: none; }
  .portal-navigation { right: 12px; left: 12px; }
  .login-links { grid-template-columns: 1fr; }
  .hero { min-height: max(520px, calc(100svh - 172px)); }
  .hero-content { width: calc(100% - 32px); margin-top: -12px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { margin-top: 18px; font-size: 16px; line-height: 1.75; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 24px; }
  .primary-action, .secondary-action { width: 100%; }
  .hero-trust { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 24px; }
  .section-band { padding: 64px 0; }
  .section-shell { width: calc(100% - 32px); }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .advantage-copy h2 { font-size: 25px; }
  .edition-item { padding: 24px 20px; }
  .advantage-layout { grid-template-columns: minmax(0, 1fr); }
  .data-story > header { grid-template-columns: 38px minmax(0, 1fr); }
  .data-story > header em { display: none; }
  .student-line { margin-right: 14px; margin-left: 14px; }
  .timeline { padding-right: 14px; padding-left: 14px; }
  .principle-strip { align-items: flex-start; padding: 20px; }
  .principle-strip > svg { display: none; }
  .closing-section { padding: 56px 16px; }
  .closing-inner h2 { font-size: 24px; }
  .closing-inner > div { align-items: stretch; flex-direction: column; }
  .footer-shell { width: calc(100% - 32px); }
  .parent-status-shell { width: calc(100% - 32px); padding-top: 20px; }
  .parent-status-panel { margin-top: 40px; padding: 32px 20px; }
  .parent-status-panel h1 { font-size: 25px; }
}

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