:root {
  --paper: #f7f7f5;
  --surface: #ffffff;
  --ink: #16171a;
  --muted: #62656c;
  --line: #d9d9d4;
  --ruby: #d9364b;
  --ruby-dark: #a81f34;
  --saffron: #f0b43c;
  --azure: #2068e8;
  --max: 1180px;
  --header: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(247, 247, 245, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 38px; height: 38px; border-radius: 6px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #393b40; font-size: 15px; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ruby); }

.nav-download,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--saffron);
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover, .nav-download:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--saffron); }
.button.secondary { background: transparent; color: var(--ink) !important; box-shadow: none; }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--ink); background: transparent; font-size: 22px; }

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr);
  align-items: center;
  gap: 62px;
  padding-block: 46px 42px;
}

.eyebrow { margin: 0 0 13px; color: var(--ruby); font-size: 13px; font-weight: 850; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; margin-right: 9px; background: var(--ruby); vertical-align: middle; }

h1, h2, h3 { margin-top: 0; line-height: 1.22; letter-spacing: 0; }
h1 { margin-bottom: 18px; font-size: 54px; font-weight: 900; }
.hero-copy > p { max-width: 570px; margin: 0; color: #4f5157; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-tags span { padding: 4px 10px; border: 1px solid var(--line); background: var(--paper); color: #4b4d52; font-size: 12px; font-weight: 700; }

.programme {
  position: relative;
  height: 510px;
  padding: 22px 24px 38px;
  border: 2px solid var(--ink);
  background: #ecebea;
  box-shadow: 12px 12px 0 var(--ruby);
}

.programme::before,
.programme::after { content: ""; position: absolute; left: 18px; right: 18px; border-top: 2px dashed #9b9b97; }
.programme::before { top: 12px; }
.programme::after { bottom: 20px; }
.programme-label { position: absolute; left: -22px; top: 88px; padding: 5px 9px; background: var(--saffron); font-size: 12px; font-weight: 900; transform: rotate(-90deg); }
.shot { position: absolute; overflow: hidden; border: 5px solid #fff; background: #fff; box-shadow: 0 5px 18px rgba(22,23,26,.16); }
.shot img { width: 100%; height: 100%; max-width: 400px; object-fit: cover; }
.shot-a { left: 34px; top: 42px; width: 220px; height: 390px; transform: rotate(-2deg); }
.shot-b { right: 30px; top: 66px; width: 210px; height: 372px; transform: rotate(2deg); }
.shot-c { right: 98px; bottom: 38px; width: 152px; height: 216px; transform: rotate(-4deg); }
.shot-c img { object-position: center 26%; }
.ticker { position: absolute; right: 30px; top: 26px; color: var(--azure); font-size: 12px; font-weight: 900; }

.section { padding: 78px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; font-size: 34px; }
.section-note { max-width: 560px; color: var(--muted); font-size: 15px; }

.pathway { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); background: var(--surface); }
.path-step { min-height: 190px; padding: 24px; border-right: 1px solid var(--ink); }
.path-step:last-child { border-right: 0; }
.step-no { display: block; margin-bottom: 32px; color: var(--ruby); font-size: 13px; font-weight: 900; }
.path-step h3 { margin-bottom: 8px; font-size: 19px; }
.path-step p { margin: 0; color: var(--muted); font-size: 14px; }

.category-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 14px; }
.category-card { min-height: 170px; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.category-card:first-child { grid-row: span 2; min-height: 354px; background: var(--ink); color: #fff; }
.category-card h3 { margin-bottom: 9px; font-size: 21px; }
.category-card p { margin: 0; color: var(--muted); }
.category-card:first-child p { color: #c9cbd0; }
.category-mark { display: inline-block; margin-bottom: 42px; padding: 5px 8px; background: var(--saffron); color: var(--ink); font-size: 12px; font-weight: 900; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { margin: 0; padding: 15px; border: 1px solid var(--line); background: var(--surface); }
.gallery img { width: 100%; height: 430px; max-width: 400px; margin-inline: auto; object-fit: cover; object-position: top center; }
.gallery figcaption { padding: 15px 4px 3px; color: #484a50; font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 25px; border-top: 4px solid var(--ruby); background: var(--surface); }
.feature:nth-child(2) { border-color: var(--azure); }
.feature:nth-child(3) { border-color: var(--saffron); }
.feature h3 { margin-bottom: 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

.deep-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.deep-link { padding: 30px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.deep-link small { color: var(--ruby); font-weight: 850; }
.deep-link h3 { margin: 12px 0 8px; font-size: 24px; }
.deep-link p { margin: 0; color: var(--muted); }

.download-band { background: var(--ruby); color: #fff; }
.download-inner { min-height: 230px; display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.download-inner h2 { margin-bottom: 8px; font-size: 36px; }
.download-copy { color: #ffe8eb; }
.download-band .button { background: #fff; color: var(--ink) !important; box-shadow: 6px 6px 0 var(--ink); }

.page-hero { padding: 74px 0 60px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .container { max-width: 920px; }
.page-hero h1 { font-size: 48px; }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; }
.content-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 54px; align-items: start; }
.side-index { position: sticky; top: 100px; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.side-index strong { display: block; margin-bottom: 12px; }
.side-index a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.article-section { margin-bottom: 56px; scroll-margin-top: 100px; }
.article-section h2 { margin-bottom: 18px; font-size: 30px; }
.article-section h3 { margin: 28px 0 10px; font-size: 20px; }
.article-section p, .article-section li { color: #4f5157; }
.article-section ul, .article-section ol { padding-left: 22px; }
.notice { margin: 22px 0; padding: 18px 20px; border-left: 4px solid var(--saffron); background: #fff8e7; color: #4c4332; }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.check { padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.check b { display: block; margin-bottom: 5px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); background: var(--surface); }
.faq-question { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.faq-question::after { content: "+"; color: var(--ruby); font-size: 24px; }
.faq-item.is-open .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 20px 20px; color: #56585e; }
.faq-answer p { margin: 0; }
.faq-item.is-open .faq-answer { display: block; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--ink); color: #d7d8db; text-align: center; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 18px; }
.footer-nav a { color: #fff; text-decoration: none; }
.disclaimer { max-width: 780px; margin: 0 auto 10px; font-size: 13px; text-align: center; }
.copyright { margin: 0; color: #9ea0a6; font-size: 13px; text-align: center; }

@media (max-width: 900px) {
  .container { width: min(100% - 32px, var(--max)); }
  .site-header { height: 64px; backdrop-filter: none; }
  .menu-button { display: grid; place-items: center; }
  .site-nav { position: fixed; top: 64px; left: 0; right: 0; display: none; padding: 20px 16px 24px; border-bottom: 1px solid var(--ink); background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 4px; }
  .site-nav .nav-download { margin-top: 8px; }
  .hero { min-height: 0; align-items: stretch; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 34px; }
  h1 { font-size: 39px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-tags { margin-top: 18px; }
  .programme { height: 315px; padding: 15px; box-shadow: 7px 7px 0 var(--ruby); }
  .shot-a { left: 20px; top: 30px; width: 37%; height: 242px; }
  .shot-b { right: 18px; top: 38px; width: 36%; height: 236px; }
  .shot-c { right: 29%; bottom: 26px; width: 29%; height: 150px; }
  .ticker, .programme-label { display: none; }
  .section { padding: 58px 0; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading h2 { font-size: 29px; }
  .section-note { margin-top: 9px; }
  .pathway { grid-template-columns: 1fr 1fr; }
  .path-step { min-height: 160px; border-bottom: 1px solid var(--ink); }
  .path-step:nth-child(2) { border-right: 0; }
  .path-step:nth-child(3), .path-step:nth-child(4) { border-bottom: 0; }
  .category-grid, .gallery, .feature-grid, .deep-links { grid-template-columns: 1fr; }
  .category-card:first-child { grid-row: auto; min-height: 230px; }
  .gallery img { height: 480px; }
  .download-inner { min-height: 280px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .page-hero { padding: 52px 0 44px; }
  .page-hero h1 { font-size: 38px; }
  .content-layout { grid-template-columns: 1fr; gap: 28px; }
  .side-index { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .side-index strong { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  h1 { font-size: 34px; }
  .hero-inner { padding-block: 28px 28px; gap: 24px; }
  .hero-actions .button { flex: 1 1 130px; }
  .hero-tags { display: none; }
  .programme { height: 280px; }
  .shot-a { height: 216px; }
  .shot-b { height: 208px; }
  .shot-c { height: 132px; }
  .pathway { grid-template-columns: 1fr; }
  .path-step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink) !important; }
  .path-step:last-child { border-bottom: 0 !important; }
  .step-no { margin-bottom: 16px; }
  .gallery img { height: 430px; }
  .checklist { grid-template-columns: 1fr; }
  .side-index { grid-template-columns: 1fr; }
  .side-index strong { grid-column: auto; }
}
