:root {
  --navy-950: #101010;
  --navy-900: #171719;
  --navy-800: #29292c;
  --blue-600: #23657f;
  --blue-500: #3d8faa;
  --red-500: #9d1c2f;
  --ink-900: #1c2430;
  --ink-600: #5c6773;
  --ink-400: #8b959f;
  --line: #dfe4e8;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --shadow-panel: 0 26px 70px rgba(16, 24, 40, 0.18);
  --shadow-card: 0 12px 28px rgba(16, 24, 40, 0.08);
  --font: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--navy-950);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink-900);
  background: #f5f8fa;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.portal {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f8fa;
}

.portal::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(61, 143, 170, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 143, 170, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.portal__glow {
  position: fixed;
  z-index: 0;
  display: block;
  border: 1px solid rgba(61, 143, 170, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.portal__glow--top {
  top: -340px;
  right: -170px;
  width: 700px;
  height: 700px;
  box-shadow:
    0 0 0 46px rgba(157, 28, 47, 0.035),
    0 0 0 92px rgba(157, 28, 47, 0.018);
}

.portal__glow--bottom {
  bottom: -520px;
  left: -360px;
  width: 760px;
  height: 760px;
  border-color: rgba(157, 28, 47, 0.14);
}

.portal__network {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header,
.portal-main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  min-height: 85px;
  padding: 16px 20px;
  background: #111;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand__logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: none;
  object-fit: contain;
}

.brand__words {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand__words strong {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

.brand__words span {
  order: -1;
  color: #c8c8c8;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(235, 235, 235, 0.76);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.header-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c85d70;
  box-shadow: 0 0 0 4px rgba(157, 28, 47, 0.16);
}

.portal-main {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  flex: 1;
  padding: 54px 0 48px;
}

.hero {
  min-height: 430px;
  padding: 48px;
  border-radius: 22px;
  background: linear-gradient(145deg, #1a2731 0%, #263d4a 100%);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
}

.eyebrow {
  margin: 0 0 23px;
  color: #a8d2df;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.eyebrow--dark {
  margin-bottom: 12px;
  color: var(--blue-600);
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 450px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.hero__title-line {
  color: #fff;
  white-space: nowrap;
}

.hero h1 > span:not(.hero__title-line) {
  color: #a7d3df;
}

.hero__intro {
  max-width: 400px;
  margin: 28px 0 0;
  color: rgba(235, 242, 244, 0.76);
  font-size: 15px;
  line-height: 1.9;
}

.hero__line {
  width: 70px;
  height: 2px;
  margin: 36px 0 28px;
  background: linear-gradient(90deg, var(--blue-500), rgba(61, 143, 170, 0));
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-feature__icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid rgba(168, 210, 223, 0.35);
  border-radius: 10px;
  color: #a8d2df;
}

.hero-feature__icon svg {
  width: 18px;
  height: 18px;
}

.hero-feature > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-feature strong {
  color: rgba(243, 243, 243, 0.92);
  font-size: 12px;
  font-weight: 600;
}

.hero-feature small {
  color: rgba(205, 205, 205, 0.62);
  font-size: 11px;
}

.access-panel {
  padding: 38px;
  border: 1px solid #e1e6ea;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-panel);
}

.access-panel::before {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 25px;
  border-radius: 999px;
  background: var(--red-500);
  content: "";
}

.access-panel__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.access-panel h2 {
  margin: 0;
  color: var(--ink-900);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.access-panel__count {
  padding-bottom: 4px;
  color: var(--ink-400);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.entry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.entry-card {
  position: relative;
  display: flex;
  min-height: 176px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink-900);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.entry-card::after {
  position: absolute;
  right: -34px;
  bottom: -64px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(35, 101, 127, 0.12);
  border-radius: 50%;
  content: "";
  transition: transform 220ms ease;
}

.entry-card:hover {
  border-color: rgba(35, 101, 127, 0.42);
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.14);
  transform: translateY(-3px);
}

.entry-card:hover::after {
  transform: scale(1.18);
}

.entry-card:focus-visible,
.manual-entry:focus-visible,
.legacy-entry__link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(35, 101, 127, 0.42);
  outline-offset: 4px;
}

.entry-card--oms {
  border-color: rgba(35, 101, 127, 0.28);
  background: linear-gradient(145deg, #fff 0%, #f1f8fa 100%);
}

.entry-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue-600);
  background: #edf5f7;
}

.entry-card--oms .entry-card__icon {
  color: #fff;
  background: linear-gradient(145deg, #3d8faa, #23657f);
}

.entry-card__icon svg {
  width: 21px;
  height: 21px;
}

.entry-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 21px;
}

.entry-card__tag {
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.entry-card__title {
  color: var(--ink-900);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.entry-card__description {
  color: var(--ink-600);
  font-size: 12px;
  line-height: 1.55;
}

.entry-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 17px;
  z-index: 1;
  color: var(--blue-600);
  font-size: 21px;
  line-height: 1;
  transition: transform 180ms ease;
}

.entry-card:hover .entry-card__arrow {
  transform: translate(2px, -2px);
}

.manual-entry {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid #ead6da;
  border-left: 3px solid var(--red-500);
  border-radius: 14px;
  color: var(--ink-900);
  background: #fff9fa;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.manual-entry:hover {
  border-color: #c98a95;
  box-shadow: 0 8px 20px rgba(157, 28, 47, 0.1);
  transform: translateY(-2px);
}

.manual-entry__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--red-500);
  background: #f6ecee;
}

.manual-entry__icon svg {
  width: 21px;
  height: 21px;
}

.manual-entry__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.manual-entry__body strong {
  font-size: 17px;
  font-weight: 700;
}

.manual-entry__body > span:last-child {
  overflow: hidden;
  color: var(--ink-600);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manual-entry__arrow {
  margin-left: auto;
  color: var(--red-500);
  font-size: 20px;
  transition: transform 180ms ease;
}

.manual-entry:hover .manual-entry__arrow {
  transform: translate(2px, -2px);
}

.legacy-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 10px 2px 0;
  border-top: 1px solid #edf0f4;
  background: transparent;
}

.legacy-entry__copy {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.legacy-entry__icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  color: var(--ink-600);
  background: #eef0f2;
  font-size: 13px;
}

.legacy-entry__copy > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.legacy-entry strong {
  overflow: hidden;
  color: var(--ink-600);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legacy-entry small {
  overflow: hidden;
  color: var(--ink-400);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legacy-entry__link {
  flex: 0 0 auto;
  color: var(--ink-600);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.legacy-entry__link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.legacy-entry__link:hover span {
  transform: translateX(3px);
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  color: #7c8790;
  font-size: 11px;
}

.site-footer__separator {
  color: #c4cbd0;
}

.site-footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7c8790;
  white-space: nowrap;
}

.site-footer__beian-icon {
  width: 16px;
  height: 17px;
  flex: 0 0 auto;
}

.site-footer__beian:hover {
  color: var(--ink-600);
}

.site-footer__icp {
  color: #7c8790;
  white-space: nowrap;
}

.site-footer__icp:hover {
  color: var(--ink-600);
}

.site-footer__note {
  margin-left: auto;
  color: #9aa3aa;
}

@media (max-width: 900px) {
  .portal-main,
  .site-footer {
    width: min(100% - 48px, 680px);
  }

  .site-header {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
  }

  .portal-main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .hero {
    min-height: 0;
    padding: 40px;
  }

  .hero h1 {
    font-size: clamp(46px, 9vw, 64px);
  }

  .hero__intro {
    max-width: 500px;
  }

  .access-panel {
    padding: 30px;
  }

}

@media (max-width: 560px) {
  .portal-main,
  .site-footer {
    width: min(100% - 36px, 460px);
  }

  .site-header {
    min-height: 78px;
    padding: 14px 16px;
  }

  .brand__words span,
  .header-status {
    display: none;
  }

  .brand__logo {
    height: 36px;
    max-width: 38%;
  }

  .brand__words strong {
    font-size: 20px;
  }

  .portal-main {
    gap: 34px;
    padding-top: 36px;
  }

  .hero {
    padding: 32px 24px;
    border-radius: 18px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 56px);
  }

  .hero__intro {
    margin-top: 22px;
    font-size: 14px;
  }

  .hero__line {
    margin: 28px 0 22px;
  }

  .hero-features {
    gap: 18px;
  }

  .hero-feature small {
    font-size: 10px;
  }

  .access-panel {
    padding: 23px 18px 18px;
    border-radius: 20px;
  }

  .access-panel__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
  }

  .access-panel h2 {
    font-size: 25px;
  }

  .access-panel__count {
    padding-bottom: 0;
  }

  .entry-list {
    grid-template-columns: 1fr;
  }

  .entry-card {
    min-height: 164px;
    padding: 19px;
  }

  .entry-card__body {
    margin-top: 17px;
  }

  .manual-entry {
    padding: 14px;
  }

  .legacy-entry {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 10px 0 0;
  }

  .legacy-entry small {
    display: none;
  }

  .legacy-entry__link {
    padding-left: 0;
  }

  .site-footer {
    flex-wrap: wrap;
    min-height: 86px;
    padding: 8px 0 18px;
  }

  .site-footer__note {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-card,
  .entry-card::after,
  .entry-card__arrow,
  .legacy-entry__link span {
    transition: none;
  }
}

