:root {
  --ink: #16181d;
  --muted: #6b7280;
  --subtle: #9aa1ad;
  --line: #e6e8ee;
  --paper: #f6f7f9;
  --white: #ffffff;
  --blue: #1a71ff;
  --teal: #0f9b8e;
  --violet: #6b5cff;
  --radius: 20px;
  --shadow: 0 18px 48px rgba(22, 24, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 0 32px;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

.glow-a {
  top: -220px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: rgba(26, 113, 255, 0.16);
}

.glow-b {
  bottom: -260px;
  left: -140px;
  width: 560px;
  height: 560px;
  background: rgba(15, 155, 142, 0.12);
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  color: var(--white);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-text small {
  color: var(--subtle);
  font-size: 10px;
  letter-spacing: 1.6px;
}

.header-note {
  color: var(--subtle);
  font-size: 12px;
  letter-spacing: 0.6px;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0 48px;
}

.hero {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.4px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.18;
}

.hero-desc {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.apps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.app-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: #d4d9e4;
  box-shadow: var(--shadow);
}

.app-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.app-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
}

.app-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.app-oa .app-icon {
  background: rgba(26, 113, 255, 0.1);
  color: var(--blue);
}

.app-staff .app-icon {
  background: rgba(15, 155, 142, 0.1);
  color: var(--teal);
}

.app-ai .app-icon {
  background: rgba(107, 92, 255, 0.1);
  color: var(--violet);
}

.app-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-copy strong {
  font-size: 19px;
  font-weight: 600;
}

.app-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.app-action {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.app-action span {
  transition: transform 180ms ease;
}

.app-card:hover .app-action span {
  transform: translateX(4px);
}

.sso-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 0;
  color: var(--subtle);
  font-size: 12px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 155, 142, 0.1);
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 0 28px;
  color: #b6bac2;
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #7c828d;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .apps {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .app-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 0 20px;
  }

  .header-note {
    display: none;
  }

  main {
    padding-top: 20px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .app-card {
    padding: 22px;
  }
}
