:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  --entry-primary: #4169f6;
  --entry-heading: #111a33;
  --entry-muted: #66728b;
  --entry-line: #dfe5ef;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 73% 18%, rgb(89 113 255 / 10%), transparent 26rem),
    linear-gradient(180deg, #f7f9fd, #f1f4f9);
  color: var(--entry-heading);
  font-family: inherit;
}

.entry-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 24px;
}

.entry-content {
  width: min(760px, 100%);
}

.entry-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 34px;
}

.entry-logo {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(39 62 118 / 10%);
}

.entry-logo img {
  width: 39px;
  height: 35px;
  object-fit: contain;
}

.entry-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.entry-header p {
  margin: 5px 0 0;
  color: var(--entry-muted);
  font-size: 15px;
}

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

.entry-card {
  position: relative;
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid var(--entry-line);
  border-radius: 17px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 10px 30px rgb(31 52 97 / 6%);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.entry-card:hover {
  transform: translateY(-3px);
  border-color: #bdcafa;
  box-shadow: 0 16px 38px rgb(31 63 145 / 11%);
}

.entry-card:focus-visible {
  outline: 3px solid rgb(65 105 246 / 28%);
  outline-offset: 3px;
}

.entry-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 14px;
  background: #edf2ff;
  color: var(--entry-primary);
}

.entry-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-card-title {
  font-size: 21px;
  font-weight: 700;
}

.entry-card-note {
  margin-top: 6px;
  color: var(--entry-muted);
  font-size: 14px;
}

.entry-arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: #9aa6ba;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 650px) {
  .entry-page {
    place-items: start center;
    padding: 48px 18px;
  }

  .entry-header h1 {
    font-size: 23px;
  }

  .entry-header p {
    font-size: 14px;
  }

  .prototype-entries {
    grid-template-columns: 1fr;
  }

  .entry-card {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-card {
    transition: none;
  }
}
