/* A single page axis, shared by the header, every page's content and the footer: a 1232px band
   centred in the window, never closer than 24px to its edges (20px on phones). */
.self-serve {
  --gutter: max(24px, calc((100% - 1232px) / 2));
}
.self-serve .header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
}
.header > .brand { justify-self: start; }
.self-serve .main-nav { justify-self: center; margin-inline: 0; }
.header-actions { justify-self: end; }
.self-serve .workspace-preview {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 34px;
}
.self-serve .workspace-intro { display: block; width: 100%; max-width: 660px; text-align: center; }
.workspace-intro h2 { max-width: none; margin-inline: auto; }
.self-serve .workspace-intro > p { margin-top: 20px; max-width: 580px; margin-inline: auto; }
.workspace-intro .sample-note { max-width: none; margin-inline: auto; }
.workspace-preview > .module-content { width: 100%; max-width: 960px; min-width: 0; }
.self-serve .everyday-heading {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.task-item { text-align: center; }
.task-item [data-ui] { text-align: left; }
.self-serve .task-caption { justify-content: center; gap: 16px; }
.task-item > p { margin-inline: auto; }
.gallery-note { text-align: center; }
.self-serve .team-work {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 36px;
}
.team-work > div:first-child { text-align: center; max-width: 660px; }
.team-work p { max-width: 580px; margin-inline: auto; }
.team-work .shared-record { width: 100%; max-width: 860px; }
.self-serve .information { max-width: none; }
.information > .text-link { display: flex; width: fit-content; margin-inline: auto; }
.information > h1 { max-width: none; text-align: center; margin-inline: auto; }
.information .information-body { margin-inline: auto; }
.site-footer .footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.site-footer .footer-brand-block { flex: none; text-align: center; }
.site-footer .footer-brand-block > p { max-width: none; }
.site-footer .footer-main nav {
  flex: none;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  gap: 32px;
}
.site-footer .footer-main nav > div { align-items: center; text-align: center; }
.site-footer .footer-bottom {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}
.site-footer .footer-bottom nav { justify-content: center; }
@media (max-width: 1000px) {
  .self-serve .header { gap: 16px; }
  .self-serve .main-nav { gap: 18px; }
  .header-actions { gap: 16px; }
}
@media (max-width: 700px) {
  .self-serve { --gutter: 20px; }
  .self-serve .header { grid-template-columns: minmax(0, 1fr) auto auto; }
  .self-serve .main-nav { justify-self: end; }
  .self-serve .workspace-preview { padding: 30px 20px 24px; }
  .self-serve .team-work { padding: 30px 20px; }
  .site-footer .footer-main nav { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer .footer-main nav > div:last-child { grid-column: auto; }
}

/* Keep one account action and one primary start action. */
.self-serve .main-nav a,
.self-serve .header-actions .login-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.self-serve .team-work {
  margin-bottom: 95px;
}
@media (max-width: 700px) {
  .self-serve .team-work {
    margin-bottom: 60px;
  }
}
