:root {
  color-scheme: light;
  --ink: #1e2435;
  --muted: #667083;
  --line: #dfe5ee;
  --blue: #395bd4;
  --deep: #14235a;
  --page: #f5f7fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-shell { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.site-header { height: 90px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: var(--deep); font-size: 21px; font-weight: 850; letter-spacing: -0.12em; padding-right: 4px; }
.brand-mark span { color: #8ec8ff; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: .05em; }
.brand-name span { color: #798295; font-weight: 500; letter-spacing: 0; }
.header-note { color: #768094; font-size: 13px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr); gap: 60px; align-items: center; padding: 96px 0 104px; }
.hero-copy { max-width: 570px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); background: #e9edff; border: 1px solid #d6defb; border-radius: 50px; padding: 8px 13px; font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #5678f1; box-shadow: 0 0 0 4px #d2ddff; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 25px 0 21px; font-size: clamp(46px, 5vw, 73px); line-height: 1.16; letter-spacing: -.06em; font-weight: 850; }
h1 em { font-style: normal; color: var(--blue); }
.hero-copy p { max-width: 465px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.primary-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 19px; padding: 15px 20px; color: white; background: var(--blue); border-radius: 12px; font-size: 14px; font-weight: 730; box-shadow: 0 12px 26px rgba(57,91,212,.2); transition: transform .18s, box-shadow .18s; }
.primary-link:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(57,91,212,.27); }
.primary-link svg { width: 17px; height: 17px; }

.hero-visual { position: relative; overflow: hidden; min-height: 345px; padding: 30px; border: 1px solid #d6def0; border-radius: 24px; background: #fff; box-shadow: 0 28px 60px rgba(30,46,92,.08); }
.hero-visual > *:not(.visual-grid) { position: relative; z-index: 1; }
.visual-grid { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(#e7ecf6 1px, transparent 1px), linear-gradient(90deg, #e7ecf6 1px, transparent 1px); background-size: 27px 27px; mask-image: linear-gradient(to top, #000, transparent 75%); }
.visual-label { display: block; margin-bottom: 29px; color: #8690a4; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.visual-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; }
.visual-caption { white-space: nowrap; color: #64708a; font-size: 12px; font-weight: 700; }
.visual-tokens { display: flex; gap: 5px; }
.visual-tokens b, .visual-tokens span { display: grid; place-items: center; min-width: 37px; height: 41px; border-radius: 9px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 17px; }
.visual-tokens b { color: #304da5; background: #eaf0ff; }
.visual-tokens span { color: #c26d30; background: #fff1e4; }
.visual-tokens-muted b, .visual-tokens-muted span { height: 35px; min-width: 31px; font-size: 14px; }
.visual-connector { display: flex; align-items: center; gap: 10px; margin: 21px 0; color: #8691a6; font-size: 11px; white-space: nowrap; }
.visual-connector span { flex: 1; height: 1px; background: #dbe2ef; }
.visual-result { display: flex; align-items: center; justify-content: space-between; margin-top: 29px; padding: 16px 20px; color: #245949; background: #e8f8f0; border: 1px solid #cceedd; border-radius: 13px; }
.visual-result span { font-size: 13px; font-weight: 650; }
.visual-result strong { font-family: ui-monospace, Consolas, monospace; font-size: 30px; }

.assignments { padding: 0 0 92px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 23px; }
.section-kicker { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .2em; }
.section-heading h2 { margin: 8px 0 0; font-size: 30px; letter-spacing: -.035em; }
.assignment-count { color: #8992a2; font-size: 13px; }
.assignment-card { display: grid; grid-template-columns: 67px 1fr 32px; gap: 23px; align-items: start; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 9px 27px rgba(36,56,94,.035); transition: border-color .2s, transform .2s, box-shadow .2s; }
.assignment-card:hover { border-color: #9fafef; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(36,56,94,.09); }
.assignment-icon { width: 62px; height: 62px; display: grid; place-items: center; color: #4362d9; background: #edf0ff; border-radius: 16px; font: 750 30px Georgia, serif; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #788297; font-size: 11px; font-weight: 720; letter-spacing: .06em; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #aab3c3; }
.assignment-content h3 { margin: 11px 0 10px; font-size: 23px; letter-spacing: -.025em; }
.assignment-content p { max-width: 750px; margin: 0; color: #697387; font-size: 14px; line-height: 1.8; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card-tags span { padding: 6px 9px; color: #5c6c95; background: #f1f4fb; border-radius: 7px; font-size: 11px; }
.card-arrow { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #dfe4ef; border-radius: 9px; color: #5567a6; font-size: 19px; }
.catalogue-note { color: #8992a2; font-size: 13px; margin: 21px 0 0 1px; }
.site-footer { display: flex; justify-content: space-between; padding: 24px 0 35px; border-top: 1px solid var(--line); color: #8992a2; font-size: 11px; letter-spacing: .05em; }

@media (max-width: 850px) {
  .page-shell { padding: 0 24px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 62px 0 75px; }
  .hero-visual { max-width: 560px; }
}

@media (max-width: 560px) {
  .page-shell { padding: 0 18px; }
  .site-header { height: 72px; }
  .brand-name { font-size: 14px; }
  .brand-name span, .header-note { display: none; }
  .hero { padding: 50px 0 64px; }
  h1 { font-size: 43px; }
  .hero-copy p { font-size: 14px; }
  .hero-visual { min-height: auto; padding: 21px; border-radius: 18px; }
  .visual-tokens b, .visual-tokens span { min-width: 28px; height: 34px; font-size: 14px; }
  .visual-caption { font-size: 11px; }
  .visual-tokens-muted b, .visual-tokens-muted span { min-width: 25px; height: 30px; font-size: 12px; }
  .assignment-card { grid-template-columns: 49px 1fr; gap: 14px; padding: 19px; }
  .assignment-icon { width: 48px; height: 48px; font-size: 23px; border-radius: 13px; }
  .card-arrow { display: none; }
  .assignment-content h3 { font-size: 19px; }
  .section-heading h2 { font-size: 25px; }
  .site-footer { gap: 10px; }
}
