:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #142f50;
  background: #f5f8fd;
  line-height: 1.55;
  --primary: #0b3d72;
  --surface: #fff;
  --border: #d6e2f1;
  --muted: #496381;
}

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

.shell {
  width: min(66rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 4rem;
  color: var(--primary);
  font-weight: 650;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  background: var(--primary);
}

.brand-mark::before {
  width: 6px;
  height: 6px;
  margin: 0 9px 9px 0;
  border-radius: 1px;
  background: #fff;
  box-shadow: 9px 0 #aacdf7, 0 9px #aacdf7, 9px 9px #fff;
  content: "";
}

.workspace { padding-block: clamp(1.75rem, 4.5vw, 3.75rem); }

.workspace-heading {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 14rem;
  margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 4.5vw, 3rem);
  overflow: hidden;
  border: 1px solid #d3e3f8;
  border-radius: 1.125rem;
  background: linear-gradient(112deg, #eef5ff 8%, #e2efff 61%, #d5e7ff);
}

.workspace-art {
  position: absolute;
  z-index: -1;
  inset: -12% 0 auto auto;
  width: 56%;
  height: 124%;
  object-fit: contain;
  pointer-events: none;
}

.workspace-copy { max-width: 56%; }

.workspace-heading h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

.workspace-heading p {
  margin: .75rem 0 0;
  color: var(--muted);
}

.applications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: .875rem;
  background: var(--surface);
  box-shadow: 0 .25rem .875rem rgb(11 61 114 / 5%);
  color: inherit;
  text-decoration: none;
}

.process-card {
  --app-ink: #155895;
  --app-tint: #eaf4ff;
}

.model-card {
  --app-ink: #394d9b;
  --app-tint: #eef0ff;
}

.app-card[href]:is(:hover, :focus-visible) {
  border-color: var(--app-ink);
  box-shadow: 0 .375rem 1.25rem rgb(11 61 114 / 10%);
}

.app-card:focus-visible {
  outline: 2px solid var(--app-ink);
  outline-offset: 3px;
}

.card-body { padding: 1.5rem; }

.card-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
}

.app-name {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .875rem;
  letter-spacing: .025em;
}

.app-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .75rem;
  background: var(--app-tint);
  color: var(--app-ink);
}

.app-icon i { position: relative; }
.app-icon i::before, .app-icon i::after { position: absolute; content: ""; }

.process-icon i {
  width: 1.125rem;
  height: .625rem;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
}

.process-icon i::before, .process-icon i::after {
  width: .5rem;
  height: .5rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: var(--app-tint);
  transform: translate(-50%, -50%);
}

.process-icon i::before { top: 0; left: 0; }
.process-icon i::after { top: 100%; left: 100%; }

.model-icon i, .model-icon i::before, .model-icon i::after {
  width: .875rem;
  height: .875rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: var(--app-tint);
}

.model-icon i { transform: rotate(45deg); }
.model-icon i::before { inset: -.25rem .125rem auto auto; }
.model-icon i::after { inset: -.4375rem .3125rem auto auto; }

.card-body p { margin: 1rem 0 0; color: var(--muted); }

.card-action {
  margin-top: auto;
  padding: .875rem 1.5rem;
  border-top: 1px solid #e3ebf6;
  border-radius: 0 0 .8125rem .8125rem;
  color: var(--app-ink);
  font-size: .9375rem;
  font-weight: 650;
}

.app-card[href]:is(:hover, :focus-visible) .card-action { background: var(--app-tint); }
.app-card[aria-disabled="true"] .card-action { color: var(--muted); }

@media (max-width: 44rem) {
  .shell { width: calc(100% - 2rem); }
  .brand { min-height: 3.5rem; }
  .workspace-heading { min-height: 10rem; margin-bottom: 1rem; }
  .workspace-copy { max-width: 100%; }
  .workspace-art { inset-inline-end: -10%; width: 62%; opacity: .45; }
  .applications { grid-template-columns: 1fr; gap: .875rem; }
  .card-body { padding: 1.125rem; }
  .card-action { padding-inline: 1.125rem; }
}
