:root {
  --ink: #11172f;
  --muted: #66708b;
  --line: #e6e7f4;
  --blue: #2369ff;
  --violet: #7147f7;
  --green: #19bb91;
  --paper: rgba(255, 255, 255, 0.86);
  --shadow: 0 14px 34px rgba(82, 86, 141, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(125, 97, 255, 0.18), transparent 28%),
    radial-gradient(circle at 87% 6%, rgba(79, 110, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfbff 0%, #f7f8ff 74%, #f4f1ff 100%);
}

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

.page {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0 72px, transparent 72px),
    radial-gradient(circle at 32% 14%, rgba(116, 75, 255, 0.13), transparent 30%),
    radial-gradient(circle at 70% 21%, rgba(72, 112, 255, 0.10), transparent 26%);
}

.topbar {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 34px 0 42px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(227, 229, 247, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 140px;
}

.brand strong {
  display: block;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0;
}

.brand em {
  display: block;
  margin-top: 6px;
  color: #38405d;
  font-size: 13px;
  font-style: normal;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 8px 14px rgba(91, 66, 247, 0.23));
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  content: "";
  background: linear-gradient(145deg, #884fff, #3d58f2);
  border-radius: 11px 11px 3px 11px;
}

.brand-mark::before {
  width: 34px;
  height: 13px;
  left: 4px;
  top: 14px;
  transform: rotate(-33deg);
}

.brand-mark::after {
  width: 14px;
  height: 35px;
  left: 17px;
  top: 3px;
  transform: rotate(33deg);
}

.brand-mark span {
  width: 29px;
  height: 11px;
  left: 0;
  top: 23px;
  transform: rotate(37deg);
  opacity: 0.92;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
  padding: 0 8px;
}

.nav a {
  position: relative;
  min-width: 68px;
  padding: 11px 8px;
  border-radius: 22px;
  color: #1d2440;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a.active {
  color: #4e35dd;
  background: linear-gradient(180deg, #f4f1ff, #fbfbff);
}

.nav a.active::after {
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: -13px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: #5641ff;
}

.nav a .badge-test {
  position: absolute;
  top: -6px;
  right: -8px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  color: #b87617;
  background: #fdf0d2;
  border-radius: 999px;
  pointer-events: none;
}

.account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 196px;
}

.bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
}

.bell::before {
  display: block;
  width: 18px;
  height: 20px;
  content: "";
  background: #35405f;
  clip-path: path("M9 1.5C6.3 1.5 4.4 3.45 4.4 6.1v2.7c0 .7-.25 1.36-.7 1.9L2.2 12.45c-.72.84-.13 2.14.98 2.14h11.64c1.11 0 1.7-1.3.98-2.14L14.3 10.7c-.45-.54-.7-1.2-.7-1.9V6.1c0-2.65-1.9-4.6-4.6-4.6ZM6.95 15.5a2.15 2.15 0 0 0 4.1 0H6.95Z");
  transform: rotate(6deg);
}

.bell span {
  position: absolute;
  top: -2px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10px;
  background: #ff3f4d;
  color: #fff;
  font-size: 10px;
  line-height: 17px;
}

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: url("./assets/avatar-male.svg") center/cover #e0e7ff no-repeat;
  box-shadow: 0 5px 14px rgba(25, 34, 70, 0.18);
}

.avatar.big {
  width: 54px;
  height: 54px;
}

.account-copy strong,
.account-copy span {
  display: block;
}

.account-copy strong {
  font-size: 14px;
}

.account-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  padding: 22px clamp(20px, 3vw, 48px) 28px;
  width: 100%;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  height: 285px;
  padding: 43px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(126, 96, 255, 0.17), transparent 37%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.93) 0%, rgba(248, 245, 255, 0.91) 100%);
}

.hero h1 {
  margin: 0;
  max-width: min(640px, 70%);
  font-size: 38px;
  line-height: 1.36;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  color: #5a33dc;
}

.hero p {
  margin: 14px 0 31px;
  color: #35405f;
  font-size: 20px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 500px;
  gap: 24px;
}

.hero-features div {
  position: relative;
  padding-left: 30px;
}

.hero-features div::before,
.module-card li i,
.icon,
.tool-row i {
  display: grid;
  place-items: center;
  border-radius: 8px;
  content: "";
}

.hero-features div::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, #f4f0ff, #e6e0ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 12px rgba(101, 80, 238, .08);
}

.hero-features div::after {
  position: absolute;
  left: 6px;
  top: 5px;
  width: 10px;
  height: 11px;
  content: "";
  background: #6d52f6;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 39% 35%);
}

.hero-features b {
  display: block;
  color: #36405f;
  font-size: 14px;
}

.hero-features span {
  display: block;
  margin-top: 5px;
  color: #58637e;
  font-size: 11px;
}

.star-stage {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: 235px;
  height: 235px;
}

.crystal-star,
.event-star,
.spark {
  clip-path: polygon(50% 0%, 62% 32%, 96% 36%, 70% 58%, 79% 93%, 50% 74%, 21% 93%, 30% 58%, 4% 36%, 38% 32%);
}

.crystal-star {
  position: absolute;
  left: 80px;
  top: 65px;
  width: 96px;
  height: 96px;
  background:
    linear-gradient(135deg, transparent 45%, rgba(255,255,255,.26) 46% 53%, transparent 54%),
    linear-gradient(155deg, #9d86ff 0%, #6352ff 42%, #3525cc 100%);
  filter: drop-shadow(0 16px 26px rgba(73, 54, 211, 0.34));
  transform: rotate(9deg);
}

.pedestal {
  position: absolute;
  left: 57px;
  bottom: 35px;
  width: 151px;
  height: 53px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff 0 37%, #b8a9ff 38% 58%, rgba(103,82,255,.18) 59% 100%);
  box-shadow: inset 0 -15px 18px rgba(76, 62, 210, 0.16), 0 22px 40px rgba(84, 79, 180, 0.18);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(114, 91, 234, 0.28);
  border-radius: 50%;
}

.orbit-a {
  left: 15px;
  top: 51px;
  width: 190px;
  height: 92px;
  transform: rotate(-14deg);
}

.orbit-b {
  left: 32px;
  top: 38px;
  width: 164px;
  height: 134px;
  transform: rotate(37deg);
}

.spark {
  position: absolute;
  width: 25px;
  height: 25px;
  background: #eeeaff;
}

.s1 { left: 55px; top: 38px; }
.s2 { right: 26px; top: 32px; background: rgba(255,255,255,.85); }
.s3 { left: 24px; bottom: 83px; width: 12px; height: 12px; background: #8065ff; }

.profile {
  height: 145px;
  padding: 20px 24px 16px;
}

.profile-head {
  display: flex;
  gap: 13px;
}

.profile-head strong {
  font-size: 17px;
}

.profile-head strong span {
  margin-left: 6px;
  padding: 4px 8px;
  border-radius: 11px;
  color: #e59d27;
  background: #fff2d9;
  font-size: 11px;
}

.profile-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 17px;
}

.profile-stats div {
  text-align: center;
}

.profile-stats span,
.profile-stats em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.profile-stats span {
  display: block;
  margin-bottom: 2px;
}

.profile-stats b {
  display: inline-block;
  margin: 5px 3px 0 0;
  font-size: 24px;
}

.announcement {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 17px;
  gap: 14px;
}

.announcement span {
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #895ff6, #5c63ff);
  font-size: 13px;
  font-weight: 700;
}

.announcement b {
  flex: 1;
  font-size: 13px;
}

.announcement a,
.section-title a {
  color: #5a46e8;
  font-size: 13px;
  font-weight: 700;
}

.tasks {
  height: 163px;
  padding: 18px 17px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.section-title h2,
.shortcuts h2,
.tools h2 {
  margin: 0;
  font-size: 16px;
}

.section-title p,
.tools p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.tasks label {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 28px;
  color: #313a56;
  font-size: 12px;
}

input[type="checkbox"] {
  position: relative;
  appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid #b8c0d6;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

input[type="checkbox"]:checked {
  border-color: #5b86f8;
  background: linear-gradient(145deg, #6c95ff, #4c78f5);
}

input[type="checkbox"]:checked::after {
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  content: "";
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.center-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.module-card {
  height: 443px;
  padding: 25px 18px 24px;
  overflow: hidden;
}

.module-card h2 {
  margin: 0;
  font-size: 25px;
}

.module-card.blue h2,
.module-card.blue a { color: var(--blue); }
.module-card.purple h2,
.module-card.purple a { color: var(--violet); }
.module-card.green h2,
.module-card.green a { color: var(--green); }
.module-card.orange h2,
.module-card.orange a { color: #d97539; }

.module-card p {
  margin: 10px 0 18px;
  color: #4a536f;
  font-size: 12px;
  white-space: nowrap;
}

.module-visual {
  position: relative;
  height: 125px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.5), rgba(66, 110, 255, .12));
}

.module-card.purple .module-visual {
  background: linear-gradient(145deg, rgba(255,255,255,.52), rgba(125, 79, 255, .13));
}

.module-card.green .module-visual {
  background: linear-gradient(145deg, rgba(255,255,255,.52), rgba(18, 190, 141, .13));
}

.module-card.orange .module-visual {
  background: linear-gradient(145deg, rgba(255,255,255,.52), rgba(255, 159, 70, .15));
}

.target::before,
.target::after,
.target span {
  position: absolute;
  content: "";
  border-radius: 50%;
  border: 13px solid rgba(45, 117, 255, .74);
}

.target::before {
  left: 55px;
  top: 18px;
  width: 78px;
  height: 78px;
  box-shadow: 0 14px 22px rgba(42, 114, 255, .24);
}

.target::after {
  left: 80px;
  top: 43px;
  width: 28px;
  height: 28px;
}

.target span {
  left: 95px;
  top: 28px;
  width: 67px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #2f73ff;
  transform: rotate(-20deg);
}

.chat::before {
  position: absolute;
  left: 55px;
  top: 30px;
  width: 100px;
  height: 68px;
  content: "";
  border-radius: 50px 50px 50px 18px;
  background: radial-gradient(circle at 28px 36px, #fff 0 5px, transparent 6px), radial-gradient(circle at 51px 36px, #fff 0 5px, transparent 6px), radial-gradient(circle at 74px 36px, #fff 0 5px, transparent 6px), linear-gradient(145deg, #9b76ff, #6946e9);
  box-shadow: 0 18px 30px rgba(107, 76, 238, .25);
}

.chat::after {
  position: absolute;
  left: 118px;
  top: 76px;
  width: 58px;
  height: 35px;
  content: "";
  border-radius: 36px 36px 12px 36px;
  background: rgba(120, 93, 236, .3);
}

.folder::before {
  position: absolute;
  left: 57px;
  top: 38px;
  width: 109px;
  height: 72px;
  content: "";
  border-radius: 8px;
  background: linear-gradient(145deg, #68e9bd, #24bd94);
  box-shadow: 0 18px 27px rgba(29, 184, 138, .22);
}

.folder::after {
  position: absolute;
  left: 67px;
  top: 28px;
  width: 58px;
  height: 34px;
  content: "";
  border-radius: 8px 8px 0 0;
  background: #64e3bb;
}

.folder span {
  position: absolute;
  z-index: 1;
  left: 82px;
  top: 70px;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: #d7fff1;
  box-shadow: 0 15px 0 #baf7e5;
}

.module-card ul,
.news ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.module-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 10px;
  margin-bottom: 15px;
}

.module-card li > a {
  display: contents;
  cursor: pointer;
}

.module-card li:hover b {
  text-decoration: underline;
}

.module-card li i {
  width: 24px;
  height: 24px;
  background: #edf3ff;
  color: #3b75ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}

.module-card.purple li i {
  background: #f0ebff;
  color: #7251f2;
}

.module-card.green li i {
  background: #e8fbf4;
  color: #20b98f;
}

.module-card.orange li i {
  background: #fff1e1;
  color: #d97539;
}

/* 学习中心 视觉：堆叠书页 */
.book::before {
  position: absolute;
  left: 55px;
  top: 36px;
  width: 110px;
  height: 76px;
  content: "";
  border-radius: 6px;
  background: linear-gradient(145deg, #ffc174, #ff9a3f);
  box-shadow: 0 18px 28px rgba(232, 142, 51, .26);
}
.book::after {
  position: absolute;
  left: 68px;
  top: 26px;
  width: 86px;
  height: 58px;
  content: "";
  border-radius: 4px;
  background: linear-gradient(145deg, #ffe2bb, #ffd396);
}
.book span {
  position: absolute;
  z-index: 1;
  left: 78px;
  top: 46px;
  width: 66px;
  height: 5px;
  border-radius: 999px;
  background: #fff5e3;
  box-shadow:
    0 11px 0 #fff5e3,
    0 22px 0 #fff5e3;
}

.module-card li i::before {
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 4px;
}

.module-card li:nth-child(1) i::before {
  clip-path: polygon(0 0, 100% 0, 100% 68%, 63% 68%, 50% 100%, 38% 68%, 0 68%);
}

.module-card li:nth-child(2) i::before {
  border-radius: 50%;
}

.module-card li:nth-child(3) i::before {
  border-radius: 2px;
  transform: rotate(45deg) scale(.86);
}

.module-card li b {
  font-size: 13px;
}

.module-card li span {
  grid-column: 2;
  margin-top: 4px;
  color: #66708b;
  font-size: 11px;
}

.module-card > a:last-child {
  display: block;
  margin-top: 17px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.module-card > a:last-child::after {
  content: " →";
  margin-left: 7px;
}

.module-card > a.head-link,
.module-card > a.visual-link {
  display: block;
  color: inherit;
  cursor: pointer;
}

.module-card > a.head-link:hover h2 {
  text-decoration: underline;
}

.module-card > a.visual-link:hover .module-visual {
  filter: brightness(1.04);
  transform: translateY(-1px);
  transition: all .15s ease;
}

.shortcuts {
  height: 316px;
  padding: 19px 17px;
}

.shortcuts h2 {
  margin-bottom: 17px;
}

.shortcuts a {
  display: grid;
  grid-template-columns: 39px 1fr 34px;
  align-items: center;
  gap: 12px;
  height: 62px;
}

.shortcuts b,
.shortcuts em {
  display: block;
}

.shortcuts b {
  font-size: 13px;
}

.shortcuts em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.icon {
  width: 39px;
  height: 39px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}

.icon.blue { background: #edf3ff; }
.icon.violet { background: #f0ebff; }
.icon.green { background: #e8fbf4; }
.icon.orange { background: #fff1dc; }

.icon::before {
  width: 17px;
  height: 17px;
  content: "";
  border-radius: 5px;
}

.icon.blue::before {
  border: 2px solid #3b75ff;
  box-shadow: inset 0 0 0 3px rgba(59,117,255,.14);
}

.icon.violet::before {
  width: 18px;
  height: 12px;
  border-radius: 10px;
  background: radial-gradient(circle at 5px 6px, #7653f3 0 2px, transparent 3px), radial-gradient(circle at 10px 6px, #7653f3 0 2px, transparent 3px), radial-gradient(circle at 15px 6px, #7653f3 0 2px, transparent 3px);
}

.icon.green::before {
  border: 2px solid #20b98f;
}

.icon.orange::before {
  background: #f3a12b;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 39% 35%);
}

.shortcuts strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #9470ff, #6449e8);
  font-size: 12px;
}

.tools {
  height: 194px;
  padding: 19px 19px;
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 25px;
}

.tool-row a {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 83px;
  border-right: 1px solid #edeef8;
  text-align: center;
}

.tool-row a:last-child {
  border-right: 0;
}

.tool-row i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f2efff, #d7e8ff);
  color: #7659f4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 16px rgba(85, 87, 170, .08);
}

.tool-row i::before {
  width: 16px;
  height: 16px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 5px;
}

.tool-row a:nth-child(2) i::before {
  border-radius: 50%;
}

.tool-row a:nth-child(3) i::before {
  border-radius: 3px;
  transform: rotate(-8deg);
}

.tool-row a:nth-child(4) i::before {
  border-radius: 50%;
  box-shadow: 10px 10px 0 -7px currentColor;
}

.tool-row a:nth-child(5) i::before {
  border: 0;
  background:
    radial-gradient(circle at 3px 3px, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at 13px 3px, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at 3px 13px, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at 13px 13px, currentColor 0 3px, transparent 4px);
}

.tool-row b {
  margin-top: 10px;
  font-size: 13px;
}

.tool-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.tool-row small {
  position: absolute;
  top: -3px;
  right: 25px;
  padding: 3px 7px;
  border-radius: 8px;
  background: #fff0c8;
  color: #8c6712;
  font-size: 10px;
}

.event {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 13%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 89% 68%, rgba(171, 122, 255, 0.52), transparent 31%),
    radial-gradient(circle at 25% 103%, rgba(141, 68, 255, 0.42), transparent 36%),
    linear-gradient(145deg, #030827 0%, #13145a 58%, #2f116e 100%);
  box-shadow: var(--shadow);
}

.event::before,
.event::after {
  position: absolute;
  left: -30px;
  right: -30px;
  bottom: 35px;
  height: 80px;
  content: "";
  border: 1px solid rgba(168, 124, 255, .42);
  border-color: rgba(168, 124, 255, .42) transparent transparent;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.event::after {
  bottom: 63px;
  transform: rotate(8deg);
}

.event-copy {
  position: relative;
  z-index: 1;
  padding: 31px 22px;
  color: #fff;
}

.event-copy h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.45;
}

.event-copy p {
  margin: 12px 0 25px;
  font-size: 17px;
}

.event-copy a {
  display: inline-grid;
  place-items: center;
  min-width: 96px;
  height: 34px;
  border-radius: 17px;
  background: linear-gradient(135deg, #ab60ff, #5d68ff);
  font-size: 13px;
  font-weight: 700;
}

.event-star {
  position: absolute;
  right: 28px;
  bottom: 78px;
  width: 118px;
  height: 118px;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(149,105,255,.55) 38%, rgba(98,82,255,.88));
  filter: drop-shadow(0 10px 24px rgba(181, 123, 255, 0.55));
  transform: rotate(13deg);
}

.dashboard,
.news {
  min-height: 301px;
  padding: 25px 18px 22px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0 16px;
}

.metrics div {
  padding-left: 9px;
  border-right: 1px solid #eceef9;
}

.metrics div:last-child {
  border-right: 0;
}

.metrics span,
.metrics em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.metrics b {
  display: block;
  margin: 9px 0 8px;
  font-size: 26px;
}

.metrics em {
  color: #11a86f;
}

.chart svg {
  display: block;
  width: 100%;
  height: 105px;
}

.grid {
  fill: none;
  stroke: #f0f1fa;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.line {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.blue-line { stroke: #1f62ff; }
.violet-line { stroke: #7b58ff; }

.months {
  display: flex;
  justify-content: space-between;
  color: #6f7891;
  font-size: 12px;
}

.news ul {
  margin-top: 14px;
}

.news li {
  display: grid;
  grid-template-columns: 56px 1fr 72px;
  align-items: center;
  min-height: 42px;
  border-top: 1px solid #eceef8;
}

.news time {
  color: var(--muted);
  font-size: 13px;
}

.news b {
  font-size: 13px;
  font-weight: 600;
}

.news span {
  justify-self: end;
  padding: 5px 12px;
  border-radius: 12px;
  color: #6156dd;
  background: #eee9ff;
  font-size: 11px;
}

.news li:nth-child(2) span { color: #19a67d; background: #e7fbf3; }
.news li:nth-child(3) span { color: #d78720; background: #fff2d8; }
.news li:nth-child(4) span { color: #687089; background: #eef0f8; }
.news li:nth-child(5) span { color: #2873ff; background: #eaf2ff; }

footer {
  position: relative;
  display: grid;
  place-items: center;
  height: 89px;
  color: #17107a;
  text-align: center;
  background:
    radial-gradient(ellipse at 95% 100%, rgba(132, 105, 255, .23), transparent 42%),
    radial-gradient(ellipse at 6% 100%, rgba(138, 114, 255, .19), transparent 45%);
}

footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-radial-gradient(ellipse at 50% 170%, rgba(107, 91, 220, .14) 0 2px, transparent 3px 28px);
  opacity: .7;
}

footer strong,
footer span {
  position: relative;
  z-index: 1;
  display: block;
}

footer strong {
  margin-top: 16px;
  font-size: 20px;
}

footer span {
  margin-top: -10px;
  font-size: 14px;
}

@media (min-width: 1024px) {
  .topbar {
    height: 72px;
    padding: 0 clamp(20px, 3vw, 48px);
  }

  .hero {
    height: 285px;
    padding: 36px 36px 36px 40px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.34;
  }

  .hero p {
    margin: 12px 0 30px;
    font-size: 19px;
  }

  .star-stage {
    right: -16px;
    bottom: -6px;
  }

  footer {
    height: 96px;
  }
}

@media (min-width: 1440px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
  }

  .hero {
    height: 305px;
    padding: 44px 48px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .module-card {
    padding: 28px 22px 26px;
  }
}

@media (max-width: 1023px) {
  body {
    min-width: 390px;
  }

  .page {
    width: 100%;
    min-height: auto;
  }

  .topbar {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .brand,
  .account {
    width: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .layout {
    display: block;
    padding: 14px;
  }

  .left-column,
  .right-column {
    display: block;
  }

  .hero,
  .announcement,
  .profile,
  .tasks,
  .shortcuts,
  .tools,
  .event,
  .dashboard,
  .news {
    height: auto;
    margin-bottom: 14px;
  }

  .hero {
    padding: 28px 20px 190px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-features,
  .center-grid,
  .tool-row,
  .metrics {
    grid-template-columns: 1fr;
    width: auto;
  }

  .center-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
  }

  .module-card {
    height: auto;
  }

  .tool-row a,
  .metrics div {
    border-right: 0;
    border-bottom: 1px solid #edeef8;
    padding: 14px 0;
  }

  .star-stage {
    right: 10px;
    bottom: -8px;
  }
}
