:root {
  color-scheme: light;
  --ink: #15222f;
  --muted: #637083;
  --line: #d9e1eb;
  --paper: #f7f9fc;
  --white: #ffffff;
  --teal: #147d78;
  --green: #2d8a57;
  --red: #b44949;
  --blue: #3d6fb6;
  --shadow: 0 22px 70px rgba(21, 34, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(20, 125, 120, 0.11), transparent 34%),
    linear-gradient(250deg, rgba(61, 111, 182, 0.1), transparent 38%),
    var(--paper);
}

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

.portal-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 28px;
  padding: 36px 0 24px;
}

.hero {
  align-self: center;
  display: grid;
  gap: 54px;
}

.brand-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: #2b3a4a;
}

.brand-mark {
  width: 46px;
  height: 42px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 56px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
}

h1 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.system-list {
  display: grid;
  gap: 16px;
}

.system-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 58px 1fr 34px;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(217, 225, 235, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.system-card:hover,
.system-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(20, 125, 120, 0.34);
  background: var(--white);
  box-shadow: var(--shadow);
  outline: none;
}

.system-icon,
.open-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.system-icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.sku .system-icon {
  color: var(--teal);
  background: rgba(20, 125, 120, 0.1);
}

.finance .system-icon {
  color: var(--blue);
  background: rgba(61, 111, 182, 0.1);
}

.ecommerce .system-icon {
  color: var(--red);
  background: rgba(180, 73, 73, 0.1);
}

.product .system-icon {
  color: var(--green);
  background: rgba(45, 138, 87, 0.1);
}

svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.system-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.system-card small {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.open-icon {
  color: #8290a1;
}

.portal-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  font-size: 13px;
  color: #728094;
}

@media (max-width: 840px) {
  .portal-shell {
    width: min(100% - 28px, 620px);
    padding-top: 24px;
  }

  .hero {
    gap: 38px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  h1 {
    max-width: 9em;
    font-size: clamp(40px, 12vw, 58px);
  }

  .lede {
    margin-top: 18px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .portal-shell {
    width: calc(100% - 24px);
  }

  .system-card {
    min-height: 104px;
    grid-template-columns: 50px 1fr 28px;
    gap: 14px;
    padding: 18px 16px;
  }

  .system-icon {
    width: 50px;
    height: 50px;
  }

  .system-card strong {
    font-size: 18px;
  }

  .portal-footer {
    flex-direction: column;
    gap: 6px;
  }
}
