/* ============================================================
   班级门户首页 · 独立样式
   静态实现，无构建步骤；类名统一使用 portal / home / news 前缀，
   避免与 DDL 应用（web/assets/app.css）相互影响。
   ============================================================ */

:root {
  --ink: #0b1020;
  --ink-2: #111a2e;
  --body: #334155;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e6e8ef;
  --line-strong: #d9dce7;
  --paper: #f6f7fb;
  --surface: #ffffff;
  --brand: #4f46e5;
  --brand-2: #6366f1;
  --brand-deep: #312e81;
  --brand-soft: #eef2ff;
  --teal: #0f766e;
  --accent: #99f6e4;
  --danger: #b42318;
  --radius: 24px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shell: 1180px;
  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--body);
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(79, 70, 229, 0.08), transparent 62%),
    var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

p,
h1,
h2,
h3,
figure,
blockquote,
ul {
  margin: 0;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  color: #fff;
  background: var(--brand);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon-slot {
  display: inline-grid;
  place-items: center;
  flex: none;
  line-height: 1;
}

.icon-glyph {
  display: block;
}

/* ---------------------------------------------------------- 顶栏 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "brand nav user";
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
  border-radius: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 18%, rgba(153, 246, 228, 0.58), transparent 34%),
    linear-gradient(135deg, var(--brand) 0%, #4338ca 55%, var(--brand-deep) 100%);
  box-shadow: 0 8px 20px rgba(49, 46, 129, 0.28);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow: hidden;
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.brand-mark .icon-glyph {
  position: relative;
  z-index: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-sub {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.045em;
  line-height: 1.4;
  white-space: nowrap;
}

.main-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-link {
  position: relative;
  padding: 9px 17px;
  border-radius: 999px;
  color: #475467;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: #f2f4f8;
}

.nav-link[aria-current="page"] {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 6px 14px rgba(11, 16, 32, 0.18);
}

.user-area {
  grid-area: user;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  min-width: 0;
}

.profile-link {
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.profile-link:hover {
  color: var(--brand);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 4px 4px 4px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-chip:hover {
  border-color: #c7cbe0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.user-name {
  max-width: 9em;
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  font-size: 12.5px;
  font-weight: 700;
}

.user-area[data-auth-state="guest"] .avatar {
  color: #475467;
  background: #eef1f6;
}

.user-area[data-auth-state="pending"] .avatar {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.user-area[data-auth-state="password"] .avatar {
  background: linear-gradient(135deg, #ef4444, #991b1b);
}

/* ---------------------------------------------------------- 首屏 */

.hero {
  --hero-image: url("home/hero-bg.svg");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(6, 10, 22, 0.97) 0%, rgba(6, 10, 22, 0.9) 37%, rgba(6, 10, 22, 0.52) 68%, rgba(6, 10, 22, 0.3) 100%),
    linear-gradient(180deg, rgba(6, 10, 22, 0.12) 0%, rgba(6, 10, 22, 0.04) 48%, rgba(6, 10, 22, 0.82) 100%),
    var(--hero-image);
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -200px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 64px;
  min-height: 566px;
  padding-block: 82px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(199, 210, 254, 0.22);
  border-radius: 999px;
  color: #c7d2fe;
  background: rgba(15, 23, 42, 0.28);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(153, 246, 228, 0.12);
}

.hero h1 {
  margin: 24px 0 20px;
  color: #f8fafc;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.hero h1 em {
  color: #c7d2fe;
  font-style: normal;
  background: linear-gradient(90deg, #c7d2fe 0%, #99f6e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 560px;
  color: rgba(226, 232, 240, 0.76);
  font-size: 16.5px;
  line-height: 1.85;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.status-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 210, 254, 0.46);
  background: rgba(255, 255, 255, 0.14);
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(153, 246, 228, 0.5);
  border-radius: 50%;
  animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.6);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.chip-arrow {
  color: #a5b4fc;
  transition: transform 0.2s ease;
}

.status-chip:hover .chip-arrow {
  transform: translateX(3px);
}

.hero-note {
  color: rgba(226, 232, 240, 0.5);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------- 新闻面板 */

.news-panel {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.78), rgba(15, 23, 42, 0.62));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  overflow: hidden;
}

.news-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.8), transparent);
}

.news-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.panel-kicker {
  margin-bottom: 5px;
  color: #a5b4fc;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.news-head h2 {
  color: #f8fafc;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-sample {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.26);
  background: rgba(251, 191, 36, 0.1);
}

.badge-planned {
  color: #667085;
  border-color: #e8e9f0;
  background: #f5f6f9;
}

.badge-live {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.09);
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.news-item:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(226, 232, 240, 0.5);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.news-tag {
  color: #99f6e4;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.news-item h3 {
  margin-top: 7px;
  color: #f1f5f9;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}

.news-item a {
  transition: color 0.2s ease;
}

.news-item a:hover {
  color: #c7d2fe;
}

.news-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #c7d2fe;
  font-size: 12.5px;
  font-weight: 550;
}

.news-more:hover {
  color: #fff;
}

.news-disclaimer {
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.4);
  font-size: 10px;
  line-height: 1.65;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .news-panel {
    background: rgba(17, 24, 39, 0.94);
  }

  .eyebrow,
  .status-chip {
    background: rgba(15, 23, 42, 0.6);
  }
}

/* ---------------------------------------------------------- 服务卡片 */

.services {
  position: relative;
  padding-block: 72px 88px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.section-kicker {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-head h2 {
  color: var(--ink);
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-note {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  padding-bottom: 4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 252px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--body);
  background: linear-gradient(180deg, #fff 0%, #fcfcfe 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -96px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.09), transparent 68%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 24px 52px rgba(16, 24, 40, 0.1);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border: 1px solid #e0e5ff;
  border-radius: 17px;
  color: var(--brand);
  background: linear-gradient(145deg, #f5f7ff, #eef2ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: transform 0.25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.06) rotate(-3deg);
}

.service-icon[data-icon="ddl"] {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.service-body {
  margin-top: auto;
  padding-top: 28px;
}

.service-body h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-body p {
  max-width: 27em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.4;
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-card:hover .arrow {
  transform: translateX(3px);
}

.service-card--primary {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(120% 120% at 88% 4%, rgba(129, 140, 248, 0.5), transparent 48%),
    linear-gradient(145deg, #4f46e5 0%, #4338ca 52%, #312e81 100%);
  box-shadow: 0 20px 48px rgba(49, 46, 129, 0.28);
}

.service-card--primary::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.17), transparent 68%);
}

.service-card--primary:hover {
  border-color: transparent;
  box-shadow: 0 28px 60px rgba(49, 46, 129, 0.38);
}

.service-card--primary .service-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card--primary .badge-live {
  color: #e0e7ff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.service-card--primary .service-body h3 {
  color: #fff;
}

.service-card--primary .service-body p {
  color: rgba(238, 242, 255, 0.76);
}

.service-card--primary .service-link {
  color: #e0e7ff;
}

/* ---------------------------------------------------------- 占位页 */

.view-placeholder {
  min-height: 64vh;
  padding-block: 38px 88px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.breadcrumb a {
  color: var(--brand);
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: 56px;
  margin-top: 34px;
}

.placeholder-main {
  min-width: 0;
  padding-top: 4px;
}

.placeholder-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border: 1px solid #e0e5ff;
  border-radius: 22px;
  color: var(--brand);
  background: linear-gradient(145deg, #fff, #eef2ff);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.1);
  font-size: 25px;
  font-weight: 750;
}

.placeholder-main h1 {
  color: var(--ink);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.placeholder-summary {
  max-width: 620px;
  margin-top: 16px;
  color: #475467;
  font-size: 15.5px;
  line-height: 1.9;
}

.placeholder-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #667085;
  background: #fff;
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.24);
}

.btn-primary:hover {
  background: #4338ca;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.3);
}

.btn-ghost {
  color: #475467;
  border-color: var(--line-strong);
  background: #fff;
}

.btn-ghost:hover {
  border-color: #c7cbe0;
  background: #fbfbfd;
}

.planned-panel {
  position: sticky;
  top: 100px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfbfd);
  box-shadow: var(--shadow);
}

.planned-panel h2 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.planned-panel .panel-kicker {
  color: var(--brand);
}

.planned-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.planned-list li {
  position: relative;
  padding-left: 17px;
  color: #475467;
  font-size: 13px;
  line-height: 1.65;
}

.planned-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}

.planned-note {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.7;
}

/* ---------------------------------------------------------- 页脚 */

.site-footer {
  margin-top: 0;
  padding-top: 54px;
  color: #fff;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(79, 70, 229, 0.18), transparent 65%),
    #0b1020;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(250px, 0.85fr);
  gap: 20px;
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 184px;
  padding: 32px 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  overflow: hidden;
}

.quote-mark {
  position: absolute;
  top: 2px;
  left: 22px;
  color: rgba(165, 180, 252, 0.17);
  font-family: var(--font-serif);
  font-size: 100px;
  line-height: 1;
  pointer-events: none;
}

.quote-card blockquote {
  position: relative;
  z-index: 1;
  color: #f1f5f9;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.85;
  letter-spacing: 0.015em;
}

.quote-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: #a5b4fc;
  font-size: 11.5px;
  letter-spacing: 0.07em;
}

.date-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 184px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(153, 246, 228, 0.22), transparent 55%),
    linear-gradient(145deg, #4f46e5, #312e81);
  box-shadow: 0 20px 44px rgba(49, 46, 129, 0.3);
  overflow: hidden;
}

.date-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.date-label {
  color: #c7d2fe;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.date-main {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding-top: 18px;
}

.date-day {
  color: #fff;
  font-size: 60px;
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.date-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 2px;
  color: #c7d2fe;
  font-size: 11.5px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.44);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.footer-bottom a {
  color: rgba(199, 210, 254, 0.78);
}

.footer-bottom a:hover {
  color: #fff;
}

.site-footer :focus-visible {
  outline-color: #a5b4fc;
}

.noscript {
  position: relative;
  padding: 11px 20px;
  color: #9a3412;
  background: #fff7ed;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

/* ---------------------------------------------------------- 响应式 */

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand user"
      "nav nav";
    gap: 0 16px;
    min-height: 0;
    padding-block: 10px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    justify-self: stretch;
    margin-top: 2px;
    padding: 0 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    min-height: 0;
    padding-block: 64px 70px;
  }

  .news-panel {
    max-width: 640px;
  }

  .placeholder-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .planned-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 32px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 17px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .profile-link {
    display: none;
  }

  .user-chip {
    padding-left: 10px;
  }

  .nav-link {
    padding: 8px 13px;
    font-size: 13px;
  }

  .hero-inner {
    padding-block: 48px 56px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(32px, 8.4vw, 43px);
  }

  .hero-lead {
    font-size: 14.5px;
    line-height: 1.8;
  }

  .hero-meta {
    margin-top: 26px;
    gap: 13px;
  }

  .status-chip {
    padding: 11px 15px;
    font-size: 12.5px;
  }

  .news-panel {
    padding: 21px 20px 18px;
    border-radius: 22px;
  }

  .news-head h2 {
    font-size: 21px;
  }

  .news-item {
    padding-block: 13px;
  }

  .news-item h3 {
    font-size: 13.5px;
  }

  .services {
    padding-block: 48px 60px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 16px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .section-note {
    padding-bottom: 0;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .service-body {
    padding-top: 24px;
  }

  .service-body h3 {
    font-size: 19px;
  }

  .view-placeholder {
    padding-block: 28px 64px;
  }

  .placeholder-grid {
    margin-top: 26px;
    gap: 30px;
  }

  .placeholder-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 19px;
    font-size: 22px;
  }

  .placeholder-summary {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .planned-panel {
    padding: 23px;
  }

  .site-footer {
    padding-top: 38px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .quote-card {
    min-height: 0;
    padding: 28px 26px;
  }

  .quote-card blockquote {
    font-size: 17px;
  }

  .date-card {
    min-height: 148px;
    padding: 22px 24px;
  }

  .date-day {
    font-size: 52px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 22px;
    padding-block: 18px;
  }
}

@media (max-width: 480px) {
  .brand-sub,
  .user-name {
    display: none;
  }

  .user-chip {
    gap: 0;
    padding: 3px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .avatar {
    width: 35px;
    height: 35px;
  }

  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-panel {
    padding: 19px 17px 16px;
  }

  .news-head {
    padding-bottom: 13px;
  }

  .quote-card {
    padding: 25px 22px;
  }

  .quote-mark {
    left: 14px;
  }

  .footer-bottom {
    font-size: 10px;
  }
}

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

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