:root {
  color-scheme: light;
  --brand-900: #004a82;
  --brand-800: #075f99;
  --brand-700: #0b6fae;
  --brand-600: #1683bf;
  --brand-500: #2c96ca;
  --brand-300: #7bc3ea;
  --brand-100: #dceef8;
  --canvas: #f2f8fc;
  --surface: #ffffff;
  --surface-soft: #eef7fc;
  --ink: #0c2435;
  --muted: #587184;
  --line: #d3e2eb;
  --focus: #075f99;
  --shadow-feature: 0 30px 72px rgb(11 111 174 / 20%);
  --shadow-card: 0 18px 42px rgb(29 73 100 / 9%);
  --radius-card: 16px;
  --radius-control: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
}

button,
a {
  touch-action: manipulation;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-900);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.portal-shell {
  display: grid;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 76px;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.main-content {
  width: min(100% - 48px, 1296px);
  margin: 0 auto;
}

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

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.brand-product,
.access-note {
  color: var(--muted);
  font-size: 14px;
}

.access-note {
  margin: 0;
}

.main-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100dvh - 144px);
  padding: 72px 0 76px;
}

.ambient-rings {
  position: absolute;
  top: 50%;
  left: -320px;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid rgb(22 131 191 / 16%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.ambient-rings::before,
.ambient-rings::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(22 131 191 / 14%);
  border-radius: inherit;
}

.ambient-rings::before {
  inset: 68px;
}

.ambient-rings::after {
  inset: 166px;
}

.hero-copy,
.application-panel {
  position: relative;
  z-index: 1;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--brand-800);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.kicker span {
  width: 36px;
  height: 2px;
  background: var(--brand-700);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 3.7vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lead {
  max-width: 27em;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  text-wrap: pretty;
}

.identity-boundary {
  width: fit-content;
  max-width: 100%;
  margin: 34px 0 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334f62;
  font-size: 13px;
  line-height: 1.55;
  background: rgb(255 255 255 / 78%);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}

.check-mark {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--brand-700);
  border: 1px solid var(--brand-300);
  border-radius: 50%;
}

.application-panel {
  display: grid;
  gap: 18px;
}

.featured-card {
  position: relative;
  isolation: isolate;
  min-height: 368px;
  padding: 38px 42px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-800), var(--brand-600) 64%, #58b6df);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-feature);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 84px rgb(11 111 174 / 26%);
}

.featured-topline,
.featured-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.featured-topline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.featured-role {
  padding: 8px 13px;
  letter-spacing: 0;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 999px;
}

.featured-body {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin-top: 62px;
}

.featured-body h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
}

.featured-body p {
  max-width: 41em;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

.featured-footer {
  margin-top: auto;
  align-items: flex-end;
}

.capability-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  color: rgb(255 255 255 / 88%);
  font-size: 13px;
  font-weight: 600;
}

.primary-action {
  min-height: 46px;
  flex: 0 0 auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--brand-900);
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  border-radius: var(--radius-control);
}

.primary-action b {
  font-size: 20px;
  line-height: 1;
}

.application-watermark {
  position: absolute;
  right: 18px;
  bottom: -76px;
  z-index: 0;
  color: rgb(255 255 255 / 10%);
  font-size: 190px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.secondary-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.95fr);
  gap: 18px;
}

.support-applications {
  display: grid;
  gap: 18px;
}

.support-card,
.future-card {
  min-height: 182px;
  border-radius: var(--radius-card);
}

.support-card {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.support-card:hover {
  border-color: var(--brand-300);
  transform: translateY(-3px);
}

.support-code {
  color: var(--brand-800);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.support-card h2,
.future-card h2 {
  margin: 12px 0 8px;
  font-size: 21px;
}

.support-card p,
.future-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.circle-action {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: var(--brand-800);
  background: var(--surface-soft);
  border: 1px solid var(--brand-100);
  border-radius: 50%;
  font-size: 20px;
}

.future-card {
  padding: 24px;
  background: rgb(238 247 252 / 82%);
  border: 1px solid var(--brand-100);
}

.future-card h2 {
  margin-top: 0;
  color: var(--brand-900);
  font-size: 15px;
}

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

.future-grid article {
  min-height: 100px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgb(255 255 255 / 76%);
  border-radius: 10px;
}

.future-grid h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.future-grid p {
  font-size: 11px;
}

.config-notice {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  min-height: 68px;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner strong {
  color: #29475a;
}

.footer-inner span:nth-child(2) {
  text-align: center;
}

.footer-inner span:last-child {
  text-align: right;
}

a:focus-visible,
.main-content:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.featured-card:active,
.support-card:active {
  transform: translateY(-1px) scale(0.99);
}

@media (max-width: 1120px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 64px;
  }

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

  .lead {
    max-width: 42em;
  }

  .ambient-rings {
    top: 20%;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .main-content {
    width: min(100% - 40px, 1296px);
  }

  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

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

  .brand-divider,
  .brand-product,
  .access-note {
    display: none;
  }

  .main-content {
    min-height: 0;
    gap: 34px;
    padding: 38px 0 48px;
  }

  .ambient-rings {
    display: none;
  }

  .kicker {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .kicker span {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.2;
  }

  .lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.75;
  }

  .identity-boundary {
    margin-top: 22px;
    font-size: 12px;
  }

  .featured-card {
    min-height: 386px;
    padding: 28px 24px 24px;
  }

  .featured-topline {
    align-items: flex-start;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .featured-role {
    padding: 7px 10px;
  }

  .featured-body {
    margin-top: 42px;
  }

  .featured-body h2 {
    font-size: 30px;
  }

  .featured-body p {
    font-size: 14px;
  }

  .featured-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .capability-list {
    gap: 10px 16px;
    font-size: 12px;
  }

  .primary-action {
    width: 100%;
  }

  .application-watermark {
    right: -2px;
    bottom: -42px;
    font-size: 132px;
  }

  .secondary-row {
    grid-template-columns: 1fr;
  }

  .support-card,
  .future-card {
    min-height: 150px;
  }

  .future-grid article {
    min-height: 88px;
  }

  .site-footer {
    padding: 20px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner span:nth-child(2),
  .footer-inner span:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: enter-up 520ms var(--ease) both;
  }

  .application-panel {
    animation: enter-up 620ms 70ms var(--ease) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
