/* One shared intro geometry for the six V2 navigation pages. */
.redesign-intro { padding-top: 64px !important; }
.redesign-intro-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex: 0 1 620px !important;
  width: 100%;
  max-width: 620px;
  min-width: 0;
}
.redesign-intro-badge { margin: 0 !important; }
.redesign-intro-title {
  width: 100%;
  max-width: 100% !important;
  min-height: 3.06em !important;
  margin: 22px 0 0 !important;
  font-size: var(--v2-intro-title-size, 56px) !important;
  line-height: 1.02 !important;
}
.redesign-intro-title span { font-size: inherit !important; }
.redesign-intro[data-screen-label="01 Deployment"] .redesign-intro-title,
.redesign-intro .redesign-intro-title--compact { min-height: 0 !important; }
.redesign-intro-description {
  width: 100%;
  max-width: 100% !important;
  min-height: 6.4em;
  margin: 20px 0 0 !important;
  font-size: var(--v2-intro-description-size, 16px) !important;
  line-height: 1.6 !important;
}
/* Summary boxes share a field and row geometry. On desktop the box sits at the
   foot of the copy, its lower edge level with the action row, so the title
   keeps the open corner the dot grid and glow light. */
.redesign-intro-row:has(> .redesign-intro-stats) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end !important;
  gap: 32px 56px !important;
}
.redesign-intro-row > .redesign-intro-copy { grid-column: 1; }
.redesign-intro-stats {
  box-sizing: border-box;
  flex: 0 1 340px !important;
  width: 340px;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(112px, auto));
  gap: 1px !important;
  margin: 47px 0 0 !important;
  justify-self: end;
  align-self: end;
  border-radius: 14px !important;
}
.redesign-intro-stats > div {
  min-width: 0;
  padding: 16px 18px !important;
  display: flex;
  flex-direction: column;
  gap: 10px !important;
}
/* A summary filled from a live service (Community): a quiet placeholder while
   it loads, and no box at all when the service cannot be reached. */
.redesign-intro-stats[data-state='loading'] dd { color: transparent !important; }
.redesign-intro-stats[data-state='loading'] dd::after { content: ''; display: block; width: 44px; height: 14px; border-radius: 4px; background: var(--line-2); }
.redesign-intro-stats[data-state='loading'] dd > span { display: none; }
.redesign-intro-stats:is([data-state='error'], [data-state='empty']) { visibility: hidden; }
.redesign-intro-stats dt {
  min-height: 28px;
  font-size: 11px !important;
  line-height: 14px !important;
  letter-spacing: .04em !important;
}
/* One value size across every summary panel, whatever each page sets inline. */
.redesign-intro-stats dd { overflow-wrap: anywhere; font-size: 17px !important; line-height: 1.2 !important; }
.redesign-intro-actions { min-height: 42px; }
.redesign-intro-actions > a { box-sizing: border-box; }
@media (max-width: 960px) {
  .redesign-intro-row:has(> .redesign-intro-stats) { grid-template-columns: minmax(0, 1fr); }
  .redesign-intro-stats { width: min(340px, 100%); margin-top: 0 !important; justify-self: start; }
  .redesign-intro-stats:is([data-state='error'], [data-state='empty']) { display: none !important; }
}
/* On desktop the reserved heights keep every page's title and actions level across
   navigation. A phone stacks them, so each block takes only the height it needs. */
@media (max-width: 700px) {
  .redesign-intro { padding-top: 40px !important; }
  .redesign-intro-title, .redesign-intro-description { min-height: 0 !important; }
  .redesign-intro-actions { min-height: 0; }
  .redesign-intro-stats { grid-template-rows: none; }
}
@media (max-width: 600px) {
  .redesign-intro-title { overflow-wrap: anywhere; }
}
/* Phones held sideways (22 November 2026): the screen is too short for the reserved heights
   and the desktop gaps, which kept the title and copy below the first screen. The title size
   comes from redesign-common.css in the same query. */
@media (max-width: 960px) and (max-height: 560px) {
  .redesign-intro { padding-top: 32px !important; }
  .redesign-intro-title, .redesign-intro-description { min-height: 0 !important; }
  .redesign-intro-title { margin-top: 16px !important; }
  .redesign-intro-description { margin-top: 14px !important; }
  .redesign-intro-actions { min-height: 0; }
}
/* Community stage: the artwork at the foot of the intro. On phones the caption
   narrows into the dark sky so the figure and the wave stay clear. */
@media (max-width: 700px) {
  .community-stage { margin-top: 32px !important; }
  section:has(> .community-stage) { padding-bottom: 48px !important; }
  .community-stage__caption { top: 18px !important; right: 18px !important; max-width: 17ch !important; font-size: 13px !important; }
}
