/* Match every homepage icon to the existing architecture diagram's vector
   strokes and glass tiles. Glyphs already share components/icons.js. */
.home-page-shell {
  --home-icon-color: #8bddef;
  --home-icon-stroke: var(--icon-stroke, 2);
  --home-icon-tile-face: linear-gradient(135deg, rgba(33, 67, 84, .97), #0e2739 45%, #071827);
  --home-icon-tile-edge: rgba(112, 196, 233, .44);
}

.home-page-shell :is(.icon, .architecture-vector-icon) {
  color: var(--home-icon-color);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--home-icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

/* Small action icons keep the same drawing style. Primary buttons inherit
   their dark foreground so the symbol remains legible on the cyan fill. */
.home-page-shell .button-primary .icon { color: inherit; }
.home-page-shell .search-icon { filter: none; }

/* Give detailed category glyphs a whole-pixel box in the public catalog. */
.category-icon > .category-glyph { width: 28px; height: 28px; }

.home-page-shell :is(.feature-icon, .process-icon, .principle-icon, .architecture-legend-icon) {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--home-icon-tile-edge);
  border-radius: 9px;
  background: var(--home-icon-tile-face);
  color: var(--home-icon-color);
  box-shadow: 2px 5px 0 rgba(1, 9, 20, .65), 0 12px 24px rgba(0, 7, 17, .28);
  transform: none;
}

.home-page-shell :is(.feature-icon, .process-icon, .principle-icon, .architecture-legend-icon)::before {
  position: absolute;
  content: "";
  top: 0;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(197, 237, 255, .35);
  pointer-events: none;
}

.home-page-shell .feature-icon::after { content: none; }
.home-page-shell :is(.feature-icon, .process-icon) { width: 78px; height: 78px; }
.home-page-shell :is(.feature-icon, .process-icon) .icon { width: 32px; height: 32px; transform: none; }
.home-page-shell .process-number { z-index: 1; }
.home-page-shell .principle { grid-template-columns: 36px minmax(0, 1fr); }
.home-page-shell :is(.principle-icon, .architecture-legend-icon) {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 5px;
}
.home-page-shell :is(.principle-icon, .architecture-legend-icon) .icon { width: 21px; height: 21px; }
