/* ============================================================
   MooreCharm® (默辰) — Design System  ·  Light / Editorial
   Aesthetic: spacious, restrained, semiconductor-grade precision.
   Paper white · graphite ink · deep engineering blue.
   ============================================================ */

:root {
  /* ---- Surfaces ---- */
  --bg:      #FFFFFF;
  --bg-soft: #F6F7F9;
  --bg-2:    #EEF1F5;
  --bg-ink:  #0C1220;      /* rare dark inversion (footer / cta) */

  /* ---- Ink / text ---- */
  --text:    #14181F;
  --text-dim:#525C6B;
  --text-mut:#8A93A2;
  --on-ink:  #E9EDF4;
  --on-ink-dim:#9AA6BC;

  /* ---- Accent ---- */
  --blue:    #1B4DFF;
  --blue-dk: #1338C4;
  --blue-tint:#EEF2FF;
  --blue-line:rgba(27,77,255,0.18);

  /* ---- Lines / shadow ---- */
  --line:    rgba(20,24,31,0.09);
  --line-2:  rgba(20,24,31,0.05);
  --shadow-sm: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.06);
  --shadow-md: 0 8px 24px -8px rgba(16,24,40,0.12);
  --shadow-lg: 0 24px 60px -20px rgba(16,24,40,0.18);
  --shadow-blue: 0 12px 30px -10px rgba(27,77,255,0.35);

  --radius:  12px;
  --radius-lg: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:lang(zh) { --font-display: "Noto Sans SC", "Plus Jakarta Sans", sans-serif; letter-spacing: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 900px; }

/* ---- Section rhythm ---- */
section { position: relative; padding: 104px 0; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.14; color: var(--text); }
.section-head { max-width: 640px; margin-bottom: 8px; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.section-lead { color: var(--text-dim); font-size: 17px; }

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(16,24,40,0.02);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--text); }
.brand .mark { width: 28px; height: 28px; flex: none; }
.brand .reg { font-size: 9px; vertical-align: super; color: var(--blue); font-weight: 600; }
.brand .cn { color: var(--text-mut); font-weight: 500; font-size: 13.5px; margin-left: 3px; letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14.5px; color: var(--text-dim); font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a.active { color: var(--blue); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-mobile-actions { display: none; }
.lang-toggle {
  display: flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden;
  font-family: var(--font-display); font-size: 12px; font-weight: 600; background: var(--bg);
}
.lang-toggle button {
  background: none; border: none; color: var(--text-mut); cursor: pointer;
  padding: 6px 13px; transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-toggle button.active { background: var(--text); color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  padding: 11px 22px; border-radius: 100px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dk); box-shadow: 0 16px 36px -10px rgba(27,77,255,0.45); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--bg); }
.btn-ghost:hover { border-color: var(--text); background: var(--bg); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 9px 17px; font-size: 13.5px; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, a.lnk:hover .arrow { transform: translateX(3px); }

.lnk { color: var(--blue); font-weight: 600; font-family: var(--font-display); font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 99px;
  background: currentColor; transition: transform .2s var(--ease), opacity .2s var(--ease);
}
header.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Refined sign-in button ---- */
.nav-auth { display: flex; align-items: center; }
.btn-signin {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text);
  padding: 8px 16px 8px 14px; border-radius: 100px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn-signin svg { color: var(--blue); transition: transform .2s var(--ease); }
.btn-signin:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); transform: translateY(-1px); }

/* ---- Account chip + dropdown ---- */
.acct { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--bg); cursor: pointer; position: relative; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.acct:hover, .acct:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.acct-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; }
.acct-name { font-size: 13.5px; font-weight: 600; color: var(--text); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct svg:last-of-type { color: var(--text-mut); }
.acct-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); z-index: 20; }
.acct:hover .acct-menu, .acct:focus-within .acct-menu { opacity: 1; visibility: visible; transform: none; }
.acct-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.acct-menu a:hover { background: var(--bg-soft); color: var(--text); }
.acct-menu a.logout-btn { color: #DC2626; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 124px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 75% 15%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 15%, #000 0%, transparent 70%);
}
.hero-bg .tint { position: absolute; top: -25%; right: -10%; width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(27,77,255,0.07), transparent 60%); }
.hero-wafer { position: absolute; top: 50%; right: -140px; width: 560px; height: 560px; transform: translateY(-50%); opacity: .9; }

.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--blue); }
.hero-sub { margin: 26px 0 34px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-dim); max-width: 500px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.hero-badge .num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.hero-badge .lbl { font-size: 13px; color: var(--text-mut); margin-top: 4px; }

/* Lookup card */
.lookup-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.lookup-card h3 { font-size: 18px; margin-bottom: 6px; }
.lookup-card .lc-sub { font-size: 13.5px; color: var(--text-mut); margin-bottom: 20px; }
.lookup-tabs { display: flex; gap: 6px; margin-bottom: 16px; background: var(--bg-soft); padding: 4px; border-radius: 11px; }
.lookup-tabs .lt {
  flex: 1; text-align: center; font-size: 13px; padding: 8px; border-radius: 8px;
  color: var(--text-dim); cursor: pointer; transition: all .2s var(--ease); font-weight: 500;
}
.lookup-tabs .lt.active { background: var(--bg); color: var(--blue); box-shadow: var(--shadow-sm); }
.lookup-input { display: flex; gap: 10px; }
.lookup-input input {
  flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-size: 14px; font-family: var(--font-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lookup-input input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.lookup-note { font-size: 11.5px; color: var(--text-mut); margin-top: 14px; display: flex; align-items: center; gap: 6px; }

/* ============================================================
   SEGMENTS
   ============================================================ */
.segments-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.segment {
  position: relative; padding: 38px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.segment::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.segment:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.segment:hover::after { width: 100%; }
.segment .idx { font-family: var(--font-display); font-size: 12.5px; color: var(--blue); letter-spacing: .12em; font-weight: 600; }
.segment h3 { font-size: 25px; margin: 16px 0 12px; }
.segment p { color: var(--text-dim); font-size: 15px; margin-bottom: 24px; }
.segment .seg-icon { position: absolute; top: 34px; right: 34px; width: 42px; height: 42px; color: var(--blue); opacity: .9; }
.seg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-tags span { font-size: 12px; color: var(--text-dim); background: var(--bg-soft); padding: 6px 13px; border-radius: 100px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.svc {
  padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc .svc-ic { width: 34px; height: 34px; margin-bottom: 18px; color: var(--blue); }
.svc h4 { font-size: 17px; margin-bottom: 9px; }
.svc p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.svc .region { position: absolute; top: 22px; right: 22px; font-size: 10px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: 4px 9px; border-radius: 100px; font-weight: 600; }
.svc .region.cn { color: #B26A00; background: #FFF3E0; }

/* ============================================================
   STRIP
   ============================================================ */
.strip { background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.strip-item .n { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.strip-item .t { font-size: 13.5px; color: var(--text-dim); margin-top: 8px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-box {
  border-radius: var(--radius-lg); padding: 76px 40px; text-align: center;
  background: var(--bg-ink); color: var(--on-ink); position: relative; overflow: hidden;
}
.cta-box .grid-o { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(ellipse at center, #000, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%); }
.cta-box h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; color: #fff; position: relative; }
.cta-box p { color: var(--on-ink-dim); max-width: 520px; margin: 0 auto 32px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--bg-ink); color: var(--on-ink-dim); padding: 76px 0 34px; }
footer .brand { color: #fff; }
footer .brand .cn { color: var(--on-ink-dim); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--on-ink-dim); font-size: 13.5px; margin-top: 16px; max-width: 280px; }
.foot-col h5 { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.foot-col a { display: block; color: var(--on-ink-dim); font-size: 14px; margin-bottom: 11px; transition: color .2s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; color: var(--on-ink-dim); }
.foot-bottom a:hover { color: #fff; }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-head { padding: 112px 0 60px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line-2); }
.page-head .hero-bg { z-index: 0; }
.page-head .hero-bg .grid { background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 55% 120% at 85% -10%, #000, transparent 62%);
  -webkit-mask-image: radial-gradient(ellipse 55% 120% at 85% -10%, #000, transparent 62%); }
.page-head .hero-bg .tint { top: -40%; right: -14%; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(27,77,255,0.10), transparent 60%); }
.page-head .container { position: relative; z-index: 1; }
.page-head .ph-label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
  background: var(--bg); border: 1px solid var(--blue-line); padding: 7px 15px; border-radius: 100px; margin-bottom: 22px; }
.page-head .ph-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.035em; position: relative; padding-left: 22px; }
.page-head h1::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), transparent); }
.page-head p { color: var(--text-dim); font-size: 17px; max-width: 580px; margin-top: 18px; padding-left: 22px; }
.breadcrumb { font-size: 12.5px; color: var(--text-mut); margin-bottom: 20px; font-family: var(--font-display); letter-spacing: .03em; }
.breadcrumb a:hover { color: var(--blue); }
.page-head .ph-motif { position: absolute; top: 50%; right: 4%; transform: translateY(-50%); width: 200px; height: 200px;
  z-index: 0; opacity: .5; }
@media (max-width: 720px) { .page-head .ph-motif { display: none; } }

/* ---- Filters / chips ---- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.chip {
  font-size: 13.5px; font-weight: 500; padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--text-dim); cursor: pointer; background: var(--bg);
  transition: all .2s var(--ease); font-family: var(--font-body);
}
.chip:hover { border-color: var(--text-mut); }
.chip.active { background: var(--text); color: #fff; border-color: var(--text); }

/* ---- Activity cards ---- */
.activity-list { display: grid; gap: 16px; }
.activity {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center;
  padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative;
}
.activity:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.activity .a-date { text-align: center; border-right: 1px solid var(--line-2); padding-right: 20px; }
.activity .a-date .d { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--text); line-height: 1; }
.activity .a-date .m { font-size: 12px; color: var(--text-mut); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.activity .a-body h4 { font-size: 18px; margin-bottom: 7px; }
.activity .a-body p { font-size: 14px; color: var(--text-dim); }
.activity .a-meta { display: flex; gap: 14px; margin-top: 11px; font-size: 12.5px; color: var(--text-mut); }
.activity .a-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 100px; letter-spacing: .04em; text-transform: uppercase; }
.tag.upcoming { color: var(--blue); background: var(--blue-tint); }
.tag.past { color: var(--text-mut); background: var(--bg-2); }

/* ---- Verify / query ---- */
.verify-panel { max-width: 720px; margin: 0 auto; }
.verify-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: var(--bg); box-shadow: var(--shadow-md); }
.verify-box .lookup-tabs { margin-bottom: 22px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 9px; font-family: var(--font-display); }
.big-input { display: flex; gap: 12px; }
.big-input input { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; font-size: 15px; color: var(--text); font-family: var(--font-body); transition: border-color .2s, box-shadow .2s; }
.big-input input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }

.result { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.result-head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; background: #F0FBF4; border-bottom: 1px solid var(--line-2); }
.result-head .ok { width: 26px; height: 26px; border-radius: 50%; background: #16A34A; display: grid; place-items: center; flex: none; }
.result-head .rt { font-family: var(--font-display); font-weight: 600; color: #15803D; }
.result-body { padding: 8px 24px 20px; }
.result-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.result-row:last-child { border-bottom: none; }
.result-row .k { color: var(--text-mut); }
.result-row .v { color: var(--text); font-weight: 500; }

/* ---- Course / program cards ---- */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.prog:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prog .p-top { height: 128px; background: linear-gradient(135deg, #1B4DFF, #0C1220); position: relative; overflow: hidden; }
.prog .p-top .lvl { position: absolute; top: 14px; left: 16px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.16); padding: 4px 11px; border-radius: 100px; letter-spacing: .04em; backdrop-filter: blur(4px); }
.prog .p-top svg { position: absolute; right: -20px; bottom: -20px; width: 130px; height: 130px; opacity: .3; color: #fff; }
.prog .p-body { padding: 22px 24px 26px; }
.prog .p-body h4 { font-size: 17px; margin-bottom: 9px; }
.prog .p-body p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 18px; }
.prog .p-foot { display: flex; align-items: center; justify-content: space-between; }
.prog .p-foot .dur { font-size: 12.5px; color: var(--text-mut); }

/* ---- Exam / gated ---- */
.gate { max-width: 760px; margin: 0 auto; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 60px 40px; background: var(--bg); box-shadow: var(--shadow-md); }
.gate .lock { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin: 0 auto 24px; }
.gate h2 { font-size: 28px; margin-bottom: 14px; }
.gate p { color: var(--text-dim); max-width: 480px; margin: 0 auto 28px; }
.exam-types { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; text-align: left; }
.exam-type { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.exam-type:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.exam-type .et-ic { width: 40px; height: 40px; color: var(--blue); margin-bottom: 16px; }
.exam-type h4 { font-size: 18px; margin-bottom: 8px; }
.exam-type p { font-size: 14px; color: var(--text-dim); }

[data-href] { cursor: pointer; }

/* ---- Standards rows ---- */
.std-list { display: grid; gap: 12px; margin-top: 14px; }
.std-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.std-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.std-code { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); }
.std-code .std-ed { color: var(--text-mut); font-weight: 500; font-size: 13px; }
.std-title { font-weight: 500; font-size: 14.5px; margin-bottom: 4px; }
.std-scope { font-size: 13px; color: var(--text-mut); }
.std-tags { display: flex; gap: 8px; align-items: center; }
.std-cat { font-size: 11.5px; color: var(--text-dim); background: var(--bg-soft); padding: 4px 11px; border-radius: 100px; }
.std-status { font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 100px; text-transform: uppercase; letter-spacing: .04em; }
.std-status.a { color: #15803D; background: #ECFDF3; }
.std-status.s { color: var(--text-mut); background: var(--bg-2); }

/* ---- Verify empty / muted ---- */
.result-empty { padding: 26px; text-align: center; color: var(--text-mut); border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft); margin-top: 22px; }
.muted { color: var(--text-mut); font-size: 14px; padding: 14px 0; }

/* ---- Reports: category filter ---- */
.rep-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }

/* ---- Featured report (editorial hero) ---- */
.rp-featured { display: grid; grid-template-columns: 1fr 0.92fr; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-md); margin-bottom: 40px; }
.rpf-left { padding: 40px 42px; display: flex; flex-direction: column; }
.rpf-tags { display: flex; gap: 8px; margin-bottom: 20px; }
.rpf-cat { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint); padding: 5px 12px; border-radius: 100px; }
.rpf-tier { font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 100px; letter-spacing: .04em; }
.rpf-tier.premium { color: var(--text); background: var(--bg-2); }
.rpf-tier.free { color: #15803D; background: #ECFDF3; }
.rpf-left h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; margin-bottom: 14px; }
.rpf-left > p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin-bottom: 26px; }
.rpf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin-bottom: 26px; }
.rpf-kpi .v { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--text); letter-spacing: -0.02em; }
.rpf-kpi .v .d { font-size: 12.5px; font-weight: 600; color: #15803D; margin-left: 5px; }
.rpf-kpi .l { font-size: 12px; color: var(--text-mut); margin-top: 4px; }
.rpf-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rpf-meta { font-size: 12.5px; color: var(--text-mut); font-family: var(--font-display); }
.rpf-meta b { color: var(--text); font-weight: 600; }
.rpf-right { background: linear-gradient(160deg, #0C1220, #1a2540);
  padding: 34px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.rpf-right .ch-title { color: #cbd5e8; font-size: 12.5px; font-family: var(--font-display); letter-spacing: .04em; margin-bottom: 18px; }
.rpf-right svg { width: 100%; height: 190px; display: block; }
.rpf-legend { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.rpf-legend span { font-size: 11.5px; color: #9aa6bc; display: inline-flex; align-items: center; gap: 6px; }
.rpf-legend span::before { content: ""; width: 10px; height: 3px; border-radius: 2px; background: var(--lc, #1B4DFF); }

/* ---- Report cards (library grid) ---- */
.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.report { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.report:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.rp-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.rp-cat2 { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.rp-tier2 { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 100px; letter-spacing: .03em; }
.rp-tier2.premium { color: var(--blue); background: var(--blue-tint); }
.rp-tier2.free { color: #15803D; background: #ECFDF3; }
.rp-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.rp-body h4 { font-size: 16.5px; line-height: 1.35; margin-bottom: 10px; }
.rp-body > p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rp-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line-2); }
.rp-meta { font-size: 12px; color: var(--text-mut); font-family: var(--font-display); }
.rp-price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); }
.rp-price.free { color: #15803D; }

/* ---- Exam mock paper ---- */
.mock-paper { margin-top: 30px; display: grid; gap: 16px; }
.mock-q { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--bg); }
.mq-stem { font-weight: 600; font-size: 16px; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mq-i { font-family: var(--font-display); color: #fff; background: var(--blue); width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 13px; flex: none; }
.mq-bank { font-size: 11px; color: var(--text-mut); background: var(--bg-soft); padding: 3px 10px; border-radius: 100px; font-weight: 500; margin-left: auto; }
.mq-opts { display: grid; gap: 8px; }
.mq-opt { display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14.5px; transition: border-color .2s, background .2s; }
.mq-opt:hover { border-color: var(--blue); background: var(--blue-tint); }
.mq-opt input { accent-color: var(--blue); }
.mq-opt span { font-weight: 600; color: var(--text-mut); }

/* ============================================================
   STATIC PAGE BLOCKS (about / contact)
   ============================================================ */
.mission { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; margin-bottom: 80px; }
.mission-left h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; }
.mission-left .eyebrow { margin-bottom: 16px; }
.mission-right p { font-size: 18px; line-height: 1.7; color: var(--text-dim); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .vc-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.value-card h4 { font-size: 17px; margin-bottom: 9px; }
.value-card p { font-size: 14px; color: var(--text-dim); }

/* contact */
.contact-body { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: start; }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: var(--bg); box-shadow: var(--shadow-md); }
.contact-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .fld { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; font-family: var(--font-display); margin-bottom: 8px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; font-family: var(--font-body); color: var(--text); transition: border-color .18s, box-shadow .18s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { margin-top: 4px; }
.contact-success { display: none; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); font-weight: 500; font-size: 14px; margin-bottom: 18px; border: 1px solid var(--blue-line); }
.contact-success.show { display: flex; }
.contact-aside .ca-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.contact-aside .ca-card h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 10px; }
.contact-aside .ca-card .v { font-size: 15px; color: var(--text); font-weight: 500; }
.contact-aside .ca-card .v a { color: var(--blue); }

@media (max-width: 880px) {
  .mission, .contact-body { grid-template-columns: 1fr; gap: 32px; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-form .cf-row { grid-template-columns: 1fr; }
}

/* ============================================================
   DETAIL PAGES
   ============================================================ */
.detail-body { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; padding: 60px 0 100px; }
.detail-main h3 { font-size: 21px; margin: 38px 0 14px; }
.detail-main h3:first-child { margin-top: 0; }
.detail-main p { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.detail-lead { font-size: 18px !important; color: var(--text) !important; line-height: 1.7 !important; }
.detail-main ul.bullets { list-style: none; margin: 4px 0 8px; }
.detail-main ul.bullets li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-dim); font-size: 15px; }
.detail-main ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }

.toc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toc-item { display: flex; align-items: center; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.toc-item:last-child { border-bottom: none; }
.toc-item .ti-n { font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 14px; width: 28px; }
.toc-item .ti-t { flex: 1; color: var(--text); font-weight: 500; }
.toc-item .ti-m { font-size: 12.5px; color: var(--text-mut); font-family: var(--font-display); }

.detail-chart { background: linear-gradient(160deg, #0C1220, #1a2540); border-radius: var(--radius); padding: 28px; margin: 8px 0 10px; }
.detail-chart .ch-title { color: #cbd5e8; font-size: 13px; font-family: var(--font-display); margin-bottom: 16px; }
.detail-chart svg { width: 100%; height: 220px; }
.detail-chart .rpf-legend { margin-top: 16px; }
.detail-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 10px; }
.detail-kpis .kpi { background: var(--bg-soft); border-radius: 10px; padding: 18px; }
.detail-kpis .kpi .v { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.detail-kpis .kpi .v .d { font-size: 12.5px; color: #15803D; margin-left: 5px; font-weight: 600; }
.detail-kpis .kpi .l { font-size: 12px; color: var(--text-mut); margin-top: 5px; }

.detail-aside { position: sticky; top: 96px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-md); overflow: hidden; }
.aside-card .ac-top { padding: 26px 26px 22px; border-bottom: 1px solid var(--line-2); }
.aside-price { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.aside-price.free { color: #15803D; }
.aside-price .cur { font-size: 18px; color: var(--text-mut); font-weight: 600; }
.aside-rows { padding: 18px 26px; }
.aside-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.aside-row .k { color: var(--text-mut); }
.aside-row .v { color: var(--text); font-weight: 500; }
.aside-cta { padding: 6px 26px 26px; }
.aside-cta .btn { width: 100%; justify-content: center; }
.aside-note { font-size: 12px; color: var(--text-mut); text-align: center; margin-top: 12px; display: flex; gap: 6px; align-items: center; justify-content: center; }

.detail-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; }
.detail-status.upcoming { color: var(--blue); background: var(--blue-tint); }
.detail-status.past { color: var(--text-mut); background: var(--bg-2); }
.dh-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 20px; padding-left: 22px; }
.dh-meta .m { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); }
.dh-meta .m svg { color: var(--blue); }

@media (max-width: 900px) {
  .detail-body { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .detail-aside { position: static; }
  .detail-kpis { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Reveal animation — subtle, staggered
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-wafer { display: none; }
  .segments-grid { grid-template-columns: 1fr; }
  .services-grid, .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .exam-types { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 74px 0; }
  .hero { padding: 100px 0 64px; }
  .nav-inner { height: 64px; gap: 10px; }
  .nav-inner .brand { font-size: 17px; min-width: 0; }
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 72px;
    padding: 10px; border: 1px solid var(--line); border-radius: 14px;
    background: rgba(255,255,255,0.96); box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px); flex-direction: column; align-items: stretch; gap: 4px;
  }
  header.nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .nav-links a.active { background: var(--blue-tint); }
  .nav-toggle { display: inline-flex; flex: none; margin-left: auto; }
  .nav-right { display: none; }
  .nav-mobile-actions {
    display: grid; grid-template-columns: 1fr; gap: 10px;
    margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-2);
  }
  .nav-mobile-actions .lang-toggle { width: 100%; }
  .nav-mobile-actions .lang-toggle button { flex: 1; padding: 9px 12px; }
  .nav-mobile-actions .nav-auth { width: 100%; }
  .nav-mobile-actions .btn-signin,
  .nav-mobile-actions .acct {
    width: 100%; justify-content: center; border-radius: 10px; padding: 11px 14px;
  }
  .nav-mobile-actions .acct-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; margin-top: 10px; }
  .services-grid, .prog-grid, .foot-grid { grid-template-columns: 1fr; }
  .brand .cn { display: none; }
  .activity { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .activity .a-date { display: flex; gap: 10px; align-items: baseline; border-right: none; padding-right: 0; text-align: left; }
  .activity .a-date .m { margin-top: 0; }
  .std-row { grid-template-columns: 1fr; gap: 12px; }
  .rp-kpis { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Warm public polish
   Keep the original white/blue character; add only a barely visible
   warm cast to large background planes.
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F7F9;
  --bg-2: #EEF1F5;
  --warm-line: rgba(180, 123, 32, 0.055);
  --line: rgba(20,24,31,0.09);
  --line-2: rgba(20,24,31,0.05);
  --shadow-sm: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.06);
  --shadow-md: 0 8px 24px -8px rgba(16,24,40,0.12);
  --shadow-lg: 0 24px 60px -20px rgba(16,24,40,0.18);
}

body {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FFFDF8 18%, #F8FAFC 58%, #FFFFFF 100%);
}

header.nav.scrolled {
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: var(--line-2);
}

.hero,
.page-head {
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.26) 0%, rgba(255, 255, 255, 0.78) 46%, rgba(255, 255, 255, 0) 100%);
}

.hero-bg .grid {
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
}

.hero-bg .tint {
  background:
    radial-gradient(circle, rgba(27,77,255,0.07), transparent 60%),
    radial-gradient(circle at 30% 15%, rgba(255, 243, 199, 0.12), transparent 48%);
}

.page-head {
  border-bottom-color: var(--line-2);
}

.strip {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.34), var(--bg-soft));
  border-color: var(--line-2);
}

.svc .region.cn {
  color: #B26A00;
  background: #FFF3E0;
}
